摘要
随着计算机和互联网技术的飞速发展,即时通信软件逐渐成为最主流的通信方式。Linux系统作为一款开源的类Unix操作系统,已经越来越普及。Linux平台下的通信系统数量较少、功能有限,且大多不开源。针对上述问题,设计了一个基于Linux平台的即时通信系统。该系统使用C语言进行程序的编写,采用基于TCP协议的C/S架构进行通信,使用SQLite3数据库存储用户信息。在Red Hat操作系统环境下进行功能测试,测试结果表明,本系统完全满足通信需求,实现了预期的功能,而且系统运行稳定,具有一定的实用性。
With the rapid development of computer and the Internet technology,instant messaging software has gradually become the most mainstream communication method. Linux,as an open source Unix-like operating system,has become more and more popular. However,the number of communication systems under Linux platform is small,their functions are limited,and most of them are not open source. To solve the above problems,an instant messaging system based on Linux platform is designed. The system uses C language to write programs,uses C/S architecture based on TCP protocol to communicate,and uses SQLite3 database to store user information. The function test is carried out in Red Hat operating system environment. The test results show that the system completely meets the communication requirements and realizes the expected functions. The system is stable in operation and has certain practicability.
作者
涂笑语
王美玉
李毅
朱友华
TU Xiaoyu;WANG Meiyu;LI Yi;ZHU Youhua(School of Information Science and Technology,Nantong University,Nantong 226019,Jiangsu,China)
出处
《实验室研究与探索》
CAS
北大核心
2020年第8期138-141,150,共5页
Research and Exploration In Laboratory
基金
国家自然科学基金项目(61874168,61504071)
江苏高校品牌专业建设工程项目(PPZY2015B135)。
关键词
网络编程
即时通信
C/S架构
network programming
instant messaging
client/server(C/S)architecture