Design and Implement of C/S Instant Message System Based on Winsock

Author
SunZhongHua
Advisor
MaMingDong
School
Nanjing University of Posts and Telecommunications
Major
Communication and Information System
Classification
TN914 Communication systems ( transmission system)
Degree
Master's thesis
Year
2012
Downloads
24
Citations
0

Request the full text

Abstract

With the rapid development of communication and the growing popularity of Internet,instant messaging is increasingly become an integral part of people’s daily life. It is promoted by its own characteristics to be a portal of the personal information and applications,instant messaging,as one of Internet applications,will play a very important role in the future.Instant messaging system had been widely used after released,either as a tool for online- chatting in daily life, or as an communications platform in enterprises. Almost all the popular instant messaging systems have to access to the Internet. Besides,they can not guarantee the security of information,which prevents the real-time communication further used in enterprises and schools.Based on the study of Internet,encryption,database,and Winsock,this issue proposes a new design and implementation of instant messaging system,which applies to LAN and can secure transmission of information. It integrates three-layer C/S model and P2P model, and designs functional modules according to requirements.The paper analysis communication procedures of main modules,and come up with an implementation,which is combined with ADO technology,multi-threaded technology and DES encryption. The system has functions of login,text communications,file transfer,user-information management, and ensures the security of information.Finally,the paper conducts a test on function and performance of system. The result of test shows that,the system has normal functions and good performance,achieves the requirements of instant and security.

Table of contents

Summary 4-5 Abstract 5-8 Chapter 1 Introduction 8-12 1.1 subject background 8-9 < br /> 1.2 Research status and development trend 9-10 the 1.3 research purposes and practical significance 10 1.4 papers arrangements 10-12 first Chapter 2 system uses technology 12-20 2.1 the Winsock technology 12-15 2.1.1 the Winsock basic concepts 12-13 2.1.2 flow-socket model 13-14 2.1.3 Datagram Sockets model 14-15 2.2 the mainstream network communication model 15 -17 2.2.1 C / S model 15-16 2.2.2 P2P networks model 16-17 2.3 system uses technology 17-20 2.3.1 encryption technology the 17-18 2.3.2 multithreading technology the 18-19 2.3.3 ADO technology 19 -20 Chapter 3, the overall design of the instant messaging system 20-30 3.1 instant messaging system overall demand 20-22 3.1.1 System Description 20-21 the 3.1.2 system design performance analysis the 21-22 3.2 instant messaging system's overall architecture 22-25 3.2.1 system The overall architecture described 22-23 3.2.2 server function modules design 23-25 ?? 3.2.3 client function module design 25 3.3 instant messaging system workflow 25-30 3.3.1 server-side workflow 25-28 3.3.2 client workflow 28-30 Chapter 4 system program design and implementation of 30-52 4.1 system overall programs and classes designed 30-32 4.1.1 Overall system implementations design 30 4.1.2 system communication message design 30-32 4.2 server-side function to achieve 32-36 4.2.1 instant communication services to achieve 32-33 4.2.2 back-end database design and implementation 33-36 4.3 Login exit module 36-41 <br / the> 4.3.1 Login exit process analysis 36-37 4.3.2 module design and implementation of 37-41 4.4 text communication module 41-45 < br /> 4.4.1 text communication process the 4.4.2 module 41-43 Design and Implementation 43-45 4.5 file transfer module 45-50 4.5.1 file transfer process 45-46 4.5.2 module design and implementation 46-50 4.6 data encryption and decryption modules 50 -52 4.6.1 OpenSSL and DES encryption and decryption algorithms 50 4.6.2 module design and implementation 50-52 Chapter 5 system test the 52-57 test environment 5.1 build 52 5.2 system functionality and performance testing 52-56 5.3 System test results illustrate the 56 -57 Chapter 6 Conclusion 57-59 6.1 summarizes 57-58 6.2 Prospects for further work 58-59 Acknowledgements 59-60 Reference 60-62 studying for a master's degree during the published papers are found; 62

Related dissertations

  1. The Design of LAN Instant Messaging Software on the Basis of TCP/IP Protocol
    LiuJunXiang ·Jilin University ·2012 ·Master's thesis
  2. Microfinance Wholesale Mechanism Research and Construction Analysis
  3. The Investigation Report of P2P Lending
  4. Risk Management of P2P Network Financing Mode
    WangSheng ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  5. The Construction of P2P Networks Lending Risk Management System in China
    LuoYang ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  6. Research on Knowledge Sharing Model of Semantic Community Based on P2P Networks
  7. The Design and Implementation on Network-based Remote Control System of XY Table
    LinJianPing ·Anhui University of Engineering ·2013 ·Master's thesis
  8. The Application of P2P Traffic Identify and Monitoring Technology In the Network Operation
  9. Design and Implementation of P2P-VoD System Based on BitTorrent
    ZhuangYingJie ·Northeastern University ·2011 ·Master's thesis
  10. Study on Community-Based Information Retrieval System in Peer-to-Peer Networks
  11. Research on Game Server Architecture Based on Kademlia
    ZhongZuoLong ·Donghua University ·2013 ·Master's thesis
  12. The Research on WAN Distributed Storage Technologies Based on P2P Architecture
    YangLei ·Hunan University ·2013 ·Doctoral dissertation
  13. Research and Improvement of Distributed Lookup Protocol Based on Chord
    LiaoXiaoNa ·Tianjin University ·2012 ·Master's thesis
  14. Research on Kev Technologies of Content Distribution in P2P Network
    ZhangJianWei ·Zhejiang University ·2013 ·Doctoral dissertation
  15. Research and Implementatioil of Mobile Streaming Media Platform Based on Cloud Computing
    ChangLong ·Northeastern University ·2013 ·Master's thesis
  16. Research on the improvement of Chord algorithm in P2P network
    CaoLei ·Shaanxi Normal University ·2013 ·Master's thesis
  17. Research of Data Resources Sharing Based on P2P
  18. Zhong Shan City Bureau of Public Security of Network Information Retrieval and File Sharing System Design and Implementation
  19. Research of FTP Search Engine Indexing Technology Based on Kademlia
    ShiXiaoMei ·West China University ·2013 ·Master's thesis
  20. Design and Implementation of P2P Based on Full Text Retrieval System
    MengFanChao ·Jilin University ·2013 ·Master's thesis