CN101083617B - Session initializtion protocol service routing method and system - Google Patents

Session initializtion protocol service routing method and system Download PDF

Info

Publication number
CN101083617B
CN101083617B CN2007100761981A CN200710076198A CN101083617B CN 101083617 B CN101083617 B CN 101083617B CN 2007100761981 A CN2007100761981 A CN 2007100761981A CN 200710076198 A CN200710076198 A CN 200710076198A CN 101083617 B CN101083617 B CN 101083617B
Authority
CN
China
Prior art keywords
sip
service
business module
message
session
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.)
Expired - Fee Related
Application number
CN2007100761981A
Other languages
Chinese (zh)
Other versions
CN101083617A (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2007100761981A priority Critical patent/CN101083617B/en
Publication of CN101083617A publication Critical patent/CN101083617A/en
Application granted granted Critical
Publication of CN101083617B publication Critical patent/CN101083617B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention applies to communication field, providing a session initialization protocol service routing method and system, where the method comprises the steps of: receiving SIP message, and according to service type of the SIP message, obtaining the corresponding service characteristic message to the SIP message; routing the SIP message to the corresponding SIP service block, according to SIP message-related SIP service block message in the obtained service characteristic message. And the invention configures SIP services into independent service blocks and routes services via service route to related service blocks, implementing decoupling between services and supporting flexible extension and removal of SIP services and having good applicability.

Description

A kind of session initializtion protocol service routing method and system
Technical field
The invention belongs to the communications field, relate in particular to a kind of session initializtion protocol service routing method and system.
Background technology
(Session Initiation Protocol is based on RFC3261 SIP) to conversation initialized protocol, and in conjunction with the protocol suite of supporting that various Application Expansion agreements grow up, comprises RFC3262, RFC3263, RFC3264 and RFC3265 etc.Session Initiation Protocol for create between in many ways, revise, a kind of means of having ended the session standard, can be used for application scenarios such as IP phone, multimedia conferencing, (3rd Generation 3G) is applied in the field such as mobile communication at next generation network, the third generation.In present Session Initiation Protocol, intercouple between the miscellaneous service closely, professional control difficulty is big, is difficult to professional newly-increased expansion or the dismounting of flexible realization, and business structure is difficult to realize inheriting and unification.
Summary of the invention
The embodiment of the invention provides a kind of session initializtion protocol service routing method, is intended to solve in the existing Session Initiation Protocol owing to intercouple closely between the business, causes professional control difficulty big, is difficult to realize flexibly the professional newly-increased expansion or the problem of dismounting.
The SIP service routing system embodiment of the invention is achieved in that a kind of session initializtion protocol service routing method, and described method comprises the steps:
The SIP business configuration is SIP business module independently;
According to the service feature information of the SIP business module configuration sip message of configuration, include SIP business module information in the described service feature information with the type association of sip message;
Receive sip message, obtain and this sip message corresponding service characteristic information according to the type of service of described sip message;
According to the SIP business module information of this sip message association that is comprised in the service feature information of obtaining, described sip message is routed to corresponding SIP business module.
The embodiment of the invention also provides a kind of session initializtion protocol service route system SIP service routing system, and described system comprises:
The business module dispensing unit is used for the SIP business configuration is SIP business module independently;
Service feature information configuration unit is used for the service feature information according to the SIP business module configuration sip message of configuration, includes the SIP business module information with the type association of sip message in the described service feature information;
The service feature information acquisition unit is used to receive sip message, obtains and this sip message corresponding service characteristic information according to the type of service of described sip message; And
Professional routing unit is used for the SIP business module information of this sip message association of being comprised according to the service feature information of obtaining, and described sip message is routed to corresponding SIP business module.
The embodiment of the invention becomes independently business module with the SIP business configuration, routes traffic toward the related service piece by professional route, has realized the decoupling zero between business, supports the flexible expansion and the dismounting of SIP business, has favorable applicability.
Description of drawings
Fig. 1 is the schematic diagram of the professional route of the SIP that provides of the embodiment of the invention;
Fig. 2 be the professional second grade highway of the SIP that provides of the embodiment of the invention by schematic diagram;
Fig. 3 is the structure chart of the SIP service routing system that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention is configured to independently business module with the main business of Session Initiation Protocol, various activating business, and carries out professional route between business module by professional route, thereby the flexible expansion and the dismounting of SIP business are supported in the decoupling zero between the realization business.
In embodiments of the present invention, the SIP business configuration is SIP business module independently, dispose the service feature information of sip message then according to the SIP business module of configuration, the associated SIP business module information of sip message that includes respective type in the service feature information, for example title of SIP business module, sign or route indication information etc.When configuration SIP business module, can be SIP business module independently with having the SIP service detach now, also can be according to existing SIP business module, and the newly-increased extended field of newly-increased message or original message disposes new SIP business module.When disposing the service feature information of sip message according to the SIP business module that disposes, can in the service feature information of sip message, add the associated new SIP business module information of this sip message, perhaps the associated existing SIP business module information of this sip message of deletion in the service feature information of sip message.
As shown in Figure 1,0 grade of professional route receives sip message, obtain and this sip message corresponding service characteristic information according to the type of service of this sip message, the SIP business module information that includes this sip message association in the service feature information, according to the SIP business module information of this sip message association, this sip message is routed to corresponding SIP business module then.When sip message need be routed to the next stage business module, by the service feature information of 1 grade of professional route, it is routed to corresponding next stage business module according to sip message, and the like.
In embodiments of the present invention, will have the SIP service detach now for ordering related service piece (SubscriptionDependent Service Block), the irrelevant business module (Dialog Independent Block) of dialogue and session related service piece (Session Dependent Service Block).If newly-increased certain new business can increase new business module type separately.
For the sip message of the new expansion of stipulating in the new Extended Protocol, or newly expanded the existing sip message of header field or parameter field, can be according to this Extended Protocol redetermination or the service feature information that expands related sip message.For example RFC3262 has stipulated a kind of reliable transmission mechanism to the Temporary Response among the RFC3261, its to the 1XX extension of message 1xxRel field, the message that relates to this Extended Protocol comprises INVITE (needs participate in the 1XXRel capability negotiation), the 1XX Response message of INVITE (needing to participate in the 1XXRel capability negotiation), the 2XX Response message of INVITE (need whether stop the flow process of 1XX) according to the decision of 0xxRel negotiation result, PRACK message (RFC3262 increases message newly), the 1XX Response message of Re-Invite message and Re-Invite message and 2XX Response message.For the 3XX-6XX message of INVITE and Re-Invite message,, also can the flow process of 1XXRel message definition be exerted an influence because relate to end of calling.From the above, the traffic performance of 1XXRel message is only relevant with session related service piece among the RFC3261, all has nothing to do with order related service piece and the irrelevant business module of the dialogue among the RFC3261 among the RFC3265.Simultaneously, in relating to the relevant message of session related service piece, as mentioned above, all traffic performance is relevant therewith for the 1XX-6XX Response message of the 1XX-6XX Response message of INVITE, INVITE, Re-Invite message, Re-Invite message.Therefore, can increase a kind of business module type in that session related service piece is inner, i.e. the 1XXRel piece of activating business.And in the service feature information of the 1XX-6XX Response message that relates to the 1XX-6XX Response message of the INVITE of this traffic performance, INVITE, Re-Invite message, Re-Invite message, increasing " 1XXRel activate business piece relevant " describes, thereby when the Session Initiation Protocol stack is received these message, can it be routed to this piece of activating business according to this service feature information and handle.
In embodiments of the present invention, do not need further to carry out the business module division for ordering the irrelevant business module of related service piece and dialogue.To session related service piece, because SIP main body agreement RFC3261 has stipulated detailed session (Session) mainline processing flow process, and mostly the main expansion of Session Initiation Protocol is Session is carried out flow process or service feature expansion, respectively activating business all is optionally, and the main line flow process then is initial essential.According to RFC3261 agreement regulation, Session is based on dialogue (Dialog) basis, and each message through session service piece route may be that Session is relevant, also may be Session irrelevant (but relevant with Dialog).Therefore, the message of session related service piece route can be divided into session and relevant (the Session and Extension Dependent of expansion in embodiments of the present invention, SED), relevant (the Only SessionDependent of session only, SD), only expansion relevant (Only Extension Dependent, ED) and session irrelevant (Session Independent SI) waits several types.
For the business of SED type, its service feature is relevant with main line session service piece with some piece of activating business, for example the 1xxRel of RFC3262 regulation; For the business of SD type, its service feature is only relevant with main line session service piece, for example the ACK message of RFC3261 regulation; For the business of ED type, its service feature is only relevant with the piece of activating business, for example the PRACK message of RFC3262 regulation; For the business of SI type, its service feature and Session are irrelevant, but relevant with dialogue, and 0 grade of session service piece only carries out transparent transmission to it to be handled.For the above-mentioned piece of activating business, then stipulate new extension blocks type according to corresponding Extended Protocol, original business module type is not exerted an influence.Simultaneously, the type at the message of session related service piece route can further be divided into session related service piece the piece of activating business accordingly, main line session service piece and only talk with the related service piece.
As shown in Figure 2, according to the new sip message of expanding in all kinds of business or expanded the service feature information of the sip message of header field field, sip message can be routed to different business modules, for example to the 1XX message (in RFC3262, it having been carried out the extended description of 1xxRel) of RFC3261 regulation, it belongs to the SED type, it is relevant with the 1xxRel piece of activating business, and is simultaneously relevant with main line session service piece, therefore it is routed to 1xxRel activate business piece and the processing of main line session service piece; INVITE (in agreements such as Session Timer and RFC3262, all it being had expansion) for the RFC3261 regulation, it belongs to the SED type, it is relevant with main line session service piece, simultaneously relevant with pieces of activating business such as 1xxRel, Session Timer, therefore it is routed to main line session service piece and 1xxRel, Session Timer etc. the piece processing of activating business; Belong to the SI type for message such as Options, in 1 grade of main line session service piece, carry out direct route and handle; And PRACK message belongs to ED, only is routed to the 1xxRel piece of activating business; ACK message to the RFC3261 regulation then belongs to the SD type, is routed directly to main line session service piece.For the newly-increased message of stipulating in the Extended Protocol or to the newly-increased extended field of former message, can correspond to the existing block type of activating business according to the Added Business feature, if irrelevant, can be loaded as the piece of newly activating business that adapts to this business with the existing piece of activating business.
In embodiments of the present invention, by new Extended Protocol cause to the increase of the service feature information of original message and the interpolation of new business block type, can be in program static the setting, also can be stored in the system by data configuration.
For example, to the 1XX Response message of above-mentioned INVITE, its service feature information is:
0 grade: Session related service piece
1 grade: SED (Session and Extension Dependent)
Related expanding business module: the 1XXRel piece of activating business
And for INVITE, because Session Initiation Protocol family is in continuous development, it is relevant that this message and many New Deals are expanded the piece of activating business that causes, supposes that now itself and 1XXRel, the UPDATE piece of activating business is relevant, and its service feature information is:
0 grade: Session related service piece
1 grade: SED (Session and Extension Dependent)
Related expanding business module: 1XXRel piece, the UPDATE piece of activating business of activating business
Suppose that the activate business type of piece of the original 1 grade of Session class of agreement comprises 1XX Rel piece and the UPDATE piece of activating business of activating business, now hypothesis will increase the support to RFC4028 (Session Timers in theSession Initiation Protocol) newly, this protocol extension has increased the mechanism of a kind of session timer (SessionTimer) newly, this expansion type all have nothing to do with any block type of activating business in the past, so can increase the support to this protocol extension as follows:
1. the type of the newly-increased piece of activating business of configuration store, this moment, 1 grade of Session class block type of activating business was extended for:
The 1XX Rel piece of activating business
The UPDATE piece of activating business
The Session Timer piece of activating business
2. the block type information of this being activated business is added in the characteristic information of related sip message, for example for INVITE:
The service feature information of former related expanding business module is: 1XXRel piece, the UPDATE piece of activating business of activating business
The service feature information of existing related expanding business module is: 1XXRel piece, UPDATE piece, the Session Timer piece of activating business of activating business of activating business
3. load Session Timer expansion relevant treatment program, can adopt dynamic link library (DynamicLink Library, DLL) form loads, can with original business module handling procedure distributed load, do not have influence mutually.
At first judge that according to its service feature information it is the Session type, is routed to session related service piece with it this moment when receiving INVITE.In session related service piece, it belongs to the SED type according to its service feature INFORMATION DISCOVERY, simultaneously the related expanding business module has 1XXRel, UPDATE, SessionTimer, this message is routed to 1XXRel piece, UPDATE activate business piece and the Session mainline processing business module of piece, SessionTimer of activating business of activating business successively handles.
In embodiments of the present invention, also can pass through data configuration, with certain business module type, and the related service block delete in the service feature information of the sip message of related this business module type, realize the flexible dismounting of SIP business.
Fig. 3 shows the structure of the SIP service routing system that the embodiment of the invention provides, can dispose the SIP business module by business module dispensing unit 11, for example will have the SIP service detach now and be SIP business module independently, perhaps according to existing SIP business module, and the new SIP business module of newly-increased extended field configuration of newly-increased message or original message.According to the SIP business module of business module dispensing unit 11 configuration, can dispose the service feature information of sip message by service feature information configuration unit 12, comprise the associated SIP business module information of sip message of respective type in the service feature information.In embodiments of the present invention, can in the service feature information of sip message, add the associated new SIP business module information of this sip message, perhaps the associated existing SIP business module information of this sip message of deletion in the service feature information of sip message.
When receiving sip message, service feature information acquisition unit 13 is obtained and this sip message corresponding service characteristic information according to the type of service inquiry business characteristic information dispensing unit 12 of the sip message of receiving.The SIP business module information of this sip message association that is comprised in the service feature information that professional routing unit 14 obtains according to service feature information acquisition unit 13 is routed to sip message in the corresponding SIP business module and handles.
In embodiments of the present invention, business module dispensing unit 11 and service feature information configuration unit 12 can be integrated into a system with service feature information acquisition unit 13 and professional routing unit 14, also can be systems independently, decide on concrete applicable cases.
As mentioned above, in embodiments of the present invention, the SIP business module can be divided into the irrelevant business module of dialogue, to order related service piece and session related service piece etc. several.Simultaneously, sip message through session related service piece route is divided into several types such as SED, SD, ED and SI, session related service piece further is configured to independently related expanding business module, main line session related service piece and only talks with the related service piece, so that dissimilar sip messages is carried out respective handling.
The embodiment of the invention is by professional expansion and route route, when making newly-increased certain professional expansion or newly-increased message, can dynamically increase certain business module type (0 grade or 1 grade), existing sip message and newly-increased message are carried out the renewal (for example newly-increased with the related of piece of newly activating business) of service feature information, thereby support good autgmentability requirement.The embodiment of the invention can adapt to the requirement of the professional extensibility that causes because of the Session Initiation Protocol expansion that constantly develops, and simultaneously, can satisfy the professional down dynamic detachable demand of professional distributed route and different business environment.
Need to prove that the SIP business module in the embodiment of the invention is divided not limit has only two-stage, can also increase more multi-layered level according to the business development needs, specific implementation repeats no more.
Obviously, the SIP service detach that provides of the embodiment of the invention and the thinking of route also can be applicable in other communication protocol stacks.
One of ordinary skill in the art will appreciate that and realize that the step in same equipment is to instruct relevant hardware to finish by program in the foregoing description method, this program can be stored in the read/write memory medium of this equipment, this program is carried out the corresponding step in the said method when carrying out, storage medium can be as ROM/RAM, magnetic disc, CD etc.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. a session initializtion protocol service routing method is characterized in that, described method comprises the steps:
The SIP business configuration is SIP business module independently;
According to the service feature information of the SIP business module configuration sip message of configuration, include SIP business module information in the described service feature information with the type association of sip message;
Receive sip message, obtain and this sip message corresponding service characteristic information according to the type of service of described sip message;
According to the SIP business module information of this sip message association that is comprised in the service feature information of obtaining, described sip message is routed to corresponding SIP business module.
2. the method for claim 1 is characterized in that, described is that independently the step of SIP business module is specially with the SIP business configuration:
To have the SIP service detach now and be SIP business module independently, perhaps
According to existing SIP business module, and the new SIP business module of newly-increased message arrangement; Perhaps
According to existing SIP business module, and the new SIP business module of newly-increased extended field configuration of original message.
3. the method for claim 1 is characterized in that, the step that described SIP business module according to configuration disposes the service feature information of sip message is specially:
In the service feature information of sip message, add the associated new SIP business module information of this sip message and/or, the associated existing SIP business module information of this sip message of deletion in the service feature information of sip message.
4. the method for claim 1 is characterized in that, described SIP business module comprises the irrelevant business module of dialogue, orders related service piece and session related service piece.
5. method as claimed in claim 4, it is characterized in that, comprise session and the related class of expansion, only session associated class, only expand the irrelevant class of associated class and session through the sip message of described session related service piece route, described session related service piece further is configured to independently related expanding business module, main line session related service piece and only talks with the related service piece, wherein:
Session and the related class sip message of expansion are routed to corresponding related expanding business module respectively, and main line session related service piece, only session associated class sip message is routed to main line session related service piece, only expand the associated class sip message and be routed to corresponding related expanding business module, the irrelevant class sip message of session is routed to only talks with the related service piece.
6. a session initializtion protocol service route system is characterized in that, described system comprises:
The business module dispensing unit is used for the SIP business configuration is SIP business module independently;
Service feature information configuration unit is used for the service feature information according to the SIP business module configuration sip message of configuration, includes the SIP business module information with the type association of sip message in the described service feature information;
The service feature information acquisition unit is used to receive sip message, obtains and this sip message corresponding service characteristic information according to the type of service of described sip message; And
Professional routing unit is used for the SIP business module information of this sip message association of being comprised according to the service feature information of obtaining, and described sip message is routed to corresponding SIP business module.
CN2007100761981A 2007-07-02 2007-07-02 Session initializtion protocol service routing method and system Expired - Fee Related CN101083617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100761981A CN101083617B (en) 2007-07-02 2007-07-02 Session initializtion protocol service routing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100761981A CN101083617B (en) 2007-07-02 2007-07-02 Session initializtion protocol service routing method and system

Publications (2)

Publication Number Publication Date
CN101083617A CN101083617A (en) 2007-12-05
CN101083617B true CN101083617B (en) 2010-07-14

Family

ID=38912894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100761981A Expired - Fee Related CN101083617B (en) 2007-07-02 2007-07-02 Session initializtion protocol service routing method and system

Country Status (1)

Country Link
CN (1) CN101083617B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1662004A (en) * 2004-02-27 2005-08-31 华为技术有限公司 Method of implementing multiple service treatment by application server through conversation initiating protocol
CN1801810A (en) * 2005-09-07 2006-07-12 华为技术有限公司 Conversation initialization protocol message body content processing method and network
CN1863209A (en) * 2006-02-10 2006-11-15 华为技术有限公司 IMS service triggering method and IMS network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1662004A (en) * 2004-02-27 2005-08-31 华为技术有限公司 Method of implementing multiple service treatment by application server through conversation initiating protocol
CN1801810A (en) * 2005-09-07 2006-07-12 华为技术有限公司 Conversation initialization protocol message body content processing method and network
CN1863209A (en) * 2006-02-10 2006-11-15 华为技术有限公司 IMS service triggering method and IMS network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
龚翔.SIP:构筑下一代电信网络的协议.广播电视信息 1.2002,(1),61-64.
龚翔.SIP:构筑下一代电信网络的协议.广播电视信息 1.2002,(1),61-64. *

Also Published As

Publication number Publication date
CN101083617A (en) 2007-12-05

Similar Documents

Publication Publication Date Title
CN1859475B (en) Method and system for realizing multimedia audible ringing tone
CN101984713A (en) Method, terminal and system for realizing business data shunting
GB0225888D0 (en) Connection set-up in a communication system
JP2009010972A (en) Routing of call given to subscriber
CN101222374A (en) System, device and method for implementing service upgrade
CN101309277A (en) SIP terminal, method and system for uploading state, method and apparatus for processing the uploaded state
CN100421432C (en) Method for routing of media resource server
US7313128B2 (en) Method and mobile radio communication network for the transmission of packet data
CN101569157A (en) Mobile access
US20070291721A1 (en) Method for optimizing synchronization signal among multiple home agents in mobile internet service system
CN101309505A (en) Voice service routing method and system in radio communication system
CN102130888A (en) Method for continuing alerting tone and ringing signal in call process and servers
CN104753904A (en) Voice calling method and device and SIP (session initiation protocol) gateway equipment
CN101083617B (en) Session initializtion protocol service routing method and system
CN101095128B (en) Method for providing discrete calling service facilitation to a plurality of geographic area
CN102377885B (en) Network telephone and method for establishing multi-party call thereof
CN101404674A (en) Call routing method, proxy server and relay device
CN101754089B (en) Business realizing method, system and personal network gateway
EP2262214A1 (en) Ims system, as device and mgw device, and method of notifying regulation on congestion in ims system
JP5492422B2 (en) Call control system, extension telephone connection method, and program
CN102148808A (en) Fax switching method, access device and fax system
CN104301551A (en) Method for music playing and equipment for music playing
US8155295B1 (en) Method and apparatus for tracking allocated phone numbers
CN104702602A (en) System and method of realizing dynamically creating channel and expansion of gateway cluster based on SIP (System in Package)
CN101554003A (en) System and method for providing RSVP reservations in a shared line environment

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100714

Termination date: 20170702