Design and Implementation of Instant Messaging System Based on SIP Protocol

Author
LiuShuRan
Advisor
ZhangZhenJiang
School
Beijing Jiaotong University
Major
Electronics and Communication Engineering
Classification
TN914 Communication systems ( transmission system)
Degree
Master's thesis
Year
2012
Downloads
135
Citations
0

Request the full text

Abstract

Instant Messaging, which has become an essential network application in our daily lives, provides people with the service of real-time communication. Currently, well-known business systems often use proprietary protocols, which causes many difficulties to the integration of IM service. It has been increasingly necessary to develop and establish an Instant Messaging system based on the open network architecture in the new network environment.This thesis proposes a SIP-based Instant Messaging System, which aims to provide an instant communication scheme using an open protocol and realizing the interoperability among multi platforms and service, and finally the corresponding realization has been completed. SIP is a signaling control protocol of application layer, which is used for session establishment, configuration and teardown. Meanwhile, due to its features of brevity, open and simplicity of expansion, SIP is particularly suitable for building Instant Messaging platform. With SIP becoming one of the core protocols in the NGN network, the interoperability of the open IM platform based on it will also be possible.The Instant Messaging System proposed by this thesis is designed and implemented upon the Multimedia Scheduling Server developed by the company where the author doing his practical training. It consists of a number of functional modules, including SIP channel module, IM module and Presence module. The SIP channel module is responsible for the processing of common SIP messages and media streams, while applying for a SIP channel to communicate with the PBX module in the server. The module mentioned above is the basis of this thesis’design and made up of several functions, such as message parsing, registration management, call management and media delivery. This thesis focuses on both of IM module and Presence module, with which used to render services of common Instant Messaging. IM module mainly handles the Instant Messaging service, which includes the sending, receiving and storage of the instant messages between users. Presence module is responsible for the processing of Presence service in the system, including the subscription, publication and notification of the presence information.First of all, this thesis explains why to choose SIP protocol as the basis of the development and then analyzes SIP protocol and the related ones. Afterwards it elaborates the design and implementation of the SIP-based Instant Messaging System which includes the SIP channel module, IM module and Presence module. Finally, the system functional testing is carried out. The result shows that the system is able to meet the basic demands of Instant Messaging and Presence service. Meanwhile, the system is available as a reference for industry product.

Table of contents

Thanks 5-6 Chinese abstract 6-7 ABSTRACT 7-12 1 Introduction 12-15 1.1 Background 12-14 1.2 the main 14 1.3 thesis structure 14-15 2 instant messaging system and the SIP protocol related technology 15-32 2.1 SIP instant messaging system selection 15-17 2.2 SIP protocol outlined 17-26 2.2.1 SIP protocol structure 17-19 2.2.2 SIP entity 19-21 2.2.3 SIP and SIP addressing universal resource locator 21 <br / > 2.2.4 SIP message extended 21-23 2.2.5 SIP protocol 23-26 2.3 SDP protocols and RTP / RTCP protocol Introduction 26 - 30 2.3.1 SDP protocol 26-28 2.3.2 RTP / RTCP protocol 28-30 2.4 Summary 30-32 design SIP-based instant messaging system 32-53 3.1 system architecture 32-34 3.1.1 multimedia cluster scheduling system network architecture instant messaging system 32-33 3.1.2 SIP-based architecture 33-34 3.2 SIP channel module design 34-37 3.2.1 SIP signaling module 35-36 3.2.2 RTP media module 36-37 3.3 IM instant messaging module design 37-42 3.3 .1 instant messaging needs 37-39 3.3.2 instant messaging module design 39 3.3.3 instant messaging each module detailed design 39-41 3.3.4 instant messaging process design 41-42 3.4 Presence rendering service module design 42-51 3.4.1 rendering services needs 42-44 3.4.2 rendering service module design 44-45 3.4.3 SUBSCRIBE message handling process design 45-49 3.4.4 PUBLISH message treatment process design 49-51 3.5 Summary achieve 51-53 4 SIP-based instant messaging system 53-77 4.1 achieve SIP channel module achieve 53-62 4.1.1 system management functions achieve 53-54 4.1.2 message parsing function 54-57 achieve 4.1.3 registration management function 57-59 4.1.4 call management functions to achieve 59-61 4.1.5 media transmission functions to achieve achieve 61-62 4.1.6 mapping management functions achieve 62 4.2 IM instant messaging module 62-66 4.2.1 MESSAGE message achieve processing functions 62-64 4.2.2 MESSAGE messaging functions are implemented 64-66 4.3 Presence module implements the service rendered 66-72 4.3.1 Subscribe to achieve message handling functions 67-69 4.3.2 released implement the message processing functions 69-72 4.4 system test 72-76 4.4.1 test tools and test environments 72-73 4.4.2 test process and results analysis 73-76 4.5 chapter Summary 76-77 5 conclusions and Outlook 77-79 5.1 paper summarizes 77 5.2 further research 77-79 <br / > References 79-81 Appendix A 81-82 Author Biography 82-84 dissertation dataset 84

Related dissertations

  1. Design of Communication Software Based on Embedded Network Terminal
    HeHua ·Fujian Normal University ·2012 ·Master's thesis
  2. Design and Implementation of UC Client Platform Based on SIP and XMPP Protocol
  3. Design and Implementation of Beijing Unicom Instant Messenger Service Platform
  4. The Design and Implementation of IMS Client Based on Android Platform
    WangLe ·Beijing Jiaotong University ·2012 ·Master's thesis
  5. Research on Key Technologies for Session Control of IP Multimedia Subsystem
  6. SIMPLE -based presence server specification Design and Implementation
  7. Design and Development of Postal Marketing Support Platform Based on Android
  8. Design and implementation of Android system based on mobile phone video calling software
    LiuJia ·Northwestern University ·2013 ·Master's thesis
  9. Design and implementation of mobile phone software and network instant communication software
  10. Design and Implementation of Network Office System Based on Enterprise Instant Messaging Tool MyQQ
  11. Reseach on Marching-on In-time Scheme and the Fast Algorithm of Time Domain Integral Equation
  12. Dongguan City Environmental Protection Bureau analysis and design of collaborative office platform
    LiuDongMing ·Yunnan University ·2013 ·Master's thesis
  13. Design and Implementation of Enterprise Instant Messaging System
    FengYue ·Xi'an University of Petroleum ·2012 ·Master's thesis
  14. The Design and Development of Distributed Call Centerbased on VOIP
    MengXianXing ·Shandong University ·2013 ·Master's thesis
  15. Research and Implementation of Android-based Instant Messaging Platform
    LiZuoPeng ·South China University of Technology ·2013 ·Master's thesis
  16. Design and Implementation of the Instant Messaging System Based on Java
    LiYuanJun ·Shandong University ·2013 ·Master's thesis
  17. Design and Implementation of iOS IM System Based on Openfire Server
    GuoZhuo ·Jilin University ·2013 ·Master's thesis
  18. The Design and Implementation of IP Multimedia Subsystem Streaming Media Software Client
    HuangHaiJun ·Northeastern University ·2013 ·Master's thesis
  19. The Research and Implementation of Ulvac Building in Network Video Monitoring System
  20. Remote Video Monitoring System Based on RTP and H.264Technology