USPatent applicationPatented

Method and system for processing session initiation protocol messages

Granted 7 Oct 2014 · 6 office actions

Life of the application

18 dated events
⤢ drag to zoom20082010201220142016201820202022202420262028ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A method and system for processing session initiation protocol messages including receiving a session initiation protocol message by a front end, parsing the session initiation protocol message by the front end, grouping the token types and the token contents in the session initiation protocol message respectively, and setting up corresponding links between the token types and the token contents, wherein the session initiation protocol message, after parsing, is transformed to the session initiation protocol offload engine message with a session initiation protocol offload engine message header part, for storing message level information, a token type part, for storing token type information, wherein it comprises a plurality of fixed-length entries, and a token content part for storing token contents, wherein it comprises a plurality of variable-length entries, and processing the transformed session initiation protocol offload engine message at the server end.

Description

7 parts
›TECHNICAL FIELD OF THE INVENTION

The invention generally relates to the field of data communication, and particularly, relates to a method and system for processing SIP (Session Initiation Protocol) messages, and more particularly, relates to a method and system for binarizing SIP messages to reduce the load of SIP server (abbreviated as offload hereinbelow) and benefit for selectively processing SIP messages.

›BACKGROUND OF THE INVENTION

One foundational session control protocol is becoming an emerging workload in the telecom Next-Generation-Network (NGN) and IT collaborative solution. SIP is one text-based message protocol. It operates independently of the underlying network transport protocols, establishing sessions between multiple users irrespective of whether the transferred data is text data, audio data, or video data. In the SIP protocol stack, however, some computation-intensive operations, such as token parsing and security processing, will occupy a large amount of CPU cycles. As SIP-based applications are becoming popular, these operations could be potential performance bottlenecks for SIP servers, such as proxy servers or application servers.

To address this, SIP Offload Engine (SOE) architecture is proposed. As shown in FIG. 1 , a front end 110 parses a SIP message, binarizes it, and generates an “SIP Offload Engine (SOE) message”, abbreviated as SOE message hereinbelow. The objective of applying such offload technology is to offload the computation-intensive operations from the server end to some special appliances, such as front ends. In particular, the front end will parse the tokens in the SIP message, and transform the text-based message to a binary SOE message, and then the server will parse the SOE message. The term “token” is defined as an indecomposable part provided to an upper-layer logic through an interface, which is a character string separated by separators, such as semicolons, spaces. Thus, at server end more CPU cycles may be freed up for upper-layer applications to improve the overall performance.

The SIP protocol enables end users to communicate with each other via messages. The basic form of a message could either be a request sent from a client to a server or a reply from the server to the client. A message consists of a start-line, one or more header fields, a null line indicating the end of the header fields, and an optional message-body. The generic structure of an SIP message is shown as below:

1. SIP Request Message

A request may be recognized by the presence of a Request-Line as the start-line. The format of a request-line is shown as below:

Request-Line=Method SP Request-URI SP SIP-Version CRLF

A method is an action associated with a session between end users. The examples of a method comprise: REGISTER, INVITE, OPTIONS, ACK, CANCEL, BYE, defined in RFC3261 specification; and other methods defined in other separate RFC specifications. The Request-URI is the recipient of the SIP message. The SIP Version is currently SIP/2.0 and is to be included in all messages. The CRLF terminates the Request-Line.

2. SIP Response Message

A response may be recognized by the presence of a Status-Line as the start-line. The format of a status-line is shown as below:

Status-Line=SIP-Version SP Status-code SP Reason-Phrase CRLF

The Status-Code represents the result of the action taken due to the request. The result of a request is categorized below:

(a) 100-199: A request was received, processed in progress.

(b) 200-299: The request was received, understood, and accepted.

(c) 300-399: Further action needs to be taken to complete the processing of the request.

(d) 400-499: The request cannot be processed at the server, possibly due to bad syntax.

(e) 500-599: The server failed to process the request. The request could have been invalid.

(f) 600-699: Global failure. The request cannot be processed by any server. The Reason-Phrase is an English-like equivalent of the Status-Code. For example, for Status-Code 200, the Reason-Phrase is “OK”.

Both the Request/Response messages may have multiple message headers. These SIP header fields form a part of the SIP message. Each header conveys some information for the destination. The format of an SIP message header is shown as below:

field-name: [field-value]

It is noted that the field value could extend over multiple lines.

The type of a header field can be thought of to be based on the function performed by that header. 44 types of headers are defined in RFC3261 specification. The major header types comprise, but not limit to:

1. Originator fields: From, To

2. Routing fields: Via

3. Authentication: Proxy-Authenticate

It can be seen from above that an SIP message has the following three features: a) a large number of token values with variable lengths; b) line-by-line structure; and c) multiple tokens in each line. Therefore, how to binarize SIP messages is critical for the implementation of the offload technology.

As one of the existing approaches, ASN.1 can be used for accommodating the token information in a way of <Type, Length, Value> (TLV). But this TLV approach is not efficient since most of the values in an SIP message are strings with variable lengths, then the parser will have to go through the whole message to get the information needed.

Another existing approach is to allocate a fixed position for each token. But this approach also has multiple defects. First, the storage efficiency is affected, as there will be waste storage space between tokens with different lengths. Second, the blank storage space must be skipped while processing messages, which also affects the processing efficiency. Third, there is no sufficient space reserved for “optional” tokens.

Therefore, there is a need for an approach to binarize an SIP message efficiently.

›SUMMARY OF THE INVENTION

The invention is proposed in order to solve the above problems. According to one aspect of the invention, a method for processing session initiation protocol messages is proposed, comprising the following steps:

receiving a session initiation protocol message by a front end;

parsing the session initiation protocol message by the front end, grouping the token types and the token contents in the session initiation protocol message respectively, and setting up corresponding links between the token types and the token contents, wherein the session initiation protocol message, after parsing, is transformed to the session initiation protocol offload engine message with the following three parts: a session initiation protocol offload engine message header part, for storing message level information; a token type part, for storing token type information, wherein it comprises a plurality of fixed-length entries; and a token content part, for storing token contents, wherein it comprises a plurality of variable-length entries; and

processing the transformed session initiation protocol offload engine message at the server end.

According to another aspect of the invention, a system for processing session initiation protocol messages is proposed, comprising:

a front end, which comprises a message parser;

a server, which comprises a message processing means;

wherein,

a session initiation protocol message is received by the front end;

the session initiation protocol message is parsed by the message parser, the token types and the token contents in the session initiation protocol message are grouped respectively, and corresponding links are set up between the token types and the token contents, the session initiation protocol message, after parsing, is transformed to the session initiation protocol offload engine message with the following three parts: a session initiation protocol offload engine message header part, for storing message level information; a token type part, for storing token type information, wherein it comprises a plurality of fixed-length entries; and a token content part, for storing token contents, wherein it comprises a plurality of variable-length entries; and

the transformed session initiation protocol offload engine message is processed by the message processing means.

According to still another aspect of the invention, there is provided a program product embodied in a computer readable medium comprising computer executable program code for performing steps of the above method.

The method and system for binarizing SIP messages for offload and selective processing proposed by the present invention transform text-based SIP messages to binary-based SOE messages efficiently and rapidly, thereby significantly reducing the working load of the server while taking the storage efficiency into account.

›BRIEF DESCRIPTION OF THE DRAWINGS

The invention itself and its preferred mode, together with further objects and advantages, will be best appreciated from the reading of the following detailed description of the illustrative embodiments taken in conjunction with the drawings, in which:

FIG. 1 illustrates an illustrative diagram of the SOE architecture;

FIG. 2 illustrates an illustrative diagram of the overall structure of an SOE message according to a preferable embodiment of the invention;

FIG. 3 illustrates the data structure of an SOE message according to a preferable embodiment of the invention;

FIG. 4 illustrates a flowchart of a method for binarizing SIP messages according to an embodiment of the invention;

FIG. 5A illustrates an illustrative diagram of the SOE header part according to a preferable embodiment of the invention;

FIG. 5B illustrates an illustrative diagram of the token type part according to a preferable embodiment of the invention;

FIG. 5C illustrates an illustrative diagram of the encoding for the fixed-length value in the token content part according to a preferable embodiment of the invention;

FIG. 5D illustrates an illustrative diagram of the encoding for the variable-length value in the token content part according to a preferable embodiment of the invention;

FIG. 6 illustrates a flowchart of a method for selectively processing messages at the server end;

FIG. 7 illustrates a structural schematic diagram of processing SIP messages in different granularities and in different time sequences according to preferable embodiments of the invention; and

FIG. 8 illustrates a schematic diagram of a system for processing SIP messages according to a preferable embodiment of the invention.

›DETAILED DESCRIPTION OF THE INVENTION · 1 of 3

In order to binarize SIP messages efficiently, the invention proposes a new SOE message structure. As seen from FIG. 2 , the overall structure of an SOE message according to a preferable embodiment of the invention comprises three parts:

An SOE header part 210 , for storing the SOE message level information. A token type entry part 220 , for storing the token type information, wherein it may comprise a plurality of fixed-length (aligned) entries. A token content entry part 230 , for storing the token value, wherein it may comprise a plurality of variable-length entries.

FIG. 3 illustrates the data structure of an SOE message according to a preferable embodiment of the invention. Referring to FIG. 3 , in the present invention, the tokens contained in an SIP message are transformed to token type entries 310 and token content entries 320 in a certain format, and both are grouped respectively. The token type is denoted with TYPE_A.TYPE_B in the type entries 310 , wherein, the TYPE_A part distinguishes which header the token is in, and the TYPE_B part tells the detailed type information of the token. Such type denotation just fits the characters of the SIP message format and semantic. Each of them has a fixed length. In the type entries 310 , the type entries of all tokens are grouped together, for enabling fast information retrieval. The type entries 310 also comprise VALUE_OR_PTR fields, in each of which it contains a pointer to the location where there is the certain value in the content entry corresponding to the type entry field, or, if the certain value is less than the field length defined for the field, then the value is stored directly in the VALUE_OR_PTR field. The content entries 320 are stored separately from the type entries 310 . The content entries of all tokens are grouped together, and indexed by the VALUE_OR_PTR fields in the type entries. Thus, the complete information of each token can be accessed independently.

It can be seen from above that in the SOE message structure according to the preferable embodiment of the invention, since the type entries of all tokens are grouped together, stored with a plurality of fixed-length (aligned) entries, and indexed by the VALUE_OR_PTR between the type entries and the content entries, it is possible to rapidly retrieve the information of some certain token. Thus, not only does the SOE message structure according to the preferred embodiment of the invention reduce the load of the SIP server and improve the processing efficiency of the SIP server, but also it facilitates the SIP server to selectively process the information of the certain tokens in an SIP message according to a particular application.

Based on the above SOE message structure, the invention first proposes a method for binarizing SIP messages in conjunction with the preferable embodiment. A front end will parse each token in SIP messages by taking full advantage of its message processing ability and encode them into SOE messages. The binarizing transformation performed according to the method of the present invention has the following features:

No information is lost during the transformation; The transformation is performed per message based on stateless principles, that is, the front end does not need to maintain any state for message transformation when the message passes through it; No string parsing is needed at the server end; Space storage efficiency is considered for the SOE message.

Now referring to FIG. 4 , FIG. 4 is a flowchart of a method for binarizing SIP messages according to an embodiment of the invention. It is noted that the details of the above-mentioned three parts of the SOE message are to be introduced in detail with respect to FIG. 5A-5D in the process of describing the method of the invention. In FIG. 4 , the method starts with Step 400 , and then proceeds to Step 405 , in which an SIP message is received by a front end. Then in Step 415 , the token count is reset, that is, the token count is set to zero. Then in Step 420 , each token in the SIP message is parsed. In Step 425 , it is determined whether a new line is being parsed in the SIP message. If so, then in Step 430 the line type is obtained and the process proceeds to Step 435 . If not, it proceeds to Step 435 directly. In Step 435 , the token type is obtained. Then in Step 440 , the token type is attached to the type field part of the token type entry part 220 , as shown in FIG. 5B . FIG. 5B is an illustrative diagram of the token type entry part 220 . In the token type entry part 220 , every 4 bytes will contain the encoding of one token and one value or a pointer to one value. For processing efficiency, each entry is restricted to the 4-byte boundary. For message space efficiency, each entry may be placed right after the previous one. In either case, the required value can be determined accurately with the pointer and the value length.

All the tokens will be encoded in the format of TYPE_A.TYPE_B, which is denoted as a token in the style of Method.Field or Header.Field. Namely, the token type part 220 comprises three fields: TYPE_A, TYPE_B, and VALUE_OR_PTR. The descriptions for each field in the token type entry part 220 are introduced in the following Table 1.

Continuing the process of the method of the invention, after the Step 440 completes, in Step 445 , the token value is obtained. In Step 450 , it is determined whether the token value has a variable length. If not, the token value has a fixed length, and in Step 460 the token value is attached to the value part of the token content part 230 . It is noted that the token value will be directly attached to the VALUE_OR_PTR field of the above token type entry part 220 if it is less than 2 bytes. And the token value will be attached to the token content entry part 230 , as shown in FIG. 5C if it is more than 2 bytes. FIG. 5C is an illustrative diagram illustrating the encoding for the fixed-length value in the token content entry part 230 . The token content entry part 230 is used for storing the value determined according to TYPE_A and TYPE_B defined above. Referring to FIG. 5C , if the length of the value determined by TYPE_A and TYPE_B is fixed and it exceeds 2 bytes, then the fixed-length value is directly put into this part, and is pointed to by the pointer in the corresponding token type entry part.

›DETAILED DESCRIPTION OF THE INVENTION · 2 of 3

If the determination in Step 450 is yes, then the token value has variable length, and in Step 455 the token value, together with its length, is attached to the token content entry part 230 as shown in FIG. 5D . FIG. 5D is an illustrative diagram illustrating the encoding for the variable-length value in the token content entry part 230 . Referring to FIG. 5D , if the field and the known parameter value are variable in length, then the value is stored in the format shown in FIG. 5D , wherein the value appears after its VALUE_LENGTH field. The field descriptions for the variable-length value in the token content entry part 230 are introduced in the following Table 2.

It is noted that, for a general parameter, since it has a pair of codes, one for parameter name and the other for parameter value, each of them is still fit into the format shown in FIG. 5D .

It is further noted that, as the evolution of SIP standards is going on, a new method or a new header can be defined. Before a new code is assigned to it and the corresponding processing logic is ready, the new method or the new header will be encoded as an unknown method or an unknown header. For an unknown method, one code will be assigned in TYPE_A, and its value will be a string pointed by the pointer, denoting what the method is. The rest of the request line is parsed and encoded just like that for a known method. For an unknown header, it is necessary to maintain the name and the rest of the header. Therefore, the unknown header will have two codes assigned, just like those for a general parameter.

Continuing the process of the method of the invention, after the Step 455 or 460 completes, it proceeds to Step 465 , in which a pointer is set up between the token type entry part 220 and the token content entry part 230 . Then in Step 470 , the token count is incremented by 1. In Step 475 it is determined whether the message ends. If not, the process returns to Step 420 to continue to parse the message. If yes, it proceeds to Step 480 , the SOE header with token count, as shown in FIG. 6A , is constructed. FIG. 6A is an illustrative diagram illustrating the SOE header part 210 . The SOE header part 210 is a general part for all SOE messages. As shown in FIG. 6A , the SOE header part 210 comprises: SOE_ID, SOE_Version, Message_Length, Entry_Number, and Reserved. The field descriptions in the SOE header part 210 are introduced in the following Table 3.

After Step 480 completes, the process of the method of the invention ends in Step 485 .

A method for binarizing SIP messages is introduced hereinabove based on the structure of the SOE message according to the preferable embodiment of the invention. The reference encoding for an SOE message and the example of the SIP-SOE message transformation is given in the end of the text.

After the SIP message is binarized by the front end, the SOE message is generated. As recited above, in the SOE message according to the preferable embodiment of the invention, since the type entries of all tokens are grouped together, stored with a plurality of fixed-length (aligned) entries, and indexed by VALUE_OR_PTR between the type entries and the content entries, it is possible to rapidly retrieve the information of some certain token. Thus, the structure of the SOE message according to the preferable embodiment of the present invention also facilitates the SIP server to selectively process the information of certain tokens in an SIP message according to a particular application.

FIG. 6 illustrates a flowchart of a method for selectively processing messages at the SIP server end. In FIG. 6 , the method starts with Step 600 , and then proceeds to Step 605 , in which a message is received by the server. Then in Step 610 , it is determined whether the SOE header exists. If not, then the message is not an SOE message but an SIP message, and the process proceeds to Step 615 in which the general SIP parsing is performed directly. If so, then it proceeds to Step 620 and 625 , in which the token count and the type in the token type entry part are obtained in turn.

Then in Step 630 , the line of interests in the type of the token type entry part corresponding to the application running on the server is selected. In Step 635 , the token of interests in the type of the token type entry part corresponding to the application running on the server is selected. In Step 640 , the pointer information is obtained with the line type and the token type. Then in Step 645 , the value in the token content entry part is located with the pointer.

In Step 650 it is determined whether the value has a variable length. If so, in Step 655 the value is obtained with its length. Otherwise in Step 660 the value is obtained directly. After Step 655 or 660 or 615 , in Step 665 the processing corresponding to the application after message parsing is performed. After Step 665 completes, the process of the method of the invention ends in Step 670 .

A method for binarizing SIP messages and a method for selectively processing messages at the server end according to the embodiments of the invention are introduced as above.

In the above embodiments, in the process of binarizing SIP messages, it is the respective tokens that are parsed in the SIP messages. It is apparent for the person with ordinary skills in the art that it is possible to only parse the specified type of tokens, the specified SIP message lines in the front end according to the application running on the back-end server end. Moreover, the parsing granularity is not limited to tokens. For an SIP message not interested by the current application, it is possible to encapsulate parts of message lines or even the whole message as an entry in the SOE message. Further, at the back-end server end it is possible to only process the parts of SOE message of one's interests. Thus, the structure of the SOE message according to the invention may process SIP messages in different granularities and in different time sequences.

›DETAILED DESCRIPTION OF THE INVENTION · 3 of 3

FIG. 7 illustrates a structural schematic diagram of processing SIP messages in different granularities and in different time sequences according to preferable embodiments of the invention. In FIG. 7 , one or more front ends and optional other functional nodes are linked to one or more servers, to form a homogeneous, hierarchical, and distributed SIP processing path, so that it is able to processing SIP messages in different granularities (which may be any of the following granularities: token, line, header, whole message) and in different time sequences.

Under the same inventive concept, the invention also proposes a system for processing SIP messages. FIG. 8 illustrates a schematic diagram of a system for processing SIP messages according to a preferable embodiment of the invention. The system comprises a front end 110 and a server 120 , wherein the front end 110 comprises a message parser 810 , a storage 820 , a communication means 830 , a granularity controller 840 , and an application profile 850 ; the server 120 comprises an SOE message processing means 860 , an SIP message processing means 870 , a selective control means 880 , and a communication means 890 . The communication means 830 in the front end 110 and the communication means 890 in the server 120 are communicated with each other to set up a data transmission mechanism. The message parser 810 is used for parsing the SIP messages received by the front end based on the information from the granularity controller 840 , wherein the parsing granularity may be any of the following granularities: token, line, header, whole message. The granularity controller 840 is used for determining the parsing granularity of the message parser 810 according to the need of the application at the server end or based on the application profile 850 . The application profile 850 is used for storing the attributes of various applications and the message lines or tokens they are interested. The SOE message processing means 860 is used for selectively processing the received messages under the control of the selective control means 880 .

Reference encoding for SOE message and example of SIP-SOE message transformation

In order to facilitate the understanding of the binarizing transformation of the present invention, the reference encoding for TYPE_A is provided hereinbelow by referring to Table 4. The italic parameters in Table 4 indicate that they contain other parameters or fields, which are further listed in the first column of Table 5 hereinbelow.

The possible fields and parameters are listed hereinbelow in Table 5. Some parameters/fields may appear in different headers. For completeness, the complete possibilities that these parameters/fields appear in the corresponding headers are listed.

The reference encoding for TYPE_B is provided hereinbelow by referring to Table 6. In Table 6 some examples of fields or parameters are listed.

In the field of “VALUE_OR_PTR for this TYPE_B code”, blank denotes that there will be a variable-length value, with a “VALUE_LENGTH” field in the token content part, and “Ptr+Fixed” denotes that the value is fixed in length, so that there is no “VALUE_LENGTH” field in the token content part.

The details of the fixed-length fields in the token content part are shown as below in Table 7.

Two SIP messages, one INVITE message and one REGISTER message, will be used as examples to show the SOE transformation with the encoding mechanism according to the invention by referring to Table 8 and Table 9 hereinbelow.

The detailed descriptions of a method and system for binarizing SIP messages for offload and selective processing according to the invention are provided hereinabove with reference to the embodiments. As appreciated by the person with ordinary skills in the art, the present invention may be embodied as a method, a system, and/or a computer program product. Therefore, the present invention can be embodied in the form of hardware, software, or the combination thereof. Additionally, the present invention may be embodied as a computer program product contained on machine-readable media where the computer executable program instructions for programming a computer system to execute the process according to the invention are stored. The term “machine-readable media” used herein include any media that provide the computer system with instructions for execution. Such media may take various forms, including but not limited to: non-volatile media, volatile media, and transmission media. Non-volatile media commonly comprise, for example, floppy disk, floppy magnetic disk, hard disk, magnetic tape, or any other magnetic media, CD-ROM or any other optical media, slotting card or any other physical media with hole pattern, PROM, EPROM, EEPROM, flash memory, any other memory chip or cartridge, or any other media that can be read by the computer system and are appropriate for storing instructions.

Additionally, it should be appreciated that each block in the flow chart or block chart and the combination of some blocks may be implemented by some computer program instructions. These computer program instructions may be provided to a general purpose computer, a specific purpose computer, or a processor of other programmable data processing device, to produce a machine, in which these instructions, when executed by the computers or the processor of other programmable data processing device, can create the means for implementing the functions indicated by the blocks of the block chart and/or the flow chart.

Although the present invention has been presented and described specifically by reference to the preferred embodiments, it is not intended to be exhaustive or limited the invention in the form disclosed. Many modifications on forms and details will be apparent to those ordinary skills in the art without deviating from the spirit and scope of the invention. The embodiments were chosen and described in order to best explain the principles of the invention, the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.

›Tables in the description — 8
TABLE 1 — Field descriptions for token type entry part Field
Field NameWidthField Definition
TYPE_A1 ByteIn the TYPE_A part, each method has a
corresponding code, and some codes are reserved
for more methods to be appeared in the future. And
the response is encoded with one value despite of
the detailed status code, which is treated as a field
to be encoded in TYPE_B. Likewise, the header
type is also encoded in the TYPE_A part, and some
codes are reserved for more headers to be appeared
in the future. For the body, or the content, of the
SIP message, another code will be allocated.
TYPE_B1 ByteThe TYPE_B part is used for encoding fields and
parameters. Parameters are in the format of
“Parameter Name = Parameter Value
(PName = PValue)”. For fields that are not in the
above format, a corresponding code is given for
each possible field in TYPE_B. Some
known/important parameters will be treated
similarly as a field with a code allocated. All other
parameters will be encoded with a pair of codes,
one for “general parameter name” and the other for
“general parameter value”.
VALUE_OR_PTR2 BytesIf the value determined by TYPE_A and TYPE_B is
a 16-bit value, then it is directly put into the field.
Otherwise, in the field there will be a pointer to the
content part, which is an offset from the beginning of the
content part.
TABLE 2 — Field descriptions for variable-length value in token content entry part
Field NameField WidthField Definition
VALUE_LENGTH2 BytesLength of the value in bytes,
counted from the start
to the end of the value,
excluding the 2 bytes
of this field itself.
VALUEVariable, andUsually a string.
specified by
VALUE_LENGTH
TABLE 3 — Field descriptions for SOE header part
Field NameField WidthField Definition
SOE_ID1 ByteThe field is used for distinguishing SOE messages
from SIP messages. Since SIP messages are text-
based, one value that will not appear as a character in
the text is selected.
SOE_Version1 ByteVersion of SOE Specification. Currently it is linked
with the SIP version. The high 4 bits are the major
version, and the low 4 bits are the minor version.
Message_Length2 BytesLength of the total message in bytes, from the
SOE_ID to the last byte of the token content part.
Entry_Number2 BytesNumber of the token entries in the token entry part.
Reserved2 BytesReserved for further extension.
TABLE 5 — List of possible parameters/fields VALUE_OR_PTR
Dividablefor this TYPE_B
parameterscode (blank
or fieldsParameters or fieldsdenotes a pointer)
method-name
header-name
header-value
Content
generic-param
generic-param-name
generic-param-value
addr-spec
Scheme
User
Password
Host
PortValue
Scheme-data
uri-parameters
headers (each header is
processed as generic-param)
Host
Hostname
ipv4address
ipv6address
name-addr
Scheme
user/telephone-subscriber
password
Host
port number
Absolute-uri
display-name
uri-param
transport-param
user-param
method-param
ttl-paramValue
maddr-param=host
lr-paramValue
compression-param
other-param=generic-param
callid
call-id-first-part
call-id-second-part
algorithm
nonce
media-type
m-type
m-subtype
m-parameter
m-parameter
m-attribute
m-value
ainfo
nextnonce
message-qop
response-auth
nonce
nonce-count
dig-resp
username
realm
nonce
digest-uri = add-spec
dresponse
algorithm
cnonce
opaque
message-qop
nonce-count
auth-param
auth-param
auth-param-name
auth-param-value
digest-cln
realm
domain
nonce
opaque
staleValue
algorithm
qop-options
auth-param
rfc1123-date
wkday
date
month
year
time
sent-protocol
protocol-name
protocol-version
transport=trasport-param
via-params
via-ttl=ttl-param
via-maddr=maddr-param
via-received
via-branch
via-extension=generic-param
via-received
other-chanllenge
auth-scheme
auth-param
language-tag=language-range
sent-by
host
port
disp-param
handling-param
generic-param
absolute-uri=scheme-data
accept-param=q-param
option-tag= tag
content-coding=encoding
expires=delta-seconds
info-param=purpose
domain
delay
seq-number
major-version
minor-version
tag
option-tag
product-name
product-version
encoding
q-param
language-range
purpose
delta-seconds
wildcard
disp-type
handling-param
content-length
seq-number
max-forwards
name
priority
duration
via-received
via-branch
protocol-name
protocol-version
warn-codeValue
warn-text
warn-agent
status-codeValue
reason-phrase
TABLE 6 — TYPE_B encoding for parameters/fields VALUE_OR_PTR for this
Parameter or Field NameCodeTYPE_B codeExample
method-name−1
header-name−2
header-value−3
Content−4
generic-param-name0
generic-param-value1
Scheme2SIP
User3bob
password4abcdefg
hostname5biloxi.com
Port6Value5060
scheme-data7http://www.biloxi.com
IPv4address8192.0.2.1
IPv6address93ffe:3201:1401:1:280:c8ff:fe4d:db39
display-name10Bob
transport-param11udp
User-param12user=phone
method-param13INVITE
ttl-param14Valuettl=15
Maddr-param15maddr=224.2.0.1
lr-param16Valuelr
callid-first-part17a84b4c76e66710
callid-second-part18atlanta.example.com
algorithm19algorithm=MD5
Nonce20nonce=“MzQ0a2xrbGtmbGtsZm9wb2tsc2tqaHJzZXNy9uQyMzMzMzQK=”
username21username=“bob”
Realm22Realm=“atlanta.example.com”
digest-uri23sip:bob@biloxi.com:5060
dresponse24Ptr+Fixedresponse=“dfe56131d1958046689d83306477eccd”
Cnonce25nonce=“ea9c8e88df84f1cec4341ae6cbe5a359”
Opaque26opaque=“”
Message-qop27qop=“auth”
nonce-count28Ptr+Fixed
Auth-scheme29
Auth-param-name30
Auth-param-value31
nextnonce32
response-auth33
m-attribute34m-attribute EQUAL m-value
m-value35
domain36
Stale37ValueStale=FALSE
qop-options38
timestamp39Ptr+Fixed
delay40Ptr+Fixed
weekday41Thu
Day4221
month43Feb
year442002
hour4512
minute4633
second4756
Uri-param-name48
Uri-param-value49
major-version50Ptr+Fixed2
minor-version51Ptr+Fixed0
Tag52
option-tag53
product-name54
product-version552.0.0
encoding56Gzip
q-param57Ptr+Fixed0.8
language-range58en-gb
purpose59
delta-seconds60Ptr+Fixed7200
wildcard61
disp-type62
handling-param63
content-length64Ptr+Fixed142
Seq-number65Ptr+Fixed314159
max-forwards66Ptr+Fixed70
name67
priority68
duration69Ptr+Fixed
Via-received70
Via-branch71branch=z9hG4bK74b76
protocol-name72
protocol-version73
warn-code74Value301
warn-text75Incompatible network address type ‘E.164’
warn-agent76
status-code77Value200
reason-phrase78OK
m-type79Application
m-subtype80Sdp
TABLE 7 — Fixed-length fields in the token content part
Field NameAppeared inLength
content-lengthContent-Length headerInteger, 4 Bytes
seq-numberCSeq headerInteger, 4 Bytes
delta-secondsExpires, Retry-After and otherInteger, 4 Bytes
headers
max-forwardsMax-Forwards headerInteger, 4 Bytes
durationRetry-After headerInteger, 4 Bytes
major-versionSIP VersionInteger, 4 Bytes
minor-versionSIP VersionInteger, 4 Bytes
qMany headers, such as Accept-Float, 4 Bytes
Encoding
timestampTimestamp headerFloat, 4 Bytes
delayTimestamp headerFloat, 4 Bytes
dresponseMany headersString, 32 Bytes
nonce-countMany headersString, 8 Bytes
TABLE 8 — Encoding example of INVITE message Encoding Example of INVITE Message
MessageINVITE sip:bob@biloxi.com SIP/2.0
inVia: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bKnashds8
StringMax-Forwards: 70
To: Bob <sip:bob@biloxi.com>
From: Alice <sip:alice@atlanta.com>;tag=1928301774
Call-ID: a84b4c76e66710
CSeq: 314159 INVITE
Contact: <sip:alice@pc33.atlanta.com>
Content-Type: application/sdp
Content-Length: 142
. . . (BODY) . . .
VALUE_OR_PTR (16 bits)
MessageTYPE_A (8 bits)TYPE_B (8 bits)Value or buffer content
in BinaryNameCodeNameCodeTypepointed by Ptr
INVITE1scheme2Ptr“SIP”
INVITE1user3Ptr“bob”
INVITE1hostname5Ptr“biloxi.com”
INVITE1major-version50Ptr2
INVITE1minor-version51Ptr0
Via74protocol-name72Ptr“SIP”
Via74protocol-version73Ptr“2.0”
Via74transport-param11Ptr“UDP”
Via74hostname5Ptr“pc33.atlanta.com”
Via74via-branch71Ptr“z9hG4bKnashds8”
Max-Forwards54max-forwards66Ptr“70”
To71display-name10PtrBob
To71scheme2Ptr“SIP”
To71user3Ptr“bob”
To71hostname5Ptr“biloxi.com”
From52display-name10PtrAlice
From52scheme2Ptr“SIP”
From52user3Ptr“alice”
From52hostname4Ptr“atlanta.com”
From52tag52Ptr“1928301774”
Call-ID40call-id-first-part17Ptr“a84b4c76e66710”
CSeq48seq-number65Ptr314159
CSeq48method-param13Ptr“INVITE”
Contact42scheme2Ptr“SIP”
Contact42user3Ptr“alice”
Contact42hostname5Ptr“pc33.atlanta.com”
Content-Type47m-type79Ptr“application”
Content-Type47m-subtype80Ptr“sdp”
Content-Length46content-length64Ptr142
Message-Body−3content−4Ptr“ . . . (BODY) . . . ”
TABLE 9 — Encoding example of REGISTER message Encoding Example of REGISTER Message
MessageREGISTER sip:registrar.biloxi.com SIP/2.0
inVia: SIP/2.0/UDP bobspc.biloxi.com:5060;branch=z9hG4bKnashds7
StringMax-Forwards: 70
To: Bob <sip:bob@biloxi.com>
From: Bob <sip:bob@biloxi.com>;tag=456248
Call-ID: 843817637684230@998sdasdh09
CSeq: 1826 REGISTER
Contact: <sip:bob@192.0.2.4>
Expires: 7200
Content-Length: 0
MessageVALUE_OR_PTR (16 bits)
inTYPE_A (8 bits)TYPE_B (8 bits)Value or buffer
BinaryNameCodeNameCodeTypecontent pointed by Ptr
REGISTER2Scheme2Ptr“SIP”
REGISTER2Hostname5Ptr“registar.biloxi.com”
REGISTER2major-version50Ptr2
REGISTER2minor-version51Ptr0
Via74protocol-name72Ptr“SIP”
Via74protocol-version73Ptr“2.0”
Via74transport-param11Ptr“UDP”
Via74Hostname5Ptr“bobspc.biloxi.com”
Via74Port6Value5060
Via74via-branch71Ptr“z9hG4bKnashds7”
Max-Forwards54max-forwards66Ptr70
To71display-name10PtrBob
To71Scheme2Ptr“SIP”
To71User3Ptr“bob”
To71Hostname5Ptr“biloxi.com”
From52display-name10PtrBob
From52Scheme2Ptr“SIP”
From52User3Ptr“bob”
From52Hostname5Ptr“biloxi.com”
From52Tag52Ptr“456248”
Call-ID40call-id-first-part17Ptr“843817637684230”
Call-ID40call-id-second-part18Ptr“998sdasdh09”
CSeq48seq-number65Ptr1826
CSeq48method-param13Ptr“REGISTER”
Contact42Scheme2Ptr“SIP”
Contact42User3Ptr“bob”
Contact42ipv4address8Ptr“192.0.2.4”
Expires51delta-seconds60Ptr7200
Content-Length46content-length64Ptr0

Claims as granted

16 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

3 codes
IPC · International Patent Classification
Section H — Electricity
  • H04L12/403
  • H04L69/08
USPC · US Patent Classification
370/450

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoom20082009201020112012201320142015USPTOApplicantNon-final rejectionFinal rejectionNon-final rejectionFinal rejectionNon-final rejectionResponse after non-finalNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
6.5 y
2,391 days filing → grant
Office actions
6
non-final + final
Responses
3
2 RCE
Appeals
1
notices of appeal
Examiner
Chirag Shah
art unit 2477 · TC 2400
Citations: 13 back · 1 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20082010201220142016201820202022202420262028Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock