WO2007068194A1 - A method for realizing batch update in subscribing mechanism, subscriber and notifier terminal - Google Patents

A method for realizing batch update in subscribing mechanism, subscriber and notifier terminal Download PDF

Info

Publication number
WO2007068194A1
WO2007068194A1 PCT/CN2006/003365 CN2006003365W WO2007068194A1 WO 2007068194 A1 WO2007068194 A1 WO 2007068194A1 CN 2006003365 W CN2006003365 W CN 2006003365W WO 2007068194 A1 WO2007068194 A1 WO 2007068194A1
Authority
WO
WIPO (PCT)
Prior art keywords
list information
subscriber
subscription
identification number
notifier
Prior art date
Application number
PCT/CN2006/003365
Other languages
French (fr)
Chinese (zh)
Inventor
Xiao Wang
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.
Publication of WO2007068194A1 publication Critical patent/WO2007068194A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users

Definitions

  • Embodiments of the present invention relate to a resource subscription method of a core network, and in particular, to a method for implementing batch refresh in a subscription mechanism, and a subscriber and a notifier terminal.
  • SIP Session Initiation Protocol
  • SIP Session Initiation Protocol
  • SIP implements a subscription/notification framework and introduces subscription ( SUBSCRIBE ) and notification ( NOTIFY ) methods.
  • SUBSCRIBE subscription/notification framework
  • NOTIFY notification
  • the SUBSCRIBE method is used for subscriptions, while the NOTIFY method is used to pass notifications of any changes to an event.
  • a subscription notification is when a user or resource initiates a subscription to another resource. Since the latter has an event of interest to the former, the former will receive notifications about the status of the event and any changes.
  • Step (1) Subscriber sends a subscription (SUBSCRIBE) message to the Notifier (resource owner) requesting subscription to the resource status of interest;
  • Step (2) The Notifier allows the Subscriber to subscribe, sends a 200 OK response confirmation to the Subscriber, establishes a subscribed dialog dialog between the Subscriber and the Notifier, and creates a subscription instance on the Subscriber and the Notifier respectively;
  • Step (3) The Notifier sends a NOTIFY message to the Subscriber, and carries the resource status of the Subscriber subscription in the message body of the NOTIFY message; - Step (4): After receiving the NOTIFY message, the Subscriber sends a 200 OK response to the Notifier. , indicating that the NOTIFY message was successfully received.
  • the prior art SIP subscription notification mechanism creates a dialog, and the so-called dialog is also The words are a SIP relationship between the communicating parties, which provides the necessary state information on which to route and message between the communicating parties.
  • a dialog can associate multiple subscribed instances, that is, Subscriber initiates multiple subscription requests to Notifier, respectively subscribe to different event packages, and these different subscription requests will be created on Subscriber and Notifier respectively - corresponding subscriptions Instance, all instances of these subscriptions are associated with a dialogrob.
  • each subscription instance is identified by a unique id value that is generated by the Subscriber initiating each initial subscription request, and The Notifier is passed to the id parameter of the Event header field in the subscription request.
  • the subscription uses a soft state and therefore needs to be refreshed.
  • the subscription refresh is achieved by sending a SUBSCRIBE request within the subscription period and setting the value of its Expires header field to a value other than zero. Subscriber needs to send a SUBSCRIBE request for each subscribed instance to refresh the subscription.
  • An object of the embodiments of the present invention is to provide a method for implementing batch refresh in four subscription mechanisms, which implements batch refreshing of multiple subscription instances to solve the inefficiency and bandwidth waste caused by separately refreshing each subscription instance. problem.
  • Another object of the embodiments of the present invention is to provide a subscriber terminal and a notifier terminal.
  • the technical solution of the embodiment of the present invention includes:
  • a method for implementing batch refresh in a subscription mechanism which is used for interaction between a notifier and a subscriber, and includes the steps of:
  • the subscriber creates the first list information and sends the information to the notifier.
  • the notifier refreshes the subscription instance local to the notifier according to the received first list information, and carries the second list information created by the notifier by using the response message;
  • the subscriber creates a header field of the first list information, and adds the header field to the batch refresh message, where the first list information includes an identification number of all active subscription instances that are locally associated with the same session. ;
  • the notifier receives the batch refresh message with the first list information header field, and according to the batch refresh message, matches the local conversation, and extracts the subscription instance identification number and the local matching conversation one by one from the list information header field.
  • the associated subscription instance identification number is compared, and a second list information header field is created, and the different identification numbers are added to the comparison, and the subscription instance corresponding to the same identification number is refreshed.
  • a method for implementing batch refresh in a subscription mechanism which is used for interaction between a notifier and a subscriber, and includes the steps of:
  • the subscriber creates a header field of the first list information, and adds the header field to the batch refresh message, where the first list information includes call identifiers of all active subscription instances that are locally associated with multiple conversations. number;
  • the notifier receives the batch refresh message with the first list information header field, matches the local call number according to the call identification number in the batch refresh message, and refreshes all the matched multiple sessions.
  • the subscription instance adds the call identification number of the session that cannot be matched to the second list information header field, and sends the response message to the subscriber, and the subscriber refreshes the local subscription instance.
  • a method for implementing batch refresh in a subscription mechanism which is used for interaction between a notifier and a subscriber, and includes the steps of:
  • the subscriber puts the subscription instance identification number that needs to be batch refreshed and the call identification number of its associated conversation into a message body, and saves the list locally, and records it as the first list information;
  • the notifier extracts the call identification number one by one from the message body, matches the local conversation, and if yes, saves the corresponding call identification number to the second list information, and retrieves the call identifier one by one from the message body.
  • the identification number of the associated subscription instance is compared with the matching instance identification number associated with the matching notifier local conversation. If they are equal, the subscription instance corresponding to the identification number is refreshed. Otherwise, the subscription instance identification number is saved to the second list information;
  • the notifier puts the second list information into the message body of the response message and sends the message to the subscriber for refreshing each subscription instance.
  • a subscriber terminal comprising: a receiving and sending unit, a creating unit, and a refreshing unit, wherein the creating unit is configured to create first list information, and transmit the first list information to a receiving and sending unit, where the receiving and sending unit is configured to Receiving the first list information is sent to the notifier; receiving the second list information created by the notifier, and transmitting the information to the refreshing unit;
  • the refresh unit refreshes the local subscription instance according to the received second list information.
  • a notifier terminal comprising: a receiving and sending unit, a refreshing and creating unit, wherein the receiving and sending unit is configured to receive the first list information, and transmit the information to the refreshing unit; and send the received second list information to subscriber;
  • the refresh creation unit refreshes the local subscription instance according to the received first list information, creates second list information, and transmits the created second list information to the receiving and transmitting unit.
  • the method for implementing batch refresh in a subscription mechanism improves the efficiency of refreshing the subscription instance by using the batch refresh mode, reduces the number of messages for refreshing subscriptions, and reduces the consumption of network bandwidth.
  • the present invention also discloses a subscriber terminal and a notifier terminal to facilitate application of the method of the present invention.
  • FIG. 1 is a schematic flowchart of a subscription and refresh process of the prior art
  • FIG. 2 is a schematic flow chart of a first embodiment of a batch refresh according to a method of an embodiment of the present invention
  • FIG. 3 is a flow chart showing a second embodiment of a batch refresh of a method in accordance with an embodiment of the present invention.
  • a method for implementing batch refresh in a subscription mechanism implements a mechanism for batch refreshing multiple subscription instances.
  • a method based on the embodiment of the present invention is to newly extend a header field, which is used to deliver an identifier number of a subscription instance that needs to be refreshed or a call identification number Call-ID of a plurality of dialog dialogs, For example, if you name it SubJDList, its format definition can be, but is not limited to, the following:
  • Sub_IDList (“Sub_IDList") HCOLON (sub-idparam * (COMMA sub-idparam))
  • sub-idparams are defined in the Sub-IDList, each sub-idparam is separated by a comma, sub-idparam represents a sub-id or sub-idset or callid, sub-id is a string, and the id of the subscription instance
  • sub-idset represents the range of a number
  • the two numbers are separated by a vertical number T
  • the value of idmin must be less than the value of idmax, such as: 6 to 21, expressed as "6
  • Callid represents the value of the Call-ID that matches a dialog, as defined by the RJFC3261 standard. Based on the above expansion scheme, the identification number ID and the Call-ID of the subscription instance cannot exist in the Sub-IDList at the same time, that is, the identification number ID of the same dialog dialog or the call identification number Call-ID of the different dialog dialog.
  • the above method does not limit the SIP message that can carry the Sub-IDList header field.
  • a message may be an existing message or a new message that is extended for batch refresh subscription.
  • For refreshing the subscription instance associated with the same dialog use the message in the dialog (that is, the message associated with the dialog); for refreshing the subscription instance associated with different dialo, use the message outside the dialog (that is, the message that is not associated with any dialog).
  • an UPDATE message may be used for refreshing a subscription instance associated with the same dialog; for refreshing a subscription instance associated with a different dialo, a SUBSCRIBE message outside the dialog may be used.
  • the following uses the UPDATE message as a carrier carrying the Sub-IDList header field as an example to describe the processing of the Sub__IDList header field in the above method:
  • the Subscriber creates a first list information header field, which is recorded as a Sub-IDList, and adds the header field to the UPDATE message, and adds the id of all active subscription instances of the same association to the same dialog to the Sub-IDList header field. , and keep the Sub-IDList header field locally, which is recorded as the local Sub_IDList. For the consecutive numeric form of the subscription instance id, the range representation can be used. See the definition of the Sub-IDList header field. .
  • the Notifier receives the UPDATE message with the Sub-IDList header field, and matches the UPDATE message to the local dialog, and compares the subscription instance id from the Sub-IDList header field with the subscription instance id associated with the local matching dialog, and Create a new Sub-IDList header field, which is the second list information header field, denoted as Sub_IDList', add the different ids after comparison, and refresh the subscription instances corresponding to the same id, for consecutive numbers.
  • the id of the form can be expressed in terms of scope.
  • the Notifier creates an UPDATE response message, and adds the generated Sub-IDList as a new Sub-IDList header field to the UPDATE response message; the Subscriber receives the UPDATE response message, and extracts the subscription instance id one by one from the SubJDLisf header field. Compared with the local Sub-IDList, if they are the same, the local subscription instance corresponding to the id is released, and the corresponding id in the local Sub-IDList is deleted. After processing the id in the SubJDList' header field in the response message, the subscription instances associated with the remaining ids in the local Sub-IDList are refreshed one by one.
  • the Subscriber sends a plurality of subscription requests associated with the same dialog to the Notifier, and respectively generates a corresponding number of subscription instances on the Subscriber and the Notifier, and the id values of the instances are some characters in pure numbers. Strings, some are alphanumeric strings, between Subscriber and Notifier - corresponding. After a period of time, due to network anomalies, etc., the subscription instance id on Subscriber and Notifier does not correspond.
  • the subscription instance id on Subscriber is ⁇ 1
  • the subscription instance id on Notifier is ⁇ 20
  • the Notifier initiates a batch refresh of the subscription, uses UPDATE as the batch refresh message, and refreshes all IDs in two steps.
  • the batch refresh process based on the same dialog of the method of the present invention includes the following steps:
  • the Subscriber initiates a batch refresh of the subscription, and puts part of the local ID to be refreshed ⁇ 1
  • the Notifier receives the batch refresh request of the subscription initiated by the Subscriber, and extracts the id from the Sub-IDList header field one by one to compare with the local. If they are equal, the subscription instance of the id is updated; if not, the The ID is saved to a second list information Sub-IDList header field, which is recorded as Sub_IDList.
  • the Sub_IDList is obtained, and the header field is ⁇ 1
  • the Notifier receives the batch refresh request of the subscription initiated by the Subscriber, and extracts the id from the Sub-IDList header field one by one to compare with the local. If they are equal, the subscription instance corresponding to the id is refreshed; if not, the id is saved. Go to a new Sub-IDList header field and record it as Sub-IDList.
  • the header field is ⁇ 81
  • the header field is passed to the Subscriber through the 200 OK; the Subscriber receives 200 ⁇ ,
  • the Sub-IDLisf header field is extracted one by one and compared with the id in the local Sub-IDList in the Subscriber. If they are equal, the subscription instance corresponding to the id is released, and the corresponding ID in the local SubjDList is deleted; finally, the local Sub_IDList ⁇ 80 is successively changed. , 90
  • the refresh subscription process based on different dialogs is shown in Figure 3, assuming Subscriber to Notifier Four subscription requests are sent, each subscription request is associated with a dialog, and four subscription instances are generated on Subscriber and Notifier respectively, and four different dialogs are associated.
  • the Call-ID of the four dialogs is ⁇ 843817637684230@998sdasdh09, Wwre42gd30@9943gdh09, 84381ffjj5i4230@23drtasdh09, adf54684230@55hdasdre ⁇ .
  • Subscriber initiates a batch refresh of the subscription to Notifier, using SUBSCRIBE without any dialog as a batch refresh message.
  • the basic steps include:
  • the Subscriber initiates a batch refresh of the subscription.
  • the SUBSCRIBE message that associates multiple dialogs without being associated with any dialog carries the header field of the first list information SubJDList, and the Call-ID of the dailog corresponding to the subscription instance that needs to be refreshed locally.
  • ⁇ 843817637684230@998sdasdh09 , wwre42gd30@9943gdh09 , 84381 f3 ⁇ 4 5i4230@23drtasdh09 , adf54684230@55Masdre ⁇ put the Sub-IDList header field, and save a copy locally, denoted as LocallDList, sent to Notifier;
  • the Notifier receives the batch refresh request of the subscription initiated by the Subscriber, and removes the call identification number Call-ID from the SubjDList header field to match the local dialog, and refreshes all the subscription instances associated with the matching dialog, which cannot match the dialog.
  • the Call-ID is placed in the second list information Sub-IDList header field, which is recorded as LocallDList'.
  • the four Call-IDs shown in Figure 3 can be matched to the local dialog, SubJDList, and the header field is empty.
  • One of the key points of the above method is to perform Subscriber and Notifier localization by using a header field carrying a subscription instance ID based on the same dialog or a Call-ID based on different dialogs in the request message and its response message to interact between Subscriber and Notifier.
  • a refresh of the subscription instance Since the message body of the SIP request message and the response message can be used to transfer any data, another existing technical solution is to carry the id of the subscription instance and/or the Call of the dialog through the message body of the request message and the response message. ID.
  • ID The encoding format of the message body can be in various ways such as text and XML.
  • the key point is that the content of the message body includes the subscription instance identifier.
  • the call ID and/or the Call-ID of the dialog as shown in Figure 2 (1) to (4), use the content carried in the Sub-IDList header field, and the message body in the XML-encoded format includes the following steps:
  • the subscriber will put the batch instance ID of the batch refresh and the Call-ID of the dialog associated with these IDs into a defined message body format, and adopt the above-mentioned XML subscription instance ID list message format, through a non- A message associated with any dialog is sent to the notifier, and the list is saved locally, recorded as LocallDLisL
  • the notifier first takes out the Call-ID one by one from the message body, matches the local dialog, and if yes, saves the Call-ID, and then retrieves the ID of the subscription instance associated with the Call-ID one by one from the message body. And comparing the extracted ID with the subscription instance ID associated with the matching dialog. If they are equal, the subscription instance corresponding to the ID is refreshed, and if they are not equal, the subscription instance ID is saved.
  • the subscriber receives 200 O, firstly takes out the Call-ID one by one from the locally saved LocallDList, and compares it with the Call-ID in the RemoteDDList carried in the response message body. If they are equal, the Call-ID corresponding dialog and its association are released. If there is no equality, the subscription instance ID associated with the Call-ID is retrieved from the RemoteDDList one by one, and the subscription instance ID associated with the locally saved LocallDList is compared with the subscription ID of the Call-ID. If they are equal, the corresponding subscription is released. Instance, and delete the subscription instance ID in LocallDLis.
  • the method of the present invention uses XML encoding to define a message format for a list of subscription instance IDs, as described below:
  • the ⁇ Subidlist> element represents the root element, which is the starting point of the list of subscription instances, and may contain at least one ⁇ dialog> element under the root element;
  • the ⁇ diak>g> element represents the dialog associated with the subscription instance, and has an attribute value callid, Indicates the Call-ID of the dialog, which can be matched to a dialog based on the attribute.
  • the ⁇ dialog> element can contain at least one ⁇ 1 ⁇ 1> or ⁇ 3 ⁇ 4186 ⁇ >, indicating the ID of the subscription instance associated with the dialog; the ⁇ id> element represents The ID of a subscription instance; the ⁇ idset> element represents the range of the ID of the subscription instance, and the value of the interval range must be a continuous positive integer with a step size of 1.
  • the meaning of the above message body is: The subscriber sends a SIP message to the notifier to perform a batch refresh on the subscription, and the message body carries the subscription instance numbers 55, 60, 68, 1 to 50, and the subscription instance label that need to be batch refreshed.
  • the meaning of the above message body is:
  • the notifier performs processing according to the session identification number and the subscription instance number carried in the batch refresh SIP message, and carries the processing result in the message body of the 200 OK response message, where the session identification number wwre42gd30@9943gdh09 indicates The session identifier of the locally matched activity of the notifier, the subscription instance number 55, 60, 1 to 19 indicates that the notifier has not matched the subscription instance locally;
  • the second example of a message body that refreshes a subscribed instance message associated with a dialog is:
  • the meaning of the above message body is:
  • the subscriber sends a SIP message carrying the local unrefreshed subscription instance identification number to the notifier to batch refresh the subscription, and the message body carries the subscription instance label a, wwug , qerr, 80 to 200, the session identification number associated with the subscription instance label wwre42gd30@9943gdh09;
  • the second 200 OK message body is:
  • the notifier performs the processing according to the session identification number and the subscription instance identifier carried in the batch refresh SIP message, and carries the processing result in the message body of the 200 OK response message, where the session identification number wwre42gd30@9943gdh09 represents the active session that matches the notifier locally.
  • the identifier, the subscription instance label wwug, 81 to 89, and 191 to 200 indicate that the notifier has not matched the subscription instance locally;
  • An example of refreshing a message body associated with multiple dialog subscription instances is:
  • the meaning of the above message body is:
  • the subscriber sends a SIP message to the notifier to perform a batch refresh on the subscription, and the message body carries the subscription instance number 80 and the associated session identification number 843817637684230@998sdasdh09, which are required to be batch refreshed, and the subscription instance number Aawe and the associated session identification number wwre42gd30@9943gd 09, subscription instance number g5623 and associated session identification number 84381f3 ⁇ 4j5i4230@23drtasdh09, subscription instance number 2311 and associated session identification number adf54684230@55hdasdre;
  • the notifier performs processing according to the session identification number and the subscription instance number carried in the batch refresh SIP message, and carries the processing result in the message body of the 200 OK response message, where the session identification number is 843817637684230@998sdasdh09, wwre42gd30 @9943gdh09 , 84381f3 ⁇ 45i4230@23drtasdh09 , adf54684230@55Masdre indicates the session ID of the activity that matches the notifier locally.
  • the first three session IDs above have no associated subscription instance ID, indicating that the subscriber needs to refresh the local and All instances of the subscription ID associated with the session identifier are associated with the instance, and 2311 indicates that the notifier has no matching subscription instance locally; that is, by the identification number 2311, this embodiment indicates that for the second list information, it can also be set to include only The conversation call identification number that matches the subscriber or/and the subscription instance identification number that does not match the subscriber corresponding to each of the conversations.
  • the processing flow of the subscriber and the notifier differs from the foregoing embodiment in that only the Call-ID of the dialog can be obtained from the list header field (determined by the technical solution), and therefore can only be based on the Call-ID. All subscription instances that match the dialog are refreshed.
  • the Call-ID and the subscription instance ID of the dialog can be carried through the message body, so some subscription instances in the dialog can be selected to be refreshed.
  • Type of Content-Type for the new message body format.
  • SIP syntax requirements
  • the solution of the present invention can carry the subscription instance id and the Call-ID of the dialog through the message body, and can unify the two situations of the previous solution, and the size of the message body is not Restricted, it is a better solution than the previous one.
  • the body content of the method in the method of the present invention may only include the subscription instance id, so that all the subscription instance ids are associated with the same dialog, and may be delivered through a message associated with the dialog, such as UPDATE, which is the same as the foregoing scheme. Not to repeat.
  • the message body may also include only Call-IDs of different dialogs, which are transmitted through a message that is not associated with any dialog, which is the same as the foregoing scheme, and will not be described again.
  • the method of the present invention improves the efficiency of refreshing a subscription instance, reduces the number of messages for refreshing subscriptions, and reduces the consumption of network bandwidth, especially when a proxy (Proxy) server subscribes to the same Notifier as a proxy of multiple Subscribers. This effect is especially noticeable.
  • the subscriber and the notifier can be one terminal, and therefore, the present invention also provides a new subscriber terminal and notifier terminal.
  • the embodiment of the invention discloses a subscriber terminal, which includes: a receiving and sending unit, a creating unit and a refreshing unit, where
  • the creating unit is configured to create the first list information and transmit it to the receiving and sending unit;
  • the receiving and transmitting unit is configured to send the received first list information to the notifier; receive the second list information created by the notifier, and transmit the information to the refreshing unit;
  • the refresh unit is configured to refresh the local subscription instance according to the received second list information.
  • the first and second list information includes a subscription instance identification number corresponding to the subscriber or the notifier; or the first and second list information includes a conversation call identifier corresponding to the subscriber or the notifier. The number and the subscription instance identification number of each conversation, or only the conversation call identification number.
  • the embodiment of the present invention further discloses a notifier terminal, which includes: a receiving and sending unit, and a refreshing unit, where
  • the receiving and transmitting unit is configured to receive the first list information, and transmit the information to the refreshing unit; and send the received second list information to the subscriber;
  • the refresh creation unit is configured to refresh the local subscription instance according to the received first list information, create second list information, and transmit the created second list information to the receiving and sending unit.
  • the first and second list information includes a subscription instance identification number corresponding to the subscriber or the notifier; or the first and second list information includes a conversation call corresponding to the subscriber or the notifier.

Abstract

A method for realizing batch update in subscribing mechanism, for interacting between notifier and subscriber, comprises: the subscriber establishing head area of the first list information, and adding the head area in batch update information, the first list information comprising identifier of subscribing example of activity status in local; the notifier extracting the identifier of subscribing example step by step from the head area of list information, and comparing the identifier of subscribing example with the identifier of local subscribing example, and establishing a head area of second list information, and updating the subscribing example corresponding to the identifier. By using batch update manner, the method of the present invention increases the efficiency of updating example, and reduces the information amount of updating subscribing, and reduces the cost for network bandwidth. The present invention also comprises a subscriber terminal and a notifier terminal.

Description

订阅机制中实现批量刷新的方法及订阅者和通知者终端 本申请要求于 2005 年 12 月 16 日提交中国专利局、 申请号为 200510120883.0, 发明名称为 "一种订阅机制中实现批量刷新的方法" 的 中国专利申请的优先权, 其全部内容通过引用结合在本申请中。  Method for implementing batch refresh in subscription mechanism and subscriber and notifier terminal This application is submitted to the Chinese Patent Office on December 16, 2005, and the application number is 200510120883.0. The invention name is "a method for implementing batch refresh in a subscription mechanism". Priority of the Chinese Patent Application, the entire contents of which is incorporated herein by reference.
技术领域 本发明实施例涉及一种核心网的资源订阅方法, 尤其涉及的是, 在订 阅机制中实现批量刷新的方法及订阅者和通知者终端。 TECHNICAL FIELD Embodiments of the present invention relate to a resource subscription method of a core network, and in particular, to a method for implementing batch refresh in a subscription mechanism, and a subscriber and a notifier terminal.
背景技术 Background technique
现有技术中, SIP ( Session Initiation Protocol, 会话发起协议, 以下 简称: SIP )是 IETF制定的多媒体通信系统框架协议之一, 它是一个基 于文本的应用层控制协议, 独立于底层协议, 用于建立、 修改和终止 IP 网上的双方或多方多媒体会话。  In the prior art, SIP (Session Initiation Protocol, SIP) is one of the multimedia communication system framework protocols developed by the IETF. It is a text-based application layer control protocol, independent of the underlying protocol. Establish, modify, and terminate two or more multimedia sessions on the IP network.
SIP实现了订阅 /通知框架, 并引入了订阅 ( SUBSCRIBE )和通知 ( NOTIFY )方法。 SUBSCRIBE方法用于订阅, 而 NOTIFY方法用于传 递一个事件的任何变化的通知。所谓订阅通知就是,一个用户或资源向 其他资源发起订阅, 由于后者有前者感兴趣的事件,之后前者会接收到 有关该事件的状态和任何变化的通知。 简单流程如图 1所示, 其包括以 下步骤:  SIP implements a subscription/notification framework and introduces subscription ( SUBSCRIBE ) and notification ( NOTIFY ) methods. The SUBSCRIBE method is used for subscriptions, while the NOTIFY method is used to pass notifications of any changes to an event. A subscription notification is when a user or resource initiates a subscription to another resource. Since the latter has an event of interest to the former, the former will receive notifications about the status of the event and any changes. The simple process is shown in Figure 1, which includes the following steps:
步骤( 1 ) : Subscriber (订阅者) 向 Notifier (资源的拥有者)发送 一个订阅 (SUBSCRIBE ) 消息, 请求订阅感兴趣的资源状态;  Step (1): Subscriber sends a subscription (SUBSCRIBE) message to the Notifier (resource owner) requesting subscription to the resource status of interest;
步骤( 2 ): Notifier允许 Subscriber订阅, 向 Subscriber发送一个 200 OK 响应确认, 在 Subscriber和 Notifier间建立一个订阅的对话 dialog, 并在 Subscriber和 Notifier上分别创建订阅实例;  Step (2): The Notifier allows the Subscriber to subscribe, sends a 200 OK response confirmation to the Subscriber, establishes a subscribed dialog dialog between the Subscriber and the Notifier, and creates a subscription instance on the Subscriber and the Notifier respectively;
步骤(3 ) : Notifier向 Subscriber发送一个 NOTIFY (通知)消息, 在 NOTIFY消息的消息体中携带 Subscriber订阅的资源状态; - 步骤(4 ) : Subscriber收到 NOTIFY消息后,向 Notifier发送一个 200 OK 响应, 表示成功接收了 NOTIFY消息。  Step (3): The Notifier sends a NOTIFY message to the Subscriber, and carries the resource status of the Subscriber subscription in the message body of the NOTIFY message; - Step (4): After receiving the NOTIFY message, the Subscriber sends a 200 OK response to the Notifier. , indicating that the NOTIFY message was successfully received.
现有技术的 SIP订阅通知机制是会创建 dialog, 所谓 dialog也就是对 话, 是通信双方之间的一种 SIP关系, 它提供了在通信双方之间进行路 由和消息排序时所依据的必要的状态信息。 并且一个 dialog可以关联多 个订阅的实例, 也就是说, Subscriber向 Notifier发起多个订阅请求, 分 別订阅不同的事件包, 而这些不同的订阅请求将分别在 Subscriber和 Notifier上创建——对应的订阅实例, 所有这些订阅的实例都关联一个 dialog„ 当多个订阅实例关联一个 dialog时, 每个订阅实例由一个唯一 的 id值标志, 该 id是由 Subscriber发起每个初始订阅请求时产生的, 并通 过订阅请求中的事件 (Event ) 头域的 id参数带给 Notifier。 The prior art SIP subscription notification mechanism creates a dialog, and the so-called dialog is also The words are a SIP relationship between the communicating parties, which provides the necessary state information on which to route and message between the communicating parties. And a dialog can associate multiple subscribed instances, that is, Subscriber initiates multiple subscription requests to Notifier, respectively subscribe to different event packages, and these different subscription requests will be created on Subscriber and Notifier respectively - corresponding subscriptions Instance, all instances of these subscriptions are associated with a dialog „ When multiple subscription instances are associated with a dialog, each subscription instance is identified by a unique id value that is generated by the Subscriber initiating each initial subscription request, and The Notifier is passed to the id parameter of the Event header field in the subscription request.
和 SIP的注册机制类似, 订阅采用软状态, 因而需要刷新。 订阅的 刷新是通过在订阅周期内发送一个 SUBSCRIBE请求, 并将其 Expires头 域的值设定为非 0的值来实现的。 Subscriber需要针对每个订阅的实例发 送一个 SUBSCRIBE请求来刷新订阅。  Similar to the SIP registration mechanism, the subscription uses a soft state and therefore needs to be refreshed. The subscription refresh is achieved by sending a SUBSCRIBE request within the subscription period and setting the value of its Expires header field to a value other than zero. Subscriber needs to send a SUBSCRIBE request for each subscribed instance to refresh the subscription.
当 Subscriber上存在多个订阅实例时, 为了刷新这些订阅实例会频 繁的发送大量的 SUBSCRIBE请求, 由此占用大量的带宽, 不但刷新效 率低, 而且浪费带宽资源。  When there are multiple subscription instances on the Subscriber, in order to refresh these subscription instances, a large number of SUBSCRIBE requests are frequently sent, which consumes a large amount of bandwidth, which is not only low in refresh efficiency, but also wastes bandwidth resources.
发明内容 Summary of the invention
本发明实施例的一个目的在于提供四种订阅机制中实现批量刷新的 方法, 实现对多个订阅实例进行批量刷新, 以解决单独对每个订阅实例进 行刷新而带来的低效和带宽浪费之问题。  An object of the embodiments of the present invention is to provide a method for implementing batch refresh in four subscription mechanisms, which implements batch refreshing of multiple subscription instances to solve the inefficiency and bandwidth waste caused by separately refreshing each subscription instance. problem.
本发明实施例的另一目的在于提供一种订阅者终端和通知者终端。 本发明实施例的技术方案包括:  Another object of the embodiments of the present invention is to provide a subscriber terminal and a notifier terminal. The technical solution of the embodiment of the present invention includes:
一种订阅机制中实现批量刷新的方法, 用于通知者与订阅者之间的交 互, 其包括步骤:  A method for implementing batch refresh in a subscription mechanism, which is used for interaction between a notifier and a subscriber, and includes the steps of:
A、 所述订阅者创建携带第一列表信息, 并发送给所述通知者; A. The subscriber creates the first list information and sends the information to the notifier.
B、 所述通知者根据收到的第一列表信息, 刷新所述通知者本地的订 阅实例, 通过响应消息携带所述通知者创建的第二列表信息; B. The notifier refreshes the subscription instance local to the notifier according to the received first list information, and carries the second list information created by the notifier by using the response message;
C、 所述订阅者根据收到的第二列表信息, 刷新所述订阅者本地的订 阅实例。 一种订阅机制中实现批量刷新的方法, 用于通知者与订阅者之间的交 互, 其包括步骤: C. The subscriber refreshes the subscription instance local to the subscriber according to the received second list information. A method for implementing batch refresh in a subscription mechanism, for an interaction between a notifier and a subscriber, comprising the steps of:
Al、所述订阅者创建第一列表信息的头域, 并将该头域加入批量刷新 消息中, 所述第一列表信息中包括本地关联同一个对话的所有处于活动状 态的订阅实例的标识号;  Al, the subscriber creates a header field of the first list information, and adds the header field to the batch refresh message, where the first list information includes an identification number of all active subscription instances that are locally associated with the same session. ;
Bl、所述通知者收到带有第一列表信息头域的批量刷新消息,根据该 批量刷新消息匹配到本地的对话,从其列表信息头域中逐一取出订阅实例 标识号与本地匹配对话中关联的订阅实例标识号比较, 并创建一个第二列 表信息头域, 将比较后不相同的标识号加入其中, 并刷新相同标识号对应 的订阅实例。  Bl, the notifier receives the batch refresh message with the first list information header field, and according to the batch refresh message, matches the local conversation, and extracts the subscription instance identification number and the local matching conversation one by one from the list information header field. The associated subscription instance identification number is compared, and a second list information header field is created, and the different identification numbers are added to the comparison, and the subscription instance corresponding to the same identification number is refreshed.
一种订阅机制中实现批量刷新的方法, 用于通知者与订阅者之间的交 互, 其包括步骤:  A method for implementing batch refresh in a subscription mechanism, which is used for interaction between a notifier and a subscriber, and includes the steps of:
A2、所述订阅者创建第一列表信息的头域,并将该头域加入批量刷新 消息中, 所述第一列表信息中包括本地关联多个对话的所有处于活动状态 的订阅实例的呼叫标识号;  A2. The subscriber creates a header field of the first list information, and adds the header field to the batch refresh message, where the first list information includes call identifiers of all active subscription instances that are locally associated with multiple conversations. number;
B2、所述通知者收到带有第一列表信息头域的批量刷新消息,根据该 批量刷新消息中的呼叫标识号匹配到本地的多个对话, 并刷新所匹配到的 多个会话的全部订阅实例, 将不能匹配的会话的呼叫标识号放入第二列表 信息头域, 通过响应消息发送给所述订阅者, 所述订阅者刷新本地的订阅 实例。  B2. The notifier receives the batch refresh message with the first list information header field, matches the local call number according to the call identification number in the batch refresh message, and refreshes all the matched multiple sessions. The subscription instance adds the call identification number of the session that cannot be matched to the second list information header field, and sends the response message to the subscriber, and the subscriber refreshes the local subscription instance.
一种订阅机制中实现批量刷新的方法, 用于通知者与订阅者之间的交 互, 其包括步骤:  A method for implementing batch refresh in a subscription mechanism, which is used for interaction between a notifier and a subscriber, and includes the steps of:
A3、所述订阅者将需要批量刷新的订阅实例标识号和其关联的对话的 呼叫标识号放入一个消息体中, 并将该列表保存一份在本地, 记为第一列 表信息;  A3. The subscriber puts the subscription instance identification number that needs to be batch refreshed and the call identification number of its associated conversation into a message body, and saves the list locally, and records it as the first list information;
B3、所述通知者从该消息体中逐一取出呼叫标识号 , .匹配本地的对话, 若能匹配则保存对应呼叫标识号到第二列表信息, 并从该消息体中逐一取 出与该呼叫标识号关联的订阅实例的标识号, 与匹配到的通知者本地对话 所关联的订阅实例标识号比较, 若相等则刷新该标识号对应的订阅实例, 否则保存该订阅实例标识号到第二列表信息; B3. The notifier extracts the call identification number one by one from the message body, matches the local conversation, and if yes, saves the corresponding call identification number to the second list information, and retrieves the call identifier one by one from the message body. The identification number of the associated subscription instance is compared with the matching instance identification number associated with the matching notifier local conversation. If they are equal, the subscription instance corresponding to the identification number is refreshed. Otherwise, the subscription instance identification number is saved to the second list information;
C3、所述通知者将第二列表信息放入响应消息的消息体中,发送给所 述订阅者, 用于刷新其各订阅实例。  C3. The notifier puts the second list information into the message body of the response message and sends the message to the subscriber for refreshing each subscription instance.
一种订阅者终端, 包括: 接收发送单元、创建单元和刷新单元, 其中, 所述创建单元, 用于创建第一列表信息, 将其传送给接收发送单元; 所述接收发送单元, 用于将接收到的第一列表信息发送给通知者; 接 收来自通知者创建的第二列表信息, 传送给刷新单元;  A subscriber terminal, comprising: a receiving and sending unit, a creating unit, and a refreshing unit, wherein the creating unit is configured to create first list information, and transmit the first list information to a receiving and sending unit, where the receiving and sending unit is configured to Receiving the first list information is sent to the notifier; receiving the second list information created by the notifier, and transmitting the information to the refreshing unit;
所述刷新单元, 根据接收到的第二列表信息刷新本地的订阅实例。 一种通知者终端, 包括: 接收发送单元、 刷新创建单元, 其中, 所述接收发送单元, 用于接收第一列表信息, 将该信息传送给刷新单 元; 将接收到的第二列表信息发送给订阅者;  The refresh unit refreshes the local subscription instance according to the received second list information. A notifier terminal, comprising: a receiving and sending unit, a refreshing and creating unit, wherein the receiving and sending unit is configured to receive the first list information, and transmit the information to the refreshing unit; and send the received second list information to subscriber;
所述刷新创建单元, 根据接收到的第一列表信息刷新本地的订阅实 例,创建第二列表信息,并将所创建的第二列表信息传送给接收发送单元。  The refresh creation unit refreshes the local subscription instance according to the received first list information, creates second list information, and transmits the created second list information to the receiving and transmitting unit.
本发明所提供的一种订阅机制中实现批量刷新的方法, 由于采用批量 刷新方式, 提高了刷新订阅实例的效率, 减少了刷新订阅的消息数量, 并 降低了对网络带宽的消耗。 本发明同时还公开了一种订阅者终端和通知者 终端, 以便于应用本发明的方法。  The method for implementing batch refresh in a subscription mechanism provided by the present invention improves the efficiency of refreshing the subscription instance by using the batch refresh mode, reduces the number of messages for refreshing subscriptions, and reduces the consumption of network bandwidth. The present invention also discloses a subscriber terminal and a notifier terminal to facilitate application of the method of the present invention.
附图说明 DRAWINGS
图 1为现有技术的订阅及刷新的流程示意图;  FIG. 1 is a schematic flowchart of a subscription and refresh process of the prior art;
图 2为才艮据本发明实施例方法的批量刷新的第一实施例的流程示意 图;  2 is a schematic flow chart of a first embodiment of a batch refresh according to a method of an embodiment of the present invention;
图 3 为根据本发明实施例方法的批量刷新的第二实施例的流程示意 图。  3 is a flow chart showing a second embodiment of a batch refresh of a method in accordance with an embodiment of the present invention.
具体实施方式 detailed description
以下结合附图, 将对本发明的各较佳实施例进行较为详细的说明。 本发明实施例的一种订阅机制中实现批量刷新的方法, 实现了一种对 多个订阅实例进行批量刷新的机制。  The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings. A method for implementing batch refresh in a subscription mechanism according to an embodiment of the present invention implements a mechanism for batch refreshing multiple subscription instances.
基于本发明实施例的一种方法是, 新扩展一个头域, 用于传递需要刷 新的订阅实例的标识号 ID或多个对话 dialog的呼叫标识号 Call-ID的列表,比 如命名为 SubJDList, 其格式定义可以但不限于如下: A method based on the embodiment of the present invention is to newly extend a header field, which is used to deliver an identifier number of a subscription instance that needs to be refreshed or a call identification number Call-ID of a plurality of dialog dialogs, For example, if you name it SubJDList, its format definition can be, but is not limited to, the following:
Sub—IDList = ("Sub—IDList") HCOLON (sub-idparam * (COMMA sub-idparam))  Sub_IDList = ("Sub_IDList") HCOLON (sub-idparam * (COMMA sub-idparam))
sub-idparam = sub-id I sub-idset/callid  Sub-idparam = sub-id I sub-idset/callid
sub-id - token  Sub-id - token
sub-idset = idmin "|" idmax  Sub-idset = idmin "|" idmax
idmin = 1*DIGIT  Idmin = 1*DIGIT
idmax = 1 *DIGIT  Idmax = 1 *DIGIT
token = l*(alp anum I "-" I "." I "!" I "%" I "*"  Token = l*(alp anum I "-" I "." I "!" I "%" I "*"
J !T tl J,,+,' I,,", I,,", I,,〜,, )  J !T tl J,,+,' I,,", I,,", I,,~,, )
在 Sub—IDList中定义了多个 sub-idparam,每个 sub-idparam由逗号分隔, sub-idparam代表一个 sub-id或 sub-idset或 callid, sub-id是一个字符串, 同订 阅实例的 id定义相同, sub-idset表示了一个数字的范围, 两个数字间用竖 号 T分隔, 且 idmin的值必须小于 idmax的值, 如: 6到 21 , 表示为 "6|21"。 callid表示匹配一个 dialog的 Call-ID的值, 定义同 RJFC3261标准。 基于上述 扩展方案, Sub—IDList中不能同时存在订阅实例的标识号 ID和 Call-ID, 即 要么是基于同一对话 dialog的标识号 ID ,要么 ^^于不同对话 dialog的呼叫 标识号 Call - ID。  Multiple sub-idparams are defined in the Sub-IDList, each sub-idparam is separated by a comma, sub-idparam represents a sub-id or sub-idset or callid, sub-id is a string, and the id of the subscription instance The definition is the same, sub-idset represents the range of a number, the two numbers are separated by a vertical number T, and the value of idmin must be less than the value of idmax, such as: 6 to 21, expressed as "6|21". Callid represents the value of the Call-ID that matches a dialog, as defined by the RJFC3261 standard. Based on the above expansion scheme, the identification number ID and the Call-ID of the subscription instance cannot exist in the Sub-IDList at the same time, that is, the identification number ID of the same dialog dialog or the call identification number Call-ID of the different dialog dialog.
为了使订阅者与通知者能协商使用订阅的批量刷新机制,还需要扩展 一个 SIP的 option-tag, 比如命名为 "sub-batch-update" , 用于在订阅者发 起的批量刷新消息的; Require头域携带,表示订阅者需要通知者支持订阅的 批量刷新。  In order for the subscriber and the notifier to negotiate the use of the batch refresh mechanism of the subscription, it is also necessary to extend a SIP option-tag, such as the name "sub-batch-update", for the bulk refresh message initiated by the subscriber; Require The header field carries, indicating that the subscriber needs the notifier to support the batch refresh of the subscription.
上述方法并不限定能携带 Sub—IDList头域的 SIP消息,这样的消息可以 是已有的消息, 也可以是专为批量刷新订阅所扩展的一个新的消息。 对于 刷新关联同一 dialog的订阅实例,使用该 dialog内的消息 (也就是关联 dialog 的消息); 对于刷新关联不同 diaolog的订阅实例, 使用 dialog外的消息(也 就是不关联任何 dialog的消息) 。 作为描述实施例会用到的消息, 对于刷 新关联同一 dialog的订阅实例, 可使用 UPDATE消息; 对于刷新关联不同 diaolog的订阅实例, 可使用 dialog外的 SUBSCRIBE消息。 以下用 UPDATE消息作为携带 Sub—IDList头域的载体为例, 来描述在 上述方法中对 Sub__IDList头域处理过程: The above method does not limit the SIP message that can carry the Sub-IDList header field. Such a message may be an existing message or a new message that is extended for batch refresh subscription. For refreshing the subscription instance associated with the same dialog, use the message in the dialog (that is, the message associated with the dialog); for refreshing the subscription instance associated with different dialo, use the message outside the dialog (that is, the message that is not associated with any dialog). As a message describing the embodiment, an UPDATE message may be used for refreshing a subscription instance associated with the same dialog; for refreshing a subscription instance associated with a different dialo, a SUBSCRIBE message outside the dialog may be used. The following uses the UPDATE message as a carrier carrying the Sub-IDList header field as an example to describe the processing of the Sub__IDList header field in the above method:
所述 Subscriber创建第一列表信息头域, 记为 Sub— IDList, 将该头域 加入 UPDATE消息中, 将本地关联同一个 dialog的所有处于活动状态的 订阅实例的 id加入到 Sub—IDList头域中, 并将 Sub—IDList头域在本地保 留一份, 记为本地 Sub_IDList, 对于连续的数字形式的订阅实例 id, 可以 采用范围的表现方式, 见 Sub— IDList头域的定义。 .  The Subscriber creates a first list information header field, which is recorded as a Sub-IDList, and adds the header field to the UPDATE message, and adds the id of all active subscription instances of the same association to the same dialog to the Sub-IDList header field. , and keep the Sub-IDList header field locally, which is recorded as the local Sub_IDList. For the consecutive numeric form of the subscription instance id, the range representation can be used. See the definition of the Sub-IDList header field. .
所述 Notifier收到带有 Sub— IDList头域的 UPDATE消息, 根据 UPDATE 消息匹配到本地一 dialog, 从 Sub— IDList头域中逐一取出订阅实例 id与本地 匹配 dialog中关联的订阅实例 id比较, 并创建一个新的 Sub— IDList头域, 即 第二列表信息头域, 记为 Sub— IDList' , 将比较后不相同的 id加入其中, 并 刷新比较相同的 id对应的订阅实例, 对于连续的数字形式的 id, 可以采用 范围的表现方式。  The Notifier receives the UPDATE message with the Sub-IDList header field, and matches the UPDATE message to the local dialog, and compares the subscription instance id from the Sub-IDList header field with the subscription instance id associated with the local matching dialog, and Create a new Sub-IDList header field, which is the second list information header field, denoted as Sub_IDList', add the different ids after comparison, and refresh the subscription instances corresponding to the same id, for consecutive numbers. The id of the form can be expressed in terms of scope.
所述 Notifier创建 UPDATE的响应消息,将上述产生的 Sub— IDList,作为 新的 Sub— IDList头域加入 UPDATE的响应消息中; Subscriber接收到 UPDATE的响应消息, 从 SubJDLisf 头域中逐一取出订阅实例 id与本地 Sub—IDList比较, 若相同, 则释放 id对应的本地订阅实例, 并删除本地 Sub—IDList中对应的 id。 处理完响应消息中的 SubJDList' 头域中的 id后, 逐一将本地 Sub— IDList中剩余的 id关联的订阅实例刷新。  The Notifier creates an UPDATE response message, and adds the generated Sub-IDList as a new Sub-IDList header field to the UPDATE response message; the Subscriber receives the UPDATE response message, and extracts the subscription instance id one by one from the SubJDLisf header field. Compared with the local Sub-IDList, if they are the same, the local subscription instance corresponding to the id is released, and the corresponding id in the local Sub-IDList is deleted. After processing the id in the SubJDList' header field in the response message, the subscription instances associated with the remaining ids in the local Sub-IDList are refreshed one by one.
下面通过一个具体的实施例来说明 ,新扩展的两个头域在订阅的批量 刷新中的用法, 以及批量刷新机制的原理, 以清楚说明本发明方法的有益 效果。  The following uses a specific embodiment to illustrate the use of the newly extended two header fields in the batch refresh of the subscription, and the principle of the batch refresh mechanism to clearly illustrate the beneficial effects of the method of the present invention.
本发明的该实施例中, 假设 Subscriber向 Notifier发送了关联同一个 dialog的多个订阅请求, 分别在 Subscriber和 Notifier上产生了相应数量的订 阅实例, 这些实例的 id值有些是纯数字形式的字符串, 有些是数字字母的 字符串, 在 Subscriber和 Notifier间——对应。 过了一段时间后, 由于网络 异常等原因, 造成了 Subscriber和 Notifier上的订阅实例 id不对应的情况, Subscriber上订阅实例 id为 {1|50, 55, 60, 68, 80(200, al , wwug, qerr}; Notifier上订阅实例 id为 {20|50, 68, 80, 90|190, al , qerr}。 Subscriber向 Notifier发起订阅的批量刷新, 使用 UPDATE作为批量刷新消息, 并分两次 刷新完所有的 ID。 In this embodiment of the present invention, it is assumed that the Subscriber sends a plurality of subscription requests associated with the same dialog to the Notifier, and respectively generates a corresponding number of subscription instances on the Subscriber and the Notifier, and the id values of the instances are some characters in pure numbers. Strings, some are alphanumeric strings, between Subscriber and Notifier - corresponding. After a period of time, due to network anomalies, etc., the subscription instance id on Subscriber and Notifier does not correspond. The subscription instance id on Subscriber is {1|50, 55, 60, 68, 80 (200, al, Wwug, qerr}; The subscription instance id on Notifier is {20|50, 68, 80, 90|190, al, qerr}. The Notifier initiates a batch refresh of the subscription, uses UPDATE as the batch refresh message, and refreshes all IDs in two steps.
如图 2所示的, 本发明方法的基于同一 dialog的批量刷新流程包括步 驟:  As shown in FIG. 2, the batch refresh process based on the same dialog of the method of the present invention includes the following steps:
( 1 ) 、 所述 Subscriber发起订阅的批量刷新, 将本地需刷新的部分 ID{1|50,55,60,68},放入第一列表信息 Sub— IDList头域,并保存一份在本地, 记为本地 Sub— IDList, 由 UPDATE消息携带, 发送到 Notifier;  (1), the Subscriber initiates a batch refresh of the subscription, and puts part of the local ID to be refreshed {1|50, 55, 60, 68} into the first list information Sub-IDList header field, and saves a copy locally. , recorded as a local Sub-IDList, carried by the UPDATE message, sent to the Notifier;
( 2 ) 、 Notifier收到 Subscriber发起的订阅的批量刷新请求, 从 Sub— IDList头域中逐个取出 id与本地比较,若相等,则刷新该 id^†应的订阅 实例; 不相等, 则将该 ID保存到一个第二列表信息 Sub— IDList头域中, 记 为 Sub— IDList,。 在处理完所有 id后, 得到 Sub— IDList,头域为 {1|19,55,60} , 将该 Sub— IDLisf头域通过 200 OK传递给 Subscriber; Subscriber收到 200 OK 后, 从中的 Sub— IDList'头域逐个取出 id与 Subscriber中本地 Sub_IDList中的 id比较, 若相等则释放该 id对应的订阅实例 , 并删除本地 Sub— IDList中对应 的 id; 最后, 逐一将本地 Sub— IDList {20150, 68}中剩余的 id关联的订阅实 例刷新。  (2) The Notifier receives the batch refresh request of the subscription initiated by the Subscriber, and extracts the id from the Sub-IDList header field one by one to compare with the local. If they are equal, the subscription instance of the id is updated; if not, the The ID is saved to a second list information Sub-IDList header field, which is recorded as Sub_IDList. After all the ids are processed, the Sub_IDList is obtained, and the header field is {1|19, 55, 60}, and the Sub-IDLisf header field is passed to the Subscriber through the 200 OK; after the Subscriber receives the 200 OK, the Sub from the The IDList' header field fetches the id one by one and compares the id in the local Sub_IDList in the Subscriber. If they are equal, the subscription instance corresponding to the id is released, and the corresponding id in the local Sub_IDList is deleted. Finally, the local Sub_IDList {20150, The subscription instance associated with the remaining id in 68} is refreshed.
( 3 ) 、 Subscriber将本地剩余部分需刷新的 ID {80|200, al , wwug, qerr} , 放入 Sub— IDList头域, 并保存一份在本地, 记为本地 Sub— IDList, 由 UPDATE消息携带, 发送到 Notifier;  (3), Subscriber puts the ID {80|200, al, wwug, qerr} that needs to be refreshed in the rest of the local area into the Sub-IDList header field, and saves a copy locally, recorded as local Sub-IDList, by UPDATE message. Carry, send to Notifier;
( 4 ) 、 Notifier收到 Subscriber发起的订阅的批量刷新请求, 从 Sub— IDList头域中逐个取出 id与本地比较,若相等, 则刷新该 id对应的订阅 实例; 不相等, 则将该 id保存到一个新的 Sub— IDList头域中, 记为 Sub—IDList,。 在处理完所有 id后, 得到一个 Sub— IDList,头域为 {81|89 , 191)200 , wwug} , 将该 Sub— IDList,头域通过 200 OK传递给 Subscriber; Subscriber收到 200 ΟΚ^ , 从中的 Sub— IDLisf头域逐个取出 ID与 Subscriber 中本地 Sub— IDList中的 id比较,若相等则释放该 id对应的订阅实例, 并删除 本地 SubjDList中对应的 ID; 最后, 逐一将本地 Sub_IDList{80, 90|190, al , qerr}中剩余的 id关联的订阅实例刷新。  (4) The Notifier receives the batch refresh request of the subscription initiated by the Subscriber, and extracts the id from the Sub-IDList header field one by one to compare with the local. If they are equal, the subscription instance corresponding to the id is refreshed; if not, the id is saved. Go to a new Sub-IDList header field and record it as Sub-IDList. After processing all the ids, get a Sub-IDList, the header field is {81|89, 191)200, wwug}, and the Sub-IDList, the header field is passed to the Subscriber through the 200 OK; the Subscriber receives 200 ΟΚ^, The Sub-IDLisf header field is extracted one by one and compared with the id in the local Sub-IDList in the Subscriber. If they are equal, the subscription instance corresponding to the id is released, and the corresponding ID in the local SubjDList is deleted; finally, the local Sub_IDList{80 is successively changed. , 90|190, al, qerr} The remaining id associated subscription instance is refreshed.
基于不同 dialog的刷新订阅过程如图 3所示, 假设 Subscriber向 Notifier 发送了四个订阅请求, 每个订阅请求分别关联一个 dialog, 分别 Subscriber 和 Notifier上产生了四个的订阅实例, 关联四个不同的 dialog, 这四个 dialog 的 Call-ID为 {843817637684230@998sdasdh09, wwre42gd30@9943gdh09 , 84381ffjj5i4230@23drtasdh09 , adf54684230@55hdasdre}。 Subscriber向 Notifier发起订阅的批量刷新,使用不关联任何 dialog的 SUBSCRIBE作为批 量刷新消息。 其基本步骤包括: The refresh subscription process based on different dialogs is shown in Figure 3, assuming Subscriber to Notifier Four subscription requests are sent, each subscription request is associated with a dialog, and four subscription instances are generated on Subscriber and Notifier respectively, and four different dialogs are associated. The Call-ID of the four dialogs is {843817637684230@998sdasdh09, Wwre42gd30@9943gdh09, 84381ffjj5i4230@23drtasdh09, adf54684230@55hdasdre}. Subscriber initiates a batch refresh of the subscription to Notifier, using SUBSCRIBE without any dialog as a batch refresh message. The basic steps include:
( 1 ) 、 Subscriber发起订阅的批量刷新, 通过一个不关联任何 dialog 而是关联多个 dialog的 SUBSCRIBE消息携带第一列表信息 SubJDList的头 域 , 将 本 地 需 刷 新 的 订 阅 实 例 对 应 的 dailog 的 Call-ID{843817637684230@998sdasdh09 , wwre42gd30@9943gdh09 , 84381 f¾ 5i4230@23drtasdh09 , adf54684230@55Masdre} , 放入 Sub— IDList 头域, 并保存一份在本地, 记为 LocallDList, 发送到 Notifier;  (1) The Subscriber initiates a batch refresh of the subscription. The SUBSCRIBE message that associates multiple dialogs without being associated with any dialog carries the header field of the first list information SubJDList, and the Call-ID of the dailog corresponding to the subscription instance that needs to be refreshed locally. {843817637684230@998sdasdh09 , wwre42gd30@9943gdh09 , 84381 f3⁄4 5i4230@23drtasdh09 , adf54684230@55Masdre} , put the Sub-IDList header field, and save a copy locally, denoted as LocallDList, sent to Notifier;
( 2 ) 、 Notifier收到 Subscriber发起的订阅的批量刷新请求, 从 SubjDList头域中逐个取出呼叫标识号 Call-ID匹配本地 dialog,并刷新匹配 到的 dialog所关联的全部订阅实例,将不能匹配 dialog的 Call-ID放入第二列 表信息 Sub— IDList头域, 记为 LocallDList', 如图 3中所示的四个 Call-ID都 能匹配到本地 dialog, SubJDList,头域为空,通过 200 OK发送给 Subscriber; Subscriber取出 200 OK携带的 Sub— IDLisf头域, 发现是空值, 因此直接将 本地 LocallDList中的 Call-ID逐个取出, 匹配到本地 dialog , 并刷新 dialog所 关联的所有订阅实例。  (2) The Notifier receives the batch refresh request of the subscription initiated by the Subscriber, and removes the call identification number Call-ID from the SubjDList header field to match the local dialog, and refreshes all the subscription instances associated with the matching dialog, which cannot match the dialog. The Call-ID is placed in the second list information Sub-IDList header field, which is recorded as LocallDList'. The four Call-IDs shown in Figure 3 can be matched to the local dialog, SubJDList, and the header field is empty. Send to Subscriber; Subscriber takes out the Sub-IDLisf header field carried by 200 OK and finds it is null. Therefore, the Call-ID in the local LocallDList is directly taken out, matched to the local dialog, and all subscription instances associated with the dialog are refreshed.
上述方法的关键点之一就是通过在请求消息及其响应消息中用一个 头域携带基于同一 dialog的订阅实例 ID或基于不同 dialog的 Call-ID在 Subscriber和 Notifier间交互, 完成 Subscriber和 Notifier各自本地订阅实例的 刷新。 由于 SIP的请求消息和响应消息的消息体可以用于传递任何数据, 因此, 另一种存在的技术方案是通过请求消息和响应消息的消息体来携带 订阅实例的 id和 /或 dialog的 Call-ID。消息体的编码格式可以采用文本、 XML 等各种方式, 在此不——举全, 关键点是消息体的内容包括了订阅实例标 识号 id和 /或 dialog的 Call-ID, 如图 2 ( 1 )至(4 ) 中采用 Sub— IDList头域携 带的内容, 用 XML编码格式的消息体, 其步骤包括: One of the key points of the above method is to perform Subscriber and Notifier localization by using a header field carrying a subscription instance ID based on the same dialog or a Call-ID based on different dialogs in the request message and its response message to interact between Subscriber and Notifier. A refresh of the subscription instance. Since the message body of the SIP request message and the response message can be used to transfer any data, another existing technical solution is to carry the id of the subscription instance and/or the Call of the dialog through the message body of the request message and the response message. ID. The encoding format of the message body can be in various ways such as text and XML. Here, the key point is that the content of the message body includes the subscription instance identifier. The call ID and/or the Call-ID of the dialog, as shown in Figure 2 (1) to (4), use the content carried in the Sub-IDList header field, and the message body in the XML-encoded format includes the following steps:
Al、 订阅者将需要批量刷新的订阅实例 ID和这些 ID关联的 dialog的 Call-ID放入一个定义的消息体的格式,在此采用上述的 XML的订阅实例 ID 列表的消息格式, 通过一个不关联任何 dialog的消息发送给通知者, 并将 该列表保存一份在本地, 记为 LocallDLisL  Al, the subscriber will put the batch instance ID of the batch refresh and the Call-ID of the dialog associated with these IDs into a defined message body format, and adopt the above-mentioned XML subscription instance ID list message format, through a non- A message associated with any dialog is sent to the notifier, and the list is saved locally, recorded as LocallDLisL
Bl、 所述通知者先从消息体中逐一取出 Call-ID, 匹配本地的 dialog, 若能匹配, 则保存 Call-ID, 再从消息体中逐一取出与该 Call-ID关联的订阅 实例的 ID, 将取出的 ID与匹配到的 dialog所关联的订阅实例 ID比较, 若相 等则刷新 ID对应的订阅实例, 不相等, 则保存该订阅实例 ID。  Bl, the notifier first takes out the Call-ID one by one from the message body, matches the local dialog, and if yes, saves the Call-ID, and then retrieves the ID of the subscription instance associated with the Call-ID one by one from the message body. And comparing the extracted ID with the subscription instance ID associated with the matching dialog. If they are equal, the subscription instance corresponding to the ID is refreshed, and if they are not equal, the subscription instance ID is saved.
Cl、如上重复处理完消息体中的所有 Call-ID和订阅实例 ID,将处理过 程中保存的 Call-ID和订阅实例 ID取出, 构造一个新的订阅实例 ID列表,记 为 RemotelDList, 放入 200 OK的消息体中, 发送给订阅者。  Cl, as above, repeatedly process all Call-IDs and subscription instance IDs in the message body, take out the Call-ID and subscription instance ID saved in the process, construct a new list of subscription instance IDs, record it as RemoteDDList, put 200 In the message body of OK, it is sent to the subscriber.
Dl、 订阅者接收到 200 O , 先从本地保存的 LocallDList中逐一取出 Call-ID,与响应消息消息体携带的 RemotelDList中的 Call-ID比较,若相等, 则释放 Call-ID对应 dialog及其关联的订阅实例; 若不相等, 再逐一从 RemotelDList中取出关联该 Call- ID的订阅实例 ID , 与本地保存的 LocallDList对应的关联该 Call-ID的订阅实例 ID比较, 若相等则释放其对应 的订阅实例, 并删除 LocallDLis中该订阅实例 ID。  Dl, the subscriber receives 200 O, firstly takes out the Call-ID one by one from the locally saved LocallDList, and compares it with the Call-ID in the RemoteDDList carried in the response message body. If they are equal, the Call-ID corresponding dialog and its association are released. If there is no equality, the subscription instance ID associated with the Call-ID is retrieved from the RemoteDDList one by one, and the subscription instance ID associated with the locally saved LocallDList is compared with the subscription ID of the Call-ID. If they are equal, the corresponding subscription is released. Instance, and delete the subscription instance ID in LocallDLis.
El、 处理完 RemotelDList中关联该 Call-ID的所有订阅实例 ID后, 将 LocallDList中关联该 Call-ID的剩余的所有订阅实例 ID对应的订阅实例刷 新。 如上重复处理完本地保存的 LocallDList中所有的 Call-ID。  El. After processing all the subscription instance IDs associated with the Call-ID in the RemotelDList, refresh the subscription instances corresponding to all the remaining subscription IDs associated with the Call-ID in the LocallDList. Repeatedly processing all Call-IDs in the locally saved LocallDList as above.
本发明方法的采用 XML的编码方式定义一个订阅实例 ID列表的消息 格式, 描述如下:  The method of the present invention uses XML encoding to define a message format for a list of subscription instance IDs, as described below:
<?xml version-" 1.0" encoding="UTF-8"?>  <?xml version-" 1.0" encoding="UTF-8"?>
<Subidlist xmlns=''um:ietf:params:xml:ns:subidlst"  <Subidlist xmlns=''um:ietf:params:xml:ns:subidlst"
xmlns:xsi="litt :〃 www.w3.org 2001/XMLSchema-instance"> <dialog callid= >  Xmlns:xsi="litt :〃 www.w3.org 2001/XMLSchema-instance"> <dialog callid= >
<id> </id> <idset start= end= /> <id></id> <idset start= end= />
</dialog> </dialog>
</Subidlist> </Subidlist>
其中, <Subidlist>元素代表根元素, 是订阅实例列表的起始点, 在根 元素下可以包含至少一个 <dialog>元素; <diak>g>元素代表订阅实例关联的 dialog, 其有一属性值 callid, 表示 dialog的 Call-ID, 可以根据该属性匹配到 一个 dialog, <dialog〉元素可以包含至少一个<1<1〉或<¾186{>, 表示与 dialog 关联的订阅实例的 ID; <id>元素代表一个订阅实例的 ID; <idset〉元素代表 订阅实例的 ID的区间范围, 该区间范围的值要求必须是步长为 1的连续的 正整数。  The <Subidlist> element represents the root element, which is the starting point of the list of subscription instances, and may contain at least one <dialog> element under the root element; the <diak>g> element represents the dialog associated with the subscription instance, and has an attribute value callid, Indicates the Call-ID of the dialog, which can be matched to a dialog based on the attribute. The <dialog> element can contain at least one <1<1> or <3⁄4186{>, indicating the ID of the subscription instance associated with the dialog; the <id> element represents The ID of a subscription instance; the <idset> element represents the range of the ID of the subscription instance, and the value of the interval range must be a continuous positive integer with a step size of 1.
以下将对该实施例中的各消息体进行示例说明, 其中, 第一个刷新关 联一个 dialog的订阅实例消息的消息体示例为:  An example of each message body in the embodiment will be described below, wherein the first message body of the subscription instance message associated with a dialog is as follows:
<?xml version="1.0" encoding="UTF-8"?>  <?xml version="1.0" encoding="UTF-8"?>
<Subidlist mlns="urn:ietf:params:xml:ns:subidlst"  <Subidlist mlns="urn:ietf:params:xml:ns:subidlst"
xmlns:xsi="http ://www.w3. org/2001 /XMLSchema-instance"> <dialog callid="wwre42gd30@9943 gdh09">  Xmlns:xsi="http ://www.w3. org/2001 /XMLSchema-instance"> <dialog callid="wwre42gd30@9943 gdh09">
<id> 55 </id>  <id> 55 </id>
<id> 60 </id>  <id> 60 </id>
<id> 68 </id>  <id> 68 </id>
<idset start=l end=50 />  <idset start=l end=50 />
</dialog>  </dialog>
</Subidlist>  </Subidlist>
〃上述消息体的含义是: 订阅者发送一个 SIP消息到通知者对其上的订 阅进行批量刷新, 消息体携带需要批量刷新的订阅实例标号 55, 60, 68, 1至 50, 和订阅实例标号关联的会话标识号 wwre42gd30@9943gdh09;  The meaning of the above message body is: The subscriber sends a SIP message to the notifier to perform a batch refresh on the subscription, and the message body carries the subscription instance numbers 55, 60, 68, 1 to 50, and the subscription instance label that need to be batch refreshed. Associated session identification number wwre42gd30@9943gdh09;
第一个 200 0K的消息体为: <?xml version-" 1.0" encoding="UTF-8"?> The first 200 0K message body is: <?xml version-"1.0"encoding="UTF-8"?>
<Subidlist xnilns="urn:ietf:params:xml:ns:subidlst"  <Subidlist xnilns="urn:ietf:params:xml:ns:subidlst"
xmlns:xsi="http:〃 www.w3.org/2001/XMLSchema-instance"> <dialog callid="wwre42gd30@9943gdh09 ">  Xmlns:xsi="http:〃 www.w3.org/2001/XMLSchema-instance"> <dialog callid="wwre42gd30@9943gdh09 ">
<id> 55 </id>  <id> 55 </id>
<id> 60 </id>  <id> 60 </id>
<idset start- 1 end=19 />  <idset start- 1 end=19 />
</dialog>  </dialog>
</Subidlist>  </Subidlist>
〃上述消息体的含义是: 通知者根据批量刷新 SIP消息中携带的会话标 识号和订阅实例标号进行处理,在 200 OK响应消息的消息体中携带处理结 果, 其中会话标识号 wwre42gd30@9943gdh09表示与通知者本地匹配的活 动的会话标识, 订阅实例标号 55, 60, 1至 19表示通知者本地没有匹配到 的订阅实例;  The meaning of the above message body is: The notifier performs processing according to the session identification number and the subscription instance number carried in the batch refresh SIP message, and carries the processing result in the message body of the 200 OK response message, where the session identification number wwre42gd30@9943gdh09 indicates The session identifier of the locally matched activity of the notifier, the subscription instance number 55, 60, 1 to 19 indicates that the notifier has not matched the subscription instance locally;
第二个刷新关联一个 dialog的订阅实例消息的消息体示例为:  The second example of a message body that refreshes a subscribed instance message associated with a dialog is:
<?xml version="1.0" encoding="UTF-8"?>  <?xml version="1.0" encoding="UTF-8"?>
<Subidlist xmlns="urn:ietf:params:xml".ns:subidlst" <Subidlist xmlns="urn:ietf:params:xml".ns:subidlst"
Figure imgf000013_0001
Figure imgf000013_0001
<dialog callid="wwre42gd30@9943gd 09">  <dialog callid="wwre42gd30@9943gd 09">
<id> al </id>  <id> al </id>
<id> wwug </id>  <id> wwug </id>
<id> qerr </id>  <id> qerr </id>
<idset start=80 end=200 />  <idset start=80 end=200 />
</dialog>  </dialog>
</Subidlist>  </Subidlist>
〃上述消息体的含义是: 订阅者发送一另个 SIP消息携带本地未刷新的 订阅实例标识号到通知者对其上的订阅进行批量刷新, 消息体携带需要批 量刷新的订阅实例标号 al , wwug, qerr, 80至 200, 和订阅实例标号关联 的会话标识号 wwre42gd30@9943gdh09; 第二个 200 OK的消息体为: The meaning of the above message body is: The subscriber sends a SIP message carrying the local unrefreshed subscription instance identification number to the notifier to batch refresh the subscription, and the message body carries the subscription instance label a, wwug , qerr, 80 to 200, the session identification number associated with the subscription instance label wwre42gd30@9943gdh09; The second 200 OK message body is:
<?腿1 version="1.0" encoding="UTF-8"?>  <?腿1 version="1.0" encoding="UTF-8"?>
<Subidlist xmlns=''urn:ietf:params:xinl:ns:subidlst'1 <Subidlist xmlns=''urn:ietf:params:xinl:ns:subidlst' 1
xmlns:xsi=,'http://\vww.w3.org/200 l/XMLSchema-instance"> <dialog callid="wwre42gd30@9943gdh09"> Xmlns:xsi =, 'http://\vww.w3.org/200 l/XMLSchema-instance"><dialogcallid="wwre42gd30@9943gdh09">
<id> wwug </id>  <id> wwug </id>
<idset start=81 end=89 />  <idset start=81 end=89 />
<idset start=191 end=200 />  <idset start=191 end=200 />
</dialog>  </dialog>
</Subidlist>  </Subidlist>
通知者根据批量刷新 SIP消息中携带的会话标识号和订阅实例标号进 行处理, 在 200 OK响应消息的消息体中携带处理结果, 其中会话标识号 wwre42gd30@9943gdh09表示与通知者本地匹配的活动的会话标识 , 订阅 实例标号 wwug, 81至 89, 191至 200表示通知者本地没有匹配到的订阅实 例;  The notifier performs the processing according to the session identification number and the subscription instance identifier carried in the batch refresh SIP message, and carries the processing result in the message body of the 200 OK response message, where the session identification number wwre42gd30@9943gdh09 represents the active session that matches the notifier locally. The identifier, the subscription instance label wwug, 81 to 89, and 191 to 200 indicate that the notifier has not matched the subscription instance locally;
刷新关联多个 dialog订阅实例的消息体示例为:  An example of refreshing a message body associated with multiple dialog subscription instances is:
<?xml version="1.0" encoding="UTF-8"?>  <?xml version="1.0" encoding="UTF-8"?>
<Subidlist xmlns="urn:ietf:params:xml:ns:subidlst"  <Subidlist xmlns="urn:ietf:params:xml:ns:subidlst"
xmlns:xsi="http://www.w3.org/200 l/XMLSchema-instance"> <dialog callid="843817637684230@998sdasdh09">  Xmlns:xsi="http://www.w3.org/200 l/XMLSchema-instance"> <dialog callid="843817637684230@998sdasdh09">
<id> 80 </id>  <id> 80 </id>
</dialog>  </dialog>
<dialog callid="wwre42gd30@9943gdh09">  <dialog callid="wwre42gd30@9943gdh09">
<id> aawe </id>  <id> aawe </id>
</dialog>  </dialog>
<dialog callid="84381f¾5i4230@23drtasdh09">  <dialog callid="84381f3⁄45i4230@23drtasdh09">
<id> g5623 </id>  <id> g5623 </id>
</dialog>  </dialog>
<dialog callid="adf54684230@55hdasdre"> <id> 2311 </id> <dialog callid="adf54684230@55hdasdre"> <id> 2311 </id>
</dialog>  </dialog>
</Subidlist>  </Subidlist>
〃上述消息体的含义是: 订阅者发送一个 SIP消息到通知者对其上的订 阅进行批量刷新, 消息体携带需要批量刷新的订阅实例标号 80和关联的会 话标识号 843817637684230@998sdasdh09, 订阅实例标号 aawe和关联的会 话标识号 wwre42gd30@9943gd 09,订阅实例标号 g5623和关联的会话标识 号 84381f¾j5i4230@23drtasdh09, 订阅实例标号 2311和关联的会话标识号 adf54684230@55hdasdre;  The meaning of the above message body is: The subscriber sends a SIP message to the notifier to perform a batch refresh on the subscription, and the message body carries the subscription instance number 80 and the associated session identification number 843817637684230@998sdasdh09, which are required to be batch refreshed, and the subscription instance number Aawe and the associated session identification number wwre42gd30@9943gd 09, subscription instance number g5623 and associated session identification number 84381f3⁄4j5i4230@23drtasdh09, subscription instance number 2311 and associated session identification number adf54684230@55hdasdre;
其 200 OK响应消息的消息体为  The message body of its 200 OK response message is
<?xml version="1.0" encoding="UTF-8"?>  <?xml version="1.0" encoding="UTF-8"?>
<Subidlist xmlns="urn:ietf:params:xml:ns:subidlst''  <Subidlist xmlns="urn:ietf:params:xml:ns:subidlst''
xmlns:xsi=,'http://www.w3.org/2001/XMLSchema-instance"> <dialog callid="843817637684230@998sdasd )9"> </dialog> Xmlns:xsi= , 'http://www.w3.org/2001/XMLSchema-instance"><dialogcallid="843817637684230@998sdasd)9"></dialog>
<dialog callid="wwre42gd30@9943gdh09">  <dialog callid="wwre42gd30@9943gdh09">
</dialog>  </dialog>
<dialog callid="84381fgj5i4230@23drtasdh09">  <dialog callid="84381fgj5i4230@23drtasdh09">
</dialog>  </dialog>
<dialog callid="adf54684230@55hdasdre">  <dialog callid="adf54684230@55hdasdre">
<id> 2311 </id>  <id> 2311 </id>
</dialog>  </dialog>
</Subidlist>  </Subidlist>
〃上述消息体的含义是: 通知者根据批量刷新 SIP消息中携带的会话标 识号和订阅实例标号进行处理,在 200 OK响应消息的消息体中携带处理结 果 , 其 中 会 话 标 识 号 843817637684230@998sdasdh09 , wwre42gd30@9943gdh09 , 84381f¾5i4230@23drtasdh09 , adf54684230@55Masdre表示与通知者本地匹配的活动的会话标识,以上的 前三个会话标识没有关联的订阅实例标识,表示在订阅者需要刷新本地与 会话标识关联的所有订阅实例标识对应的实例, 2311表示通知者本地没有 匹配的订阅实例; 也就是说通过标识号 2311这个实施例表明, 对于第二列 表信息而言,其还可设置为仅包括与订阅者匹配的对话呼叫标识号或 /和各 该对话对应的与订阅者不匹配订阅实例标识号。 The meaning of the above message body is: The notifier performs processing according to the session identification number and the subscription instance number carried in the batch refresh SIP message, and carries the processing result in the message body of the 200 OK response message, where the session identification number is 843817637684230@998sdasdh09, wwre42gd30 @9943gdh09 , 84381f3⁄45i4230@23drtasdh09 , adf54684230@55Masdre indicates the session ID of the activity that matches the notifier locally. The first three session IDs above have no associated subscription instance ID, indicating that the subscriber needs to refresh the local and All instances of the subscription ID associated with the session identifier are associated with the instance, and 2311 indicates that the notifier has no matching subscription instance locally; that is, by the identification number 2311, this embodiment indicates that for the second list information, it can also be set to include only The conversation call identification number that matches the subscriber or/and the subscription instance identification number that does not match the subscriber corresponding to each of the conversations.
在上述流程中, 订阅者和通知者的处理流程与前述实施例的区别在 于, 从列表头域只能获得 dialog的 Call-ID (由该技术方案决定的) , 因此 只能根据 Call-ID将匹配 dialog关联的所有订阅实例刷新, 而在消息体的方 案中, 可以通过消息体携带 dialog的 Call-ID和订阅实例 ID, 因此可以选择 刷新 dialog中的部分订阅实例。  In the above process, the processing flow of the subscriber and the notifier differs from the foregoing embodiment in that only the Call-ID of the dialog can be obtained from the list header field (determined by the technical solution), and therefore can only be based on the Call-ID. All subscription instances that match the dialog are refreshed. In the scheme of the message body, the Call-ID and the subscription instance ID of the dialog can be carried through the message body, so some subscription instances in the dialog can be selected to be refreshed.
当然, 作为一个完整的实施例, 还需要为新的消息体格式其定义一个 Content-Type的类型。 比如, 根据 SIP的语法要求, 可以定义为: application/sub-idlist+xml。  Of course, as a complete embodiment, it is also necessary to define a Type of Content-Type for the new message body format. For example, according to the syntax requirements of SIP, it can be defined as: application/sub-idlist+xml.
与第一实施例的前述方案不同的是, 本发明的该方案通过消息体可同 时携带订阅实例 id和 dialog的 Call-ID,可将前方案的两种情况统一起来,并 且消息体的大小不受限制, 是一种比前述方案更优的方案。  Different from the foregoing solution of the first embodiment, the solution of the present invention can carry the subscription instance id and the Call-ID of the dialog through the message body, and can unify the two situations of the previous solution, and the size of the message body is not Restricted, it is a better solution than the previous one.
当然, 本发明方法中的消息体内容可以只包括订阅实例 id, 这样所有 的订阅实例 id关联同一个 dialog, 可以通过一个关联 dialog的消息来传递, 如 UPDATE, 这就与前述方案相同, 在此不在赘述。 同样地, 在消息体内 容中也可以只包括不同 dialog的 Call-ID,通过一个与任一dialog都不关联的 消息来传递, 这也与前述方案相同, 不再赘述。  Certainly, the body content of the method in the method of the present invention may only include the subscription instance id, so that all the subscription instance ids are associated with the same dialog, and may be delivered through a message associated with the dialog, such as UPDATE, which is the same as the foregoing scheme. Not to repeat. Similarly, the message body may also include only Call-IDs of different dialogs, which are transmitted through a message that is not associated with any dialog, which is the same as the foregoing scheme, and will not be described again.
综上, 本发明方法提高了刷新订阅实例的效率, 减少了刷新订阅的消 息数量, 降低了对网络带宽的消耗, 特别是当代理(Proxy )服务器作为 多个 Subscriber的代理向同一个 Notifier订阅时, 这种效果尤其明显。 可以理解, 订阅者和通知者可以是一个终端, 因此, 本发明还提供了 一种新订阅者终端和通知者终端。  In summary, the method of the present invention improves the efficiency of refreshing a subscription instance, reduces the number of messages for refreshing subscriptions, and reduces the consumption of network bandwidth, especially when a proxy (Proxy) server subscribes to the same Notifier as a proxy of multiple Subscribers. This effect is especially noticeable. It can be understood that the subscriber and the notifier can be one terminal, and therefore, the present invention also provides a new subscriber terminal and notifier terminal.
本发明实施例公开了一种订阅者终端, 其包括: 接收发送单元、 创建 单元和刷新单元, 其中,  The embodiment of the invention discloses a subscriber terminal, which includes: a receiving and sending unit, a creating unit and a refreshing unit, where
创建单元用于创建第一列表信息, 将其传送给接收发送单元; 接收发送单元用于将接收到的第一列表信息发送给通知者; 接收来自 通知者创建的第二列表信息, 传送给刷新单元; The creating unit is configured to create the first list information and transmit it to the receiving and sending unit; The receiving and transmitting unit is configured to send the received first list information to the notifier; receive the second list information created by the notifier, and transmit the information to the refreshing unit;
刷新单元用于根据接收到的第二列表信息刷新本地的订阅实例。  The refresh unit is configured to refresh the local subscription instance according to the received second list information.
上述第一、二列表信息中包括对应所述订阅者或所述通知者的订阅实 例标识号; 或者, 上述第一、 二列表信息中包括对应所述订阅者或所述通 知者的对话呼叫标识号和各对话的订阅实例标识号, 或者仅包括对话呼叫 标识号。  The first and second list information includes a subscription instance identification number corresponding to the subscriber or the notifier; or the first and second list information includes a conversation call identifier corresponding to the subscriber or the notifier. The number and the subscription instance identification number of each conversation, or only the conversation call identification number.
本发明实施例还公开了一种通知者终端, 其包括: 接收发送单元、 刷 新创建单元, 其中,  The embodiment of the present invention further discloses a notifier terminal, which includes: a receiving and sending unit, and a refreshing unit, where
接收发送单元用于接收第一列表信息, 将该信息传送给刷新单元; 将 接收到的第二列表信息发送给订阅者;  The receiving and transmitting unit is configured to receive the first list information, and transmit the information to the refreshing unit; and send the received second list information to the subscriber;
刷新创建单元用于根据接收到的第一列表信息刷新本地的订阅实例, 创建第二列表信息, 并将所创建的第二列表信息传送给接收发送单元。  The refresh creation unit is configured to refresh the local subscription instance according to the received first list information, create second list information, and transmit the created second list information to the receiving and sending unit.
上述第一、二列表信息和中包括对应所述订阅者或所述通知者的订阅 实例标识号; 或者, 上述第一、 二列表信息中包括对应所述订阅者或所述 通知者的对话呼叫标识号和各对话的订阅实例标识号, 或者仅包括对话呼 叫标识号。  The first and second list information includes a subscription instance identification number corresponding to the subscriber or the notifier; or the first and second list information includes a conversation call corresponding to the subscriber or the notifier. The identification number and the subscription instance identification number of each conversation, or only the conversation call identification number.
上述订阅者终端和通知者终端的处理过程和前述相同, 此处不再赘 述。  The processing procedures of the subscriber terminal and the notifier terminal are the same as those described above, and are not described herein again.
应当理解的是, 上述针对具体实施例的描述较为详细, 并不能因此而 认为是对本发明专利保护范围的限制, 本发明的专利保护范围应以所附权 利要求为准。  It should be understood that the above description of the specific embodiments is not to be construed as limiting the scope of the invention.

Claims

权 利 要 求 Rights request
1、 一种订阅机制中实现批量刷新的方法, 用于通知者与订阅者之间 的交互, 其包括步驟:  A method for implementing batch refresh in a subscription mechanism, which is used for interaction between a notifier and a subscriber, and includes the steps of:
A、 所述订阅者创建携带第一列表信息, 并发送给所述通知者; A. The subscriber creates the first list information and sends the information to the notifier.
B、 所述通知者根据收到的第一列表信息, 刷新所述通知者本地的订 阅实例, 通过响应消息携带所述通知者创建的第二列表信息; B. The notifier refreshes the subscription instance local to the notifier according to the received first list information, and carries the second list information created by the notifier by using the response message;
C、 所述订阅者根据收到的第二列表信息, 刷新所述订阅者本地的订 阅实例。  C. The subscriber refreshes the subscription instance local to the subscriber according to the received second list information.
2、 根据权利要求 1所述的方法, 其特征在于, 所述订阅者的第一列表 信息通过批量刷新消息的头域或消息体传输。  2. The method according to claim 1, wherein the first list information of the subscriber is transmitted through a header field or a message body of the batch refresh message.
3、 根据权利要求 2所述的方法, 其特征在于, 所述批量刷新消息是已 有的会话发起协议消息, 或是为批量刷新而扩展的一个新的会话发起协议 消息。  3. The method according to claim 2, wherein the batch refresh message is an existing session initiation protocol message or a new session initiation protocol message extended for batch refresh.
4、 根据权利要求 1所述的方法, 其特征在于, 所述通知者的第二列表 信息通过响应消息的头域或消息体传输。  The method according to claim 1, wherein the second list information of the notifier is transmitted through a header field or a message body of the response message.
5、 根据权利要求 1所述的方法, 其特征在于, 在基于同一对话时, 所 述第一列表信息和所述第二列表信息中包括对应所述订阅者或所述通知 者的订阅实例标识号。  The method according to claim 1, wherein, when the same session is based, the first list information and the second list information include a subscription instance identifier corresponding to the subscriber or the notifier. number.
6、 根据权利要求 1所述的方法, 其特征在于, 在基于不同的对话时, 所述第一列表信息和所述第二列表信息中包括对应所述订阅者或所述通 知者的对话呼叫标识号和各对话的订阅实例标识号, 或者仅包括对话呼叫 标识号。  The method according to claim 1, wherein, when the different dialogs are based, the first list information and the second list information include a conversation call corresponding to the subscriber or the notifier. The identification number and the subscription instance identification number of each conversation, or only the conversation call identification number.
7、 根据权利要求 5或 6所述的方法, 其特征在于, 所述第二列表信息 还可设置为仅包括与所述订阅者匹配的对话呼叫标识号或 /和各该对话对 应的与所述订阅者不匹配订阅实例标识号。  The method according to claim 5 or 6, wherein the second list information is further configured to include only the conversation call identification number that matches the subscriber or/and the corresponding location of each of the conversations. The subscriber does not match the subscription instance identification number.
8、 一种订阅机制中实现批量刷新的方法, 用于通知者与订阅者之间 的交互, 其包括步骤:  8. A method for implementing batch refresh in a subscription mechanism, used for interaction between a notifier and a subscriber, comprising the steps of:
Al、所述订阅者创建第一列表信息的头域, 并将该头域加入批量刷新 消息中, 所述第一列表信息中包括本地关联同一个对话的所有处于活动状 态的订阅实例的标识号; Al, the subscriber creates a header field of the first list information, and adds the header field to the batch refresh message, where the first list information includes all the activities associated with the same session locally. The identification number of the subscription instance of the state;
Bl、所述通知者收到带有第一列表信息头域的批量刷新消息,根据该 批量刷新消息匹配到本地的对话, 从其列表信息头域中逐一取出订阅实例 标识号与本地匹配对话中关联的订阅实例标识号比较, 并创建一个第二列 表信息头域, 将比较后不相同的标识号加入其中, 并刷新相同标识号对应 的订阅实例。  Bl, the notifier receives the batch refresh message with the first list information header field, and according to the batch refresh message, matches the local conversation, and extracts the subscription instance identification number and the local matching conversation one by one from the list information header field. The associated subscription instance identification number is compared, and a second list information header field is created, and the different identification numbers are added to the comparison, and the subscription instance corresponding to the same identification number is refreshed.
9、 根据权利要求 8所述的方法, 其特征在于, 所述方法还包括: The method according to claim 8, wherein the method further comprises:
Cl、所述通知者创建响应消息, 将上述产生的第二列表信息头域加入 该响应消息中; Cl, the notifier creates a response message, and adds the generated second list information header field to the response message;
Dl、所述订阅者接收到该响应消息,将本地保存的第一列表信息中的 订阅实例标识号逐一取出与该响应消息中的第二列表信息头域中订阅实 例标识号比较, 若相同, 则由所述订阅者将该标识号对应的本地订阅实例 释放, 若不相同则刷新该标识号对应的本地订阅实例。  Dl, the subscriber receives the response message, and compares the subscription instance identification numbers in the locally saved first list information one by one with the subscription instance identification number in the second list information header field in the response message, if the same, The local subscription instance corresponding to the identification number is released by the subscriber, and if not, the local subscription instance corresponding to the identification number is refreshed.
10、 一种订阅机制中实现批量刷新的方法, 用于通知者与订阅者之间 的交互, 其包括步骤:  10. A method for implementing batch refresh in a subscription mechanism, used for interaction between a notifier and a subscriber, comprising the steps of:
A2、所述订阅者创建第一列表信息的头域, 并将该头域加入批量刷新 消息中, 所述第一列表信息中包括本地关联多个对话的所有处于活动状态 的订阅实例的呼叫标识号;  A2, the subscriber creates a header field of the first list information, and adds the header field to the batch refresh message, where the first list information includes call identifiers of all active subscription instances that are locally associated with multiple conversations. number;
B2、所述通知者收到带有第一列表信息头域的批量刷新消息,根据该 批量刷新消息中的呼叫标识号匹配到本地的多个对话, 并刷新所匹配到的 多个会话的全部订阅实例, 将不能匹配的会话的呼叫标识号放入第二列表 信息头域, 通过响应消息发送给所述订阅者, 所述订阅者刷新本地的订阅 实例。  B2. The notifier receives the batch refresh message with the first list information header field, matches the local call number according to the call identification number in the batch refresh message, and refreshes all the matched multiple sessions. The subscription instance adds the call identification number of the session that cannot be matched to the second list information header field, and sends the response message to the subscriber, and the subscriber refreshes the local subscription instance.
11、 根据权利要求 10所述的方法, 其特征在于, 所述方法还包括: C2、所述订阅者收到响应消息中的所述第二列表信息头域, 解析其中 的呼叫标识号对应的对话, 将这些对话对应的订阅实例释放, 并刷新第一 列表信息中不等于第二列表信息的其他对话对应的订阅实例。  The method according to claim 10, wherein the method further comprises: C2, the subscriber receiving the second list information header field in the response message, and parsing the call identification number corresponding thereto The dialog releases the subscription instances corresponding to the conversations, and refreshes the subscription instances corresponding to the other conversations in the first list information that are not equal to the second list information.
12、 一种订阅机制中实现批量刷新的方法, 用于通知者与订阅者之间 的交互, 其包括步骤: A3、所述订阅者将需要批量刷新的订阅实例标识号和其关联的对话的 呼叫标识号放入一个消息体中, 并将该列表保存一份在本地, 记为第一列 表信息; . 12. A method for implementing batch refresh in a subscription mechanism, used for interaction between a notifier and a subscriber, comprising the steps of: A3. The subscriber puts the subscription instance identification number that needs to be batch refreshed and the call identification number of the associated conversation into a message body, and saves the list locally, and records it as the first list information;
B3、所述通知者从该消息体中逐一取出呼叫标识号,匹配本地的对话, 若能匹配则保存对应呼叫标识号到第二列表信息, 并从该消息体中逐一取 出与该呼叫标识号关联的订阅实例的标识号, 与匹配到的通知者本地对话 所关联的订阅实例标识号比较, 若相等则刷新该标识号对应的订阅实例, 否则保存该订阅实例标识号到第二列表信息;  B3. The notifier extracts the call identification number one by one from the message body, matches the local conversation, and if yes, saves the corresponding call identification number to the second list information, and retrieves the call identification number one by one from the message body. The identification number of the associated subscription instance is compared with the matching subscription instance identification number associated with the matched informant local conversation. If they are equal, the subscription instance corresponding to the identification number is refreshed, otherwise the subscription instance identification number is saved to the second list information;
C3、 所述通知者将第二列表信息放入响应消息的消息体中, 发送给所 述订阅者, 用于刷新其各订阅实例。  C3. The notifier puts the second list information into the message body of the response message, and sends the message to the subscriber for refreshing each subscription instance.
13、根据权利要求 12所述的方法,其特征在于,所述刷新过程还包括: D3、所述订阅者接收到响应消息,从本地保存的第一列表信息中逐一 取出呼叫标识号, 与响应消息的消息体中携带的第二列表信息中的呼叫标 识号比较;  The method according to claim 12, wherein the refreshing process further comprises: D3, the subscriber receives the response message, and extracts the call identification number and the response one by one from the locally saved first list information. Comparing call identification numbers in the second list information carried in the message body of the message;
E3、若不相等,则释放该呼叫标识号对应的对话及其关联的订阅实例; 若相等, 再逐一从该第二列表信息中取出关联该呼叫标识号的订阅实例, 与本地保存的第一列表信息中对应的关联该呼叫标识号的订阅实例标识 号比较;  E3. If not equal, release the conversation corresponding to the call identification number and its associated subscription instance; if equal, then retrieve the subscription instance associated with the call identification number from the second list information one by one, and save the first one locally. The corresponding subscription instance identification number associated with the call identification number in the list information is compared;
F3、 若相等则幹放其对应的订阅实例, 并删除该第一列表信息中该订 阅实例的标识号;  F3. If they are equal, the corresponding subscription instance is released, and the identification number of the subscription instance in the first list information is deleted;
G3、处理完第二列表信息后,刷新第一列表信息中剩余的所有订阅实 例标识号对应的订阅实例。  G3. After processing the second list information, refresh the subscription instance corresponding to all the subscription instance identification numbers remaining in the first list information.
14、 一种订阅者终端, 其特征在于, 包括: 接收发送单元、 创建单元 和刷新单元, 其中,  A subscriber terminal, comprising: a receiving and sending unit, a creating unit, and a refreshing unit, where
所述创建单元, 用于创建第一列表信息, 将其传送给接收发送单元; 所述接收发送单元, 用于将接收到的第一列表信息发送给通知者; 接 收来自通知者创建的第二列表信息, 传送给刷新单元;  The creating unit is configured to: create a first list information, and send the first list information to the receiving and sending unit; the receiving and sending unit, configured to send the received first list information to the notifier; and receive the second created by the notifier List information, transmitted to the refresh unit;
所述刷新单元, 根据接收到的第二列表信息刷新本地的订阅实例。 The refresh unit refreshes the local subscription instance according to the received second list information.
15、 根据权利要求 14所迷的订阅者终端, 其特征在于, 所述第一列表信息和所述第二列表信息中包括对应所述订阅者或所 述通知者的订阅实例标识号; 或者, 15. A subscriber terminal according to claim 14 wherein: The first list information and the second list information include a subscription instance identification number corresponding to the subscriber or the notifier; or
所述第一列表信息和所述第二列表信息中包括对应所述订阅者或所 述通知者的对话呼叫标识号和各对话的订阅实例标识号, 或者仅包括对话 呼叫标识号。  The first list information and the second list information include a conversation call identification number corresponding to the subscriber or the notifier and a subscription instance identification number of each conversation, or only a conversation call identification number.
16、 一种通知者终端, 其特征在于, 包括: 接收发送单元、 刷新创建 单元, 其中,  A notifier terminal, comprising: a receiving and sending unit, and a refresh creating unit, wherein
所述接收发送单元, 用于接收第一列表信息, 将该信息传送给刷新单 元; 将接收到的第二列表信息发送给订阅者;  The receiving and sending unit is configured to receive the first list information, and transmit the information to the refreshing unit; and send the received second list information to the subscriber;
所述刷新创建单元, 根据接收到的笫一列表信息刷新本地的订阅实 例,创建第二列表信息,并将所创建的第二列表信息传送给接收发送单元。  The refresh creation unit refreshes the local subscription instance according to the received first list information, creates second list information, and transmits the created second list information to the receiving and transmitting unit.
17、 根据权利要求 16所述的通知者终端, 其特征在于,  17. The notifier terminal according to claim 16, wherein
所述第一列表信息和所述第二列表信息中包括对应所述订阅者或所 述通知者的订阅实例标识号; 或者,  The first list information and the second list information include a subscription instance identification number corresponding to the subscriber or the notifier; or
所述第一列表信息和所述第二列表信息中包括对应所述订阅者或所 述通知者的对话呼叫标识号和各对话的订阅实例标识号, 或者仅包括对话 呼叫标识号。  The first list information and the second list information include a conversation call identification number corresponding to the subscriber or the notifier and a subscription instance identification number of each conversation, or only a conversation call identification number.
PCT/CN2006/003365 2005-12-16 2006-12-11 A method for realizing batch update in subscribing mechanism, subscriber and notifier terminal WO2007068194A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200510120883.0A CN1984127B (en) 2005-12-16 2005-12-16 Method for realizing batch refresh in subscribing mechanism
CN200510120883.0 2005-12-16

Publications (1)

Publication Number Publication Date
WO2007068194A1 true WO2007068194A1 (en) 2007-06-21

Family

ID=38162562

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/003365 WO2007068194A1 (en) 2005-12-16 2006-12-11 A method for realizing batch update in subscribing mechanism, subscriber and notifier terminal

Country Status (2)

Country Link
CN (1) CN1984127B (en)
WO (1) WO2007068194A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012895A (en) * 2010-08-19 2011-04-13 上海酷吧信息技术有限公司 Method for analyzing data
CN102655462A (en) * 2012-04-09 2012-09-05 深圳市佳信捷电子有限公司 Method and device for batched upgrading of embedded network equipment
CN101446968B (en) * 2008-12-10 2013-07-17 上海闻泰电子科技有限公司 Method for parsing extend markup language

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699616B (en) * 2013-12-17 2017-09-29 新浪网技术(中国)有限公司 Data structure creation method, subscription message data sending method and relevant apparatus
CN110399573A (en) * 2018-04-16 2019-11-01 中国移动通信有限公司研究院 A kind of information processing method, device, equipment and computer readable storage medium
CN113067865A (en) * 2021-03-18 2021-07-02 中国人民解放军63920部队 Real-time interaction method and device for space flight measurement and control data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030228866A1 (en) * 2002-05-24 2003-12-11 Farhad Pezeshki Mobile terminal system
US20040219936A1 (en) * 2000-12-05 2004-11-04 Ari Kontiainen Method of distributing messages
CN1622620A (en) * 2004-12-31 2005-06-01 北京航空航天大学 A multi-screen display method of multi-point videoconference on Internet
WO2005069660A1 (en) * 2004-01-14 2005-07-28 Axalto S.A. Updating of preferred roaming list (prl) in a sim (subscriber identity module) / ruim (removable user identity module) card.

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040219936A1 (en) * 2000-12-05 2004-11-04 Ari Kontiainen Method of distributing messages
US20030228866A1 (en) * 2002-05-24 2003-12-11 Farhad Pezeshki Mobile terminal system
WO2005069660A1 (en) * 2004-01-14 2005-07-28 Axalto S.A. Updating of preferred roaming list (prl) in a sim (subscriber identity module) / ruim (removable user identity module) card.
CN1622620A (en) * 2004-12-31 2005-06-01 北京航空航天大学 A multi-screen display method of multi-point videoconference on Internet

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101446968B (en) * 2008-12-10 2013-07-17 上海闻泰电子科技有限公司 Method for parsing extend markup language
CN102012895A (en) * 2010-08-19 2011-04-13 上海酷吧信息技术有限公司 Method for analyzing data
CN102655462A (en) * 2012-04-09 2012-09-05 深圳市佳信捷电子有限公司 Method and device for batched upgrading of embedded network equipment
CN102655462B (en) * 2012-04-09 2016-02-03 深圳市佳信捷技术股份有限公司 The method of batch upgrade Embedded Network Device and device

Also Published As

Publication number Publication date
CN1984127B (en) 2010-05-12
CN1984127A (en) 2007-06-20

Similar Documents

Publication Publication Date Title
EP2342883B1 (en) File transfer in conference services
US7978686B2 (en) System and method for feature-based services control using SIP
JP4116616B2 (en) Method and system for subscribing to events using SIP protocol
US20070226295A1 (en) Method and apparatuses for retrieving messages
WO2007041913A1 (en) A method for processing a deferred message
US20080270553A1 (en) Method and System for Instant Notification of Communication Block Information
EP1759513A1 (en) Method, system and computer program to enable querying of resources in a certain context by definitin of sip event package
US7948955B2 (en) Subscription method and device
WO2009039766A1 (en) Method, device and system for controlling push message
US8014775B2 (en) Method and system for implementing messaging services and a message application server
JP2009009595A (en) System and method for providing partial presence notification
US8799478B2 (en) Web services and session initiation protocol endpoint for converged communication over internet protocol networks
WO2009012664A1 (en) Method for obtaining device information of a user terminal and communication service function entity thereof
WO2007068194A1 (en) A method for realizing batch update in subscribing mechanism, subscriber and notifier terminal
WO2008131628A1 (en) Method and messaging system for managing media contents in uniform storage
WO2008058486A1 (en) Group user registration method, state update method, processing equipment, ims network entity and communication system
WO2010012605A1 (en) Method and system for selective call forwarding based on media attributes in telecommunication network
WO2010102588A1 (en) Method and system for control multimedia conference
CN1901550B (en) Subscribing method based on conversation start protocol and its system and device
US20100306349A1 (en) Method and System for Configuring Service on Terminal
CN101330498A (en) SIP endpoint collocation in a VoIP network
WO2007059704A1 (en) A resource information acquiring method and system in session initiation protocol
WO2007112649A1 (en) A system, device and method for accessing database based on session initiation protocol
EP2314040B1 (en) Auxiliary sip services
JP4686294B2 (en) Presence server and presence information management system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06828288

Country of ref document: EP

Kind code of ref document: A1