Research and Design of SIP Protocol Stack Based on Embedded Linux

Author
ShiHua
Advisor
YangYanXiang
School
West China University
Major
Signal and Information Processing
Classification
TN915.04 Communication protocols, communication protocols
Degree
Master's thesis
Year
2010
Downloads
128
Citations
2

Request the full text

Abstract

SIP (Session Initiation Protocol Session Initiation Protocol) is an IP telephony signaling protocol proposed by the IETF (Internet Engineering Task Force). Starting with the SIP a standard proposal RFC2543 After several years of development of SIP used in 3G mobile communications and next generation network (NGN) core areas, also shows a huge advantage in the field of traditional VOIP. With the SIP by the 3GPP working group is defined as the signaling protocol of the third generation mobile communication system, so that the SIP protocol to be more and more attention. SIP is an application-layer signaling control protocol used to create, modify, and the end of the session attended by one or more participants. The transfer mode can better carrier-grade applications with Internet applications together, to break the traditional telecommunications business, the use of Internet-based criteria, to provide IP-based multimedia services, with a wide range of application prospects. At the same time, with the rapid development of embedded technology and network technology, embedded network communication devices such as smart phones, personal digital assistants and other applications more and more widespread. Embedded device as a network node or terminal should be able to in between the Internet and other communications networks to roam freely, only need to know the identity of a device (such as: E-MAIL address or phone number, etc.), you can accurately positioning of the device, and the multimedia service communications. In this context, how the SIP flexibility and good service can be integrated and applied to the embedded environment, so as to strengthen the communication of embedded devices, connections, sessions, and control operations, has become the focus of this study. This paper first introduces the Softswitch and NGN generation, development survey, reveal the background of the SIP protocol. Then briefly SIP development process, and the development and application of open source SIP stack of several representative made a simple comparison. Through in-depth study of the proposal by the SIP standard RFC3261, SIP protocol architecture, the syntax of the call flow as well as the message, the message constitute functional entities, followed by a brief two related agreements: SDP and RTP / RTCP. The demand for embedded device networking analysis and study of the SIP protocol, to discuss the possibility and necessity of Why embedded devices to implement the SIP protocol and SIP protocol applications on embedded devices. On this basis, we propose a new hierarchy-based SIP protocol stack implementations. Elaborate layers of the protocol stack in the program structure, design methods and process flow, highlighting the key technologies used. Then in the Linux environment, SIP source code program is compiled by and run successfully. A working model of the final design, testing, and satisfactory test results confirmed that the design of the protocol stack in achieving the various functions of the SIP protocol. The SIP protocol embedded in the application has a lot of potential, needs further research and exploration. SIP protocol in embedded systems at the end of this article, a summary and outlook.

Table of contents

Abstract 4-5 Abstract 5-10 1 Introduction 10-15 1.1 Background topics 10-12 1.1.1 NGN About 10-11 1.1.2 SIP and NGN 11-12 Research 1.2 SIP protocol 12-13 1.3 thesis research content and structure 13-15 2 SIP protocol principles analysis 15-34 2.1 SIP protocol functions and features Introduction 15 2.2 SIP protocol analysis 15-24 2.2.1 SIP protocol hierarchy 15-16 2.2.2 SIP-based network architecture 16-18 2.2.3 SIP protocol messages mechanism 18-22 2.2.4 SIP protocol transaction-based dialogue mechanism 22-24 2.3 SIP typical session flow 24-28 2.4 SIP protocol 28-33 2.4.1 SIP and related protocols relationship 28-29 2.4.2 SDP protocol 29-32 2.4.3 RTP / RTCP protocol 32-33 2.5 This chapter Summary 33-34 3 Embedded SIP stack design 34-75 3.1 SIP protocol embedded features 34-35 the Embedded SIP 3.2 protocol stack design principle 35 3.3 protocol stack the overall Design 35-38 3.3.1 SIP protocol stack hierarchy optimization 35-37 3.3.2 protocol stack concurrency and synchronization mechanisms 37-38 3.3.3 callback function mechanism 38 3.4 message parsing and building blocks of design 38-49 3.4.1 SIP message parsing module 40-43 3.4.2 URI parsing structure module 43-46 3.4.3 SDP parsing module 46-48 3.4.4 SIP building blocks 48 3.4.5 SDP building blocks 48-49 3.5 transport layer design 49-53 3.5.1 upstream processing (message processing) 50-51 3.5.2 downstream processing (send a message) 51-53 3.6 transaction layer design 53-66 3.6.1 transaction layer structure 54-55 3.6.2 Service layer process flow 55-56 3.6.3 affairs state machine 56-61 3.6.4 Timer 61-63 3.6.5 Affairs database 63-66 3.7 transaction user layer design 66-74 3.7.1 the transaction user layer structure 66-67 3.7.2 Dialogue Database 67-68 3.7.3 dialogue state machine 68-71 3.7.4 user agent UA processing logic 71-74 3.8 protocol stack other modules design brief 74 3.8.1 protocol stack interface module 74 3.8.2 protocol stack configuration module 74 3.9 This chapter Summary 74-75 4 based on the establishment of the development environment of the SIP protocol embedded multimedia terminal 75-92 4.1 cross development hardware platform 75-77 4.1.1 serial use 76-77 4.1.2 JTAG use 77 4.1.3 Network Communication 77 4.2 cross development environment to establish 77-88 4.2.1 cross compiler installed 78 4.2.2 preparations 78-81 4.2.3 Vivi Bootloader curing to ARMSY52410 81-82 4.2.4 curing Linux kernel ARMSY52410 82-84 4.2.5 NFS way mount host 84-86 4.2.6 the NFS method to update the file system 86-88 4.3 SIP protocol stack cross-compiling and debugging 88-91 4.3.1 cross compiler 89-90 4.3.2 cross-debugging 90-91 4.4 This chapter Summary 91-92 5 protocol test 92-96 5.1 protocol testing Introduction 92 5.2 protocol stack test 92-95 5.3 This chapter Summary 95-96 6 Summary and Outlook 96-98 6.1 This article summarizes 96-97 6.2 prospects Looking 97-98 the References 98-100 during the master's degree Post academic situation 100-101 Acknowledgements 101-102

Related dissertations

  1. Research and Teaching System Development Based on Session Initiation Protocol
  2. Design and implementation of SIP protocol stack and its user agent
  3. The Research and Implementation of the Core Node in the Distributed Service Network
  4. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  5. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  6. The Research and Design of Embedded Graphic Remote Monitor Terminal
    DengBoWen ·Harbin Engineering University ·2013 ·Master's thesis
  7. Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
    ZhangYanYan ·Dalian Polytechnic University ·2011 ·Master's thesis
  8. The Design and Implementation of Integrated Data Acquisiton Instrument Hardware Platform for Gas Station
  9. The Research for the Engraving Machine Control System Based on ARM and FPGA
    FanJianFeng ·Xi'an University of Engineering ·2012 ·Master's thesis
  10. Design and Implementation of Control System for Stabilized Platform Based on Embedded System
    SunXiLong ·Harbin Institute of Technology ·2012 ·Master's thesis
  11. Study on the Control System of Lower Limbs Rehabilitative and Fitness Robot
    YangKe ·Hefei University of Technology ·2013 ·Master's thesis
  12. The Research of Embedded Web Sensor Node
    HeShuangWang ·Hebei University of Technology ·2012 ·Master's thesis
  13. The Research of Embedded Image Processing Technology Based on ARM
    WangXueBin ·Hebei University of Technology ·2013 ·Master's thesis
  14. The Research and Realization of Target Tracking Algorithms on Embedded Platform
  15. The Core Algorithm Research and System Implementation of Embedded Image Information Processing System
    LiXiang ·Zhejiang University ·2012 ·Doctoral dissertation
  16. Development of embedded network fingerprint attendance system
    GaoHongChao ·Heilongjiang University ·2013 ·Master's thesis
  17. A Drowning Features Recognition System Based on AIS
    GuoChangSheng ·Donghua University ·2014 ·Master's thesis
  18. Design and Implementation of Automated GUI Testing Framework Based on Android
  19. Research and design of secure data terminal based on Trusted Computing
  20. Design and implementation of the computer room monitoring system