CN111064661B - Routing protocol data transmission method with backup path in grouping equipment - Google Patents

Routing protocol data transmission method with backup path in grouping equipment Download PDF

Info

Publication number
CN111064661B
CN111064661B CN201911371914.8A CN201911371914A CN111064661B CN 111064661 B CN111064661 B CN 111064661B CN 201911371914 A CN201911371914 A CN 201911371914A CN 111064661 B CN111064661 B CN 111064661B
Authority
CN
China
Prior art keywords
path
candidate
cost
node
taking
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
CN201911371914.8A
Other languages
Chinese (zh)
Other versions
CN111064661A (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.)
Hangzhou Cncr Information Technology Co ltd
Original Assignee
Hangzhou Cncr Information Technology 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 Hangzhou Cncr Information Technology Co ltd filed Critical Hangzhou Cncr Information Technology Co ltd
Priority to CN201911371914.8A priority Critical patent/CN111064661B/en
Publication of CN111064661A publication Critical patent/CN111064661A/en
Application granted granted Critical
Publication of CN111064661B publication Critical patent/CN111064661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Abstract

The invention discloses a routing protocol data transmission method with a backup path in grouping equipment. Computing backup routes for network conditions at the time of failure can result in a disruption of communications. The invention is as follows: firstly, creating a directed connected graph; II, connecting the source node V0Transmission to node ViEach path of (a) into a candidate set Bi. Fourthly, taking a candidate set BiTaking the path with the minimum intermediate cost value as the main path xi. Fifthly, taking a candidate set BiTaking the path with the second smallest cost value as a candidate standby path yi(ii) a Sixthly, if the alternative path y is availableiIf the requirement is satisfied, the candidate alternate path y isiAs a final backup path yi(ii) a Otherwise, the candidate alternate path y is replacedi. The invention can calculate the standby path in advance when the fault does not occur, thereby ensuring that the path switching can be completed immediately when the fault occurs and reducing the loss caused by the fault to the minimum.

Description

Routing protocol data transmission method with backup path in grouping equipment
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a routing protocol data transmission method with a backup path in packet-based equipment.
Background
The SPF algorithm refers to taking a local router as a root (root) to calculate the distance to each destination router, each router calculates the topology structure diagram of the routing domain according to a unified database, the structure diagram is similar to a tree, in the SPF algorithm, called shortest path tree, the SPF algorithm is the basis of the OSPF routing protocol.
The realization of the rapid recovery of a fault IP network on the basis of rapid fault detection is crucial to the realization of high reliability of network services, and the main solution to the problem in the industry at present is to calculate a backup route for the network condition during fault; however, the process of calculating the backup route may cause a communication interruption.
In order to realize the calculation of the route backup path, the common mode in the industry at present is realized by technologies such as loop-free path replacement, heavy address configuration, interface selection forwarding and the like; the loop-free replacement path has higher requirement on the network topology, can not realize the fault resolution of all network types, and has the protection rate of about 60 percent according to statistical analysis; the calculation amount of the re-address configuration route is large, one SPF calculation needs to be performed for each NVA address in the network independently, the data volume is large, an IGP protocol needs to be expanded, the message forwarding needs to increase the encapsulation and decapsulation processes, and the implementation is complex; interface selection forwarding requires maintaining different forwarding tables on each interface board, and is complex to implement in a traditional packetization device (distributed architecture design) and poor in stability.
Disclosure of Invention
The invention aims to provide a routing protocol data transmission method with a backup path in a grouping device in the grouping device.
The method comprises the following specific steps:
step one, determining a source node V0And building a node set V ═ V0,V1,…,Vn-1}. Creating a directed connected graph; the directed connected graph G is composed of n nodes and edges E between the nodes that communicate with each other.
And step two, assigning 1 to i.
Step three, the source node V is connected0Transmission to node ViEach path of (a) into a candidate set Bi
Step four, respectively calculating a candidate set BiCost values for each path within. Get candidate set BiTaking the path with the minimum intermediate cost value as the main path xi
Step five, taking a candidate set BiTaking the path with the second smallest cost value as a candidate standby path yi(ii) a And then entering step six.
Step six, if the candidate alternate path yiIf the following two conditions are satisfied simultaneously, the candidate backup path y is determinediAs a final backup path yiEntering the step seven; otherwise, the candidate alternate path y isiFrom candidate set BiAnd (5) deleting and re-executing the step five.
Conditional ① finding primary path xiAnd candidate alternate path yiAre not crossed.
Condition ② relationship cost (x)i)+cost(z)>cost(yi)-cost (z) holds; wherein, cost (x)i) Is a primary path xiAn overhead value of; cost (x)i) Is a primary path xiAn overhead value of; cost (y)i) As candidate alternate path yiThe overhead value of (c). cost (z) is the candidate alternate path yiSecond node V ofzAnd source node V0The path overhead in between.
Step seven, if i is less than n-1, increasing i by 1, and repeatedly executing the steps three to six; otherwise, go to step eight.
Step eight, source node V0Communicating with each node through a corresponding main path; when source node V0When the main path between the source node and a node is interrupted due to fault, the source node V0And keeping the communication smooth by utilizing the corresponding standby path.
Preferably, the routing protocol data transmission method with the backup path is used in the OSPF routing protocol.
Preferably, the directed connected graph is obtained by an SPF sub-optimal algorithm.
The invention has the beneficial effects that:
1. the invention can calculate the standby path in advance when the fault does not occur, thereby ensuring that the path switching can be completed immediately when the fault occurs and reducing the loss caused by the fault to the minimum.
2. The invention considers the influence possibly brought by the fault of the main path when calculating the standby path, and ensures the reliability of the standby path calculated in advance.
3. The invention considers the possible occurrence of micro-ring phenomenon when calculating the standby path, and avoids the possible occurrence of network storm when the standby path is used.
Detailed Description
The present invention is further described below.
A routing protocol data transmission method with a backup path in a grouping device specifically comprises the following steps:
step one, the device (Router Lsa) is used as a source node V0. N routers in a transmission network constitute a node V ═ V0,V1,…,Vn-1}. Establishing and creating a directed connected graph G (V, E) for n nodes in a transmission network according to an SPF suboptimal algorithm; the directed connected graph G is composed of n nodes and edges E between the nodes that communicate with each other. If node ViAnd node VjCommunication, then connecting node ViAnd node VjIs denoted as edge Eij. Edge EijIs denoted as Wij. Source node V0P for total path set with k hops to other nodeskAnd (4) showing. Source node V0A path to a node is composed of a plurality of edges that are adjacent in sequence.
And step two, assigning 1 to i, and then executing step three.
Step three, using the node ViAs target nodes, collecting the total paths PkThe middle target node is a node ViJoining the initially empty set of candidates Bi
Step four, respectively calculating a candidate set BiThe cost value of each path in the path, and a candidate set BiThe paths in the path are sorted from small to large according to the overhead value. Get candidate set BiTaking the path with the minimum intermediate cost value as the main path xi. The cost value of a path is the sum of the path costs of the edges that make up the path.
Step five, taking a candidate set BiThe path with the second smallest (i.e. the second smallest) cost value is used as the candidate backup path yi(ii) a And then entering step six.
Step six, if the candidate alternate path yiIf the following two conditions are satisfied simultaneously, the candidate backup path y is determinediAs a final backup path yiEntering the step seven; otherwise, the candidate alternate path y isiFrom candidate set BiDeleting, and re-executing step five to select new candidate backup path yi
Conditional ① finding primary path xiAnd candidate alternate path yiAre not intersected (i.e. the main path x)iAnd candidate alternate path yiNot going through the same node). This condition is used to ensure that,primary path xiMust not affect the use of the backup path.
Condition ② relationship cost (x)i)+cost(z)>cost(yi) -cost (z) holds; wherein, cost (x)i) Is a primary path xiAn overhead value of; cost (x)i) Is a primary path xiAn overhead value of; cost (y)i) As candidate alternate path yiThe overhead value of (c). cost (z) is the candidate alternate path yiSecond node V ofz(direct connection Source node V0Node(s) and source node V0Edge E between0zThe path overhead of (c). This condition is used to avoid the occurrence of micro-loops, thereby preventing the occurrence of network storms.
Step seven, if i is less than n-1, increasing i by 1, and repeatedly executing the steps three to six, thereby completing the path planning from the source node to the other nodes; otherwise, go to step eight.
Step eight, source node V0Communicating with each node through a corresponding main path; when source node V0When the main path between the upper computer and one node is interrupted due to faults, the upper computer controls a source node V0And keeping the communication smooth by utilizing the corresponding standby path.
As a preferred technical scheme: the routing protocol data calculation method with the backup path is used in an OSPF routing protocol.

Claims (1)

1. A routing protocol data transmission method with a backup path in a grouping device is characterized in that: step one, determining a source node V0And building a node set V ═ V0,V1,...,Vn-1}; creating a directed connected graph; the directed connected graph G consists of n nodes and edges E among the nodes which are communicated with each other;
assigning 1 to i;
step three, the source node V is connected0Transmission to node ViEach path of (a) into a candidate set Bi
Step four, respectively calculating a candidate set BiCost values of each path within; taking a candidate setBiTaking the path with the minimum intermediate cost value as the main path xi
Step five, taking a candidate set BiTaking the path with the second smallest cost value as a candidate standby path yi(ii) a Then, entering a step six;
step six, if the candidate alternate path yiIf the following two conditions are satisfied simultaneously, the candidate backup path y is determinediAs a final backup path yiEntering the step seven; otherwise, the candidate alternate path y isiFrom candidate set BiDeleting and re-executing the step five;
conditional ① finding primary path xiAnd candidate alternate path yiAre not crossed;
condition ② relationship cost (x)i)+cost(z)>cost(yi) -cost (z) holds; wherein, cost (x)i) Is a primary path xiAn overhead value of; cost (y)i) As candidate alternate path yiAn overhead value of; cost (z) is the candidate alternate path yiSecond node V ofzAnd source node V0Path overhead in between;
step seven, if i is less than n-1, increasing i by 1, and repeatedly executing the steps three to six; otherwise, entering step eight;
step eight, source node V0Communicating with each node through a corresponding main path; when source node V0When the main path between the source node and a node is interrupted due to fault, the source node V0And keeping the communication smooth by utilizing the corresponding standby path.
CN201911371914.8A 2019-12-26 2019-12-26 Routing protocol data transmission method with backup path in grouping equipment Active CN111064661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911371914.8A CN111064661B (en) 2019-12-26 2019-12-26 Routing protocol data transmission method with backup path in grouping equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911371914.8A CN111064661B (en) 2019-12-26 2019-12-26 Routing protocol data transmission method with backup path in grouping equipment

Publications (2)

Publication Number Publication Date
CN111064661A CN111064661A (en) 2020-04-24
CN111064661B true CN111064661B (en) 2020-10-16

Family

ID=70302702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911371914.8A Active CN111064661B (en) 2019-12-26 2019-12-26 Routing protocol data transmission method with backup path in grouping equipment

Country Status (1)

Country Link
CN (1) CN111064661B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1529518A (en) * 2002-08-30 2004-09-15 ���Ͽع����޹�˾ Constraint-based shortest path first method for dynamically switched optical transport networks
WO2012155936A1 (en) * 2011-05-17 2012-11-22 Telefonaktiebolaget L M Ericsson (Publ) Protection for distributed radio access networks
CN103873364A (en) * 2012-12-11 2014-06-18 清华大学 Inter-domain multi-path rooting implementation method
CN105407516A (en) * 2015-10-23 2016-03-16 中国人民解放军总参谋部第六十三研究所 Multi-hop ad-hoc-network anti-interference routing method based on link quality factor
CN106506357A (en) * 2016-12-06 2017-03-15 国网河南省电力公司信息通信公司 A kind of double route collocation method of power telecom network and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1529518A (en) * 2002-08-30 2004-09-15 ���Ͽع����޹�˾ Constraint-based shortest path first method for dynamically switched optical transport networks
WO2012155936A1 (en) * 2011-05-17 2012-11-22 Telefonaktiebolaget L M Ericsson (Publ) Protection for distributed radio access networks
CN103873364A (en) * 2012-12-11 2014-06-18 清华大学 Inter-domain multi-path rooting implementation method
CN105407516A (en) * 2015-10-23 2016-03-16 中国人民解放军总参谋部第六十三研究所 Multi-hop ad-hoc-network anti-interference routing method based on link quality factor
CN106506357A (en) * 2016-12-06 2017-03-15 国网河南省电力公司信息通信公司 A kind of double route collocation method of power telecom network and device

Also Published As

Publication number Publication date
CN111064661A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
EP2614618B1 (en) Automated traffic engineering for multi-protocol label switching (mpls) with link utilization as feedback into the tie-breaking mechanism
EP2614615B1 (en) Automated traffic engineering for 802.1aq based upon the use of link utilization as feedback into the tie-breaking mechanism
JP6117911B2 (en) Optimization of 3-stage folded CLOS for 802.1AQ
US9210071B2 (en) Automated traffic engineering for fat tree networks
US8040906B2 (en) Utilizing betweenness to determine forwarding state in a routed network
Filsfils et al. Loop-free alternate (LFA) applicability in service provider (SP) networks
CN103414644B (en) Method that list item issues and controller
CN102377680B (en) Route convergence method and device
CN103703727A (en) Method and apparatus for resilient routing of control traffic in a split-architecture system
KR20150030644A (en) Tie-breaking in shortest path determination
CN103078796B (en) A kind of route computing method and equipment
CN111064661B (en) Routing protocol data transmission method with backup path in grouping equipment
CN107733719B (en) Software defined survivable network lossless path recovery method
Wang et al. Fast recovery for single link failure with segment routing in SDNs
CN107302500B (en) Single-node fault protection method based on hop-by-hop mode
CN101030814B (en) Method for protecting and restoring packet service channel in ASON network
CN105282044A (en) Network multi-path implementation method and system based on OpenFlow protocol
Pal et al. A framework for fast IP rerouting
CN113810276A (en) Segment routing fault processing method and device, electronic equipment and storage medium
WO2005015834A1 (en) A method of automatic protection switching
Saraph et al. New scheme for IP routing and traffic engineering
CN107809393A (en) A kind of iink load balancing algorithm and device based on SDN
Jiang et al. MTR: Fault tolerant routing in Clos data center network with miswiring links
Xu et al. MPCT: Minimum protection cost tree for IP fast reroute using tunnel
Yuniarto et al. Performance analysis of multipath deployment in software-defined wide area network (SDWAN)

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant