CN105704022A - Path switching method and network nodes - Google Patents

Path switching method and network nodes Download PDF

Info

Publication number
CN105704022A
CN105704022A CN201410705752.8A CN201410705752A CN105704022A CN 105704022 A CN105704022 A CN 105704022A CN 201410705752 A CN201410705752 A CN 201410705752A CN 105704022 A CN105704022 A CN 105704022A
Authority
CN
China
Prior art keywords
network node
path
described main
data
backup path
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
Application number
CN201410705752.8A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410705752.8A priority Critical patent/CN105704022A/en
Publication of CN105704022A publication Critical patent/CN105704022A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a path switching method and network nodes. The method includes: after a fault of a main path for connecting a first network node and a second network node occurs, when the recovery of the main path is determined, the transmission of data to the second network node via the main path is postponed, the data is transmitted to the second network node via a standby path in a continuous manner, and the standby path refers to the current data transmission path between the first network node and the second network node; after the delayed time from the determination of the recovery of the main path, the transmission of the data to the second network node via the standby path is stopped, and the data is transmitted to the second network node via the main path. According to the switching method and the network nodes, when the fault link is recovered, data packet loss can be effectively avoided, and the utilization rate of the network is increased.

Description

The method of path switching and network node
Technical field
The present invention relates to the communications field, and a kind of method switched more particularly, to path and network node。
Background technology
In the data transmission network being connected first network node and the second network node by main path and backup path respectively, when described main path breaks down, described first network node can send data by described backup path to described second network node。After the Failure elimination of described main path, described first network node will immediately begin to send data by described main road radially described second network node。But, owing on described main path, the traffic handing capacity of each network node is inconsistent, cause the route table items of each network node to issue time disunity。When the network node that data arrival processing speed is slow, if this network node has been not provided with new route table items, it may occur that the situation of data packetloss。
Summary of the invention
The present invention provides a kind of method and network node that path switches, it is possible to be prevented effectively from data packetloss。
First aspect, the method providing the switching of a kind of path, including: after connecting the main path fault of first network node and the second network node, determine when described main path recovers, postpone sending data by described main road radially the second network node, continuing through backup path and send data to described second network node, wherein, described backup path is data transfer path current between described first network node and described second network node;From determining the recovery of described main path after time delay, stop sending data by described backup path to described second network node, and begin through described main road radially described second network node transmission data。
In conjunction with first aspect, in the first implementation of first aspect, the method includes: issues the time according to the route table items of network node each on described main path, arranges time delay, makes to be not less than described time delay the route table items of arbitrary network node on described main path and issues the time。
The first possible implementation in conjunction with first aspect or first aspect, in the implementation that the second of first aspect is possible, described postponement sends data by described main road radially the second network node, continue through backup path to include to the second network node transmission data: arrange first overhead value, second overhead value more than described backup path of described main path, to postpone sending data by described main road radially described second network node, continue through described backup path and send data to described second network node。
In conjunction with the implementation that the second of first aspect or first aspect is possible, in the third possible implementation of first aspect, stop sending data by described backup path to described second network node, and begin through described main road radially described second network node and send data and include: the 3rd overhead value second overhead value less than described backup path of described main path is set, to stop sending data by described backup path to described second network node, and begin through described main road radially described second network node transmission data。
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, described 3rd overhead value is the acquiescence overhead value of described main path。
The first possible implementation in conjunction with first aspect or first aspect, in the 5th kind of possible implementation of first aspect, described postponement sends data by described main road radially described second network node, continue through described backup path to include to described second network node transmission data: arrange first priority, second priority lower than described backup path of described main path, to postpone sending data by described main road radially the second network node, continue through described backup path and send data to the second network node。
The 5th kind of possible implementation in conjunction with first aspect, in the 6th kind of possible implementation of first aspect, this stopping sends data by described backup path to the second network node, and begin through described main road radially the second network node and send data and include: the third priority second priority higher than described backup path of described main path is set, to stop sending data by described backup path to described second network node, and begin through described main road radially described second network node transmission data。
In conjunction with the 6th kind of possible implementation of first aspect, in the 7th kind of possible implementation of first aspect, described third priority is the default priority of described main path。
Second aspect, it is provided that a kind of network node, comprises determining that unit, for after connecting the main path fault of first network node and the second network node, it is determined that described main path recovers;First switching treatmenting unit, for described determine that unit determines that described main path recovers time, postpone sending data by described main road radially described second network node, continue through described backup path and send data to described second network node, wherein, described backup path is data transfer path current between described first network node and described second network node;And from determining the recovery of described main path after time delay, stop sending data by described backup path to described second network node, and begin through described main road radially described second network node transmission data。
In conjunction with second aspect, in the first possible implementation of second aspect, described switching treatmenting unit includes: first arranges unit, for issuing the time according to the route table items of network node each on main path, arranging time delay, the route table items of arbitrary network node that makes to be not less than on main path described time delay issues the time。
The first possible implementation in conjunction with second aspect or second aspect, in the implementation that the second of second aspect is possible, described switching treatmenting unit also includes: second arranges unit, for arranging the first overhead value of described main path more than by the second overhead value of described backup path, to postpone sending data by described main road radially described second network node, continue through described backup path and send data to described second network node。
In conjunction with the implementation that the second of second aspect is possible, in the third possible implementation of second aspect, described second arranges unit is additionally operable to arrange the 3rd overhead value second overhead value less than described backup path of described main path, to stop sending data by described backup path to described second network node, and begin through described main road radially described second network node transmission data。
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described 3rd overhead value is the acquiescence overhead value of described main path。
The first possible implementation in conjunction with second aspect or second aspect, in the 5th kind of possible implementation of second aspect, described switching treatmenting unit also includes: the 3rd arranges unit, for arranging first priority, second priority lower than described backup path of described main path, to postpone sending data by described main road radially described second network node, continue through described backup path and send data to described second network node。
The 5th kind of possible implementation in conjunction with second aspect, in the 6th kind of possible implementation of second aspect, described 3rd arranges unit is additionally operable to arrange the third priority second priority higher than described backup path of described main path, to stop sending data by described backup path to described second network node, and begin through described main road radially described second network node transmission data。
In conjunction with the 6th kind of possible implementation of second aspect, in the 7th kind of possible implementation of second aspect, described third priority is the default priority of described main path。
Based on such scheme, the present invention is when path switches, when in the time delay after determining main path recovery, temporarily do not transmit data by main path, and continue transmission data still through current backup path, until just switch to main path after time delay, main path carry out data transmission, so it can be avoided that in the problem determining the data packetloss directly caused by data exchange waiting for transmission when main path recovers to this main path。
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, the accompanying drawing used required in the embodiment of the present invention will be briefly described below, apparently, drawings described below is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings。
Fig. 1 is the schematic diagram of an application scenarios of the embodiment of the present invention;
Fig. 2 is the flow chart of the method for the path switching of one embodiment of the invention;
Fig. 3 A-3D is the process schematic of the path switching method that the embodiment of the present invention provides under ospf protocol;
Fig. 4 is the schematic block diagram of the network node of one embodiment of the invention;
Fig. 5 is the schematic block diagram of the network node of another embodiment of the present invention;
Fig. 6 is the schematic block diagram of the network node of further embodiment of this invention;
Fig. 7 is the structural representation of the network node of one embodiment of the invention。
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiment。Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the premise not making creative work, all should belong to the scope of protection of the invention。
Fig. 1 is the schematic diagram of an application scenarios of the embodiment of the present invention。As shown in Figure 1, the path of two data transmission is had between first network node 110 and the second network node 150, article one, being the main path (as shown by the solid lines of fig. 1) through intermediate network node 120, other one is backup path (as shown in phantom in fig. 1) through intermediate network node 130 and intermediate network node 140。Specifically, when network node a certain on main path breaks down, such as, intermediate network node 120 shown in Fig. 1 breaks down, first network node 110 cannot pass through this main road radially the second network node 150 and send data, it is therefore desirable to send data by backup path to the second network node 150;When after main path failture evacuation, it is determined that when main path recovers, can stop sending data by backup path to the second network node 150 and beginning through main road radially the second network node 150 and send data。Aforesaid operations is properly termed as path switching。In other words, in whole processing procedure, it may occur however that twice path switching, i.e. switch to backup path when main path breaks down, and switch back into main path when main path recovers from backup path。
Should be understood that network node refers to have absolute address and have computer or other network equipments of transceiving data function。Such as, network node can be work station, user terminal, it is also possible to is other network equipments such as server, printer or router。In other words, the equipment having oneself unique network address can be regarded as network node。In the application scenarios of the embodiment of the present invention, first network node refers to the upstream network node (that is, the upstream intersection point of main path and backup path) being connected with main path and backup path, first network node 110 as shown in Figure 1;Second network node then refers to the downstream network node (that is, the downstream intersection point of main path and backup path) being connected with main road warp and backup path, the second network node 150 as shown in Figure 1。Here, so-called " upstream " and " downstream " is for the routing direction of data, and being not meant in network data can only from the unidirectional transmission of upstream toward downstream。Such as, when data send from the second network node 150 to first network node 110, the second network node 150 is known as upstream network node, and first network node 110 is known as downstream network node。In the application scenarios of the embodiment of the present invention, for instance, main path can be the path that default priority is higher or overhead value is less。Under normal conditions, first network node sends data by main road radially the second network node。Relative to main path, backup path can be the path that default priority is relatively low or overhead value is bigger。Under normal circumstances, only when breaking down at main path, first network node just can pass through backup path and send data to the second network node。Should be understood that backup path is to connect in the path of first network node and the second network node, except one or more path that main path overhead value is minimum or priority is the highest, main path and can there is one or more network node on backup path respectively。The number of the backup path shown in the embodiment of Fig. 1, and the number of the network node on main path and backup path, merely exemplary, but not the restriction to range of embodiment of the invention。The embodiment of the present invention can apply to the scene with the backup path of more than two, it is also possible to is applied to the more or less of path of network node number。
It addition, the form of the procotol between network node is not limited as by the embodiment of the present invention。Such as, ospf can be used between the part or all of network node of embodiments of the invention (English: OpenShortestPathFirst, it is called for short: OSPF) agreement, multi-link transparent interconnection is (English: TransparentInterconnectionofLotsofLinks, it is called for short: TRILL), Intermediate System-to-Intermediate System is (English: Intermediatesystemtointermediatesystem, it is called for short: ISIS) agreement, routing information protocol is (English: RoutingInformationProtocol, it is called for short: the combination of one or more procotols RIP) or in these procotols。
Fig. 2 is the flow chart of the method for the path switching of one embodiment of the invention。The method of Fig. 2 is by first network node, for instance the first network node 110 of Fig. 1, performs。
210, after connecting the main path fault of first network node and the second network node, determine when described main path recovers, postpone sending data by described main road radially described second network node, continue through backup path and send data to described second network node, wherein, described backup path is data transfer path current between described first network node and described second network node。
220, from determining the recovery of described main path after time delay, stop by described backup path to described second target node data, and begin through described main road radially described second target node data。
The present invention is when path switches, when in the time delay after determining main path recovery, temporarily do not transmit data by main path, and continue transmission data still through current backup path, until just switching to main path after time delay, carried out data transmission by main path, so it can be avoided that in the problem determining the data packetloss directly caused by data exchange waiting for transmission when main path recovers to this main path。
In embodiments of the present invention, determine that described main path recovers to generally refer to described first network node and determines Failure elimination on described main path, such as, when described first network node receives Failure elimination instruction message or the indication signal of the network node transmission of Failure elimination, described first network node may determine that described main path recovers。Before described main path recovers, carried out data transmission by backup path between first network node and the second network node。
Alternatively, as one embodiment of the present of invention, the time can be issued according to the route table items of network node each on described main path, above-mentioned time delay is set, make to be not less than described time delay the route table items of arbitrary network node on described main path and issue the time。
Specifically, above-mentioned time delay can be the empirical value that the route table items according to each network node issues set by the time, after described time time delay, ensure that on described main path, the route table items of each network node has issued, such as, the route table items of the network node that described time delay is the slowest be more than or equal to traffic handing capacity on described main path issues the time。For example, it is assumed that there are three network nodes on described main path, the route table items of each of which issues the time respectively 1 second, 2 seconds and 3 seconds, then can be set to 3 seconds or 5 seconds described time delay according to these values。Described time delay can also be configured according to receiving the instruction information that on described main path, each network node route table items has issued, such as, the moment indicating route table items to issue information is sent, as the finish time of described time delay by receiving all-network node。Should be understood that and described time delay can also be set otherwise。In this manner it is ensured that within time delay each network node on described main path can complete route table items configuration operation, so after time delay from backup path switch to main path time, it is possible to avoid the business packet loss problem on main path。
Alternatively, as an alternative embodiment of the invention, in step 210, can arrange the first overhead value of described main path more than described backup path to the second overhead value, so that postponing sending data by described main road radially described second network node, continuing through described backup path and sending to described second network node。
Specifically, described overhead value can be cost (COST) value of regulation in OSPF, it is also possible to be other parameter value of metrology path expense under other procotol。Described first network node is in the process determining data transfer path, data can be sent to described second network node according to the path that affiliated procotol policy selection path cost value is less, therefore by arranging first overhead value, second overhead value more than described backup path of described main path, described first network node will not select described main path, and still use current backup path to carry out data transmission, it is achieved in that described backup path is postponed switching to described main path。
Alternatively, as an alternative embodiment of the invention, in a step 220, the overhead value that can arrange described main path is the 3rd overhead value, wherein, described 3rd overhead value, less than the second overhead value of described backup path, to stop sending data by described backup path to described second network node, and begins through described main road radially described second network node transmission data。
Similarly, owing to described first network node is in the process determining data transfer path, data are sent to described second network node according to the path that affiliated procotol policy selection path cost value is less, therefore by arranging the 3rd overhead value second overhead value less than described backup path of described main path, can stop sending data by described backup path to described second network node, and begin through described primary path and send data to described second network node, it is achieved that described backup path switches to described main path。
Alternatively, as another embodiment of the present invention, above-mentioned 3rd overhead value can be the acquiescence overhead value of described main path。
Specifically, the acquiescence overhead value of described main path is typically smaller than the second overhead value of described backup path so that by default, and described first network node can send data by described main road radially described second network node。Therefore, above-mentioned 3rd overhead value is set to acquiescence overhead value, it is meant that the overhead value of other parameter need not be additionally set, only the overhead value of described main path is reverted to acquiescence overhead value, namely can reach the purpose of path switching。When after time delay, the path that described first network node can transmit as data according to the described main path that affiliated procotol policy selection path cost is less, stop sending data by described backup path to described second network node, and beginning through described main road radially described second network node transmission data, it is achieved path switches。
When consolidated network node exists multiple network agreement, such as, time two or more agreements such as OSPF, ISIS, RIP etc. are simultaneous, can also passing through, priority is set (English: method priority), by being respectively provided with different priority for described main path and described backup path, it is achieved the path of data transmission is switched over。
Therefore, alternatively, as another embodiment of the present invention, in a step 220, first priority, second priority lower than described backup path of described main path can also be set, so that postponing sending data by described main road radially described second network node, continuing through described backup path and sending data to described second network node。
Alternatively, as another embodiment of the present invention, in a step 220, the third priority second priority more than described backup path of described main path can be set, to stop sending data by described backup path to described second network node, and begin through described main road radially described second network node transmission data。
Alternatively, as another embodiment of the present invention, above-mentioned third priority can be the default priority of described main path。
Specifically, the default priority of described main path is usually above the second priority of described backup path so that by default, and described first network node can send data by described main road radially described second network node。Therefore, above-mentioned third priority is set to default priority, it is meant that other priority need not be additionally set, only the priority of described main path is reverted to default priority, the purpose of path switching can be reached。
Fig. 3 A is the schematic diagram of the path switching of the embodiment under ospf protocol of the present invention。
As shown in Figure 3A, in ospf network, there is main path (shown in solid in Fig. 3 A) and backup path (shown in the dotted line in Fig. 3 A) between first network node 310 and the second network node 350, the acquiescence COST value of main path is 100;The COST value of backup path is 1000。Fig. 3 A illustrates under normal communication state, and according to OSPF optimal route selection strategy, first network node 310 can select main road radially the second network node 350 that overhead value is less to carry out data transmission。In figure 3 a, the path at arrow place is current data transfer path。
As shown in Figure 3 B, when the intermediate network node 320 being positioned at main path breaks down, now, first network node 310 cannot send data by described main road radially the second network node 350, and first network node 310 begins through backup path and sends data to the second network node 350。In figure 3b, the path at arrow place is current data transfer path。
When after the Failure elimination of intermediate network node 320 being positioned at main path, described main path recovers immediately, namely when first network node 310 finds that main path accesses, start to recalculate the COST value in each path of access, to select optimal path as the transmission path of data。Owing to the acquiescence COST value (100) of main path is less than the COST value (1000) of backup path, therefore, the transmission path of data can be immediately switched to described main path, if intermediate network node 320 has now been not provided with new route table items, then may result in the problem of data packetloss and occur。
In embodiments of the present invention, as shown in Figure 3 C, now, arranging by the COST value of main path is 10000, can postpone sending data by described main road radially the second network node 350, continuing through backup path (current data transfer path) and send data to the second network node 350, in fig. 3 c, the path at arrow place is current data transfer path。Simultaneously, arranging time delay is 30 seconds (30 second time ensure that on main path, the route table items of each network node had issued), in described time delay from determining main path recovery, first network node 310 will send data all the time by backup path to the second network node 350。
As shown in Figure 3 D, after above-mentioned time delay, it is acquiescence COST value (100) that first network node 310 recovers the COST value of main path, to stop sending data by backup path to the second network node 350, and begin through main road radially the second network node 350 and send data, complete the switching of main path and backup path。In fig. 3d, the path at arrow place is current data transfer path。
Certainly, above-mentioned concrete numerical value is merely exemplary, and unrestricted the scope of the present invention。Those skilled in the art are easily envisaged that the COST value adopting other numerical value as standby usage path, and such embodiment also falls in the scope of the present invention。
Above in conjunction with Fig. 2 to Fig. 3, describe the changing method of data transfer path according to embodiments of the present invention from the angle of first network node in detail, describe the network node for data transfer path switching according to embodiments of the present invention below in conjunction with Fig. 4 and Fig. 5。
Fig. 4 illustrates the schematic block diagram of network node 400 according to embodiments of the present invention。The network node 400 of Fig. 4 includes determining unit 410 and switching treatmenting unit 420。
Determine that unit 410 is for after connecting the main path fault of first network node and the second network node, it is determined that described main path recovers。
Switching treatmenting unit 420 is for when determining that described main path recovers, postpone sending data by described main road radially the second network node, continuing through described backup path and send data to described second network node, wherein, described backup path is current data transfer path。
Described switching treatmenting unit 420 is additionally operable to from determining the recovery of described main path after time delay, and stopping sends data by described backup path to described second network node, and begins through described main road radially described second network node transmission data。
The present invention is when path switches, when in the time delay after determining the recovery of described main path, temporarily do not transmit data by described main path, and continue transmission data still through current backup path, until just switching to main path after time delay, carried out data transmission by described main path, so it can be avoided that the problem of the data packetloss directly data exchange waiting for transmission to described main path caused when determining that described main path recovers。
Fig. 5 is the schematic block diagram of the network node of another embodiment of the present invention。
Alternatively, as one embodiment of the present of invention, the switching treatmenting unit 420 of above-mentioned network node includes first and arranges unit 421 and second and arrange unit 422。
First arranges the route table items that unit 421 can be used for according to network node each on described main path issues the time, arranges time delay, makes issue the time more than the route table items of network node arbitrary on described main path described time delay。
Specifically, first arranges unit 421 for issuing time delay set by the time according to the route table items of each network node, described time delay can be an empirical value, make after described time time delay, ensure that on described main path, the route table items of each network node has issued, such as, the route table items of the network node that described time delay is the slowest be more than or equal to traffic handing capacity on main path issues the time;Described time delay can also be that the instruction information issued according to network node route table items each on described main path arranges described time delay, such as send, by receiving all-network node, the moment indicating route table items to issue information, as the finish time of described time delay。Should be understood that and this time delay can also be set otherwise。So so that within time delay each network node on described main path can complete route table items configuration operation, so after time delay from described backup path switch to described main path time, it is possible to avoid the business packet loss problem on described main path。
Second arranges the second overhead value that unit 422 can be used for arranging described main road the first overhead value radially more than described backup path, to postpone sending data by described main road radially described second network node, continue through described backup path and send data to described second network node。
Specifically, described overhead value may refer to cost (COST) value of regulation in OSPF, it is also possible to is other parameter value of metrology path expense under other procotol。Described first network node is in the process determining data transfer path, data can be sent to described second network node according to the path that affiliated procotol policy selection path cost value is less, therefore by arranging first overhead value, second overhead value more than described backup path of described main path, described first network node will not select main path, and still use current backup path to carry out data transmission, it is achieved in that backup path is postponed switching to main path。
Alternatively, as another embodiment of the present invention, above-mentioned second arranges unit 422, and to can be also used for arranging the overhead value of described main path be the 3rd overhead value, wherein, 3rd overhead value is less than the second overhead value of described backup path, by arranging the overhead value of described main path, to stop sending data by described backup path to described second network node, and begin through described main road radially described second network node transmission data。
Similarly, owing to described first network node is in the process determining data transfer path, data can be sent to described second network node according to the path that affiliated procotol policy selection path cost value is less, therefore by arranging the 3rd overhead value second overhead value less than described backup path of described main path, can stop sending data by described backup path to described second network node, and begin through described primary path and send data to the second network node, it is achieved that described backup path switches to described main path。
Alternatively, in another embodiment of the invention, above-mentioned second unit 422 is set can be additionally used in the acquiescence overhead value that above-mentioned 3rd overhead value is described main path is set。
Specifically, the acquiescence overhead value of described main path is typically smaller than the second overhead value of described backup path so that by default, and described first network node can send data by described main road radially described second network node。Therefore, above-mentioned 3rd overhead value is set to acquiescence overhead value and means additionally to arrange the overhead value of other parameter, only the overhead value of described main path is reverted to acquiescence overhead value, namely can reach the purpose of path switching。When after time delay, the path that described first network node can transmit as data according to the main path that affiliated procotol policy selection path cost is less, to stop sending data by described backup path to described second network node, and beginning through described main road radially described second network node transmission data, it is achieved path switches。
Fig. 6 is the schematic block diagram of the network node of another embodiment of the present invention。
When consolidated network node exists multiple network agreement, such as, time two or more agreements such as OSPF, ISIS, RIP etc. are simultaneous, can also passing through, priority is set (English: method priority), by arranging different priority for main path and backup path, it is achieved the path of data transmission is switched over。
Therefore, alternatively, as an alternative embodiment of the invention, above-mentioned switching treatmenting unit 420 can also include above-mentioned first and arrange unit 421 and the 3rd and arrange unit 423。
For convenience of description and succinctly, the first of foregoing description arranges the device of unit 421, it is possible to reference to function corresponding in aforementioned means embodiment, do not repeat them here。
3rd arranges the second priority that unit 423 may be used for arranging described main road the first priority radially lower than described backup path, to postpone sending data by described main road radially described second network node, continue through described backup path and send data to described second network node。
Alternatively, as another embodiment of the present invention, above-mentioned 3rd arranges unit 423 can be additionally used in the third priority arranging described main path higher than the second priority of described backup path, to stop sending data by described backup path to described second network node, and begin through described main road radially this second network node transmission data。
Optionally, as another embodiment of the present invention, the above-mentioned 3rd arranges unit 423 can be additionally used in and arrange the default priority that above-mentioned third priority is described main path。
Specifically, the default priority of described main path is usually above the second priority of described logical backup path so that by default, and first network node can send data by described main road radially described second network node。Therefore, above-mentioned third priority is set to default priority, it is meant that other priority need not be additionally set, only the priority of described main path is reverted to default priority, the purpose of path switching can be reached。
Should be understood that network node can also include first arranging unit, second arranging unit and the 3rd and arrange unit simultaneously。
Fig. 7 illustrates the structure of the network node that another embodiment of the present invention provides, including at least one processor, at least one network interface 704 or other communication interface, memorizer 705, with at least one communication bus 703, for the connection communication realizing between these parts。Processor 702 is for performing the executable module of storage in memorizer 705, for instance computer program。It is (English: random-accessmemory that memorizer 705 is likely to comprise high speed random access memory, it is called for short: RAM), it is likely to and also includes nonvolatile memory (English: non-volatilememory), for instance at least one disk memory。The communication connection between at least one other network element is realized by least one network interface 704 (can be wired or wireless)。
In some embodiments, memorizer 705 stores program 7051, and processor 702 performs program 7051, can be used for performing following operation:
After connecting the main path fault of first network node and the second network node, determine that described main path recovers, postpone sending data by described main road radially the second network node, continue through backup path and send data to the second network node, wherein, described backup path is current data transfer path。
From determining the recovery of described main path after time delay, stop sending data by described backup path to described second network node, and begin through described main road radially described second network node transmission data。
Alternatively, as an embodiment, memorizer 705 is particularly used in the route table items according to network node each on described main path and issues set of time time delay, making to be not less than described time delay the route table items of arbitrary network node on described main path and issue the time, namely the route table items of the network node that described time delay is the slowest be more than or equal to traffic handing capacity on described main path issues the time。
Alternatively, as an embodiment, memorizer 705 is particularly used in the first overhead value arranging described main path more than the second overhead value of described backup path, so that postponing sending data by described main road radially the second network node, continuing through described backup path and sending to described second network node。
Alternatively, as an embodiment, memorizer 705 is particularly used in and arranges described main road overhead value radially is the 3rd overhead value, and wherein, the 3rd overhead value is less than the second overhead value of described backup path。By arranging described main path overhead value, to stop sending data by described backup path to the second network node, and begin through described main road radially described second network node transmission data。
Alternatively, as an embodiment, memorizer 705 is particularly used in and arranges the acquiescence overhead value that above-mentioned 3rd overhead value is described main path。
Alternatively, as an embodiment, memorizer 705 is particularly used in the first priority arranging described main path lower than the second priority of described backup path, so that postponing sending data by described main road radially the second network node, continuing through described backup path and sending data to described second network node。
Alternatively, as an embodiment, memorizer 705 is particularly used in the third priority arranging described main path higher than the second priority of described backup path, to stop sending data by described backup path to described second network node, and begin through described main road radially described second network node transmission data。
Alternatively, as an embodiment, memorizer 705 is particularly used in and arranges the default priority that above-mentioned third priority is described main path。
The embodiment of the present invention is when data transfer path switches, when in the time delay after determining main path recovery, temporarily do not transmit data by described main path, and continue transmission data still through current backup path, until just switching to described main path after time delay, carried out data transmission by described main path, so it can be avoided that the problem of the data packetloss directly data exchange waiting for transmission to described main path caused when determining that described main path recovers。
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the specific works process of the system of foregoing description, device and unit, it is possible to reference to corresponding process in preceding method embodiment, do not repeat them here。Should be understood that in flow process, the sequence number of each step is not intended that constraint or the restriction of the time order and function order that each step is performed。
It should be understood that, in embodiments of the present invention, this processor can be that CPU is (English: CentralProcessingUnit, it is called for short: CPU), this processor can also is that other general processors, digital signal processor (DSP), special IC (ASIC), ready-made programmable gate array (FPGA), CPLD (CPLD) or other PLDs, discrete gate or transistor logic, discrete hardware components etc.。The processor etc. that general processor can be microprocessor or this processor can also be any routine。
Should be understood that during description is in the whole text that " embodiment " or " embodiment " mentioned means that the special characteristic relevant with embodiment, structure or characteristic include at least one embodiment of the present invention。Therefore, " in another embodiment " or " in another embodiment " that occur everywhere in entire disclosure not necessarily refers to identical embodiment。Additionally, these specific features, structure or characteristic can combine in one or more embodiments in any suitable manner。
It should be understood that, in various embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to the priority of execution sequence, and the execution sequence of each process should be determined with its function and internal logic, and the implementation process of the embodiment of the present invention should not constituted any restriction。
Those skilled in the art is it can be understood that arrive, for convenience of description and succinctly, and the specific works process of the system of foregoing description, device and unit, it is possible to reference to the corresponding process in preceding method embodiment, do not repeat them here。
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it is possible to realize by another way。Such as, device embodiment described above is merely schematic, such as, the division of described unit, being only a kind of logic function to divide, actual can have other dividing mode when realizing, for instance multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform。It addition, shown or discussed coupling each other or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, device or unit, it is also possible to be electric, machinery or other form connect。
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE。Some or all of unit therein can be selected according to the actual needs to realize the purpose of embodiment of the present invention scheme。
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to be that two or more unit are integrated in a unit。Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ the form of SFU software functional unit realizes。
The above; it is only the specific embodiment of the present invention; but protection scope of the present invention is not limited thereto; any those familiar with the art is in the technical scope that the invention discloses; can readily occurring in amendment or the replacement of various equivalence, these amendments or replacement all should be encompassed within protection scope of the present invention。Therefore, protection scope of the present invention should be as the criterion with scope of the claims。

Claims (16)

1. the method for a path switching, it is characterised in that including:
After connecting the main path fault of first network node and the second network node, determine when described main path recovers, postpone sending data by described main road radially described second network node, continue through backup path and send data to described second network node, wherein, described backup path is data transfer path current between described first network node and described second network node;
From determining the recovery of described main path after time delay, stop sending data by described backup path to described second network node, and begin through described main road radially described second network node transmission data。
2. method according to claim 1, it is characterised in that described method also includes:
Route table items according to network node each on described main path issues the time, arranges described time delay, makes to be not less than described time delay the route table items of arbitrary network node on described main path and issues the time。
3. method according to claim 1 and 2, it is characterised in that described postponement sends data by described main road radially described second network node, continues through backup path and includes to the second network node transmission data:
First overhead value, second overhead value more than described backup path of described main path is set, to postpone sending data by described main road radially described second network node, continues through described backup path and send data to described second network node。
4. method according to claim 3, it is characterised in that described stopping sends data by described backup path to described second network node, and begin through described main road radially described second network node and send data and include:
Arrange the 3rd overhead value of described main path less than described backup path to the second overhead value, to stop sending data by described backup path to described second network node, and begin through described main road radially described second network node and send data。
5. method according to claim 4, it is characterised in that described 3rd overhead value is the acquiescence overhead value of described main path。
6. method according to claim 1 and 2, it is characterised in that described postponement sends data by described main road radially described second network node, continues through backup path and includes to the second network node transmission data:
First priority, second priority lower than described backup path of described main path is set, to postpone sending data by described main road radially described second network node, continues through described backup path and send data to described second network node。
7. method according to claim 6, it is characterised in that described stopping sends data by described backup path to described second network node, and is included by described main road radially described second network node transmission data:
The third priority second priority higher than described backup path of described main path is set, to stop sending data by described backup path to described second network node, and begins through described main road radially described second network node transmission data。
8. method according to claim 7, it is characterised in that described third priority is the default priority by described main path。
9. the network node for path switching, it is characterised in that including:
Determine unit, for after connecting the main path fault of first network node and the second network node, it is determined that described main path recovers;
First switching treatmenting unit, for described determine that unit determines that described main path recovers time, postpone sending data by described main road radially described second network node, continue through backup path and send data to described second network node, wherein, described backup path is data transfer path current between described first network node and described second network node;And
From determining the recovery of described main path after time delay, stop sending data by described backup path to described second network node, and begin through described main road radially described second network node transmission data。
10. network node according to claim 9, it is characterised in that described switching treatmenting unit includes:
First arranges unit, for issuing the time according to the route table items of network node each on described main path, arranges described time delay, makes to be not less than described time delay the route table items of arbitrary network node on described main path and issues the time。
11. the network node according to claim 9 or 10, it is characterised in that described switching treatmenting unit also includes:
Second arranges unit, for arranging first overhead value, second overhead value more than described backup path of described main path, to postpone sending data by described main road radially described second network node, continue through described backup path and send data to described second network node。
12. network node according to claim 11, it is characterized in that, described second arranges unit is additionally operable to arrange the 3rd overhead value second overhead value less than described backup path of described main path, to stop sending data by described backup path to described second network node, and begin through described main road radially described second network node transmission data。
13. network node according to claim 12, it is characterised in that described 3rd overhead value is the acquiescence overhead value of described main path。
14. the network node according to claim 9 or 10, it is characterized in that, described switching treatmenting unit also includes: the 3rd arranges unit, for arranging first priority, second priority lower than described backup path of described main path, to postpone sending data by described main road radially described second network node, continue through described backup path and send data to described second network node。
15. network node according to claim 14, it is characterized in that, described 3rd arranges unit is additionally operable to arrange the third priority second priority higher than described backup path of described main path, to stop sending data by described backup path to described second network node, and begin through described main road radially described second network node transmission data。
16. network node according to claim 15, it is characterised in that described third priority is the default priority of described main path。
CN201410705752.8A 2014-11-27 2014-11-27 Path switching method and network nodes Pending CN105704022A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410705752.8A CN105704022A (en) 2014-11-27 2014-11-27 Path switching method and network nodes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410705752.8A CN105704022A (en) 2014-11-27 2014-11-27 Path switching method and network nodes

Publications (1)

Publication Number Publication Date
CN105704022A true CN105704022A (en) 2016-06-22

Family

ID=56230387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410705752.8A Pending CN105704022A (en) 2014-11-27 2014-11-27 Path switching method and network nodes

Country Status (1)

Country Link
CN (1) CN105704022A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107968748A (en) * 2016-10-20 2018-04-27 华为技术有限公司 The method and device that a kind of multichannel run-off is sent
CN109743251A (en) * 2019-02-28 2019-05-10 新华三技术有限公司 Route control method and device
CN109845321A (en) * 2016-10-11 2019-06-04 瑞典爱立信有限公司 Data transmission during switching
WO2019174454A1 (en) * 2018-03-13 2019-09-19 中兴通讯股份有限公司 Link recovery method and device, system, storage medium, and electronic device
WO2023184269A1 (en) * 2022-03-30 2023-10-05 新华三技术有限公司 Path switching method and apparatus, device, and machine readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150587A (en) * 2007-10-24 2008-03-26 华为技术有限公司 A method, device and system for traffic switching of multi-protocol label switching traffic engineering
CN101621497A (en) * 2008-06-30 2010-01-06 华为技术有限公司 Method and system for service protection in multiple layers of networks
CN101645848A (en) * 2009-09-04 2010-02-10 华为技术有限公司 Method, device and system for protecting flow
CN102271058A (en) * 2011-08-09 2011-12-07 中兴通讯股份有限公司 Multi-path service protecting method and device
CN102355363A (en) * 2011-08-12 2012-02-15 中兴通讯股份有限公司 Method and apparatus for automatic protection switching
CN103401779A (en) * 2013-07-15 2013-11-20 福建星网锐捷网络有限公司 Message forwarding path switching method, device and network equipment
US20140146663A1 (en) * 2012-11-27 2014-05-29 Infinera Corp. Multi-Level Recovery in Transport Networks

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150587A (en) * 2007-10-24 2008-03-26 华为技术有限公司 A method, device and system for traffic switching of multi-protocol label switching traffic engineering
CN101621497A (en) * 2008-06-30 2010-01-06 华为技术有限公司 Method and system for service protection in multiple layers of networks
CN101645848A (en) * 2009-09-04 2010-02-10 华为技术有限公司 Method, device and system for protecting flow
CN102271058A (en) * 2011-08-09 2011-12-07 中兴通讯股份有限公司 Multi-path service protecting method and device
CN102355363A (en) * 2011-08-12 2012-02-15 中兴通讯股份有限公司 Method and apparatus for automatic protection switching
US20140146663A1 (en) * 2012-11-27 2014-05-29 Infinera Corp. Multi-Level Recovery in Transport Networks
CN103401779A (en) * 2013-07-15 2013-11-20 福建星网锐捷网络有限公司 Message forwarding path switching method, device and network equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109845321A (en) * 2016-10-11 2019-06-04 瑞典爱立信有限公司 Data transmission during switching
CN107968748A (en) * 2016-10-20 2018-04-27 华为技术有限公司 The method and device that a kind of multichannel run-off is sent
WO2019174454A1 (en) * 2018-03-13 2019-09-19 中兴通讯股份有限公司 Link recovery method and device, system, storage medium, and electronic device
CN110278094A (en) * 2018-03-13 2019-09-24 中兴通讯股份有限公司 Link restoring method and device, system, storage medium, electronic device
CN110278094B (en) * 2018-03-13 2022-09-27 中兴通讯股份有限公司 Link recovery method, device, system, storage medium and electronic device
CN109743251A (en) * 2019-02-28 2019-05-10 新华三技术有限公司 Route control method and device
CN109743251B (en) * 2019-02-28 2021-06-29 新华三技术有限公司 Routing control method and device
WO2023184269A1 (en) * 2022-03-30 2023-10-05 新华三技术有限公司 Path switching method and apparatus, device, and machine readable storage medium

Similar Documents

Publication Publication Date Title
CN105704022A (en) Path switching method and network nodes
CN103067277B (en) Set up and control the method for passage, forwarding unit and control equipment
EP2744167A1 (en) Method, apparatus and system for generating label forwarding table in ring topology
CN105915400A (en) Data stream switching method and system
CN104426731A (en) A method and device for computing a spanning tree
CN104468208A (en) Detection and recovery method and device for communication faults
CN104767665A (en) Ring communication network master station redundancy method, device and system
CN104410570A (en) VRRP (virtual router redundancy protocol) based data transmission method and device
CN100421423C (en) Central router based on serial Rapid 10 bus
CN104639437A (en) Forwarding method and apparatus of broadcast messages in stack system
EP2802105B1 (en) Method, device, and system for convergence of dual-uplink tangent ring
CN103441940A (en) Method and device for switching network device from stand-by state to main state and network device
CN105656776A (en) Pseudo-wire dual-homing protection switching system, method and device
EP3255838A1 (en) Method, switching device and network controller for protecting links in software-defined network (sdn)
CN104702498A (en) Method and device for reducing the number of optical connections through coordination protection
CN105264799B (en) Method, node and the control equipment of pretection switch
CN104702431A (en) Double-breakage protection method and double-breakage protection device for virtual private network
EP3232617B1 (en) Protection switching method and system, and nodes
CN103684955B (en) Method, device and system for determining path where looped network breaks down
CN107018072B (en) data frame sending method and access equipment
CN111756588B (en) Communication link detection method and related device
CN111327524B (en) Flow forwarding method and system, SDN controller and computer readable storage medium
CN102857423A (en) Service flow transferring method and node in distributed link polymerization system
CN106817302B (en) Method and device for realizing coordination switching between two-layer virtual private network and three-layer virtual private network
EP2953294B1 (en) Protection switching method, system, and node

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160622

RJ01 Rejection of invention patent application after publication