IP Library Granted Patent US 7,644,165
Granted Patent B2
US 7,644,165 · App. 11/141,546 · Granted Jan 5, 2010

Method and apparatus for SIP messaging

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,644,165
App. No.
11/141,546
Granted
Jan 5, 2010
Kind
B2
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.

Claims (38)

1. In a communications network, a method of processing a SIP message comprising:

receiving a Session Initiation Protocol (SIP) message via a SIP server, wherein the SIP message includes a plurality of headers and text;

allocating a new mono block structure via the SIP server, the structure including a plurality of zones;

reading the SIP message via the SIP server;

creating at least one header descriptor in a first zone in the mono block structure via the SIP server;

copying the SIP message to second zone in the mono block structure via the SIP server; and

pre-parsing the second zone via the SIP server;

wherein pre-parsing the second zone comprises:

updating the corresponding header descriptor in the mono block structure for each header that is recognized;

pointing a raw text pointer to the corresponding SIP text stored in the second zone of the mono block structure;

storing the actual length of the SIP text in the header descriptor; and

leaving a pointer to the decoded portion of the text empty.

2. The method defined in claim 1 , wherein a transport layer in a SIP stack allocates the mono block structure.

3. The method defined in claim 1 , wherein the plurality of zones in the mono block structure includes a management information memory zone, a table of content, a dynamic objects zone, and a free zone.

4. The method defined in claim 1 , wherein the plurality of zones in the mono block structure includes a management information memory zone having a fixed length, a table of content having a fixed length, an initial raw text zone having a variable length, a dynamic objects zone having a variable length, and a free zone having a variable length.

5. The method defined in claim 4 , wherein the first zone comprises the table of content of the mono block structure.

6. The method defined in claim 5 , wherein the second zone comprises the initial raw text zone of the mono block structure.

7. The method defined in claim 6 , wherein the mono block structure further comprises a set of differential pointers.

8. The method defined in claim 7 , wherein each header comprises one or more objects.

9. In a communications network, a Session Initiation Protocol (SIP) server for processing a SIP message, the server operative to:

receive a SIP message, wherein the SIP message includes a plurality of headers and text;

allocate a new mono block structure, the structure including a plurality of zones;

read the SIP message;

create at least one header descriptor in a first zone in the mono block structure;

copy the SIP message to second zone in the mono block structure;

pre-parse the second zone;

update the corresponding header descriptor in the mono block structure for each

header that is recognized;

point a raw text pointer to the corresponding SIP text stored in the second zone of the mono block structure;

store the actual length of the SIP text in the header descriptor; and

leave a pointer to the decoded portion of the text empty.

10. The SIP server defined in claim 9 , wherein a transport layer allocates the mono block structure.

11. The SIP server defined in claim 9 , wherein the plurality of zones in the mono block structure includes a management information memory zone, a table of content, a dynamic objects zone, and a free zone.

12. The SIP server defined in claim 9 , wherein the plurality of zones in the mono block structure includes a management information memory zone having a fixed length, a table of content having a fixed length, an initial raw text zone having a variable length, a dynamic objects zone having a variable length, and a free zone having a variable length.

13. The SIP server defined in claim 12 , wherein the first zone comprises the table of content of the mono block structure.

14. The SIP server defined in claim 13 , wherein the second zone comprises the initial raw text zone of the mono block structure.

15. The SIP server defined in claim 14 , wherein the mono block structure further comprises a set of differential pointers.

16. The SIP server defined in claim 15 , wherein each header comprises one or more objects.

Assignments (8)
RELEASE OF SECURITY INTEREST Recorded Jun 3, 2021
From: TERRIER SSC, LLC
To: WSOU INVESTMENTS, LLC
Reel/Frame 056526/0093 →
SECURITY INTEREST Recorded Jun 1, 2021
From: WSOU INVESTMENTS, LLC
To: OT WSOU TERRIER HOLDINGS, LLC
Reel/Frame 056990/0081 →
RELEASE OF SECURITY INTEREST Recorded May 21, 2019
From: OCO OPPORTUNITIES MASTER FUND, L.P. (F/K/A OMEGA CREDIT OPPORTUNITIES MASTER FUND LP
To: WSOU INVESTMENTS, LLC
Reel/Frame 049246/0405 →
SECURITY INTEREST Recorded May 20, 2019
From: WSOU INVESTMENTS, LLC
To: BP FUNDING TRUST, SERIES SPL-VI
Reel/Frame 049235/0068 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 25, 2017
From: ALCATEL LUCENT
To: WSOU INVESTMENTS, LLC
Reel/Frame 044000/0053 →
SECURITY INTEREST Recorded Sep 21, 2017
From: WSOU INVESTMENTS, LLC
To: OMEGA CREDIT OPPORTUNITIES MASTER FUND, LP
Reel/Frame 043966/0574 →
MERGER Recorded Nov 9, 2009
From: LUCENT TECHNOLOGIES INC.
To: ALCATEL-LUCENT USA INC.
Reel/Frame 023489/0373 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 24, 2005
From: BESSIS, THIERRY; CORTES, MAURICIO; ESTEBAN, JAIRO O.
To: LUCENT TECHNOLOGIES INC.
Reel/Frame 016911/0013 →