[go: up one dir, main page]

WO2005114906A1 - Method and system for getting the state of sip network nodes - Google Patents

Method and system for getting the state of sip network nodes Download PDF

Info

Publication number
WO2005114906A1
WO2005114906A1 PCT/CN2005/000690 CN2005000690W WO2005114906A1 WO 2005114906 A1 WO2005114906 A1 WO 2005114906A1 CN 2005000690 W CN2005000690 W CN 2005000690W WO 2005114906 A1 WO2005114906 A1 WO 2005114906A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
sip
status
network
message
Prior art date
Application number
PCT/CN2005/000690
Other languages
French (fr)
Chinese (zh)
Inventor
Himanshoo Kumar Saxena
Haifeng Zhu
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 WO2005114906A1 publication Critical patent/WO2005114906A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a method and system for acquiring a state of a SIP network node.
  • SIP Session Initiation Protocol
  • RTP real-time transmission protocol
  • SDP session description protocol
  • a SIP node can have multiple working modes, such as UserAgent, Proxy, REGISTRAR, registration server, back-to-back user agent, location server, etc.
  • SIP Session Initiation Protocol
  • request and response There are two types of SIP messages: request and response.
  • the client makes a request and the server responds.
  • Different message headers are used to describe communication details.
  • SIP maintains the common structure of all messages for universal parsing. Requests and responses use a standard, unified format.
  • the SIP response message has two response states: the temporary response state and the final response state.
  • the final response can be positive or negative.
  • the SIP protocol provides a response mechanism to ensure the reliability of this command-response mode. For example, a simple retransmission command is sent multiple times until a return is received. If a SIP node does not receive a response within the retry times, it can assume that an error response has been received by default, thus ensuring the reliability of the SIP command.
  • SIP can support UDP (User Datagram Protocol) and TCP (Transmission Control Protocol) protocols.
  • UDP User Datagram Protocol
  • TCP Transmission Control Protocol
  • the UDP protocol belongs to the type of "connectionless, unreliable transmission". This protocol is only responsible for receiving and transmitting the messages passed by the upper layer protocol. It does not perform any detection, modification and response.
  • the TCP protocol is a connection-oriented protocol. It provides a corresponding mechanism to maintain the state of the link. When using the TCP protocol, In this case, the SIP node can directly obtain the link status of the remote node.
  • this link status does not fully represent the status of the peer SIP entity. It may be just the status of the network link. Therefore, in order to obtain the status of the peer SIP entity, a mechanism needs to be introduced to ensure that the remote SIP node generates a heartbeat message (that is, one node periodically sends a message to another node to notify itself of its status), so that the SIP node can be better To maintain each other's status information.
  • a heartbeat message that is, one node periodically sends a message to another node to notify itself of its status
  • the SIP protocol does not provide maintenance links, and it also supports publishing link status. If SIP nodes are required to provide link maintenance, it is usually to use some private protocols that are not commonly used in the SIP protocol to maintain heartbeat messages between the two nodes. For example, in order to monitor the status of SIP node 2, SIP node 1 in FIG. 1 needs to send SIP messages frequently. If node 3 only wants to get the status change message of node 2 and does not care about the status information of node 2, it still needs to adopt a similar mechanism to frequently send SIP messages to node 2 to maintain the heartbeat link with node 2. The above method requires that different nodes must maintain heartbeat messages with each other through a private protocol in order to obtain the status change information of each other, so it will occupy a lot of network resources and affect network performance.
  • the object of the present invention is to provide a method and system for obtaining the status of a SIP network node, so that the universal SIP protocol supports the monitoring of the status of the network node while reducing the load on the network.
  • a method for acquiring a state of a SIP network node includes:
  • the SIP network management node monitors the status of other nodes in the SIP network through standard SIP messages
  • a node in the SIP network obtains status information of the other nodes by subscribing to a message from the management node.
  • the method further includes: defining a SIP event packet for transmitting node status information in the SIP network, and the SIP event packet includes: a package name, an event packet parameter, a subscriber body, a subscription interval, and a notification body.
  • the step B includes:
  • Bl Establish a network node status table.
  • B2. The management node and the other nodes establish a SIP heartbeat link through a standard SIP message OPTIONS, and obtain status change information of the other nodes.
  • the network node status table includes: a network node identifier and a node status.
  • the step C includes:
  • a node in the SIP network uses a SUBSCRIBE message defined by a SIP protocol standard to subscribe to a message from the management node;
  • the management node obtains node information to be monitored according to the received SUBSCRIBE message
  • the step C2 further includes: the management node authenticates the message subscriber according to the received SUBSCRIBE message, and confirms whether the subscriber is authorized to subscribe to the message.
  • the message body format of the defined SIP event packet is adopted in the NOTIFY and SUBSCRIBE messages.
  • a system for acquiring a state of a network node of a session initial protocol includes:
  • At least one reliability server configured to provide a status of a network link
  • a state management server configured to monitor a state of the network link
  • At least one reliability subscriber is configured to subscribe to the state management server for notification of a state change of the reliability server node.
  • the state management server includes:
  • At least one reliability client device configured to establish a SIP heartbeat link with the reliability server, and obtain status change information of the reliability server;
  • At least one reliability notification device is configured to establish a SIP heartbeat notification link with the reliability subscription server, and notify a change in the status of a related reliability server subscribed by the reliability subscription server.
  • the present invention uses standard SIP protocol messages to maintain heartbeat messages, so that the present invention can be widely supported by the network; by using a The SIP node monitors the status of all other SIP nodes. Other nodes only need to subscribe to status messages from the node, and do not need to establish a point-to-multipoint link, which greatly reduces the load on the network and improves the operating efficiency of the network.
  • FIG. 1 is a state maintenance method of a SIP network node in the prior art
  • FIG. 2 is a schematic diagram of a state maintenance method of a SIP network node in the method of the present invention
  • FIG. 3 is a flowchart of obtaining the status of other nodes by the management node of the SIP network in the method of the present invention
  • FIG. 4 is a flowchart of a process in which a management node of a SIP network notifies other nodes in the method of the present invention
  • FIG. 5 is a schematic structural diagram of a system for acquiring a state of a SIP network node according to the present invention
  • FIG. 6 is a schematic diagram of a topology structure of an application example of the present invention in a SIP network
  • FIG. 7 is a message flow between nodes in the application example of the present invention shown in FIG. 6.
  • the core of the present invention is to obtain the link status of SIP network nodes through the universal SIP protocol, that is, to use SIP messages / operations already in the SIP protocol standard to complete this function, so as to ensure the universality of the solution.
  • a SIP node uses the SIP protocol to subscribe to the status change messages of other nodes and accept the change information, that is, if a SIP node has obtained the status of another SIP node, the status information of the monitored node is notified to the other SIP nodes to reduce the number of network transmissions and SIP messages needed to maintain node status.
  • SIP messages are based on plain text.
  • the message contains four parts: the start line, the message header, the blank line, and the message body. among them,
  • the start line is divided into a request line and a status line, which correspond to the request message and response message of the SIP, respectively.
  • the message header is composed of multiple header parameters, and each header parameter has one line.
  • the message header field specifies the caller, called party, and the path of the message.
  • the blank line (CRLF) after the message indicates the end of the message header, which is followed by the message body containing the actual message content.
  • SIP request messages begin with a request line.
  • the request line includes a request method (method), a request address (Request-URI), and a SIP version number.
  • request-URI request address
  • SIP version number There are currently six SIP-defined request methods: REGISTER, INVITE, ACK, CANCEL, BYE, and OPTION.
  • REGISTER is used to register and deregister address binding information; INVITE is used to initiate a call; ACK is used to confirm the establishment of a call; CANCEL is used to cancel the call; BYE is used to terminate the conversation; OPTIONS is used to query the capabilities.
  • the SIP response message begins with a status line.
  • the status line includes a SIP version (SIP Version), a status code (Status-Code), and a reason description (Reason-Phrase).
  • SIP Version SIP Version
  • status code Status-Code
  • Reason-Phrase a text description of the response status for people to read.
  • the status code consists of three digits and indicates the result of the response.
  • the status codes defined in RFC 3261 are from lxx to 6xx, lxx is a temporary response (also called an intermediate response), and the others are the final response. Represent the following meanings:
  • 3xx is a redirect response, which instructs the call to be re-initiated to the designated entity
  • • 4xx is a client error response, which means that the syntax of the request message is incorrect or the server cannot process it;-5xx is a server error response, which means the server cannot process a legitimate request message;-6xx is a global error response, which means that the request cannot be processed by any server .
  • the above-mentioned temporary response means that when the receiver has received the request, but it takes some time to process, in order to prevent the requestor timer from timing out, this message is used to notify the requester. The result of processing the request is still returned to the requester in the form of a final response.
  • the present invention is to use the existing SIP messages / operations in the above-mentioned SIP protocol standard to complete the maintenance of the link state of the SIP network node.
  • FIG. 2 is a schematic diagram of a state maintenance method of a SIP network node in the method of the present invention:
  • a communication mechanism exists between node 1 and other nodes ⁇ , but there is no communication mechanism between node 4 and node 2 and node 3
  • node 4 needs to obtain the state change information of node and / or node 3.
  • the set SIP network management node monitors the status of other nodes (SIP node 2 and SIP node 3) in the network;
  • Any node (SIP node 4) in the SIP network obtains status information of other nodes by subscribing to the management node (SIP node 1), and the management node notifies the node of status changes of other nodes according to the subscription information. If node 4 only subscribes to the status change information of node 2, the management node only informs node 4 about the status change information of node 2. If node 4 subscribes to the status change information of node 2 and node 3 at the same time, the management node needs to notify node 4 Information about the status changes of node 2 and node 3. That is to say, when the management node sends a message to the subscriber, it sends it based on the subscriber's subscription content.
  • Figure 3 shows the detailed process of obtaining the status of other nodes in the network by the set SIP network management node.
  • a network node status table is established by a set SIP network management node, and the table includes: a network node identifier and a node status; the node status may be respectively represented as "Active” and "Passive", which respectively represent that a network node is in Normal link status and disconnected status.
  • the SIP network management node uses the OPTIONS message defined by the SIP protocol standard to establish a SIP heartbeat link with the monitored node in the network, and obtains the status change information of the monitored node.
  • step 303 After the network management node learns that the status of the monitored node has changed, it needs to proceed to step 303 to update the network node status table according to the obtained status change information of the monitored node.
  • the SIP network management node periodically sends OPTIONS messages to the monitored nodes to monitor the status of the corresponding nodes. Under normal circumstances, the monitored node responds to the SIP message sent by the network management node, and can use 2XX defined in the SIP protocol standard as the default return value. This When the state of the network node status table corresponding to the node should be "Active", if the number of times that the monitored node has not responded continuously reaches the predetermined 1 '] limit, the heartbeat between the management node and the monitored node can be determined The link has expired. At this time, the monitored node can also be considered to have expired. At this time, the status corresponding to the node in the network node status table needs to be updated to "Passive".
  • the present invention maintains a "virtual,” connection between any node and other nodes by establishing a SIP heartbeat notification link between the network management node and any node.
  • the event notification framework in the SIP protocol is used. Based on this framework, the present invention defines an information exchange protocol between a subscriber (any node in the SIP network) and a notifier (a management node in the SIP network). The state of the SIP node is transmitted, that is, a SIP event packet is defined. According to the RFC3265 protocol, an event packet defines additional specifications and status information when the notifier notifies the subscriber.
  • the SIP event packet defined in the present invention includes information: Package name, event package parameters, subscription body, subscription interval, notification body.
  • the defined package name is: "heartbeat-notification”. According to the specifications of RFC3265 [2], this value will exist in the event headers of the SIP extension messages SUBSCRIBE (subscription) and NOTIFY (notification) requests.
  • This event package fully uses the parameters specified by the existing SIP system. For example, it supports the use of the Accept (Event) header specified in the SIP protocol to specify the format of subsequent NOTIFY messages when subscribing.
  • the SUBSCRIBE message needs to provide relevant information so that the reliability notifier can obtain the identity of the SIP node that needs to be monitored.
  • the NOTIFY message includes a message body describing the status of the subscription resource.
  • the format of the message body is in the Accept header of the SUBSCRIBE message (if omitted, the default value).
  • the notification body will include status change information, and the information will indicate the new status and the SIP node identifier of the changed status.
  • the subscription request may include the Accept header field, if the corresponding header field is not present, the system uses the default value "application / heartbeat-notification + xml "; if the corresponding header field is the first field shell 1 J 'must include "application / heartbeat-notification + xml ".
  • a "application / heartbeat-notification + xml" type document is a valid XML document that is based on the XML 1.0 standard and uses UTF-8 encoding.
  • the document of the event package can be in the following format:
  • FIG. 4 shows a detailed process of obtaining the status information of other nodes by any node in the above SIP network by subscribing to the network management "point" message:
  • a node in a SIP network uses a SUBSCRIBE message defined by the ⁇ IP protocol standard to subscribe a message to a management node, and a message body of the SUBSCRIBE message includes the SIP event package defined above.
  • the management node After receiving the SUBSCRIBE message, the management node first proceeds to step 402 to authenticate the subscriber, that is, to check the node ID of the sender of the SUBSCRIBE according to the information in the SUBSCRIBE message, but this process is not necessary. Usually, a relationship has been established between the subscriber and the notifier. In this case, the HTTP Digest mechanism in the SIP protocol can be used as the authentication method. This method must be supported by all clients and servers. Of course, if such an authentication mechanism is adopted, it is necessary to use this authentication mechanism as a requirement for all SIP compatible components.
  • step 403 If the node does not have subscription rights, then proceed to step 403, and return a 4XX message to the node. If the node has the subscription right, proceed to step 404 to check whether the monitoring node indicated by the subscriber in the SUBSCRIBE message can be monitored.
  • step 405 If the node to be monitored specified in the SUBSCRIBE message cannot support it, then proceed to step 405 and return a 4XX message to the node.
  • step 406 If all the nodes to be monitored specified in the SUBSCRIBE message are supported, then go to step 406 and return a "200 OK" response.
  • the response needs to include all the node ID information that can be monitored.
  • step 407 determine whether the status of the node to be monitored has changed according to the network node status table and the status change information of the monitored node obtained in step 302 shown in FIG. 3.
  • step 408 If there is no change, go to step 408, wait for a predetermined time and return to step 407, and continue to determine whether the status of the node to be monitored has changed.
  • the body of the NOTIFY message includes the SIP event packet defined above.
  • the body of the NOTIFY message must use a value from the list of types defined in the Accept header field of the most recently received SUBSCRIBE request, or The default "application / heartbeat-notification + xml" (in case Accept ⁇ : field does not exist).
  • the message subscriber After receiving the above-mentioned NOTIFY message, the message subscriber can perform processing according to requirements, for example, operations such as updating the link status.
  • FIG. 5 is a schematic structural diagram of a system for acquiring a state of a SIP network node according to the present invention:
  • a reliability server 501 is shown, which is used to provide the status of a network link to a SIP network; a status management server 500 is used to monitor the status of the network link, that is, to monitor the status of other nodes in the network Status; a reliability subscription server 502, configured to subscribe to the status management server 500 for notification of changes in the status of the reliability server node.
  • the state management server 500 includes: a reliability client device for establishing a SIP heartbeat link with the reliability server to obtain status change information of the reliability server; a reliability notification device for establishing a SIP heartbeat notification link with the reliability subscription server To notify the reliability subscriber that the status of the relevant reliability server to which the subscription is subscribed.
  • the message words defined by the SIP protocol standard are used to exchange information.
  • the reliability server, status management server, and reliability subscriber server referred to here are all divided from a functional perspective, and can be essentially different functional modules in the same entity.
  • the server 500 corresponds to a plurality of reliability notification devices.
  • FIG. 5 For convenience of explanation, the working process of the system of the present invention is described by taking FIG. 5 as an example.
  • Reliable client devices need to periodically send OPTIONS messages to those that need to be monitored
  • SIP node (node 2) to monitor the status of the corresponding node.
  • the device also needs to monitor the response of the OPTIONS message. If the number of times that SIP node 2 has not responded continuously reaches a predetermined threshold, the system can determine that the heartbeat link between SIP node 1 and node 2 has failed. At this time, SIP Node 2 has also failed. For example, you can set the initial retransmission of the OPTIONS message The time is 100 milliseconds and is doubled after each retransmission until 7 retransmissions. If the seventh retransmission still fails, it can be considered that the monitored node's processing of OPTIONS has failed.
  • the status of the network node status table corresponding to the node needs to be updated to "Passive". If a response from the monitored node is received during the waiting process, the management node can set the retransmission timeout to 500 milliseconds. If it is determined that the monitored node has failed, the management node updates the status corresponding to the node in the network node status table to "Passive".
  • the reliability server needs to respond to the SIP message sent by the reliability client.
  • the present invention proposes "2XX" as the default return value. If the reliability server receives the OPTIONS message from the reliability client, it needs to return a "2XX" response and wait for the OPTION message to be resent.
  • the waiting time for resending messages is configurable (see the contents of the SIP event packet described above), and the recommended time is 60s. If the retransmitted OPTIONS message is not received between timeouts, it can be considered that the reliability client device has failed, but the reliability server needs to continue to wait for the OPTIONS message using the same timeout setting.
  • the reliability subscription device When the reliability subscription device needs to obtain the status information of other nodes, it uses the event notification framework in the SIP protocol.
  • the reliability subscriber server sends a SUBSCRIBE message to the reliability notification device to subscribe to the notification of the status change of the reliability server node.
  • SUBSCRIBE message For the body definition of the SUBSCRIBE message, refer to the SIP event packet described earlier.
  • the function of the reliability notification device is to inform the reliability subscriber of the status information (mainly whether it is available) of a node.
  • the device receives the SUBSCRIBE message from the reliability subscriber, and monitors the status changes of other nodes subscribed by the subscription server. If the status changes, it sends a NOTIFIY event notification to the reliability subscriber.
  • the body definition of the NOTIFIY message refers to the SIP event packet described above.
  • the network includes a "manager” and multiple “nodes”.
  • the network will also include a certain number of softswitch devices (supporting the SIP protocol). All nodes (including all network nodes and softswitch equipment) are interconnected through an IP network. Only “managers” in this network need to monitor all The state of the softswitch device. If a node wants to obtain the status of the softswitch device, this node needs to send a SUBSCRIBE message to the "manager" subscription.
  • FIG. 7 illustrates the possible message flow among managers, nodes and softswitch devices. as the picture shows:
  • Step 1 The administrator creates a reliable client for softswitch device 1, and also creates another reliable client for softswitch device 2. These clients send OPTIONS messages to the corresponding softswitch devices. After receiving the OPTIONS message, the softswitch device sends a 200OK response message. When the reliability client receives the 200 OK message, the system considers that the corresponding soft switching device is up and running normally.
  • Step 2 When node 1 sends a SUBSCRIBE message to subscribe to the status information of soft switching device 1, the manager sends 200OK to node 1 as a response message to the SUBSCRIBE message, and then sends a NOTIFY message to notify node 1 that the status of soft switching device 1 is " Active ".
  • Step 3 The manager sends an OPTIONS message, and at the same time does not receive a response from the softswitch device 1 within the timeout period, the manager changes the status of the softswitch device 1 from "Active” to "Passive”, and sends a NOTIFY message to change the information Notify node 1.
  • the manager continuously sends OPTIONS messages to the softswitch device 1 periodically.
  • the manager receives the response information of the softswitch device 1, and accordingly the manager changes the status of the softswitch device 1 from "Passive” to "Active”, and notifies node 1 of this information through a NOTIFY message.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method and a system for getting the state of SIP network nodes, the method includes: setting the management node of the SIP (session initiation protocol) network; The SIP network management node monitoring the state of other nodes by the standard OPTIONS message; Any node of the SIP network getting the state information of other nodes by subscribing the message from management nodes. For providing maintenance of the state of network nodes, the system includes: At least a authenticity server, for providing the network link; A state management server, for monitoring the state of the network link; At least a authenticity subscribing server, for subscribing the state change notification of the authenticity server node from the state management server. By using the method and system of this invention, it can complete monitoring the state of nodes by using the standard SIP message OPTIONS, reduce the sip network load and increase the running efficiency.

Description

获取会话初始协议网络节点状态的方法及系统 技术领域  Method and system for acquiring session initial protocol network node status
本发明涉及网络通信技术领域, 具体涉及一种获取 SIP网络节点状态 的方法及系统。  The present invention relates to the field of network communication technologies, and in particular, to a method and system for acquiring a state of a SIP network node.
背景技术 Background technique
SIP (会话初始协议)是由 IETF制定的用于对基于 IP的多媒体通信 系统进行控制的协议, 它定义了对多媒体会话进行控制的信令过程, 包括 会话的建立、 拆除和修改等, 是一种应用层协议。 会话指在两个 SIP节点 之间的应用级链接。 具体的任务可为多媒体链接, 比如因特网电话呼叫, 多媒体广播, 多媒体会议等。 SIP协议只负责通讯的使能,需要与 RTP (实 时传输协议)和 SDP (会话描述协议) 配合来完成通讯功能。  SIP (Session Initiation Protocol) is a protocol developed by the IETF to control IP-based multimedia communication systems. It defines the signaling process for controlling multimedia sessions, including the establishment, teardown, and modification of sessions. Application layer protocol. A session is an application-level link between two SIP nodes. Specific tasks may be multimedia links, such as Internet phone calls, multimedia broadcasts, multimedia conferences, and so on. The SIP protocol is only responsible for enabling communication. It needs to cooperate with RTP (real-time transmission protocol) and SDP (session description protocol) to complete the communication function.
一个 SIP节点可以有多种工作模式,比如 UserAgent(用户代理), Proxy (代理), REGISTRAR (注册服务器), back-to-back user agent (背靠背用 户代理), location server (位置服务器)等。  A SIP node can have multiple working modes, such as UserAgent, Proxy, REGISTRAR, registration server, back-to-back user agent, location server, etc.
SIP的消息分两种: 请求和响应。 客户发出请求而服务器响应应答。 消息中不同的消息头用于描述通信细节。 SIP维护全部消息的公共结构以 实现通用解析。 请求和响应都使用了标准的统一格式。  There are two types of SIP messages: request and response. The client makes a request and the server responds. Different message headers are used to describe communication details. SIP maintains the common structure of all messages for universal parsing. Requests and responses use a standard, unified format.
SIP的响应消息有两种响应状态: 临时响应状态和最终响应状态, 最 终响应可以是肯定的也可以是否定的。 SIP协议提供了响应的机制, 以确 保这种命令-响应模式的可靠性。 比如, 通过多次发送简单的重新传输命 令, 直到接收到返回等。 一个 SIP节点如果在重试次数内没有收到响应, 可以缺省认为收到了错误响应, 这样就保证了 SIP命令的可靠性。  The SIP response message has two response states: the temporary response state and the final response state. The final response can be positive or negative. The SIP protocol provides a response mechanism to ensure the reliability of this command-response mode. For example, a simple retransmission command is sent multiple times until a return is received. If a SIP node does not receive a response within the retry times, it can assume that an error response has been received by default, thus ensuring the reliability of the SIP command.
在 SIP网络中, 为了保证命令、 响应和传输链路的可靠性, SIP节点 需要获得远端 SIP节点的应用状态。 在传输上, SIP可以支持 UDP (用户 数据报文协议)和 TCP (传输控制协议 )两种协议。 UDP协议属于 "面向 无连接, 不可靠传输" 的类型。 该协议只负责接收和传送由上层协议传递 的消息, 它本身不做任何的检测、修改与应答。 而 TCP协议是面向连接的 协议,它本身提供了相应的机制来维护链路的状态, 当使用 TCP协议的时 候, SIP节点可以直接获得远端节点的链接状态。 但是这种链接状态, 并 不能完全代表对端的 SIP实体的状态, 有可能只是网络链 ¾状态。 因此, 为了获得对端 SIP实体的状态, 需要引入一个机制, 确保远端的 SIP节点 产生心跳消息(即一个节点定时向另外一个节点发送消息通知自身状态的 消息), 以使 SIP节点可以更好地维护彼此的状态信息。 In a SIP network, in order to ensure the reliability of the command, response, and transmission link, the SIP node needs to obtain the application status of the remote SIP node. In terms of transmission, SIP can support UDP (User Datagram Protocol) and TCP (Transmission Control Protocol) protocols. The UDP protocol belongs to the type of "connectionless, unreliable transmission". This protocol is only responsible for receiving and transmitting the messages passed by the upper layer protocol. It does not perform any detection, modification and response. The TCP protocol is a connection-oriented protocol. It provides a corresponding mechanism to maintain the state of the link. When using the TCP protocol, In this case, the SIP node can directly obtain the link status of the remote node. However, this link status does not fully represent the status of the peer SIP entity. It may be just the status of the network link. Therefore, in order to obtain the status of the peer SIP entity, a mechanism needs to be introduced to ensure that the remote SIP node generates a heartbeat message (that is, one node periodically sends a message to another node to notify itself of its status), so that the SIP node can be better To maintain each other's status information.
目前, SIP协议不提供维护链接, 而且也支持发布链接状态。 如果需 要 SIP节点提供链接维护, 通常是使用一些在 SIP协议中不通用的私有协 议,在两节点之间维护心跳消息。比如, 图 1中的 SIP节点 1为了监控 SIP 节点 2的状态, 就需要频繁地发送 SIP消息。 而如果节点 3只想获得节点 2的状态变化消息, 对节点 2的状态信息并不关心时, 仍然要采用类似的 机制, 向节点 2频繁地发送 SIP消息来维持和节点 2的心跳链接。 上述方 法由于需要不同节点之间都要通过私有协议来相互维护心跳消息, 才能获 得对方的状态变化信息, 因此会占用大量的网络资源, 影响网络的性能。  Currently, the SIP protocol does not provide maintenance links, and it also supports publishing link status. If SIP nodes are required to provide link maintenance, it is usually to use some private protocols that are not commonly used in the SIP protocol to maintain heartbeat messages between the two nodes. For example, in order to monitor the status of SIP node 2, SIP node 1 in FIG. 1 needs to send SIP messages frequently. If node 3 only wants to get the status change message of node 2 and does not care about the status information of node 2, it still needs to adopt a similar mechanism to frequently send SIP messages to node 2 to maintain the heartbeat link with node 2. The above method requires that different nodes must maintain heartbeat messages with each other through a private protocol in order to obtain the status change information of each other, so it will occupy a lot of network resources and affect network performance.
发明内容 Summary of the invention
本发明的目的是提供一种获取 SIP网络节点状态的方法及系统, 使通 用的 SIP协议支持对网络节点状态的监控, 同时降氐网络的负荷。  The object of the present invention is to provide a method and system for obtaining the status of a SIP network node, so that the universal SIP protocol supports the monitoring of the status of the network node while reducing the load on the network.
本发明的目的是通过以下技术方案实现的:  The object of the present invention is achieved by the following technical solutions:
一种获取 SIP网络节点状态的方法, 包括:  A method for acquiring a state of a SIP network node includes:
A、 设置会话初始协议 SIP网络的管理节点;  A. Set the management node of the session initiation protocol SIP network;
B、 由所述 SIP网络管理节点通过标准 SIP消息监控所述 SIP网络中 其他节点的状态;  B. The SIP network management node monitors the status of other nodes in the SIP network through standard SIP messages;
C、 所述 SIP网络中的某一节点通过向所述管理节点订阅消息获取所 述其他节点的状态信息。  C. A node in the SIP network obtains status information of the other nodes by subscribing to a message from the management node.
所述方法还包括: 定义 SIP事件包, 用于传送所述 SIP网络中节点状 态信息, 所述 SIP事件包包括: 包名称、 事件包参数、 订阅体、 订阅间隔、 通知体。  The method further includes: defining a SIP event packet for transmitting node status information in the SIP network, and the SIP event packet includes: a package name, an event packet parameter, a subscriber body, a subscription interval, and a notification body.
所述步骤 B包括:  The step B includes:
Bl、 建立网络节点状态表; B2、 所述管理节点与所述其他节点通过标准 SIP消息 OPTIONS建立 SIP心跳链接, 获取所述其他节点的状态变化信息; Bl. Establish a network node status table. B2. The management node and the other nodes establish a SIP heartbeat link through a standard SIP message OPTIONS, and obtain status change information of the other nodes.
B3、根据所述获取的其他节点的状态变化信息更新所述网络节点状态  B3. Updating the status of the network node according to the obtained status change information of other nodes
, - 所述网络节点状态表包括: 网络节点标识、 节点状态。  -The network node status table includes: a network node identifier and a node status.
所述步骤 C包括:  The step C includes:
Cl、 所述 SIP网络中的节点使用 SIP协议标准定义的 SUBSCRIBE消 息向所述管理节点订阅消息;  Cl. A node in the SIP network uses a SUBSCRIBE message defined by a SIP protocol standard to subscribe to a message from the management node;
C2、 所述管理节点根据收到的 SUBSCRIBE消息, 获取需要监控的节 点信息;  C2. The management node obtains node information to be monitored according to the received SUBSCRIBE message;
C3 当所述需要监控的节点状态发生变化时, 使用 SIP协议标准定义 的命令字 NOTIFY通知所述 SIP网络中的节点。  C3 When the state of the node to be monitored changes, the node in the SIP network is notified using the command word NOTIFY defined by the SIP protocol standard.
所述步骤 C2还包括: 所述管理节点根据收到的 SUBSCRIBE消息对 消息订阅者进行鉴权, 确认所述订阅者是否有权限订阅消息。  The step C2 further includes: the management node authenticates the message subscriber according to the received SUBSCRIBE message, and confirms whether the subscriber is authorized to subscribe to the message.
在所述 NOTIFY及 SUBSCRIBE消息中采用所述定义的 SIP事件包的 消息体格式。  The message body format of the defined SIP event packet is adopted in the NOTIFY and SUBSCRIBE messages.
一种获取会话初始协议网络节点状态的系统, 包括:  A system for acquiring a state of a network node of a session initial protocol includes:
至少一个可靠性服务器, 用于提供网络链接的状态;  At least one reliability server, configured to provide a status of a network link;
状态管理服务器, 用于监控所述网络链接的状态;  A state management server, configured to monitor a state of the network link;
至少一个可靠性订阅服务器, 用于向所述状态管理服务器订阅所述可 靠性服务器节点状态变化的通知。  At least one reliability subscriber is configured to subscribe to the state management server for notification of a state change of the reliability server node.
所述状态管理服务器包括:  The state management server includes:
至少一个可靠性客户装置, 用于与所述可靠性服务器建立 SIP心跳链 接, 获取所述可靠性服务器的状态变化信息;  At least one reliability client device, configured to establish a SIP heartbeat link with the reliability server, and obtain status change information of the reliability server;
至少一个可靠性通知装置, 用于与所述可靠性订阅服务器建立 SIP心 跳通知链接, 通知所述可靠性订阅服务器订阅的相关可靠性服务器的状态 变化。  At least one reliability notification device is configured to establish a SIP heartbeat notification link with the reliability subscription server, and notify a change in the status of a related reliability server subscribed by the reliability subscription server.
由以上本发明提供的技术方案可以看出, 本发明使用标准的 SIP协议 消息来维护心跳消息, 使本发明可以得到广泛的网络支持; 通过使用一个 SIP节点监控所有其他的 SIP节点的状态, 其他节点只需向该节点订阅状 态消息, 而不需要建立点到多点的链接, 大大降低了网络的负荷, 提高了 网络的运行效率。 As can be seen from the technical solutions provided by the present invention, the present invention uses standard SIP protocol messages to maintain heartbeat messages, so that the present invention can be widely supported by the network; by using a The SIP node monitors the status of all other SIP nodes. Other nodes only need to subscribe to status messages from the node, and do not need to establish a point-to-multipoint link, which greatly reduces the load on the network and improves the operating efficiency of the network.
附图说明 图 1是现有技术中 SIP网絡节点状态维护方式; BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a state maintenance method of a SIP network node in the prior art;
图 2是本发明方法中 SIP网络节点状态维护方式示意图;  2 is a schematic diagram of a state maintenance method of a SIP network node in the method of the present invention;
图 3 是本发明方法中 SIP 网络的管理节点获取其他节点状态的流程 图;  FIG. 3 is a flowchart of obtaining the status of other nodes by the management node of the SIP network in the method of the present invention;
图 4是本发明方法中 SIP网络的管理节点通知其他节点的过程的流程 图;  4 is a flowchart of a process in which a management node of a SIP network notifies other nodes in the method of the present invention;
图 5是本发明获取 SIP网络节点状态的系统结构示意图;  FIG. 5 is a schematic structural diagram of a system for acquiring a state of a SIP network node according to the present invention;
图 6是本发明的应用实例在 SIP网络中的拓朴结构示意图;  6 is a schematic diagram of a topology structure of an application example of the present invention in a SIP network;
图 7是图 6所示的本发明的应用实例中各节点之间的消息流程。 具体实施方式 本发明的核心在于通过通用的 SIP协议来获取 SIP网络节点的链接状 态, 即使用 SIP协议标准中已有的 SIP消息 /操作来完成此功能, 以保证解 决方案的通用性。 并且, 一个 SIP节点使用 SIP协议订阅其他节点状态变 化消息并接受变化信息, 即在一个 SIP节点已经获得了另外一个 SIP节点 的状态的情况下,由该节点 4巴被监控节点的状态信息通知其他的 SIP节点, 以减少为了维护节点状态而需要的网络传输和 SIP消息数量。  FIG. 7 is a message flow between nodes in the application example of the present invention shown in FIG. 6. DETAILED DESCRIPTION The core of the present invention is to obtain the link status of SIP network nodes through the universal SIP protocol, that is, to use SIP messages / operations already in the SIP protocol standard to complete this function, so as to ensure the universality of the solution. In addition, a SIP node uses the SIP protocol to subscribe to the status change messages of other nodes and accept the change information, that is, if a SIP node has obtained the status of another SIP node, the status information of the monitored node is notified to the other SIP nodes to reduce the number of network transmissions and SIP messages needed to maintain node status.
本技术领域人员知道, 标准的 SIP消息是基于纯文本方式的。 消息包 含四部分: 起始行、 消息头、 空行和消息体。 其中,  Those skilled in the art know that standard SIP messages are based on plain text. The message contains four parts: the start line, the message header, the blank line, and the message body. among them,
起始行分为请求行和状态行, 分别对应于 SIP的请求消息和响应消息。 消息头由多个头部参数构成, 每个头部参数一行。 消息头字段指定呼 叫方、 被叫方以及消息的路径等信息。 总共有 37种消息头, 可分成 4种类 型: 一般头字段, 用于请求和响应消息; 实体头字段, 定义消息体的信息, 如果没有消息体则定义请求表示的资源; 请求头字段, 使得客户将请求以 及客户本身的信息传送给服务器; 响应头字段, 使得服务器传送响应的附 加信息。 The start line is divided into a request line and a status line, which correspond to the request message and response message of the SIP, respectively. The message header is composed of multiple header parameters, and each header parameter has one line. The message header field specifies the caller, called party, and the path of the message. There are a total of 37 message headers, which can be divided into 4 types: general header fields, which are used for request and response messages; entity header fields, which define the message body information, If there is no message body, the resource indicated by the request is defined; the request header field enables the client to transmit the request and the client's own information to the server; the response header field enables the server to transmit the additional information of the response.
消息后的空行 ( CRLF )表示消息头的结束, 其后面是包含真正消息 内容的消息体 ( message body ) 。  The blank line (CRLF) after the message indicates the end of the message header, which is followed by the message body containing the actual message content.
SIP的请求消息以请求行开始。 请求行包括请求方法 (method ) 、 请 求地址( Request-URI )和 SIP版本号。 目前 SIP定义的请求方法有六种: REGISTER, INVITE, ACK、 CANCEL, BYE和 OPTION。 其中 REGISTER 用于注册和注销地址绑定信息; INVITE用于发起呼叫; ACK用于确认建 立呼叫; CANCEL用于取消呼叫; BYE用于终止对话; OPTIONS用于能力 查询。  SIP request messages begin with a request line. The request line includes a request method (method), a request address (Request-URI), and a SIP version number. There are currently six SIP-defined request methods: REGISTER, INVITE, ACK, CANCEL, BYE, and OPTION. Among them, REGISTER is used to register and deregister address binding information; INVITE is used to initiate a call; ACK is used to confirm the establishment of a call; CANCEL is used to cancel the call; BYE is used to terminate the conversation; OPTIONS is used to query the capabilities.
SIP的响应消息以状态行开始。 状态行包括 SIP版本(SIP Version ) 、 状态码(Status-Code ) 、 原因描述(Reason-Phrase )组成。 SIP版本与请求 消息中的相同。 原因描述指对响应状态的文字描述, 以方便人们阅读。 状 态码由三位数字组成, 表示响应的结果。 目前, RFC 3261中定义的状态码 从 lxx〜 6xx, lxx是临时响应 (又叫中间响应) , 而其它的是最终响应。 分别表示如下含义:  The SIP response message begins with a status line. The status line includes a SIP version (SIP Version), a status code (Status-Code), and a reason description (Reason-Phrase). The SIP version is the same as in the request message. The reason description is a text description of the response status for people to read. The status code consists of three digits and indicates the result of the response. Currently, the status codes defined in RFC 3261 are from lxx to 6xx, lxx is a temporary response (also called an intermediate response), and the others are the final response. Represent the following meanings:
- lxx指请求已经收到正在处理中;  -lxx means the request has been received and is being processed;
- 2xx是成功响应, 指请求已被成功处理;  -2xx is a successful response, which means that the request has been successfully processed;
· 3xx是重定向响应, 指示呼叫重新向指定的实体发起;  3xx is a redirect response, which instructs the call to be re-initiated to the designated entity;
• 4xx是客户出错响应, 指请求消息语法有误或此服务器无法处理; - 5xx是服务器出错响应, 指服务器无法处理一个合法的请求消息; - 6xx是全局出错响应, 指请求无法被任何服务器处理。  • 4xx is a client error response, which means that the syntax of the request message is incorrect or the server cannot process it;-5xx is a server error response, which means the server cannot process a legitimate request message;-6xx is a global error response, which means that the request cannot be processed by any server .
上述的临时响应指当接收方已经收到请求, 但要花一段时间处理, 为 了防止请求方定时器超时, 就用此消息通知请求方。 对请求的处理结果仍 以最终响应的方式返回给请求方。  The above-mentioned temporary response means that when the receiver has received the request, but it takes some time to process, in order to prevent the requestor timer from timing out, this message is used to notify the requester. The result of processing the request is still returned to the requester in the form of a final response.
本发明即是使用上述 SIP协议标准中已有的 SIP消息 /操作来完成对 SIP 网络节点链接状态的维护。  The present invention is to use the existing SIP messages / operations in the above-mentioned SIP protocol standard to complete the maintenance of the link state of the SIP network node.
为了使本技术领域的人员更好地理解本发明方案, 下面结合附图和实 施方式对本发明作进一步的详细说明。 In order to enable those skilled in the art to better understand the solution of the present invention, the following is combined with the drawings and the actual implementation. The embodiments further describe the present invention in detail.
参照图 2, 图 2是本发明方法中 SIP网络节点状态维护方式示意图: 在该示意图中, 节点 1与其他节点间均有通信机制 ^, 但节点 4与节点 2和节点 3之间没有通信机制, 但节点 4需要获得节点 和 /或节点 3的状 态变化信息。 这时,  Referring to FIG. 2, FIG. 2 is a schematic diagram of a state maintenance method of a SIP network node in the method of the present invention: In this schematic diagram, a communication mechanism exists between node 1 and other nodes ^, but there is no communication mechanism between node 4 and node 2 and node 3 However, node 4 needs to obtain the state change information of node and / or node 3. At this time,
首先设置 SIP网络的管理节点 ( SIP节点 1 );  First set the management node of the SIP network (SIP node 1);
由设置的 SIP网络管理节点监控该网络中其他节点( SIP节点 2和 SIP 节点 3 ) 的状态;  The set SIP network management node monitors the status of other nodes (SIP node 2 and SIP node 3) in the network;
SIP网络中的任一节点 (SIP节点 4 )通过向管理节点 (SIP节点 1 ) 订阅消息获取其他节点的状态信息, 管理节点才艮据订阅信息向该节点通知 其他节点的状态变化情况。 如果节点 4只订阅节点 2的状态变化信息, 则 管理节点只通知节点 4有关节点 2的状态变化消息; 如果节点 4同时订阅 了节点 2及节点 3的状态变化信息, 则管理节点需要通知节点 4有关节点 2及节点 3的状态变化消息。 也就是说, 管理节点在向订阅者发送消息时 是根据订阅者的订阅内容来发送的。  Any node (SIP node 4) in the SIP network obtains status information of other nodes by subscribing to the management node (SIP node 1), and the management node notifies the node of status changes of other nodes according to the subscription information. If node 4 only subscribes to the status change information of node 2, the management node only informs node 4 about the status change information of node 2. If node 4 subscribes to the status change information of node 2 and node 3 at the same time, the management node needs to notify node 4 Information about the status changes of node 2 and node 3. That is to say, when the management node sends a message to the subscriber, it sends it based on the subscriber's subscription content.
图 3示出了上述由设置的 SIP网络管理节点获取该网络中其他节点的 状态的详细流程:  Figure 3 shows the detailed process of obtaining the status of other nodes in the network by the set SIP network management node.
首先, 在步骤 301由设置的 SIP网络管理节点建立网络节点状态表, 该表包括: 网络节点标识、 节点状态; 所述节点状态可以分别表示为 "Active"和 "Passive" ,分别代表网络节点处于正常链接状态和断开状态。  First, in step 301, a network node status table is established by a set SIP network management node, and the table includes: a network node identifier and a node status; the node status may be respectively represented as "Active" and "Passive", which respectively represent that a network node is in Normal link status and disconnected status.
然后, 进到步骤 302, 由 SIP网络管理节点使用 SIP协议标准定义的 OPTIONS消息与网络中的被监控节点建立 SIP心跳链接, 获取被监控节 点的状态变化信息。  Then, proceed to step 302, the SIP network management node uses the OPTIONS message defined by the SIP protocol standard to establish a SIP heartbeat link with the monitored node in the network, and obtains the status change information of the monitored node.
网络管理节点获知被监控节点的状态发生变化后,需要进到步骤 303, 根据获取的被监控节点的状态变化信息更新网络节点状态表。  After the network management node learns that the status of the monitored node has changed, it needs to proceed to step 303 to update the network node status table according to the obtained status change information of the monitored node.
上述建立 SIP心跳链接的详细过程如下:  The detailed process of establishing a SIP heartbeat link is as follows:
SIP 网络管理节点周期性地发送 OPTIONS消息到被监控的节点, 以 监控对应节点的状态。 在正常情况下, 被监控节点响应网络管理节点发送 的 SIP消息,可以使用 SIP协议标准中定义的 2XX作为缺省的返回值。此 时, 网络节点状态表中对应于该节点的状态应为 "Active", 如果被监控节点没有响应的次数连续达到了预定 1'〕限值, 则可以确定 管理节点与该被监控节点间的心跳链接已经失效, 此时也可以认为该被监 控节点也已经失效。 这时, 需要将网络节点状态表中对应于该节点的状态 更新为 "Passive"。 The SIP network management node periodically sends OPTIONS messages to the monitored nodes to monitor the status of the corresponding nodes. Under normal circumstances, the monitored node responds to the SIP message sent by the network management node, and can use 2XX defined in the SIP protocol standard as the default return value. This When the state of the network node status table corresponding to the node should be "Active", if the number of times that the monitored node has not responded continuously reaches the predetermined 1 '] limit, the heartbeat between the management node and the monitored node can be determined The link has expired. At this time, the monitored node can also be considered to have expired. At this time, the status corresponding to the node in the network node status table needs to be updated to "Passive".
为了降低网络负荷, 提高网络的运行效率, 本发明通过网络管理节点 与任一节点之间建立 SIP心跳通知链接维护该任一节点与其他节点之间的 "虚拟,, 联系, 为此, 本发明使用 SIP协议中的事件通知框架。 基于该框 架, 本发明定义了在订阅者 (SIP 网络中的任一节点)和通知者(SIP 网 络中的管理节点)之间的信息交换协议,通过该协议传送 SIP节点的状态, 也就是说定义一个 SIP事件包,依据 RFC3265协议的规定,一个事件包定 义了通知者通知订阅者时的附加规范及状态信息。 本发明中定义的 SIP事 件包包括信息: 包名称、 事件包参数、 订阅体、 订阅间隔、 通知体。  In order to reduce the network load and improve the operating efficiency of the network, the present invention maintains a "virtual," connection between any node and other nodes by establishing a SIP heartbeat notification link between the network management node and any node. To this end, the present invention The event notification framework in the SIP protocol is used. Based on this framework, the present invention defines an information exchange protocol between a subscriber (any node in the SIP network) and a notifier (a management node in the SIP network). The state of the SIP node is transmitted, that is, a SIP event packet is defined. According to the RFC3265 protocol, an event packet defines additional specifications and status information when the notifier notifies the subscriber. The SIP event packet defined in the present invention includes information: Package name, event package parameters, subscription body, subscription interval, notification body.
下面是 SIP事件包的详细内容:  Here are the details of the SIP event package:
· 包名称  · Package name
定义的包名称为: "heartbeat-notification", 根据 RFC3265[2]的规范 , 这个值将在 SIP的扩展消息 SUBSCRIBE (订阅)和 NOTIFY (通知)请 求的事件头中存在。  The defined package name is: "heartbeat-notification". According to the specifications of RFC3265 [2], this value will exist in the event headers of the SIP extension messages SUBSCRIBE (subscription) and NOTIFY (notification) requests.
• 事件包参数  • Event package parameters
本事件包完全使用已有的 SIP系统规定的参数, 例如支持在订阅时使 用 SIP协议中规定的 Accept (事件) 头指明后续的 NOTIFY消息的格式。  This event package fully uses the parameters specified by the existing SIP system. For example, it supports the use of the Accept (Event) header specified in the SIP protocol to specify the format of subsequent NOTIFY messages when subscribing.
• 订阅体  • Subscriber
SUBSCRIBE消息中需要提供相关的信息, 使可靠性通知者可以获得 需要监控的 SIP节点的标识。  The SUBSCRIBE message needs to provide relevant information so that the reliability notifier can obtain the identity of the SIP node that needs to be monitored.
· 订阅间隔  · Subscription interval
为了避免网络过载, 需要定义一个合适的时间间隔用于发送订阅刷新 消息。  To avoid network overload, you need to define a suitable interval for sending subscription refresh messages.
• 通知体 根据 RFC3265[2]的描述, NOTIFY消息包括了描述订阅资源状态的消 息体。 消息体的格式在 SUBSCRIBE消息的 Accept头中(如果忽略, 则是 缺省值)。 • Notification body According to the description in RFC3265 [2], the NOTIFY message includes a message body describing the status of the subscription resource. The format of the message body is in the Accept header of the SUBSCRIBE message (if omitted, the default value).
在事件包中, 通知体将包括状态变化信息, 信息将指明新的状态和改 变状态的 SIP节点标识。  In the event packet, the notification body will include status change information, and the information will indicate the new status and the SIP node identifier of the changed status.
所用的订阅者和通知者都需要支持由订阅者和通知者协商确定的一 种数据格式, 侈1 口: "application/ heartbeat-notification+xml"数据格式。 订 阅请求可能包括 Accept头域, 如果对应的头域不存在, 则系统将使用缺省 值" application/ heartbeat-notification+xml"; 如果对应头域存在, 贝1 J头域中 '必须包括" application/ heartbeat-notification+xml"。 Subscribers who used to inform and need to support a data format by the subscriber and the notifier consultation, the extravagant one: "application / heartbeat-notification + xml" data format. The subscription request may include the Accept header field, if the corresponding header field is not present, the system uses the default value "application / heartbeat-notification + xml "; if the corresponding header field is the first field shell 1 J 'must include "application / heartbeat-notification + xml ".
一个 " application/heartbeat-notification+xml " 类型的文档是一个有效 的 XML文档, 它是基于 XML1.0标准的, 同时使用 UTF-8编码。  A "application / heartbeat-notification + xml" type document is a valid XML document that is based on the XML 1.0 standard and uses UTF-8 encoding.
例如: 事件包的文档可以采用如下格式:  For example: The document of the event package can be in the following format:
<?xml version="1.0" encoding="UTF-8"?>  <? xml version = "1.0" encoding = "UTF-8"?>
<device>  <device>
<id>  <id>
bob@biloxi.com 〃节点 IP  bob@biloxi.com 〃node IP
</id>  </ id>
<information>  <information>
Machine is up 〃对应的消息内容  Machine is up 〃 Corresponding message content
</information>  </ information>
</device>  </ device>
• 处理分叉请求  • Forking requests
在处理初始的 SUBSCRIBE消息的时候, 在订阅者和通知者之间只能 建立一个对话。 可参见 RFC3265[2]的 4.4.9部分描述的具体的处理方式。  When processing the initial SUBSCRIBE message, only one conversation can be established between the subscriber and the notifier. See RFC3265 [2] section 4.4.9 for specific processing methods.
• 通知速率  • Notification rate
RFC3265[2]协议规定每个不同的包定义通知发送的最大速率,通知者 不能使用大于每 10s—个通知的速率发送通知, 因为通知到订阅者是通过 异步方式实现的。 图 4示出了上述 SIP网络中任一节点通过向网络管理 "点 '订阅消息获 取其他节点的状态信息的详细流程: The RFC3265 [2] protocol specifies the maximum rate at which notifications are sent for each different packet. Notifiers cannot send notifications at a rate greater than every 10s—notifications, because notifications to subscribers are implemented asynchronously. FIG. 4 shows a detailed process of obtaining the status information of other nodes by any node in the above SIP network by subscribing to the network management "point" message:
首先, 在步骤 401 , SIP网络中的节点使; ίΤ§ΙΡ协议标准定义的 SUBSCRIBE消息向管理节点订阅消息, 在 SUBSCRIBE消息的消息体中包 括上述定义的 SIP事件包。  First, in step 401, a node in a SIP network uses a SUBSCRIBE message defined by the §IP protocol standard to subscribe a message to a management node, and a message body of the SUBSCRIBE message includes the SIP event package defined above.
管理节点收到 SUBSCRIBE消息后, 首先进到步骤 402, 对订阅者进行 鉴权, 即根据 SUBSCRIBE消息中的信息检查 SUBSCRIBE的发送者的节点 ID, 但这个过程不是必需的。 通常情况下, 订阅者和通知者之间已经建立 了关系。 在此情况下, 可以采用 SIP协议中的 HTTP Digest机制作为鉴权的 方法, 此方法必须被所有的客户端和服务器支持。 当然, 如杲采用这种鉴 权机制, 则需要将此鉴权机制作为对所有的 SIP兼容组件的要求。  After receiving the SUBSCRIBE message, the management node first proceeds to step 402 to authenticate the subscriber, that is, to check the node ID of the sender of the SUBSCRIBE according to the information in the SUBSCRIBE message, but this process is not necessary. Usually, a relationship has been established between the subscriber and the notifier. In this case, the HTTP Digest mechanism in the SIP protocol can be used as the authentication method. This method must be supported by all clients and servers. Of course, if such an authentication mechanism is adopted, it is necessary to use this authentication mechanism as a requirement for all SIP compatible components.
如果该节点没有订阅权限, 则进到步骤 403, 向该节点返回 4XX消息。 如果该节点有订阅权限, 则进到步骤 404, 检查订阅者在 SUBSCRIBE 消息中指明的监控节点是否可以监控。  If the node does not have subscription rights, then proceed to step 403, and return a 4XX message to the node. If the node has the subscription right, proceed to step 404 to check whether the monitoring node indicated by the subscriber in the SUBSCRIBE message can be monitored.
如果在 SUBSCRIBE消息中指明的需要监控的节点不能支持, 则进到 步骤 405, 向该节点返回 4XX消息。  If the node to be monitored specified in the SUBSCRIBE message cannot support it, then proceed to step 405 and return a 4XX message to the node.
如果在 SUBSCRIBE消息中指明的需要监控的所有节点都是可以支持 的, 则进到步骤 406, 返回 "200 OK" 响应。 响应中需要包括所有的可以 被监控的节点 ID信息。  If all the nodes to be monitored specified in the SUBSCRIBE message are supported, then go to step 406 and return a "200 OK" response. The response needs to include all the node ID information that can be monitored.
然后, 进到步骤 407, 根据网络节点状态表及在图 3所示的步骤 302中 获取的被监控节点的状态变化信息判断需要监控的节点状态是否发生变 化。  Then, proceed to step 407, and determine whether the status of the node to be monitored has changed according to the network node status table and the status change information of the monitored node obtained in step 302 shown in FIG. 3.
如果没有发生变化, 则进到步骤 408, 等待预定时间后返回步骤 407, 继续判断需要监控的节点状态是否发生变化。  If there is no change, go to step 408, wait for a predetermined time and return to step 407, and continue to determine whether the status of the node to be monitored has changed.
如果被监控的节点状态发生了变化, 则进到步骤 409, 使用 SIP协议标 准定义的命令字 NOTIFY通知消息订阅节点。 在 NOTIFY消息的消息体中 包括上述定义的 SIP事件包。 NOTIFY消息的消息体必需使用在最近一次接 收到的 SUBSCRIBE请求的 Accept头域中定义的类型列表中的一个值,或者 缺省的 "application/heartbeat-notification+xml" (在 Accept^:域不存在的情 况下)。 If the status of the monitored node changes, proceed to step 409, and use the command word NOTIFY defined in the SIP protocol standard to notify the message subscribing node. The body of the NOTIFY message includes the SIP event packet defined above. The body of the NOTIFY message must use a value from the list of types defined in the Accept header field of the most recently received SUBSCRIBE request, or The default "application / heartbeat-notification + xml" (in case Accept ^: field does not exist).
消息订阅者接收到上述 NOTIFY消息后, 可以根据需要进行处理, 例 如更新链接状态等操作。  After receiving the above-mentioned NOTIFY message, the message subscriber can perform processing according to requirements, for example, operations such as updating the link status.
图 5是本发明获取 SIP网络节点状态的系统结构示意图:  FIG. 5 is a schematic structural diagram of a system for acquiring a state of a SIP network node according to the present invention:
在该系统中, 示出了一个可靠性服务器 501, 用于对 SIP网络提供网络 链接的状态; 一个状态管理服务器 500, 用于监控所述网络链接的状态, 也就是说监控网络中其他节点的状态; 一个可靠性订阅服务器 502, 用于 向状态管理服务器 500订阅可靠性服务器节点状态变化的通知。 其中, 状 态管理服务器 500包括: 可靠性客户装置, 用于与可靠性服务器建立 SIP心 跳链接, 获取可靠性服务器的状态变化信息; 可靠性通知装置, 用于与可 靠性订阅服务器建立 SIP心跳通知链接, 通知可靠性订阅服务器订阅的相 关可靠性服务器的状态变化。 建立 SIP心跳链接及建立 SIP心跳通知链接时 采用 SIP协议标准定义的消息字交互信息。 此处所指的可靠性服务器、 状 态管理服务器、 可靠性订阅服务器均从功能角度的划分, 实质上可以是在 同一实体中的不同功能模块。  In this system, a reliability server 501 is shown, which is used to provide the status of a network link to a SIP network; a status management server 500 is used to monitor the status of the network link, that is, to monitor the status of other nodes in the network Status; a reliability subscription server 502, configured to subscribe to the status management server 500 for notification of changes in the status of the reliability server node. The state management server 500 includes: a reliability client device for establishing a SIP heartbeat link with the reliability server to obtain status change information of the reliability server; a reliability notification device for establishing a SIP heartbeat notification link with the reliability subscription server To notify the reliability subscriber that the status of the relevant reliability server to which the subscription is subscribed. When establishing a SIP heartbeat link and establishing a SIP heartbeat notification link, the message words defined by the SIP protocol standard are used to exchange information. The reliability server, status management server, and reliability subscriber server referred to here are all divided from a functional perspective, and can be essentially different functional modules in the same entity.
在该实施例中, 虽然只示出了一个可靠性服务器, 一个状态管理服务 器和一个可靠性订阅服务器, 但在 SIP网络中, 可以包含多个节点, 因此, 本发明系统的组网方式也有多种。可以 居实际组网需要选定不同的系统 拓朴结构。 同样, 如果需要监控多个可靠性服务器的状态, 则需要在状态 管理服务器 500中对应多个可靠性客户装置; 如果有多个可靠性订阅服务 器向状态管理服务器 500订阅信息, 则需要在状态管理服务器 500中对应多 个可靠性通知装置。  In this embodiment, although only one reliability server, one state management server, and one reliability subscription server are shown, in a SIP network, multiple nodes may be included. Therefore, there are many networking modes of the system of the present invention. Species. You can choose different system topologies for actual networking. Similarly, if it is necessary to monitor the status of multiple reliability servers, it is necessary to correspond to multiple reliability client devices in the state management server 500; if there are multiple reliability subscribers subscribing information to the state management server 500, it is necessary to perform state management The server 500 corresponds to a plurality of reliability notification devices.
为了方便说明, 以图 5为例, 说明本发明系统的工作过程。  For convenience of explanation, the working process of the system of the present invention is described by taking FIG. 5 as an example.
可靠性客户装置需要周期性地发送 OPTIONS 消息到需要被监控的 Reliable client devices need to periodically send OPTIONS messages to those that need to be monitored
SIP节点(节点 2 ), 以监控对应节点的状态。 该装置还需要监控 OPTIONS 消息的响应情况,如果 SIP节点 2没有响应的次数连续达到了预定门限值, 则系统可以确定 SIP节点 1和节点 2之间的心跳链接已经失效, 此时可以 认为 SIP节点 2也已经失效。 比如, 可以设置 OPTIONS消息初始的重发 时间是 100毫秒, 并且在每次重发之后加倍, 直到重发 7次。 如果第七次 重发仍然失败, 则可以认为被监控节点对于 OPTIONS,的处理失败, 这时, 需要将网络节点状态表中对应于该节点的状态更新为 "Passive"。 如果在 等待过程中接受到被监控节点的响应, 管理节点可以将重发超时设定到 500毫秒。 如果确定被监控节点已经失效, 管理节点将网络节点状态表中 对应于该节点的状态更新为 "Passive"。 SIP node (node 2) to monitor the status of the corresponding node. The device also needs to monitor the response of the OPTIONS message. If the number of times that SIP node 2 has not responded continuously reaches a predetermined threshold, the system can determine that the heartbeat link between SIP node 1 and node 2 has failed. At this time, SIP Node 2 has also failed. For example, you can set the initial retransmission of the OPTIONS message The time is 100 milliseconds and is doubled after each retransmission until 7 retransmissions. If the seventh retransmission still fails, it can be considered that the monitored node's processing of OPTIONS has failed. At this time, the status of the network node status table corresponding to the node needs to be updated to "Passive". If a response from the monitored node is received during the waiting process, the management node can set the retransmission timeout to 500 milliseconds. If it is determined that the monitored node has failed, the management node updates the status corresponding to the node in the network node status table to "Passive".
可靠性服务器需要响应可靠性客户端发送的 SIP消息, 本发明建议 "2XX"作为缺省的返回值。 如果可靠性服务器收到了从可靠性客户端发 送 OPTIONS消息, 需要返回 "2XX"响应, 并且等待重发的 OPTION消息。 重发消息的等待时间是可配置的 (参见前面所述的 SIP事件包的内容) , 推荐时间为 60s。 如果重发的 OPTIONS消息没有在超时之间接收到, 则可 以认为可靠性客户装置失效,但是可靠性服务器需要使用相同的超时设置 继续等待 OPTIONS消息。  The reliability server needs to respond to the SIP message sent by the reliability client. The present invention proposes "2XX" as the default return value. If the reliability server receives the OPTIONS message from the reliability client, it needs to return a "2XX" response and wait for the OPTION message to be resent. The waiting time for resending messages is configurable (see the contents of the SIP event packet described above), and the recommended time is 60s. If the retransmitted OPTIONS message is not received between timeouts, it can be considered that the reliability client device has failed, but the reliability server needs to continue to wait for the OPTIONS message using the same timeout setting.
可靠性订阅装置需要获得其他节点的状态信息时, 使用 SIP协议中的 事件通知框架。 可靠性订阅服务器发送 SUBSCRIBE消息到可靠性通知装 置, 以订阅可靠性服务器节点的状态变化情况通知。 SUBSCRIBE消息的 消息体定义参照前面所述的 SIP事件包。  When the reliability subscription device needs to obtain the status information of other nodes, it uses the event notification framework in the SIP protocol. The reliability subscriber server sends a SUBSCRIBE message to the reliability notification device to subscribe to the notification of the status change of the reliability server node. For the body definition of the SUBSCRIBE message, refer to the SIP event packet described earlier.
可靠性通知装置的功能是将某节点的状态信息(主要是是否可用)通 知给可靠性订阅服务器。 该装置接收来自可靠性订阅服务器的 SUBSCRIBE消息, 并监控订阅服务器订阅的其他节点的状态变化, 如果 发生改变, 发送 NOTIFIY事件通知给可靠性订阅服务器。 NOTIFIY消息的 消息体定义参照前面所述的 SIP事件包。  The function of the reliability notification device is to inform the reliability subscriber of the status information (mainly whether it is available) of a node. The device receives the SUBSCRIBE message from the reliability subscriber, and monitors the status changes of other nodes subscribed by the subscription server. If the status changes, it sends a NOTIFIY event notification to the reliability subscriber. The body definition of the NOTIFIY message refers to the SIP event packet described above.
为了使本技术领域人员更好地理解本发明, 下面再通过本发明的一个 应用实例详细说明本发明系统的拓朴结构及工作过程。  In order to enable those skilled in the art to better understand the present invention, the topology structure and working process of the system of the present invention will be described in detail through an application example of the present invention.
参照图 6所示的本发明的应用实例在 SIP网络中的拓朴结构:  Referring to the topology structure of the application example of the present invention in a SIP network shown in FIG. 6:
网络包括一个 "管理者" 和多个 "节点" , 网络同时会包括一定数目 的软交换设备(支持 SIP协议) 。 所有的节点 (包括所有的网络节点和软 交换设备)通过 IP网络互连。 在这个网络中只有 "管理者" 需要监控所有 的软交换设备的状态, 如果某个节点希望获得软交换设备的状态, 此节点 需要发送 SUBSCRIBE消息到 "管理者" 订阅。 The network includes a "manager" and multiple "nodes". The network will also include a certain number of softswitch devices (supporting the SIP protocol). All nodes (including all network nodes and softswitch equipment) are interconnected through an IP network. Only "managers" in this network need to monitor all The state of the softswitch device. If a node wants to obtain the status of the softswitch device, this node needs to send a SUBSCRIBE message to the "manager" subscription.
图 7说明了在管理者、 节点及软交换设备间可能的消息流程。 如图所 示:  Figure 7 illustrates the possible message flow among managers, nodes and softswitch devices. as the picture shows:
第一步: 管理者为软交换设备 1创建一个可靠性客户端, 同样为软交 换设备 2创建另外一个可靠性客户端。 这些客户端发送 OPTIONS消息到 对应的软交换设备。 软交换设备接收到 OPTIONS消息后, 发送 200OK的 响应消息。 当可靠性客户端接收到 200OK消息后, 系统认为对应的软交 换设备启动, 并且正常运行。  Step 1: The administrator creates a reliable client for softswitch device 1, and also creates another reliable client for softswitch device 2. These clients send OPTIONS messages to the corresponding softswitch devices. After receiving the OPTIONS message, the softswitch device sends a 200OK response message. When the reliability client receives the 200 OK message, the system considers that the corresponding soft switching device is up and running normally.
第二步: 当节点 1发送 SUBSCRIBE消息订阅关于软交换设备 1的状 态信息, 管理者发送 200OK到节点 1作为 SUBSCRIBE消息的响应消息, 然后发送 NOTIFY消息通知节点 1 , 软交换设备 1的状态为 "Active"。  Step 2: When node 1 sends a SUBSCRIBE message to subscribe to the status information of soft switching device 1, the manager sends 200OK to node 1 as a response message to the SUBSCRIBE message, and then sends a NOTIFY message to notify node 1 that the status of soft switching device 1 is " Active ".
第三步: 管理者发送 OPTIONS消息, 同时在超时时间内没有接收到 软交换设备 1的响应, 管理者将软交换设备 1的状态从 "Active" 修改为 "Passive", 同时发送 NOTIFY消息将信息通知节点 1。  Step 3: The manager sends an OPTIONS message, and at the same time does not receive a response from the softswitch device 1 within the timeout period, the manager changes the status of the softswitch device 1 from "Active" to "Passive", and sends a NOTIFY message to change the information Notify node 1.
作为后续处理, 管理者不断地周期性发送 OPTIONS消息给软交换设 备 1。  As a follow-up process, the manager continuously sends OPTIONS messages to the softswitch device 1 periodically.
在第四步: 管理者接收到了软交换设备 1的响应信息, 据此管理者将 软交换设备 1的状态从" Passive"修改为 "Active" ,并将此信息通过 NOTIFY 消息通知节点 1。  In the fourth step: the manager receives the response information of the softswitch device 1, and accordingly the manager changes the status of the softswitch device 1 from "Passive" to "Active", and notifies node 1 of this information through a NOTIFY message.
虽然通过实施例描绘了本发明, 本领域普通技术人员知道, 本发明有 许多变形和变化而不脱离本发明的精神, 希望所附的权利要求包括这些变 形和变化而不脱离本发明的精神。  Although the present invention is described through the embodiments, those skilled in the art know that the present invention has many variations and changes without departing from the spirit of the present invention, and it is expected that the appended claims include these variations and changes without departing from the spirit of the present invention.

Claims

权 利 要 求 Rights request
1、 一种获取会话初始协议网络节点状态的方法, 其特征在于, 包括: 1. A method for acquiring a state of a network node of a session initial protocol, comprising:
A、 设置会话初始协议 SIP网络的管理节点; A. Set the management node of the session initiation protocol SIP network;
B、 由所述 SIP网络管理节点通过标准 SIP消息监控所述 SIP网络中 其他节点的状态;  B. The SIP network management node monitors the status of other nodes in the SIP network through standard SIP messages;
C、 所述 SIP网络中的某一节点通过向所述管理节点订阅消息获取所 述其他节点的状态信息。  C. A node in the SIP network obtains status information of the other nodes by subscribing to a message from the management node.
2、 如权利要求 1 所述的获取会话初始协议网络节点状态的方法, 其 特征在于, 所述方法还包括: 定义 SIP事件包, 用于传送所述 SIP网络中 节点状态信息, 所述 SIP事件包包括: 包名称、 事件包参数、 订阅体、 订 阅间隔、 通知体。  2. The method for obtaining the status of a session initiation protocol network node according to claim 1, further comprising: defining a SIP event packet for transmitting node status information in the SIP network, and the SIP event The package includes: package name, event package parameters, subscription body, subscription interval, and notification body.
3、 如权利要求 1或 2所述的获取会话初始协议网络节点状态的方法, 其特征在于, 所述步骤 B包括:  3. The method for acquiring a state of a network node of a session initiation protocol according to claim 1 or 2, wherein the step B comprises:
Bl、 建立网络节点状态表;  Bl. Establish a network node status table.
B2、 所述管理节点与所述其他节点通过标准 SIP消息 OPTIONS建立 B2, the management node and the other nodes are established through a standard SIP message OPTIONS
SIP心跳链接, 获取所述其他节点的状态变化信息; A SIP heartbeat link to obtain status change information of the other nodes;
B3、才艮据所述获取的其他节点的状态变化信息更新所述网络节点状态 表。  B3. The network node status table is updated according to the obtained status change information of other nodes.
4、 如权利要求 3所述的获取会话初始协议网络节点状态的方法, 其 特征在于, 所述网络节点状态表包括: 网络节点标识、 节点状态。  4. The method for obtaining a status of a network node of a session initiation protocol according to claim 3, wherein the network node status table comprises: a network node identifier and a node status.
5、 如权利要求 1或 2所述的获取会话初始协议网络节点状态的方法, 其特征在于, 所述步骤 C包括:  5. The method for acquiring a status of a network node of a session initiation protocol according to claim 1 or 2, wherein the step C comprises:
Cl、 所述 SIP网络中的节点使用 SIP协议标准定义的 SUBSCRIBE消 息向所述管理节点订阅消息;  Cl. A node in the SIP network uses a SUBSCRIBE message defined by a SIP protocol standard to subscribe to a message from the management node;
C2、 所述管理节点 居收到的 SUBSCRIBE消息, 获取需要监控的节 点信息;  C2. The management node receives the SUBSCRIBE message, and obtains node information that needs to be monitored;
C3、 当所述需要监控的节点状态发生变化时, 使用 SIP协议标准定义 的命令字 NOTIFY通知所述 SIP网络中的节点。  C3. When the state of the node to be monitored changes, the node in the SIP network is notified using the command word NOTIFY defined by the SIP protocol standard.
6、 如权利要求 5所述的获取会话初始协议网络节点状态的方法, 其 特征在于, 所述步骤 C2还包括: 所述管理节点根据收到的 SUBSCRIBE 消息对消息订阅者进行鉴权, 确认所述订阅者是否齐权限订阅消息。 6. The method for acquiring the status of a session initiation protocol network node according to claim 5, wherein The feature is that the step C2 further includes: the management node authenticates the message subscriber according to the received SUBSCRIBE message, and confirms whether the subscriber is authorized to subscribe to the message.
7、 如权利要求 5所述的获取会话初始协议网络节点状态的方法, 其 特征在于,在所述 NOTIFY及 SUBSCRIBE消息中采用所述定义的 SIP事 件包的消息体格式。  7. The method for obtaining a status of a network node of a session initiation protocol according to claim 5, wherein a message body format of the defined SIP event packet is used in the NOTIFY and SUBSCRIBE messages.
8、 一种获取会话初始协议网络节点状态的系统, 其特征在于, 包括: 至少一个可靠性服务器, 用于提供网络链接的状态;  8. A system for obtaining a status of a network node of a session initial protocol, comprising: at least one reliability server, configured to provide a status of a network link;
状态管理服务器, 用于监控所述网络链接的状态;  A state management server, configured to monitor a state of the network link;
至少一个可靠性订阅服务器, 用于向所述状态管理服务器订阅所述可 靠性服务器节点状态变化的通知。  At least one reliability subscriber is configured to subscribe to the state management server for notification of a state change of the reliability server node.
9、 如权利要求 8所述的获取会话初始协议网络节点状态的系统, 其 特征在于, 所述状态管理服务器包括:  9. The system for acquiring the status of a session initiation protocol network node according to claim 8, wherein the state management server comprises:
至少一个可靠性客户装置, 用于与所述可靠性服务器建立 SIP心跳链 接, 获取所述可靠性服务器的状态变化信息;  At least one reliability client device, configured to establish a SIP heartbeat link with the reliability server, and obtain status change information of the reliability server;
至少一个可靠性通知装置, 用于与所述可靠性订阅服务器建立 SIP心 跳通知链接, 通知所述可靠性订阅服务器订阅的相关可靠性服务器的状态 变化。  At least one reliability notification device is configured to establish a SIP heartbeat notification link with the reliability subscription server, and notify a change in the status of a related reliability server subscribed by the reliability subscription server.
PCT/CN2005/000690 2004-05-20 2005-05-19 Method and system for getting the state of sip network nodes WO2005114906A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200410042348.3A CN100496043C (en) 2004-05-20 2004-05-20 Method and system for acquiring session initiation protocol network node status
CN200410042348.3 2004-05-20

Publications (1)

Publication Number Publication Date
WO2005114906A1 true WO2005114906A1 (en) 2005-12-01

Family

ID=35428669

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2005/000690 WO2005114906A1 (en) 2004-05-20 2005-05-19 Method and system for getting the state of sip network nodes

Country Status (2)

Country Link
CN (1) CN100496043C (en)
WO (1) WO2005114906A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2421143B (en) * 2004-12-07 2007-05-09 Toshiba Kk Network telephone system and main apparatus and telephone terminals used in the network telephone system
GB2458553A (en) * 2009-03-02 2009-09-30 Toshiba Kk Internet telephony PBX with monitoring of SIP server availability and failover to PSTN in event of server failure
CN109803024A (en) * 2019-01-28 2019-05-24 北京中科晶上科技股份有限公司 A method of for cluster node network

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047691B (en) * 2006-04-29 2010-04-07 华为技术有限公司 A way to centralize control over subscriptions
CN101087474B (en) * 2006-06-19 2012-01-11 中兴通讯股份有限公司 A method for capturing service status of voice call continuous service
CN101197808B (en) * 2006-12-08 2011-04-20 上海贝尔阿尔卡特股份有限公司 Method for sustaining NAT address in SIP network system and device thereof
CN101026499B (en) * 2007-01-19 2011-11-30 北京华纬讯电信技术有限公司 Method for realizing OPTIONS self-query for video business based on SIP protocol
CN101605075B (en) * 2009-07-28 2012-07-11 杭州华三通信技术有限公司 IP telephone fault alarming method and apparatus based on SIP
WO2011100609A2 (en) 2010-02-12 2011-08-18 Tekelec Methods, systems, and computer readable media for inter-message processor status sharing
CN102255934B (en) * 2010-05-20 2015-10-21 中兴通讯股份有限公司 Cloud service dissemination method and cloud service intermediary
US9071512B2 (en) 2010-08-06 2015-06-30 Tekelec, Inc. Methods, systems, and computer readable media for distributing diameter network management information
CN102752335B (en) * 2011-04-22 2017-08-08 中兴通讯股份有限公司 Peer-to-peer overlay network interior joint overload information subscribing method and system
CN103067215B (en) * 2011-10-21 2018-02-13 广东智通人才连锁股份有限公司 Realize method, application server, network data base and the system of heartbeat mechanism
CN104243655B (en) * 2013-06-17 2018-06-12 深圳市共进电子股份有限公司 Magnetic telephone method and system based on embedded optical-fiber network
CN103384273B (en) * 2013-07-08 2016-05-18 中国科学院沈阳自动化研究所 Towards the subscription session status control method of the mobile production management terminal page
CN105245531B (en) * 2015-10-21 2018-12-25 北京捷思锐科技股份有限公司 One kind goes offline detection method, device and server
CN109753399B (en) * 2017-11-01 2022-05-13 中国石油化工股份有限公司 Automatic notification and response method for system unit state change
CN109756351B (en) * 2017-11-01 2021-12-28 中国石油化工股份有限公司 Automatic notification and response system for system unit state change
US10778527B2 (en) 2018-10-31 2020-09-15 Oracle International Corporation Methods, systems, and computer readable media for providing a service proxy function in a telecommunications network core using a service-based architecture
US11018971B2 (en) 2019-10-14 2021-05-25 Oracle International Corporation Methods, systems, and computer readable media for distributing network function (NF) topology information among proxy nodes and for using the NF topology information for inter-proxy node message routing
US11528334B2 (en) 2020-07-31 2022-12-13 Oracle International Corporation Methods, systems, and computer readable media for preferred network function (NF) location routing using service communications proxy (SCP)
US11570262B2 (en) 2020-10-28 2023-01-31 Oracle International Corporation Methods, systems, and computer readable media for rank processing for network function selection

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0128882A1 (en) * 1983-04-19 1984-12-19 KB Cold Isostatic Press Systems CIPS Device for isostatic pressing
EP1089517A2 (en) * 1999-10-01 2001-04-04 Nortel Networks Limited Establishing connections accross a communications network
US20030210649A1 (en) * 2002-05-03 2003-11-13 Bondi Andre B. Managing network loading by control of retry processing at proximate switches associated with unresponsive targets

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0128882A1 (en) * 1983-04-19 1984-12-19 KB Cold Isostatic Press Systems CIPS Device for isostatic pressing
EP1089517A2 (en) * 1999-10-01 2001-04-04 Nortel Networks Limited Establishing connections accross a communications network
US20030210649A1 (en) * 2002-05-03 2003-11-13 Bondi Andre B. Managing network loading by control of retry processing at proximate switches associated with unresponsive targets

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2421143B (en) * 2004-12-07 2007-05-09 Toshiba Kk Network telephone system and main apparatus and telephone terminals used in the network telephone system
US7463624B2 (en) 2004-12-07 2008-12-09 Kabushiki Kaisha Toshiba Monitoring connection state between main equipment and terminal in network telephone system
GB2458553A (en) * 2009-03-02 2009-09-30 Toshiba Kk Internet telephony PBX with monitoring of SIP server availability and failover to PSTN in event of server failure
CN109803024A (en) * 2019-01-28 2019-05-24 北京中科晶上科技股份有限公司 A method of for cluster node network

Also Published As

Publication number Publication date
CN1700694A (en) 2005-11-23
CN100496043C (en) 2009-06-03

Similar Documents

Publication Publication Date Title
CN100496043C (en) Method and system for acquiring session initiation protocol network node status
US9331967B2 (en) Browser/HTML friendly protocol for real-time communication signaling
JP5379167B2 (en) SIP-HTTP application correlator
KR101109276B1 (en) Keep session connected
EP1856896B1 (en) Transferring state information in a network
US9307031B2 (en) Generic model for customizing protocol behavior through javascript
EP1665722B1 (en) Exchange protocol for combinational multimedia services
JP5865404B2 (en) Gateway for enterprise network survivability using SIP
US9531817B2 (en) Technique for providing interoperability between different protocol domains
US10476915B2 (en) Real-time communication signaling gateway
JP5173607B2 (en) Communications system
US7809846B2 (en) Resilient application layer overlay framework for converged communication over Internet protocol networks
US9648049B2 (en) System and method for extending IP multimedia subsystem to HTML5 environments
US20050050194A1 (en) Method and system for proxying a message
WO2009092263A1 (en) A terminal, a server, a method for managing the terminal and a method for reporting the terminal ability information
JP2010524382A (en) Terminal apparatus for performing SIP-based session processing and session negotiation request transmission / reception method using the same
WO2007068209A1 (en) A method, system and device for transmitting ims instant messages
WO2008083582A1 (en) A service trigger method, system and service trigger apparatus
CN100574474C (en) Set up the method that communication traffic connects in a kind of communication system
WO2007079647A1 (en) A method, apparatus and system for network level backup of sip application system
US8060640B2 (en) Combining SIP requests with SIP responses
WO2009026757A1 (en) A call management system, method applied to ims terminals and the ims terminal
Cisco DTMF Events Through SIP Signaling
US8219610B2 (en) Content providing system, monitoring server, and SIP proxy server
Cisco SIP Session Timer Support

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

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

WWW Wipo information: withdrawn in national office

Country of ref document: DE

122 Ep: pct application non-entry in european phase