CN114363298A - SIP protocol message high-efficiency sending method and device - Google Patents
SIP protocol message high-efficiency sending method and device Download PDFInfo
- Publication number
- CN114363298A CN114363298A CN202111634939.XA CN202111634939A CN114363298A CN 114363298 A CN114363298 A CN 114363298A CN 202111634939 A CN202111634939 A CN 202111634939A CN 114363298 A CN114363298 A CN 114363298A
- Authority
- CN
- China
- Prior art keywords
- sip protocol
- response
- message
- sip
- protocol message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000012545 processing Methods 0.000 claims abstract description 39
- 230000005540 biological transmission Effects 0.000 claims abstract description 29
- 238000013467 fragmentation Methods 0.000 claims abstract description 8
- 238000006062 fragmentation reaction Methods 0.000 claims abstract description 8
- 230000007717 exclusion Effects 0.000 claims description 20
- 230000011664 signaling Effects 0.000 claims description 12
- 238000010276 construction Methods 0.000 claims description 9
- 238000004806 packaging method and process Methods 0.000 claims description 7
- 238000011161 development Methods 0.000 claims description 6
- 238000005538 encapsulation Methods 0.000 claims description 3
- 230000000977 initiatory effect Effects 0.000 claims 1
- 238000013475 authorization Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Communication Control (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention particularly relates to a method and a device for efficiently sending SIP protocol messages. The method and the device for efficiently sending the SIP protocol messages integrate a plurality of SIP protocol messages to be sent into one SIP protocol message, use the content capable of identifying the whole request response session in the SIP protocol message as a unique identifier, associate the unique identifier of the SIP protocol message with a sending request, and send the multi-response SIP protocol message through one SIP protocol message by using an eXosip2 protocol library in an IP network layer message fragmentation mode; after the SIP protocol message is sent out, the mutually exclusive lock is added to the thread which is requested to send currently, then the waiting is carried out until the mutually exclusive lock is released after the response with the same identification is received, and the other SIP protocol messages are continuously transmitted. The SIP protocol message high-efficiency sending method and the device solve the problems of retransmission of a large number of messages and overlong transmission time in the prior art, reduce unnecessary network overhead, reduce processing pressure of a receiving end and improve the transmission efficiency of multi-response SIP protocol messages.
Description
Technical Field
The invention relates to the technical field of network communication, in particular to a method and a device for efficiently sending SIP protocol messages.
Background
Among the multimedia communication protocols today, the SIP protocol is widely used in internet multimedia conferencing, IP telephony, multimedia distribution, and the like. The osip2 is an open source SIP protocol stack, one of the few protocol stacks in open source code that uses C language. The method has the characteristics of shortness, shortness and conciseness, is focused on the syntax analysis, the process analysis and the framework of the SIP, and has quite excellent SIP protocol processing efficiency. While eXosip2 is an extended protocol set of osip2 that partially encapsulates the osip2 protocol stack, making it easier and more convenient to use. eXosip2 also adds parsing to some SIP protocol procedures, making it more practical.
The osip2 protocol stack contains a total of three parts:
the first part is a parsing osipparser2 part of the SIP protocol, mainly for parsing and processing SIP signaling, the substantive content of MESSAGEs including INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, MESSAGE, REFER, INFO, etc. is obtained by parsing the SIP signaling MESSAGE, and the parsing of SDP is also carried, MD5 encryption algorithm is supported, and Authorization, www _ Authorization and proxy _ Authorization for authentication are supported.
The second part is the process analysis of the SIP protocol, which mainly resolves SIP around the concept of transaction. A transaction refers to an interactive process of a sender and a receiver, consisting of a request and a response. Requests are classified into two types, Invite and Non-Invite. Responses are classified into a response type and an acknowledgement type. A responsive reply means that the reply represents only that the other party received the message. And the processed responses are returned in a confirmation type, including 2xx-6xx responses.
The third part is the protocol framework of SIP, including the reception and transmission of underlying sockets, communication between modules, and interfaces provided to upper layer calls. The provided interfaces mainly comprise calling interfaces of SIP and SDP protocols. eXosip2 realizes the receiving and sending of the bottom layer socket, encapsulates most of the calling interfaces of the osip2 protocol library, realizes most of the functions of a single SIP service terminal, including register, call, description and the like, and can complete the sending of almost all SIP protocol signaling messages through eXosip 2.
However, eXosip2 packaged based on osip2 does not perfectly realize stable and efficient transmission of multi-response messages. If eXosip2 is directly used to send multi-response messages, the transmission time is long, and a large number of messages are retransmitted due to the fact that the receiving end does not respond in time, and the same message may be retransmitted for many times. This creates a large network load and creates a great message congestion pressure on the receiving end.
Based on the situation, the invention provides an efficient SIP protocol message sending method and device.
Disclosure of Invention
In order to make up for the defects of the prior art, the invention provides a simple and efficient SIP protocol message high-efficiency sending method and device.
The invention is realized by the following technical scheme:
an efficient method for transmitting SIP protocol messages, comprising the steps of:
for a multi-response SIP protocol MESSAGE (MESSAGE) transmission scene, a sending end integrates a plurality of SIP protocol MESSAGEs to be sent into one SIP protocol MESSAGE, and the content capable of identifying the whole request response session in the SIP protocol MESSAGE is used as the unique identification of the SIP protocol MESSAGE to identify the whole request response process;
secondly, associating the unique identifier of the SIP protocol message with a sending request, and sending the multi-response SIP protocol message needing to be sent for many times through one SIP protocol message by using an eXosip2 protocol library in a mode of message fragmentation of an IP network layer;
thirdly, after the SIP protocol message is sent out, adding a mutual exclusion lock to the thread which is requested to be sent currently, waiting until the mutual exclusion lock is released after the response of the same identifier is received, and continuously transmitting the rest SIP protocol messages;
if the response of the same identification is not received within the preset time, the mutual exclusion lock is released, and the request is retransmitted.
In the first step, a plurality of SIP protocol messages are integrated, based on an eXosip2 protocol stack, and network transmission is realized by using an encapsulation interface provided by an eXosip2 protocol library and used for a bottom layer socket as a basic interface.
In the second step, each integrated SIP protocol message is treated as an event, and is associated with the unique identifier of the SIP protocol message when the event is newly established, so that the whole request response process can be identified and the treatment can be accurately finished when the eXosip2 protocol library callback is received;
analyzing and constructing MESSAGE contents (including INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, MESSAGE, REFER and INFO) of the SIP protocol based on XML text grammar and SIP protocol grammar, encapsulating based on an eXosip2 protocol library data transmission interface, and realizing SIP protocol MESSAGE sending through interface combination calling;
and converting the analyzed SIP protocol signaling content into a corresponding service data structure, returning the corresponding service data structure to an external application or component needing service development in a callback mode, returning the processed data content to the sending end after the service is processed, and constructing and transmitting the data content by the sending end.
In the second step, the unique identifier in the request response flow is used as a key of a service data structure, the value of the service data structure comprises content information and operation information, wherein the content information comprises the SIP signaling message type of the request, whether a response mark is received, a request timestamp, whether a response return mark is waited and SIP related service attributes, and the operation information comprises response processing, whether a wait mark is set, waiting for result processing, waiting for ending, request completing and request completing subsequent processing.
And in the third step, when a request is sent, a service data structure corresponding to the request is newly established, then a mutual exclusion lock is added, the waiting is carried out, after a response with the same identifier is received, the processing thread acquires the corresponding service data structure, the content information and the operation information in the value are searched for unlocking, and the remaining SIP protocol messages are continuously transmitted after the content information and the operation information of the value are deleted.
An efficient sending device of SIP protocol messages is characterized in that: the system comprises a network module, an event receiving and processing module, an eXosip2 protocol library, a service transmission module and an association module;
the network module is packaged again based on an eXosip2 protocol stack, and network transmission is realized by taking a packaging interface provided by an eXosip2 protocol stack and used for a bottom layer socket as a basic interface;
the event receiving and processing module is responsible for processing each received SIP protocol message as an event, and comprises a new event, a release event, an SIP protocol message event type mark, an eXosip2 event callback receiving and event queue caching; when an event is newly established, the event is associated with the unique identifier of the SIP protocol message, so that the establishment of the SIP protocol message and the response event is completed;
the construction analysis module is responsible for integrating a plurality of SIP protocol messages to be sent into one SIP protocol message, and the content capable of identifying the whole request response session in the SIP protocol message is used as the unique identification of the SIP protocol message to identify the whole request response process; sending multi-response SIP protocol messages needing to be sent for many times through one SIP protocol message by using an eXosip2 protocol library in a mode of IP network layer message fragmentation; analyzing and constructing MESSAGE contents (including INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, MESSAGE, REFER and INFO) of the SIP protocol based on XML text grammar and SIP protocol grammar, constructing an interface based on eXosip2 protocol library data for packaging, and realizing SIP protocol MESSAGE sending through interface combination calling;
the service transmission module is responsible for converting the analyzed SIP protocol message content into a corresponding service data structure, returning the service data structure to an external application or component needing service development in a callback mode, returning the processed data content to the construction analysis module after the service is processed, and constructing and transmitting the construction analysis module;
the association module is responsible for defining a service data structure, including a data structure RequestBase and a temporary storage structure, using a unique identifier in a request response flow as a key of the temporary storage structure, and using the data structure RequestBase as a value of the temporary storage structure.
The data structure RequestBase comprises content information and operation information, wherein the content information comprises the type of a requested SIP signaling message, whether a response mark is received or not, a request timestamp, whether a response return mark is waited or not and SIP related service attributes, and the operation information comprises response processing, whether the response mark is set or not, waiting result processing, waiting ending, request completion and request completion of subsequent processing.
The association module is responsible for building a service data structure corresponding to the request when the request is sent, then adding a mutual exclusion lock and waiting, after receiving the response of the same identifier, the processing thread acquires the corresponding service data structure, searches the content information and the operation information in the value for unlocking, and continuously transmits the rest SIP protocol messages after deleting the content information and the operation information of the value; if the response of the same identification is not received within the preset time, the mutual exclusion lock is released, and the request is retransmitted.
The invention has the beneficial effects that: the high-efficiency SIP protocol message sending method and device solve the problems of a large number of message retransmission and overlong transmission time when the eXosip2 protocol library is used for sending the multi-response SIP protocol message, reduce unnecessary network overhead, relieve the processing pressure of a receiving end and improve the transmission efficiency of the multi-response SIP protocol message.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of a high-efficiency SIP message sending method according to the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the embodiment of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The method for efficiently sending the SIP protocol message comprises the following steps:
for a multi-response SIP protocol MESSAGE (MESSAGE) transmission scene, a sending end integrates a plurality of SIP protocol MESSAGEs to be sent into one SIP protocol MESSAGE, and the content capable of identifying the whole request response session in the SIP protocol MESSAGE is used as the unique identification of the SIP protocol MESSAGE to identify the whole request response process;
secondly, associating the unique identifier of the SIP protocol message with a sending request, and sending the multi-response SIP protocol message needing to be sent for many times through one SIP protocol message by using an eXosip2 protocol library in a mode of message fragmentation of an IP network layer;
thirdly, after the SIP protocol message is sent out, adding a mutual exclusion lock to the thread which is requested to be sent currently, waiting until the mutual exclusion lock is released after the response of the same identifier is received, and continuously transmitting the rest SIP protocol messages;
if the response of the same identification is not received within the preset time, the mutual exclusion lock is released, and the request is retransmitted.
In the first step, a plurality of SIP protocol messages are integrated, based on an eXosip2 protocol stack, and network transmission is realized by using an encapsulation interface provided by an eXosip2 protocol library and used for a bottom layer socket as a basic interface.
In the second step, each integrated SIP protocol message is treated as an event, and is associated with the unique identifier of the SIP protocol message when the event is newly established, so that the whole request response process can be identified and the treatment can be accurately finished when the eXosip2 protocol library callback is received;
analyzing and constructing MESSAGE contents (including INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, MESSAGE, REFER and INFO) of the SIP protocol based on XML text grammar and SIP protocol grammar, encapsulating based on an eXosip2 protocol library data transmission interface, and realizing SIP protocol MESSAGE sending through interface combination calling;
and converting the analyzed SIP protocol signaling content into a corresponding service data structure, returning the corresponding service data structure to an external application or component needing service development in a callback mode, returning the processed data content to the sending end after the service is processed, and constructing and transmitting the data content by the sending end.
In the second step, the unique identifier in the request response flow is used as a key of a service data structure, the value of the service data structure comprises content information and operation information, wherein the content information comprises the SIP signaling message type of the request, whether a response mark is received, a request timestamp, whether a response return mark is waited and SIP related service attributes, and the operation information comprises response processing, whether a wait mark is set, waiting for result processing, waiting for ending, request completing and request completing subsequent processing.
And in the third step, when a request is sent, a service data structure corresponding to the request is newly established, then a mutual exclusion lock is added, the waiting is carried out, after a response with the same identifier is received, the processing thread acquires the corresponding service data structure, the content information and the operation information in the value are searched for unlocking, and the remaining SIP protocol messages are continuously transmitted after the content information and the operation information of the value are deleted.
The SIP protocol message high-efficiency sending device comprises a network module, an event receiving and processing module, an eXosip2 protocol library, a service transfer module and a correlation module;
the network module is packaged again based on an eXosip2 protocol stack, and network transmission is realized by taking a packaging interface provided by an eXosip2 protocol stack and used for a bottom layer socket as a basic interface;
the event receiving and processing module is responsible for processing each received SIP protocol message as an event, and comprises a new event, a release event, an SIP protocol message event type mark, an eXosip2 event callback receiving and event queue caching; when an event is newly established, the event is associated with the unique identifier of the SIP protocol message, so that the establishment of the SIP protocol message and the response event is completed;
the construction analysis module is responsible for integrating a plurality of SIP protocol messages to be sent into one SIP protocol message, and the content capable of identifying the whole request response session in the SIP protocol message is used as the unique identification of the SIP protocol message to identify the whole request response process; sending multi-response SIP protocol messages needing to be sent for many times through one SIP protocol message by using an eXosip2 protocol library in a mode of IP network layer message fragmentation; analyzing and constructing MESSAGE contents (including INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, MESSAGE, REFER and INFO) of the SIP protocol based on XML text grammar and SIP protocol grammar, constructing an interface based on eXosip2 protocol library data for packaging, and realizing SIP protocol MESSAGE sending through interface combination calling;
the service transmission module is responsible for converting the analyzed SIP protocol message content into a corresponding service data structure, returning the service data structure to an external application or component needing service development in a callback mode, returning the processed data content to the construction analysis module after the service is processed, and constructing and transmitting the construction analysis module;
the association module is responsible for defining a service data structure, including a data structure RequestBase and a temporary storage structure, using a unique identifier in a request response flow as a key of the temporary storage structure, and using the data structure RequestBase as a value of the temporary storage structure.
The data structure RequestBase comprises content information and operation information, wherein the content information comprises the type of a requested SIP signaling message, whether a response mark is received or not, a request timestamp, whether a response return mark is waited or not and SIP related service attributes, and the operation information comprises response processing, whether the response mark is set or not, waiting result processing, waiting ending, request completion and request completion of subsequent processing.
The association module is responsible for building a service data structure corresponding to the request when the request is sent, then adding a mutual exclusion lock and waiting, after receiving the response of the same identifier, the processing thread acquires the corresponding service data structure, searches the content information and the operation information in the value for unlocking, and continuously transmits the rest SIP protocol messages after deleting the content information and the operation information of the value; if the response of the same identification is not received within the preset time, the mutual exclusion lock is released, and the request is retransmitted.
Compared with the prior art, the SIP protocol message high-efficiency sending method and device have the following characteristics:
(1) multi-response message no longer re-transmit
When the interface of eXosip2 is called to send a multi-response SIP protocol message, the receiving end has weaker response capability in processing the message than the sending end because of most SIP protocol messages. For many SIP protocol messages, due to the response being not timely, the processing of the SIP protocol message by the eosip 2 protocol library changes from waiting for a response to a response timeout, thereby retransmitting the SIP protocol message.
The method and the device take the unique content which can be used for identifying the response and request processes in the SIP protocol message as the unique identification associated with the request, and identify the whole request response process; after the message is sent out, the process of adding a mutual exclusion lock to the thread which is requested to send currently waits until a response is received, and then the sending process is repeated; if the response cannot be received late, the mutual exclusion lock is released and the request is sent again after the configurable timeout time is reached; therefore, the problem of retransmission is solved, the pressure of the SIP protocol message receiving end is reduced, and the sending efficiency of the SIP protocol message is greatly improved.
(2) Shortening of transmission time
When the eXosip2 protocol library is called to send multi-response SIP protocol messages, because the number of records to be sent is often more than one hundred, if one record is sent, the time for completing the transmission of all SIP protocol messages is often very long.
Before the method and the device send the SIP protocol message, the message content in the item to be sent is integrated, message bodies of a plurality of SIP protocol messages are combined into one SIP protocol message as much as possible, and the message bodies are transmitted out through a sending interface of an eXosip2 protocol library; the method comprises the steps of utilizing a fragmentation mechanism to fragment messages with large lengths in an IP protocol network layer, fragmenting one large message into small messages with one small message, and transmitting the small messages, and transmitting data of a plurality of entries at one time, so that the transmission time for transmitting all SIP protocol messages is shortened by reducing the transmission times, and the transmission efficiency of the SIP protocol messages is greatly improved.
The above-described embodiment is only one specific embodiment of the present invention, and general changes and substitutions by those skilled in the art within the technical scope of the present invention are included in the protection scope of the present invention.
Claims (8)
1. An efficient method for transmitting SIP protocol messages, comprising the steps of:
the method comprises the steps that for a multi-response SIP protocol message transmission scene, a sending end integrates a plurality of SIP protocol messages to be sent into one SIP protocol message, and the content capable of identifying the whole request response session in the SIP protocol message is used as the unique identification of the SIP protocol message to identify the whole request response process;
secondly, associating the unique identifier of the SIP protocol message with a sending request, and sending the multi-response SIP protocol message needing to be sent for many times through one SIP protocol message by using an eXosip2 protocol library in a mode of message fragmentation of an IP network layer;
thirdly, after the SIP protocol message is sent out, adding a mutual exclusion lock to the thread which is requested to be sent currently, waiting until the mutual exclusion lock is released after the response of the same identifier is received, and continuously transmitting the rest SIP protocol messages;
if the response of the same identification is not received within the preset time, the mutual exclusion lock is released, and the request is retransmitted.
2. The SIP protocol message high-efficiency transmitting method according to claim 1, wherein: in the first step, a plurality of SIP protocol messages are integrated, based on an eXosip2 protocol stack, and network transmission is realized by using an encapsulation interface provided by an eXosip2 protocol library and used for a bottom layer socket as a basic interface.
3. The SIP protocol message high-efficiency transmitting method according to claim 1, wherein: in the second step, each integrated SIP protocol message is treated as an event, and is associated with the unique identifier of the SIP protocol message when the event is newly established, so that the whole request response process can be identified and the treatment can be accurately finished when the eXosip2 protocol library callback is received;
analyzing and constructing message content of the SIP protocol based on XML text grammar and SIP protocol grammar, packaging a data transmission interface based on eXosip2 protocol library, and realizing SIP protocol message sending by interface combination calling;
and converting the analyzed SIP protocol signaling content into a corresponding service data structure, returning the corresponding service data structure to an external application or component needing service development in a callback mode, returning the processed data content to the sending end after the service is processed, and constructing and transmitting the data content by the sending end.
4. The SIP protocol message high-efficiency sending method according to claim 3, wherein: in the second step, the unique identifier in the request response flow is used as a key of a service data structure, the value of the service data structure comprises content information and operation information, wherein the content information comprises the SIP signaling message type of the request, whether a response mark is received, a request timestamp, whether a response return mark is waited and SIP related service attributes, and the operation information comprises response processing, whether a wait mark is set, waiting for result processing, waiting for ending, request completing and request completing subsequent processing.
5. The method for transmitting SIP protocol messages with high efficiency according to claim 4, wherein: and in the third step, when a request is sent, a service data structure corresponding to the request is newly established, then a mutual exclusion lock is added, the waiting is carried out, after a response with the same identifier is received, the processing thread acquires the corresponding service data structure, the content information and the operation information in the value are searched for unlocking, and the remaining SIP protocol messages are continuously transmitted after the content information and the operation information of the value are deleted.
6. An efficient sending device of SIP protocol messages is characterized in that: the system comprises a network module, an event receiving and processing module, an eXosip2 protocol library, a service transmission module and an association module;
the network module is packaged again based on an eXosip2 protocol stack, and network transmission is realized by taking a packaging interface provided by an eXosip2 protocol stack and used for a bottom layer socket as a basic interface;
the event receiving and processing module is responsible for processing each received SIP protocol message as an event, and comprises a new event, a release event, an SIP protocol message event type mark, an eXosip2 event callback receiving and event queue caching; when an event is newly established, the event is associated with the unique identifier of the SIP protocol message, so that the establishment of the SIP protocol message and the response event is completed;
the construction analysis module is responsible for integrating a plurality of SIP protocol messages to be sent into one SIP protocol message, and the content capable of identifying the whole request response session in the SIP protocol message is used as the unique identification of the SIP protocol message to identify the whole request response process; sending multi-response SIP protocol messages needing to be sent for many times through one SIP protocol message by using an eXosip2 protocol library in a mode of IP network layer message fragmentation; analyzing and constructing message content of an SIP (session initiation protocol) based on XML text grammar and SIP grammar, constructing an interface based on eXosip2 protocol library data, packaging, and calling through interface combination to realize SIP protocol message sending;
the service transmission module is responsible for converting the analyzed SIP protocol message content into a corresponding service data structure, returning the service data structure to an external application or component needing service development in a callback mode, returning the processed data content to the construction analysis module after the service is processed, and constructing and transmitting the construction analysis module;
the association module is responsible for defining a service data structure, including a data structure RequestBase and a temporary storage structure, using a unique identifier in a request response flow as a key of the temporary storage structure, and using the data structure RequestBase as a value of the temporary storage structure.
7. The efficient SIP protocol message sending apparatus according to claim 6, wherein: the data structure RequestBase comprises content information and operation information, wherein the content information comprises the type of a requested SIP signaling message, whether a response mark is received or not, a request timestamp, whether a response return mark is waited or not and SIP related service attributes, and the operation information comprises response processing, whether the response mark is set or not, waiting result processing, waiting ending, request completion and request completion of subsequent processing.
8. The SIP protocol message high efficiency transmitting apparatus according to claim 7, wherein: the association module is responsible for building a service data structure corresponding to the request when the request is sent, then adding a mutual exclusion lock and waiting, after receiving the response of the same identifier, the processing thread acquires the corresponding service data structure, searches the content information and the operation information in the value for unlocking, and continuously transmits the rest SIP protocol messages after deleting the content information and the operation information of the value; if the response of the same identification is not received within the preset time, the mutual exclusion lock is released, and the request is retransmitted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111634939.XA CN114363298B (en) | 2021-12-29 | 2021-12-29 | Efficient sending method and device for SIP protocol message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111634939.XA CN114363298B (en) | 2021-12-29 | 2021-12-29 | Efficient sending method and device for SIP protocol message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114363298A true CN114363298A (en) | 2022-04-15 |
CN114363298B CN114363298B (en) | 2024-08-09 |
Family
ID=81103074
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111634939.XA Active CN114363298B (en) | 2021-12-29 | 2021-12-29 | Efficient sending method and device for SIP protocol message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114363298B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116094654A (en) * | 2023-02-14 | 2023-05-09 | 广州爱浦路网络技术有限公司 | Message transmission method, device, space base station and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040095938A1 (en) * | 2002-11-12 | 2004-05-20 | Jee-Young Ryu | Method for processing session information of session initiation protocol system and recorded medium thereof |
US20050226172A1 (en) * | 2001-12-15 | 2005-10-13 | Richardson John W | Video conference call set up |
CN1870622A (en) * | 2005-05-24 | 2006-11-29 | 华为技术有限公司 | Message transfer method |
CN101222521A (en) * | 2008-01-21 | 2008-07-16 | 中兴通讯股份有限公司 | File transfer method based on conversation launching protocol |
US20090168778A1 (en) * | 2007-12-28 | 2009-07-02 | Zulfiqar Ahmed | Extending communication protocols |
EP2632105A1 (en) * | 2012-02-23 | 2013-08-28 | ST-Ericsson SA | Handling session initiation protocol messages in a wireless telecommunications device |
CN105338006A (en) * | 2015-12-15 | 2016-02-17 | 烽火通信科技股份有限公司 | Back-up recovery method for called side SIP stack session state in IMS |
-
2021
- 2021-12-29 CN CN202111634939.XA patent/CN114363298B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050226172A1 (en) * | 2001-12-15 | 2005-10-13 | Richardson John W | Video conference call set up |
US20040095938A1 (en) * | 2002-11-12 | 2004-05-20 | Jee-Young Ryu | Method for processing session information of session initiation protocol system and recorded medium thereof |
CN1870622A (en) * | 2005-05-24 | 2006-11-29 | 华为技术有限公司 | Message transfer method |
US20090168778A1 (en) * | 2007-12-28 | 2009-07-02 | Zulfiqar Ahmed | Extending communication protocols |
CN101222521A (en) * | 2008-01-21 | 2008-07-16 | 中兴通讯股份有限公司 | File transfer method based on conversation launching protocol |
EP2632105A1 (en) * | 2012-02-23 | 2013-08-28 | ST-Ericsson SA | Handling session initiation protocol messages in a wireless telecommunications device |
CN105338006A (en) * | 2015-12-15 | 2016-02-17 | 烽火通信科技股份有限公司 | Back-up recovery method for called side SIP stack session state in IMS |
Non-Patent Citations (7)
Title |
---|
C. HOLMBERG;ERICSSON; M. ARNOLD; METASWITCH NETWORKS;: "Push Notification with the Session Initiation Protocol (SIP) draft-ietf-sipcore-sip-push-22", IETF, 16 January 2019 (2019-01-16) * |
LUCENT TECHNOLOGIES: "C3-050332 "IMS SIP profile for ISUP transparency"", 3GPP TSG_CN\\WG3_INTERWORKING_EX-CN3, no. 3, 18 April 2005 (2005-04-18) * |
S. DONOVAN;DYNAMICSOFT;: "The SIP INFO Method", IETF RFC2976, 31 October 2000 (2000-10-31) * |
丁曼;张代远;: "一种SIP协议栈中呼叫过程的设计与实现", 中国新通信, no. 21, 5 November 2010 (2010-11-05) * |
张兆心;方滨兴;张宏莉;: "SIP监听控管系统研究", 电信科学, no. 03, 15 March 2007 (2007-03-15) * |
林晓勇;邵园园;金伟;蔡丽;成际镇;: "基于SIP协议的IP-PBX的研究与实现", 西安邮电学院学报, no. 03, 10 May 2007 (2007-05-10) * |
欧阳庆荣, 余厚全: "SIP协议栈中消息收发的研究", 光通信研究, no. 04, 30 August 2004 (2004-08-30) * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116094654A (en) * | 2023-02-14 | 2023-05-09 | 广州爱浦路网络技术有限公司 | Message transmission method, device, space base station and storage medium |
CN116094654B (en) * | 2023-02-14 | 2024-03-15 | 广州爱浦路网络技术有限公司 | Message transmission method, device, space base station and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114363298B (en) | 2024-08-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1992143B1 (en) | Method and device for generating and sending signaling messages | |
KR100889977B1 (en) | Media session framework using protocol independent control module to direct and manage application and service servers | |
CN111294399B (en) | Data transmission method and device | |
CN108173858B (en) | VOIP real-time voice network management processing system based on VxWorks operating system | |
US8503429B2 (en) | Processing requests and generating responses in session initiation protocol (SIP) | |
EP4262320A1 (en) | Call processing system and call processing method | |
US20140059241A1 (en) | Multiple Core Session Initiation Protocol (SIP) | |
CN101335758B (en) | Method and system for access service in SIM card by dual-processor terminal | |
CN107342983A (en) | A kind of transactional handles the method and system of the efficient UDP communications of more subpackages | |
RU2011151783A (en) | SERVICE BACKGROUND BLOCK, AGENCY SYSTEM AND CALL MANAGEMENT METHOD IN SUCH SYSTEM | |
RU2012106659A (en) | METHOD FOR TRANSFERRING A COMMUNICATION SESSION IN A TELECOMMUNICATION NETWORK OF THE FIRST CONNECTION TO THE SECOND CONNECTION | |
US20140164543A1 (en) | Communication System, Application Server and Communication Method for Server Cooperation | |
WO2022241990A1 (en) | Method and apparatus for managing media transmission link, and storage medium | |
CN114363298A (en) | SIP protocol message high-efficiency sending method and device | |
CN108810475B (en) | Android video monitoring device based on Onvif standard and Sip protocol | |
US20070286157A1 (en) | Techniques for message waiting indication support across different protocols | |
CN102858028A (en) | Method and terminal for releasing controlled party in multiparty call | |
CN111278082A (en) | Terminal communication device, method, system, equipment and storage medium | |
EP4391611A1 (en) | Information transmission method and apparatus | |
US20140177575A1 (en) | Method for establishing an application session, device and corresponding notification | |
CN101039327A (en) | Method and system for supporting multiple services using SIP protocol | |
CN112887497B (en) | Communication method, apparatus and computer storage medium | |
CN114553956A (en) | Data transmission method and system based on UEP middleware | |
US9762412B2 (en) | Redundant traffic encoding of encapsulated real time communications | |
EP1986409A2 (en) | A method, apparatus and software for providing communications between a packet switched network and a public switched telephone network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |