Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for realizing SIP (session initiation protocol) universal encoding and decoding

A SIP protocol, encoding and decoding technology, applied in the field of communication, can solve problems such as increasing system overhead and reducing system encoding and decoding efficiency, and achieve the effect of improving efficiency

Inactive Publication Date: 2012-10-31
BEIJING ZHONGCHUANG TELECOM TEST
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] In the existing codec scheme, it is necessary to define a large static array to meet all possible situations, so that the entire SIP_MSG structure is very large, and the text-based method of the SIP protocol makes it very simple to expand various protocols. The expansion of the protocol mainly focuses on the message. There are three basic parts of the SIP message: message type, message header, and message body. These three parts can be continuously expanded in the protocol specification. When the message is expanded, it needs to be modified. The SIP_MSG structure causes the program to be continuously modified and updated
And in practical applications, you may only pay attention to some information in the SIP message, not all the information. If all the fields in the SIP message are encoded and decoded, the system overhead will be increased, and at the same time, the system will be reduced. Efficiency of system encoding and decoding

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for realizing SIP (session initiation protocol) universal encoding and decoding
  • Method and device for realizing SIP (session initiation protocol) universal encoding and decoding
  • Method and device for realizing SIP (session initiation protocol) universal encoding and decoding

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Below in conjunction with accompanying drawing, the present invention is described in detail.

[0027] see figure 1 , which is a block diagram of the method for realizing the universal encoding and decoding of the SIP protocol proposed by the present invention. It mainly includes the following 4 steps:

[0028] S101. Using regular expressions to describe a single protocol rule;

[0029] S102. Writing the protocol rules into a configuration file;

[0030] S103. Obtain encoding and decoding rules by reading the information in the configuration file, and only need to modify the configuration file when the protocol is extended;

[0031] S104. During the encoding and decoding process of the message, the configuration file is used to describe the field information that needs to be encoded and decoded in the current application, instead of encoding and decoding the entire message.

[0032] In practical application, the protocol codec is implemented first. Since the SIP pro...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for realizing SIP (session initiation protocol) universal encoding and decoding. The method for realizing SIP (session initiation protocol) universal encoding and decoding comprises the following steps of: describing a single protocol rule by using a regular expression; compiling the protocol rule into a configuration file; acquiring an encoding and decoding rule through reading information in the configuration file, and when the protocol is extended, only modifying the configuration file; and in the process of encoding and decoding a message, describing field information required to be encoded and decoded in the current application through the configuration file without carrying out encoding and decoding on the whole message. In addition, the invention also discloses a device for realizing SIP universal encoding and decoding. Through the method and device disclosed by the invention, the support on a protocol can be realized through extending a configuration file of the protocol on the basis of not modifying a program, thereby improving the efficiency of encoding and decoding.

Description

technical field [0001] The invention belongs to the communication field, in particular to the SIP protocol widely used in the telecommunication network. Background technique [0002] The SIP protocol is the Session Initiation Protocol, which is the core protocol in the NGN network, 3G network and LTE network, and is currently widely used in the telecommunications network. The codec of the SIP protocol is an indispensable component of any SIP system. [0003] The SIP protocol is very inclusive. It can be used to establish various sessions (such as audio, video, multi-party calls, etc.), and can also be used to transmit instant messages and files, thanks to its support for protocols such as HTTP. Learn from. This enables operators to provide comprehensive services through a unified service platform and realize network convergence. [0004] SIP messages are encoded in text, and the encoding and decoding process is essentially an operation on strings. The existing codec sche...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06H04L29/08
Inventor 于恒信刘凯王升平
Owner BEIJING ZHONGCHUANG TELECOM TEST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products