Design and Implementation of VoIP Billing System Based on SIP
- Author
- HuangKai
- Advisor
- TaoHongCai
- School
- Southwest Jiaotong University
- Major
- Applied Computer Technology
- Classification
- TN916.2 Telephone lines, telephone network
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 138
- Citations
- 1
Abstract
As an important part of NGN (Next Generation Network), VoIP (Voice over IP) is one of the hottest emerging technologies in telecommunication industry, which integrates technologies including voice signal, voice encoding and compression, network transmission, QoS, and real time transmission. Combining voice transmission with IP network, VoIP changes the carrying network and transmission way, greatly influences the traditional telecom market in the world, and challenges the running pattern of voice communication business.According to the signal technology, VoIP can be divided into two systems, i.e., H. 323 and SIP (Session Initial Protocol). SIP takes voice transmission business as a kind of application of IP network, which is simple, low-cost and convenient for business development, and therefore becomes the first choice to establish VoIP system.Currently, since all the technologies of VoIP have become relatively mature, VoIP is on the preparing phase of extension in scale. As one of the most important systems supporting for VoIP running, the status and significance of billing system of VoIP is becoming very crucial.This thesis presents the design and implementation of VoIP billing system based on SIP protocol. The main research is as follows:(1) Considering the special features and current charging status of VoIP billing system, this thesis puts forward a solution of the seamless integration of billing system with SIP system by using charging agent servers, and specifies the function modules and entities for the billing system. As for the special requirements of "one number with multi-terminals", this thesis proposes a way to differentiate different terminals by means of the head segment value at FROM field.(2) By building the third party VoIP testing platform, the thesis analyzes SIP message, and determines the starting and ending points of charge. By help of Visio, the general charging flow chart and thread composition figure of the core charging system and the phone-bar charging system are designed. Moreover, detailed design is made fromtwo aspects, that is, the executing flow chart of thread and the data flow among threads.(3) Based on the detailed design above, the thesis implements the function modules by using the object-oriented method. At this stage, solutions for the key problems are put forward, for example, employing hash-chain-table data structure to meet the demand of the query performance of the session-status table, adopting thread scheduler to improve the management and schedule of multi-thread, and using SIP parser to improve the data-collecting performance.(4) The system test environment is set up by connecting the third-party testing platform with the core billing system and phone-bar billing system, and the detailed testing is carried out on this test environment from such aspects as terminal compatibility, dialing delay and anti-pressure ability, etc.
Table of contents
Chapter 1 Introduction 10-14
1.1 VoIP Development and Significance 10-11
1.1.1 VoIP development history 10-11
1.1.2 VoIP significance of 11
1.2 VOIP billing status quo 11-12
1.3 thesis content and ideas the 12-14 <br / > Chapter 2 deals with the knowledge base 14-24
2.1 VOIP the 14-19 2.1.1 VoIP Overview
14-17
2.1. 2 VoIP H.323 technology system 17-19
2.2 SIP protocol 19-21
2.2.1 Overview 19-20
2.2. the 2 SIP architecture 20-21
2.3 the RADIUS protocol 21-24
2.3.1 Overview 21-22
2.3.2 packet encapsulation format 22-24
Chapter 3 VOIP billing system analysis and design 24-36
3.1 system target 24-25
3.2 system overall design 25-30
3.2.1 VoIP system topology diagram 25-27
the 3.2.2 System Module divide 27-29
3.2. 3 system hierarchy diagram 29-30
3.3 core billing system designed 30-32
the 3.3.1 core billing system structure 30-31 <br / > 3.3.2 core billing process flow 31-32
3.4, then the billing system design the the 32-36
3.4.1 function composition 32-33
3.4.2 if the billing process 33-34
3.4.3 One multi-terminal processing 34-36
Chapter 4 VOIP billing core system detailed design and implementation of the 36-64
4.1 development environment and tools 36
4.2 main thread design 36-49
4.2.1 thread composition 37-39
4.2.2 Inter-thread data flow 39-40
4.2.3 main thread process 40-49
4.3 important data structures and algorithms 49-53
4.3.1 session state table 49-51
4.3.2 thread scheduling 51-53
4.4 SIP parser and its implementation 53-64
4.4.1 parser role and function 53
4.4.2 SIP messages 53-55 <br / > 4.4.3 SIP header fields 55-57
4.4.4 SIP workflow 57-60
4.4.5 Specific 60-64 < br /> 5, then the detailed design and implementation of the billing system 64-67
5.1 development platform 64
5.2 processes, threads designed 64 - 67
Chapter 6 billing system test run the 67-72
6.1 test ideas 67-68
6.2 test environment 68
6.3 terminals compatibility test 68-69
6.4 the dial delay test 69-70
6.5 anti-stress tests 70-72
summary Looking 72-74
Acknowledgements 74-75
Reference 75-78
studying for a master's degree during the published papers 78
Related dissertations
- The Design and Development of Distributed Call Centerbased on VOIP
- The Design and Implementation of Voice Communication Subsystem of Mesh Emergency Network in Mines
- Research and Realization of Embedded VOIP Terminal Based on the SIP Protocol
- Design and Implementation of UC Client Platform Based on SIP and XMPP Protocol
- Design and Implementation of Voice and Video Communication System in the Elderly Community Based on Android
- Design and Realization of Voice Intercom System Based on SIP Protocol
- Research and Application of Mobile Video Conferencing
- The Design and Implementation of Android-Based Terminal Software for Trunking Communication System
- System design and Realization of IP phone based on SIP protocol encryption
- Implementation and Security Mechanism Research of SIP Employed in MANET
- Implementation of Multiple VoIP Voice Communications Based on SIP, RTP Protocols and Sound Card Hardware
- A Design of Wireless Communication System for Voice Based on VoIP
- Research on Key Technology of SIP-Based VoIP Network Security
- Research on Music-holding Service Subsystem Based on SIP-TRUNK
- The Design and Implementation of SIP-Trunk System
- Design and Implementation of IP Trunk of IP PBX
- Design and Implementation of Protocol Adapter Module in Lightweight Voip System
- Research and Implementation of Voip Transition Program in IPV4-IPV6Coexistence Environment
- Research and Design of Embedded Ip Phone Terminal Based on PSB21553
- Design and Realization of VoIP Phone Terminal Based on BF531