CN104618232A - Wide area network link selecting method and wide area network link selecting device - Google Patents

Wide area network link selecting method and wide area network link selecting device Download PDF

Info

Publication number
CN104618232A
CN104618232A CN201510042558.0A CN201510042558A CN104618232A CN 104618232 A CN104618232 A CN 104618232A CN 201510042558 A CN201510042558 A CN 201510042558A CN 104618232 A CN104618232 A CN 104618232A
Authority
CN
China
Prior art keywords
service
link
message
node
business
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.)
Granted
Application number
CN201510042558.0A
Other languages
Chinese (zh)
Other versions
CN104618232B (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 H3C Technologies Co Ltd
Original Assignee
Hangzhou 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201510042558.0A priority Critical patent/CN104618232B/en
Priority claimed from CN201510042558.0A external-priority patent/CN104618232B/en
Publication of CN104618232A publication Critical patent/CN104618232A/en
Application granted granted Critical
Publication of CN104618232B publication Critical patent/CN104618232B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a wide area network link selecting method and a wide area network link selecting device. The method comprises the steps of: when receiving service packets node discovery preset position the service packets do not carry identification service link, then the node as the first node to identify the type of business service packets; according to the first node the service packet type of business, find the corresponding service link business identity; the first node forwards the service to add the service link identification message service links through which the message to the service default position, and on the business of the business link for forwarding packets, so that: an intermediate node of the traffic on the link, according to the business link service identifies the packet forwarding to the end node. This application reduces the processing load on the node.

Description

Wan business link selecting method and device
Technical field
The application relates to WAN (Wide Area Network, wide area network) technical field, particularly relates to the system of selection of WAN service link and device.
Background technology
Along with the development of WAN network and customer service, under a lot of scene, user needs such as, for the different wide-area network link of different service selection, web business, video traffic etc.Wherein, video traffic often needs the good link of network quality, the network that such as bandwidth is larger, the network that delay variation is less; Web business then can use the link that network quality is general.As Fig. 1, video flowing needs to select link router1->router3->router5-Gr eatT.GreaT.GTrouter7->router8, and web stream needs to select link router1->router3->router2-Gr eatT.GreaT.GTrouter8.
Current modal router wide-area network link selection scheme is exactly policybased routing, i.e. identification services on the router, and according to recognition result, different Business Streams is sent to different interfaces.Such as in FIG, need collocation strategy route on router3, identify that video flowing and web flow, and by video stream to router5, and web stream is sent to router2.Also need to carry out similar configuration simultaneously on other associated router, such as, need collocation strategy route on router2, identify Web stream, and Web stream is sent to router8, instead of router5.
Summary of the invention
The application provides the system of selection of WAN service link and device.
The technical scheme of the application is achieved in that
A kind of wan business link selecting method, described method comprises:
When the node receiving service message finds that the predetermined position of this service message does not carry service link mark, then this node is as the type of service of service message described in first node recognition;
Described first node, according to the type of service of this service message, searches the service link mark that this business is corresponding;
Described first node by forward this service message the described service link mark of service link of process add the predetermined position of this service message to, and on this service link, this service message is forwarded, to make: the intermediate node on this service link, according to this service link mark, this service message is forwarded to tail node.
A kind of wan business link selecting method, comprising:
Node receives message from service link, obtains the incoming interface mark of described message;
When described node finds that the predetermined position of this message carries service link mark, and when the service link found entrained by this message identifies and described incoming interface identifies corresponding next-hop ip address, then this node is as intermediate node, forwards this message according to described next-hop ip address;
When described node finds that the predetermined position of this message carries service link mark, and when the service link do not found entrained by this message identifies and described incoming interface identifies corresponding next-hop ip address, then this node processes this message as tail node.
A kind of wan business link selection device, be positioned on wide area network node, this device comprises:
Type of service identification module: when receiving service message, when finding that the predetermined position of this service message does not carry service link mark, then using the type of service of this node as service message described in first node recognition;
Message repeating processing module: according to the type of service of described service message, search the service link mark that this business is corresponding, by forward this service message the described service link mark of service link of process add the predetermined position of this service message to, and on this service link, this service message is forwarded, to make: the intermediate node on this service link, according to this service link mark, this service message is forwarded to tail node.
A kind of wan business link selection device, be positioned on wide area network node, this device comprises:
Message receiver module: receive message from service link, obtains the incoming interface mark of described message;
Message processing module (MPM): when finding that the predetermined position of described message carries service link mark, and when the service link found entrained by described message identifies and described incoming interface identifies corresponding next-hop ip address, then using this node as intermediate node, according to described next-hop ip address, described message is forwarded; When finding that the predetermined position of described message carries service link mark, and when the service link do not found entrained by described message identifies and described incoming interface identifies corresponding next-hop ip address, then this node is processed as tail node described message.
Visible, in the application, only need the first node of service link to carry out traffic identification, reduce the processing load of node device.
Accompanying drawing explanation
Fig. 1 is the exemplary plot that different Business Streams selects different network links;
The WAN service link system of selection flow chart that Fig. 2 provides for the application one embodiment;
The WAN service link system of selection flow chart that Fig. 3 provides for another embodiment of the application;
The WAN service link system of selection flow chart that Fig. 4 provides for the another embodiment of the application;
Fig. 5 is the format sample figure of the IP heading option of the embodiment of the present application definition;
The WAN service link main/standby switching method flow chart that Fig. 6 provides for the embodiment of the present application;
The composition schematic diagram of the WAN service link choice device that Fig. 7 provides for the application one embodiment;
The hardware configuration schematic diagram of the node device that Fig. 8 provides for the application one embodiment;
The composition schematic diagram of the WAN service link choice device that Fig. 9 provides for another embodiment of the application;
The hardware configuration schematic diagram of the node device that Figure 10 provides for another embodiment of the application.
Embodiment
Applicant carries out analysis to existing policy routing realizing service link selection scheme and finds:
Need all identification services stream on the router of all collocation strategy routes.As Fig. 1, need on the routers such as router1, router3, router5, router2, identify video flowing and web stream.For the port numbers that those are not fixed, need to rely on application characteristic to carry out the business (such as some speech businesses) of traffic identification, then require that the router of being correlated with all has the traffic identification ability of this degree of depth, this functional requirement for equipment is higher, hinders scheme application in practice.
For convenience of understanding, first provide following explanation:
There are three category nodes: service link first node, service link tail node and the service link intermediate node between service link initial and end node in service link.
The WAN service link system of selection flow chart that Fig. 2 provides for the application one embodiment, its concrete steps are as follows:
Step 201: when the node receiving service message finds that the predetermined position of this service message does not carry service link mark, then this node is as the type of service of first this service message of node recognition.
Step 202: this first node, according to the type of service of this service message, searches the service link mark that this business is corresponding.
Step 203: this first node by forward this service message the service link mark of service link of process add the predetermined position of this service message to, and on this service link, this service message is forwarded, to make: the intermediate node on this service link, according to this service link mark, this service message is forwarded to tail node.
Preferably, service link comprises business primary link and service backup link, preserves the incidence relation of business primary link mark and service backup link identification in first node.
Preferably, in step 203, this first node by forward this service message the service link mark of service link of process add the predetermined position of this service message to, and on this service link, this service message to be forwarded, comprising:
First node adds business primary link mark the predetermined position of this service message to, and forwards this service message on business primary link;
First node checks identifies with this business primary link the service backup link identification be associated;
First node on service backup link, timed sending probe messages, wherein, the predetermined position of probe messages carry send this probe messages the service link mark of service link of process.
It should be noted that, the service link entrained by the predetermined position of probe messages identifies link selected when being decided by this probe messages of this forwarding.Such as, when first node needs to send probe messages to tail node on business primary link, then the service link entrained by this probe messages is designated the link identification of business primary link; And when first node needs to send probe messages to tail node on service backup link, then the service link entrained by this probe messages is designated the link identification of service backup link.
Preferably, first node by forward this service message the service link mark of service link of process add the predetermined position of this service message to, and after this service message being forwarded on this service link, also to comprise:
First node receives service message or the probe messages of tail node transmission from business backup link, and when not receiving from business primary link the service message that tail node sends in preset duration, then confirm this business primary link failure, sent the service message being added with service backup link identification by service backup chain road direction tail node;
Send service message from business backup link to tail node when first time, or when first time receives service message or the probe messages of tail node transmission from business backup link, then first node is on business primary link, and timing sends probe messages to tail node.
Preferably, first node, after this business primary link failure of confirmation, also comprises:
When receiving service message or the probe messages of tail node transmission from business primary link, then first node confirms that business primary link recovers, and is sent the service message being added with business primary link mark by business primary link to tail node.
Preferably, node is the equipment with three layers of transfer capability, as: router, three-tier switch etc.
It should be noted that, in the application, the first node of service link, intermediate node, tail node are for type of service, and the first node of service link corresponding to dissimilar business, tail node may be identical, also may be different; That is, node may while the first node of service link as A business, as the service link intermediate node of B business, with as the service link tail node of C business.
The WAN service link system of selection flow chart that Fig. 3 provides for another embodiment of the application, its concrete steps are as follows:
Step 301: node receives message from service link, obtains the incoming interface mark of this message.
Step 302: when this node finds that the predetermined position of this message carries service link mark, and when the service link found entrained by this message identifies and incoming interface identifies corresponding next-hop ip address, then this node is as intermediate node, forwards this message according to this next-hop ip address; When this node finds that the predetermined position of this message carries service link mark, and when the service link mark do not found entrained by this message and this incoming interface identify corresponding next-hop ip address, then this node processes this message as tail node.
Preferably, service link comprises business primary link and service backup link, and service link mark comprises business primary link mark and service backup link identification;
And message comprises first node and is sent to the probe messages that the service message of tail node and first node are sent to tail node, wherein, probe messages carry send this probe messages the service link mark of service link of process.
Preferably, in step 302, this node processes this message as tail node, comprising:
When receiving probe messages from business backup link, and when not receiving from business primary link the service message that first node sends in preset duration, then tail node confirms this business primary link failure;
After tail node confirms this business primary link failure, also comprise:
When existence needs to be sent to the service message of first node by service backup link, then tail node adds service backup link identification in the predetermined position of the service message being sent to first node, and forwards this service message on this service backup link;
When do not exist need to be sent to the service message of first node by service backup link time, then tail node sends probe messages by the first node of service backup chain road direction.
Preferably, also comprise after tail node confirms this business primary link failure:
When tail node receives service message or probe messages from business primary link, then confirm that business primary link recovers;
When existence needs to be sent to the service message of first node by business primary link, then tail node adds business primary link mark in the predetermined position of the service message being sent to first node, and forwards this service message on this business primary link;
When do not exist need to be sent to the service message of first node by business primary link time, then tail node sends probe messages by business primary link to first node.
The WAN service link system of selection flow chart that Fig. 4 provides for the another embodiment of the application, its concrete steps are as follows:
Step 401: for each class business, according to the service link of such pre-configured business, on the first node of this service link, configuration service link instructs list item, and this list item comprises: the incidence relation of the next-hop ip address of this type of service mark, this business primary link mark and this service link; On the intermediate node of this service link, configuration service link instructs list item, and this list item comprises: the incidence relation of the incoming interface mark of this business primary link mark, this business, the next-hop ip address of this service link.
Still for Fig. 1, still set:
The service link of video traffic is: router1->router3->router5-Gr eatT.GreaT.GTrouter7->router8;
The service link of web business is: router1->router3->router2-Gr eatT.GreaT.GTrouter8.
By two configuration orders in the enterprising line correlation configuration of each router of service link process, article one, be service pathID (service link information), for configuration service primary link mark and next-hop ip address, another is serviceclassify pathID (distinguishing the service link of different business), for associated services type and business primary link.Particularly:
Router1 is video traffic configuration service link 1, and the next hop router IP address of specified services link 1, be web business configuration service link 2 simultaneously, and the next hop router IP address of specified services link 2.Concrete configuration is as follows:
[router1] service pathID 1 (service link 1)
The IP address (down hop of service link 1 is the IP address of router three) of [pathID 1] nexthop router3
[router1] service pathID 2 (service link 2)
The IP address (down hop of service link 2 is the IP address of router three) of [pathID 2] nexthop router3
[router1] serviceclassify video pathID 1 (the corresponding video traffic of service link 1)
[router1] serviceclassify web pathID 2 (the corresponding web business of service link 2)
Intermediate router configures similar, but associate with service link without the need to configuration service type.Such as on router3, configure as follows:
[router3] service pathID 1 (service link 1)
[pathID 1] nexthop router5IP ethernet 1/1 (when the incoming interface of service link 1 is ethernet 1/1, down hop is the IP address of router five)
[pathID 1] next hop router1IP ethernet 1/2 (when the incoming interface of service link 1 is ethernet 1/2, down hop is the IP address of router one)
[router3] service pathID 2 (service link 2)
[pathID 2] nexthop router2IP ethernet 1/1 (when the incoming interface of service link 2 is ethernet 1/1, down hop is the IP address of router two)
[pathID 2] nexthop router1IP ethernet 1/3 (when the incoming interface of service link 2 is ethernet 1/3, down hop is the IP address of router one)
Wherein, setting video traffic and web business are all bidirectional flows here.Specify for pathID 1 (service link 1): if message receives from ethernet1/1, then down hop is the IP address of router5; If message receives from ethernet1/2, then down hop is the IP address of router1.
It should be noted that, in service link tail node, do not need to carry out any configuration, when Business Stream reaches service link tail node, tail node directly carries out forward process according to destination address.In FIG, for video traffic, when video traffic is bidirectional flow, router1, router8 can simultaneously as the first node of service link and tail node, router1, router8 only carry out relevant configuration for during its node first as service link, it should be noted that, router1, router8 are upper when configuration service link identification, due to for be the different directions of same service link, therefore, the service link mark of their configurations is identical, is all service link 1.
Step 402: after node receives service message, if find, the predetermined position of this service message does not carry service link mark, then determine that this node is the first node of service link of this business.
Step 403: the type of service of first this service message of node recognition of service link, the service link preserved at self instructs in list item, find the business primary link mark that this type of service mark is corresponding, this business primary link mark is added to the predetermined position of this service message, and the next-hop ip address in list item is instructed according to service link, this service message is sent.
In the present embodiment, can pre-define a new IP heading option, for carrying service link mark (service pathID), this option comprises: option type, option length and option data field.
Fig. 5 is the format sample figure of the IP heading option of the present embodiment definition, wherein:
Option type: i.e. option type, can value 0xDD;
Option length: i.e. option, can value 4 byte;
Option data: i.e. option data, for carrying service pathID, length can be two bytes.
Still for Fig. 1, if router1 receives service message, and to identify type of service be video traffic, on service message, then add the IP heading option of this new definition, service pathID=1 is carried, to represent that this service message will transmit on service link 1 in the option data of wherein option.
Step 404: service link intermediate node receives this service message, find that the predetermined position of this service message carries service link mark, then according to incoming interface mark and this service link mark of service message, instruct in list item at the service link self preserved and find corresponding next-hop ip address, according to this next-hop ip address, this service message is forwarded.
Still for Fig. 1, router3 receives service message from Ethernet1/1, resolve the IP head of service message, find the option of option type=0xDD, read the option data of this option, obtain servicepathID=1, then finding corresponding down hop according to service pathID=1 and Ethernet1/1 is: the IP address of router 5, then send to router5 by this service message.
Step 405: service link tail node receives this service message, find that the predetermined position of this service message carries service link mark, but according to incoming interface mark and this service link mark of service message, list item is instructed at the service link self not finding correspondence, then confirm from the service link tail node as this business, directly forward process is carried out to this service message.
The WAN service link main/standby switching method flow chart that Fig. 6 provides for the embodiment of the present application, its concrete steps are as follows:
Step 601: for each class business, according to primary link and the backup link of such pre-configured business, the incidence relation that the primary link mark that the first node of this service link configures this business identifies with backup link, and configuration service backup link instructs list item, this list item comprises: the incidence relation between the next-hop ip address of service backup link identification, service backup link; On service backup link intermediate node, configuration service backup link instructs list item, and this service backup link instructs list item to comprise: the incidence relation between the next-hop ip address of service backup link identification, service backup link; Service link tail node configures the business primary link mark of this business and the incidence relation of service backup link identification, and configuration service backup link instructs list item, this service backup link instructs list item to comprise: the incidence relation between the reverse next-hop ip address of service backup link identification, service backup link.
Still for Fig. 1, the backup link being set to service link 1 configuration is service link 20, then except the relevant configuration in step 301, the active/standby backup relation of configuration service link 1 and service link 20 on router1, router8, configuration service backup link 20 instructs list item simultaneously, and on router3, router5, router7, configuration service backup link 20 instructs list item.Wherein, the service backup link 20 of the upper configuration of router8 instructs the next-hop ip address in list item to be reverse next-hop ip address, namely points to the next-hop ip address of the first node of service link.
Visible, the first node of service link configures: the incidence relation of business primary link mark and service backup link identification, and service link corresponding to business primary link instructs list item, and service backup link instructs list item;
Service link intermediate node configures: the business primary link of the intermediate node configuration correspondence on business primary link instructs list item, and the intermediate node configuration service backup link on service backup link instructs list item;
Service link tail node configures: the incidence relation of business primary link mark and service backup link identification, and service backup link instructs list item, wherein, service backup link instructs the next-hop ip address in list item to be reverse next-hop ip address.
It should be noted that, a link can simultaneously as the service backup link of other many service link.Can simultaneously as the backup link of the primary link of video flowing and Web stream for the service backup link in Fig. 1, Fig. 1.
Step 602: service link first node first time, start timing and send probe messages from business backup link, the predetermined position of this probe messages carried service backup link identification from while business primary link sends service message.
Still for Fig. 1, if the backup link of service link 1 is service link 20, while router1 first time sends service message from service link 1, start to send probe messages from service link 20, probe messages has the IP heading option of option type=0xDD, option data:service pathID=20.
It should be noted that, if the first node of service link in preset duration as: to send from business primary link without any service message in 1 second, then stop the detection to service backup link, namely stop sending probe messages from business backup link, until when having again service message will send from business primary link, then start regularly to send probe messages from business backup link.
Step 603: service link tail node first time is from after business primary link receives service message, if receive probe messages continuously from business backup link and do not receive service message from business primary link within a period of time, then confirm business primary link failure, now, if there is reverse service message to send, then add service backup link identification in the predetermined position of this service message, and the next-hop ip address in list item is instructed according to service backup link, this service message is forwarded; Otherwise start timed sending probe messages on service backup link, the predetermined position of probe messages carries service backup link identification.
Still for Fig. 1, router8 is within a period of time, as in 5 seconds, receive continuously and carry IP heading option: option type=0xDD, the probe messages of option data:service pathID=20, and do not receive and carry IP heading option: option type=0xDD, the message of option data:service pathID=1, then confirm service link 1 fault, now, if there is reverse service message to send, then for this service message adds IP heading option: option type=0xDD, option data:servicepathID=20, otherwise, start regularly to send to carry IP heading option: option type=0xDD, the probe messages of optiondata:service pathID=20.
In this step 603, if service backup link is simultaneously as the backup link of other many business primary links, then " if having reverse service message to send " is wherein if the arbitrary class reverse traffic message referring to this service backup link support will send.Still for Fig. 1, service backup link is wherein simultaneously as the backup link of video flowing and Web stream, then " if having reverse service message to send " in this step 603 is if refer to video traffic message or Web service message will send.
Step 604: when service link first node first time sends service message from business primary link, if receive service message from business backup link or receive probe messages continuously and do not receive service message from business primary link within a period of time, then confirm business primary link failure, determine to start the service traffics on business primary link to transfer on service backup link, after this, if there is service message to send, then add service backup link identification in the predetermined position of this service message, and the next-hop ip address in list item is instructed according to service backup link, this service message is forwarded, and send service message when first time from business backup link, or first time is when receiving message from business backup link, structural exploration message, the predetermined position of probe messages carries business primary link mark, the service link preserved at self instructs in list item the next-hop ip address inquiring business primary link, and probe messages sends by the next-hop ip address timing according to this business primary link.
Still for Fig. 1, router1 is within a period of time, as in 5 seconds, receive continuously and carry IP heading option: the probe messages of option type=0xDD, option data:service pathID=20, and do not receive and carry IP heading option: the message of option type=0xDD, option data:service pathID=1, then confirm service link 1 fault, after this, if there is service message to send, then for this service message adds IP heading option: option type=0xDD, option data:service pathID=20; And when starting to occur flow on backup link, start regularly to send to carry IP heading option: the probe messages of optiontype=0xDD, option data:service pathID=1, whether recover to monitor primary link.
Step 605: service link tail node receives service message from business primary link or receives probe messages continuously within a period of time, then confirm that business primary link recovers, determine to start the service traffics on service backup link to return on business primary link, if now there is reverse service message to send, then add business primary link mark in the predetermined position of this service message, list item is instructed to inquire the next-hop ip address of business primary link according to the service link that self preserves, this service message sends by the next-hop ip address according to this business primary link, if now will send without reverse service message, then structural exploration message, the predetermined position of this probe messages carries business primary link mark, instruct list item to inquire the next-hop ip address of business primary link according to the service link that self preserves, this probe messages sends by the next-hop ip address timing according to this business primary link.
Still for Fig. 1, in router8 a period of time after service link 1 fault, as in 5 seconds, receive continuously and carry IP heading option: option type=0xDD, the probe messages of option data:service pathID=1, then confirm that service link 1 recovers, now, as: in 1 second (or shorter time), if there is reverse service message to send, then for this service message adds IP heading option: optiontype=0xDD, option data:service pathID=1, otherwise, start regularly to send to carry IP heading option: option type=0xDD, the probe messages of option data:service pathID=1, to inform that router1 service link 1 recovers.
Step 606: the first node of service link receives service message from business primary link or receives probe messages continuously within a period of time, then confirm that business primary link recovers, determine to start the service traffics on service backup link to return on business primary link, if after this there is service message to send, then add business primary link mark in the predetermined position of this service message, instruct list item to inquire the next-hop ip address of business primary link according to the service link that self preserves, this service message sends by the next-hop ip address according to this business primary link.
Still for Fig. 1, in router1 a period of time after service link 1 fault, as in 5 seconds, receive continuously and carry IP heading option: the probe messages of option type=0xDD, option data:service pathID=1, then confirm that service link 1 recovers, after this, if there is service message to send, then for this service message adds IP heading option: option type=0xDD, option data:servicepathID=1.
The Advantageous Effects of the embodiment of the present application is as follows:
1) only need the first node of service link to carry out traffic identification, reduce the processing load of node device.
2) when service link exists backup link, when detecting link, probe messages, without the need to analog service message, reduces the processing load of node device.
3) when service link exists backup link, when detecting link, when without service traffics, without the need to sending probe messages at business primary link or backup link, the network bandwidth is saved.
The composition schematic diagram of the WAN service link choice device that Fig. 7 provides for the application one embodiment, this device is positioned on WAN node, and this device comprises: type of service identification module and message repeating processing module, wherein:
Type of service identification module: when receiving service message, when finding that the predetermined position of this service message does not carry service link mark, then using the type of service of this node as first this service message of node recognition, this service message and this type of service are sent to message repeating processing module.
Message repeating processing module: the service message sent according to type of service identification module and type of service, search the service link mark that this business is corresponding, by forward this service message the service link mark of service link of process add the predetermined position of this service message to, and on this service link, this service message is forwarded, to make: the intermediate node on this service link, according to this service link mark, this service message is forwarded to tail node.
Preferably, the service link that message repeating processing module is searched comprises business primary link and service backup link, and message repeating processing module preserves the incidence relation of business primary link mark and service backup link identification.
Preferably, message repeating processing module specifically for,
Business primary link mark is added to the predetermined position of this service message, and on business primary link, this service message is forwarded; Search the service backup link identification identifying with business primary link and be associated; On service backup link, timed sending probe messages, wherein, the predetermined position of probe messages carry send this probe messages the service link mark of service link of process.
Preferably, message repeating processing module is further used for,
Service message or the probe messages of tail node transmission is received from business backup link, and when not receiving from business primary link the service message that tail node sends in preset duration, then confirm this business primary link failure, sent the service message being added with service backup link identification by service backup chain road direction tail node; Send service message from business backup link to tail node when first time, or when first time receives service message or the probe messages of tail node transmission from business backup link, then, on business primary link, timing sends probe messages to tail node.
Preferably, message repeating processing module is further used for,
After confirming this business primary link failure, when receiving service message or the probe messages of tail node transmission from business primary link, then confirm that business primary link recovers, and sends the service message being added with business primary link mark to tail node by business primary link.
Described node is the equipment with three layers of transfer capability.
The node device that the embodiment of the present application provides can be the programmable device of software and hardware combining, says from hardware view, and the hardware structure schematic diagram of node device specifically can see Fig. 8.The hardware configuration schematic diagram comprising the node device of WAN service link choice device that Fig. 8 provides for the application one embodiment.This node device comprises: machinable medium, CPU and other hardware, wherein:
Machinable medium: store instruction codes; The operation that described instruction code completes when being performed by CPU is mainly the function that WAN service link choice device completes.
CPU: communicate with machinable medium, reads and performs the described instruction code stored in machinable medium, completing the function that above-mentioned WAN service link choice device completes.
When above-mentioned WAN service link choice device is as device on a logical meaning, it runs computer program instructions corresponding in machinable medium by CPU to be formed.When the computer program instructions of correspondence is performed, the WAN service link choice device of formation is used for performing corresponding operating according to the WAN service link system of selection in above-described embodiment.
Machinable medium can be any electronics, magnetic, optics or other physical storage device, can comprise or storage information, as executable instruction, data, etc.Such as, machinable medium can be: RAM (Radom Access Memory, random access memory), the memory disc (as CD, dvd etc.) of volatile memory, nonvolatile memory, flash memory, memory driver (as hard disk drive), solid state hard disc, any type, or similar storage medium, or their combination.
The composition schematic diagram of the WAN service link choice device that Fig. 9 provides for another embodiment of the application, this device is positioned on WAN node, and this device mainly comprises: message receiver module and message processing module (MPM), wherein:
Message receiver module: receive message from service link, obtains the incoming interface mark of message, and this message and this incoming interface mark are sent to message processing module (MPM).
Message processing module (MPM): when finding that the predetermined position of the message that message receiver module is sent carries service link mark, and the service link mark found entrained by message and the incoming interface sent of message receiver module are when identifying corresponding next-hop ip address, then using this node as intermediate node, according to next-hop ip address, message is forwarded; When finding that the predetermined position of message carries service link mark, and when the service link mark do not found entrained by message and incoming interface identify corresponding next-hop ip address, then this node is processed as tail node message.
Preferably, the service link that message receiver module receives message comprises business primary link and service backup link, and message processing module (MPM) finds that the service link mark that the predetermined position of message is carried comprises business primary link mark and service backup link identification;
The message that message receiver module receives comprises first node and is sent to the probe messages that the service message of tail node and first node are sent to described tail node, wherein, probe messages carry send this probe messages the service link mark of service link of process.
Preferably, this node processes as tail node this message by message processing module (MPM), comprising:
When receiving probe messages from business backup link, and when not receiving from business primary link the service message that first node sends in preset duration, then confirm this business primary link failure;
And, message processing module (MPM) is after this business primary link failure of confirmation, when existence needs to be sent to the service message of first node by service backup link, then add service backup link identification in the predetermined position of the service message being sent to first node, and on this service backup link, this service message is forwarded; When there are not needs and being sent to the service message of first node by described service backup link, then send probe messages by the first node of service backup chain road direction.
Preferably, message processing module (MPM), after this business primary link failure of confirmation, is further used for,
When receiving service message or probe messages from business primary link, then confirm that business primary link recovers; When existence needs to be sent to the service message of first node by business primary link, then add business primary link mark in the predetermined position of the service message being sent to first node, and on this business primary link, this service message is forwarded; When do not exist need to be sent to the service message of first node by business primary link time, then send probe messages by business primary link to described first node.
The hardware configuration schematic diagram comprising the node device of WAN service link choice device that Figure 10 provides for another embodiment of the application.This node device comprises: machinable medium, CPU and other hardware, wherein:
Machinable medium: store instruction codes; The operation that described instruction code completes when being performed by CPU is mainly the function that WAN service link choice device completes.
CPU: communicate with machinable medium, reads and performs the described instruction code stored in machinable medium, completing the function that above-mentioned WAN service link choice device completes.
When above-mentioned WAN service link choice device is as device on a logical meaning, it runs computer program instructions corresponding in machinable medium by CPU to be formed.When the computer program instructions of correspondence is performed, the WAN service link choice device of formation is used for performing corresponding operating according to the WAN service link system of selection in above-described embodiment.
Machinable medium can be any electronics, magnetic, optics or other physical storage device, can comprise or storage information, as executable instruction, data, etc.Such as, machinable medium can be: RAM (Radom Access Memory, random access memory), the memory disc (as CD, dvd etc.) of volatile memory, nonvolatile memory, flash memory, memory driver (as hard disk drive), solid state hard disc, any type, or similar storage medium, or their combination.
Arbitrary machinable medium described by the application can be considered to non-transitory.
The foregoing is only the preferred embodiment of the application, not in order to limit the application, within all spirit in the application and principle, any amendment made, equivalent replacements, improvement etc., all should be included within scope that the application protects.

Claims (18)

1. a wan business link selecting method, is characterized in that, described method comprises:
When the node receiving service message finds that the predetermined position of this service message does not carry service link mark, then this node is as the type of service of service message described in first node recognition;
Described first node, according to the type of service of this service message, searches the service link mark that this business is corresponding;
Described first node by forward this service message the described service link mark of service link of process add the predetermined position of this service message to, and on this service link, this service message is forwarded, to make: the intermediate node on this service link, according to this service link mark, this service message is forwarded to tail node.
2. method according to claim 1, is characterized in that,
Described service link comprises business primary link and service backup link, preserves the incidence relation of described business primary link mark and service backup link identification in described first node.
3. method according to claim 2, it is characterized in that, described first node by forward this service message the service link mark of service link of process add the predetermined position of this service message to, and on this service link, this service message to be forwarded, comprising:
Described first node adds business primary link mark the predetermined position of this service message to, and forwards this service message on described business primary link;
Described first node checks identifies with described business primary link the service backup link identification be associated;
Described first node on described service backup link, timed sending probe messages, wherein, the predetermined position of described probe messages carry send this probe messages the service link mark of service link of process.
4. method according to claim 3, it is characterized in that, described first node by forward this service message the described service link mark of service link of process add the predetermined position of this service message to, and after this service message being forwarded on this service link, also to comprise:
Described first node receives service message or the probe messages of tail node transmission from described service backup link, and when not receiving from described business primary link the service message that described tail node sends in preset duration, then confirm this business primary link failure, sent the service message being added with described service backup link identification by described service backup chain road direction tail node;
From described service backup link, described service message is sent to described tail node when first time, or first time is when receiving service message or the probe messages of described tail node transmission from described service backup link, then described first node is on described business primary link, and timing sends probe messages to described tail node.
5. method according to claim 4, is characterized in that, after this business primary link failure of described confirmation, also comprises:
When receiving service message or the probe messages of the transmission of described tail node from described business primary link, then described first node confirms that described business primary link recovers, and is sent the service message being added with described business primary link mark by described business primary link to tail node.
6. a wan business link selecting method, is characterized in that, comprising:
Node receives message from service link, obtains the incoming interface mark of described message;
When described node finds that the predetermined position of this message carries service link mark, and when the service link found entrained by this message identifies and described incoming interface identifies corresponding next-hop ip address, then this node is as intermediate node, forwards this message according to described next-hop ip address;
When described node finds that the predetermined position of this message carries service link mark, and when the service link do not found entrained by this message identifies and described incoming interface identifies corresponding next-hop ip address, then this node processes this message as tail node.
7. method according to claim 6, is characterized in that, described service link comprises business primary link and service backup link, and described service link mark comprises business primary link mark and service backup link identification;
Described message comprises first node and is sent to the probe messages that the service message of described tail node and first node are sent to described tail node, wherein, described probe messages carry send this probe messages the service link mark of service link of process.
8. method according to claim 7, is characterized in that, this node described processes this message as tail node, comprising:
When receiving probe messages from described service backup link, and when not receiving from described business primary link the service message that first node sends in preset duration, then described tail node confirms this business primary link failure;
After this business primary link failure of described confirmation, described method also comprises:
When there are needs and being sent to the service message of described first node by described service backup link, then described tail node adds service backup link identification in the predetermined position of the service message being sent to described first node, and forwards this service message on this service backup link;
When there are not needs and being sent to the service message of described first node by described service backup link, then described tail node sends probe messages by node first described in described service backup chain road direction.
9. method according to claim 8, is characterized in that, after this business primary link failure of described confirmation, described method also comprises:
When described tail node receives service message or probe messages from described business primary link, then confirm that described business primary link recovers;
When there are needs and being sent to the service message of described first node by described business primary link, then described tail node adds business primary link mark in the predetermined position of the service message being sent to described first node, and forwards this service message on this business primary link;
When there are not needs and being sent to the service message of described first node by described business primary link, then described tail node sends probe messages by described business primary link to described first node.
10. a wan business link selection device, is positioned on wide area network node, it is characterized in that, this device comprises:
Type of service identification module: when receiving service message, when finding that the predetermined position of this service message does not carry service link mark, then using the type of service of this node as service message described in first node recognition;
Message repeating processing module: according to the type of service of described service message, search the service link mark that this business is corresponding, by forward this service message the described service link mark of service link of process add the predetermined position of this service message to, and on this service link, this service message is forwarded, to make: the intermediate node on this service link, according to this service link mark, this service message is forwarded to tail node.
11. devices according to claim 10, is characterized in that,
The service link that described message repeating processing module is searched comprises business primary link and service backup link, and described message repeating processing module preserves the incidence relation of described business primary link mark and service backup link identification.
12. devices according to claim 11, is characterized in that, described message repeating processing module specifically for,
Business primary link mark is added to the predetermined position of this service message, and on described business primary link, this service message is forwarded;
Search and identify with described business primary link the service backup link identification be associated;
On described service backup link, timed sending probe messages, wherein, the predetermined position of described probe messages carry send this probe messages the service link mark of service link of process.
13. devices according to claim 12, is characterized in that, described message repeating processing module is further used for,
Service message or the probe messages of tail node transmission is received from described service backup link, and when not receiving from described business primary link the service message that described tail node sends in preset duration, then confirm this business primary link failure, sent the service message being added with described service backup link identification by described service backup chain road direction tail node;
From described service backup link, described service message is sent to described tail node when first time, or first time is when receiving service message or the probe messages of described tail node transmission from described service backup link, then on described business primary link, timing sends probe messages to described tail node.
14. devices according to claim 13, is characterized in that, described message repeating processing module is further used for,
After confirming this business primary link failure, when receiving service message or the probe messages of the transmission of described tail node from described business primary link, then confirm that described business primary link recovers, sent the service message being added with described business primary link mark by described business primary link to tail node.
15. 1 kinds of wan business link selection devices, be positioned on wide area network node, it is characterized in that, this device comprises:
Message receiver module: receive message from service link, obtains the incoming interface mark of described message;
Message processing module (MPM): when finding that the predetermined position of described message carries service link mark, and when the service link found entrained by described message identifies and described incoming interface identifies corresponding next-hop ip address, then using this node as intermediate node, according to described next-hop ip address, described message is forwarded; When finding that the predetermined position of described message carries service link mark, and when the service link do not found entrained by described message identifies and described incoming interface identifies corresponding next-hop ip address, then this node is processed as tail node described message.
16. devices according to claim 15, it is characterized in that, the service link that described message receiver module receives message comprises business primary link and service backup link, and described message processing module (MPM) finds that the service link mark that the predetermined position of described message is carried comprises business primary link mark and service backup link identification;
The message that described message receiver module receives comprises first node and is sent to the probe messages that the service message of described tail node and first node are sent to described tail node, wherein, described probe messages carry send this probe messages process service link service link mark.
17. devices according to claim 16, is characterized in that, this node processes as tail node this message by described message processing module (MPM), comprising:
When receiving probe messages from described service backup link, and when not receiving from described business primary link the service message that first node sends in preset duration, then confirm this business primary link failure;
And, described message processing module (MPM) is after this business primary link failure of confirmation, when there are needs and being sent to the service message of described first node by described service backup link, then add service backup link identification in the predetermined position of the service message being sent to described first node, and on this service backup link, this service message is forwarded; When there are not needs and being sent to the service message of described first node by described service backup link, then send probe messages by node first described in described service backup chain road direction.
18. devices according to claim 17, is characterized in that, described message processing module (MPM), after this business primary link failure of confirmation, is further used for,
When receiving service message or probe messages from described business primary link, then confirm that described business primary link recovers;
When there are needs and being sent to the service message of described first node by described business primary link, then add business primary link mark in the predetermined position of the service message being sent to described first node, and on this business primary link, this service message is forwarded;
When there are not needs and being sent to the service message of described first node by described business primary link, then send probe messages by described business primary link to described first node.
CN201510042558.0A 2015-01-28 Wan business link selecting method and device Active CN104618232B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510042558.0A CN104618232B (en) 2015-01-28 Wan business link selecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510042558.0A CN104618232B (en) 2015-01-28 Wan business link selecting method and device

Publications (2)

Publication Number Publication Date
CN104618232A true CN104618232A (en) 2015-05-13
CN104618232B CN104618232B (en) 2018-02-09

Family

ID=

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656781A (en) * 2015-11-02 2017-05-10 中兴通讯股份有限公司 Message transmission method, apparatus and system
CN106921532A (en) * 2015-12-25 2017-07-04 中国电信股份有限公司 A kind of performance management method, the device of business catenary system
WO2017193800A1 (en) * 2016-05-09 2017-11-16 中兴通讯股份有限公司 Method and apparatus for implementing qos management
CN107493235A (en) * 2016-06-13 2017-12-19 中兴通讯股份有限公司 A kind of method and apparatus of fast-forwarding message
CN109150720A (en) * 2017-06-19 2019-01-04 中兴通讯股份有限公司 Business chain message forwarding method, device, equipment and computer readable storage medium
CN111698161A (en) * 2020-04-01 2020-09-22 北京华三通信技术有限公司 Message processing method and device
CN114285794A (en) * 2021-12-22 2022-04-05 网宿科技股份有限公司 Message forwarding control method, message transmission network, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101048012A (en) * 2006-06-22 2007-10-03 华为技术有限公司 Method for deciding route at radio mesh network
WO2007140698A1 (en) * 2006-06-08 2007-12-13 Huawei Technologies Co., Ltd. A method for transmitting data and an apparatus, a system there of
CN101350774A (en) * 2008-07-28 2009-01-21 北京邮电大学 Route selection method for intelligent self-perception optical network base on network status

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007140698A1 (en) * 2006-06-08 2007-12-13 Huawei Technologies Co., Ltd. A method for transmitting data and an apparatus, a system there of
CN101048012A (en) * 2006-06-22 2007-10-03 华为技术有限公司 Method for deciding route at radio mesh network
CN101350774A (en) * 2008-07-28 2009-01-21 北京邮电大学 Route selection method for intelligent self-perception optical network base on network status

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656781A (en) * 2015-11-02 2017-05-10 中兴通讯股份有限公司 Message transmission method, apparatus and system
CN106656781B (en) * 2015-11-02 2020-12-11 中兴通讯股份有限公司 Method, device and system for transmitting message
CN106921532A (en) * 2015-12-25 2017-07-04 中国电信股份有限公司 A kind of performance management method, the device of business catenary system
WO2017193800A1 (en) * 2016-05-09 2017-11-16 中兴通讯股份有限公司 Method and apparatus for implementing qos management
CN107493235A (en) * 2016-06-13 2017-12-19 中兴通讯股份有限公司 A kind of method and apparatus of fast-forwarding message
CN109150720A (en) * 2017-06-19 2019-01-04 中兴通讯股份有限公司 Business chain message forwarding method, device, equipment and computer readable storage medium
CN111698161A (en) * 2020-04-01 2020-09-22 北京华三通信技术有限公司 Message processing method and device
CN111698161B (en) * 2020-04-01 2022-09-02 北京华三通信技术有限公司 Message processing method and device
CN114285794A (en) * 2021-12-22 2022-04-05 网宿科技股份有限公司 Message forwarding control method, message transmission network, electronic device and storage medium
CN114285794B (en) * 2021-12-22 2023-08-18 网宿科技股份有限公司 Message forwarding control method, message transmission network, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
WO2016165492A1 (en) Method and apparatus for implementing service function chain
EP1856862B1 (en) System and method for network reachability detection
US7385918B2 (en) Packet protection method and transmission device in ring network, and program therefor
US20160099874A1 (en) Data packet routing method and device
US8456982B2 (en) System and method for fast network restoration
US20130343397A1 (en) Label switching in fibre channel networks
US9258208B2 (en) Multiple path availability between walkable clusters
JP4509885B2 (en) Signaling device
US8009683B2 (en) IP network system
US8625406B2 (en) Multicast fast re-route
CN107864091B (en) Link failure processing method and device
CN101710875A (en) Method and device for realizing rapid re-routing
JP2020527918A (en) Data flow transmission
US11962491B2 (en) Source routing tunnel ingress protection
CN110611616A (en) Traffic scheduling method, system, device and medium based on Radius server
CN101355486A (en) Method, equipment and system for switching route
CN101425942A (en) Method, apparatus and system for bidirectional forwarding detection implementation
CN103023773A (en) Method, device and system for forwarding message in multi-topology network
CN108494684B (en) Method and device for establishing tunnel
CN103117930A (en) Method and device for detecting static route configuration
CN102752210A (en) Inter-LAN (local area network) message transmission method and system
US8923303B2 (en) Method, system and installation for forwarding data transmission frames
CN101335714A (en) Load sharing method and apparatus or fast rerouting method and apparatus
CN108123875B (en) Bidirectional forwarding detection method and device
CN104618232A (en) Wide area network link selecting method and wide area network link selecting device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant