CN103384238B - The method and device that a kind of SIP compensates - Google Patents
The method and device that a kind of SIP compensates Download PDFInfo
- Publication number
- CN103384238B CN103384238B CN201210423980.7A CN201210423980A CN103384238B CN 103384238 B CN103384238 B CN 103384238B CN 201210423980 A CN201210423980 A CN 201210423980A CN 103384238 B CN103384238 B CN 103384238B
- Authority
- CN
- China
- Prior art keywords
- sip
- terminal
- receiving side
- version
- side terminal
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 239000003999 initiator Substances 0.000 claims abstract description 37
- 238000006243 chemical reaction Methods 0.000 claims abstract description 35
- 238000004891 communication Methods 0.000 claims abstract description 13
- 230000000977 initiatory effect Effects 0.000 claims description 7
- 238000005516 engineering process Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The present invention is applicable to soft switch communication technical field, provide the method and device that a kind of SIP compensates, described method includes: according to SIP version number and the SIP version number of described receiving side terminal of described initiator's terminal, and in Model of Version list, inquiry obtains the universal model information of the SIP edition compatibility of described initiator's terminal and described receiving side terminal;The model information of the SIP edition compatibility of contrast sending side terminal and reciever terminal, it is judged that whether the SIP version of described sending side terminal and receiving side terminal is compatible with same universal model;If it is not, described SIP service requesting information is carried out version conversion, the described SIP service requesting information after carrying out version conversion is sent to receiving side terminal, makes initiator's terminal and receiving side terminal set up and connects.The present invention solves the problem that cannot interconnect that Unified Communication may cause because SIP version is different.
Description
Technical field
The invention belongs to soft switch communication technical field, particularly relate to a kind of method that SIP compensates
And device.
Background technology
The current legacy network forward multimedia service based on speech business is the main next generation
E-learning quality, the next generation network technology based on Softswitch technology promotes this to change.Base
In above-mentioned technology, the concept of Unified Communication (Unified Communications, UC) is produced
Raw, the core concept of UC be allow people the most any time, any place, can pass through
Any equipment, any network, it is thus achieved that the free communication of data, image and sound.It is to say,
Unified communications is by voice, fax, Email, mobile short-message, multimedia and data
It is integrated etc. all information types, thus brings freedom and the lifting of efficiency of selection for people
(such as, traditional phone will be replaced to support client software based on softphone screen).
But Unified Communication market is numerous and diverse at present, and the manufacturer of various different background provides different
Solution and equipment, the participation of the most numerous producers has promoted the development of Unified Communication technology,
But owing to each producer uses different agreements, in particular by different Session initiation Protocols
(Session Initiation Protocol, SIP), owing to the signaling that SIP is application layer controls association
View, the direct difference of part Session Initiation Protocol version is relatively big, and different SIP may finally cause difference
Application and different equipment cannot intercommunication.Therefore, under prior art, Unified Communication exists
The problem that cannot interconnect that Session Initiation Protocol difference may cause.
Summary of the invention
The purpose of the embodiment of the present invention is the method and device providing a kind of SIP to compensate, it is intended to
It is mutual to there is the interconnection that may cause because SIP version is different in the technical scheme of solution prior art
Logical problem.
Embodiments of the invention are realized in, a kind of method that SIP compensates, described method
Comprise the following steps:
Receive the SIP service requesting information that initiator's terminal is sent by network side;
According to described SIP service requesting information, obtain the SIP version number of described initiator's terminal
With receiving side terminal information;
According to described receiving side terminal information, obtain the SIP version number of receiving side terminal;
SIP version number according to described initiator's terminal and the SIP version of described receiving side terminal
Number, in Model of Version list, inquiry obtains described initiator's terminal and described receiving side terminal
The universal model information of SIP edition compatibility;
The model information of the SIP edition compatibility of contrast sending side terminal and reciever terminal, it is judged that
Whether the SIP version of described sending side terminal and receiving side terminal is compatible with same universal model;
If it is not, described SIP service requesting information is carried out version conversion, version conversion will be carried out
After described SIP service requesting information be sent to receiving side terminal, make initiator's terminal and reception
Side's terminal is set up and is connected.
The another object of embodiments of the invention is the device providing a kind of SIP to compensate, institute
State device to include:
Receive unit, for receiving the SIP service request that initiator's terminal is sent by network side
Information;
First acquiring unit, for according to described SIP service requesting information, obtains described initiation
The SIP version number of side's terminal and receiving side terminal information;
Second acquisition unit, for according to described receiving side terminal information, obtains receiving side terminal
SIP version number;
Query unit, for the SIP version number according to described initiator's terminal and described recipient
The SIP version number of terminal, in Model of Version list, inquiry obtains described initiator's terminal and institute
State the universal model information of the SIP edition compatibility of receiving side terminal;
Judging unit, for contrasting the SIP edition compatibility of sending side terminal and reciever terminal
Model information, it is judged that whether the SIP version of described sending side terminal and receiving side terminal is compatible with
Same universal model;If it is not, will determine that result sends to version conversion unit;
Version conversion unit, carries out version conversion by described SIP service requesting information, will carry out
Described SIP service requesting information after version conversion is sent to receiving side terminal, makes initiator eventually
End and receiving side terminal are set up and are connected.
The embodiment of the present invention is by carrying out version conversion to the service request of different SIP versions, real
Showed interconnecting of different SIP version, solve prior art exist because of SIP version not
The problem interconnected that may cause together.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to embodiment
Or the required accompanying drawing used is briefly described in description of the prior art, it should be apparent that under,
Accompanying drawing during face describes is only some embodiments of the present invention, for ordinary skill people
From the point of view of Yuan, on the premise of not paying creative work, it is also possible to obtain it according to these accompanying drawings
His accompanying drawing.
Fig. 1 is the flowchart of the method that the SIP that the present invention provides compensates;
Fig. 2 is the function structure chart of the device that the SIP that the present invention provides compensates.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with
Drawings and Examples, are further elaborated to the present invention.Should be appreciated that this place is retouched
The specific embodiment stated only in order to explain the present invention, is not intended to limit the present invention.
The invention provides a kind of method that SIP compensates, the device that described method is compensated by SIP
Performing, the method is as it is shown in figure 1, concrete steps include:
The SIP service requesting information that S11, reception initiator's terminal are sent by network side;
It should be noted that carry the SIP of sending side terminal in SIP service requesting information
Version number and receiving side terminal information.
S12, according to described SIP service requesting information, obtain the SIP version of described initiator's terminal
This number and receiving side terminal information;
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 of described receiving side terminal
Version number, in Model of Version list, inquiry obtains the logical of the SIP edition compatibility of above-mentioned two terminals
Use model information;
It should be noted that SIP version is more, we set up Model of Version row for SIP version
Table, described Model of Version list includes 3 universal models, respectively lowest version universal model,
Standard Edition universal model and highest version universal model;Lowest version universal model, Compatibility is early
The SIP version of phase, such as RFC2543, RFC3261, RFC3262 etc.;Standard edition BENTONG
With model, the SIP version that compatible enterprise is commonly used, such as: RFC3263, RFC3264,
RFC3265 etc.;Highest version universal model, compatible up-to-date SIP version, and some enterprises
Self-defining SIP version.As later stage SIP version also has bigger variation, system also can be built
The vertical SIP version universal model updated, set up the purpose of SIP version universal model be exactly handle can
It is summarized as a class with the SIP version being directly in communication with each other, and it is general to find out different SIP version
Difference between model.
S15, the SIP version number contrasting described initiator's terminal and described receiving side terminal are compatible
Universal model information, it is judged that whether the SIP version of described initiator's terminal and receiving side terminal
It is compatible with same universal model;If it is not, then perform S16;The most then perform S17;
S16, described SIP service requesting information is carried out version conversion, version conversion will be carried out
After described SIP service requesting information be sent to receiving side terminal, make initiator's terminal and reception
Side's terminal is set up and is connected;
S17, described SIP service request is forwarded to receiving side terminal so that sending side terminal
Set up with receiving side terminal and connect.
Optionally, it is achieved the method for S13 specifically may include that
According to described receiving side terminal information, initiate request to receiving side terminal, so that receiving
Side's terminal feedback oneself state and SIP version number.
Optionally, it is achieved the method for S16 specifically may include that
According to default rule, by the SIP version conversion of described SIP service requesting information for connecing
The universal model of debit's terminal SIP edition compatibility, believes the SIP service request after version conversion
Breath is sent to receiving side terminal, makes initiator's terminal and receiving side terminal set up and connects.
It should be noted that according to default rule, by described SIP service requesting information
SIP version conversion is that the universal model of receiving side terminal SIP edition compatibility can be with in detail below
Example explanation:
Assuming that the SIP version number that initiator's terminal uses is RFC3261, it is compatible with lowest version and leads to
With model, receiving side terminal uses SIP version number to be RFC3263, is compatible with standard edition
This universal model;The SIP service requesting information used for initiator's terminal can be by recipient
Terminal correctly identifies, it is necessary to change the version of SIP service requesting information, Standard Edition
Universal model, compared with lowest version universal model, increases SUBSCRIBE and NOTIFY
And add Allow-Events, Subscription State, response at SIP Table Header information
The Accept etc. of 202, specific as follows shown;
SIP Table Header 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 received is increased
SUBSCRIBE and NOTIFY and SIP Table Header information increase Allow-Events,
Subscription-State, the Accept etc. of response 202, business initiator's terminal sent please
Seek the standard universal Model of Version that version conversion is receiving side terminal SIP edition compatibility of information,
So receiving side terminal can identify described service requesting information, responds described service requesting information,
And set up with sender and to be connected.The conversion of other versions is also same reason, goes to live in the household of one's in-laws on getting married the most one by one
State.
The invention provides the device that a kind of SIP compensates, described device as shown in Figure 2, specifically wraps
Include:
Receive unit 21, for receiving the SIP business that initiator's terminal is sent by network side
Solicited message;
First acquiring unit 22, for according to described SIP service requesting information, obtains described sending out
Play SIP version number and the receiving side terminal information of side's terminal;
Second acquisition unit 23, for according to described receiving side terminal information, obtains recipient
The SIP version number of terminal;
Query unit 24, for according to the SIP version number of described initiator's terminal with described connect
The SIP version number of debit's terminal, in Model of Version list, inquiry obtains described initiator's terminal
Universal model information with the SIP edition compatibility of described receiving side terminal;
Judging unit 25, holds concurrently for contrasting the SIP version of sending side terminal and reciever terminal
The model information held, it is judged that whether the SIP version of described sending side terminal and receiving side terminal holds concurrently
It is dissolved in same universal model;If it is not, will determine that result sends to version conversion unit 26, if
It is to will determine that result sends to Service Processing Unit 27;
Version conversion unit 26, for described SIP service requesting information is carried out version conversion,
Described SIP service requesting information after carrying out version conversion is sent to receiving side terminal, makes to send out
Play side's terminal and receiving side terminal is set up and connected;
Service Processing Unit 27, for described SIP service request is forwarded to receiving side terminal,
Sending side terminal and receiving side terminal are set up connect.
Optionally, second acquisition unit 23 specifically for:
According to described receiving side terminal information, initiate request to receiving side terminal, so that receiving
Side's terminal feedback oneself state and SIP version number.
Optionally, version conversion unit 26 specifically for:
According to default rule, by the SIP version conversion of described SIP service requesting information for connecing
The universal model of debit's terminal SIP edition compatibility, believes the SIP service request after version conversion
Breath is sent to receiving side terminal, makes initiator's terminal and receiving side terminal set up and connects.
One of ordinary skill in the art will appreciate that the modules included by above-described embodiment
It is to carry out dividing according to function logic, but is not limited to above-mentioned division, as long as can
Realize corresponding function;It addition, the specific name of each functional module also only to facilitate
Mutually distinguish, be not limited to protection scope of the present invention.
Those of ordinary skill in the art it is also understood that, it is achieved whole in above-described embodiment method
Or part steps can be by program and completes to instruct relevant hardware, described program can
With in device read/write memory medium, described storage medium, including ROM/RAM etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention,
All any amendment, equivalent and improvement etc. made within the spirit and principles in the present invention,
Should be included within the scope of the present invention.
Claims (6)
1. the method that a SIP compensates, it is characterised in that described method includes:
Receive the SIP service requesting information that initiator's terminal is sent by network side;
According to described SIP service requesting information, obtain the SIP version number of described initiator's terminal
With receiving side terminal information;
According to described receiving side terminal information, obtain the SIP version number of receiving side terminal;
SIP version number according to described initiator's terminal and the SIP version of described receiving side terminal
Number, in Model of Version list, inquiry obtains described initiator's terminal and described receiving side terminal
The universal model information of SIP edition compatibility, described Model of Version list includes universal model, institute
State universal model and the SIP version that can be directly in communication with each other is summarized as a class;
The model information of the SIP edition compatibility of contrast sending side terminal and reciever terminal, it is judged that
Whether the SIP version of described sending side terminal and receiving side terminal is compatible with same universal model;
If it is not, described SIP service requesting information is carried out version conversion, version conversion will be carried out
After described SIP service requesting information be sent to receiving side terminal, make initiator's terminal and reception
Side's terminal is set up and is connected.
2. the method for claim 1, it is characterised in that described according to described reception
Side end message, obtain receiving side terminal SIP version number particularly as follows:
According to described receiving side terminal information, initiate request to receiving side terminal, so that receiving
Side's terminal feedback oneself state and SIP version number.
3. the method for claim 1, it is characterised in that described if it is not, by described
SIP service requesting information carries out version conversion, by the SIP service requesting information after version conversion
Be sent to receiving side terminal, make initiator's terminal and receiving side terminal set up connect particularly as follows:
If it is not, according to default rule, the SIP version of described SIP service requesting information is turned
It is changed to the universal model of receiving side terminal SIP edition compatibility, by the SIP business after version conversion
Solicited message is sent to receiving side terminal, makes initiator's terminal and receiving side terminal set up and connects.
4. the device that a SIP compensates, it is characterised in that described device includes:
Receive unit, for receiving the SIP service request that initiator's terminal is sent by network side
Information;
First acquiring unit, for according to described SIP service requesting information, obtains described initiation
The SIP version number of side's terminal and receiving side terminal information;
Second acquisition unit, for according to described receiving side terminal information, obtains receiving side terminal
SIP version number;
Query unit, for the SIP version number according to described initiator's terminal and described recipient
The SIP version number of terminal, in Model of Version list, inquiry obtains described initiator's terminal and institute
State the universal model information of the SIP edition compatibility of receiving side terminal, described Model of Version list bag
Including universal model, the SIP version that can be directly in communication with each other is summarized as one by described universal model
Class;
Judging unit, for contrasting the SIP edition compatibility of sending side terminal and reciever terminal
Model information, it is judged that whether the SIP version of described sending side terminal and receiving side terminal is compatible with
Same universal model;If it is not, will determine that result sends to version conversion unit;
Version conversion unit, for described SIP service requesting information is carried out version conversion, will
Carry out the described SIP service requesting information after version conversion and be sent to receiving side terminal, make initiation
Side's terminal and receiving side terminal are set up and are connected.
5. device as claimed in claim 4, it is characterised in that described second acquisition unit
Specifically for:
According to described receiving side terminal information, initiate request to receiving side terminal, so that receiving
Side's terminal feedback oneself state and SIP version number.
6. device as claimed in claim 4, it is characterised in that described version conversion unit
Specifically for:
According to default rule, by the SIP version conversion of described SIP service requesting information for connecing
The universal model of debit's terminal SIP edition compatibility, believes the SIP service request after version conversion
Breath is sent to receiving side terminal, makes initiator's terminal and receiving side terminal set up and connects.
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 CN103384238A (en) | 2013-11-06 |
CN103384238B true 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 (3)
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4664127B2 (en) * | 2005-06-16 | 2011-04-06 | パナソニック株式会社 | Communication terminal and communication switching method |
-
2012
- 2012-10-30 CN CN201210423980.7A patent/CN103384238B/en active Active
Patent Citations (3)
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 |
Non-Patent Citations (1)
Title |
---|
SNMP协议版本共存机制的研究;崔建群等;《计算机应用》;20070731;第27卷(第7期);第1717-1717、1719 * |
Also Published As
Publication number | Publication date |
---|---|
CN103384238A (en) | 2013-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7634074B2 (en) | Method and apparatus for making sidebar calls | |
US9264866B2 (en) | Enhanced delivery of messaging data traffic | |
JP5833098B2 (en) | Transitions between circuit-switched calls and video calls | |
CN101626436B (en) | Interactive video sound responding system and realizing method | |
CN1677955A (en) | Presence server, session control server, and packet relay system | |
JP2006127513A (en) | File transmission method in instant messaging service and mobile terminal for supporting the same | |
CN101073072A (en) | Agnostic peripheral control for media communication appliances | |
CN113630574A (en) | Video call method and terminal equipment | |
CN101854703B (en) | Method, server and system for acquiring status information | |
CN1266623C (en) | Conversational system, conversation control method and conversational control program | |
CN103384238B (en) | The method and device that a kind of SIP compensates | |
CN102035950A (en) | Seat service processing method and IP (Internet Protocol) seat terminal | |
JP5201938B2 (en) | Relay device, terminal, communication system, and terminal management method | |
JP2006211471A (en) | Wireless communication system, and communication terminal | |
CN101931606A (en) | Method and system for processing multimedia information | |
CN101505310B (en) | Session switching method | |
JP2007013648A (en) | Radio communication system and communication terminal | |
CA2896542C (en) | Systems and methods for connecting telephony communications | |
JP2006211135A (en) | Communication network system and telephone set | |
US20090213842A1 (en) | Communication link establishing method | |
EP1942628A1 (en) | Communication processing apparatus and method | |
US8948353B2 (en) | Call connection system and method | |
JP5410977B2 (en) | How to communicate between several terminals | |
CN100407829C (en) | Method for intensifying short message representation mode in mobile apparatus | |
CN111131275B (en) | Method and system for convenient and automatic conference opening of conference terminal |
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 | ||
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 |