[go: up one dir, main page]

CN100471150C - Method for establishing subscribe communication and method for subscribing user events - Google Patents

Method for establishing subscribe communication and method for subscribing user events Download PDF

Info

Publication number
CN100471150C
CN100471150C CNB2006100611547A CN200610061154A CN100471150C CN 100471150 C CN100471150 C CN 100471150C CN B2006100611547 A CNB2006100611547 A CN B2006100611547A CN 200610061154 A CN200610061154 A CN 200610061154A CN 100471150 C CN100471150 C CN 100471150C
Authority
CN
China
Prior art keywords
network element
subscription
registrar
dialogue
subscribe
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
CNB2006100611547A
Other languages
Chinese (zh)
Other versions
CN101043396A (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 CNB2006100611547A priority Critical patent/CN100471150C/en
Priority to PCT/CN2007/001674 priority patent/WO2007147321A1/en
Publication of CN101043396A publication Critical patent/CN101043396A/en
Application granted granted Critical
Publication of CN100471150C publication Critical patent/CN100471150C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosed method for building subscription dialogue comprises: the subscription grid element initiates the subscription request with address as the register server to the register server; the latter receives the request and builds the subscription dialogue.

Description

Set up the method for subscription dialogue and the method for booking reader's incident
Technical field
The present invention relates to the communications field, particularly relate to foundation and subscribe to the method for dialogue and the method for booking reader's incident.
Background technology
Session Initiation Protocol is the agreement that is used to set up Multimedia session of IETF RFC3261 definition.At present, Session Initiation Protocol is widely used in comprising packet networks such as Internet network, IMS network.For example the IMS network be 3GPP R5 and R6 based on the SIP framework, adopt the business network of multiple access technologies such as 3G/2G GPRS, WLAN.
In order to obtain user position information, SIP is the location-based service establishment binding relationship of special domain by registration service, and the recording address in the contact address of Contact header field and the To header field is bound in registration service.A recording address can be bound one or more contact address.When the acting server in this territory receives a SIP request, record coupling according to Request-URI in the request and recording address, the contact address of finding the user to register, it is which user's registration status information that wherein said Request-URI is used to indicate what will subscribe to.Forwarding the request to this contact address then goes.
The SIP registration service comprises by register requirement REGISTER asks to be used for increasing, to delete, refresh, inquire about binding information.REGISTER request can increase the binding between a recording address and one or more contact address.The content that client can be deleted front binding equally also can the query note address current bind address.
In RFC3265 (Session Initiation Protocol (SIP)-Specific Event Notification) and RFC3680 (A Session Initiation Protocol (SIP) Event Package for Registrations), defined the subscribing mechanism of SIP, and the method for passing through subscribing mechanism booking reader registered events.Its main flow process is as shown in Figure 1:
1, application server sends message to registrar, the registered events of the user terminal that pulls subscription.
2, registrar echo reply message is accepted described subscribe request, so far, subscribes to session establishment.
3, subscribe to session establishment after, registrar sends a notification message to application server and notifies the login state of current subscribed user terminal.
4, user terminal is initiated registration to registrar, and after succeeding in registration, registrar sends a notification message to application server and notifies the registered events of described user terminal.
The above-mentioned registered events that obtains subscribed user by the method for subscribing based on the user is used in the networks such as IMS.In the IMS network, network element that can booking reader's registered events comprises the application server AS of user terminal, proxy call conversation control function entity P-CSCF and third-party registration.Said network element can obtain subscribed user's implicitly registered set, the information such as login state of user ID by the subscription registration incident.By subscribing notification message, network can be in needs, force users authentication, logging off users or allow the user initiate heavily to register.But above-mentioned method for subscribing based on the user is subscribed to network element for P-CSCF, AS etc., there is following problem: first, P-CSCF, AS etc. subscribe to network element and need in user's registration lifetime, periodically send subscribe request and keep the validity of subscribing to, and have increased the expense of the network equipment.Illustrate, if an equipment is supported 10 general-purpose families, on average each user has three AS to provide professional, each user needs 5 to subscribe to example so, subscription period is 30 minutes, and entire equipment needs 500,000 to subscribe to example, need handle 28 each second and subscribe to affairs.This internal memory and performance to communication apparatus has very high requirement.The second, subscribing mechanism needs to keep the validity of subscribing to dialogue by periodically redefining, because Session Initiation Protocol is a text protocol, will occupy the Network Transmission bandwidth greatly, increases the flow of network.
Summary of the invention
In view of this, the method that main purpose of the present invention is to provide foundation to subscribe to talks with and the method for booking reader's incident, thus reduction reduces the flow of network and the Network Transmission bandwidth that takies to the internal memory and the performance requirement of communication apparatus.
In order to achieve the above object, technical scheme of the present invention is achieved in that
A kind of method of subscribing to dialogue of setting up may further comprise the steps:
A, subscription network element are initiated subscribe request to registrar, and the request address of described subscribe request is the address of registrar;
B, registrar receive described subscribe request, set up between described subscription network element and registrar and subscribe to dialogue.
Further may further comprise the steps before the steps A:
A ', registrar obtain and preserve the network element address of subscribing to network element.
Steps A ' further may further comprise the steps:
The network element address that registrar obtains described subscription network element according to registration request from user message, user's subscription data or static configuration data.
Step B specifically comprises:
Registrar receives described subscribe request, if the subscription network element address in the subscription request message is the described subscription network element address of having preserved, then sets up the subscription dialogue based on network element between described subscription network element and registrar.
Step B specifically comprises:
Registrar receives described subscribe request, if the subscription network element address in the subscription request message is different with the described subscription network element address of having preserved, then initiate subscribing to the authentication of network element, authentication is passed through, and sets up the subscription dialogue based on network element between described subscription network element and registrar.
A kind of method of booking reader's incident may further comprise the steps:
A, subscription network element judge whether self sets up the subscription dialogue with registrar;
Subscribe to dialogue if B sets up, then to the subscribe request of registrar initiation based on network element, the request address of described subscribe request is the address of registrar; Registrar receives described subscribe request, sets up the subscription dialogue based on network element between described subscription network element and registrar, and registrar will be subscribed to the relevant customer incident of network element and subscribe to network element by described subscription dialogue notice; Subscribe to dialogue if set up, then registrar will be subscribed to the relevant customer incident of network element and subscribe to network element by described subscription dialogue notice.
Registrar will be subscribed to the step that the relevant customer incident of network element subscribes to network element by described subscription dialogue notice and specifically comprise among the step B:
Registrar judges whether the user is subscribed to by described subscription network element after customer incident changes; If then talk with the described subscription network element of subscribed user's event notice by described subscription.
Among the step B, registrar will be subscribed to the relevant customer incident of network element and notify the step of subscribing to network element specifically to comprise by described subscription dialogue:
Registrar is carried on subscribed user's incident in the notification message and sends to described subscription network element by described subscription dialogue.
Among the step B, registrar judges according to registration request from user message, user's subscription data or static configuration data whether described user can be subscribed to by described subscription network element.
Step B specifically comprises:
Registrar is carried on a plurality of subscribed users' incident in the message body of a notification message and sends to described subscription network element simultaneously by described subscription dialogue, wherein, the message body of described notification message is many message bodies or expansion event notice script.
This shows, the present invention has the following advantages: in the present invention, and subscribing to the subscription dialogue of setting up between network element and the registrar, by this dialogue based on network element, finish all booking readers' of this network element event notice, reduced the expense of network system and flow.
Description of drawings
Fig. 1 is the flow chart of the method for booking reader's registered events in the prior art;
Fig. 2 is the flow chart that the inventive method realizes in the SIP network.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with drawings and the specific embodiments.
What the present invention described is under the situation of registrar and Subscriber unification, use is based on the subscribing manner of the subscribing manner replacement of subscribing to network element based on the user, promptly subscribe to network element and registrar and set up a subscription dialogue, subscribe to dialogue based on this and finish the event notice of subscribing to all booking readers of network element.
Described incident comprises registered events, presents at least one of (Presence) tabulation, Messages-Waiting, dialogue incident, watcher information etc. or multinomial.
The inventive method embodiment is as described below:
1, registrar is preserved the address information of the subscription network element of subscribing to described subscribed customer incident; Registrar can be by subscribed registration request from user message content (for example: the path header field), information such as subscription data of user, static configuration obtains the address information of described subscription network element.
2, subscribed to network element before registrar booking reader incident, check and subscribe to the subscription dialogue of whether having set up between network element and the registrar based on network element.
If do not set up, then subscribe to network element and initiate subscribe request to registrar, subscribe to described all users' of subscription network element incident.If set up, then directly use and subscribe to dialogue.
3, after registrar receives subscribe request, judge this subscribe request for based on the subscription of network element, and set up to subscribe to the subscription network element (referring to the 1st step) of known booking reader's incident according to the information of subscribe request and talk with.
4, after the subscription dialogue of registrar foundation based on network element, notify described subscription network element by described subscription dialogue with subscribed user's incident; When subscribed user's incident took place, the incident that it is new was notified described subscription network element by described subscription dialogue.
Registrar can judge whether described subscription network element can be subscribed to by checking the path header field that user's register requirement carries, user's information such as subscription data.
If registrar can not judge whether subscribe to network element can subscribe to, can carry out the authentication judgement to subscribing to network element by authentication mode.
5, registrar sends a notification message to subscribing to network element according to the method that RFC3680 describes, and notifies subscribed customer incident.
When 6, the subscription network element is received event notice, by the user record address in the notification message body, updating user data.
In conjunction with above-mentioned execution mode, below the realization of the inventive method in the SIP network described in detail as embodiment, its flow process as shown in Figure 2:
1, user Joe initiates register requirement to registrar.Login request message is when the acting server, and acting server is placed on oneself address information in the path header field and carries to registrar.
2, after registrar receives the login request message of user Joe, preserve information such as path header field, send then and reply registration message to user Joe.When described registration reply message was passed through acting server, acting server was preserved the log-on message of user Joe in the registration reply message.
3, acting server is initiated subscribe request to registrar, the registered events of the user Joe that pulls subscription.
In order to support to subscribe to based on the registered events of network element, can expand subscription request message and response message, the method for support comprises methods such as newly-increased header field, newly-increased parameter, label.In the present embodiment, the Request-URI in the subscribe request is used to specify the network element address of subscribed registrar; To header field is used to carry the network element address of subscribed registrar, and all the other are according to the description of RFC3680.Concrete message content is as follows:
SUBSCRIBE?sip:registar.example.com?SIP/2.0
Via:SIP/2.0/UDP?app.example.com;branch=z9hG4bKnashds7
From:sip:app.example.com;tag=123aa9
To:sip:registar.example.com
Call-ID:9987@app.example.com
CSeq:9887SUBSCRIBE
Contact:sip:app.example.com
Event:reg
Max-Forwards:70
Accept:application/reginfo+xml
4, after registrar receives subscribe request,, judge that this subscribe request is the subscription based on network element if Request-URI carries is the network element address of oneself.Registrar is according to the path header field information of having preserved, judge whether acting server can be subscribed to, if the address of the acting server that the From header field carries in the subscribe request is identical with the address of the acting server of having preserved, then accept subscribe request, echo reply message is given acting server, and sets up between described acting server and registrar and subscribe to dialogue.Theing contents are as follows of response message:
SIP/2.0200OK
Via:SIP/2.0/UDP?app.example.com;branch=z9hG4bKnashds7
;received=192.0.2.1
From:sip:app.example.com;tag=123aa9
To:sip:registar.example.com;tag=xyzygg
Call-ID:9987@app.example.com
CSeq:9987SUBSCRIBE
Contact:sip:registar.example.com
Expires:3600
5, after the subscription dialogue of foundation based on network element, whether the registrar inspection exists the user's who has registered incident need notify by described subscription network element, if (user Joe), registrar sends a notification message to acting server by described subscription dialogue, carries the log-on message of user Joe in the notification message.Described notification message content is as follows:
NOTIFY?sip:app.example.com?SIP/2.0
Via:SIP/2.0/UDP?registar.example.com;branch=z9hG4bKnasaij
From:sip:registar.example.com;tag=xyzygg
To:sip:app.example.com;tag=123aa9
Call-ID:9987@app.example.com
CSeq:1289?NOTIFY
Contact:sip:registar.example.com
Event:reg
Max-Forwards:70
Content-Type:application/reginfo+xml
Content-Length:...
<?xml?version="1.0"?>
<reginfo?xmlns="urn:ietf:params:xml:ns:reginfo"
version="1"state="partial">
<registration?aor="sip:joe@example.com"id="a7"state="active">
<contact?id="76"state="active"event="registered"
duration-registered="0">
<uri>sip:joe@pc34.example.com</uri>
</contact>
</registration>
</reginfo>
If there is a plurality of subscribed users' registered events to send to same subscription network element by same subscription dialogue simultaneously, registrar can be put into a plurality of notification message contents in the notification message by the mode of many message bodies.
6, acting server is replied described notification message.
7, user Bob initiates register requirement to registrar.Login request message is when the acting server, and acting server is placed on oneself address information in the path header field and carries to registrar.
8, after registrar receives the login request message of user Bob, preserve information such as path header field, send then and reply registration message to user Bob.When described registration reply message was passed through acting server, acting server was preserved the log-on message of user Bob in the registration reply message.Whether the acting server inspection has set up with registrar is subscribed to dialogue, if then no longer initiate subscribe request.
9, after registrar is replied the register requirement of user Bob, check the proxy server address in the path header field that carries in user's register requirement, whether the user who judges registration is subscribed to by acting server, if, the subscription dialogue of registrar by having set up between acting server and the registrar, send a notification message to acting server, carry the log-on message of user Bob in the notification message.
NOTIFY?sip:app.example.com?SIP/2.0
Via:SIP/2.0/UDP?registar.example.com;branch=z9hG4bKnasdfdk
From:sip:registar.example.com;tag=xyzygg
To:sip:app.example.com;tag=123aa9
Call-ID:9987@app.example.com
CSeq:1290?NOTIFY
Contact:sip:registar.example.com
Event:reg
Max-Forwards:70
Content-Type:application/reginfo+xml
Content-Length:...
<?xml?version="1.0"?>
<reginfo?xmlns="urn:ietf:params:xml:ns:reginfo"
version="1"state="partial">
<registration?aor="sip:bob@example.com"id="a8"state="active">
<contact?id="78"state="active"event="registered"
duration-registered="0">
<uri>sip:bob@pc38.example.com</uri>
</contact>
</registration>
</reginfo>
10, acting server is replied described notification message.
Above-mentioned flow process is general SIP entity flow process, and in the IMS network, acting server can be P-CSCF, and registrar can be S-CSCF, and concrete realization flow is similar, does not repeat them here.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1, a kind of method of subscribing to dialogue of setting up is characterized in that described method may further comprise the steps:
A, subscription network element are to the subscribe request of registrar initiation based on network element, and the request address of described subscribe request is the address of registrar;
B, registrar receive described subscribe request, set up the subscription dialogue based on network element between described subscription network element and registrar.
2, method according to claim 1 is characterized in that, further may further comprise the steps before the described steps A:
A ', registrar obtain and preserve the network element address of subscribing to network element.
3, method according to claim 2 is characterized in that, described steps A ' further may further comprise the steps:
The network element address that registrar obtains described subscription network element according to registration request from user message, user's subscription data or static configuration data.
4, according to any described method of claim 2 to 3, it is characterized in that described step B specifically comprises:
Registrar receives described subscribe request, if the subscription network element address in the subscription request message is the described subscription network element address of having preserved, then sets up the subscription dialogue based on network element between described subscription network element and registrar.
5, according to any described method of claim 2 to 3, it is characterized in that described step B specifically comprises:
Registrar receives described subscribe request, if the subscription network element address in the subscription request message is different with the described subscription network element address of having preserved, then initiate subscribing to the authentication of network element, authentication is passed through, and sets up the subscription dialogue based on network element between described subscription network element and registrar.
6, a kind of method based on the described subscription dialogue of claim 1 booking reader incident is characterized in that described method may further comprise the steps:
A, subscription network element judge whether self sets up the subscription dialogue with registrar;
Subscribe to dialogue if B sets up, then to the subscribe request of registrar initiation based on network element, the request address of described subscribe request is the address of registrar; Registrar receives described subscribe request, sets up the subscription dialogue based on network element between described subscription network element and registrar, and registrar will be subscribed to the relevant customer incident of network element and subscribe to network element by described subscription dialogue notice; Subscribe to dialogue if set up, then registrar will be subscribed to the relevant customer incident of network element and subscribe to network element by described subscription dialogue notice.
7, method according to claim 6 is characterized in that, registrar will be subscribed to the step that the relevant customer incident of network element subscribes to network element by described subscription dialogue notice and specifically comprise among the described step B:
Registrar judges whether the user is subscribed to by described subscription network element after customer incident changes; If then talk with the described subscription network element of subscribed user's event notice by described subscription.
8, method according to claim 6 is characterized in that, registrar will be subscribed to the step that the relevant customer incident of network element subscribes to network element by described subscription dialogue notice and specifically comprise among the described step B:
Registrar is carried on subscribed user's incident in the notification message and sends to described subscription network element by described subscription dialogue.
9, method according to claim 7 is characterized in that, among the described step B, registrar judges according to registration request from user message, user's subscription data or static configuration data whether described user can be subscribed to by described subscription network element.
10, method according to claim 8 is characterized in that, described step B specifically comprises:
Registrar is carried on a plurality of subscribed users' incident in the message body of a notification message and sends to described subscription network element simultaneously by described subscription dialogue, wherein, the message body of described notification message is many message bodies or expansion event notice script.
CNB2006100611547A 2006-06-15 2006-06-15 Method for establishing subscribe communication and method for subscribing user events Expired - Fee Related CN100471150C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNB2006100611547A CN100471150C (en) 2006-06-15 2006-06-15 Method for establishing subscribe communication and method for subscribing user events
PCT/CN2007/001674 WO2007147321A1 (en) 2006-06-15 2007-05-23 Method and device for subscribing to user event

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100611547A CN100471150C (en) 2006-06-15 2006-06-15 Method for establishing subscribe communication and method for subscribing user events

Publications (2)

Publication Number Publication Date
CN101043396A CN101043396A (en) 2007-09-26
CN100471150C true CN100471150C (en) 2009-03-18

Family

ID=38808623

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100611547A Expired - Fee Related CN100471150C (en) 2006-06-15 2006-06-15 Method for establishing subscribe communication and method for subscribing user events

Country Status (2)

Country Link
CN (1) CN100471150C (en)
WO (1) WO2007147321A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378355B (en) * 2010-08-13 2015-07-15 中国电信股份有限公司 IMS multimedia conferencing terminal switching method and apparatus thereof
CN102469071A (en) * 2010-11-05 2012-05-23 中兴通讯股份有限公司 IP Multimedia Subsystem, Method and Device for Subscribing Forking
WO2013097222A1 (en) * 2011-12-31 2013-07-04 华为技术有限公司 Service distribution method, register server and terminal
CN104113465B (en) * 2013-04-16 2015-10-21 腾讯科技(深圳)有限公司 Realize the method and system of Message Processing in instant messaging open platform
CN105530228A (en) * 2014-09-30 2016-04-27 中兴通讯股份有限公司 User registration processing method, device and system
CN104967652B (en) * 2015-03-10 2019-07-09 腾讯科技(深圳)有限公司 Event subscription method, apparatus and system
CN108737570A (en) * 2018-06-22 2018-11-02 北京奇艺世纪科技有限公司 A kind of information-pushing method, apparatus and system
CN110012078A (en) * 2019-03-20 2019-07-12 河北远东通信系统工程有限公司 Applied to AS system end-user registration event subscription and unsubscribe method
CN110012083B (en) * 2019-03-26 2022-07-01 青岛聚好联科技有限公司 Data transmission method, server and data transmission device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0213726D0 (en) * 2002-06-14 2002-07-24 Nokia Corp A communication system
GB0306864D0 (en) * 2003-03-25 2003-04-30 Nokia Corp Service provisioning in a communication system
US20050272455A1 (en) * 2004-06-04 2005-12-08 Nokia Corporation Management of devices

Also Published As

Publication number Publication date
CN101043396A (en) 2007-09-26
WO2007147321A1 (en) 2007-12-27

Similar Documents

Publication Publication Date Title
CN100471150C (en) Method for establishing subscribe communication and method for subscribing user events
KR100700734B1 (en) Subscription method and system of events using SPI protocol
RU2379856C2 (en) Method and element for managing service
US9451422B2 (en) Method, system and network device for routing a message to a temporarily unavailable network user
CN101682617B (en) Method for determining multimedia capacity, multimedia application server and system
US20090043847A1 (en) Group Communication in a Communication System
RU2434351C2 (en) Method, system and apparatus for using ims communication service identifier in communication system
US20110282957A1 (en) Method for processing deferred message
US20020037723A1 (en) Refreshing service profile information using third-party SIP register messages
US20080313321A1 (en) System and method for using presence information
US7948955B2 (en) Subscription method and device
US20080270553A1 (en) Method and System for Instant Notification of Communication Block Information
EP2096792B1 (en) Method for configuring service and entity for storing service configuration
EP1914973B1 (en) System and method to provide combinational services to anonymous callers
CN101480074A (en) Method for notifying network application of client registration in a roaming network
EP2068524A1 (en) A method and a system for acquiring the transmission path of the sip message
CN101330741A (en) Method for relocating subscriber terminal business sharing common subscriber identification
CN101056304B (en) Method for creating the hidden subscription via SIP registration request
CN101834730A (en) Multimedia conferencing control method and system
EP1880556B1 (en) Method and element for service control
CN1856167B (en) Method for inquiring registration of unregistered IMS user
CN101167329B (en) Message handling in an IP multimedia subsystem and server
US20100135190A1 (en) Method and system for establishing a group messaging session in a communication system
CN101426260A (en) Customer registration affair notifying method, server, proxy and system based on SIP
CN100586110C (en) Method, system and network device for routing a message to a temporarily unavailable network user

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

Granted publication date: 20090318

Termination date: 20130615