CN104283739B - A kind of detection method and equipment based on distributed ISSU upgradings - Google Patents

A kind of detection method and equipment based on distributed ISSU upgradings Download PDF

Info

Publication number
CN104283739B
CN104283739B CN201410559089.5A CN201410559089A CN104283739B CN 104283739 B CN104283739 B CN 104283739B CN 201410559089 A CN201410559089 A CN 201410559089A CN 104283739 B CN104283739 B CN 104283739B
Authority
CN
China
Prior art keywords
node
link
interface board
link detection
detection message
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.)
Active
Application number
CN201410559089.5A
Other languages
Chinese (zh)
Other versions
CN104283739A (en
Inventor
雷公武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201410559089.5A priority Critical patent/CN104283739B/en
Publication of CN104283739A publication Critical patent/CN104283739A/en
Application granted granted Critical
Publication of CN104283739B publication Critical patent/CN104283739B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of detection method and equipment based on distributed ISSU upgradings, this method includes:When fringe node needs the ISSU to upgrade, before ISSU upgradings, the first link detection message is sent to assistant edge node, after ISSU upgradings are completed, the second link detection message is sent to the assistant edge node;When the assistant edge node receives the first link detection message from the fringe node, when not receiving three link detection message from the fringe node in specified time, determine that link does not break down;When the assistant edge node receives the second link detection message from the fringe node, when not receiving three link detection message from the fringe node in specified time, determine that link breaks down.In the embodiment of the present invention, assistant edge node is avoided to obtain wrong link detecting result.

Description

A kind of detection method and equipment based on distributed ISSU upgradings
Technical field
The present invention relates to communication technical field, especially a kind of detection method and equipment based on distributed ISSU upgradings.
Background technology
RRPP (Rapid Ring Protection Protocol, rapid ring protection protocol) is one and is specifically applied to The link layer protocol of Ethernet ring, RRPP can prevent broadcast storm caused by data loopback when Ethernet ring is complete, and work as The communication path on looped network between each node can be recovered when a link disconnects on Ethernet ring rapidly, possess higher receipts Hold back speed.Wherein, RRPP quick detections include following detection mode:(1) host node initiates ring status detection.Master port timing is sent out Hello packet is sent, secondary port is responsible for receiving hello packet and timeout treatment.Quick detection transmission timer value can configure Scope [10ms, 500ms], is defaulted as 20ms.Receive overtime timer configuration requirement 3 times hello packet send the cycle with On.(2) the main ring transmission channel detection between Edge node and assistant edge node.Fringe node timing sends Fast-Edge- Hello packet, assistant edge node are responsible for receiving Fast-Edge-Hello messages and timeout treatment.Quick detection transmission timing Device value can configure scope [5ms, 100ms], be defaulted as 10ms.Receive Fast- of the overtime timer configuration requirement at 3 times Edge-Hello messages are sent more than the cycle.
Further, above-mentioned fast detection mechanism (2) does not support fringe node to carry out ISSU (In-Service Software Upgrade, non-interrupting service upgrading) upgrading.For example, when fringe node carries out ISSU upgradings, the fringe node Fast-Edge-Hello messages are sent without the legal time.Therefore, assistant edge node before overtime timer time-out is received by nothing Method receives Fast-Edge-Hello messages, so that it is determined that link breaks down, and in fact, link does not break down, so as to Cause the link detecting result of mistake.
The content of the invention
The embodiment of the present invention provides a kind of detection method based on the upgrading ISSU upgradings of distributed non-interrupting service, is applied to In rapid ring protection protocol RRPP networks including multiple nodes, methods described includes specifically including:Node determines this node Role;
If the role of this node is fringe node, when the fringe node needs ISSU to upgrade, the fringe node Before ISSU upgradings, the first link detection message is sent to assistant edge node, is carried in first link detection message The fringe node needs the information that ISSU upgrades;The fringe node is after ISSU upgradings are completed, to assistant edge node The second link detection message is sent, the fringe node is carried in second link detection message and has completed ISSU upgradings Information;
If the role of this node is auxiliary fringe node, the assistant edge node receives first from fringe node During link detection message, the information that fringe node needs ISSU to upgrade is obtained from the first link detection message, works as specified time When not receiving three link detection message from fringe node inside, determine that link does not break down;The assistant edge node When receiving the second link detection message from fringe node, from the second link detection message obtaining fringe node has completed The information of ISSU upgradings, when not receiving three link detection message from fringe node in specified time, determine that link is sent out Raw failure.
Methods described further comprises:
Carried in first link detection message and receive overtime timer field, the reception overtime timer field is Default first numerical value, default first numerical value are used to indicate without timeout treatment;The assistant edge node is from described It is when presetting the first numerical value, not start reception overtime timer to be obtained in first link detection message and receive overtime timer field Or start the reception overtime timer that time-out time is default second value;Wherein, the time-out time for presetting second value is big In the specified time;
Carried in second link detection message and receive overtime timer field, the reception overtime timer field is Default third value, the default third value are used to indicate to carry out timeout treatment;The assistant edge node is from described It is when presetting third value to be obtained in two link detection messages and receive overtime timer field, starts time-out time and is specified to be described The reception overtime timer of time.
Methods described further comprises:
It is described when edge port is located at the interface board of the fringe node if the role of this node is fringe node Interface board enables transmission timer, and periodically sends the 3rd link detection message;
If the role of this node is auxiliary fringe node, when edge port is located at the interface board of the assistant edge node When, the interface board enables reception overtime timer, and receives the 3rd link detection message from fringe node;If referring to The 3rd link detection message from the fringe node is received in fixing time, then the interface board determines that event does not occur for link Barrier;If not receiving the 3rd link detection message from the fringe node within a specified time, the interface board determines Link breaks down, and the information that link is broken down notifies the master control borad to the assistant edge node.
Methods described further comprises:
If the role of this node is host node, when master port is located at the interface board of the host node, the interface board Transmission timer is enabled, and periodically sends the 4th link detection message;
When secondary port is located at the interface board of the host node, the interface board enables reception overtime timer, and receives 4th link detection message of the master port from the host node;Come from if received before overtime timer time-out is received 4th link detection message of the master port of the host node, then the interface board determine that link does not break down;If connecing The 4th link detection message of the master port from the host node is not received before receiving overtime timer time-out, then the interface Plate determines that link breaks down, and the information that link is broken down notifies the master control borad to the host node.
Methods described further comprises:
When interface board needs ISSU to upgrade, if the interface board is used for transmission link detection messages, upgrade in ISSU Before, the interface board notice master control borad enables transmission timer, instead of the interface board transmission link detection messages, in ISSU After upgrading is completed, the interface board notice master control borad stops transmission timer, stops replacing the interface board transmission link to examine Observe and predict text;If the interface board is used for receives link detection messages, before ISSU upgradings, the interface board notifies master control borad Reception overtime timer is enabled, instead of the interface board receives link detection messages, after ISSU upgradings are completed, the interface Plate notice master control borad stops receiving overtime timer, stops replacing the interface board receives link detection messages.
The embodiment of the present invention provides a kind of detection device based on the upgrading ISSU upgradings of distributed non-interrupting service, as section Applied in the rapid ring protection protocol RRPP networks for including multiple nodes, the node specifically includes point:Determining module, use In it is determined that the role of the node;
Processing module, for when the role of the node is fringe node, when the fringe node needs ISSU to upgrade When, before ISSU upgradings, the first link detection message is sent to assistant edge node, is taken in first link detection message The information of ISSU upgradings is needed with the fringe node;After ISSU upgradings are completed, the is sent to the assistant edge node Two link detection messages, the information that the fringe node has completed ISSU upgradings is carried in second link detection message;
When the role of the node is aids in fringe node, the first link detecting from the fringe node is being received During message, obtained from first link detection message fringe node need ISSU upgrade information, when in specified time not When receiving three link detection message from fringe node, determine that link does not break down;The edge section is come from receiving During the second link detection message of point, fringe node is obtained from second link detection message and has completed ISSU upgradings Information, when not receiving three link detection message from fringe node in specified time, determine that link breaks down.
Carried in first link detection message and receive overtime timer field, the reception overtime timer field is Default first numerical value, default first numerical value are used to indicate without timeout treatment;
The processing module, be further used for role when the node for auxiliary fringe node when, from described first Obtained in link detection message and receive overtime timer field when being default first numerical value, do not start receive overtime timer or Start the reception overtime timer that time-out time is default second value;Wherein, the time-out time for presetting second value is more than institute State specified time;
Carried in second link detection message and receive overtime timer field, the reception overtime timer field is Default third value, the default third value are used to indicate to carry out timeout treatment;
The processing module, be further used for role when the node for auxiliary fringe node when, from described second It is when presetting third value, when startup time-out time is described specified that acquisition, which receives overtime timer field, in link detection message Between reception overtime timer.
The processing module, it is further used for when the role of the node is fringe node, when edge port is located at institute When stating the interface board of fringe node, transmission timer is enabled on the interface board, and periodically send out by the interface board Send the 3rd link detection message;The processing module, it is further used for when the role of the node is aids in fringe node, when When edge port is located at the interface board of the assistant edge node, reception overtime timer is enabled on the interface board, and lead to Cross the interface board and receive the 3rd link detection message from fringe node;If the interface board within a specified time receives The 3rd link detection message from the fringe node, it is determined that link does not break down;If the interface board is being specified The 3rd link detection message from the fringe node is not received in time, it is determined that link is broken down, and link is sent out The information of raw failure notifies the master control borad to the assistant edge node.
The processing module, it is further used for when the role of the node is host node, when master port is located at the master During the interface board of node, transmission timer is enabled on the interface board, and the 4th is periodically sent by the interface board Link detection message;The processing module, it is further used for, when secondary port is located at the interface board of the host node, connecing described Reception overtime timer is enabled on oralia, and the 4th link of the master port from the host node is received by the interface board Detection messages;If the interface board receives of the master port from the host node before overtime timer time-out is received Four link detection messages, it is determined that link does not break down;If the interface board before overtime timer time-out is received not Receive the 4th link detection message of the master port from the host node, it is determined that link is broken down, and link is occurred The information of failure notifies the master control borad to the host node.
The processing module, it is further used for when interface board needs ISSU to upgrade, if the interface board is used to send Link detection message, then before ISSU upgradings, notice master control borad enables transmission timer, and replaces the interface board send chain Road detection messages, after ISSU upgradings are completed, notice master control borad stops transmission timer, and stops replacing the interface board to send out Send link detection message;If the interface board is used for receives link detection messages, before ISSU upgradings, master control borad is notified Reception overtime timer is enabled, and replaces the interface board receives link detection messages, after ISSU upgradings are completed, notice master Control plate to stop receiving overtime timer, and stop replacing the interface board receives link detection messages.
Based on above-mentioned technical proposal, in the embodiment of the present invention, during fringe node carries out ISSU upgradings, side is aided in When edge node does not receive the link detection message from fringe node within a specified time, it will determine that link does not break down, from And fringe node is avoided to cause assistant edge node receiving due to carrying out ISSU upgradings without legal time transmission link detection messages Link detection message can not be received before overtime timer time-out, resulting wrong link detecting result, avoids link from examining Survey the error detection of result.
Brief description of the drawings
Fig. 1 is the detection method flow chart based on distributed ISSU upgradings that the embodiment of the present invention proposes;
Fig. 2-Fig. 7 is the schematic diagram of the Distributed Detection proposed in the embodiment of the present invention;
Fig. 8 is the assay device structures figure based on distributed ISSU upgradings that the embodiment of the present invention proposes.
Embodiment
For problems of the prior art, the embodiment of the present invention provides a kind of detection based on distributed ISSU upgradings Method, for this method applied in the RRPP networks for including multiple nodes, multiple nodes include a host node, an edge section Point, an assistant edge node, one or more transmission nodes.As shown in figure 1, should the detection side based on distributed ISSU upgradings Method specifically includes following steps:
Step 101, node determines the role of this node.Wherein, the role of this node be host node or fringe node, Or assistant edge node or transmission node.When the role of this node is fringe node, step 102 is performed;When this node Role for auxiliary fringe node when, perform step 103.
Step 102, when fringe node needs ISSU to upgrade, fringe node is before ISSU upgradings, to assistant edge section Point sends the first link detection message, and the information that fringe node needs ISSU to upgrade is carried in first link detection message;Side Edge node sends the second link detection message, the second link detecting report after ISSU upgradings are completed, to assistant edge node The information that fringe node has completed ISSU upgradings is carried in text.Wherein, the first link detection message can be Fast-Edge- Hello (detection of rapid edge health status) message, the second link detection message can be Fast-Edge-Hello messages.
Specifically, by transforming existing Fast-Edge-Hello messages, make Fast-Edge-Hello messages The middle information for carrying fringe node and needing ISSU to upgrade, so as to obtain the first link detection message.By to existing Fast-Edge-Hello messages are transformed, and carrying fringe node in Fast-Edge-Hello messages has been completed ISSU liters The information of level, so as to obtain the second link detection message.
In the embodiment of the present invention, during ISSU upgrades, fringe node will be unable to send the 3rd link fringe node Detection messages, the 3rd link detection message are existing Fast-Edge-Hello messages.Fringe node upgrades in ISSU to be completed Afterwards, fringe node will periodically send the 3rd link detection message.
Step 103, assistant edge node is when receiving the first link detection message from fringe node, from first chain The information that fringe node needs ISSU to upgrade is obtained in the detection messages of road, when not receiving from fringe node within a specified time During three link detection messages, determine that link does not break down;Assistant edge node is receiving the second chain from fringe node During the detection messages of road, the information that fringe node has completed ISSU upgradings is obtained from second link detection message, when referring to When not receiving three link detection message from fringe node in fixing time, determine that link breaks down;When at the appointed time When inside receiving three link detection message from fringe node, determine that link does not break down.
Wherein, specified time is specially the time-out time of the reception overtime timer set on assistant edge node.For example, When receive overtime timer configuration requirement in the transmission of 3 times of Fast-Edge-Hello messages it is more than the cycle when, then specified time Can it be the transmission cycle of 3 times of Fast-Edge-Hello messages.
Based on above-mentioned processing, in the embodiment of the present invention, during fringe node carries out ISSU upgradings, fringe node will The 3rd link detection message can not be sent, and assistant edge node does not receive the 3rd chain from fringe node within a specified time During the detection messages of road, by determine link do not break down, i.e., not can determine whether that link breaks down, so as to avoid fringe node due to ISSU upgradings are carried out without legal time transmission link detection messages, cause assistant edge node before overtime timer time-out is received It can not receive link detection message, resulting wrong link detecting result, avoid the error detection of link detecting result.
Carried in the embodiment of the present invention, in the first link detection message and receive overtime timer field, reception time-out is fixed When device field be default first numerical value, and default first numerical value is used to indicate without timeout treatment.When reception overtime timer When field is default first numerical value, represent to carry the information that fringe node needs ISSU to upgrade in the first link detection message.It is auxiliary Fringe node is helped not start when it is default first numerical value to obtain reception overtime timer field from the first link detection message Receive overtime timer or start the reception overtime timer that time-out time is default second value;Wherein, the second number is preset The time-out time of value is big at fixed time.When assistant edge node does not receive the 3rd chain from fringe node within a specified time During the detection messages of road, if the not actuated reception overtime timer of assistant edge node, receiving overtime timer will not surpass When, determine that link does not break down.When assistant edge node does not receive the 3rd link from fringe node within a specified time During detection messages, if assistant edge node starts the reception overtime timer that time-out time is default second value, due to Specified time is less than the time-out time of default second value, therefore time-out will not occur for reception overtime timer, determine link not Break down.
Wherein, carry to receive overtime timer field (fail_timer fields) and send in the first link detection message and determine When device field (hello_timer fields), changed by the value that will receive overtime timer field and transmission timer field For 0xffff, to obtain the first link detection message.Assistant edge node is receiving reception overtime timer field and sent calmly When device field value be 0xffff the first link detection message after, do not start receive overtime timer or start one it is super The larger reception overtime timer of duration.
Carried in the embodiment of the present invention, in the second link detection message and receive overtime timer field, reception time-out is fixed When device field be default third value, and default third value is used to indicate to carry out timeout treatment.When reception overtime timer word When section is presets third value, represent to carry the information that fringe node has completed ISSU upgradings in the second link detection message. Assistant edge node starts when it is default third value that reception overtime timer field is obtained from the second link detection message Time-out time is the reception overtime timer of specified time.When assistant edge node is not received within a specified time from edge section During three link detection message of point, due to being currently up the reception overtime timer that time-out time is specified time, therefore Time-out can be occurred by receiving overtime timer, and assistant edge node determines that link breaks down.
Wherein, carry to receive overtime timer field (fail_timer fields) and send in the second link detection message and determine When device field (hello_timer fields), changed by the value that will receive overtime timer field and transmission timer field For existing value, for example, transmission timer field value can configure scope [5ms, 100ms], 10ms is defaulted as, receives time-out Timer configuration requirement is more than 3 times of transmission timer field value, to obtain the second link detection message.Assistant edge section Point is handled, the processing no longer repeats in detail after the second link detection message is received according to normal testing mechanism.
In the embodiment of the present invention, when fringe node needs masterslave switchover, fringe node is before masterslave switchover, to auxiliary Fringe node sends the first link detection message, and carrying fringe node in first link detection message needs the letter of masterslave switchover Breath;Fringe node sends the second link detection message, second link inspection after masterslave switchover completion, to assistant edge node Observe and predict and the information that fringe node has completed masterslave switchover is carried in text.Assistant edge node is receiving from fringe node During one link detection message, from first link detection message obtaining fringe node needs the information of masterslave switchover, when referring to When not receiving three link detection message from fringe node in fixing time, determine that link does not break down;Assistant edge section Point has obtained fringe node when receiving the second link detection message from fringe node from second link detection message Through completing the information of masterslave switchover, when not receiving three link detection message from fringe node within a specified time, really Determine link to break down;When within a specified time receiving three link detection message from fringe node, determine link not Break down.
In RRPP networks, each node uses centralized model treatment RRPP messages.As shown in Fig. 2 distributed apparatus is (such as Host node, transmission node, Edge node and assistant edge node etc.) include a master control borad and two interface boards, two RRPP Port distribution is on two interface boards.In the receive process of RRPP messages, interface board is receiving RRPP reports by RRPP ports Wen Hou, RRPP messages are sent to master control borad and handled.In the transmission process of RRPP messages, master control borad generation RRPP reports Text, and RRPP messages are sent to interface board, RRPP messages are sent by RRPP ports by interface board.Above-mentioned processing mode for It is a bigger consumption for the performance of quick detection.For example, the master control borad generation hello packet of host node, and will Hello packet is sent to interface board 1, and interface board 1 sends hello packet by the master port on interface board 1.Host node After interface board 2 receives hello packet by the secondary port on interface board 2, hello packet is sent to master control borad, master control Plate determines the result of quick detection.Because the precision of quick detection is in ms ranks, hello packet is between master control borad and interface board Transmit, the transmitting-receiving performance for quick detection has large effect.
Based on above-mentioned discovery, in the embodiment of the present invention, by the packet receiving state machine of master control borad and state machine of giving out a contract for a project all in RRPP Independent operating on interface board where port, to avoid the straddle of RRPP messages from transmitting.
Situation one, as shown in figure 3, the distributed treatment of host node.
If the role of this node is host node, when master port is located at the interface board of host node, then need in the interface Plate enables state machine of giving out a contract for a project, and the interface board enables transmission timer, and periodically sends the 4th link detection message (i.e. Hello packet).Further, when secondary port is located at the interface board of host node, then need to enable packet receiving state in the interface board Machine, and the interface board enables reception overtime timer, and receive the 4th link detection message of the master port for carrying out autonomous node;Such as For fruit before overtime timer time-out is received, the interface board receives the 4th link of the master port come autonomous node by secondary port Detection messages, then interface board determine that link does not break down;If before overtime timer time-out is received, the interface board passes through Secondary port does not receive the 4th link detection message of the master port for carrying out autonomous node, then interface board determines that link breaks down, and The information that link is broken down notifies the master control borad to host node.
Based on above-mentioned processing, when link does not break down, the interface board where master port periodically sends the 4th chain Road detection messages, the interface board where secondary port receive the 4th link detection message, do not have message between interface board and master control borad Interaction.Interface board where secondary port is not received come autonomous node before overtime timer time-out is received by secondary port During four link detection message of master port, the information that link is broken down notifies the master control borad to host node, afterwards Event handling is carried out by master control borad.
In the embodiment of the present invention, when master port is located at different interface boards from secondary port, when the interface where master port When plate needs the ISSU to upgrade, the interface board where master port is before ISSU upgradings, to the interface board send chain where secondary port Road detection messages, the interface board where master port is carried in the link detection message need the information that ISSU upgrades.Master port institute Interface board ISSU upgrading complete after, to the interface board transmission link detection messages where secondary port, the link detecting Interface board where master port is carried in message has completed the information of ISSU upgradings.Can be in the link detection message Hello packet.
Interface of the interface board where the carrying master port from the interface board where master port is received where secondary port When plate needs the link detection message of the information of ISSU upgradings, the interface board where master port is obtained from link detection message needs The information for wanting ISSU to upgrade, when not receiving the 4th link detection message from the interface board where master port within a specified time When, determine that link does not break down.Interface board where secondary port is receiving the carrying master from the interface board where master port When interface board where port has completed the link detection message of the information of ISSU upgradings, master is obtained from link detection message Interface board where port has completed the information of ISSU upgradings, when not receiving within a specified time from connecing where master port During four link detection message of oralia, determine that link breaks down;When within a specified time receiving where master port During four link detection message of interface board, determine that link does not break down.
Situation two, as shown in figure 4, the distributed treatment of transmission node.
If the role of this node is transmission node, due to the possible packet receiving of the master port of transmission node, therefore in master port The interface board at place starts packet receiving state machine, and the interface board is handled the RRPP messages received on this interface board, without RRPP messages are sent to master control borad.Due to the possible packet receiving in the secondary port of transmission node, therefore in the interface where secondary port Plate starts packet receiving state machine, and the interface board is handled the RRPP messages received on this interface board, without RRPP is reported Text is sent to master control borad.Further, when interface down (failure) of transmission node, generated by the master control borad of transmission node Linkdown (link failure) message, and the port on the interface board for passing through transmission node sends linkdown messages.
Situation three, as shown in figure 5, the distributed treatment of fringe node.
If the role of this node is fringe node, because the edge port on fringe node only has one, and edge section Point simply periodically sends the 3rd link detection message (i.e. Fast-Edge-Hello messages), therefore, when edge port is located at During the interface board of fringe node, it is only necessary to state machine of giving out a contract for a project is enabled in the interface board, the interface board enables transmission timer, And periodically send the 3rd link detection message.
Situation four, as shown in fig. 6, the distributed treatment of assistant edge node.
If the role of this node is auxiliary fringe node, because the edge port on assistant edge node only has one, And assistant edge node simply receives the 3rd link detection message (i.e. Fast-Edge-Hello messages), therefore, works as edge port During positioned at the interface board of assistant edge node, it is only necessary to enable packet receiving state machine in the interface board, the interface board, which enables, to be connect Overtime timer is received, and receives the 3rd link detection message from fringe node;If at the appointed time (it is fixed to receive time-out When device time-out time) in receive the 3rd link detection message from fringe node, then interface board determine link do not occur therefore Barrier;If not receiving the 3rd link detection message from fringe node within a specified time, interface board determines link Failure, and the information that link is broken down notifies the master control borad to assistant edge node.
Based on above-mentioned processing, when link does not break down, the interface board of assistant edge node is receiving overtime timer Before time-out, the 3rd link detection message from fringe node will be received, there is no message interaction between interface board and master control borad. When link breaks down, interface board will be unable to receive the 3rd from fringe node before overtime timer time-out is received Link detection message, the information that interface board breaks down link notify the master control borad to assistant edge node, Zhi Houyou Master control borad carries out event handling.
Situation five, as shown in fig. 7, the distributed treatment of striding equipment.
When two RRPP ports (Primary port and secondary port of such as host node) positioned at two different equipment (main equipment and from Equipment) when, main equipment and slave unit have exchange channels for realizing the function of host node between main equipment and slave unit, energy It is enough to send control message.In the case, when master port is located at slave unit, it is necessary to enable state machine of giving out a contract for a project in slave unit, and Slave unit enables transmission timer, and periodically sends the 4th link detection message (i.e. hello packet).When secondary port is located at , it is necessary to enable packet receiving state machine in main equipment during main equipment, and main equipment enables reception overtime timer, and receives and come from main side 4th link detection message of mouth;If before overtime timer time-out is received, received by secondary port from master port 4th link detection message, it is determined that link does not break down;If before overtime timer time-out is received, pass through secondary port The 4th link detection message from master port is not received, it is determined that link breaks down.Aforesaid way can avoid message from existing Transmitted between main equipment and slave unit, reduce the passage consumption of message transmissions, a certain degree of load balancing can also be realized.
In the embodiment of the present invention, when interface board needs ISSU to upgrade, if interface board is used for transmission link detection messages, Then before ISSU upgradings, interface board notice master control borad enables transmission timer, and replaces interface board transmission link detection messages, After ISSU upgradings are completed, interface board notice master control borad stops transmission timer, and stops replacing interface board transmission link to examine Observe and predict text.Further, if interface board is used for receives link detection messages, before ISSU upgradings, interface board notice master Control plate enables reception overtime timer, and replaces interface board receives link detection messages, after ISSU upgradings are completed, interface board Notify master control borad to stop receiving overtime timer, and stop replacing interface board receives link detection messages.
In the embodiment of the present invention, when master control borad needs ISSU to upgrade, if backup master where master control borad on node be present Plate is controlled, before ISSU upgradings, master control borad notice backup master control borad is operated instead of master control borad;In ISSU upgrading completions Afterwards, master control borad notice backup master control borad stops being operated instead of master control borad.
Based on the inventive concept same with the above method, additionally provided in the embodiment of the present invention it is a kind of based on it is distributed not in The detection device of disconnected upgrading service ISSU upgradings, the rapid ring protection protocol RRPP for including multiple nodes is applied to as node In network, as shown in figure 8, the node includes:
Determining module 11, for determining the role of the node;
Processing module 12, for when the role of the node is fringe node, when the fringe node needs ISSU liters During level, before ISSU upgradings, the first link detection message is sent to assistant edge node, in first link detection message Carry the information that the fringe node needs ISSU to upgrade;After ISSU upgradings are completed, sent to the assistant edge node Second link detection message, the letter that the fringe node has completed ISSU upgradings is carried in second link detection message Breath;
When the role of the node is aids in fringe node, the first link detecting from the fringe node is being received During message, obtained from first link detection message fringe node need ISSU upgrade information, when in specified time not When receiving three link detection message from fringe node, determine that link does not break down;The edge section is come from receiving During the second link detection message of point, fringe node is obtained from second link detection message and has completed ISSU upgradings Information, when not receiving three link detection message from fringe node in specified time, determine that link breaks down.
Carried in first link detection message and receive overtime timer field, the reception overtime timer field is Default first numerical value, default first numerical value are used to indicate without timeout treatment;
The processing module 12, be further used for role when the node for auxiliary fringe node when, from described the Obtained in one link detection message and receive overtime timer field when being default first numerical value, do not start receive overtime timer or Person starts the reception overtime timer that time-out time is default second value;Wherein, the time-out time for presetting second value is more than The specified time;
Carried in second link detection message and receive overtime timer field, the reception overtime timer field is Default third value, the default third value are used to indicate to carry out timeout treatment;
The processing module 12, be further used for role when the node for auxiliary fringe node when, from described the It is when presetting third value to be obtained in two link detection messages and receive overtime timer field, starts time-out time and is specified to be described The reception overtime timer of time.
The processing module 12, it is further used for when the role of the node is fringe node, when edge port is located at During the interface board of the fringe node, transmission timer is enabled on the interface board, and it is periodic by the interface board Send the 3rd link detection message;The processing module 12, it is further used for when the role of the node is auxiliary fringe node When, when edge port is located at the interface board of the assistant edge node, reception overtime timer is enabled on the interface board, And the 3rd link detection message from fringe node is received by the interface board;If the interface board is within a specified time Receive the 3rd link detection message from the fringe node, it is determined that link does not break down;If the interface board exists The 3rd link detection message from the fringe node is not received in specified time, it is determined that link breaks down, and by chain The information that road is broken down notifies the master control borad to the assistant edge node.
The processing module 12, it is further used for when the role of the node is host node, when master port is positioned at described During the interface board of host node, transmission timer is enabled on the interface board, and periodically send by the interface board the Four link detection messages;The processing module 12, it is further used for when secondary port is located at the interface board of the host node, in institute State and reception overtime timer is enabled on interface board, and the 4th of the master port from the host node the is received by the interface board Link detection message;If the interface board receives the master port from the host node before overtime timer time-out is received The 4th link detection message, it is determined that link does not break down;If the interface board is receiving overtime timer time-out Preceding the 4th link detection message for not receiving the master port from the host node, it is determined that link breaks down, and by link The information to break down notifies the master control borad to the host node.
The processing module 12, it is further used for when interface board needs ISSU to upgrade, if the interface board is used to send out Link detection message is sent, then before ISSU upgradings, notice master control borad enables transmission timer, and replaces the interface board to send Link detection message, after ISSU upgradings are completed, notice master control borad stops transmission timer, and stops replacing the interface board Transmission link detection messages;If the interface board is used for receives link detection messages, before ISSU upgradings, master control is notified Plate enables reception overtime timer, and replaces the interface board receives link detection messages, after ISSU upgradings are completed, notice Master control borad stops receiving overtime timer, and stops replacing the interface board receives link detection messages.
Wherein, the modules of apparatus of the present invention can be integrated in one, and can also be deployed separately.Above-mentioned module can close And be a module, multiple submodule can also be further split into.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but the former is more in many cases Good embodiment.Based on such understanding, what technical scheme substantially contributed to prior art in other words Part can be embodied in the form of software product, and the computer software product is stored in a storage medium, if including It is dry to instruct to cause a computer equipment (be personal computer, server, or network equipment etc.) to perform this hair Method described in bright each embodiment.It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, Module or flow in accompanying drawing are not necessarily implemented necessary to the present invention.It will be appreciated by those skilled in the art that in embodiment Device in module can according to embodiment describe be distributed in the device of embodiment, respective change position can also be carried out In one or more devices different from the present embodiment.The module of above-described embodiment can be merged into a module, can also It is further split into multiple submodule.The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.With Several specific embodiments of the upper disclosed only present invention, still, the present invention is not limited to this, any those skilled in the art Member can think of change should all fall into protection scope of the present invention.

Claims (10)

  1. A kind of 1. detection method based on the upgrading ISSU upgradings of distributed non-interrupting service, applied to including the quick of multiple nodes In looped network protection agreement RRPP networks, it is characterised in that methods described includes:
    Node determines the role of this node;
    If the role of this node is fringe node, when the fringe node needs ISSU to upgrade, the fringe node exists Before ISSU upgradings, the first link detection message is sent to assistant edge node, institute is carried in first link detection message State the information that fringe node needs ISSU to upgrade;The fringe node is sent out after ISSU upgradings are completed to assistant edge node The second link detection message is sent, the letter that the fringe node has completed ISSU upgradings is carried in second link detection message Breath;
    If the role of this node is auxiliary fringe node, the assistant edge node receives the first link from fringe node During detection messages, obtained from the first link detection message fringe node need ISSU upgrade information, when in specified time not When receiving three link detection message from fringe node, determine that link does not break down;The assistant edge node receives During the second link detection message from fringe node, from the second link detection message obtaining fringe node has completed ISSU The information of upgrading, when not receiving three link detection message from fringe node in specified time, determine that event occurs for link Barrier.
  2. 2. the method as described in claim 1, it is characterised in that methods described further comprises:
    Carried in first link detection message and receive overtime timer field, the reception overtime timer field is default First numerical value, default first numerical value are used to indicate without timeout treatment;The assistant edge node is from described first Obtained in link detection message and receive overtime timer field when being default first numerical value, do not start receive overtime timer or Start the reception overtime timer that time-out time is default second value;Wherein, the time-out time for presetting second value is more than institute State specified time;
    Carried in second link detection message and receive overtime timer field, the reception overtime timer field is default Third value, the default third value are used to indicate to carry out timeout treatment;The assistant edge node is from second chain It is that startup time-out time is the specified time when presetting third value to be obtained in the detection messages of road and receive overtime timer field Reception overtime timer.
  3. 3. the method as described in claim 1, it is characterised in that methods described further comprises:
    If the role of this node is fringe node, when edge port is located at the interface board of the fringe node, the interface Plate enables transmission timer, and periodically sends the 3rd link detection message;
    If the role of this node is auxiliary fringe node, when edge port is located at the interface board of the assistant edge node, The interface board enables reception overtime timer, and receives the 3rd link detection message from fringe node;Receiving second After link detection message, if within a specified time receiving the 3rd link detection message from the fringe node, institute State interface board and determine that link does not break down;If the 3rd link inspection from the fringe node is not received within a specified time Text is observed and predicted, then the interface board determines that link breaks down, and the information that link is broken down is notified to the assistant edge The master control borad of node.
  4. 4. the method as described in claim 1, it is characterised in that methods described further comprises:
    If the role of this node is host node, when master port is located at the interface board of the host node, the interface board enables Transmission timer, and periodically send the 4th link detection message;
    When secondary port is located at the interface board of the host node, the interface board enables reception overtime timer, and receives and come from 4th link detection message of the master port of the host node;If received before overtime timer time-out is received from described 4th link detection message of the master port of host node, then the interface board determine that link does not break down;It is if super receiving When timer expiry before do not receive the 4th link detection message of the master port from the host node, then the interface board is true Determine link to break down, and the information that link is broken down notifies the master control borad to the host node.
  5. 5. the method as described in claim 3 or 4, it is characterised in that methods described further comprises:
    When interface board needs ISSU to upgrade, if the interface board is used for transmission link detection messages, before ISSU upgradings, The interface board notice master control borad enables transmission timer, instead of the interface board transmission link detection messages, upgrades in ISSU After completion, the interface board notice master control borad stops transmission timer, stops replacing interface board transmission link detection report Text;If the interface board is used for receives link detection messages, before ISSU upgradings, the interface board notice master control borad enables Overtime timer is received, instead of the interface board receives link detection messages, after ISSU upgradings are completed, the interface board leads to Know that master control borad stops receiving overtime timer, stop replacing the interface board receives link detection messages.
  6. 6. a kind of detection device based on the upgrading ISSU upgradings of distributed non-interrupting service, is applied to include multiple sections as node In the rapid ring protection protocol RRPP networks of point, it is characterised in that the node specifically includes:
    Determining module, for determining the role of the node;
    Processing module, for when the role of the node is fringe node, when the fringe node needs ISSU to upgrade, Before ISSU upgradings, the first link detection message is sent to assistant edge node, institute is carried in first link detection message State the information that fringe node needs ISSU to upgrade;After ISSU upgradings are completed, the second chain is sent to the assistant edge node Road detection messages, the information that the fringe node has completed ISSU upgradings is carried in second link detection message;
    When the role of the node is aids in fringe node, the first link detection message from the fringe node is being received When, the information that fringe node needs ISSU to upgrade is obtained from first link detection message, when not received in specified time During three link detection message from fringe node, determine that link does not break down;Receiving from the fringe node During the second link detection message, the letter that fringe node has completed ISSU upgradings is obtained from second link detection message Breath, when not receiving three link detection message from fringe node in specified time, determines that link breaks down.
  7. 7. equipment as claimed in claim 6, it is characterised in that
    Carried in first link detection message and receive overtime timer field, the reception overtime timer field is default First numerical value, default first numerical value are used to indicate without timeout treatment;
    The processing module, be further used for role when the node for auxiliary fringe node when, from first link It is when presetting the first numerical value, not start and receive overtime timer or startup to be obtained in detection messages and receive overtime timer field Time-out time is the reception overtime timer of default second value;Wherein, the time-out time for presetting second value is more than the finger Fix time;
    Carried in second link detection message and receive overtime timer field, the reception overtime timer field is default Third value, the default third value are used to indicate to carry out timeout treatment;
    The processing module, be further used for role when the node for auxiliary fringe node when, from second link It is when presetting third value to be obtained in detection messages and receive overtime timer field, starts time-out time as the specified time Receive overtime timer.
  8. 8. equipment as claimed in claim 6, it is characterised in that
    The processing module, it is further used for when the role of the node is fringe node, when edge port is located at the side During the interface board of edge node, transmission timer is enabled on the interface board, and periodically send by the interface board the Three link detection messages;The processing module, it is further used for, when the role of the node is aids in fringe node, working as edge When port is located at the interface board of the assistant edge node, reception overtime timer is enabled on the interface board, and pass through institute State interface board and receive the 3rd link detection message from fringe node;After the second link detection message is received, if institute State interface board and within a specified time receive the 3rd link detection message from the fringe node, it is determined that event does not occur for link Barrier;If the interface board does not receive the 3rd link detection message from the fringe node within a specified time, it is determined that Link breaks down, and the information that link is broken down notifies the master control borad to the assistant edge node.
  9. 9. equipment as claimed in claim 6, it is characterised in that
    The processing module, it is further used for when the role of the node is host node, when master port is located at the host node Interface board when, enable transmission timer on the interface board, and pass through the interface board and periodically send the 4th link Detection messages;The processing module, it is further used for when secondary port is located at the interface board of the host node, in the interface board On enable reception overtime timer, and pass through the 4th link detecting that the interface board receives the master port from the host node Message;If the interface board receives the 4th chain of the master port from the host node before overtime timer time-out is received Road detection messages, it is determined that link does not break down;If the interface board does not receive before overtime timer time-out is received 4th link detection message of the master port from the host node, it is determined that link is broken down, and link is broken down Information notify master control borad to the host node.
  10. 10. equipment as claimed in claim 8 or 9, it is characterised in that
    The processing module, it is further used for when interface board needs ISSU to upgrade, if the interface board is used for transmission link Detection messages, then before ISSU upgradings, notice master control borad enables transmission timer, and replaces the interface board transmission link to examine Text is observed and predicted, after ISSU upgradings are completed, notice master control borad stops transmission timer, and stops replacing the interface board send chain Road detection messages;If the interface board is used for receives link detection messages, before ISSU upgradings, notice master control borad enables Overtime timer is received, and replaces the interface board receives link detection messages, after ISSU upgradings are completed, notifies master control borad Stop receiving overtime timer, and stop replacing the interface board receives link detection messages.
CN201410559089.5A 2014-10-20 2014-10-20 A kind of detection method and equipment based on distributed ISSU upgradings Active CN104283739B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410559089.5A CN104283739B (en) 2014-10-20 2014-10-20 A kind of detection method and equipment based on distributed ISSU upgradings

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410559089.5A CN104283739B (en) 2014-10-20 2014-10-20 A kind of detection method and equipment based on distributed ISSU upgradings

Publications (2)

Publication Number Publication Date
CN104283739A CN104283739A (en) 2015-01-14
CN104283739B true CN104283739B (en) 2018-04-06

Family

ID=52258245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410559089.5A Active CN104283739B (en) 2014-10-20 2014-10-20 A kind of detection method and equipment based on distributed ISSU upgradings

Country Status (1)

Country Link
CN (1) CN104283739B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10437212B2 (en) * 2015-04-28 2019-10-08 Schneider Electric Systems Usa, Inc. Distributed computing in a process control environment
CN111371592B (en) * 2020-02-21 2023-09-19 无锡华云数据技术服务有限公司 Node switching method, device, equipment and storage medium
CN111476171B (en) * 2020-04-09 2021-03-26 腾讯科技(深圳)有限公司 Distributed object recognition system and method and edge computing equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179448A (en) * 2006-11-06 2008-05-14 华为技术有限公司 Method and router for detecting error smoothness rebooting status
CN101631060A (en) * 2009-08-18 2010-01-20 杭州华三通信技术有限公司 Method and device for managing edge port
CN102025562A (en) * 2010-11-25 2011-04-20 中兴通讯股份有限公司 Path detection method and device
CN102882704A (en) * 2012-09-03 2013-01-16 杭州华三通信技术有限公司 Link protection method and apparatus in soft restart upgrade process of ISSU (in-service software upgrade)
CN102984055A (en) * 2012-12-03 2013-03-20 杭州华三通信技术有限公司 Soft restart upgrading method and equipment of ISSU
CN103873294A (en) * 2014-03-05 2014-06-18 杭州华三通信技术有限公司 Keep-alive method and device for PPP (Point-to-Point Protocol) link during ISSU (In Service Software Upgrade) process

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179448A (en) * 2006-11-06 2008-05-14 华为技术有限公司 Method and router for detecting error smoothness rebooting status
CN101631060A (en) * 2009-08-18 2010-01-20 杭州华三通信技术有限公司 Method and device for managing edge port
CN102025562A (en) * 2010-11-25 2011-04-20 中兴通讯股份有限公司 Path detection method and device
CN102882704A (en) * 2012-09-03 2013-01-16 杭州华三通信技术有限公司 Link protection method and apparatus in soft restart upgrade process of ISSU (in-service software upgrade)
CN102984055A (en) * 2012-12-03 2013-03-20 杭州华三通信技术有限公司 Soft restart upgrading method and equipment of ISSU
CN103873294A (en) * 2014-03-05 2014-06-18 杭州华三通信技术有限公司 Keep-alive method and device for PPP (Point-to-Point Protocol) link during ISSU (In Service Software Upgrade) process

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
RRPP技术在城域网中的应用研究;孔利峰;《中国优秀硕士学位论文全文数据库信息科技辑》;20110915(第9期);正文第14页-第23页 *

Also Published As

Publication number Publication date
CN104283739A (en) 2015-01-14

Similar Documents

Publication Publication Date Title
WO2016095718A1 (en) Method for detecting communication link, base station, network manager, system and storage medium
US20050108389A1 (en) Network endpoint health check
CN101917287B (en) Fault processing method and fault detecting system of IRF (Intelligent Resilient Framework)
CN101695175B (en) Alarm reporting method of cascade equipment, system and equipment
EP2456127B1 (en) Method, system and apparatus for diagnosing physical downlink failure
CN102882704B (en) Link protection method in the soft reboot escalation process of a kind of ISSU and equipment
JP2010205163A (en) Plant monitoring control system transition device
CN104283739B (en) A kind of detection method and equipment based on distributed ISSU upgradings
CN103414916A (en) Fault diagnosis system and method
CN100574224C (en) The detection method of Industrial Ethernet data monitoring and device
US20090003226A1 (en) Network intermediary device with connection test packets
WO2017193763A1 (en) Testing method, apparatus and system
CN106233666B (en) Method and device for diagnosing transmission faults in a network according to the OPC UA standard
US9871616B2 (en) Error detection and recovery in a DMX512 network
CN107026780A (en) A kind of distribution optical fiber ring network fault point positioning method and system based on Internet of Things
CN103780302B (en) Control link changing method, device and RRU device in two fine transmission system
CN107769964B (en) Special line checking method and system
EP3177030A1 (en) Connection qualified link pass through applicable to media converters
CN104536853A (en) Method for guaranteeing continuous availability of resources of dual-controller storage device
CN104954156A (en) Clock synchronous network element abnormity processing method, apparatus and system thereof
CN101547526A (en) Fault handling method, wireless device and communication system
CN101132265A (en) Embedded code error detecting instrument and method for monitoring communication status between communication equipments
CN110768871A (en) Test method and system for automatically counting data transmission correctness of DCS (distributed control system)
CN102355367B (en) A kind of distributed LACP user equipments deadlock prevention technique and device
CN104135411A (en) Device and method of implementing multi-node communication based on RS232 interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant