CN103384238A - SIP compensating method and device - Google Patents
SIP compensating method and device Download PDFInfo
- Publication number
- CN103384238A CN103384238A CN2012104239807A CN201210423980A CN103384238A CN 103384238 A CN103384238 A CN 103384238A CN 2012104239807 A CN2012104239807 A CN 2012104239807A CN 201210423980 A CN201210423980 A CN 201210423980A CN 103384238 A CN103384238 A CN 103384238A
- Authority
- CN
- China
- Prior art keywords
- sip
- side terminal
- receiving side
- terminal
- version
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 239000003999 initiator Substances 0.000 claims description 39
- 238000006243 chemical reaction Methods 0.000 claims description 34
- 238000004891 communication Methods 0.000 abstract description 10
- 238000005516 engineering process Methods 0.000 description 5
- 230000000977 initiatory effect Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention belongs to the technical field of soft switch communication, and provides an SIP compensating method and device. The SIP compensating method comprises the steps of according to the SIP version number of a sender terminal and the SIP version number of a receiver terminal, searching for and obtaining SIP version compatible universal model information of the sender terminal and SIP version compatible universal model information of the receiver terminal in a version model list, comparing the SIP version compatible universal model information of the sender terminal with the SIP version compatible universal model information of the receiver terminal, judging whether the SIP version of the sender terminal and the SIP version of the receiver terminal are compatible in the same universal model, if the SIP version of the sender terminal and the SIP version of the receiver terminal are not compatible in the same universal model, converting the version of SIP service request information, and sending the SIP service request information with the version converted to the receiver terminal to enable the sender terminal to be connected with the receiver terminal. The SIP compensating method and device solve the problem that in unified communication, SIPs cannot be communicated with one another due to the fact that the versions of the SIPs are different.
Description
Technical field
The invention belongs to the soft switch communication technical field, relate in particular to a kind of method and device of SIP compensation.
Background technology
Current is main next generation network evolution take speech business as main legacy network forward multimedia service, and the next generation network technology take Softswitch technology as the master is promoting this change.Based on above-mentioned technology, the concept of Unified Communication (Unified Communications, UC) produces, the core concept of UC be allow people no matter any time, any place, can pass through any equipment, any network, obtain the free communication of data, image and sound.That is to say, unified communications is integrated all information types such as voice, fax, Email, mobile short-message, multimedia and data, thereby bring the lifting (for example, traditional phone will be substituted to support the client software based on soft call screen) of freedom and the efficient of selection for people.
But Unified Communication market is numerous and diverse at present, the manufacturer of various different background provides different solution and equipment, objectively the participation of numerous producers has promoted the development of Unified Communication technology, but because each producer adopts different agreements, especially adopt different Session initiation Protocols (Session Initiation Protocol, SIP), it is the signaling control protocol of application layer due to SIP, the direct difference of part Session Initiation Protocol version is larger, and different SIP finally may cause different application and the different equipment can't intercommunication.So under prior art, the problem that can't interconnect that Unified Communication exists the Session Initiation Protocol difference to cause.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of method and device of SIP compensation, is intended to solve the technical scheme existence of prior art because of the different problems that interconnect that may cause of SIP version.
Embodiments of the invention are achieved in that a kind of method of SIP compensation, said method comprising the steps of:
Receive the SIP service requesting information that initiator's terminal sends by network side;
According to described SIP service requesting information, obtain SIP version number and the receiving side terminal information of described initiator's terminal;
According to described receiving side terminal information, obtain the SIP version number of receiving side terminal;
According to the SIP version number of described initiator's terminal and the SIP version number of described receiving side terminal, the universal model information of the SIP edition compatibility of described initiator's terminal and described receiving side terminal is obtained in inquiry in the Model of Version list;
The model information of the SIP edition compatibility of contrast sending side terminal and reciever terminal judges whether the SIP version of described sending side terminal and receiving side terminal is compatible with same universal model;
If not, described SIP service requesting information is carried out version conversion, the described SIP service requesting information that will carry out after version conversion sends to receiving side terminal, and initiator's terminal and receiving side terminal are connected.
Another purpose of embodiments of the invention is to provide a kind of device of SIP compensation, and described device comprises:
Receiving element is used for receiving the SIP service requesting information that initiator's terminal sends by network side;
The first acquiring unit is used for according to described SIP service requesting information, obtains SIP version number and the receiving side terminal information of described initiator's terminal;
Second acquisition unit is used for according to described receiving side terminal information, obtains the SIP version number of receiving side terminal;
Query unit is used for according to the SIP version number of described initiator's terminal and the SIP version number of described receiving side terminal, and the universal model information of the SIP edition compatibility of described initiator's terminal and described receiving side terminal is obtained in inquiry in the Model of Version list;
Judging unit, the model information for the SIP edition compatibility that contrasts sending side terminal and reciever terminal judges whether the SIP version of described sending side terminal and receiving side terminal is compatible with same universal model; If not, judged result is sent to the version conversion unit;
The version conversion unit carries out version conversion with described SIP service requesting information, and the described SIP service requesting information that will carry out after version conversion sends to receiving side terminal, and initiator's terminal and receiving side terminal are connected.
The embodiment of the present invention is carried out version conversion by the service request to the various SIP version, realized interconnecting of various SIP version, solved that prior art exists because of the different problems that interconnect that may cause of SIP version.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, the below will do to introduce simply to the accompanying drawing of required use in embodiment or description of the Prior Art, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the realization flow figure of the method for SIP compensation provided by the invention;
Fig. 2 is the modular structure figure of the device of SIP compensation provided by the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
The invention provides the method for a kind of SIP compensation, described method is carried out by the device of SIP compensation, the method as shown in Figure 1, concrete steps comprise:
The SIP service requesting information that S11, reception initiator terminal send by network side;
Need to prove, carried SIP version number and the receiving side terminal information of sending side terminal in the SIP service requesting information.
S12, according to described SIP service requesting information, obtain SIP version number and the receiving side terminal information of described initiator's terminal;
S13, according to described receiving side terminal information, obtain the SIP version number of receiving side terminal;
S14, according to the SIP version number of described initiator's terminal and the SIP version number of described receiving side terminal, the universal model information of SIP edition compatibility of above-mentioned two terminals is obtained in inquiry in the Model of Version list;
Need to prove, the SIP version is more, and we set up the Model of Version list for the SIP version, and described Model of Version list comprises 3 universal models, is respectively lowest version universal model, Standard Edition universal model and highest version universal model; The lowest version universal model, the SIP version that Compatibility is early stage is as RFC2543, RFC3261, RFC3262 etc.; The Standard Edition universal model, the SIP version that compatible enterprise often uses, as: RFC3263, RFC3264, RFC3265 etc.; The highest version universal model, compatible up-to-date SIP version, and the self-defining SIP version of some enterprises.Also has larger change as later stage SIP version, also can set up the SIP version universal model of renewal in system, the purpose of setting up SIP version universal model is exactly that the SIP version that can directly intercom mutually is summarized as a class, and finds out the difference between various SIP version universal model.
The universal model information of the SIP version number compatibility of S15, contrast described initiator's terminal and described receiving side terminal judges whether the SIP version of described initiator's terminal and receiving side terminal is compatible with same universal model; If not, carry out S16; If carry out S17;
S16, described SIP service requesting information is carried out version conversion, the described SIP service requesting information that will carry out after version conversion sends to receiving side terminal, and initiator's terminal and receiving side terminal are connected;
S17, described SIP service request is forwarded to receiving side terminal, makes sending side terminal and receiving side terminal connect.
Optionally, the method that realizes S13 specifically can comprise:
According to described receiving side terminal information, initiate request to receiving side terminal, so that receiving side terminal feedback oneself state and SIP version number.
Optionally, the method that realizes S16 specifically can comprise:
According to default rule, be the universal model of receiving side terminal SIP edition compatibility with the SIP version conversion of described SIP service requesting information, SIP service requesting information after version conversion is sent to receiving side terminal, initiator's terminal and receiving side terminal are connected.
Need to prove, according to default rule, the universal model that is receiving side terminal SIP edition compatibility with the SIP version conversion of described SIP service requesting information can illustrate with the example of lower mask body:
The SIP version number of supposing that initiator's terminal uses is RFC3261, is compatible with the lowest version universal model, and receiving side terminal uses is that SIP version number is RFC3263, is compatible with the Standard Edition universal model; For the SIP service requesting information that initiator's terminal is used can the side's of being received terminal correctly be identified, must change the version of SIP service requesting information, the Standard Edition universal model is compared with the lowest version universal model, increase SUBSCRIBE and NOTIFY and increased the Accept etc. of Allow-Events, Subscription – State, response 202 in SIP gauge outfit information, specific as follows shown in;
SIP gauge outfit information increases:
Allow-Events:telephone-event
Subscription-State:terminated;reason=noresource
SUBSCRIBE?sip:userB@foo.bar?SIP/2.0
Event:dialog
Accept:application/dialog-info+xml
By default rule, the service requesting information of the RFC3261 version that receives is increased SUBSCRIBE and NOTIFY and increases the Accept etc. of Allow-Events, Subscription-State, response 202 in SIP gauge outfit information, the version conversion of the service requesting information that initiator's terminal is sent is the standard universal Model of Version of receiving side terminal SIP edition compatibility, receiving side terminal can be identified described service requesting information like this, respond described service requesting information, and connect with transmit leg.The conversion of other versions is also same reason, gives unnecessary details no longer one by one.
The invention provides a kind of device of SIP compensation, described device specifically comprises as shown in Figure 2:
Receiving element 21 is used for receiving the SIP service requesting information that initiator's terminal sends by network side;
The first acquiring unit 22 is used for according to described SIP service requesting information, obtains SIP version number and the receiving side terminal information of described initiator's terminal;
Optionally, second acquisition unit 23 specifically is used for:
According to described receiving side terminal information, initiate request to receiving side terminal, so that receiving side terminal feedback oneself state and SIP version number.
Optionally, version conversion unit 26 specifically is used for:
According to default rule, be the universal model of receiving side terminal SIP edition compatibility with the SIP version conversion of described SIP service requesting information, SIP service requesting information after version conversion is sent to receiving side terminal, initiator's terminal and receiving side terminal are connected.
One of ordinary skill in the art will appreciate that as the included modules of above-described embodiment is to divide according to function logic, but be not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional module also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
Those of ordinary skills it is also understood that, realize that all or part of step in above-described embodiment method is to come the relevant hardware of instruction to complete by program, described program can be in the device read/write memory medium, and described storage medium comprises ROM/RAM etc.
The above is only preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., within all should being included in protection scope of the present invention.
Claims (6)
1. the method for a SIP compensation, is characterized in that, described method comprises:
Receive the SIP service requesting information that initiator's terminal sends by network side;
According to described SIP service requesting information, obtain SIP version number and the receiving side terminal information of described initiator's terminal;
According to described receiving side terminal information, obtain the SIP version number of receiving side terminal;
According to the SIP version number of described initiator's terminal and the SIP version number of described receiving side terminal, the universal model information of the SIP edition compatibility of described initiator's terminal and described receiving side terminal is obtained in inquiry in the Model of Version list;
The model information of the SIP edition compatibility of contrast sending side terminal and reciever terminal judges whether the SIP version of described sending side terminal and receiving side terminal is compatible with same universal model;
If not, described SIP service requesting information is carried out version conversion, the described SIP service requesting information that will carry out after version conversion sends to receiving side terminal, and initiator's terminal and receiving side terminal are connected.
2. the method for claim 1, is characterized in that, and is described according to described receiving side terminal information, and the SIP version number that obtains receiving side terminal is specially:
According to described receiving side terminal information, initiate request to receiving side terminal, so that receiving side terminal feedback oneself state and SIP version number.
3. the method for claim 1, it is characterized in that, if not described, described SIP service requesting information is carried out version conversion, SIP service requesting information after version conversion is sent to receiving side terminal, initiator's terminal and receiving side terminal is connected be specially:
If not, according to default rule, be the universal model of receiving side terminal SIP edition compatibility with the SIP version conversion of described SIP service requesting information, the SIP service requesting information after version conversion is sent to receiving side terminal, initiator's terminal and receiving side terminal are connected.
4. the device of a SIP compensation, is characterized in that, described device comprises:
Receiving element is used for receiving the SIP service requesting information that initiator's terminal sends by network side;
The first acquiring unit is used for according to described SIP service requesting information, obtains SIP version number and the receiving side terminal information of described initiator's terminal;
Second acquisition unit is used for according to described receiving side terminal information, obtains the SIP version number of receiving side terminal;
Query unit is used for according to the SIP version number of described initiator's terminal and the SIP version number of described receiving side terminal, and the universal model information of the SIP edition compatibility of described initiator's terminal and described receiving side terminal is obtained in inquiry in the Model of Version list;
Judging unit, the model information for the SIP edition compatibility that contrasts sending side terminal and reciever terminal judges whether the SIP version of described sending side terminal and receiving side terminal is compatible with same universal model; If not, judged result is sent to the version conversion unit;
The version conversion unit is used for described SIP service requesting information is carried out version conversion, and the described SIP service requesting information that will carry out after version conversion sends to receiving side terminal, and initiator's terminal and receiving side terminal are connected.
5. device as claimed in claim 4, is characterized in that, described second acquisition unit specifically is used for:
According to described receiving side terminal information, initiate request to receiving side terminal, so that receiving side terminal feedback oneself state and SIP version number.
6. device as claimed in claim 4, is characterized in that, described version conversion unit specifically is used for:
According to default rule, be the universal model of receiving side terminal SIP edition compatibility with the SIP version conversion of described SIP service requesting information, SIP service requesting information after version conversion is sent to receiving side terminal, initiator's terminal and receiving side terminal are connected.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210423980.7A CN103384238B (en) | 2012-10-30 | 2012-10-30 | The method and device that a kind of SIP compensates |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210423980.7A CN103384238B (en) | 2012-10-30 | 2012-10-30 | The method and device that a kind of SIP compensates |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103384238A true CN103384238A (en) | 2013-11-06 |
CN103384238B CN103384238B (en) | 2016-09-28 |
Family
ID=49491935
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210423980.7A Active CN103384238B (en) | 2012-10-30 | 2012-10-30 | The method and device that a kind of SIP compensates |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103384238B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101335759A (en) * | 2007-06-22 | 2008-12-31 | 埃森哲环球服务有限公司 | Session initiation protocol adaptor |
CN101340613A (en) * | 2007-07-05 | 2009-01-07 | 华为技术有限公司 | Method, apparatus and system implementing user terminal communication |
CN101370172A (en) * | 2007-08-13 | 2009-02-18 | 华为技术有限公司 | Method, system and device for processing message service communication of different types |
US20090327516A1 (en) * | 2005-06-16 | 2009-12-31 | Panasonic Corporation | Communication terminal and communication switching method |
-
2012
- 2012-10-30 CN CN201210423980.7A patent/CN103384238B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090327516A1 (en) * | 2005-06-16 | 2009-12-31 | Panasonic Corporation | Communication terminal and communication switching method |
CN101335759A (en) * | 2007-06-22 | 2008-12-31 | 埃森哲环球服务有限公司 | Session initiation protocol adaptor |
CN101340613A (en) * | 2007-07-05 | 2009-01-07 | 华为技术有限公司 | Method, apparatus and system implementing user terminal communication |
CN101370172A (en) * | 2007-08-13 | 2009-02-18 | 华为技术有限公司 | Method, system and device for processing message service communication of different types |
Non-Patent Citations (1)
Title |
---|
崔建群等: "SNMP协议版本共存机制的研究", 《计算机应用》 * |
Also Published As
Publication number | Publication date |
---|---|
CN103384238B (en) | 2016-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102025715B (en) | SIP (Session Initiation Protocol) protocol-based multimedia network communication method | |
US10798138B2 (en) | Instant calling method, apparatus and system | |
CN100524280C (en) | Method and apparatus for participating communication conversation | |
JP2008527784A (en) | Method and apparatus for providing virtual mobile communication number | |
CN101854703B (en) | Method, server and system for acquiring status information | |
CN101754124A (en) | Information transfer processing device, system and method | |
CN103369160A (en) | Implementation method and system for communication by using intelligent roaming terminal | |
JP2002261834A (en) | Method and system for processing communication | |
CN102035950A (en) | Seat service processing method and IP (Internet Protocol) seat terminal | |
JP2006211471A (en) | Wireless communication system, and communication terminal | |
CN103384238A (en) | SIP compensating method and device | |
JP2007013648A (en) | Radio communication system and communication terminal | |
CN101925021B (en) | Method/system for processing messages and convergence service system | |
CN101771967B (en) | Method for transmitting and forwarding short message, terminal, access gateway and short message system | |
CN111355699B (en) | Voice capability implementation system | |
US20020036794A1 (en) | Method and apparatus for central coordination of data transmission between a transmitting and a receiving network element | |
CN113438251A (en) | Protocol conversion method, device and system | |
CN101217610B (en) | Faxing method based on media server | |
CN101384046A (en) | Data calling method and system in mobile terminal system | |
WO2013087035A1 (en) | Open ussd service gateway and method for providing open ussd service | |
CN103841280B (en) | Procotol voice system and Internet phone-calling method | |
CN201312347Y (en) | Multifunctional information service platform | |
CN101409876B (en) | Method for sending and receiving short message in NGN, and short message center | |
CN103222255A (en) | Method for automatic start up of a communication terminal configured for voice communication on a communication terminal configured for text communication | |
US20080170537A1 (en) | Communication processing apparatus and method |
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 | ||
CP03 | Change of name, title or address |
Address after: 510857 Floor 3a, Zone B, R2 Factory Building, Shennan Avenue High tech Park, Nanshan District, Shenzhen City, Guangdong Province Patentee after: Hangzhou Hailianxun Technology Co.,Ltd. Country or region after: China Address before: 510857 Floor 3a, Zone B, R2 Factory Building, Shennan Avenue High tech Park, Nanshan District, Shenzhen City, Guangdong Province Patentee before: SHENZHEN HIRISUN TECHNOLOGY Inc. Country or region before: China |
|
CP03 | Change of name, title or address |