The Design and Implementation of Linux-based Real-time Network Communication Software

Author
MengRui
Advisor
FanPingZhi
School
Southwest Jiaotong University
Major
Communication and Information System
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2002
Downloads
546
Citations
1

Request the full text

Abstract

As a sort of instant message transmitting method, the real-time network communications based on the Internet or other wired or wireless networks have been flourished since the beginning of pervasive computing, or informally named "post-PC dominant epoch" . In this thesis, a real-time network communication system (named "MyComm" ) based on Linux, but platform independent, is investigated.In order to improve and extend the existing real-time network communication software, either made in China or abroad, it is necessary to develop a real-time communications software for Linux desktop. On this basis, the Concurrent Versions System (CVS), usually employed in the development of large- or middle-scale commercial software, is used to develop MyComm system. After completing the overall design for both the server and the client, the author has implemented fundamental real-time communications functions, such as real-time message transmitting, the management of current user and user’ s friend, etc. The major research and characteristics related to the realization of MyComm are, only ANSI C/C++ and some system calls of MySQL and QT are used so as to embody the thought of OS-free; the real-time response and network security issues are resolved by the introduction of mulit-thread and daemon programming mode, as well as the conversion of a clear text signal to a coded form in the data domain of UDP packet; in order to provide a friendly user interface, a series of shell-based system management commands in the server and skin-based programming techniques in the client are developed based on QT development tools; to solve the hardware dependent configuration problem, all system files are packed into a RPM file which can be automatically installed, avoiding revise and recompile "makefile" manually, therefore, making the software upgrade and distribution much easier.Based on the developed MyComm client software and the analysis ofthe popular real-time network communication software, OICQ, the first OICQ version under the Linux-XWindow environment, which can communicate with the server of Tencent OICQ successfully and smoothly, is implemented and distributed on the Internet.

Table of contents

The first chapter 8-17 1.1 network instant messaging concept 8-9 1.2 network instant messaging software research status 9-13 1.3 domestic and international mainstream instant messaging software analysis 13-15 1.4 research ideas and content arrangements 15-17 first Chapter II the instant messaging MyComm of the overall system design 17-24 2.1 real-time communication software requirements analysis and functional design 17-18 2.2 mycomm data flow diagram 18-21 the 2.3 mycomm Encryption and decryption 21-22 2.4 Makefile file structure 22-23 2.5 Chapter Summary 23-24 the Chapter MyComm server design and realization 24-40 3.1 server-side functional design 24 3. 2 SQL syntax and MySQL database 24-28 3.3 high-level language and MySQL communication 28-34 3.4 Establishment of the background daemon 34-36 3.5 UDP Socket Programming 36-39 3.6 Chapter Summary 39-40 the Chapter MyComm client Design and Implementation 40-53 4.1 thin client thinking and client functions designed 40-41 4.2 X architecture analysis 41-43 4.3 Qt programming 43-48 4.4 The design and application of the \ 4.6 This chapter Summary 51-53 Chapter Linux-based the OICQ client software development; nbsp 53-58 5.1 OICQ analysis and related technologies problem nbsp 53-54 the OICQ 5.2 packet format and encryption and decryption methods; 54-55 the OICQ 5.3 client's analysis 55-56 5.4 software release production 56-57 5.5 Chapter Summary 57-58 Chapter VI Conclusion and Outlook 58-62 6.1 This article summing up the work 58-59 problems in the 6.2 work, experience and understanding 59-61 6.3 Future Prospects of 61-62 Acknowledgements 62-63 refer to the literature 63-66 degree thesis and research work completed during 66

Related dissertations

  1. Design and Achieve of Wireless E-menu System Based on ARM
    ZhongLiang ·Beijing University of Technology ·2012 ·Master's thesis
  2. Embedded Software Design of AC Field Detection Instrument Based on ARM
  3. The System Design and Implementation of Smart Home Control Terminal Based on Linux
  4. The Research and Design of Chronic Kidney Disease Classification Prediction
  5. Study on the Cotton Pests and Diseases Detection System Based on ARM-Linux
    HeQingHai ·Shihezi University ·2013 ·Master's thesis
  6. Lights Control and Test System Based on Qt
  7. Design of Universal Controller Sewage Treatment System Based on ARM
  8. Design and Research on Chinese Medicine Coating’s Monitoring System Based on ARM-LINUX
    LouZuo ·Nanchang University of Aeronautics and ·2011 ·Master's thesis
  9. Applications and Research of Monitoring System for Winding Machines Based on Zigbee
    GuYueHan ·Zhejiang University of Technology ·2013 ·Master's thesis
  10. The Improvement Research of Basic Performance of Data Collector of Energy Consumption for Public Buildings
    LiuChang ·Shandong Institute of Architecture ·2012 ·Master's thesis
  11. Research and application of field information collection system based on embedded platform
  12. A New Design of the DIS Based on Linux and Qt
    ZuoYaJun ·Nanjing University ·2013 ·Master's thesis
  13. Intelligent Household System Research Based on Embedded Technology
  14. Design of Embedded Manipulator Monitoring System Based on Machine Vision
    ZhangXuDong ·Zhejiang University of Technology ·2012 ·Master's thesis
  15. The Design Method of Embedded Metal Detector Based on ARM
    JiaHaiBo ·Anhui University ·2013 ·Master's thesis
  16. Research for the Technology of Multi-channel Wireless Video Surveillance System
    LiuZuo ·Jilin University ·2012 ·Master's thesis
  17. The Design of Single-camera3D Reconstruction System Based on ARM+FPGA
    DaiShouGang ·Jilin University ·2013 ·Master's thesis
  18. Design and Implementation of Embedded Vehicle License Plate Recognition System
    LiBin ·Xi'an Technological University ·2013 ·Master's thesis
  19. Based on the Qt Embedded Linux Gui Implementation of Fingerpeint Identification System
    WangZuoZuo ·Inner Mongolia University ·2013 ·Master's thesis
  20. The Research of Linux and Qt GUI in the Development of Fault Diagnosis System