CN102202066A - Session initiation protocol (SIP) message distribution system, device and method - Google Patents
Session initiation protocol (SIP) message distribution system, device and method Download PDFInfo
- Publication number
- CN102202066A CN102202066A CN2011101717412A CN201110171741A CN102202066A CN 102202066 A CN102202066 A CN 102202066A CN 2011101717412 A CN2011101717412 A CN 2011101717412A CN 201110171741 A CN201110171741 A CN 201110171741A CN 102202066 A CN102202066 A CN 102202066A
- Authority
- CN
- China
- Prior art keywords
- message
- sip
- distribution
- distribution rules
- module
- 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
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a session initiation protocol (SIP) message distribution system, device and method. The system comprises an SIP server, multiple SIP application servers and an SIP message distribution device, wherein the SIP server is connected with each SIP application server through the SIP message distribution device; the SIP message distribution device is used for generating a distribution rule, and distributing the SIP messages which are distributed to the multiple SIP application servers by the SIP server according to the distribution rule, wherein the SIP messages meeting the distribution rule are distributed to corresponding SIP application servers, and the SIP messages not meeting the distribution rule are subjected to default processing. According to the invention, the function of the SIP server is simplified and a special device is used for distributing the SIP messages flowing to the SIP application servers, thereby improving the distribution speed and efficiency of SIP messages and solving the problems of low SIP message processing efficiency of the SIP server and congestion control.
Description
Technical field
The present invention relates to data processing and transmission field, particularly relate to a kind of conversation initialization protocol message dissemination system, apparatus and method.
Background technology
The exploitation purpose of SIP (Session Initiation Protocol, conversation initialized protocol) is with helping provide the senior telephone service of crossing over the internet.IP (Internet Protocol, Internet Protocol) phone is to a kind of formal business telephone schema evolution, SIP is used for guaranteeing that this evolution realizes and important a member in NGN (Next Generation Network, the next generation network) serial protocols that needs.
SIP is IETF (Internet Engineering Task Force, Internet engineering duty group) part of standard process, it is such as SMTP (Simple Mail Transport Protocol, simple message transfer protocol (SMTP)) and set up on HTTP (HyperText Transfer Protocol, the HTTP) basis.SIP is described to generating, revise and terminate session between one or more participants, and these sessions comprise the internet multimedia meeting, internet (or any IP network) call and multimedia issue.Member in the session can communicate by letter by the network of multicast or clean culture contact.SIP supports conversation description, and it allows the participant to reach an agreement on one group of compatible media types.It supports user mobility by agency and redirect request to user's current location simultaneously.SIP does not bundle with any specific meeting control protocol.
SIP is that therefore, Session Initiation Protocol has following obvious superiority in conjunction with the agreement of Internet design:
(1) You Yi extensibility, the bigger system processing power that improved;
(2) combine closely with Internet, make communication more easily convenient;
(3) Zhuo Yue opening not only can provide good support to mobile devices such as mobile phone, PDA, also can finish well for multimedia application such as online instant interchange, voice and video transfer of data.
Referring to shown in Figure 1, in existing SIP network configuration, sip server (SIP Server) is directly connected to a plurality of sip application servers (SIP Application Server, SIP AS).
Sip server adopts the IP bearing mode, and the function that provides has: calling out control and processing capacity, business provides/support function, subscriber management function, protocol processes function, route processing, access authentication, charge information collection, Operation and Maintenance/network management function, IWF, safety function, black and white lists function etc.
Sip application server is control and carries out and store on it, based on the functional entity of Session Initiation Protocol business, is to use the vitals of SIP as the communication network of Multimedia session control protocol.Sip server obtains information with routing call from sip application server.
In existing technology, sip server has been born too much function, causes sip server treatment S IP message inefficiency, and especially in large scale system, sip server is easy to occur system congestion when heavy traffic; If adopt the sip server dilatation way to solve congestion problems, then be easy to again cause the sip server system numerous and jumbled, cause the device resource waste, problem such as utilization rate of equipment and installations is not high.
Summary of the invention
The objective of the invention is in order to overcome the deficiency of above-mentioned background technology, a kind of conversation initialization protocol message dissemination system, apparatus and method are provided, simplified the function of sip server, improve the distribution speed and the efficient of sip message, solved the problem of sip server treatment S IP message inefficiency and congested control simultaneously.
Conversation initialization protocol message dissemination system provided by the invention, comprise Session initiation protocol SIP server and a plurality of sip application server, also comprise the sip message dispensing device, described sip server is connected with each sip application server by the sip message dispensing device, described sip message dispensing device is used for: generate distribution rules, and according to described distribution rules, the sip message that sip server is mail to a plurality of sip application servers is distributed, the sip message that satisfies distribution rules is mail to corresponding sip application server, the sip message that does not satisfy distribution rules is carried out default treatment.
In technique scheme, described sip message dispensing device comprises message resolution module, distribution rules generation module, distribution rules Executive Module and message distribution module, described message resolution module is used for: receive sip message from sip server, and sip message resolved the analysis result information that obtains, send message by analysis result analysis result information is sent to the distribution rules Executive Module; Described distribution rules generation module is used for: generate the sip message distribution rules according to the outside input, send message by rule described distribution rules is sent to the distribution rules Executive Module; Described distribution rules Executive Module is used for: receive described rule from the distribution rules generation module and send message, from wherein parsing the sip message distribution rules, according to the distribution rules that parses, the analysis result information that receives from message resolution module is compared, generate sip message distribution indication according to comparison result, described sip message distribution indication is sent to the message distribution module, and the distribution of not satisfying the sip message of distribution rules is designated as default treatment; Described message distribution module is used for: receive sip message distribution indication from the distribution rules Executive Module, according to described sip message distribution indication sip message is distributed to corresponding sip application server, the sip message that distribution is designated as default treatment carries out default treatment.
In technique scheme, described default treatment is for abandoning this sip message and abandoning the result to the sip server feedback.
Conversation initialization protocol message dispensing device provided by the invention, comprise message resolution module, distribution rules generation module, distribution rules Executive Module and message distribution module, described message resolution module is used for: receive sip message from sip server, and sip message resolved the analysis result information that obtains, send message by analysis result analysis result information is sent to the distribution rules Executive Module; Described distribution rules generation module is used for: generate the sip message distribution rules according to the outside input, send message by rule described distribution rules is sent to the distribution rules Executive Module; Described distribution rules Executive Module is used for: receive described rule from the distribution rules generation module and send message, from wherein parsing the sip message distribution rules, according to the distribution rules that parses, the analysis result information that receives from message resolution module is compared, generate sip message distribution indication according to comparison result, described sip message distribution indication is sent to the message distribution module, and the distribution of not satisfying the sip message of distribution rules is designated as default treatment; Described message distribution module is used for: receive sip message distribution indication from the distribution rules Executive Module, according to described sip message distribution indication sip message is distributed to corresponding sip application server, the sip message that distribution is designated as default treatment carries out default treatment.
In technique scheme, described message resolution module, message distribution module, distribution rules generation module and distribution rules Executive Module are positioned at same physical entity.
In technique scheme, described rule sends message and analysis result transmission message is privately owned intermodule textcommunication message.
Conversation initialization protocol message distribution method provided by the invention may further comprise the steps:
Steps A, the distribution rules that sip message is distributed is set according to outside input;
Step B, the sip message that sip server mails to a plurality of sip application servers is distributed according to described distribution rules.
In technique scheme, described distribution rules is provided with according to the type of sip application server.
In technique scheme, the type of described sip application server comprises: server of instant message, Conference server, phone value-added service server and media server.
In technique scheme, described outside is input as webmaster or system operation service equipment.
Compared with prior art, advantage of the present invention is as follows:
The present invention has set up the sip message dispensing device on the basis of existing SIP network, this sip message dispensing device generates distribution rules, and according to the distribution rules that generates, the sip message that sip server is mail to a plurality of sip application servers is distributed.Because the distribution of sip message is carried out by special device, has simplified the function of sip server, bigger distribution speed and the efficient that has improved sip message has solved the problem of sip server treatment S IP message inefficiency and congested control simultaneously.
Description of drawings
Fig. 1 is the structured flowchart of existing SIP network;
Fig. 2 is the structured flowchart of sip message dissemination system in the embodiment of the invention;
Fig. 3 is the structured flowchart of sip message dispensing device in the embodiment of the invention;
Fig. 4 is the flow chart of sip message distribution method in the embodiment of the invention.
Embodiment
The present invention is described in further detail below in conjunction with drawings and Examples.
Referring to shown in Figure 2, the conversation initialization protocol message dissemination system that the embodiment of the invention provides comprises: sip server, a plurality of sip application servers and sip message dispensing device, sip server is connected with each sip application server by the sip message dispensing device, the sip message dispensing device is used for: generate distribution rules, and according to described distribution rules, the sip message that sip server is mail to a plurality of sip application servers is distributed, the sip message that satisfies distribution rules is mail to corresponding sip application server, the sip message that does not satisfy distribution rules is carried out default treatment.
Referring to shown in Figure 3, the sip message dispensing device in the embodiment of the invention comprises: message resolution module, distribution rules generation module, distribution rules Executive Module and message distribution module, all modules are positioned on the same physical entity.
Message resolution module receives sip message from sip server, and sip message is resolved the analysis result information that obtains; Further, message resolution module sends message by analysis result analysis result information is sent to the distribution rules Executive Module.
The distribution rules generation module generates the sip message distribution rules according to outside input (being webmaster or operation of equipment maintenance system), sends message by rule the sip message distribution rules is sent to the distribution rules Executive Module.
The distribution rules Executive Module receives rule from the distribution rules generation module and sends message, and from wherein parsing the sip message distribution rules; Further, the distribution rules Executive Module is compared to the analysis result information that receives from message resolution module according to the distribution rules that parses, and according to comparison result, the Indication message distribution module is distributed to corresponding sip application server with sip message, the distribution of not satisfying the sip message of distribution rules is designated as default treatment, promptly for the sip message that does not satisfy any distribution rules, distribution rules Executive Module Indication message distribution module abandons this sip message, and abandons the result to the sip server feedback.
The message distribution module receives sip message distribution indication from the distribution rules Executive Module, according to sip message distribution indication, sip message is distributed to corresponding sip application server, the sip message that distribution is designated as default treatment carries out default treatment, promptly abandon this sip message, and abandon the result to the sip server feedback.
Above-mentioned rule sends message and analysis result transmission message is new privately owned intermodule textcommunication message, can adopt socket (Socket) mode to carry out the transmission and the reception of privately owned intermodule textcommunication message.
Based on above-mentioned sip message dissemination system and device, the embodiment of the invention also provides a kind of sip message distribution method, may further comprise the steps:
Steps A, the distribution rules that sip message is distributed is set according to outside input;
Step B, the sip message that sip server mails to a plurality of sip application servers is distributed according to described distribution rules.
Referring to shown in Figure 4, the specific implementation process of embodiment of the invention method is as follows:
Step S1: the sip message distribution rules is set, and particularly, the distribution rules generation module generates the sip message distribution rules according to webmaster or the input of operation of equipment maintenance system, sends message by rule the sip message distribution rules is sent to the distribution rules Executive Module; The distribution rules Executive Module receives rule from the distribution rules generation module and sends message, and from wherein parsing the sip message distribution rules, thereby the sip message dispensing device is provided with.
Preferably, regular transmission packet contains following parameter:
Type of message | Message transmission module | The message sink module | Distribution rules 1 | …… | Distribution rules N |
Wherein, type of message indication rule sends the type of message, for example is to send message or response etc.; Message transmission module and message sink module be the source and destination of Indication message respectively, for example regular generation module or rule execution module etc.; The sip message distribution rules that distribution rules indication distribution rules Executive Module need be provided with.
Preferably, distribution rules comprises following parameter:
Number of regulation | The application server type | Application server address |
Wherein, the sequence number of number of regulation indication distribution rules is as 1,2,3 etc.; The type of application server type indication sip application server, for example server of instant message, Conference server, phone value-added service server etc.; The address of application server address indication sip application server, for example IP address or URL (Uniform Resource Locator, URL(uniform resource locator) is also referred to as web page address) address etc.
Step S2:SIP message dispensing device receives sip message and resolves, and particularly, message resolution module receives sip message from sip server, and sip message is resolved the analysis result information that obtains; Further, message resolution module sends message by analysis result analysis result information is sent to the distribution rules Executive Module.
Preferably, the analysis result transmission packet contains following parameter:
Type of message | Message transmission module | The message sink module | The message sequence number | The application server type |
Wherein, type of message indication analysis result sends the type of message, for example is to send message or response etc.; Message transmission module and message sink module be the source and destination of Indication message respectively, for example message resolution module or rule execution module etc.; The message sequence number is indicated the position of resolved sip message in receiving sequence, is numeral or pointer etc.; The type of application server type indication sip application server, for example server of instant message, Conference server, phone value-added service server etc.
Step S3:SIP message dispensing device is according to distribution rules, the sip message analysis result is compared, particularly, the distribution rules Executive Module is according to the distribution rules that sets among the step S1, the analysis result information that receives from message resolution module is compared, for example compare, draw this sip message and should be distributed to which sip application server according to the application server type.
Step S4: the distribution rules Executive Module judges whether sip message satisfies distribution rules, if then forward step S5 to; Otherwise, forward step S6 to.
Step S5:SIP message dispensing device is distributed to corresponding sip application server with sip message, be exactly particularly, the message distribution module receives sip message distribution indication from the distribution rules Executive Module, get access to the sequence number and the purpose sip application server address of distribution sip message, the sip message of obtaining distribution according to the sip message sequence number from message sequence sends to the corresponding target sip application server.
Step S6:SIP message dispensing device abandons sip message, and abandons the result to the sip server feedback, is exactly that to not satisfying the sip message of any distribution rules, distribution rules Executive Module Indication message distribution module carries out default treatment particularly.According to the rule of default treatment, the message distribution module abandons this sip message, and abandons the result to the sip server feedback, and the method for feedback can be to send SIP form message, for example Notify message.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
The content that is not described in detail in this specification belongs to this area professional and technical personnel's known prior art.
Claims (10)
1. conversation initialization protocol message dissemination system, comprise Session initiation protocol SIP server and a plurality of sip application server, it is characterized in that: also comprise the sip message dispensing device, described sip server is connected with each sip application server by the sip message dispensing device, described sip message dispensing device is used for: generate distribution rules, and according to described distribution rules, the sip message that sip server is mail to a plurality of sip application servers is distributed, the sip message that satisfies distribution rules is mail to corresponding sip application server, the sip message that does not satisfy distribution rules is carried out default treatment.
2. conversation initialization protocol message dissemination system as claimed in claim 1 is characterized in that: described sip message dispensing device comprises message resolution module, distribution rules generation module, distribution rules Executive Module and message distribution module,
Described message resolution module is used for: receive sip message from sip server, and sip message is resolved the analysis result information that obtains, send message by analysis result analysis result information is sent to the distribution rules Executive Module;
Described distribution rules generation module is used for: generate the sip message distribution rules according to the outside input, send message by rule described distribution rules is sent to the distribution rules Executive Module;
Described distribution rules Executive Module is used for: receive described rule from the distribution rules generation module and send message, from wherein parsing the sip message distribution rules, according to the distribution rules that parses, the analysis result information that receives from message resolution module is compared, generate sip message distribution indication according to comparison result, described sip message distribution indication is sent to the message distribution module, and the distribution of not satisfying the sip message of distribution rules is designated as default treatment;
Described message distribution module is used for: receive sip message distribution indication from the distribution rules Executive Module, according to described sip message distribution indication sip message is distributed to corresponding sip application server, the sip message that distribution is designated as default treatment carries out default treatment.
3. conversation initialization protocol message dissemination system as claimed in claim 1 or 2 is characterized in that: described default treatment is for abandoning this sip message and abandoning the result to the sip server feedback.
4. conversation initialization protocol message dispensing device is characterized in that: comprise message resolution module, distribution rules generation module, distribution rules Executive Module and message distribution module,
Described message resolution module is used for: receive sip message from sip server, and sip message is resolved the analysis result information that obtains, send message by analysis result analysis result information is sent to the distribution rules Executive Module;
Described distribution rules generation module is used for: generate the sip message distribution rules according to the outside input, send message by rule described distribution rules is sent to the distribution rules Executive Module;
Described distribution rules Executive Module is used for: receive described rule from the distribution rules generation module and send message, from wherein parsing the sip message distribution rules, according to the distribution rules that parses, the analysis result information that receives from message resolution module is compared, generate sip message distribution indication according to comparison result, described sip message distribution indication is sent to the message distribution module, and the distribution of not satisfying the sip message of distribution rules is designated as default treatment;
Described message distribution module is used for: receive sip message distribution indication from the distribution rules Executive Module, according to described sip message distribution indication sip message is distributed to corresponding sip application server, the sip message that distribution is designated as default treatment carries out default treatment.
5. conversation initialization protocol message dispensing device as claimed in claim 4 is characterized in that: described message resolution module, message distribution module, distribution rules generation module and distribution rules Executive Module are positioned at same physical entity.
6. as claim 4 or 5 described conversation initialization protocol message dispensing devices, it is characterized in that: described rule sends message and analysis result transmission message is privately owned intermodule textcommunication message.
7. conversation initialization protocol message distribution method is characterized in that may further comprise the steps:
Steps A, the distribution rules that sip message is distributed is set according to outside input;
Step B, the sip message that sip server mails to a plurality of sip application servers is distributed according to described distribution rules.
8. conversation initialization protocol message distribution method as claimed in claim 7 is characterized in that: described distribution rules is provided with according to the type of sip application server.
9. conversation initialization protocol message distribution method as claimed in claim 8 is characterized in that: the type of described sip application server comprises: server of instant message, Conference server, phone value-added service server and media server.
10. as the described conversation initialization protocol message distribution method of each claim in the claim 6 to 9, it is characterized in that: described outside is input as webmaster or system operation service equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110171741.2A CN102202066B (en) | 2011-06-24 | 2011-06-24 | Session initiation protocol (SIP) message distribution system, device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110171741.2A CN102202066B (en) | 2011-06-24 | 2011-06-24 | Session initiation protocol (SIP) message distribution system, device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102202066A true CN102202066A (en) | 2011-09-28 |
CN102202066B CN102202066B (en) | 2014-12-24 |
Family
ID=44662461
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110171741.2A Active CN102202066B (en) | 2011-06-24 | 2011-06-24 | Session initiation protocol (SIP) message distribution system, device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102202066B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1705305A (en) * | 2004-06-03 | 2005-12-07 | 华为技术有限公司 | Method and apparatus for implementing character string matching during session initiated protocol message distributing process |
CN101166176A (en) * | 2006-10-19 | 2008-04-23 | 中兴通讯股份有限公司 | Method fro dynamic load balance in distributed system based on session origination protocol |
CN101345760A (en) * | 2008-08-01 | 2009-01-14 | 中兴通讯股份有限公司 | System and method for implementing dynamic distribution of conversation inceptive protocol message |
CN101989922A (en) * | 2009-07-31 | 2011-03-23 | 国际商业机器公司 | Method and system for recovering session initial protocol affairs |
-
2011
- 2011-06-24 CN CN201110171741.2A patent/CN102202066B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1705305A (en) * | 2004-06-03 | 2005-12-07 | 华为技术有限公司 | Method and apparatus for implementing character string matching during session initiated protocol message distributing process |
CN101166176A (en) * | 2006-10-19 | 2008-04-23 | 中兴通讯股份有限公司 | Method fro dynamic load balance in distributed system based on session origination protocol |
CN101345760A (en) * | 2008-08-01 | 2009-01-14 | 中兴通讯股份有限公司 | System and method for implementing dynamic distribution of conversation inceptive protocol message |
CN101989922A (en) * | 2009-07-31 | 2011-03-23 | 国际商业机器公司 | Method and system for recovering session initial protocol affairs |
Also Published As
Publication number | Publication date |
---|---|
CN102202066B (en) | 2014-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8155672B2 (en) | Scalable geo-location event processing | |
CN103501484A (en) | Methods and apparatus for managing group membership for group communications | |
JP5550627B2 (en) | Group communication in communication systems | |
CN101682616A (en) | Network multimedia communication using multiple devices | |
CN1969582A (en) | Session establishment for real-time media communication service | |
CN102461098A (en) | System and methods for integrating short message service messaging with contact center applications | |
JP2007221265A (en) | Call control device and method | |
US20150373199A1 (en) | Non-IMS Rich Communication Suite | |
CN102413120A (en) | Methods and devices for authorization in collaborative communications sessions | |
CN109964467A (en) | The control based on node type for auxiliary data flow transmission | |
JP2008283685A (en) | System, method and terminal for multimedia broadcast/multicast service data transmission | |
CN101364901B (en) | Legal listening method, legal listening system, packet data gateway, listening center | |
CN203504603U (en) | Server configuration of mobile Internet voice community | |
KR101061302B1 (en) | Communication delivery report providing method, communication delivery report transmitting and receiving device, signaling message generating and receiving module, communication delivery report transmitting and receiving system | |
KR20090087791A (en) | Converged ip messaging service system and method for interworking with non-converged ip messaging services | |
CN101163022B (en) | Point-to-point communication charging method and communication system and charging device | |
CN101399781B (en) | Message sending method, system, device and message server | |
CN103039054B (en) | For transmitting the method and apparatus of application identities symbol across application element thereof | |
US8537824B2 (en) | Method, system and devices for processing messages in multimedia messaging service | |
US8285252B2 (en) | Charging method, system and apparatus | |
CN102202066B (en) | Session initiation protocol (SIP) message distribution system, device and method | |
CN101635672B (en) | Device and method for realizing convergence service session in group mode | |
WO2010009642A1 (en) | Method, system and device for implementing short message among enterprises | |
CN105282115A (en) | Method and device for realization of RCS (Rich Communication Suite) system communication | |
CN101400121B (en) | Method, system and regional location server for centralized register |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |