CN108462682A - The distribution method and device of initial dialog protocol SIP messages - Google Patents

The distribution method and device of initial dialog protocol SIP messages Download PDF

Info

Publication number
CN108462682A
CN108462682A CN201710097610.1A CN201710097610A CN108462682A CN 108462682 A CN108462682 A CN 108462682A CN 201710097610 A CN201710097610 A CN 201710097610A CN 108462682 A CN108462682 A CN 108462682A
Authority
CN
China
Prior art keywords
sip message
thread
buffered
unit
sign
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.)
Pending
Application number
CN201710097610.1A
Other languages
Chinese (zh)
Inventor
邱高理
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TD Tech Ltd
TD Tech Chengdu Co Ltd
Original Assignee
TD Tech Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by TD Tech Ltd filed Critical TD Tech Ltd
Priority to CN201710097610.1A priority Critical patent/CN108462682A/en
Publication of CN108462682A publication Critical patent/CN108462682A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides a kind of distribution methods and device of initial dialog protocol SIP messages.The distribution method of sip message of the present invention includes:Receiving thread receives sip message, sip message includes corresponding first Subscriber Number of session output end and the corresponding second user number of session receiving terminal, the corresponding non-transacted thread of sip message is determined according to the first Subscriber Number and second user number, and sip message is cached into buffer unit corresponding with non-transacted thread;Dispatch thread obtains buffered sip message from corresponding buffer unit, and buffered sip message is distributed to the corresponding non-transacted thread of buffered sip message.The distribution method and device of the initial dialog protocol SIP messages of the present invention, are significantly reduced influence of the busy extent of non-transacted thread to sip message receiving efficiency, improve the usage experience of user, while improving the working performance of non-transacted thread.

Description

The distribution method and device of initial dialog protocol SIP messages
Technical field
The present invention relates to communication engineering technology more particularly to a kind of distribution methods and dress of initial dialog protocol SIP messages It sets.
Background technology
Initial dialog agreement (Session Initiation Protocol, abbreviation SIP) is appointed by Internet engineering The multimedia communication protocol that business group (The Internet Engineering Task Force, abbreviation IETF) is formulated.It is base In the application layer control protocol of text, for creating, changing and discharging the session between participant.It is widely used in circuit switching (Circuit Switched, referred to as:CS), next generation network (Next Generation Network, abbreviation NGN) and IP Multimedia core net system (IP Multimedia Core Network Subsystem, referred to as:It IMS, can in network) To support and applied to multimedia services such as voice, video, data, be widely used general.
After the distribution method of sip message in the prior art is generally receiving thread reception sip message, sip message is analyzed Including field, it is true according to the Subscriber Number under the Subscriber Number and to fields under from fields such as from fields and to fields The corresponding SIP non-transacted threads of the fixed sip message, after determining SIP non-transacted threads are locked, sip message receives single The sip message is distributed in determining SIP non-transacted threads by member.
But said program is completed due to the reception and distribution of sip message by receiving thread, it may also be said to using same The sip message that a thread receives and distribution receives needs to lock SIP non-transacted threads when distributing sip message in addition, if SIP non-transacted threads are very busy (SIP non-transacted threads are occupied by other processes), and SIP non-transacted threads just can not be located The sip message is managed, and then affects the receiving efficiency of sip message so that the corresponding business processing speed of sip message is slow, influences The experience of user.
Invention content
The present invention provides a kind of distribution method and device of initial dialog protocol SIP messages, to overcome existing sip message Distribution method caused by the slow-footed technical problem of the corresponding business processing of sip message.
The present invention provides a kind of distribution method of initial dialog protocol SIP messages, is applied to server, on the server Establishment has receiving thread, at least one dispatch thread, at least one non-transacted thread, each non-transacted thread corresponding slow Memory cell, wherein each dispatch thread corresponds at least one buffer unit;The method includes:
The receiving thread receives sip message, and the sip message includes corresponding first Subscriber Number of session output end Second user number corresponding with session receiving terminal determines the SIP according to first Subscriber Number and second user number The corresponding non-transacted thread of message, and the sip message is cached to buffer unit corresponding with the non-transacted thread In;
The dispatch thread obtains buffered sip message from the corresponding buffer unit of the dispatch thread, and by institute It states buffered sip message and is distributed to the corresponding non-transacted thread of the buffered sip message;Wherein, described at least one A dispatch thread obtains buffered sip message from corresponding buffer unit parallel.
Method as described above is obtained from the corresponding buffer unit of the dispatch thread in the dispatch thread and is buffered Sip message before, further include:
The dispatch thread judges whether there is buffered sip message in corresponding buffer unit;
If so, the dispatch thread judges whether corresponding non-transacted thread is locked by other processes, if it is not, will correspond to Non-transacted thread locking;
Accordingly, the sip message being buffered in corresponding buffer unit is distributed to corresponding thing in the dispatch thread After business processing thread, further include:
The dispatch thread releases the locking to the buffered corresponding non-transacted thread of sip message.
Method as described above, the buffer unit include sip message queue, and the sip message queue includes writing Index field and multiple buffer areas, wherein the index field of writing includes writing sign, and each buffer area includes position mark Know, the sign of writing is used to indicate the current writeable buffer area of the receiving thread;
The receiving thread caches the sip message to buffer unit corresponding with the non-transacted thread, including:
The receiving thread delays first that the first sip message is cached to the corresponding buffer unit of first sip message Deposit area;Wherein, first sip message is any sip message that the receiving thread receives, the station location marker of the first buffer area It is identical that sign is write with first;Described first write sign be cache the sip message when described in write index field correspondence Write sign;
The receiving thread writes sign by described first and increases by a preset value, obtains second and writes sign, so that Second sip message is cached to station location marker and is write in the identical buffer area of sign with described second, and second sip message is Subsequent time is cached to the sip message of the corresponding buffer unit of first sip message.
Method as described above further includes reading index field in the sip message queue, and the reading index field includes reading Sign, the sign of reading are used to indicate the current readable buffer area of the receiving thread;
The dispatch thread judges whether there is buffered sip message in corresponding buffer unit, including:
The dispatch thread obtains the occupancy mark of the second buffer area in corresponding buffer unit, second buffer area Station location marker is identical with the first reading sign for reading index field;The first reading sign is to start to judge to correspond to Buffer unit read index field corresponding reading sign when whether there is buffered message;
If the occupancy is identified as first identifier, it is determined that corresponding buffer unit has the buffered sip message, Wherein, the first identifier is used to indicate buffer area and is stored with sip message;If the buffered sip message is write-in first The sip message of buffer area, then second buffer area and first buffer area are same buffer area;
If the occupancy is identified as second identifier, it is determined that there is no the buffered SIP to disappear in corresponding buffer unit Breath, wherein the second identifier is used to indicate buffer area and does not store sip message.
Method as described above, the dispatch thread obtain buffered from the corresponding buffer unit of the dispatch thread Sip message, and the buffered sip message is distributed to the corresponding non-transacted thread of the buffered sip message, it wraps It includes:
The dispatch thread obtains the corresponding buffered sip message of second buffer area, by second buffer area Corresponding buffered sip message is distributed to corresponding non-transacted thread;
The dispatch thread reads sign by described first and increases by a preset value, obtains the second reading sign;
Institute's dispatch thread obtains the occupancy mark of third buffer area, and after determining that the occupancy is identified as first identifier, The corresponding buffered sip message of third buffer area is obtained, the corresponding buffered sip message of the third buffer area is distributed To corresponding non-transacted thread;The station location marker of the third buffer area is identical with the second reading sign;
The dispatch thread reads sign by described second and increases by a preset value, obtains third and reads sign;
It repeats and obtains the station location marker occupancy for reading the identical buffer area of sign corresponding with the current acquisition moment Mark obtains the corresponding buffered sip message of buffer area, and the corresponding buffered sip message of buffer area is distributed to pair The non-transacted thread answered and the operation that sign increases preset value will be read, until determining that the occupancy of buffer area is identified as the Two marks.
The present invention also provides a kind of diostribution devices of initial dialog protocol SIP messages, including:
Receiving unit, the receiving unit receive sip message using receiving thread for receiving, are wrapped in the sip message Corresponding first Subscriber Number of session output end and the corresponding second user number of session receiving terminal are included, according to first user Number and second user number determine the corresponding issued transaction unit of the sip message, and by the sip message cache to institute It states in the corresponding buffer unit of issued transaction unit;
At least one Dispatching Unit, at least one Dispatching Unit is using respective dispatch thread parallel from corresponding slow Buffered sip message is obtained in memory cell, and the buffered sip message is distributed to the buffered sip message Corresponding issued transaction unit;
Wherein, buffer unit and issued transaction unit correspond, and Dispatching Unit corresponds at least one buffer unit.
Device as described above, the Dispatching Unit are additionally operable to, in the Dispatching Unit using dispatch thread from corresponding Before obtaining buffered sip message in buffer unit, judges whether to have in corresponding buffer unit using dispatch thread and be delayed The sip message deposited;If so, the Dispatching Unit judges whether corresponding issued transaction unit is locked by other processes, if it is not, institute Dispatching Unit is stated to lock corresponding issued transaction unit;
Accordingly, the Dispatching Unit is additionally operable to, in the SIP that the Dispatching Unit will be buffered in corresponding buffer unit After message distribution to corresponding issued transaction unit, released to the buffered corresponding affairs of sip message using dispatch thread The locking of processing unit.
Device as described above, the buffer unit include sip message queue, and the sip message queue includes writing Index field and multiple buffer areas, wherein the index field of writing includes writing sign, and each buffer area includes position mark Know, the sign of writing is used to indicate the receiving unit using the current writeable buffer area of receiving thread;
When the receiving unit be used for using receiving thread by sip message cache to the sip message issued transaction list When first corresponding buffer unit, the receiving unit is specifically used for, and the receiving unit is specifically used for, using receiving thread by the One sip message is cached to the first buffer area of the corresponding buffer unit of first sip message;Wherein, first sip message Any sip message that receiving thread receives, the station location marker of the first buffer area and first is used to write sign for receiving unit It is identical;Described first write sign be when caching the sip message described in write that index field is corresponding to write sign;
Receiving unit writes sign by described first using receiving thread and increases by a preset value, obtains second and writes indicateing arm Know, is write in the identical buffer area of sign with described second so that the second sip message is cached to station location marker, described second Sip message is that subsequent time is cached to the sip message of the corresponding buffer unit of first sip message.
Device as described above further includes reading index field in the sip message queue, and the reading index field includes reading Sign, the sign of reading are used to indicate the current readable buffer area of the receiving thread;
When the Dispatching Unit judges whether there is buffered sip message in corresponding buffer unit using dispatch thread When, the Dispatching Unit is specifically used for,
The occupancy mark of the second buffer area in corresponding buffer unit is obtained using dispatch thread, second buffer area Station location marker is identical with the first reading sign for reading index field;The first reading sign is to start to judge to correspond to Buffer unit read index field corresponding reading sign when whether there is buffered message;
If the occupancy is identified as first identifier, it is determined that corresponding buffer unit has the buffered sip message, Wherein, the first identifier is used to indicate buffer area and is stored with sip message;If the buffered sip message is write-in first The sip message of buffer area, then second buffer area and first buffer area are same buffer area;
If the occupancy is identified as second identifier, it is determined that there is no the buffered SIP to disappear in corresponding buffer unit Breath, wherein the second identifier is used to indicate buffer area and does not store sip message.
Device as described above, when the Dispatching Unit is used to obtain quilt from corresponding buffer unit using dispatch thread The sip message of caching, and the buffered sip message is distributed to the corresponding issued transaction of the buffered sip message When unit, the Dispatching Unit is specifically used for,
The corresponding buffered sip message of second buffer area is obtained using dispatch thread, by second buffer area Corresponding buffered sip message is distributed to corresponding issued transaction unit;
Sign is read by described first using dispatch thread and increases by a preset value, obtains the second reading sign;
Using dispatch thread obtain third buffer area occupancy mark, and determine it is described occupancy be identified as first identifier Afterwards, the corresponding buffered sip message of third buffer area is obtained, by the corresponding buffered sip message of the third buffer area It is distributed to corresponding issued transaction unit;The station location marker of the third buffer area is identical with the second reading sign;
Sign is read by described second using dispatch thread and increases by a preset value, third is obtained and reads sign;
It repeats and obtains the station location marker occupancy for reading the identical buffer area of sign corresponding with the current acquisition moment Mark obtains the corresponding buffered sip message of buffer area, and the corresponding buffered sip message of buffer area is distributed to pair The issued transaction unit answered and the operation that sign increases preset value will be read, until determining that the occupancy of buffer area is identified as the Two marks.
The present invention provides a kind of distribution methods and device of initial dialog protocol SIP messages.The sip message of the present invention Distribution method includes:Receiving thread receives sip message, sip message include corresponding first Subscriber Number of session output end with The corresponding second user number of session receiving terminal, determines that sip message is corresponding according to the first Subscriber Number and second user number Non-transacted thread, and sip message is cached into buffer unit corresponding with non-transacted thread;Dispatch thread from distribution line Buffered sip message is obtained in the corresponding buffer unit of journey, and buffered sip message is distributed to buffered SIP and is disappeared Cease corresponding non-transacted thread, wherein at least one dispatch thread is obtained from corresponding buffer unit parallel to be delayed The sip message deposited.The distribution method and device of the initial dialog protocol SIP messages of the present invention, are significantly reduced office lineation Influence of the busy extent of journey to sip message receiving efficiency, improves the processing speed of the corresponding business of sip message, improves The usage experience of user also improves the working performance of non-transacted thread.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Some bright embodiments for those of ordinary skill in the art without having to pay creative labor, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is schematic diagram of a scenario provided by the invention;
Fig. 2 is the flow chart one of the distribution method of sip message provided by the invention;
Fig. 3 is the structural schematic diagram one of the sip message queue in buffer unit;
Fig. 4 is the structural schematic diagram two of the sip message queue in buffer unit;
Fig. 5 is the structural schematic diagram three of the sip message queue in buffer unit;
Fig. 6 is the flowchart 2 of the distribution method of sip message provided by the invention;
Fig. 7 is the structural schematic diagram of sip message diostribution device embodiment one provided by the invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is schematic diagram of a scenario provided by the invention, and referring to Fig. 1, create has receiving thread 11, at least one on the server A buffer unit 12, at least one dispatch thread 13 and at least one non-transacted thread 14, each non-transacted thread correspond to There are one buffer unit, each dispatch thread corresponds at least one buffer unit.
Since server provided in this embodiment flow for terminating to the sip message processing receiving be:Receiving thread connects Sip message 1 is received, the characteristic information for including according to sip message 1 determines 1 corresponding non-transacted thread 1 of sip message, then will In the caching to the 1 corresponding buffer unit 1 of non-transacted thread of sip message 1;Dispatch thread 1 is obtained from buffer unit 1 should The sip message 1 is distributed in non-transacted thread 1 by sip message, is handled the sip message by non-transacted thread 1. Wherein, non-transacted thread 1, which receives, sends determination to the transmitting terminal of sip message 1 after sip message 1 and receives disappearing for sip message 1 Breath, and sip message 1 is sent in corresponding receiving device by the information for including according to sip message 1.
In addition, dispatch thread 1 is responsible for the sip message being buffered in buffer unit 1 being distributed to non-transacted thread 1, also It is responsible for sip message in buffer unit 2 being distributed to non-transacted thread 2, that is to say, that dispatch thread is responsible for its is corresponding extremely The sip message being buffered in a few buffer unit is distributed to corresponding non-transacted thread.
Specific embodiment is used below, the specific implementation process of above-mentioned receiving thread, dispatch thread is carried out detailed Explanation.
Fig. 2 is the flow chart one of the distribution method of sip message provided by the invention, is applied to server, and this method can be with By hardware and/or software realization, as shown in Fig. 2, the method for the present embodiment may include:
Step S201, receiving thread receives sip message, and sip message includes corresponding first user number of session output end Code second user number corresponding with session receiving terminal, sip message pair is determined according to the first Subscriber Number and second user number The non-transacted thread answered, and sip message is cached into buffer unit corresponding with non-transacted thread;
Step S202, dispatch thread obtains buffered sip message from the corresponding buffer unit of dispatch thread, and will be by The sip message of caching is distributed to the corresponding non-transacted thread of buffered sip message, wherein at least one dispatch thread is simultaneously Row obtains buffered sip message from corresponding buffer unit.
Specifically, the executive agent in the present embodiment can be proxy server, and session output end can be that client computer is corresponding Application server or equipment of the core network, session receiving terminal is alternatively the corresponding application server of client computer or core net is set It is standby.
After session output end often sends out a sip message, it will be received thread reception, receiving thread receives SIP and disappears After breath, corresponding first Subscriber Number of session output end and session receiving terminal corresponding second for including according to sip message is used Family number determines the corresponding non-transacted thread of the sip message, and sip message is cached to corresponding with the non-transacted thread In buffer unit.The use being embodied as under from fields of corresponding first Subscriber Number of session output end in a sip message Family number, usually 1~10000, the corresponding second user number of session receiving terminal in a sip message be embodied as to words Subscriber Number under section, usually 1~10000.
Wherein, corresponding first Subscriber Number of session output end and session receiving terminal for including according to sip message correspond to Second user number determine the corresponding non-transacted thread of the sip message, including:Obtain the first Subscriber Number and second user The summation of number;Obtain the remainder that the number of the summation divided by non-transacted thread obtains;By label thing identical with the remainder Business processing thread is as non-transacted thread corresponding with the sip message.For example, if buffer unit is 20, label It is followed successively by 0~19, then non-transacted thread also there are 20, label is followed successively by 0~19.If from words in a sip message It is 32 that Subscriber Number under section, which is Subscriber Number under 35, to fields, then calculates 32+35=67, and 67/20=3 mores than 7, then the SIP The corresponding non-transacted thread of message is non-transacted thread marked as 7, then sip message needs be buffered to marked as 7 buffer unit.
Below to the specific of step " receiving thread caches sip message to buffer unit corresponding with non-transacted thread " Realization process is described in detail.
Fig. 3 is the structural schematic diagram one of the sip message queue in buffer unit, and Fig. 4 is the sip message team in buffer unit The structural schematic diagram two of row, Fig. 5 are the structural schematic diagram three of the sip message queue in buffer unit.
Referring to Fig. 3, buffer unit includes sip message queue, and sip message queue includes writing index field, reading index Field and multiple buffer areas 31;Wherein, it includes writing sign to write index field, and it includes reading sign to read index field, respectively Buffer area includes station location marker, writes sign and is used to indicate the current writeable buffer area of receiving thread, reads sign and be used for Indicate the current readable sip message buffer area of receiving thread.Wherein buffer area subsequent digital 0,1,2,499 is position mark Know.
Wherein, it is preferably 0~499 to write sign, and it is preferably 0~499 to read sign, and station location marker is preferably 0~ 499, each buffer area can preferably up to cache the sip message of 1500 characters.
Receiving thread caches sip message to buffer unit corresponding with non-transacted thread, specific as follows:
Receiving thread caches the first sip message to the first buffer area of the corresponding buffer unit of the first sip message, and first Sip message is any sip message that receiving thread receives, and it is identical that the station location marker of the first buffer area with first writes sign; First writes sign, and to be write when the first sip message of caching, index field is corresponding to write sign.For example, participating in Fig. 4, at this time First sip message is buffered to the buffer unit marked as 2, and when caching the first sip message, that writes index field writes sign It is 5, then illustrates that receiving thread needs the first sip message buffer area for being 5 to station location marker is written, station location marker is 5 at this time Buffer area 5 be the first buffer area.
After the first buffer area is written in the first sip message, receiving thread writes sign by first and increases by a preset value, It obtains second and writes sign, to write sign with described second identical slow so that the second sip message is cached to station location marker It deposits in area, the second sip message is that subsequent time is cached to the sip message of buffer unit.For example, referring to Fig. 4~Fig. 5, by After the first buffer area is written in one sip message, receiving thread writes sign by first and increases by a preset value 1, writes index field Writing sign becomes 6, illustrates that receiving thread needs the second sip message buffer area for being 6 to station location marker is written.
The sip message of reception is cached into the corresponding buffer unit of the first sip message according to above-mentioned rule, is indexed when writing Field is write after sign becomes 499, and it is 499 that receiving thread, which needs currently received sip message to be written to station location marker, Buffer area (currently received sip message correspond to the corresponding buffer unit of the first sip message), at this point, writing indicateing arm weight sensing It is set to 0.
It will be appreciated by persons skilled in the art that the second sip message should meet the following conditions:Second sip message pair Either buffer unit non-transacted thread corresponding with the first sip message or buffer unit are identical for the non-transacted thread answered; The second sip message not necessarily receiving thread sip message that subsequent time receives after receiving the first sip message.
Dispatch thread is described in detail below.
For dispatch thread, dispatch thread is not that receiving thread often receives a sip message and delays sip message It deposits to corresponding buffer unit, the sip message is just distributed to corresponding non-transacted thread;If moreover, one distribute into Journey is responsible for multiple buffer units, and the sip message being buffered in its responsible buffer unit is distributed to correspondence by distribution process successively Non-transacted thread in, so there is discontinuous the case where carrying out with distribution procedure in the receive process of each sip message.
It will be understood by those skilled in the art that dispatch thread and receiving thread are independence and are carried out at the same time.And distribute Thread and receiving thread are independence and are carried out at the same time, and can be significantly reduced the busy extent of non-transacted thread to sip message The influence of receiving efficiency improves the processing speed of the corresponding business of sip message, improves the usage experience of user.
The sip message being buffered in its corresponding buffer unit is distributed to a dispatch thread below corresponding Illustrate related distribution procedure for the process of non-transacted thread, i.e., " dispatch thread is from the corresponding caching of dispatch thread to step Buffered sip message is obtained in unit, and buffered sip message is distributed to the corresponding affairs of buffered sip message Processing thread " and its correlation step are described in detail.
It in dispatch thread obtains buffered sip message from the corresponding buffer unit of dispatch thread, and will be buffered Sip message is distributed to before the corresponding non-transacted thread of buffered sip message, and dispatch thread judges corresponding first caching Whether buffered sip message is had in unit, wherein the first buffer unit is that any one caching that the dispatch thread is responsible for is single Member, that is to say, that the dispatch thread currently obtains buffered sip message from the first buffer unit.
Whether dispatch thread judges to have in corresponding first buffer unit the detailed process of buffered sip message be:
Dispatch thread obtain the first buffer unit in the second buffer area occupancy mark, the station location marker of the second buffer area and The the first reading sign for reading index field is identical;First reading sign is to start to judge whether the first buffer unit has quilt Index field corresponding reading sign is read when the message of caching;If occupancy is identified as first identifier, it is determined that the first caching is single Member has buffered sip message, wherein first identifier is used to indicate buffer area and is stored with sip message;If occupancy is identified as the Two marks, it is determined that the sip message not being buffered in corresponding buffer unit, wherein second identifier is used to indicate buffer area Do not store sip message.For example, referring to Fig. 4, at this point, the first buffer unit is the buffer unit marked as 2, start judgement the When whether one buffer unit has buffered message, the reading sign of the reading index field of the first buffer unit, that is, First reading sign is 1, illustrates the occupancy for needing dispatch thread to obtain the buffer area that station location marker is 1 mark, at this time position It is identified as 1 buffer area, that is, is buffer area 1, as the second buffer area;If the occupancy of the second buffer area is identified as the first mark Know 1, then illustrates that the first buffer unit has buffered sip message, if the occupancy of the second buffer area is identified as second identifier 0, Illustrate the sip message that the first buffer unit is not buffered.Corresponding to Fig. 4, the occupancy of buffer area 1 (the second buffer area) is identified as 1, illustrate that the first buffer unit has buffered sip message.
Further, in conjunction with above-mentioned receiving process, the index of writing in Fig. 4 is 5, to read index be 1, buffer area 1 (second Buffer area) occupancy be identified as 1, illustrate buffer area 1, buffer area 2, buffer area 3 and buffer area 4 occupancy mark be 1, delay It deposits the sip message in area 1, buffer area 2, buffer area 3 and buffer area 4 and is dispensed to the corresponding office marked as 2 not yet Lineation journey;Caching need to be written by reception with sip message corresponding marked as 2 buffer unit by also illustrating above-mentioned receiving thread Area 5, at this time buffer area 5 be identified as 0, after buffer area 5 is written, referring to Fig. 5, the occupancy mark of buffer area 5 becomes 1, writes index Become 6, at this point, subsequent time is cached to the sip message of the buffer unit marked as 2 need that buffer area 6 is written, at this point, caching The occupancy mark in area 6 should be 0.
It will be appreciated by those skilled in the art that if the buffered sip message in the second buffer area is the first caching of write-in The sip message in area, then second buffer area and first buffer area are same buffer area;
After determining that the first buffer unit has buffered sip message, dispatch thread obtains quilt from the first buffer unit The sip message of caching, and buffered sip message is distributed to the corresponding non-transacted thread of buffered sip message, it wraps It includes:
Dispatch thread obtains the corresponding buffered sip message of the second buffer area, and the second buffer area is corresponding buffered Sip message be distributed to corresponding non-transacted thread;The non-transacted thread is also affairs corresponding with the first buffer unit Handle thread.For example, as previously mentioned, at this point, reading the first of index field to read sign to be 1, the second buffer area is buffer area 1。
Dispatch thread reads sign by first and increases by a preset value, obtains the second reading sign;For example, referring to Fig. 5 ~Fig. 6 reads sign by first and increases by a preset value 1, obtain the second reading sign 2 if the first reading sign is 1, Illustrate that the dispatch thread needs for the sip message in buffer area 2 to be distributed to the issued transaction unit marked as 2 at this time.
Dispatch thread obtains the occupancy mark of third buffer area, and after determining that occupancy is identified as first identifier, obtains the The corresponding buffered sip message of third buffer area is distributed to corresponding thing by the corresponding buffered sip message of three buffer areas Business processing thread;The station location marker of third buffer area and the second reading sign are identical;For example, referring to Fig. 5, buffer area 2 is The occupancy of third buffer area, buffer area 2 is identified as first identifier 1.
Dispatch thread reads sign by second and increases by a preset value, obtains third and reads sign;Second is read to refer to Indicating knows 2 and increases by a preset value 1, obtains third and reads sign 3.
It repeats and obtains the station location marker occupancy for reading the identical buffer area of sign corresponding with the current acquisition moment Mark obtains the corresponding buffered sip message of buffer area, and the corresponding buffered sip message of buffer area is distributed to pair The non-transacted thread answered and the operation that sign increases preset value will be read, until determining that the occupancy of buffer area is identified as the Two marks.That is until the station location marker occupancy mark for reading the identical buffer area of sign corresponding with the current acquisition moment When knowledge is 0, illustrate the sip message that the first buffer unit is not buffered in current distribution procedure, at this point, terminating to first The operation of buffer unit.
According to the sip message being buffered in the first buffer unit of above-mentioned Rule, when the reading indicateing arm for reading index field After knowledge becomes 499, dispatch thread needs to obtain the sip message being buffered in the buffer area that station location marker is 499, to station location marker After sip message to be buffered in 499 buffer area has obtained, reads sign and reset to 0.
After terminating to the operation of the first buffer unit, according to above-mentioned identical step successively to the second buffer unit to N Buffer unit operates, and the sip message being buffered in the second buffer unit to N buffer units is sent to corresponding affairs It handles in thread.First buffer unit, the second buffer unit to N buffer units are that the dispatch thread is responsible for corresponding in other words Buffer unit.
The sip message being buffered in its corresponding each buffer unit is sent to by each dispatch thread as procedure described above In corresponding non-transacted thread;Wherein, it is carried out parallel between each dispatch thread.
Buffer unit is set as multiple in the present embodiment, each buffer unit includes multiple buffer areas, and will distribute line Journey is set as multiple, accelerates the processed speed of sip message, is further reduced the busy extent of non-transacted thread to SIP The influence of message sink efficiency improves the processing speed of the corresponding business of sip message, improves the usage experience of user.
The distribution method of the sip message of the present embodiment includes:Receiving thread receives sip message, and sip message includes session Corresponding first Subscriber Number of output end and the corresponding second user number of session receiving terminal, according to the first Subscriber Number and second Subscriber Number determines the corresponding non-transacted thread of sip message, and sip message is cached to corresponding with non-transacted thread slow In memory cell;Dispatch thread obtains buffered sip message from the corresponding buffer unit of dispatch thread, and will be buffered Sip message is distributed to the corresponding non-transacted thread of buffered sip message, wherein at least one dispatch thread is parallel from each Buffered sip message is obtained in self-corresponding buffer unit.The distribution method of the sip message of the present embodiment is by disappearing SIP The receive process and distribution procedure of breath independently carry out, and the busy extent for being significantly reduced non-transacted thread receives sip message The influence of efficiency improves the processing speed of the corresponding business of sip message, improves the usage experience of user.
Fig. 6 is the flowchart 2 of SIP distribution methods provided by the invention, as shown in fig. 6, the method for this implementation is to be directed to one A dispatch thread one of corresponds to it operating process of buffer unit, and the method for the present embodiment may include:
Step S301, dispatch thread judges whether there is buffered sip message in corresponding buffer unit;
If step S302, dispatch thread judges that the sip message for having buffered in corresponding buffer unit, dispatch thread judge Whether corresponding issued transaction unit is locked by other processes;
If step S303, the corresponding issued transaction unit of dispatch thread is not locked by other processes, by corresponding affairs Handle thread locked;
Step S304, dispatch thread obtains buffered sip message from corresponding buffer unit, and will be buffered Sip message is distributed to the corresponding non-transacted thread of buffered sip message;
Step S305, dispatch thread releases the locking to the buffered corresponding issued transaction unit of sip message.
Specifically, in the present embodiment, the buffer unit of dispatch thread current operation is referred to as the first buffer unit.
Step S301 is identical as the step S201 specific implementations in a upper embodiment, is repeated no more in the present embodiment.
For step S302~step S303, if dispatch thread judges the sip message for having buffered in the first buffer unit, Dispatch thread judges whether corresponding issued transaction unit is locked by other processes, if the corresponding issued transaction unit of dispatch thread It is not locked, then locks corresponding non-transacted thread by other processes.
Specifically, the process of step S302~step S303 is also referred to as the process for attempting locking.By corresponding affairs Processing thread locked can prevent system crash.
Step S304 is identical as the step S202 specific implementations in a upper embodiment, is repeated no more in the present embodiment.
After the buffered sip message in the first buffer unit is dispensed to corresponding issued transaction unit, distribution Thread releases the locking to buffered sip message or the corresponding issued transaction unit of the first buffer unit.
It will be understood by those skilled in the art that the buffered sip message in the first buffer unit in the present embodiment refers to Be be buffered between the secondary distribution procedure and last distribution procedure in the first buffer unit sip message and this time point It is buffered during hair to the sip message in the first buffer unit.
Due to being when the buffered sip message in the first buffer unit is dispensed to corresponding issued transaction unit Afterwards, dispatch thread releases the locking to buffered sip message or the corresponding non-transacted thread of the first buffer unit, next time Again by the locking of the corresponding issued transaction unit of the first buffer unit when distribution, distribute in batches after at least one sip message again The solution of corresponding issued transaction unit is locked, is not that one sip message of every distribution locks corresponding non-transacted thread It is fixed, reduce the locking frequency to non-transacted thread, improves the working performance of non-transacted thread.
The sip message processing method of the present embodiment, by only locking a non-transacted thread, nothing in current distribution procedure A sip message need to often be distributed to lock corresponding non-transacted thread, reduce the locking frequency to non-transacted thread, Improve the working performance of non-transacted thread.
Fig. 7 is the structural schematic diagram of sip message diostribution device embodiment one provided by the invention, as shown in fig. 7, this implementation Example device may include:Receiving unit 71, at least one buffer unit 72, at least one Dispatching Unit 72 and at least one thing Business processing unit 74, wherein buffer unit 72 and issued transaction unit 74 correspond, and Dispatching Unit 72 corresponds at least one slow Memory cell 72.
Receiving unit 71 receives sip message for receiving using receiving thread, and sip message includes that session output end corresponds to The first Subscriber Number and the corresponding second user number of session receiving terminal, it is true according to the first Subscriber Number and second user number Determine the corresponding issued transaction unit of sip message, and sip message is cached to buffer unit corresponding with issued transaction unit 13 In;At least one Dispatching Unit 12 is used to obtain from corresponding buffer unit parallel using respective dispatch thread buffered Sip message, and buffered sip message is distributed to the corresponding issued transaction unit of buffered sip message.
Dispatching Unit 12 is additionally operable to, and is obtained from corresponding buffer unit using dispatch thread in Dispatching Unit buffered Before sip message, judge whether there is buffered sip message in corresponding buffer unit 13 using dispatch thread;If so, distribution Whether the corresponding issued transaction unit of unit judges is locked by other processes, if it is not, Dispatching Unit 12 is by corresponding issued transaction Unit locks;
Accordingly, Dispatching Unit 12 is additionally operable to, in the sip message that Dispatching Unit 12 will be buffered in corresponding buffer unit It is distributed to after corresponding issued transaction unit, is released to the buffered corresponding issued transaction of sip message using dispatch thread The locking of unit.
Buffer unit includes sip message queue, and sip message queue includes writing index field and multiple buffer areas, In, it includes writing sign to write index field, and each buffer area includes station location marker, writes sign and is used to indicate receiving unit and adopts With the current writeable buffer area of receiving thread;
When receiving unit is used to cache sip message to corresponding with sip message issued transaction unit using receiving thread When buffer unit, receiving unit is specifically used for, and is cached the first sip message using receiving thread corresponding to the first sip message First buffer area of buffer unit;Wherein, the first sip message is any sip message that receiving unit uses receiving thread to receive, It is identical that the station location marker of first buffer area with first writes sign;First writes sign to write index when caching sip message Field is corresponding to write sign;
Receiving unit writes sign by first using receiving thread and increases by a preset value, obtains second and writes sign, It is write in the identical buffer area of sign with second so that the second sip message is cached to station location marker, the second sip message is next Moment caches to the sip message of the corresponding buffer unit of the first sip message.
Further include reading index field in sip message queue, it includes reading sign to read index field, reads sign and is used for Indicate the current readable buffer area of receiving thread;
When Dispatching Unit judges whether to have buffered sip message in corresponding buffer unit using dispatch thread, point Bill member is specifically used for,
The occupancy mark of the second buffer area in corresponding buffer unit, the position of the second buffer area are obtained using dispatch thread It identifies identical with the first reading sign of reading index field;First reading sign is to start to judge that corresponding buffer unit is It is no to read index field corresponding reading sign when there is buffered message;
If occupancy is identified as first identifier, it is determined that corresponding buffer unit has buffered sip message, wherein the One mark is used to indicate buffer area and is stored with sip message;If buffered sip message is the sip message that the first buffer area is written, Then the second buffer area and the first buffer area are same buffer area;
If occupancy is identified as second identifier, it is determined that the sip message not being buffered in corresponding buffer unit, wherein Second identifier is used to indicate buffer area and does not store sip message.
When Dispatching Unit is used to obtain buffered sip message, and general from corresponding buffer unit using dispatch thread When buffered sip message is distributed to buffered sip message corresponding issued transaction unit, Dispatching Unit is specifically used for,
The corresponding buffered sip message of second buffer area is obtained using dispatch thread, by the corresponding quilt of the second buffer area The sip message of caching is distributed to corresponding issued transaction unit;
Sign is read by first using dispatch thread and increases by a preset value, obtains the second reading sign;
The occupancy mark of third buffer area is obtained using dispatch thread, and after determining that occupancy is identified as first identifier, is obtained The corresponding buffered sip message of third buffer area is taken, the corresponding buffered sip message of third buffer area is distributed to correspondence Issued transaction unit;The station location marker of third buffer area and the second reading sign are identical;
Sign is read by second using dispatch thread and increases by a preset value, third is obtained and reads sign;
It repeats and obtains the station location marker occupancy for reading the identical buffer area of sign corresponding with the current acquisition moment Mark obtains the corresponding buffered sip message of buffer area, and the corresponding buffered sip message of buffer area is distributed to pair The issued transaction unit answered and the operation that sign increases preset value will be read, until determining that the occupancy of buffer area is identified as the Two marks.
The device of the present embodiment can be used for executing the technical solution of above method embodiment, realization principle and technology Effect is similar, and details are not described herein again.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer read/write memory medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of distribution method of initial dialog protocol SIP messages, which is characterized in that be applied to server, on the server Establishment has receiving thread, at least one dispatch thread, at least one non-transacted thread, each non-transacted thread corresponding slow Memory cell, wherein each dispatch thread corresponds at least one buffer unit;The method includes:
The receiving thread receives sip message, and the sip message includes corresponding first Subscriber Number of session output end and meeting The corresponding second user number of receiving terminal is talked about, the sip message is determined according to first Subscriber Number and second user number Corresponding non-transacted thread, and the sip message is cached into buffer unit corresponding with the non-transacted thread;
The dispatch thread obtains buffered sip message from the corresponding buffer unit of the dispatch thread, and by the quilt The sip message of caching is distributed to the corresponding non-transacted thread of the buffered sip message;Wherein, described at least one point Hair thread parallel obtains buffered sip message from corresponding buffer unit.
2. according to the method described in claim 1, it is characterized in that, corresponding slow from the dispatch thread in the dispatch thread Before obtaining buffered sip message in memory cell, further include:
The dispatch thread judges whether there is buffered sip message in corresponding buffer unit;
If so, the dispatch thread judges whether corresponding non-transacted thread is locked by other processes, if it is not, by corresponding thing Business processing thread locked;
Accordingly, the sip message being buffered in corresponding buffer unit is distributed to corresponding office in the dispatch thread After lineation journey, further include:
The dispatch thread releases the locking to the buffered corresponding non-transacted thread of sip message.
3. described according to the method described in claim 2, it is characterized in that, the buffer unit includes sip message queue Sip message queue includes writing index field and multiple buffer areas, wherein the index field of writing includes writing sign, respectively The buffer area includes station location marker, and the sign of writing is used to indicate the current writeable buffer area of the receiving thread;
The receiving thread caches the sip message to buffer unit corresponding with the non-transacted thread, including:
The receiving thread caches the first sip message to the first buffer area of the corresponding buffer unit of first sip message; Wherein, first sip message is any sip message that the receiving thread receives, the station location marker of the first buffer area and the One to write sign identical;Described first write sign be when caching the sip message described in write that index field is corresponding to be write Sign;
The receiving thread writes sign by described first and increases by a preset value, obtains second and writes sign, so that second Sip message is cached to station location marker and is write in the identical buffer area of sign with described second, and second sip message is next Moment caches to the sip message of the corresponding buffer unit of first sip message.
4. according to the method described in claim 3, it is characterized in that, further including reading index field, institute in the sip message queue It includes reading sign to state and read index field, and the sign of reading is used to indicate the current readable caching of the receiving thread Area;
The dispatch thread judges whether there is buffered sip message in corresponding buffer unit, including:
The dispatch thread obtains the occupancy mark of the second buffer area in corresponding buffer unit, the position of second buffer area It identifies identical with the first reading sign of reading index field;The first reading sign is to start to judge corresponding delay Memory cell reads index field corresponding reading sign when whether having buffered message;
If the occupancy is identified as first identifier, it is determined that corresponding buffer unit has the buffered sip message, In, the first identifier is used to indicate buffer area and is stored with sip message;If the buffered sip message is that write-in first is slow The sip message in area is deposited, then second buffer area and first buffer area are same buffer area;
If the occupancy is identified as second identifier, it is determined that there is no the buffered sip message in corresponding buffer unit, In, the second identifier is used to indicate buffer area and does not store sip message.
5. according to the method described in claim 4, it is characterized in that, the dispatch thread is from the corresponding caching of the dispatch thread Buffered sip message is obtained in unit, and the buffered sip message is distributed to the buffered sip message pair The non-transacted thread answered, including:
The dispatch thread obtains the corresponding buffered sip message of second buffer area, and second buffer area is corresponded to Buffered sip message be distributed to corresponding non-transacted thread;
The dispatch thread reads sign by described first and increases by a preset value, obtains the second reading sign;
Institute's dispatch thread obtains the occupancy mark of third buffer area, and after determining that the occupancy is identified as first identifier, obtains The corresponding buffered sip message of the third buffer area is distributed to pair by the corresponding buffered sip message of third buffer area The non-transacted thread answered;The station location marker of the third buffer area is identical with the second reading sign;
The dispatch thread reads sign by described second and increases by a preset value, obtains third and reads sign;
Repeat obtain station location marker with it is current obtain the moment corresponding occupancy for reading the identical buffer area of sign identify, The corresponding buffered sip message of buffer area is obtained, and the corresponding buffered sip message of buffer area is distributed to corresponding thing Business processing thread and the operation that sign increase preset value will be read, until determining that the occupancy of buffer area is identified as the second mark Know.
6. a kind of diostribution device of initial dialog protocol SIP messages, which is characterized in that including:
Receiving unit, the receiving unit receive sip message for receiving using receiving thread, and the sip message includes meeting Corresponding first Subscriber Number of output end and the corresponding second user number of session receiving terminal are talked about, according to first Subscriber Number Determine the corresponding issued transaction unit of the sip message with second user number, and by the sip message cache to the thing It is engaged in the corresponding buffer unit of processing unit;
At least one Dispatching Unit, at least one Dispatching Unit are single from corresponding caching parallel using respective dispatch thread Buffered sip message is obtained in member, and the buffered sip message is distributed to the buffered sip message and is corresponded to Issued transaction unit;
Wherein, buffer unit and issued transaction unit correspond, and Dispatching Unit corresponds at least one buffer unit.
7. device according to claim 6, which is characterized in that the Dispatching Unit is additionally operable to, and is adopted in the Dispatching Unit With dispatch thread before obtaining buffered sip message in corresponding buffer unit, judged using dispatch thread corresponding slow Whether buffered sip message is had in memory cell;If so, whether the Dispatching Unit judges corresponding issued transaction unit by it Its process locks, if it is not, the Dispatching Unit locks corresponding issued transaction unit;
Accordingly, the Dispatching Unit is additionally operable to, in the sip message that the Dispatching Unit will be buffered in corresponding buffer unit It is distributed to after corresponding issued transaction unit, is released to the buffered corresponding issued transaction of sip message using dispatch thread The locking of unit.
8. device according to claim 7, which is characterized in that the buffer unit includes sip message queue, described Sip message queue includes writing index field and multiple buffer areas, wherein the index field of writing includes writing sign, respectively The buffer area includes station location marker, it is described write sign be used to indicate the receiving unit using receiving thread it is currently writeable Buffer area;
When the receiving unit be used for using receiving thread by sip message cache to the sip message issued transaction unit pair When the buffer unit answered, the receiving unit is specifically used for, and is cached the first sip message to described first using receiving thread First buffer area of the corresponding buffer unit of sip message;Wherein, first sip message is that receiving unit uses receiving thread Any sip message received, it is identical that the station location marker of the first buffer area with first writes sign;Described first writes sign Write that index field is corresponding to write sign described in when to cache the sip message;
Receiving unit writes sign by described first using receiving thread and increases by a preset value, obtains second and writes sign, It is write in the identical buffer area of sign with described second so that the second sip message is cached to station location marker, the 2nd SIP disappears Breath is that subsequent time is cached to the sip message of the corresponding buffer unit of first sip message.
9. device according to claim 8, which is characterized in that further include reading index field, institute in the sip message queue It includes reading sign to state and read index field, and the sign of reading is used to indicate the current readable caching of the receiving thread Area;
When the Dispatching Unit judges whether to have buffered sip message in corresponding buffer unit using dispatch thread, institute Dispatching Unit is stated to be specifically used for,
The occupancy mark of the second buffer area in corresponding buffer unit, the position of second buffer area are obtained using dispatch thread It identifies identical with the first reading sign of reading index field;The first reading sign is to start to judge corresponding delay Memory cell reads index field corresponding reading sign when whether having buffered message;
If the occupancy is identified as first identifier, it is determined that corresponding buffer unit has the buffered sip message, In, the first identifier is used to indicate buffer area and is stored with sip message;If the buffered sip message is that write-in first is slow The sip message in area is deposited, then second buffer area and first buffer area are same buffer area;
If the occupancy is identified as second identifier, it is determined that there is no the buffered sip message in corresponding buffer unit, In, the second identifier is used to indicate buffer area and does not store sip message.
10. device according to claim 9, which is characterized in that when the Dispatching Unit is used for using dispatch thread from right Buffered sip message is obtained in the buffer unit answered, and the buffered sip message is distributed to described buffered When the corresponding issued transaction unit of sip message, the Dispatching Unit is specifically used for,
The corresponding buffered sip message of second buffer area is obtained using dispatch thread, second buffer area is corresponded to Buffered sip message be distributed to corresponding issued transaction unit;
Sign is read by described first using dispatch thread and increases by a preset value, obtains the second reading sign;
The occupancy mark of third buffer area is obtained using dispatch thread, and after determining that the occupancy is identified as first identifier, is obtained The corresponding buffered sip message of third buffer area is taken, the corresponding buffered sip message of the third buffer area is distributed to Corresponding issued transaction unit;The station location marker of the third buffer area is identical with the second reading sign;
Sign is read by described second using dispatch thread and increases by a preset value, third is obtained and reads sign;
Repeat obtain station location marker with it is current obtain the moment corresponding occupancy for reading the identical buffer area of sign identify, The corresponding buffered sip message of buffer area is obtained, and the corresponding buffered sip message of buffer area is distributed to corresponding thing Business processing unit and the operation that sign increase preset value will be read, until determining that the occupancy of buffer area is identified as the second mark Know.
CN201710097610.1A 2017-02-22 2017-02-22 The distribution method and device of initial dialog protocol SIP messages Pending CN108462682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710097610.1A CN108462682A (en) 2017-02-22 2017-02-22 The distribution method and device of initial dialog protocol SIP messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710097610.1A CN108462682A (en) 2017-02-22 2017-02-22 The distribution method and device of initial dialog protocol SIP messages

Publications (1)

Publication Number Publication Date
CN108462682A true CN108462682A (en) 2018-08-28

Family

ID=63220129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710097610.1A Pending CN108462682A (en) 2017-02-22 2017-02-22 The distribution method and device of initial dialog protocol SIP messages

Country Status (1)

Country Link
CN (1) CN108462682A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656730A (en) * 2018-12-20 2019-04-19 东软集团股份有限公司 A kind of method and apparatus of access cache

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874538A (en) * 2005-07-20 2006-12-06 华为技术有限公司 Concurrent method for treating calling events
CN101127766A (en) * 2007-09-24 2008-02-20 中兴通讯股份有限公司 Message processing method, device and IP communication system based on SIP protocol
CN101179552A (en) * 2007-12-04 2008-05-14 中兴通讯股份有限公司 Method and system for processing user data protocol information
CN101227341A (en) * 2007-12-18 2008-07-23 浪潮电子信息产业股份有限公司 Method for fast catching Ethernet card on Linux system
CN101715171A (en) * 2009-11-04 2010-05-26 中兴通讯股份有限公司 Device and method for integrated service management platform (ISMP) cluster access
CN101826003A (en) * 2010-04-16 2010-09-08 中兴通讯股份有限公司 Multithread processing method and device
CN101882089A (en) * 2009-05-07 2010-11-10 中兴通讯股份有限公司 Method for processing business conversational application with multi-thread and device thereof
CN102624889A (en) * 2012-03-06 2012-08-01 河海大学 Mass data concurrency processing method based on receiving and processing separation
US20140156330A1 (en) * 2012-12-04 2014-06-05 Genesys Telecommunications Laboratories, Inc. Distributed agent reservation in sip cluster
CN104243483A (en) * 2014-09-24 2014-12-24 海信集团有限公司 Message processing method and message processing equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874538A (en) * 2005-07-20 2006-12-06 华为技术有限公司 Concurrent method for treating calling events
CN101127766A (en) * 2007-09-24 2008-02-20 中兴通讯股份有限公司 Message processing method, device and IP communication system based on SIP protocol
CN101179552A (en) * 2007-12-04 2008-05-14 中兴通讯股份有限公司 Method and system for processing user data protocol information
CN101227341A (en) * 2007-12-18 2008-07-23 浪潮电子信息产业股份有限公司 Method for fast catching Ethernet card on Linux system
CN101882089A (en) * 2009-05-07 2010-11-10 中兴通讯股份有限公司 Method for processing business conversational application with multi-thread and device thereof
CN101715171A (en) * 2009-11-04 2010-05-26 中兴通讯股份有限公司 Device and method for integrated service management platform (ISMP) cluster access
CN101826003A (en) * 2010-04-16 2010-09-08 中兴通讯股份有限公司 Multithread processing method and device
CN102624889A (en) * 2012-03-06 2012-08-01 河海大学 Mass data concurrency processing method based on receiving and processing separation
US20140156330A1 (en) * 2012-12-04 2014-06-05 Genesys Telecommunications Laboratories, Inc. Distributed agent reservation in sip cluster
CN104243483A (en) * 2014-09-24 2014-12-24 海信集团有限公司 Message processing method and message processing equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656730A (en) * 2018-12-20 2019-04-19 东软集团股份有限公司 A kind of method and apparatus of access cache

Similar Documents

Publication Publication Date Title
CN105812287B (en) Efficient circuit in packet switching network
CN108667719A (en) A kind of real-time Message Passing method and system
CN110149392A (en) A kind of management method and device of PUSH message
EP2466824A1 (en) Service scheduling method and device
CN101510884A (en) Multimedia conference management method, network device and network system
CN105282730B (en) Terminal communications status acquisition methods and system and application server in IMS network
CN106411976B (en) Online game trustship method and system, server
CN108848530A (en) A kind of method, apparatus and dispatch server obtaining Internet resources
CN106302647A (en) message distributing method and server
CN103248656B (en) Method for achieving data reading and writing as well as DSF (distributed file system) and client side
CN109831536A (en) A kind of front end load balancing service degradated system and method
CN109391794A (en) Video conference multiparty control method, apparatus, storage medium and computer equipment
CN102957594A (en) Message queue-based message processing method, related device and system
CN109542627A (en) Node switching method, device, supervisor, node device and distributed system
CN111436162B (en) Processing method and equipment
CN108462682A (en) The distribution method and device of initial dialog protocol SIP messages
CN107566270A (en) The processing method and processing device that a kind of resource accesses
CN108156305A (en) A kind of communicating number processing method, device and terminal
CN105634931B (en) Message service processing method and instant communication server
CN106657172A (en) Method and device for realizing information push
CN105871686A (en) Message receiving method and intelligent terminal in converged communication
CN106897124A (en) A kind of multi-tenant request processing method, device and equipment
CN114024968B (en) Message sending method and device based on intermediate equipment and electronic equipment
CN101137972A (en) Self-adaptive multicast file transfer protocol
CN103905664B (en) A kind of methods, devices and systems of selection multipoint control unit

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180828

RJ01 Rejection of invention patent application after publication