CN104601533A - Method and device for closing Diameter connection - Google Patents

Method and device for closing Diameter connection Download PDF

Info

Publication number
CN104601533A
CN104601533A CN201310539818.6A CN201310539818A CN104601533A CN 104601533 A CN104601533 A CN 104601533A CN 201310539818 A CN201310539818 A CN 201310539818A CN 104601533 A CN104601533 A CN 104601533A
Authority
CN
China
Prior art keywords
diameter
node
queue
message
connection
Prior art date
Application number
CN201310539818.6A
Other languages
Chinese (zh)
Inventor
任厚来
张龙
Original Assignee
阿尔卡特朗讯
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 阿尔卡特朗讯 filed Critical 阿尔卡特朗讯
Priority to CN201310539818.6A priority Critical patent/CN104601533A/en
Publication of CN104601533A publication Critical patent/CN104601533A/en

Links

Abstract

The invention aims to provide a method and a device for closing Diameter connection. The first Diameter node starts the first timer, when the first timer overtimes or the transmit queue to be opened on connection is empty, sending the disconnection request message to the second Diameter node. Then, at one side of the second Diameter node, starting the third timer, when the third timer overtimes or the transmit queue to be opened on connection and the receiving queue are empty, sending the disconnection reply message to the first Diameter node. At one side of the first Diameter node, the second timer is started, and breaking the Diameter connection when the second timer overtimes or receives the disconnection reply message. The number of the failure can be obviously reduced through the method and the device, under reasonable setting of the timer, the ideal effect without failure message can be achieved and the QoS and stability of the system can be raised.

Description

—种用于关闭Diameter连接的方法与设备 - a kind of closing device and method for connecting Diameter

技术领域 FIELD

[0001] 本发明涉及通信技术领域,尤其涉及一种处理Diameter连接的技术。 [0001] The present invention relates to communications technologies, and in particular relates to a technique Diameter connection process.

背景技术 Background technique

[0002] 现行的Diameter标准没有明确规定平滑关闭(Graceful Shutdown)Diameter连接的流程。 [0002] The current standard does not specify Diameter smooth flow off (Graceful Shutdown) Diameter connection. 在现行的标准中,通信双方中的任何一方均可以发起终止连接的断连请求(DPR,Disconnect Peer Request),另一方则回复断连应答(DPA, Disconnect Peer Answer),此后,双方的通信断开。 In the current standard, either of the two parties of communication can be terminated initiate disconnection request (DPR, Disconnect Peer Request) connected to the other the disconnection reply response (DPA, Disconnect Peer Answer), thereafter, both the communication breaking open. 但是,这仅仅只终止了新的Diameter事务(transact1n)。 However, this is only just terminated a new Diameter Affairs (transact1n). 对于断连时正在进行的Diameter事务,几乎都要失败,具体地,如果消息已发送会因为超时而失败,如果消息未发送会立即失败。 For the time being disconnected Diameter affairs, almost every failure, specifically, if the message has been sent because a timeout and fail, will fail if the message was not sent immediately. 这种失败肯定会影响QoS,特别是对于电信业务。 This failure will certainly affect the QoS, especially for telecommunications services.

[0003] 图1示例性示出了现有技术中关闭Diameter连接的过程。 [0003] FIG 1 shows an exemplary prior art process of connecting Diameter closed. 其中,节点A和节点B之间采用Diameter协议进行通信。 Wherein a Diameter protocol communication between node A and node B. 节点A准备终止与节点B的连接,其向节点B发送DPR请求消息,通常,节点B收到DPR请求后会立即向节点A回复DPA消息,然后,节点A和节点B之间的Diameter连接直接断开。 A ready to terminate the connection node and the node B, the node B sends a request message DPR, generally, the node B will receive the reply message DPA DPR immediately after the request to node A, then, Diameter between node A and node B are connected directly to disconnect. 这种方案会存在以下一些问题: This program will be the following questions:

[0004] I)在节点A侧:目前,大多数产品在发送DPR请求消息后,就不再处理任何进出的应用层消息了,这样会导致节点B发送过来的各种消息失败。 [0004] I) the A-side node: Currently, most products DPR after sending a request message, it does not process any application layer message and out, and this will cause various messages sent from the node B fails. 现在有少数产品进行了部分改进,在发送DPR请求消息后,不再发送新的请求消息,但仍可以处理来自节点B的请求消息和回复消息,但是依然不支持发送应用层的回复消息,这同样会导致节点B发送过来的请求消息失败,进而影响系统的QoS。 There are few products made some improvements, after sending a request message DPR will not send a new request message, but you can still processing a request message from the node B and reply to messages, but still does not support the application layer of the reply message, which node B will also result in a request message sent from the failure, the system thereby affecting QoS.

[0005] 2)在节点B侧:收到DPR请求消息后,不会再主动向节点A发送新的请求消息,但是对于已经存在发送队列中的各种消息,依然会尝试发送。 [0005] 2) on the B-side node: receives the request message DPR, the initiative will not send a new request message to the node A, but for a variety of message transmission queue already exists, will still try to send. 而此时节点A和节点B的连接已经断开,因此会导致失败,影响系统的QoS。 At this time, the connection node A and the node B has been disconnected, thus causing QoS failure of the system.

[0006] 可见,现有的断开Diameter连接的方法通常仅由一方控制,在双方之间缺乏协调机制,从而导致各种失败。 [0006] visible, the conventional method of connection is often disconnected Diameter controlled by only one, lack of coordination mechanism between the two sides, leading to a variety of failure. 因此,需要一种能平滑关闭Diameter连接的方法,增强系统的稳定性。 Accordingly, a need for a method of smoothing Diameter close connections, enhance the stability of the system.

发明内容 SUMMARY

[0007] 本发明的目的是提供一种用于关闭Diameter连接的方法与设备。 [0007] The object of the present invention is to provide a method and apparatus for closing Diameter connection.

[0008] 根据本发明的第一个方面,提供了一种在第一Diameter节点中用于关闭Diameter连接的方法,其中所述第一Diameter节点与一个第二Diameter节点之间通过至少一个Diameter连接进行通信,其中,每个所述Diameter连接均有一个存有待发送消息的发送队列和一个存有已收到消息的接收队列与之对应,所述第一Diameter节点准备关闭其中的至少一个Diameter连接,其中,该方法包括以下步骤:A.启动第一定时器;B.当以下条件之一满足时向所述第二Diameter节点发送断连请求消息,其中包含了所述待关闭的至少一个Diameter连接的标识,条件一:第一定时器超时,条件二:对于每个所述待关闭的Diameter连接,与其对应的发送队列均为空;C.启动第二定时器;D.当所述第二定时器超时或接收到来自所述第二Diameter节点的断连回复消息时,所述断连回复消息包含了所述待关闭的至少一个连接的标 [0008] According to a first aspect of the present invention, there is provided a method in a first node for closing Diameter Diameter connection, via Diameter wherein at least one between said first node and a second Diameter Diameter node communication, wherein each of said memory Diameter connection has to be sent a message send queue and there has received a message receive queue corresponding thereto, the first node is ready to close Diameter wherein at least one connecting Diameter wherein the method comprises the following steps: a first timer is started; B transmitting disconnected when one of the following conditions Diameter node to the second request message, which comprises at least one of the Diameter be closed. connection identifier, a condition: a first timer expires, two conditions: for each of the Diameter connection to be closed, the transmitting queue corresponding thereto are empty; C to start a second timer; D when the first. when two off timer times out or received from the second node connected Diameter reply message, the reply message contains the disconnection of the standard to be connected to at least one closed ,关闭所述连接。 Closing the connection.

[0009] 优选地,在所述步骤B之前还包括以下步骤:对于每个所述待关闭的Diameter连接,停止向与其对应的发送队列中增加新的请求消息;如果与其对应的发送队列不为空,处理所述发送队列中的请求消息和回复消息。 [0009] Preferably, prior to said step B further comprises the steps of: for each of said connector Diameter be closed, to stop sending queue to the corresponding increase in the new request message; if the corresponding transmission queue is not empty processing the transmission request message and the reply message queue.

[0010] 优选地,在步骤B之后且在步骤D之前,所述方法还包括以下步骤:对于每个所述待关闭的Diameter连接,如果与其对应的接收队列不为空,处理所述接收队列中的请求消息和回复消息;如果与其对应的发送队列不为空,处理所述发送队列中的回复消息。 [0010] Preferably, after step B and before the procedure D, the method further comprising the steps of: for each of the connection to be closed Diameter, if the corresponding receive queue is not empty, processing the received queue the request message and the reply message; if the corresponding transmission queue is not empty, the reply message queue processing said transmission.

[0011] 优选地,在步骤A之前还包括以下步骤:向所述第二Diameter节点发送协商请求消息,其中包含其支持平滑关闭的特征信息;响应于来自所述第二Diameter节点的协商请求回复消息,判断所述第二Diameter节点是否支持平滑关闭;当判断结果为支持时,执行步骤A。 [0011] Preferably, before the step A further comprises the step of: sending a second negotiation request message to the Diameter node, wherein it comprises a support smooth off feature information; in response to a Diameter node from the second negotiation request reply message, determining whether the second support node Diameter smoothing off; when the determination result is supported, step A.

[0012] 根据本发明的第二个方面,提供了一种在第二Diameter节点中用于关闭Diameter连接的方法,其中所述第二Diameter节点与一个第一Diameter节点之间通过至少一个Diameter连接进行通信,其中,每个所述Diameter连接均有一个存有待发送消息的发送队列和一个存有已收到消息的接收队列与之对应,其中,该方法包括以下步骤:接收来自所述第一Diameter节点的断连请求消息,其中包含了待关闭的至少一个Diameter连接的标识;启动第三定时器;当以下条件之一满足时向所述第一Diameter节点发送断连回复消息,其中包含了所述待关闭的至少一个Diameter连接的标识,条件一:第三定时器超时,条件二:对于每个所述待关闭的Diameter连接,与其对应的发送队列和接收队列均为空。 [0012] According to a second aspect of the present invention, a method is provided for the second closing Diameter Diameter node connection, is connected by at least one Diameter wherein between said second node and a first Diameter Diameter node communication, wherein each of said memory Diameter connection has to be sent a message send queue and there has received a message receive queue corresponding thereto, wherein, the method comprising the steps of: receiving from the first Diameter node connected off request message, which contains an identifier of at least one closed Diameter connection; starting a third timer; and when one of the following conditions are met to send the first Diameter node disconnection reply message, which contains identifying the at least one closing Diameter be connected, a condition: a third timer expires, two conditions: for each of the Diameter connection to be closed, the corresponding transmission queues and receive queues are empty.

[0013] 优选地,所述方法在所述接收断连请求消息步骤之后且在所述发送断连回复消息步骤之前还包括:对于每个所述待关闭的Diameter连接,停止向与其对应的发送队列中增加新的请求消息;如果与其对应的发送队列不为空,处理所述发送队列中的请求消息和回复消息;如果与其对应的接收队列不为空,处理所述接收队列中的请求消息和回复消息。 Before [0013] Preferably, the method after the step of receiving a disconnect request message and sending the disconnect reply message further comprises the step of: for each of the Diameter connection to be closed, to stop transmitting the corresponding add a new queue request message; if the corresponding transmission queue is not empty, the process sends a request message and a reply message queue; if the corresponding receive queue is not empty, the process receives a request message queue and reply to messages.

[0014] 根据本发明的第三个方面,提供了一种在第一Diameter节点中用于关闭Diameter连接的装置,其中所述第一Diameter节点与一个第二Diameter节点之间通过至少一个Diameter连接进行通信,其中,每个所述Diameter连接均有一个存有待发送消息的发送队列和一个存有已收到消息的接收队列与之对应,所述第一Diameter节点准备关闭其中的至少一个Diameter连接,其中,该装置包括:第一启动装置,用于启动第一定时器;第一发送装置,用于当以下条件之一满足时向所述第二Diameter节点发送断连请求消息,其中包含了所述待关闭的至少一个Diameter连接的标识,条件一:第一定时器超时,条件二:对于每个所述待关闭的Diameter连接,与其对应的发送队列均为空;第二启动装置,用于启动第二定时器;关闭装置,用于当所述第二定时器超时或接收到来自所述第二Diameter节点的断连 [0014] According to a third aspect of the present invention, there is provided an apparatus in a first closed Diameter Diameter node for connection, via Diameter wherein at least one between said first node and a second Diameter Diameter node communication, wherein each of said memory Diameter connection has to be sent a message send queue and there has received a message receive queue corresponding thereto, the first node is ready to close Diameter wherein at least one connecting Diameter wherein, the apparatus comprising: a first starting means for starting a first timer; a first transmitting means for transmitting to said second node Diameter disconnection request message when one of the following conditions are met, which contains identifying the at least one closing Diameter be connected, a condition: a first timer expires, two conditions: for each of the Diameter connection to be closed, the transmitting queue corresponding thereto are empty; second activation means, with to start a second timer; closing means, when said second timer times out or is disconnected from the receiving node second Diameter 复消息时,所述断连回复消息包含了所述待关闭的至少一个连接的标识,关闭所述连接。 When complex message, the disconnection reply message containing identification of the at least one connection to be closed, and closing the connection.

[0015] 优选地,所述装置还包括第一处理装置,用于在所述第一发送装置发送所述断连请求消息之前对于每个所述待关闭的Diameter连接,停止向与其对应的发送队列中增加新的请求消息;如果与其对应的发送队列不为空,处理所述发送队列中的请求消息和回复消息。 [0015] Preferably, the apparatus further comprises a first processing means for, for each of the to-be closed before the connection Diameter of the first transmitting means transmits the disconnection request message, corresponding to the transmission stops add a new queue request message; if the corresponding transmission queue is not empty, the process sends a request message and a reply message queue.

[0016] 优选地,所述装置还包括第二处理装置,用于在所述第一发送装置发送所述断连请求消息之后且在所述关闭装置关闭所述连接之前,对于每个所述待关闭的Diameter连接,如果与其对应的接收队列不为空,处理所述接收队列中的请求消息和回复消息;如果与其对应的发送队列不为空,处理所述发送队列中的回复消息。 [0016] Preferably, the apparatus further comprises second processing means for, after said first transmitting means transmits the disconnection request message and prior to the closing device closes the connection, for each of the Diameter connection to be closed, if the corresponding receive queue is not empty, processing the received request message and reply message queue; if the corresponding transmission queue is not empty, the reply message queue processing said transmission.

[0017] 优选地,所述装置还包括第三处理装置,用于在所述第一启动装置启动第一定时器之前:向所述第二Diameter节点发送协商请求消息,其中包含其支持平滑关闭的特征信息;响应于来自所述第二Diameter节点的协商请求回复消息,判断所述第二Diameter节点是否支持平滑关闭;当判断结果为支持时,通知所述第一启动装置启动第一定时器。 [0017] Preferably, the apparatus further comprises a third processing means for starting said first means prior to starting a first timer: sending a request message to the second negotiation Diameter node, wherein it comprises a support smooth off It features information; in response to a Diameter node from the second negotiation request reply message, determining whether the second support node Diameter smoothing off; when the judgment result is supported, notifying the first activation means starts a first timer .

[0018] 根据本发明的第四个方面,提供了一种在第二Diameter节点中用于关闭Diameter连接的装置,其中所述第二Diameter节点与一个第一Diameter节点之间通过至少一个Diameter连接进行通信,其中,每个所述Diameter连接均有一个存有待发送消息的发送队列和一个存有已收到消息的接收队列与之对应,其中,该装置包括:接收装置,用于接收来自所述第一Diameter节点的断连请求消息,其中包含了待关闭的至少一个Diameter连接的标识;第三启动装置,用于启动第三定时器;第二发送装置,用于当以下条件之一满足时向所述第一Diameter节点发送断连回复消息,其中包含了所述待关闭的至少一个Diameter连接的标识,条件一:第三定时器超时,条件二:对于每个所述待关闭的Diameter连接,与其对应的发送队列和接收队列均为空。 [0018] According to a fourth aspect of the present invention, there is provided an apparatus for the second closing Diameter Diameter node connection, is connected by at least one Diameter wherein between said second node and a first Diameter Diameter node communication, wherein each of said memory Diameter connection has to be sent a message send queue and there has received a message receive queue corresponding thereto, wherein, the apparatus comprising: receiving means for receiving the off said first node connected Diameter request message, which contains an identifier of at least one closed Diameter connected; third starting means for starting a third timer; second sending means for when one of the following conditions transmitting the first Diameter node off to even reply message containing an identification of the at least one closing Diameter be connected, a condition: a third timer expires, two conditions: for each of the to-be closed Diameter connector, corresponding transmission queues and receive queues are empty.

[0019] 优选地,所述装置还包括第四处理装置,用于在所述接收装置接收所述断连请求消息之后且在所述第二发送装置所述发送断连回复消息之前对于每个所述待关闭的Diameter连接,停止向与其对应的发送队列中增加新的请求消息;如果与其对应的发送队列不为空,处理所述发送队列中的请求消息和回复消息;如果与其对应的接收队列不为空,处理所述接收队列中的请求消息和回复消息。 [0019] Preferably, the apparatus further comprises a fourth processing means for, for each of said receiving means prior to after receiving the disconnect request message and sending the reply message in the disconnected second transmitting means Diameter of the connection to be closed, to stop sending queue to the corresponding add new request message; if the corresponding transmission queue is not empty, the process sends a request message and a reply message queue; if its corresponding received queue is not empty, processing the received request message and the reply message queue.

[0020] 与现有的关闭Diameter连接的技术相比,本发明提出了一种新的平滑关闭Diameter连接的技术,可以明显减少失败消息的数量,在定时器设置合理的情况下,可以达到无消息失败的理想效果,从而提高系统的QoS和稳定性。 [0020] Compared with the prior art Diameter close connection, the present invention proposes a new technique Diameter smooth closing connections, can significantly reduce the number of failed messages, the timer provided in reasonable cases, can be achieved without failure message desired effect, thereby improving the stability of the system and QoS. 它可以满足很多客户特别是电信运营商在发展到4GLTE业务后,在对使用Diameter协议进行交互的核心网网元进行维护或发生故障时,受到最小的系统影响,同时使得终端用户受到最小的业务影响。 It can meet many customers especially in the development of telecom operators to 4GLTE business, when using Diameter protocol core network elements interact maintenance or failure, by the minimal system impact, while allowing end users are the smallest business influences.

附图说明 BRIEF DESCRIPTION

[0021] 通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显: [0021] By reading the following detailed description of the accompanying drawings of non-limiting embodiments, and other features, objects and advantages of the invention will become more apparent:

[0022] 图1示出现有技术中关闭Diameter连接的过程示意图; [0022] FIG 1 illustrates a prior art schematic connection Diameter closing process;

[0023] 图2示出根据本发明一个实施例的应用场景图; [0023] FIG. 2 shows one embodiment of the application scenario of FIG embodiment of the present invention;

[0024] 图3示出根据本发明一个实施例的用于关闭Diameter连接的过程示意图; [0024] Figure 3 shows a schematic diagram of a process for closing a connection Diameter of the embodiment of the present invention;

[0025] 图4示出根据本发明一个实施例的用于关闭Diameter连接的装置示意图; [0025] FIG. 4 shows a schematic of an apparatus for closing Diameter connection according to one embodiment of the present invention;

[0026] 图5示出根据本发明又一个实施例的用于关闭Diameter连接的装置示意图。 [0026] FIG. 5 shows a schematic embodiment of the apparatus for closing Diameter connection according to yet another embodiment of the present invention.

[0027] 附图中相同或相似的附图标记代表相同或相似的部件。 [0027] In the drawings the same or similar to the same or like reference numerals refer to the components.

具体实施方式 Detailed ways

[0028] 首先解释两个名词: [0028] First, explain two terms:

[0029] 请求消息(Request):指的是互相通信的两个Diameter节点中的一方主动发起的消息,通常是一个新的事务的开始,用于请求另一方完成某些处理动作。 [0029] Request message (Request): refers to one of the two nodes communicate with each other Diameter of initiate message, usually beginning a new transaction, a request for some other processing operation is completed.

[0030] 回复消息(Answer):指的是互相通信的两个Diameter节点中的一方在收到另一方发送的请求消息后,采取了某些处理动作,然后向发起请求消息的另一方回复的消息,通常是一个事务的结束。 [0030] reply message (Answer): refers to one of two Diameter nodes communicate with each other after receiving the request message sent by the other, taken certain processing operation, then the request message to the originating party replies news, usually the end of a transaction.

[0031] 本发明引入了一种新的平滑关闭Diameter连接的机制。 [0031] The present invention introduces a new Diameter smooth closing mechanism connected.

[0032] 下面结合附图对本发明作进一步详细描述。 [0032] The following figures of the present invention will be further described in detail with.

[0033] 图2示出了根据本发明一个实施例的应用场景图。 [0033] FIG 2 shows an application scenario of the embodiment of FIG embodiment of the present invention. 其中,节点201和节点202均为支持Diameter协议的Diameter节点。 Wherein, node 201 and node 202 are node supports Diameter Diameter protocol. 这里所述的节点可以是任何网络设备,比如客户机、服务器等。 Herein may be any network node device, such as a client, server or the like. 节点201和节点202通过至少一个Diameter连接进行通信,图中仅示例性示出了两个Diameter连接:连接2a和连接2b。 Node 201 and node 202 is connected via at least one communication Diameter, FIG exemplary only shows two connecting Diameter: connection connector 2a and 2b. 优选地,所述Diameter连接还可以进一步地包括多个子连接(图中未示出)。 Preferably, the Diameter connector may further comprise a plurality of sub-connection (not shown).

[0034] 在节点201和节点202上,每个Diameter连接均有一个发送队列和一个接收队列与之对应。 [0034] on node 201 and node 202, each connector has a Diameter send queue and a receive queue corresponding thereto. 如图所示,对于在节点201上的Diameter连接2a,发送队列2all和接收队列2al2与之对应;对于在节点201上的Diameter连接2b,发送队列2bll和接收队列2bl2与之对应;对于在节点202上的Diameter连接2a,发送队列2a21和接收队列2a22与之对应;对于在节点202上的Diameter连接2b,发送队列2b21和接收队列2b22与之对应。 , For the node 201 on a Diameter connection 2a, the send queue and receive queue 2al2 2all corresponding thereto; Diameter on node 201 for connecting 2B, 2bll send queue and receive queue corresponding 2bl2; for node Diameter 202 on connector 2a, send queue and receive queue 2a22 2a21 corresponding thereto; Diameter on node 202 for connection 2b, 2b21 send queue and receive queue corresponding 2b22. 其中,发送队列用于存储该节点上准备经由该连接发送出去的消息,接收队列用于存储该节点上经由该连接已接收到但还未处理的消息。 Wherein, the transmission queue for storing the node ready message sent via the connection, the receiving node has received the message via the connection to the queue but not yet processed for storage.

[0035] 下面举例说明发送队列和接收队列的工作过程。 [0035] The following example illustrates the process of working send queue and receive queue.

[0036] 如果节点201试图向节点202发送请求消息R1,会先选择一个可用的Diameter连接比如连接2a,然后,将该请求消息Rl添加到发送队列2all中。 [0036] If the node 201 to the node 202 attempts to send a request message R1, will first select an available connection such as connection Diameter 2a, then Rl is added to the request message in the transmission queue 2all. 请求消息Rl被保存在发送队列2all中,直到该队列中在请求消息Rl之前的消息均被处理完毕,然后,请求消息Rl会被发送给节点202。 Rl request message is stored in the transmission queue 2all in queue until the previous request message Rl message are processed, then Rl request message is sent to the node 202. 节点202经由接收队列2a22接收该请求消息Rl。 2a22 node 202 receives the queue request message received via the Rl. 请求消息Rl被保存在接收队列2a22中,直到该队列中在请求消息Rl之前的消息均被处理完毕,节点202才会处理该请求消息Rl。 Rl request message is stored in the reception queue 2a22, until the queue request message before the message are processed Rl, node 202 does not process the request message Rl. 节点202处理完该请求消息Rl,通常会产生一个回复消息Al发送给节点201。 End node 202 processes the request message Rl, usually produces a reply message is sent to node 201 Al. 和上述过程类似地,节点202会先选择一个可用的Diameter连接比如连接2a,然后,将该回复消息Al添加到发送队列2a21中。 And similarly to the above process, node 202 will first choose an available connection such as connection Diameter 2a, and then, Al was added to the reply message in the transmission queue 2a21. 该回复消息Al被保存在发送队列2a21中,直到该队列中在该回复消息Al之前的消息均被处理完毕,然后,该回复消息Al会被发送给节点201。 Al the reply message is stored in the transmission queue 2a21 in the queue until the message before the reply message Al are processed, then the reply message is sent to the Al node 201. 节点201经由接收队列2al2接收该回复消息Al。 Node 201 receives the reply message via the receive queue Al 2al2. 回复消息Al被保存在接收队列2al2中,直到该队列中在回复消息Al之前的消息均被处理完毕,节点201才会处理该回复消息Al。 Al reply message is stored in the reception queue 2al2, the queue until the message before the reply message of Al are processed, the processing node 201 before the reply message Al.

[0037] 图3示出了根据本发明一个实施例的用于关闭Diameter连接的过程示意图。 [0037] FIG. 3 shows a schematic diagram of a process for closing Diameter connection according to one embodiment of the present invention. 其中,节点201准备关闭其与节点202之间的Diameter连接2a。 Wherein, node 201 ready to close 2a which is connected to the node 202 between the Diameter. 该过程始于步骤S311。 The process begins at step S311.

[0038] 在步骤S311中,节点201启动第一定时器。 [0038] In step S311, the node 201 starts a first timer.

[0039] 在步骤S312中,当第一定时器超时或者发送队列2all为空时,向节点202发送断连请求消息,比如图中所示的DPR消息,其中包含了待关闭的Diameter连接的标识,即Diameter连接2a的标识。 [0039] In step S312, when the first timer expires or 2all send queue is empty, the node 202 sends a disconnection request message, such as shown in FIG DPR message, containing identification of the connection to be closed Diameter , i.e., connection identifier Diameter 2a. 本领域技术人员应能理解,可以采用多种方式来标识Diameter连接,比如通过节点201的地址+端口号。 Those skilled in the art should appreciate that a variety of ways can be used to identify the Diameter connected, such as by node address + port number 201. 在一个实施例中,在上述断连请求消息中可以包含多个待关闭的Diameter连接的标识,甚至可以包含节点201与节点202之间的所有Diameter连接的标识。 In one embodiment, in the above-described disconnection request message may include identification Diameter be connected to a plurality of closed, even contain all identified Diameter connection between the node 201 and the node 202. 在又一个实施例中,一个断连请求消息仅包含一个待关闭的Diameter连接的标识,如果节点201准备关闭多个Diameter连接,则对于每个待关闭的Diameter连接,节点201均向节点202发送一条断连请求消息。 In yet another embodiment, a disconnection request message contains only a Diameter identifies a connection to be closed, if the node 201 ready to close more Diameter connected, each to be closed for a Diameter connection node 201 to the node 202 are transmitted a disconnection request message.

[0040] 在一个实施例中,节点201在步骤S312之前还执行以下步骤:对于每个待关闭的Diameter 连接, [0040] In one embodiment, node 201 in step S312 prior to further perform the following steps: for each of a Diameter connection to be closed,

[0041]-停止向与其对应的发送队列即发送队列2all增加新的请求消息。 [0041] - stops the transmission queue corresponding transmission queue 2all i.e. add new request message. 因为此时节点201已决定关闭Diameter连接2a,那么节点201将不会再经由该连接向外发送新的请求消息。 At this time, since the node 201 has decided to close the connection Diameter 2a, then node 201 will not send a new request message via the connector outwardly. 如果节点201上的某些应用程序试图经由该连接发送新的请求消息,节点201会拒绝向发送队列2all增加该新的请求消息,并向应用程序返回失败的提示信息或者选择其他可用的Diameter连接来发送该新的请求消息。 If some applications on the node 201 attempts to send a new request message via the connection node 201 will refuse to add a new request message to the transmission queue 2all, and returns a failure message or select another application connector available Diameter the request to send a new message.

[0042]-如果与其对应的发送队列即发送队列2all不为空,处理其中的请求消息和回复消息。 [0042] - If the corresponding transmission queue 2all i.e. sending a request message queue is not empty, the process and wherein the reply message. 虽然节点201不会再经由连接2a向外发送新的请求消息,但是对于已经存在发送队列2all中的请求消息还是会继续处理并向外发送。 Although the connector 2a node 201 sends out a new request message sent out, but a request message queue 2all already exists or will continue and will not be processed via. 对于发送队列2all中已经存在的和后续新增加的回复消息,节点201会继续处理。 For the transmission queue 2all already present and subsequent new increase reply message, node 201 continues processing.

[0043] 需要指出的是,第一定时器的时间间隔可以设定为一个合适的值,以尽可能在该时间间隔内发送队列2all中的消息能够被处理完毕。 [0043] It should be noted that the first timer interval may be set to an appropriate value to the message queue as 2all sent within the time interval to be processed.

[0044] 下面将分别描述在节点201向节点202发送断连请求消息之后,在节点202 —侧的处理过程和在节点201 —侧的处理过程。 [0044] The following will be described in the following node 201 to node 202 sends disconnection request message, the node 202 - a processing procedure in the node 201 and the side - a processing procedure side.

[0045] 在节点201向节点202发送断连请求消息之后,在节点202 —侧: [0045] After the node 201 transmits the disconnection request message to the node 202, the node 202 - Side:

[0046] 在步骤S321中,节点202收到来自节点201的断连请求消息后,会启动第三定时器,所述断连请求消息包含了待关闭的至少一个Diameter连接的标识,即Diameter连接2a的标识。 [0046] In step S321, the node 202 from node 201 receives off even request message, starts a third timer, the disconnect request message includes an identifier of at least one closed Diameter connection, i.e., connection Diameter logo 2a.

[0047] 在步骤S322中,当以下条件之一满足时向节点201发送断连回复消息,比如图中所示的DPA消息,其中包含了所述待关闭的至少一个Diameter连接的标识,即Diameter连接2a的标识, [0047] In step S322, when one of the following conditions is connected to node 201 sends off a reply message, such as the message shown in FIG DPA, which includes identifying at least one of the Diameter connection to be closed, i.e. Diameter 2a to connection ID,

[0048] 条件一:第三定时器超时, [0048] Condition a: a third timer expires,

[0049] 条件二:对于每个所述待关闭的Diameter连接,与其对应的发送队列和接收队列均为空,即与Diameter连接2a对应的发送队列2a21和接收队列2a22均为空。 [0049] The second condition: for each of the connection to be closed Diameter, corresponding send queue and receive queue are both empty, i.e., connected to the corresponding transmission queue. 2A Diameter 2a21 2a22 and receive queues are empty.

[0050] 本领域技术人员应能理解,上述断连回复消息是与上述断连请求消息一一对应的。 [0050] Those skilled in the art should appreciate that the above-described disconnection reply message is a disconnect request message with the above-described one to one. .

[0051] 在一个实施例中,在节点202接收到所述断连请求消息之后且在发送所述断连回复消息之前,节点202还会执行以下步骤:对于每个待关闭的Diameter连接, [0051] In one embodiment, the node 202 receives the disconnect request message and before sending the disconnection reply message, node 202 will perform the following steps: For each connection to be closed a Diameter,

[0052]-停止向与其对应的发送队列即发送队列2a21增加新的请求消息。 [0052] - stops the transmission queue corresponding transmission queue 2a21 i.e. add new request message. 因为此时节点202已得知Diameter连接2a即将被关闭,那么节点202将不会再经由该连接向外发送新的请求消息。 Because the node 202 is connected Diameter 2a that is about to be closed, then the node 202 will not send a new request message via the connector outwardly. 如果节点202上的某些应用程序试图经由该连接发送新的请求消息,节点202会拒绝向发送队列2a21增加该新的请求消息,并向应用程序返回失败的提示信息或者选择其他可用的Diameter连接来发送该新的请求消息。 If some applications on the node 202 attempts to send a new request message via the connection node 202 will refuse to send the new queue 2a21 increase request message, and returns a failure message or select another application connector available Diameter the request to send a new message.

[0053]-如果与其对应的发送队列即发送队列2a21不为空,处理其中的请求消息和回复消息。 [0053] - If the corresponding transmission queue 2a21 i.e. sending a request message queue is not empty, the process and wherein the reply message. 虽然节点202不会再经由连接2a向外发送新的请求消息,但是对于已经存在发送队列2a21中的请求消息还是会继续处理并向外发送。 Although the connector 2a node 202 will not send a new request message out, but for 2a21 queue request message already exists and will continue to be sent out via the handle. 对于发送队列2a21中已经存在的和后续新增加的回复消息,节点202会继续处理。 For 2a21 transmission queue already present and subsequent new increase reply message, node 202 continues processing.

[0054]-如果与其对应的接收队列即接收队列2a22不为空,处理其中的请求消息和回复消息。 [0054] - If the corresponding receive queue receives a request message queue that is not empty 2a22, wherein the processing and reply message. 对于接收队列2a22中已经存在的和后续新增加的请求消息和回复消息,节点202会继续处理。 2a22 for the receive queue already existing and newly added subsequent request message and the reply message, node 202 continues processing.

[0055] 需要指出的是,第三定时器的时间间隔可以设定为一个合适的值,以尽可能在该时间间隔内发送队列2a21和接收队列2a22中的消息能够被处理完毕。 [0055] It should be noted that the third timer interval may be set to an appropriate value, as far as possible to send queue and receive queue 2a21 2a22 message can be processed within this time interval.

[0056] 在节点201向节点202发送断连请求消息之后,在节点201 —侧: [0056] After the node 201 transmits the disconnection request message to the node 202, the node 201 - Side:

[0057] 在步骤S313中,节点201启动第二定时器。 [0057] In step S313, the node 201 starts the second timer.

[0058] 在步骤S314中,当所述第二定时器超时或者节点201接收到来自节点202发送的断连回复消息时,比如图中所示的DPA消息,所述断连回复消息包含了所述待关闭的至少一个Diameter连接的标识,即Diameter连接2a的标识,关闭所述连接。 [0058] In step S314, when the second timer expires or the receiving node 201 from the node 202 to the break even reply message transmitted, such as shown in FIG. DPA message, the reply message contains the disconnection of the Diameter of identifying at least one of said connection to be closed, i.e., Diameter of connection identification 2a, closing the connection. 至此,节点201和节点202之间的Diameter连接2a被平滑关闭。 At this point, Diameter between node 201 and node 202 is connected 2a is smoothed off.

[0059] 在一个实施例中,在节点201发送断连请求消息之后且在节点201关闭所述Diameter连接之前,节点201还会执行以下步骤:对于每个待关闭的Diameter连接, [0059] In one embodiment, node 201 transmits the disconnection request message after and before closing the Diameter connection node 201, node 201 will perform the following steps: for each of a Diameter connection to be closed,

[0060]-如果与所述待关闭的Diameter连接对应的接收队列即接收队列2alI不为空,处理其中的请求消息和回复消息。 [0060] - If the connection corresponding to the receive queue to be closed Diameter i.e., the receive queue is not empty 2alI, wherein the request message and handling the reply message. 对于接收队列2all中已经存在的和后续新增加的请求消息和回复消息,节点201会继续处理。 For 2all receive queue already present and subsequent new increase request message and reply message, node 201 continues processing.

[0061]-如果与所述待关闭的Diameter连接对应的发送队列即发送队列2al2不为空,处理其中的回复消息。 [0061] - if a send queue corresponding to said connection to be closed 2al2 Diameter i.e. transmission queue is not empty, the process in which the reply message. 对于接收队列2al2中已经存在的和后续新增加的回复消息,节点201会继续处理。 For reception 2al2 already present and subsequent new increase reply message queue, node 201 continues processing.

[0062] 需要指出的是,第二定时器的时间间隔可以设定为一个合适的值,以尽可能在该时间间隔内节点202 —侧的发送队列2a21和接收队列2a22中的消息能够被处理完毕。 [0062] It should be noted that the second timer interval may be set to an appropriate value to the extent possible within the time interval node 202-- send queue and receive queue side 2a21 2a22 messages can be processed completed.

[0063] 可以看出,采用本发明的方法,在节点201关闭Diameter连接2a时,节点201 —侧的发送队列2all和接收队列2al2以及节点201 —侧的发送队列2a21和接收队列2a22中的剩余消息极少或者理想状态下为空。 [0063] As can be seen, the method according to the present invention, when the node 201 close Diameter 2a is connected, the nodes 201 - Send queues and receive queues 2all side 2al2 node 201 and the - side of the send queue and receive queue 2a21 2a22 remaining under little or empty message over state. 由于节点201和节点202相互协作,双方均参与控制,使得失败的消息数量明显减少,基本可以实现平滑关闭Diameter连接的目的。 Since node 201 and node 202 cooperate with each other, both sides are involved in the control, so that the number of failed messages significantly reduced, which can realize smooth close Diameter connection object.

[0064] 由于该方法需要双方的支持,如果一方无法支持该机制,则另一方也无法单独完成该过程。 [0064] Since the method needs the support of both parties, if the party can not support this mechanism, the other party can not do it alone this process.

[0065] 在又一个实施例中,在步骤S311之前,节点201和节点202还会执行以下步骤: [0065] In yet another embodiment, before step S311, node 201 and node 202 will perform the following steps:

[0066]-节点201向节点202发送协商请求消息,其中包含了其支持平滑关闭的特征信息; [0066] - negotiation request message to node 201 to node 202, which contains characteristic information of supporting smooth closed;

[0067]-节点202收到该协商请求消息后,会向节点201发送协商请求回复消息,其中包含了其是否支持平滑关闭的特征信息; [0067] - The node 202 receives negotiation request message, sends a negotiation request reply message to node 201, which includes the characteristic information whether it supports smooth closed;

[0068]-节点201根据接收到的协商请求回复消息判断节点202是否支持平滑关闭; [0068] - The node 201 receives negotiation request reply message determines whether the node 202 to support smooth closed;

[0069]-如果上述判断结果为支持,节点201会执行步骤S311。 [0069] - If the result of the determination to support node 201 performs step S311.

[0070] 通过上述协商机制,可以使节点201获悉节点202是否支持平滑关闭。 [0070] By the above-described negotiation mechanisms, can make informed node 201 node 202 supports closed smoothly. 如果节点202不支持平滑关闭,则采用现有技术中的方法来关闭连接;如果节点202支持平滑关闭,则采用本发明的方法。 If node 202 does not support the smooth closed, the prior art method is used to close the connection; if the node 202 to support smooth closed, the method of the present invention is used.

[0071] 图4示出了根据本发明一个实施例的在Diameter节点201中用于关闭Diameter连接的装置示意图。 [0071] FIG. 4 shows a schematic view of means for closing the connection Diameter Diameter node 201 in accordance with one embodiment of the present invention. 该装置400包括:第一启动装置401、第一发送装置402、第二启动装置403和关闭装置404。 The apparatus 400 comprises: a first activation device 401, a first transmitting means 402, the second actuating means 403 and closing device 404.

[0072] 下面结合图2和图3详细描述该装置的工作过程。 [0072] below with reference to FIGS. 2 and 3 during operation of the apparatus described in detail. 节点201准备关闭其与节点202之间的Diameter连接2a。 Preparation closes its connection node 201 and node 202 2a Diameter.

[0073] 首先,第一启动装置401启动第一定时器。 [0073] First, a first start means 401 starts the first timer.

[0074] 然后,当第一定时器超时或者发送队列2all为空时,第一发送装置402向节点202发送断连请求消息,比如图中所示的DPR消息,其中包含了待关闭的Diameter连接的标识,即Diameter连接2a的标识。 [0074] Then, when the first timer expires or 2all send queue is empty, a first transmission means 202 to the node 402 sends disconnection request message, such as shown in FIG DPR message, which contains the connection to be closed Diameter identification, i.e., connection identifier Diameter 2a. 本领域技术人员应能理解,可以采用多种方式来标识Diameter连接,比如通过节点201的地址+端口号。 Those skilled in the art should appreciate that a variety of ways can be used to identify the Diameter connected, such as by node address + port number 201. 在一个实施例中,在上述断连请求消息中可以包含多个待关闭的Diameter连接的标识,甚至可以包含节点201与节点202之间的所有Diameter连接的标识。 In one embodiment, in the above-described disconnection request message may include identification Diameter be connected to a plurality of closed, even contain all identified Diameter connection between the node 201 and the node 202. 在又一个实施例中,一个断连请求消息仅包含一个待关闭的Diameter连接的标识,如果节点201准备关闭多个Diameter连接,则对于每个待关闭的Diameter连接,节点201均向节点202发送一条断连请求消息。 In yet another embodiment, a disconnection request message contains only a Diameter identifies a connection to be closed, if the node 201 ready to close more Diameter connected, each to be closed for a Diameter connection node 201 to the node 202 are transmitted a disconnection request message.

[0075] 在一个实施例中,装置400还包含第一处理装置(图中未示出)。 [0075] In one embodiment, the apparatus 400 further comprises a first processing device (not shown). 该第一处理装置用于在第一发送装置402发送断连请求消息之前执行以下步骤:对于每个待关闭的Diameter 连接, First means for processing the first sending means before sending the disconnection request message 402 performs the steps of: for each of a Diameter connection to be closed,

[0076]-停止向与其对应的发送队列即发送队列2all增加新的请求消息。 [0076] - stops the transmission queue corresponding transmission queue 2all i.e. add new request message. 因为此时节点201已决定关闭Diameter连接2a,那么节点201将不会再经由该连接向外发送新的请求消息。 At this time, since the node 201 has decided to close the connection Diameter 2a, then node 201 will not send a new request message via the connector outwardly. 如果节点201上的某些应用程序试图经由该连接发送新的请求消息,第一处理装置会拒绝向发送队列2all增加该新的请求消息,并向应用程序返回失败的提示信息或者选择其他可用的Diameter连接来发送该新的请求消息。 If the node 201 Some applications attempt to send a new request message via the connection, the first processing device may refuse to add the new message to request transmission queue 2all, and returns a failure message or select another application available Diameter of the connection to send a new request message.

[0077]-如果与其对应的发送队列即发送队列2all不为空,处理其中的请求消息和回复消息。 [0077] - If the corresponding transmission queue 2all i.e. sending a request message queue is not empty, the process and wherein the reply message. 虽然节点201不会再经由连接2a向外发送新的请求消息,但是对于已经存在发送队列2all中的请求消息第一处理装置还是会继续处理并向外发送。 Although the connector 2a node 201 sends out a new request message sent out, but a request message queue 2all first processing means will continue to exist and no longer via the process. 对于发送队列2all中已经存在的和后续新增加的回复消息,第一处理装置会继续处理。 For the transmission queue 2all already present and subsequent new increase reply message, the first processing means to continue processing.

[0078] 需要指出的是,第一定时器的时间间隔可以设定为一个合适的值,以尽可能在该时间间隔内发送队列2all中的消息能够被处理完毕。 [0078] It should be noted that the first timer interval may be set to an appropriate value to the message queue as 2all sent within the time interval to be processed.

[0079] 在第一发送装置402向节点202发送断连请求消息之后,第二启动装置403启动第二定时器。 [0079] After the first sending means 402 sends disconnection request message to the node 202, the second start means 403 starts the second timer.

[0080] 然后,当所述第二定时器超时或者接收到来自节点202发送的断连回复消息时,比如图中所示的DPA消息,所述断连回复消息包含了所述待关闭的至少一个Diameter连接的标识,即Diameter连接2a的标识,关闭装置404关闭所述连接。 [0080] Then, when the second timer expires or the receiving node 202 from the transmitter off even when the reply message, such as shown in FIG DPA message, the reply message comprising a disconnect said to be closed at least Diameter identifies a connection, i.e., connection identifier Diameter 2a, the closing device 404 to close the connection. 至此,节点201和节点202之间的Diameter连接2a被平滑关闭。 At this point, Diameter between node 201 and node 202 is connected 2a is smoothed off.

[0081] 在一个实施例中,装置400还包含第二处理装置(图中未示出)。 [0081] In one embodiment, the apparatus 400 further includes a second processing means (not shown). 在第一发送装置402发送断连请求消息之后且在关闭装置404关闭所述Diameter连接之前,第二处理装置还会执行以下步骤:对于每个待关闭的Diameter连接, After the first transmitting means transmits the disconnection request message 402 and, in the closing device 404 to close before the Diameter connection, also the second processing means performs the steps of: for each of a Diameter connection to be closed,

[0082]-如果与所述待关闭的Diameter连接对应的接收队列即接收队列2alI不为空,处理其中的请求消息和回复消息。 [0082] - If the connection corresponding to the receive queue to be closed Diameter i.e., the receive queue is not empty 2alI, wherein the request message and handling the reply message. 对于接收队列2all中已经存在的和后续新增加的请求消息和回复消息,第二处理装置会继续处理。 Request message and the reply message, a second processing means for processing the receive queue continues 2all already present and subsequent newly added.

[0083]-如果与所述待关闭的Diameter连接对应的发送队列即发送队列2al2不为空,处理其中的回复消息。 [0083] - if a send queue corresponding to said connection to be closed 2al2 Diameter i.e. transmission queue is not empty, the process in which the reply message. 对于接收队列2al2中已经存在的和后续新增加的回复消息,第二处理装置会继续处理。 For reception 2al2 already present and subsequent new increase reply message queue, the second processing means will continue to process.

[0084] 需要指出的是,第二定时器的时间间隔可以设定为一个合适的值,以尽可能在该时间间隔内节点202 —侧的发送队列2a21和接收队列2a22中的消息能够被处理完毕。 [0084] It should be noted that the second timer interval may be set to an appropriate value to the extent possible within the time interval node 202-- send queue and receive queue side 2a21 2a22 messages can be processed completed.

[0085] 在又一个实施例中,装置400还包含第三处理装置(图中未示出)。 [0085] In yet another embodiment, the apparatus 400 further comprises a third processing means (not shown). 在第一启动装置401启动第一定时器之前,第三处理装置还会执行以下步骤: Before starting the first timer means 401 starts first, third processing means will perform the following steps:

[0086]-向节点202发送协商请求消息,其中包含了其支持平滑关闭的特征信息; [0086] - negotiation request message to the node 202, which contains characteristic information of supporting smooth closed;

[0087]-根据接收到来自节点202的协商请求回复消息判断节点202是否支持平滑关闭; [0087] - The node receives from the negotiation 202 request reply message determines whether the node 202 to support smooth closed;

[0088] _如果上述判断结果为支持,通知弟一启动装直401启动弟一定时器。 [0088] If the determination result is _ support, a start notification means straight brother 401 starts a timer brother.

[0089] 图5示出了根据本发明一个实施例的在Diameter节点202中用于关闭Diameter连接的装置示意图。 [0089] FIG. 5 shows a schematic view of one embodiment of the present invention in the Diameter Diameter node 202 for closing the connection means. 该装置500包括:接收装置501、第三启动装置502和第二发送装置503。 The apparatus 500 comprises: receiving means 501, third 502 and the second actuating means transmitting apparatus 503.

[0090] 下面结合图2和图3详细描述该装置的工作过程。 [0090] below with reference to FIGS. 2 and 3 during operation of the apparatus described in detail.

[0091] 首先,接收装置501收到来自节点201的断连请求消息,所述断连请求消息包含了待关闭的至少一个Diameter连接的标识,即Diameter连接2a的标识。 [0091] First, the receiving means 501 receives from node 201 connected off request message, the disconnect request message includes at least one identified Diameter connection to be closed, i.e., connection identifier Diameter 2a.

[0092] 接着,第三启动装置502会启动第三定时器。 [0092] Next, the third actuating means 502 starts a third timer.

[0093] 然后,当以下条件之一满足时第二发送装置503向节点201发送断连回复消息,比如图中所示的DPA消息,其中包含了所述待关闭的至少一个Diameter连接的标识,SPDiameter连接2a的标识, [0093] Then, one of the following conditions are met when the second transmission means 503 to the node 201 sends disconnection reply message, such as shown in FIG DPA message, containing identification of the at least one closing Diameter be connected, 2a SPDiameter connection identifier, and

[0094] 条件一:第三定时器超时, [0094] Condition a: a third timer expires,

[0095] 条件二:对于每个所述待关闭的Diameter连接,与其对应的发送队列和接收队列均为空,即与Diameter连接2a对应的发送队列2a21和接收队列2a22均为空。 [0095] The second condition: for each of the connection to be closed Diameter, corresponding send queue and receive queue are both empty, i.e., connected to the corresponding transmission queue. 2A Diameter 2a21 2a22 and receive queues are empty.

[0096] 本领域技术人员应能理解,上述断连回复消息是与上述断连请求消息一一对应的。 [0096] Those skilled in the art should appreciate that the above-described disconnection reply message is a disconnect request message with the above-described one to one. .

[0097] 在一个实施例中,装置500还包含第四处理装置(图中未示出)。 [0097] In one embodiment, the apparatus 500 further comprises a fourth processing means (not shown). 在接收装置501接收到所述断连请求消息之后且在第二发送装置503发送所述断连回复消息之前,第四处理装置还会执行以下步骤:对于每个待关闭的Diameter连接, After the receiving apparatus 501 before receiving the disconnection request message and transmits the disconnect reply message sending means 503 in the second, the fourth processing unit will execute the steps of: for each of a Diameter connection to be closed,

[0098]-停止向与其对应的发送队列即发送队列2a21增加新的请求消息。 [0098] - stops the transmission queue corresponding transmission queue 2a21 i.e. add new request message. 因为此时节点202已得知Diameter连接2a即将被关闭,那么节点202将不会再经由该连接向外发送新的请求消息。 Because the node 202 is connected Diameter 2a that is about to be closed, then the node 202 will not send a new request message via the connector outwardly. 如果节点202上的某些应用程序试图经由该连接发送新的请求消息,第四处理装置会拒绝向发送队列2a21增加该新的请求消息,并向应用程序返回失败的提示信息或者选择其他可用的Diameter连接来发送该新的请求消息。 If the node 202 Some applications attempt to send a new request message via the connection, the fourth processing unit may refuse to add the new message to a send queue 2a21 request, and returns a failure message or select another application available Diameter of the connection to send a new request message.

[0099]-如果与其对应的发送队列即发送队列2a21不为空,处理其中的请求消息和回复消息。 [0099] - If the corresponding transmission queue 2a21 i.e. sending a request message queue is not empty, the process and wherein the reply message. 虽然节点202不会再经由连接2a向外发送新的请求消息,但是对于已经存在发送队列2a21中的请求消息第四处理装置还是会继续处理并向外发送。 Although the connector 2a node 202 will not send a new request message out, but a request message queue 2a21 in the fourth processing unit already exists or will continue to process and send out via. 对于发送队列2a21中已经存在的和后续新增加的回复消息,第四处理装置会继续处理。 For 2a21 transmission queue already present and subsequent new increase reply message, the fourth processing unit continues processing.

[0100]-如果与其对应的接收队列即接收队列2a22不为空,处理其中的请求消息和回复消息。 [0100] - If the corresponding receive queue receives a request message queue that is not empty 2a22, wherein the processing and reply message. 对于接收队列2a22中已经存在的和后续新增加的请求消息和回复消息,第四处理装置会继续处理。 For the queue to receive 2a22 already present and subsequent new increase request message and reply message, the fourth processing unit continues processing.

[0101] 需要指出的是,第三定时器的时间间隔可以设定为一个合适的值,以尽可能在该时间间隔内发送队列2a21和接收队列2a22中的消息能够被处理完毕。 [0101] It should be noted that the third timer interval may be set to an appropriate value, as far as possible to send queue and receive queue 2a21 2a22 message can be processed within this time interval.

[0102] 需要注意的是,本发明可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他类似硬件设备来实现。 [0102] It should be noted that the present invention may be implemented in a combination of software and / or software and hardware, for example, may be employed ASIC (ASIC), a general purpose computer or any other similar hardware implemented. 在一个实施例中,本发明的软件程序可以通过处理器执行以实现上文所述步骤或功能。 In one embodiment, the software program of the present invention may be implemented by a processor to perform the steps or functions described above. 同样地,本发明的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。 Similarly, the software program of the present invention (including associated data structures) may be stored in a computer-readable recording medium, eg, RAM memory, magnetic or optical drive or a floppy disk and the like. 另外,本发明的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。 Further, some steps or functions of the present invention may be implemented in hardware, e.g., as a complex with the processor to perform the respective steps or functions of the circuit.

[0103]另外,本发明的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本发明的方法和/或技术方案。 [0103] Further, part of the present invention may be applied as a computer program product, such as computer program instructions which, when executed by a computer, by operating the computer may be invoked or provided and / or the technical solution according to the method of the present invention. 而调用本发明的方法的程序指令,可能被存储在固定的或可移动的记录介质中,和/或通过广播或其他信号承载媒体中的数据流而被传输,和/或被存储在根据所述程序指令运行的计算机设备的工作存储器中。 Invoking the inventive methods and program instructions, may be stored in fixed or removable recording medium, and / or be transmitted by a data broadcast or other signal bearing medium stream and / or stored in accordance with the the working memory of a computer device running said program instructions. 在此,根据本发明的一个实施例包括一个装置,该装置包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该装置运行基于前述根据本发明的多个实施例的方法和/或技术方案。 Here, according to one embodiment of the present invention comprises an apparatus embodiment, the apparatus comprises a memory for storing computer program instructions and a processor for executing program instructions, wherein, when the computer program instructions are executed by the processor, a trigger the operation means and / or method aspect of the preceding embodiment according to various embodiments of the present invention is based.

[0104] 对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。 In the case [0104] to those skilled in the art, that the invention is not limited to the details of the above-described exemplary embodiment, but without departing from the spirit or essential characteristics of the present invention, the present invention can be realized in other specific forms. 因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。 Therefore, no matter from what point of view, the embodiments should be considered exemplary, and not limiting, the scope of the invention being indicated by the appended claims rather than by the foregoing description, the appended claims are therefore intended to All changes which come within the meaning and range of equivalents thereof should be covered within the present invention. 不应将权利要求中的任何附图标记视为限制所涉及的权利要求。 In the claims should not be considered as any reference numerals as claimed in claim limitations involved. 此夕卜,显然“包括” 一词不排除其他单元或步骤,单数不排除复数。 Bu this evening, apparently "comprising" does not exclude other elements or steps, the singular does not exclude a plurality. 装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。 A plurality of units or means recited in the claims means may also be implemented by a single unit or through software or hardware. 第一,第二等词语用来表示名称,而并不表示任何特定的顺序。 The first, second, etc. are used to indicate the name, but does not indicate any particular sequence.

Claims (16)

1.一种在第一Diameter节点中用于关闭Diameter连接的方法,所述第一Diameter节点与一个第二Diameter节点之间通过至少一个Diameter连接进行通信,其中,每个所述Diameter连接均有一个存有待发送消息的发送队列和一个存有已收到消息的接收队列与之对应,所述第一Diameter节点准备关闭其中的至少一个Diameter连接,该方法包括以下步骤: A.启动第一定时器; B.当以下条件之一满足时向所述第二 Diameter节点发送断连请求消息,其中包含了所述待关闭的至少一个Diameter连接的标识, 条件一:第一定时器超时, 条件二:对于每个所述待关闭的Diameter连接,与其对应的发送队列均为空; C.启动第二定时器; D.当所述第二定时器超时或接收到来自所述第二 Diameter节点的断连回复消息时,所述断连回复消息包含了所述待关闭的至少一个连接的标识,关闭所述连接。 1. A method for closing the first Diameter Diameter connection node, is in communication between the first node and a second Diameter Diameter Diameter nodes connected by at least one, are connected to each of the Diameter a memory queue to be transmitted and a transmission message has been received there message receive queue corresponding thereto, the first node is ready to close the at least one Diameter Diameter wherein the connector, the method comprising the steps of: A. activating the first timer device; B. when one of the following conditions are met off sending node connected to the second Diameter request message which contains the identity of the Diameter to be closed at least one connection, a condition: a first timer expires, condition II : for each of the Diameter connection to be closed, the transmitting queue corresponding thereto are empty; C. start a second timer; D. Diameter node when the second from the second timer times out or received when a reply message is disconnected, the disconnection reply message containing identification of the at least one connection to be closed, and closing the connection.
2.根据权利要求1所述的方法,其中,在所述步骤B之前还包括以下步骤:对于每个所述待关闭的Diameter连接, 停止向与其对应的发送队列中增加新的请求消息; 如果与其对应的发送队列不为空,处理所述发送队列中的请求消息和回复消息。 2. The method according to claim 1, wherein prior to said step B further comprises the step of: for each of the connection to be closed Diameter stop transmitting queue corresponding to the increase in new request message; if corresponding transmission queue is not empty, the process sends a request message and a reply message queue.
3.根据权利要求1所述的方法,其中,在步骤B之后且在步骤D之前,所述方法还包括以下步骤:对于每个所述待关闭的Diameter连接, 如果与其对应的接收队列不为空,处理所述接收队列中的请求消息和回复消息; 如果与其对应的发送队列不为空,处理所述发送队列中的回复消息。 3. The method according to claim 1, wherein, after step B and before the procedure D, the method further comprising the steps of: for each of the to-be closed Diameter connection, if the corresponding receive queue is not empty, processing the received request message and reply message queue; if the corresponding transmission queue is not empty, the processing queues in the reply message transmission.
4.根据权利要求1-3中任一项所述的方法,其中,在步骤A之前还包括以下步骤: 向所述第二Diameter节点发送协商请求消息,其中包含其支持平滑关闭的特征信息; 响应于来自所述第二Diameter节点的协商请求回复消息,判断所述第二Diameter节点是否支持平滑关闭; 当判断结果为支持时,执行步骤A。 4. A method according to any one of claims 1-3, wherein prior to step A further comprises the step of: sending a second negotiation request message to the Diameter node, wherein it comprises a support smooth off characteristic information; negotiation response to a Diameter node from said second reply request message, determining whether the second support node Diameter smoothing off; when the determination result is supported, step A.
5.一种在第二Diameter节点中用于关闭Diameter连接的方法,所述第二Diameter节点与一个第一Diameter节点之间通过至少一个Diameter连接进行通信,其中,每个所述Diameter连接均有一个存有待发送消息的发送队列和一个存有已收到消息的接收队列与之对应,该方法包括以下步骤: 接收来自所述第一Diameter节点的断连请求消息,其中包含了待关闭的至少一个Diameter连接的标识; 启动第三定时器; 当以下条件之一满足时向所述第一Diameter节点发送断连回复消息,其中包含了所述待关闭的至少一个Diameter连接的标识, 条件一:第三定时器超时, 条件二:对于每个所述待关闭的Diameter连接,与其对应的发送队列和接收队列均为空。 5. A method in a second Diameter Diameter node connected off communication between said second node and a first Diameter Diameter Diameter node via at least one connector, wherein each of said connector are Diameter a memory queue to be transmitted and a transmission message has been received there message receive queue corresponding thereto, the method comprising the steps of: receiving a Diameter off from the first node connected request message to be closed at least containing Diameter identify a connection; starting a third timer; transmission off when one of the following conditions are met Diameter node connected to said first reply message containing an identification of the at least one closing Diameter be connected, a condition: the third timer expires, two conditions: for each of the Diameter connection to be closed, the corresponding transmission queues and receive queues are empty.
6.根据权利要求5所述的方法,其中,所述方法在所述接收断连请求消息步骤之后且在所述发送断连回复消息步骤之前还包括:对于每个所述待关闭的Diameter连接, 停止向与其对应的发送队列中增加新的请求消息; 如果与其对应的发送队列不为空,处理所述发送队列中的请求消息和回复消息; 如果与其对应的接收队列不为空,处理所述接收队列中的请求消息和回复消息。 6. The method according to claim 5, wherein, in the method and after said step of receiving a disconnect request message before sending the disconnection reply message further comprises the step of: for each of the connection to be closed Diameter stopping the transmitting queue corresponding increase in new request message; if the corresponding transmission queue is not empty, the process sends a request message and a reply message queue; if the corresponding receive queue is not empty, the process receiving said request message and the reply message queue.
7.一种在第一Diameter节点中用于关闭Diameter连接的装置,所述第一Diameter节点与一个第二Diameter节点之间通过至少一个Diameter连接进行通信,其中,每个所述Diameter连接均有一个存有待发送消息的发送队列和一个存有已收到消息的接收队列与之对应,所述第一Diameter节点准备关闭其中的至少一个Diameter连接,该装置包括: 第一启动装置,用于启动第一定时器; 第一发送装置,用于当以下条件之一满足时向所述第二Diameter节点发送断连请求消息,其中包含了所述待关闭的至少一个Diameter连接的标识, 条件一:第一定时器超时, 条件二:对于每个所述待关闭的Diameter连接,与其对应的发送队列均为空; 第二启动装置,用于启动第二定时器; 关闭装置,用于当所述第二定时器超时或接收到来自所述第二Diameter节点的断连回复消息时,所述断连回复消息包含了所述待关 7. A device in a first Diameter Diameter node connected closed, is in communication between the first node and a second Diameter Diameter Diameter nodes connected by at least one, are connected to each of the Diameter a memory queue to be transmitted and a transmission message has been received there message receive queue corresponding thereto, the first node is ready to close Diameter wherein at least a Diameter connection, the apparatus comprising: a first starting device, for starting a first timer; a first transmitting means for transmitting one of the following conditions are met when the second Diameter node to disconnect request message, which includes identification of the at least one closing Diameter be connected, a condition: a first timer expires, two conditions: for each of the Diameter connection to be closed, the transmitting queue corresponding thereto are empty; second starting means for starting a second timer; closing means for, when the when the second timer times out or received from the second off Diameter node connected reply message, the reply message comprising a disconnect said to be off 的至少一个连接的标识,关闭所述连接。 Identifying at least one connection, closing the connection.
8.根据权利要求7所述的装置,其中,所述装置还包括第一处理装置,用于在所述第一发送装置发送所述断连请求消息之前对于每个所述待关闭的Diameter连接, 停止向与其对应的发送队列中增加新的请求消息; 如果与其对应的发送队列不为空,处理所述发送队列中的请求消息和回复消息。 8. The apparatus according to claim 7, wherein said processing means further comprises a first means for connection for each of the Diameter be closed before said first transmitting means transmits the disconnect request message stopping the transmitting queue corresponding increase in new request message; if the corresponding transmission queue is not empty, the process sends a request message and a reply message queue.
9.根据权利要求7所述的装置,其中,所述装置还包括第二处理装置,用于在所述第一发送装置发送所述断连请求消息之后且在所述关闭装置关闭所述连接之前,对于每个所述待关闭的Diameter连接, 如果与其对应的接收队列不为空,处理所述接收队列中的请求消息和回复消息; 如果与其对应的发送队列不为空,处理所述发送队列中的回复消息。 9. The apparatus according to claim 7, wherein said apparatus further comprises second processing means for, after said first transmitting means transmits the disconnection request message and the closing device closes the connection before, each to be closed for a Diameter connection, if the corresponding receive queue is not empty, processing the received request message and reply message queue; if the corresponding transmission queue is not empty, the transmission processing reply message queue.
10.根据权利要求7-9中任一项所述的装置,其中,所述装置还包括第三处理装置,用于在所述第一启动装置启动第一定时器之前: 向所述第二Diameter节点发送协商请求消息,其中包含其支持平滑关闭的特征信息;响应于来自所述第二Diameter节点的协商请求回复消息,判断所述第二Diameter节点是否支持平滑关闭; 当判断结果为支持时,通知所述第一启动装置启动第一定时器。 10. The apparatus as claimed in any one of claims 7-9, wherein said apparatus further comprises a third processing means for starting said first means prior to starting a first timer: to the second when the judgment result is supported; Diameter node sending negotiation request message contains characteristic information of supporting smooth closed; in response to a Diameter node from the second negotiation request reply message, determining whether the second support node smoothing off Diameter notifying the first activation means starts a first timer.
11.一种在第二Diameter节点中用于关闭Diameter连接的装置,所述第二Diameter节点与一个第一Diameter节点之间通过至少一个Diameter连接进行通信,其中,每个所述Diameter连接均有一个存有待发送消息的发送队列和一个存有已收到消息的接收队列与之对应,该装置包括: 接收装置,用于接收来自所述第一Diameter节点的断连请求消息,其中包含了待关闭的至少一个Diameter连接的标识; 第三启动装置,用于启动第三定时器; 第二发送装置,用于当以下条件之一满足时向所述第一Diameter节点发送断连回复消息,其中包含了所述待关闭的至少一个Diameter连接的标识, 条件一:第三定时器超时, 条件二:对于每个所述待关闭的Diameter连接,与其对应的发送队列和接收队列均为空。 11. A second device for Diameter Diameter node connected off communication between said second node and a first Diameter Diameter Diameter node via at least one connector, wherein each of said connector are Diameter a memory queue to be transmitted and a transmission message has been received there message receive queue corresponding thereto, the apparatus comprising: receiving means for receiving from said first off Diameter node connected request message to be included Diameter closing at least one connection identification; third starting means for starting a third timer; a second transmitting means for transmitting a broken when one of the following conditions are met Diameter node connected to said first reply message, wherein containing identification of the at least one closing Diameter be connected, a condition: a third timer expires, two conditions: for each of the Diameter connection to be closed, the corresponding transmission queues and receive queues are empty.
12.根据权利要求11所述的装置,其中,所述装置还包括第四处理装置,用于在所述接收装置接收所述断连请求消息之后且在所述第二发送装置所述发送断连回复消息之前对于每个所述待关闭的Diameter连接, 停止向与其对应的发送队列中增加新的请求消息; 如果与其对应的发送队列不为空,处理所述发送队列中的请求消息和回复消息; 如果与其对应的接收队列不为空,处理所述接收队列中的请求消息和回复消息。 12. The apparatus according to claim 11, wherein said apparatus further comprises a fourth processing means, means for receiving the disconnect request after receiving the message and the sending the second transmission on-off means even before the reply message for each said connection to be closed Diameter stop transmitting queue corresponding to the added new request message; if the corresponding transmission queue is not empty, the request message sending queue and process the replies message; if the corresponding receive queue is not empty, processing the received request message and the reply message queue.
13.一种用于关闭Diameter连接的方法,一个第一Diameter节点与一个第二Diameter节点之间通过至少一个Diameter连接进行通信,其中,在所述第一Diameter节点和所述第二Diameter节点上每个所述Diameter连接均有一个存有待发送消息的发送队列和一个存有已收到消息的接收队列与之对应,所述第一Diameter节点准备关闭其中的至少一个Diameter连接,该方法包括以下步骤: 所述第一Diameter节点启动第一定时器; 当以下条件之一满足时所述第一Diameter节点向所述第二Diameter节点发送断连请求消息,其中包含了所述待关闭的至少一个Diameter连接的标识,条件一:第一定时器超时,条件二:对于每个所述待关闭的Diameter连接,在所述第一Diameter节点上与其对应的发送队列均为空; 所述第一Diameter节点启动第二定时器; 响应于所述断连请求消息,所述第二Diameter节点启动第三定时器; 当 13. A method for connecting Diameter closed, communication between a first node and a second Diameter Diameter Diameter connected by at least one node, wherein the first node and the second Diameter Diameter node each have a memory connected to the Diameter message send queue to be transmitted and a message has been received there corresponding receive queue, ready to close the first Diameter node Diameter wherein at least one connection, the method comprising step: Diameter of the first node starting a first timer; the first node to the second Diameter Diameter node transmits the disconnection request message when one of the following conditions are met, which contains at least one said to be closed Diameter connection identifier, a condition: a first timer expires, two conditions: for each of the connection to be closed Diameter, Diameter node in said first transmission queue corresponding thereto are empty; the first Diameter node starts a second timer; in response to the disconnect request message, the second node starting a third timer Diameter; when 下条件之一满足时所述第二Diameter节点向所述第一Diameter节点发送断连回复消息,其中包含了所述待关闭的至少一个Diameter连接的标识,条件一:第三定时器超时,条件二:对于每个所述待关闭的Diameter连接,在所述第二Diameter节点上与其对应的发送队列和接收队列均为空; 当所述第二定时器超时或所述第一Diameter节点接收到来自所述第二Diameter节点的断连回复消息时,所述断连回复消息包含了所述待关闭的至少一个连接的标识,所述第一Diameter节点关闭所述连接。 Diameter of the second node sending off under conditions satisfying one of the first Diameter node connected to a reply message, containing identification of the at least one closing Diameter be connected, a condition: a third timer expires, the conditions II: for each of the connection to be closed Diameter, Diameter node on the second send queue corresponding thereto and receive queues are empty; when the second timer expires or the first node receives Diameter Diameter node from said second off even when the reply message, the reply message comprising a disconnect identifying said at least one connection to be closed, the first closing the connection Diameter node.
14.根据权利要求13所述的方法,其中,在所述第一 Diameter节点向所述第二Diameter节点发送断连请求消息之前,所述第一Diameter节点还会执行以下步骤:对于每个所述待关闭的Diameter连接, 停止向与其对应的发送队列中增加新的请求消息; 如果与其对应的发送队列不为空,处理所述发送队列中的请求消息和回复消息。 14. The method of claim 13, wherein, prior to transmitting the first Diameter node disconnected Diameter request message to the second node, the first node Diameter also perform the following steps: For each of the Diameter said connector to be closed, to stop sending queue to the corresponding add new request message; if the corresponding transmission queue is not empty, the process sends a request message and a reply message queue.
15.根据权利要求13所述的方法,其中,在所述第一 Diameter节点向所述第二Diameter节点发送断连请求消息之后且在所述第一Diameter节点关闭所述连接之前,所述第一Diameter节点还会执行以下步骤:对于每个所述待关闭的Diameter连接, 如果与其对应的接收队列不为空,处理所述接收队列中的请求消息和回复消息; 如果与其对应的发送队列不为空,处理所述发送队列中的回复消息。 15. The method according to claim 13, wherein, before transmitting the connection request message and disconnect after closing the first node to the second Diameter Diameter Diameter node at the first node, the first a Diameter node will perform the following steps: for each of the connection to be closed Diameter, if the corresponding receive queue is not empty, processing the received request message and reply message queue; if the corresponding transmission queue is not It is empty, processing the reply message in the transmission queue.
16.根据权利要求13所述的方法,其中,在所述第二Diameter节点接收到所述断连请求消息之后且在发送所述断连回复消息之前,所述第二Diameter节点还会执行之下步骤:对于每个所述待关闭的Diameter连接, 停止向与其对应的发送队列中增加新的请求消息; 如果与其对应的发送队列不为空,处理所述发送队列中的请求消息和回复消息; 如果与其对应的接收队列不为空,处理所述接收队列中的请求消息和回复消息。 16. The method according to claim 13, wherein, in said second node receiving the Diameter off and disconnect before sending the reply message, the second node also executes the Diameter request message even after the steps of: for each of said connector Diameter be closed, to stop sending queue to the corresponding increase in the new request message; if the corresponding transmission queue is not empty, the request message sending queue and processes the reply message ; if the corresponding receive queue is not empty, processing the received request message and the reply message queue.
CN201310539818.6A 2013-10-31 2013-10-31 Method and device for closing Diameter connection CN104601533A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310539818.6A CN104601533A (en) 2013-10-31 2013-10-31 Method and device for closing Diameter connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310539818.6A CN104601533A (en) 2013-10-31 2013-10-31 Method and device for closing Diameter connection

Publications (1)

Publication Number Publication Date
CN104601533A true CN104601533A (en) 2015-05-06

Family

ID=53127041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310539818.6A CN104601533A (en) 2013-10-31 2013-10-31 Method and device for closing Diameter connection

Country Status (1)

Country Link
CN (1) CN104601533A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6615265B1 (en) * 1998-08-04 2003-09-02 International Business Machines Corporation Enabling planned outages of application servers
WO2007050944A1 (en) * 2005-10-27 2007-05-03 Qualcomm Incorporated A method and apparatus for processing close state in wireless communication systems
CN101043339A (en) * 2006-06-02 2007-09-26 华为技术有限公司 Method and apparatus for closing transmission connection
CN101478615A (en) * 2008-01-03 2009-07-08 华为技术有限公司 Link processing method, apparatus and system
CN101588606A (en) * 2009-06-11 2009-11-25 中兴通讯股份有限公司 Method, system and relative device for operating capability negotiation continually
CN102195954A (en) * 2010-03-18 2011-09-21 阿尔卡特朗讯 Method and device for shutting down Diameter protocol server service
CN102546465A (en) * 2011-12-22 2012-07-04 苏州阔地网络科技有限公司 Method and device for removing failed connection

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6615265B1 (en) * 1998-08-04 2003-09-02 International Business Machines Corporation Enabling planned outages of application servers
WO2007050944A1 (en) * 2005-10-27 2007-05-03 Qualcomm Incorporated A method and apparatus for processing close state in wireless communication systems
CN101043339A (en) * 2006-06-02 2007-09-26 华为技术有限公司 Method and apparatus for closing transmission connection
CN101478615A (en) * 2008-01-03 2009-07-08 华为技术有限公司 Link processing method, apparatus and system
CN101588606A (en) * 2009-06-11 2009-11-25 中兴通讯股份有限公司 Method, system and relative device for operating capability negotiation continually
CN102195954A (en) * 2010-03-18 2011-09-21 阿尔卡特朗讯 Method and device for shutting down Diameter protocol server service
CN102546465A (en) * 2011-12-22 2012-07-04 苏州阔地网络科技有限公司 Method and device for removing failed connection

Similar Documents

Publication Publication Date Title
JP5986654B2 (en) Enterprise client / server system and method for providing a web application support through the dispersion emulation of web socket communication
CN101257375B (en) Method and device for realizing multi-terminal message synchronization
CN104429037B (en) A method for connecting to a communication device, system and equipment
JP4317061B2 (en) Sharing method and system of the presence information
US20090077184A1 (en) Remote Control of Mobile Terminal via Remote Control Proxy and SMS
CN102187620B (en) System and method for transmitting and receiving a call on a home network
CN104253742B (en) Virtual web real-time communication gateways and related methods, systems,
CN103188653B (en) Method for receiving data, a method for transmitting data, the mobile terminal and a server
CN101227652A (en) Instant communicating method, device and system
CN100463405C (en) Communication method and system based on group
JP2005318503A (en) Presence server, session control server, packet relay system, server, and system
US8799486B2 (en) System and method for transferring a session between multiple clients
CN104488199B (en) A terminal between the terminal and a method of synchronizing content
EP2852106B1 (en) Real time communication method, terminal device, real time communication server and system
CN101170727A (en) A method and system for interactive voice response and text synchronized push
CN100363870C (en) Method and apparatus for providing multi-client support in a SIP-enabled terminal
CN101461194A (en) A method and system for remotely accessing devices in a network
CN102025535A (en) Virtual machine management method and device and network equipment
CN102035893A (en) Method and system for pushing data actively by server
JP4771744B2 (en) Imps client state information synchronization method
US20090113460A1 (en) Systems and methods for providing a generic interface in a communications environment
CN1794722B (en) Method of transfering off-line message and instant message server
JP2016028509A (en) Method and system of advanced real-time ip communication in mobile terminal
KR100985612B1 (en) Automatic orchestration of dynamic multiple party, multiple media communications
CN103916442A (en) Message pushing achieving method, mobile terminal and message pushing system

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
WD01