CN101854301A - Method and device for disconnecting link of network nodes - Google Patents
Method and device for disconnecting link of network nodes Download PDFInfo
- Publication number
- CN101854301A CN101854301A CN201010189570A CN201010189570A CN101854301A CN 101854301 A CN101854301 A CN 101854301A CN 201010189570 A CN201010189570 A CN 201010189570A CN 201010189570 A CN201010189570 A CN 201010189570A CN 101854301 A CN101854301 A CN 101854301A
- Authority
- CN
- China
- Prior art keywords
- link
- network node
- message
- nodes
- network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000012545 processing Methods 0.000 claims description 18
- 238000012217 deletion Methods 0.000 claims description 12
- 230000037430 deletion Effects 0.000 claims description 12
- 230000006855 networking Effects 0.000 claims description 7
- 238000011084 recovery Methods 0.000 abstract description 28
- OHKOGUYZJXTSFX-KZFFXBSXSA-N ticarcillin Chemical compound C=1([C@@H](C(O)=O)C(=O)N[C@H]2[C@H]3SC([C@@H](N3C2=O)C(O)=O)(C)C)C=CSC=1 OHKOGUYZJXTSFX-KZFFXBSXSA-N 0.000 abstract description 14
- 239000002699 waste material Substances 0.000 abstract description 10
- 230000003247 decreasing effect Effects 0.000 abstract 1
- 230000002708 enhancing effect Effects 0.000 abstract 1
- 238000004891 communication Methods 0.000 description 7
- 230000004913 activation Effects 0.000 description 4
- 230000011664 signaling Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method and a device for disconnecting a link of network nodes. The method comprises the following steps: a network node sends preset link disconnection request messages to other network nodes under the condition that the network node receives messages sent by the other network nodes and confirms that the other network nodes are not in the target domain of the network node; and other nodes receive the link disconnection request messages, stop continuing sending messages to the network node, and delete links with the network node. By using the technical scheme of the invention, unnecessary link recovery protocol messages sent to the network node based on TIPC can be decreased, thereby reducing the waste of network bandwidth; and the network node based on the TIPC can save computer resources, thereby enhancing the working efficiency of the entire cluster.
Description
Technical field
The present invention relates to the internet communication field, particularly relate to a kind of network node linkage disconnecting method and device.
Background technology
In the prior art, cluster (Cluster) is meant effectively working in coordination with in the communication computer network, makes many computers that the unified function and the characteristic of powerful disposal ability service externally are provided.(Transparent Inter Process Communication is present emerging cluster network communication protocol TIPC) to transparent interprocess communication communication protocol, has been used in the communications field widely.In TIPC, for each network node in the Cluster, adopt and in whole network, to set up ways of connecting, each network node all can connect with all other network nodes that meet own purpose territory in the network.Need to prove that the purpose territory is the mask of network node address, the network node address with present networks node link setup is filled perhaps in expression.
In TIPC, after two network nodes connect, on each network node, all can use link to represent this connection.Each network node all can guarantee to send datagram on link or protocol massages in an identical time interval, is in active state with this link of notice bipartite network node.If confiscate the other side's message from link in network node a period of time, it then is this link right and wrong activity, at this moment Link State will be set is inactive state to network node, and regularly sends to the bipartite network node and recover link packet, reverts to active state up to connection.
Fig. 1 is the flow chart of TIPC link-recovery in the prior art, as shown in Figure 1, comprises following processing:
Step 101, when not receiving the other side's message in network node is found a period of time, it is inactive state that Link State is set;
Step 102 sends the link-recovery message to the bipartite network node;
Step 103 after message sends, is waited for link event;
Step 104 arrives as incident, and network node at first judges whether to receive the link activation message, and if the judgment is Yes, then execution in step 105, otherwise, execution in step 106;
Step 105, if the judgment is Yes, then link is set to active state, and the link-recovery operation is finished;
Step 106 if the judgment is No, then judges whether it is timer incident then, and if the judgment is Yes, then execution in step 102, otherwise, execution in step 103.
From above-mentioned processing as can be seen, TIPC link-recovery mechanism may be brought following problem:
Causing link reset owing to the bipartite network node reset, but after restarting, used the bipartite network node new purpose territory, and new purpose territory do not comprise network node reset before under the situation of each network node of link setup, the network node after restarting can not recover former link.This will make each network node of the chain rupture because network node resets send the link-recovery message because link can't recover always.
Fig. 2 is the signaling process figure that sends the link-recovery message in the prior art, as shown in Figure 2, when network node 1 did not receive the message of network node 2 in a period of time, it was inactive state that link is set, and sent link-recovery message (LINK_REACTIVE) to network node 2 then always.After network node 2 starts, when receiving the LINK_REACTIVE message of network node 1 transmission, find that oneself does not have and network node 1 link setup, so directly ignored this message, and because network node 1 is in the purpose territory of network node 2, network node 2 can not send the link activation message to network node 1.Because network node 1 can't be received the link activation message that network node 2 sends always, so the operation that network node 1 sends the LINK_REACTIVE message can't stop always.And this operation can cause existing in the network a large amount of useless LINK_REACTIVE messages and the resource of having wasted network node 1.
That is to say, before if network node resets with a lot of other network node link setups, but after resetting no longer with these network node link setups, will make a lot of network nodes constantly send the link-recovery message, thereby thereby bring the huge waste of Internet resources and computer resource to reduce the efficient of whole cluster.
Summary of the invention
The invention provides a kind of network node linkage disconnecting method and device, the Internet resources that bring and computer resource waste and the problem that reduces trunking efficiency to solve that network node in the prior art constantly sends the link-recovery message.
The invention provides a kind of network node linkage disconnecting method, comprising:
Network node is receiving the message that other network nodes send and is determining that other network nodes not under the situation in the purpose territory at network node, send the link disconnection request messages that sets in advance to other networking nodes;
Other nodes receive link disconnection request messages, stop to continue to send message to network node, and the link between deletion and the network node.
The present invention also provides a kind of network node link disconnecting apparatus, comprising:
Sending module is used for receiving the message that other network nodes send and determining that other network nodes not under the situation in the purpose territory at network node, send the link disconnection request messages that sets in advance to other networking nodes;
Processing module is used to receive link disconnection request messages, stops to continue to send message to network node, and the link between deletion and the network node.
Beneficial effect of the present invention is as follows:
The embodiment of the invention is receiving the network node in own purpose territory when sending the link protocol message by network node, proactive notification the other side stops link and connects, solved that network node in the prior art constantly sends the link-recovery message and the Internet resources and the computer resource waste that bring, and the problem that reduces trunking efficiency, can reduce network node and send unnecessary link recovery protocol massages based on TIPC, thereby reduce the waste of the network bandwidth, and can make based on the network node of TIPC and save computer resource, thereby improve the operating efficiency of whole cluster.
Description of drawings
Fig. 1 is the flow chart of TIPC link-recovery in the prior art;
Fig. 2 is the signaling process figure that sends the link-recovery message in the prior art;
Fig. 3 is the flow chart of the network node linkage disconnecting method of the embodiment of the invention;
Fig. 4 is the flow chart of the link-recovery of the embodiment of the invention;
Fig. 5 is the flow chart that the network node of the embodiment of the invention sends link disconnection request messages;
Fig. 6 is the signaling process figure of two network nodes when link does not recover of the embodiment of the invention;
Fig. 7 is the structural representation of the network node link disconnecting apparatus of the embodiment of the invention.
Embodiment
The Internet resources that bring and computer resource waste and the problem that reduces trunking efficiency in order to solve that network node in the prior art constantly sends the link-recovery message, the invention provides a kind of network node linkage disconnecting method and device, below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, does not limit the present invention.
Method embodiment
According to embodiments of the invention, a kind of network node linkage disconnecting method is provided, Fig. 3 is the flow chart of the network node linkage disconnecting method of the embodiment of the invention, as shown in Figure 3, according to comprising of the embodiment of the invention of following processing:
Step 301, network node is receiving the message that other network nodes send and is determining that other network nodes not under the situation in the purpose territory at network node, send the link disconnection request messages that sets in advance to other networking nodes; That is to say, during link protocol message that network node sends at the network node of receiving not in own purpose territory, will respond link disconnection request messages to the other side.
Need to prove, before execution in step 301, need set in advance a kind of link disconnection request messages.The function of this message is the link that notification receiver is deleted sender's network node.
In step 301, specifically comprise following processing: 1, network node receives the message that other network nodes send, and determines that other network nodes are not in the purpose territory of network node; 2, network node determines that the message that receives is the link protocol message; 3, network node sends the link disconnection request messages that sets in advance to other networking nodes.That is to say that network node checks that the sender is whether in the purpose territory of oneself after the network interface card packet receiving, and message is the link protocol message, simultaneously message neither link disconnection request messages, if these three conditions all satisfy, this network node sends link disconnection request messages to the message sender.
Step 302, other nodes receive link disconnection request messages, stop to continue to send message to network node, and the link between deletion and the network node.
In step 302, specifically comprise following processing: 1, other network nodes determine that the message that receives is a link disconnection request messages; 2, other network nodes determine that own link with network node exists and link is in inactive state; 3, other network nodes stop to continue to send the link protocol message to network node, and the link between deletion and the network node.That is to say, other network nodes receive message from network after, judge whether at first to be chain rupture request protocol message if meet this condition, whether the link that then further determines sender's network node exists, and is in inactive state; If meet above-mentioned condition, then remove link.
Need to prove that in an embodiment of the present invention, link is the link based on transparent interprocess commications protocol.
By above-mentioned processing, allow network node when receiving the link-recovery message of the network node in own purpose territory not, can notify the other side to remove link.
Below gather accompanying drawing, the technique scheme of the embodiment of the invention is elaborated.
Fig. 4 is the flow chart of the link-recovery of the embodiment of the invention, as shown in Figure 4, comprises following processing:
Step 401, when not receiving the other side's message in network node is found a period of time, it is inactive state that Link State is set;
Step 402 sends the link-recovery message to the bipartite network node;
Step 403 after sending the link-recovery message to the bipartite network node, is waited for link event;
Step 404 arrives as incident, and network node at first judges whether it is to receive the link activation message, and if the judgment is Yes, then execution in step 405, otherwise execution in step 406;
Step 405, Link State is set to active state, and the link-recovery operation is finished;
Step 406 judges whether to receive the link circuit deleting message, and if the judgment is Yes, then execution in step 407, otherwise execution in step 408;
Step 407, deletion timer and release link circuit resource withdraw from the link-recovery flow process;
Step 408 judges whether it is timer incident then, and if the judgment is Yes, then execution in step 402 continues to send the link-recovery message, otherwise execution in step 403 waiting events take place.
Fig. 5 is the flow chart that the network node of the embodiment of the invention sends link disconnection request messages, as shown in Figure 5, comprises following processing:
Step 501 when network node receives message, is judged the message sender whether in the purpose territory of oneself, and if the judgment is No, then execution in step 502;
Step 502 judges whether it is the link protocol message, and if the judgment is Yes, then execution in step 503;
Step 503 judges whether it is link disconnection request messages, and if the judgment is No, then execution in step 504;
Step 504, the sender sends link disconnection request messages to message.
Fig. 6 is the signaling process figure of two network nodes when link does not recover of the embodiment of the invention, as shown in Figure 6, when network node 1 does not receive the message of network node 2 in a period of time, it is inactive state that Link State is set, and sends link-recovery message (LINK_REACTIVE) to network node 2 then always.After network node 2 started, when receiving the LINK_REACTIVE message of network node 1 transmission, the network node address of finding network node 1 was not in the purpose territory of oneself, so send the LINK_DELETE message to network node 1.After network node 1 receives the LINK_DELETE message, delete the link of network node 2, from then on network node 1 no longer needs to send the LINK_REACTIVE message to network node 2.
From above-mentioned processing as can be seen, the embodiment of the invention is receiving the network node in own purpose territory when sending the link protocol message by network node, proactive notification the other side stops link and connects, solved that network node in the prior art constantly sends the link-recovery message and the Internet resources and the computer resource waste that bring, and the problem that reduces trunking efficiency, can reduce network node and send unnecessary link recovery protocol massages based on TIPC, thereby reduce the waste of the network bandwidth, and can make based on the network node of TIPC and save computer resource, thereby improve the operating efficiency of whole cluster.
Device embodiment
According to embodiments of the invention, a kind of network node link disconnecting apparatus is provided, Fig. 7 is the structural representation of the network node link disconnecting apparatus of the embodiment of the invention, as shown in Figure 7, network node link disconnecting apparatus according to the embodiment of the invention comprises: sending module 70, processing module 72 below are described in detail each module of the embodiment of the invention.
Particularly, sending module 70 is used for receiving the message that other network nodes send and determining that other network nodes not under the situation in the purpose territory at network node, send the link disconnection request messages that sets in advance to other networking nodes; That is to say, during link protocol message that sending module 70 sends at the network node of receiving not in own purpose territory, will respond link disconnection request messages to the other side.
Need to prove, at first need to set in advance a kind of link disconnection request messages.The function of this message is the link that notification receiver is deleted sender's network node.
Wherein, sending module 70 can also comprise:
First determination module is used for determining that the message that receives is the link protocol message after receiving the message that other network nodes send and determining that described other network nodes are not in the purpose territory at described network node.
That is to say, sending module 70 is after the network interface card packet receiving, check that at first the sender is whether in the purpose territory of oneself, subsequently, the first determination module confirmation message in the sending module 70 is the link protocol message, simultaneously message neither link disconnection request messages, if these three conditions all satisfy, sending module 70 will send link disconnection request messages to the message sender.
Wherein, processing module 72 specifically comprises:
Second determines submodule, is used to determine that the message that receives is a link disconnection request messages;
The 3rd determines submodule, is used for determining that own link with network node exists and link is in inactive state;
Processing sub is used to stop to continue to send the link protocol message to network node, and the link between deletion and the network node.
That is to say, other network nodes receive message from network after, second determines that submodule at first judges whether to be chain rupture request protocol message, if meet this condition, whether the link that the 3rd definite submodule then further determines sender's network node exists, and is in inactive state; If meet above-mentioned condition, processing sub is then removed link.
Need to prove that in an embodiment of the present invention, link is the link based on transparent interprocess commications protocol.
The embodiment of the invention is receiving the network node in own purpose territory when sending the link protocol message by network node, proactive notification the other side stops link and connects, solved that network node in the prior art constantly sends the link-recovery message and the Internet resources and the computer resource waste that bring, and the problem that reduces trunking efficiency, can reduce network node and send unnecessary link recovery protocol massages based on TIPC, thereby reduce the waste of the network bandwidth, and can make based on the network node of TIPC and save computer resource, thereby improve the operating efficiency of whole cluster.
Although be the example purpose, the preferred embodiments of the present invention are disclosed, it also is possible those skilled in the art will recognize various improvement, increase and replacement, therefore, scope of the present invention should be not limited to the foregoing description.
Claims (8)
1. a network node linkage disconnecting method is characterized in that, comprising:
Network node is receiving the message that other network nodes send and is determining that described other network nodes not under the situation in the purpose territory at described network node, send the link disconnection request messages that sets in advance to described other networking nodes;
Described other nodes receive described link disconnection request messages, stop to continue to send described message to described network node, and the link between deletion and the described network node.
2. the method for claim 1 is characterized in that, after described network node was receiving the message that other network nodes send and determining that described other network nodes are not in the purpose territory at described network node, described method also comprised:
Described network node determines that the described message that receives is the link protocol message.
3. the method for claim 1 is characterized in that, described other nodes receive described link disconnection request messages, stop to continue to send described link protocol message to described network node, and the link between deletion and the described network node comprises:
Described other network nodes determine that the message that receives is described link disconnection request messages;
Described other network nodes determine that own link with described network node exists and described link is in inactive state;
Described other network nodes stop to continue to send described link protocol message to described network node, and the link between deletion and the described network node.
4. the method for claim 1 is characterized in that, described link is the link based on transparent interprocess commications protocol.
5. a network node link disconnecting apparatus is characterized in that, comprising:
Sending module is used for receiving the message that other network nodes send and determining that described other network nodes not under the situation in the purpose territory at described network node, send the link disconnection request messages that sets in advance to described other networking nodes;
Processing module is used to receive described link disconnection request messages, stops to continue to send described message to described network node, and the link between deletion and the described network node.
6. device as claimed in claim 5 is characterized in that, described sending module also comprises:
First determination module is used for determining that the described message that receives is the link protocol message after receiving the message that other network nodes send and determining that described other network nodes are not in the purpose territory at described network node.
7. device as claimed in claim 5 is characterized in that, described processing module specifically comprises:
Second determines submodule, is used to determine that the message that receives is described link disconnection request messages;
The 3rd determines submodule, is used for determining that own link with described network node exists and described link is in inactive state;
Processing sub is used to stop to continue to send described link protocol message to described network node, and the link between deletion and the described network node.
8. device as claimed in claim 5 is characterized in that, described link is the link based on transparent interprocess commications protocol.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010189570A CN101854301A (en) | 2010-06-02 | 2010-06-02 | Method and device for disconnecting link of network nodes |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010189570A CN101854301A (en) | 2010-06-02 | 2010-06-02 | Method and device for disconnecting link of network nodes |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN101854301A true CN101854301A (en) | 2010-10-06 |
Family
ID=42805577
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201010189570A Pending CN101854301A (en) | 2010-06-02 | 2010-06-02 | Method and device for disconnecting link of network nodes |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101854301A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004364306A (en) * | 2003-06-03 | 2004-12-24 | Hewlett-Packard Development Co Lp | System for controlling client-server connection request |
| CN1874284A (en) * | 2006-06-21 | 2006-12-06 | 中国科学院计算技术研究所 | Distributed type clustering method in use for constructing cluster type peer-to-peer network |
| CN101075997A (en) * | 2007-07-19 | 2007-11-21 | 中兴通讯股份有限公司 | Method for managing VOIP customer priority level by fireproof wall |
| CN101304571A (en) * | 2008-07-01 | 2008-11-12 | 宇龙计算机通信科技(深圳)有限公司 | Method for communication authentication between split type mobile terminal host and pickaback plane as well as mobile device |
| CN101400016A (en) * | 2007-09-28 | 2009-04-01 | 日产自动车株式会社 | Moving body communication system, moving body terminal, information providing apparatus, and information transmission method |
-
2010
- 2010-06-02 CN CN201010189570A patent/CN101854301A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004364306A (en) * | 2003-06-03 | 2004-12-24 | Hewlett-Packard Development Co Lp | System for controlling client-server connection request |
| CN1874284A (en) * | 2006-06-21 | 2006-12-06 | 中国科学院计算技术研究所 | Distributed type clustering method in use for constructing cluster type peer-to-peer network |
| CN101075997A (en) * | 2007-07-19 | 2007-11-21 | 中兴通讯股份有限公司 | Method for managing VOIP customer priority level by fireproof wall |
| CN101400016A (en) * | 2007-09-28 | 2009-04-01 | 日产自动车株式会社 | Moving body communication system, moving body terminal, information providing apparatus, and information transmission method |
| CN101304571A (en) * | 2008-07-01 | 2008-11-12 | 宇龙计算机通信科技(深圳)有限公司 | Method for communication authentication between split type mobile terminal host and pickaback plane as well as mobile device |
Non-Patent Citations (1)
| Title |
|---|
| JON PAUL MALOY: "TIPC:Providing Communication for Linux Clusters", 《LINUX SYMPOSIUM 2004》 * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105050152A (en) | Service processing method and service processing device based on D2D (Device-to-Device) relay communication | |
| CN104113928A (en) | Radio bearer control (RBC) message processing method and device | |
| WO2009023996A1 (en) | Method for implementing network interconnect via link aggregation | |
| WO2014110927A1 (en) | Method, device and system for sending trigger message | |
| KR20160021262A (en) | Conversion method for transmission mechanism, user equipment and base station | |
| CN110831260B (en) | RRC connection recovery processing method and device and terminal | |
| CN101127588A (en) | Fault handling method, system and device for wireless network controller | |
| WO2021057526A1 (en) | Disaster recovery method for gateway device, and communication device | |
| WO2017024697A1 (en) | Cross-network segment message forwarding method for dispatching automation system | |
| WO2020001257A1 (en) | Data transmission method and device | |
| WO2011003292A1 (en) | Method, apparatus and system for processing configuration update failure | |
| WO2011091696A1 (en) | Method, device and system for establishing connection between neighbouring base stations | |
| CN102036377B (en) | Method, system and network element for initiating active paging | |
| WO2013078869A1 (en) | Method, system, aoe, aog and terminal for maintaining long connection in aos | |
| CN107046714A (en) | A kind of data transmission method, device and system | |
| JP5416310B2 (en) | Packet data network release failure processing method, system and apparatus | |
| CN102238664B (en) | Method and system for rejecting radio resource connection reestablish during base station handover | |
| CN105228238A (en) | A kind of periodically keep-alive transmission method, equipment and system | |
| CN104244297A (en) | A TD-LTE-based broadband trunking fault weakening communication method and base station | |
| CN110089193B (en) | Context release methods, devices and systems | |
| WO2010017781A1 (en) | Call release method and device | |
| JP6121672B2 (en) | Mobile communication system and mobile communication method | |
| CN104581859A (en) | Service processing method and device for wireless communication | |
| CN108391325A (en) | Manage the method, apparatus and terminal being wirelessly connected | |
| CN109286903B (en) | Group information issuing method and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C05 | Deemed withdrawal (patent law before 1993) | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20101006 |