Method and apparatus for SIP messaging
First Claim
1. In a communications network, a method of processing a sip message:
- comprising;
receiving a SIP message, wherein the SIP message includes a plurality of headers and text;
allocating a new mono block structure, the structure including a plurality of zones;
reading the SIP message;
creating at least one header descriptor in a first zone in the mono block structure;
copying the SIP message to second zone in the mono block structure; and
pre-parsing the second zone.
8 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for encoding a SIP message into an internal binary format so that it can be treated much more efficiently by both the SIP stack layers and the application. Only one memory buffer is used to handle any sort of SIP message. For this reason, this new SIP message may be called a “mono-block” structure. It allows each SIP header'"'"'s raw text from the original SIP message to be directly referred within the SIP mono-block with no additional copy. Only SIP headers that are “used” by the application, or by some SIP stack layer are parsed to form a “decoded” header object. The header parsing is made “on demand” at the moment header is accessed. Headers not used are not decoded and are left in text format with no additional processing needed.
21 Citations
15 Claims
-
1. In a communications network, a method of processing a sip message:
- comprising;
receiving a SIP message, wherein the SIP message includes a plurality of headers and text;
allocating a new mono block structure, the structure including a plurality of zones;
reading the SIP message;
creating at least one header descriptor in a first zone in the mono block structure;
copying the SIP message to second zone in the mono block structure; and
pre-parsing the second zone. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
- comprising;
-
10. In a communications network, a method of creating a SIP message comprising:
-
allocating a mono block structure, the mono block structure including a management information memory zone, a table of content, and a free zone;
creating at least one header descriptor in the table of content;
creating a string in the free zone that represents raw text for each header;
binding the raw text to the corresponding header descriptor in the table of content; and
marking each header to show that it has not been parsed. - View Dependent Claims (11)
-
-
12. In a communications network, an apparatus for processing a SIP message comprising:
-
a management information memory zone;
a table of content;
an initial SIP raw text message zone;
a dynamic objects zone;
a free zone; and
a set of differential pointers. - View Dependent Claims (13, 14, 15)
-
Specification