CN1984136B - Method for supporting query server ability at session initial protocol terminal - Google Patents

Method for supporting query server ability at session initial protocol terminal Download PDF

Info

Publication number
CN1984136B
CN1984136B CN200610060255A CN200610060255A CN1984136B CN 1984136 B CN1984136 B CN 1984136B CN 200610060255 A CN200610060255 A CN 200610060255A CN 200610060255 A CN200610060255 A CN 200610060255A CN 1984136 B CN1984136 B CN 1984136B
Authority
CN
China
Prior art keywords
sip
header field
server
terminal
inquiry
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
Application number
CN200610060255A
Other languages
Chinese (zh)
Other versions
CN1984136A (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 CN200610060255A priority Critical patent/CN1984136B/en
Publication of CN1984136A publication Critical patent/CN1984136A/en
Application granted granted Critical
Publication of CN1984136B publication Critical patent/CN1984136B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

It is a method of initial conversation protocol terminal inquiry server support ability. SIP terminal send the first domain inquiry request to SIP server and send SIP terminal inquiry authority to the stated SIP server. The SIP server will return to the corresponding first domain information according to inquiry authority. The stated inquiry authority can have authentication information for the service mark or identification authority which can mark the SIP terminal. The invention overcomes potential safety problems, the waste of resources and easily results to SIP terminal congestion that when existing technology realizes SIP terminal inquiry server support ability will tell all first domain information to SIP terminal. It enhances the safety of the system, saves resources, reduces the burden of SIP terminal, prevents the SIP terminal's excessive flow or congestion.

Description

The method of supporting query server ability at session initial protocol terminal
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method of supporting query server ability at session initial protocol terminal.
Background technology
SIP (Session Initiation Protocol, session initiation protocol) is the control that is used for IP network, the signaling protocol by the IETF exploitation, is based on the application layer protocol of text.Session Initiation Protocol is widely used in foundation, revises and stop the Multimedia session of IP based network, comprising voice, video, IM (instant message), presence service (promptly reach the standard grade, roll off the production line, mood or the like), multimedia conferencing etc.The Internet standard that is based on Session Initiation Protocol designs, and belongs to the part of Internet multimedia framework, cooperates with existing Internet agreement and finishes multimedia service.Session Initiation Protocol has flexibly, the easy characteristics of expansion, since the Session Initiation Protocol standardization, has been subjected to the extensive concern of industry, is called as one of the most promising agreement.
3GPP and 3GPP2 are international 3G (Third Generation) Moblie tissues, are responsible for the research and the standardization effort of aspects such as the business relevant with following 3G network, technology.Because the advantage that had of Session Initiation Protocol itself, this agreement has consequence in the middle of the 3G network in 3GPP and 3GPP2 future, especially the IMS (IP Multimedia Subsystem, IP Multimedia System) that defines in R5 of 3GPP.IMS is the center that the 3G core network provides end-to-end multimedia service and cluster multimedia service, in 3GPP R6 version, IMS has been defined as supporting the multimedia service core net of all IP Access Networks, can support any mobile or fixing, wired or wireless IP-CAN (IP Connectivity AccessNetworks, be the attachable access network of IP), comprising W-CDMA, CDMA2000, Ethernet, xDSL and Wireless LAN or the like.
Employed Session Initiation Protocol is a benchmark with the RFC 3261 of IEFT tissue issue in the middle of the IMS.IETF and 3GPP and 3GPP2 carried out the expansion of part at the deficiency of RFC 3261, and the Session Initiation Protocol after will expanding are used in the middle of the IMS after the requirement of concrete business and network is analyzed.The effect that SIP is born in IMS mainly is the controlled function of Multimedia session, comprises real-time multimedia end to end, video tour, download etc., and make IMS can successfully realize different Access Networks, the intercommunication between the different business.
Because flexibly, the advantage of aspect such as can expand, Session Initiation Protocol will have extensive use more in future.Simultaneously, Session Initiation Protocol also will be along with extensively constantly expanding self according to the demand of business of using, increasingly sophisticated and abundant the general unavoidably of Session Initiation Protocol.In order to realize the normal operation of Session Initiation Protocol, this just requires each sip terminal to carry out safe and effective communication and exchange with the expansion content at SIP between each sip server, that is to say that sip terminal can understand targetedly by the SIP related expanding that certain mechanism is supported sip server or other SIP entity, and then on this basis, on purpose carry out specific transactions.
SIP is a signaling protocol, be similar to HTTP and SMTP, the transmission of information each time is by a message required information transmitted to be encapsulated in the message, and then send .SIP message by UDP/TCP bag and comprise initial row, header field, three parts of message body, method by the English word sign of a capitalization, is the special identifier that is used to express whole sip message purposes in the middle of initial row; Header field is the element in the sip message, be used for pass-along message attribute and revise the message meaning, identical with the HTTP header field on syntax and semantics. because the difference of application scenario, the SIP header field expands at different being applied in constantly, so that very huge, but owing to this reason, the application of Session Initiation Protocol just very extensively.
Below be three typical sip messages, client sends INVITE and asks server, and server sends 200 responses, and client sends ACK, thereby finishes a complete message flow.
1、INVITE
INVITE?sip:bob@biloxi.com?SIP/2.0
Via:SIP/2.0/UDP?pc33.atlanta.com;branch=z9hG4bKkjshdyff
To:Bob<sip:bob@biloxi.com>
From:Alice<sip:alice@atlanta.com>;tag=88sja8x
Max-Forwards:70
Call-ID:987asjd97y7atg
Cseq:986759INVITE
2,200 confirm INVITE
SIP/2.0I200OK
Via:SIP/2.0/UDP?pc33.atlanta.com;branch=z9hG4bKkjshdyff
To:Bob<sip:bob@biloxi.com>;branch=z9hG4bKkjshdyaa
From:Alice<sip:alice@atlanta.com>;tag=88sja8x
Max-Forwards:70
Call-ID:987asjd97y7atg
Cseq:986759INVITE
3, ACK confirms 200OK
ACK?sip:bob@biloxi.com?SIP/2.0
Via:SIP/2.0/UDP?pc33.atlanta.com;branch=z9hG4bKkjshdyff
To:Bob<sip:bob@biloxi.com>;tag=99sa0xk
From:Alice<sip:alice@atlanta.com>;tag=88sja8x
Max-Forwards:70
Call-ID:987asjd97y7atg
Cseq:986759ACK
INVITE in the above-mentioned sip message, ACK, and the OPTIONS that does not mention, CANCEL, BYE, REGISTER etc. belong to method information, via, to, from, max-forward etc. belong to header field.
Sip server for the consideration of each side and the restriction of condition, may not supported the header field of all expansions in implementation procedure, sip server can provide different header field supports in the face of the application of different business on the header field basis of being supported simultaneously.
In the existing inquiry mechanism, receive UA (User Agent at server, the user agent, be a software on the terminal, GC group connector participates in mutual) behind the OPTIONS query messages that sends, can reply query requests according to the support situation of self, and in the middle of the Response response of replying, all method information of being supported all are transmitted back to sip terminal, this querying method only provides the query function of method, and the function of header field inquiry is not considered, thereby weakened the effect of query function, inquiry is only rested in the support of the other side's photos and sending messages, be unfavorable for carrying out pointedly miscellaneous service.
Sip terminal just can be known the SIP related expanding that sip server or other SIP entity are supported by the inquiry header field, sends to server to prevent incompatible header field, thereby causes the waste of resource; Can also know the header field type that oneself can send to server by inquiry in addition, thereby carry out more targetedly with the relevant service of header field. and server is in the inquiry header field, if with reference to the mechanism of querying method, the shortcoming below then existing:
1, carrying out along with the SIP related service, more and more for the application on the sip server, the method and the header field of expansion also can get more and more, and complexity also can strengthen gradually, server is in the inquiry header field, if with reference to the mechanism of querying method, all header field information of being supported are all told to sip terminal, do not advise openly giving all header fields professional and user for some, there is potential safety hazard in this method;
2, only the business at specific is effective owing to expansion header field partly, if in the inquiry header field, with reference to the mechanism of querying method, all give the waste that sip terminal will cause resource with whole header fields that server is supported, and reduce professional specific aim of carrying out.
3, existing method inquiry mechanism all is transmitted back to sip terminal to the method for all supports, do not consider the ability of sip terminal, if in the inquiry header field, with reference to the mechanism of querying method, give terminal with the whole loopbacks of all header field information, sip terminal limited in one's ability, particularly the ability of wireless terminal is more weak, if once very many information is sent to sip terminal, that can bring very many difficulties to sip terminal, can cause the too much flow of sip terminal or congested.
Summary of the invention
Technical problem to be solved by this invention is: overcome prior art in the sip terminal supporting query server ability, only querying method information; If the mechanism with reference to querying method is inquired about header field, thereby all header field information of server support are all told to sip terminal, then there are potential safety hazard and waste resource, easily cause congested etc. the shortcoming of sip terminal, a kind of method of sip terminal supporting query server ability is provided, the fail safe of enhanced system, and alleviate the burden of sip terminal, prevent flow that sip terminal is too much or congested.
The present invention solves the problems of the technologies described above the technical scheme that is adopted to be:
The method of this supporting query server ability at session initial protocol terminal may further comprise the steps:
Sip terminal sends the header field query requests to sip server, and the search access right sign of sip terminal is sent to described sip server;
Sip server returns corresponding header field information according to the search access right sign and gives described sip terminal.
Wherein, described search access right sign can be the traffic flag or the authentication information that can identify sip terminal, and sip server is given described sip terminal according to traffic flag or authentication information with this business of support or user's header field information loopback.
Wherein, described sip terminal traffic flag or authentication information can send to sip server at sip terminal before sip server sends the header field query requests.Perhaps, send to described sip server by described header field query requests.
Wherein, described sip server can judge whether this sip terminal has the authority of inquiry header field that sip server is supported by traffic flag or the authentication information obtained; If there is not authority, then in replying message, carry error code; If search access right is arranged, then, return the respective queries result that sip server is supported according to traffic flag or authentication information, be sent to sip terminal by response message.
Wherein, can comprise the header field inquiry mode in the described header field inquiry request message; When described sip terminal has search access right, return corresponding Query Result according to described inquiry mode, and be sent to sip terminal by response message.
Wherein, described header field inquiry mode can be whole inquiries, described whole inquiry is to indicate in the middle of query requests to need all header fields of inquiry that then sip server can return at the user of described traffic flag or authentication information correspondence or professional all and support header field.
Wherein, described header field inquiry mode can be part checking inquiry, described part checking inquiry is to indicate to need sip server to confirm the header field information of supporting in the middle of query requests, sip server can be confirmed header field information listed in the query messages at the user or the business of described traffic flag or authentication information correspondence, lists the header field that sip server is supported in the header field information that needs to confirm in the response that sip server returns.
Beneficial effect of the present invention is: the present invention overcomes prior art in the sip terminal supporting query server ability, only querying method information; If the mechanism with reference to querying method is inquired about header field, thereby all header field information of server support are all told to sip terminal, then there are potential safety hazard and waste resource, easily cause congested etc. the shortcoming of sip terminal, traffic flag or authentication information at sip terminal, and sip terminal is inquired about the classification of header field inquiry mode, like this, sip server can to the header field query requests of sip terminal in addition authority judge, strengthened the fail safe and the compatibility of system; And the saving resource, alleviated the burden of sip terminal, prevented that sip server from sending a large amount of useless header field information back to, cause the too much flow of sip terminal or congested; Can also according to sip terminal the header field that can send to sip server, limit some business, or carry out targetedly with the relevant service of header field.
Description of drawings
Fig. 1 for the present invention utilizes prior message carry the schematic flow sheet that authentication information carries out header field inquiry;
Fig. 2 carries the schematic flow sheet that authentication information carries out the header field inquiry for the present invention utilizes query messages.
Embodiment
With embodiment the present invention is described in further detail with reference to the accompanying drawings below:
Different business are when carrying out, must know whether server is supported the needed header field of this business, for the terminal that realizes different business, if the header field that querying server is supported, server can be distinguished different application and reply the corresponding header field supported, fail safe that so just can the enhancement service device; And can prevent that server from sending a large amount of useless header field information back to, cause the too much flow of wireless terminal or congested; Can also according to sip terminal the header field that can send to sip server, limit some business, or carry out targetedly with the relevant service of header field.
Based on above-mentioned analysis, the present invention is in the reciprocal process of sip terminal with sip server, sip terminal sends the header field query requests to sip server, and to sip server transmission search access right sign, as the traffic flag or the authentication information that can identify sip terminal, sip server will be according to traffic flag or authentication information like this, after receiving the query messages of sip terminal, the SIP header field information of supporting this type of service or user is carried in the return messages loopback gives sip terminal, fail safe that so just can enhanced system.Such as a low-grade user, the header field that returns can be fewer, has restriction; The header field that high-grade user then returns is many, does not have too many restriction.
The traffic flag or the authentication information of sign sip terminal can have following dual mode to send to sip server by sip terminal:
1, can be before query messages to be mutual, traffic flag or the authentication information of utilizing other flow process to carry sip terminal arrive sip server.
As shown in Figure 1, sip terminal in early days registration or other SIP business process in finish the reciprocal process of traffic flag or authentication information, sip server is stored in corresponding result in the server, waits until follow-up affairs and uses.
When inquiring about, sip terminal is at first constructed the sip message of inquiry header field, and in the mode and the relevant information of clear and definite header field inquiry in the middle of this sip message. when sip server receives the sip message that sip terminal sends, judge by traffic flag or the authentication information obtained before this whether this sip terminal has the authority of inquiry header field that sip server is supported, if no, then in the middle of the Response message of replying, carry error code; If search access right is arranged, then the inquiry mode that is provided according to SIP end and according to traffic flag or authentication information returns the respective queries result that sip server is supported, final result is sent to sip terminal by response message.
If less than not carrying traffic flag or authentication information by other flow process, in inquiry, can require sip terminal carry out the authentication process so by the 401Unauthorized response message to sip server.
Because the quantity of SIP header field is bigger, so in order to improve the efficient of inquiry, sip terminal is divided into whole inquiries and part checking inquiry two classes to the inquiry mode of header field that sip server is supported, two kinds of inquiry mode specific implementation methods are as follows:
1) all inquiries
Indicating in the middle of query requests needs all header fields of inquiry, and sip server will return at user or professional all and support header field so;
2) part checking inquiry
Indicating in the middle of query requests needs sip server to confirm the header field information of supporting, promptly in the header field query messages, carry the desired sip server of this sip terminal and support the message of header field, wish the header field supported such as in the middle of the Allow of sip message header field, indicate some sip terminals, sip server will or professional be confirmed the header field information listed in the middle of the query messages at the user so, in the response that sip server returns, list the header field of supporting at sip server in the Allow header field, such as listing 10 in the Allow header field, and sip server is only supported wherein 8, then can list in response and support which 8 header field.
2, can be when sip server send query messages at sip terminal, traffic flag or the authentication information of utilizing query messages to carry sip terminal arrive sip server.
As shown in Figure 2, sip terminal is divided into whole inquiries and part checking inquiry two classes equally to the inquiry mode of header field that sip server is supported.Sip server carries traffic flag or authentication information inquire about the sip message of header field in being used to of being constructed in the middle of, sip server judges after sip terminal being carried out authentication, authentication whether sip terminal has the authority of header field inquiry, if not have then carry error code in the middle of the Response of answer responds; If search access right is arranged, then, return the respective queries result that sip server is supported, and send back sip terminal by response message according to the header field inquiry mode of sip terminal request and according to traffic flag or authentication information.
Like this, when sip terminal of the present invention sends the inquiry header field to sip server, sip server can according to the situation of sip terminal judge and the header field that sends necessity to sip terminal.Sip server judges whether sip terminal has search access right to can be used as the foundation which header field this sip terminal supports, traffic flag can be set, and is used as providing different header field supports to the sip terminal of realizing different business from the different business angle; Perhaps by to the subscription authentication authentication information of sip terminal, realize providing different header field supports to the sip terminal of different user from different users' angle.The present invention can support different header field inquiry modes according to the requirement of sip terminal simultaneously, and returns Query Result by Response message.
The present invention is directed to the traffic flag or the authentication information of sip terminal, and sip terminal is inquired about the classification of header field inquiry mode, like this, sip server can to the header field query requests of sip terminal in addition authority judge, strengthened the fail safe and the compatibility of system; And the saving resource, alleviated the burden of sip terminal, prevented that sip server from sending a large amount of useless header field information back to, cause the too much flow of sip terminal or congested; Can also according to sip terminal the header field that can send to sip server, limit some business, or carry out targetedly with the relevant service of header field.
Those skilled in the art do not break away from essence of the present invention and spirit, can there be the various deformation scheme to realize the present invention, the above only is the preferable feasible embodiment of the present invention, be not so limit to interest field of the present invention, the equivalence that all utilizations specification of the present invention and accompanying drawing content are done changes, and all is contained within the interest field of the present invention.

Claims (6)

1. the method for a supporting query server ability at session initial protocol terminal is characterized in that, may further comprise the steps:
Sip terminal sends the header field query requests to sip server, and the traffic flag that can identify sip terminal sends to described sip server;
The header field information that sip server returns described sip server support according to described traffic flag is given described sip terminal;
Comprise the header field inquiry mode in the described header field inquiry request message; When described sip terminal has search access right, return corresponding Query Result according to described inquiry mode, and be sent to sip terminal by response message.
2. the method for supporting query server ability at session initial protocol terminal according to claim 1 is characterized in that: described traffic flag sends to sip server at sip terminal before sip server sends the header field query requests.
3. the method for supporting query server ability at session initial protocol terminal according to claim 1, it is characterized in that: described traffic flag sends to described sip server by described header field query requests.
4. according to the method for claim 2 or 3 described supporting query server ability at session initial protocol terminal, it is characterized in that: described sip server judges by the traffic flag of obtaining whether this sip terminal has the authority of inquiry header field that sip server is supported; If there is not authority, then in replying message, carry error code; If search access right is arranged, then according to traffic flag, return the respective queries result that sip server is supported, be sent to sip terminal by response message.
5. according to the method for the arbitrary described supporting query server ability at session initial protocol terminal of claim 1 to 3, it is characterized in that: described header field inquiry mode is all inquiries, described whole inquiry is to indicate to need all header fields of inquiry in the middle of query requests, and then sip server can return all the support header fields at described traffic flag corresponding service.
6. according to the method for the arbitrary described supporting query server ability at session initial protocol terminal of claim 1 to 3, it is characterized in that: described header field inquiry mode is part checking inquiry, described part checking inquiry is to indicate to need sip server to confirm the header field information of supporting in the middle of query requests, sip server can be confirmed header field information listed in the query messages at described traffic flag corresponding service, lists the header field that sip server is supported in the header field information that needs to confirm in the response that sip server returns.
CN200610060255A 2006-04-07 2006-04-07 Method for supporting query server ability at session initial protocol terminal Active CN1984136B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610060255A CN1984136B (en) 2006-04-07 2006-04-07 Method for supporting query server ability at session initial protocol terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610060255A CN1984136B (en) 2006-04-07 2006-04-07 Method for supporting query server ability at session initial protocol terminal

Publications (2)

Publication Number Publication Date
CN1984136A CN1984136A (en) 2007-06-20
CN1984136B true CN1984136B (en) 2010-05-12

Family

ID=38166366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610060255A Active CN1984136B (en) 2006-04-07 2006-04-07 Method for supporting query server ability at session initial protocol terminal

Country Status (1)

Country Link
CN (1) CN1984136B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841520B (en) * 2010-01-22 2013-11-06 中国科学院计算机网络信息中心 Domain name system and information processing method and device for domain name system
CN101945041B (en) * 2010-09-02 2012-11-28 中国科学院计算机网络信息中心 Authoritative server load balancing method, equipment and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1475941A (en) * 2002-08-15 2004-02-18 英业达股份有限公司 On line real time inport goods information inquiry method and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1475941A (en) * 2002-08-15 2004-02-18 英业达股份有限公司 On line real time inport goods information inquiry method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
J. Rosenberg,et al..SIP: Session Initiation Protocol.RFC3261,Network Working Group,IETF.2002,第40页,第66-69页,第158页. *

Also Published As

Publication number Publication date
CN1984136A (en) 2007-06-20

Similar Documents

Publication Publication Date Title
EP1929712B1 (en) Sip header reduction
US7634564B2 (en) Systems and methods for invoking a service from a plurality of event servers in a network
KR100946119B1 (en) Representing network availability status information in presence information
CN100362807C (en) Method for realizing user registration in internet protocol multimedia subsystem
US8467820B2 (en) Push-to-talk optimization
CN100391167C (en) Service call session control function entity backup method and system thereof
EP2106156A1 (en) A method, device and system for transferring terminal information in multimedia subsystem
CN101690073B (en) Ip link establishment across a data network
US9942281B2 (en) Group communication in communication system
EP1851977A2 (en) Reducing size of messages over the cellular control channel
CN100471150C (en) Method for establishing subscribe communication and method for subscribing user events
EP1909434A1 (en) Subscribing method and device
CN100574474C (en) Set up the method that communication traffic connects in a kind of communication system
CN101834730A (en) Multimedia conferencing control method and system
CN101056304B (en) Method for creating the hidden subscription via SIP registration request
EP2068524A1 (en) A method and a system for acquiring the transmission path of the sip message
CN101026614B (en) Media type parameter negotiation method
CN101094530A (en) Method for sending information of service, network functional entity, and user device
CN102742241B (en) Secure XDM communication between IMS network
CN1856167B (en) Method for inquiring registration of unregistered IMS user
CN1984136B (en) Method for supporting query server ability at session initial protocol terminal
US9762621B2 (en) Call routing for IP multimedia subsystem users
CN101437093B (en) Implementation of calling address transmission in IMS network
WO2009030123A1 (en) Method, system and service register center for controlling access to non-sip service
KR100845310B1 (en) Method and system for establishing session in internet protocol multimedia service

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