CN104243308A - Rerouting method, network device and controller - Google Patents

Rerouting method, network device and controller Download PDF

Info

Publication number
CN104243308A
CN104243308A CN201410476379.3A CN201410476379A CN104243308A CN 104243308 A CN104243308 A CN 104243308A CN 201410476379 A CN201410476379 A CN 201410476379A CN 104243308 A CN104243308 A CN 104243308A
Authority
CN
China
Prior art keywords
route
data flow
spare
routing iinformation
boss
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
CN201410476379.3A
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 CN201410476379.3A priority Critical patent/CN104243308A/en
Publication of CN104243308A publication Critical patent/CN104243308A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a rerouting method, a network device and a controller. According to the scheme, when the network device finds that a main route transmitting data flow is invalid, prestored first standby sub-route information for data flow is obtained from the local, a first standby sub-route is determined according to the first standby sub-route information, the data flow is transmitted based on the first standby sub-route, and therefore the rerouting efficiency is improved.

Description

A kind of method of heavy-route, the network equipment and controller
Technical field
The present invention relates to communication technical field, particularly a kind of method of heavy-route, the network equipment and controller.
Background technology
Communication network is through Circuit-switched development, meet that people make a phone call, the demand of Digital Program Control, and be a protocol architecture complete from physical layer to application layer, the extraordinary coordination supported between network and application, this fault of such as upper strata perception bottom, the cooperation etc. of upper strata flow control and network condition.
Packet switching, especially IP (Internet Protocol, Internet protocol) rise of network, for network interconnection and the multiplexing of Internet resources provide condition, along with the development of science and technology, the basis of IP network has derived SDN (Software Defined Network, software defined network), SDN is a kind of new network framework, network equipment chain of command and data surface are separated by its core technology, achieve the flexible control of network traffics, for the innovation of core network and application provides good platform.
Have two kind equipments in SDN: controller and switch, wherein, controller is responsible for carrying out centralized control to network, issues stream table (flow table) to switch; And each switch has stream table to search for carrying out packet and forward.Switch when transmitting data stream, can adopt main road by and alternate routing, as shown in Figure 1.
Main route break (comprises link failure, node failure) may occur in SDN, at present, when there is link or node failure, by heavy convergence process, it is made a response, but, in heavy convergence process, there will be the problem that time delay is longer and packet loss is more serious, in order to avoid problems such as the time delay that caused of losing efficacy are longer or packet loss is more serious, propose the method for heavy-route, when there is link or node failure in the process of switch transmitting data stream, alternate routing for this data flow is sent to switch by controller, switch transmits this data flow based on alternate routing.
But said method is that alternate routing is sent to and switch by controller, therefore, there is the defect that heavy-route efficiency is lower when switch finds link or node failure.
In prior art, when switch finds link or node failure, alternate routing is just sent to switch by controller, therefore, there is the defect that heavy-route speed is lower, in the embodiment of the present invention, when the network equipment finds the main route break of transmitting data stream, the the first spare routing iinformation for described data flow prestored is obtained from this locality, the first spare route is determined according to described first spare routing iinformation, and based on data flow described in described first spare route transmission, this improves the efficiency of heavy-route.
Summary of the invention
The embodiment of the present invention provides a kind of method of heavy-route, the network equipment and controller, in order to solve the lower defect of the heavy-route efficiency that exists in prior art.
The concrete technical scheme that the embodiment of the present invention provides is as follows:
First aspect, provides a kind of method of heavy-route, comprising:
When determining the main route break of transmitting data stream, obtain local the first spare routing iinformation for described data flow stored;
The first spare route is determined according to described first spare routing iinformation, and based on data flow described in described first spare route transmission.
In conjunction with first aspect, in the first possible implementation of first aspect, determine the main route break of transmitting data stream, specifically comprise:
Determine described data flow the main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold.
In conjunction with the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, determine the main route break of transmitting data stream, also comprise:
Determine that service damage that described data flow transmits in boss's route is higher than the first pre-set business quality threshold.
In conjunction with the implementation that the second of first aspect is possible, in the third possible implementation of first aspect, determine described data flow the main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold, specifically comprise:
Determine that total service damage that the described data flow that business device sends transmits on the main road comprising each boss's route is higher than described first pre-set business quality threshold; Or
The described data flow sent according to described business device the main road comprising each boss's route by total service damage of transmission higher than the determination result of described first pre-set business quality threshold, determine described data flow the main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold.
In conjunction with first aspect first to the third possible implementation, in the 4th kind of possible implementation of first aspect, described first pre-set business quality threshold is identical with described second pre-set business quality threshold; Or
Described second pre-set business quality threshold equals the ratio allowing the maximum quantity of the boss's route lost efficacy in described first pre-set business quality threshold and all boss's routes.
In conjunction with first aspect, or first to fourth of first aspect kind of possible implementation, in the 5th kind of possible implementation of first aspect, store the first spare routing iinformation for described data flow in this locality, specifically comprise:
Receive the first packet of described data flow;
By described first Packet Generation to controller;
Receive the first spare routing iinformation for described data flow that described controller returns, and be stored in this locality.
In conjunction with first aspect, or first of first aspect to the 5th kind of possible implementation, in the 6th kind of possible implementation of first aspect, after data flow described in described first spare route transmission, also comprise:
The service damage that described data flow is transmitted in described first spare route higher than the 3rd pre-set business quality threshold time, receive described controller send the second spare routing iinformation;
Determine the second spare route according to described second spare routing iinformation, and the data flow handoff transmitted in the first spare route is transmitted on described second spare route.
Second aspect, provides a kind of method of heavy-route, comprising:
Receive the first packet that the network equipment sends;
Determine that the described network equipment is for boss's routing iinformation of described first packet place data flow and the first spare routing iinformation according to described first packet;
Described boss's routing iinformation and the first spare routing iinformation are sent to the described network equipment.
In conjunction with first aspect, in the first possible implementation of first aspect, determine that the described network equipment is for before boss's routing iinformation of described first packet place data flow and the first spare routing iinformation, also comprises:
Determine that the feature of described data flow meets default feature.
In conjunction with first aspect, or the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, after described boss's routing iinformation and the first spare routing iinformation are sent to the described network equipment, also comprise:
Receive the described data flow of business device transmission based on service damage during described first spare route transmission;
When determining the service damage of reception higher than the 3rd pre-set business quality threshold, calculate the second spare routing iinformation for described data flow;
Described second spare routing iinformation is sent to the described network equipment.
The third aspect, provides a kind of network equipment, comprising:
Acquiring unit, during for determining the main route break of transmitting data stream, obtains local the first spare routing iinformation for described data flow stored;
Transmission unit, for determining the first spare route according to described first spare routing iinformation, and based on data flow described in described first spare route transmission.
In conjunction with the third aspect, in the first possible implementation of the third aspect, described acquiring unit specifically for:
Determine described data flow the main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold.
In conjunction with the first possible implementation of the third aspect, in the implementation that the second of the third aspect is possible, described acquiring unit also for:
Determine that service damage that described data flow transmits in boss's route is higher than the second pre-set business quality threshold.In conjunction with the implementation that the second of the third aspect is possible, in the third possible implementation of the third aspect,
Described acquiring unit determine data flow the described main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold time, be specially:
Determine that total service damage that the described data flow that business device sends transmits on the main road comprising each boss's route is higher than described first pre-set business quality threshold; Or
The described data flow sent according to described business device the main road comprising each boss's route by total service damage of transmission higher than the determination result of described first pre-set business quality threshold, determine described data flow the main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold.
In conjunction with the third aspect first to the third possible implementation, in the 4th kind of possible implementation of the third aspect, the described first pre-set business quality threshold used when described acquiring unit determines main route break is identical with the described second pre-set business quality threshold of use; Or
The described second pre-set business quality threshold that described acquiring unit uses when determining main route break equals the ratio allowing the maximum quantity of the boss's route lost efficacy in used described first pre-set business quality threshold and all boss's routes.
In conjunction with the third aspect, or first to fourth of the third aspect kind of possible implementation, in the 5th kind of possible implementation of the third aspect, also comprise memory cell, for receiving the first packet of described data flow; By described first Packet Generation to controller; Receive the first spare routing iinformation for described data flow that described controller returns, and be stored in this locality.
In conjunction with the third aspect, or first of the third aspect to the 5th kind of possible implementation, in the 6th kind of possible implementation of the third aspect, also comprise receiving element, for the service damage that transmits in described first spare route in described data flow higher than the 3rd pre-set business quality threshold time, receive the second spare routing iinformation that described controller sends;
Also comprising switch unit, for determining the second spare route according to described second spare routing iinformation, and the data flow handoff transmitted in the first spare route being transmitted on described second spare route.
Fourth aspect, provides a kind of controller of heavy-route, comprising:
Receiving element, for receiving the first packet that the network equipment sends;
Determining unit, for determining that according to described first packet the described network equipment is for boss's routing iinformation of described first packet place data flow and the first spare routing iinformation;
Transmitting element, for being sent to the described network equipment by described boss's routing iinformation and the first spare routing iinformation.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, described determining unit also for:
Determine that the feature of described data flow meets default feature.
In conjunction with fourth aspect, or the first possible implementation of fourth aspect, in the implementation that the second of fourth aspect is possible, described receiving element also for:
Receive the described data flow of business device transmission based on service damage during described first spare route transmission; When determining the service damage of reception higher than the 3rd pre-set business quality threshold, calculate the second spare routing iinformation for described data flow;
Described transmitting terminal unit also for: described second spare routing iinformation is sent to the described network equipment.
Accompanying drawing explanation
Fig. 1 be in prior art main road by the schematic diagram with alternate routing;
Fig. 2 is a kind of flow chart of heavy-route in the embodiment of the present invention;
Fig. 3 is the another kind of flow chart of heavy-route in the embodiment of the present invention;
Fig. 4 is a kind of embodiment of heavy-route in the embodiment of the present invention;
Fig. 5 is the illustrative view of functional configuration of the network equipment in the embodiment of the present invention;
Fig. 6 is the entity structure schematic diagram of the network equipment in the embodiment of the present invention;
Fig. 7 is the illustrative view of functional configuration of embodiment of the present invention middle controller;
Fig. 8 is the entity structure schematic diagram of embodiment of the present invention middle controller.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In addition, term " system " and " network " are often used interchangeably in this article herein.Term "and/or" herein, being only a kind of incidence relation describing affiliated partner, can there are three kinds of relations in expression, and such as, A and/or B, can represent: individualism A, exists A and B simultaneously, these three kinds of situations of individualism B.In addition, alphabetical "/" herein, general expression forward-backward correlation is to the relation liking a kind of "or".
Below in conjunction with Figure of description, the preferred embodiment of the present invention is described in detail, be to be understood that, preferred embodiment described herein is only for instruction and explanation of the present invention, be not intended to limit the present invention, and when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
Below in conjunction with accompanying drawing, the preferred embodiment of the present invention is described in detail.
Embodiment one
Consult shown in Fig. 2, in the embodiment of the present invention, a kind of flow process of heavy-route is as follows:
Step 200: when determining the main route break of transmitting data stream, obtains local the first spare routing iinformation for data flow stored;
Step 210: determine the first spare route according to the first spare routing iinformation, and based on the first spare route transmission data flow.
In the embodiment of the present invention, determine that the mode of the main route break of transmitting data stream has multiple, optionally, can draw together in the following way:
Determine data flow the main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold
Wherein, service damage can use packet loss, jitter rate, time delay, break period, bandwidth etc., if when service damage is different, the first corresponding pre-set business quality threshold is also different, as service damage be packet loss time, the first corresponding pre-set business quality threshold is packet loss threshold value, in like manner, also can by jitter rate threshold value, time delay threshold value, interrupt gate limit value, bandwidth threshold value, wherein, packet loss threshold value can be 5%, shake threshold value can be 10ms, time delay threshold value is 30ms, interrupt gate limit value 50ms, bandwidth threshold value is 64k.
In the embodiment of the present invention, before determining the main route break of transmitting data stream, also comprise following operation:
Determine that service damage that data flow transmits in boss's route is higher than the second pre-set business quality threshold.
That is, if when determining the total service damage of whole main road by upper transmission higher than the first pre-set business quality threshold, then go to judge that whether the quality of service of boss's route transmitting data stream that the network equipment is corresponding is higher than the second pre-set business quality threshold.
In the embodiment of the present invention, determine data flow the main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold, specifically comprise:
Determine that total service damage that the data flow that business device sends transmits on the main road comprising each boss's route is higher than the first pre-set business quality threshold; Or
The data flow sent according to business device the main road comprising each boss's route by total service damage of transmission higher than the determination result of the first pre-set business quality threshold, determine data flow the main road comprising each boss's route by total service damage of transmission higher than the second pre-set business quality threshold.
That is, business device is after the total service damage of acquisition, total service damage is sent to the network equipment, the total service damage received compares with the first pre-set business quality threshold by the network equipment again, or, also can be, business device is after the total service damage of acquisition, total service damage compares with the first pre-set business quality threshold and obtains determination result by business device, then, again determination result is sent to the network equipment, the network equipment again according to determination result determination data flow the main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold.
In the embodiment of the present invention, the first pre-set business quality threshold is identical with the second pre-set business quality threshold; Or
Second pre-set business quality threshold equals the ratio allowing the maximum quantity of the boss's route lost efficacy in the first pre-set business quality threshold and all boss's routes.
In example of the present invention, store in this locality and have multiple for the mode of the first spare routing iinformation of data flow, such as, can in the following way:
The first packet of receiving data stream;
By first Packet Generation to controller;
Receive the first spare routing iinformation for data flow that controller returns, and be stored in this locality.
In the embodiment of the present invention, when data flow is transmitted in the first spare route, service damage higher than the 3rd pre-set business quality threshold, therefore, in the embodiment of the present invention, after the first spare route transmission data flow, may also comprise following operation:
The service damage that data flow is transmitted in the first spare route higher than the 3rd pre-set business quality threshold time, receive controller send the second spare routing iinformation;
Determine the second spare route according to the second spare routing iinformation, and the data flow handoff transmitted in the first spare route is transmitted on the second spare route.
Embodiment two
Consult shown in Fig. 3, in the embodiment of the present invention, the another kind of flow process of heavy-route is as follows:
Step 300: receive the first packet that the network equipment sends;
Step 310: according to the first packet determination network equipment for boss's routing iinformation of first packet place data flow and the first spare routing iinformation;
Step 320: boss's routing iinformation and the first spare routing iinformation are sent to the network equipment.
In order to save the storage resources of the network equipment, storing and there is the data flow of some characteristic, in the embodiment of the present invention, determine that the network equipment is for before boss's routing iinformation of first packet place data flow and the first spare routing iinformation, also comprises following operation:
Determine that the feature of data flow meets default feature.
That is, if after the network equipment sends the first packet of data flow to controller, controller first will check whether the feature of this data flow meets default feature, if meet default feature, controller is just sent to the network equipment by for boss's routing iinformation of this data flow and the first spare routing iinformation.
In the embodiment of the present invention, after boss's routing iinformation and the first spare routing iinformation are sent to the network equipment, also comprise following operation:
Receive the data flow of business device transmission based on service damage during the first spare route transmission;
When determining the service damage of reception higher than the 3rd pre-set business quality threshold, calculate the second spare routing iinformation for data flow;
Second spare routing iinformation is sent to the network equipment.
In the embodiment of the present invention, the network equipment can be switch, also can be router, can also be other equipment, describe in detail no longer one by one at this.
In the embodiment of the present invention, lost efficacy and not only can show the way by interrupting, and also can refer to that quality of service declines, can also be other modes, describe in detail no longer one by one at this.
In order to understand the embodiment of the present invention better, below providing embody rule scene, for the process of heavy-route, making and describing in further detail, as shown in Figure 4:
Embodiment three
Step 400: the first packet of switch receiving data stream, and by first Packet Generation to controller;
Step 410: when the feature of controller determination data flow meets default feature, is sent to switch by boss's routing iinformation of data flow and the first spare routing iinformation;
Step 420: total service damage that the data flow that switch receives business device transmission is transmitted on the main road comprising each boss's route;
Step 430: when switch determines the service damage of reception higher than the first pre-set business quality threshold, and check the service damage that boss's route that switch is corresponding is transmitted;
Step 440: when switch determines that service damage that corresponding boss's route is transmitted is higher than the second pre-set business quality threshold, determine the main route break of the data flow transmitted;
Step 450: the first spare routing iinformation for data flow that switch stores from this locality;
Step 460: switch determines the first spare route according to the first spare routing iinformation, and based on the first spare route transmission data flow.
Based on technique scheme, consult shown in Fig. 5, the embodiment of the present invention provides a kind of network equipment, and this network equipment comprises acquiring unit 50, transmission unit 51, wherein:
Acquiring unit 50, during for determining the main route break of transmitting data stream, obtains local the first spare routing iinformation for data flow stored;
Transmission unit 51, for determining the first spare route according to the first spare routing iinformation, and based on the first spare route transmission data flow.
In the embodiment of the present invention, optionally, acquiring unit 50 specifically for:
Determine data flow the main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold.
In the embodiment of the present invention, further, acquiring unit 50 also for:
Determine that service damage that data flow transmits in boss's route is higher than the second pre-set business quality threshold.
In the embodiment of the present invention, optionally, acquiring unit 50 determine data flow the main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold time, be specially:
Determine that total service damage that the data flow that business device sends transmits on the main road comprising each boss's route is higher than the first pre-set business quality threshold; Or
The data flow sent according to business device the main road comprising each boss's route by total service damage of transmission higher than the determination result of the first pre-set business quality threshold, determine data flow the main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold.
In the embodiment of the present invention, optionally, the first pre-set business quality threshold used when acquiring unit 50 determines main route break is identical with the second pre-set business quality threshold of use; Or
The second pre-set business quality threshold that acquiring unit 50 uses when determining main route break equals the ratio allowing the maximum quantity of the boss's route lost efficacy in the first used pre-set business quality threshold and all boss's routes.
In the embodiment of the present invention, further, also comprise memory cell, for the first packet of receiving data stream; By first Packet Generation to controller; Receive the first spare routing iinformation for data flow that controller returns, and be stored in this locality.
In the embodiment of the present invention, further, also comprise receiving element, for the service damage that transmits in the first spare route in data flow higher than the 3rd pre-set business quality threshold time, receive the second spare routing iinformation that controller sends;
Also comprising switch unit, for determining the second spare route according to the second spare routing iinformation, and the data flow handoff transmitted in the first spare route being transmitted on the second spare route.
As shown in Figure 6, be the entity apparatus figure of the network equipment provided by the invention, the network equipment comprises at least one processor 601, communication bus 602, memory 603 and at least one communication interface 604.
Wherein, communication bus 602 is for the connection that realizes between said modules and communicate, and communication interface 604 is for being connected with external equipment and communicating.
Wherein, memory 603, for storing the program code needing to perform, when program code in processor 601 execute store 603, realizes following function:
When determining the main route break of transmitting data stream, obtain local the first spare routing iinformation for data flow stored;
The first spare route is determined according to the first spare routing iinformation, and based on the first spare route transmission data flow.
Based on technique scheme, consult shown in Fig. 7, the embodiment of the present invention provides a kind of controller, and this controller comprises receiving element 70, determining unit 71, and transmitting element 72, wherein:
Receiving element 70, for receiving the first packet that the network equipment sends;
Determining unit 71, for according to the first packet determination network equipment for boss's routing iinformation of first packet place data flow and the first spare routing iinformation;
Transmitting element 72, for being sent to the network equipment by boss's routing iinformation and the first spare routing iinformation.
In the embodiment of the present invention, further, determining unit 71 also for: determine that the feature of data flow meets default feature.
In the embodiment of the present invention, further, receiving element 70 also for:
Receive the data flow of business device transmission based on service damage during the first spare route transmission; When determining the service damage of reception higher than the 3rd pre-set business quality threshold, calculate the second spare routing iinformation for data flow;
Transmitting element 72 also for: the second spare routing iinformation is sent to the network equipment.
As shown in Figure 8, be the entity apparatus figure of the network equipment provided by the invention, the network equipment comprises at least one processor 801, communication bus 802, memory 803 and at least one communication interface 804.
Wherein, communication bus 802 is for the connection that realizes between said modules and communicate, and communication interface 804 is for being connected with external equipment and communicating.
Wherein, memory 803, for storing the program code needing to perform, when program code in processor 801 execute store 803, realizes following function:
Receive the first packet that the network equipment sends;
According to the first packet determination network equipment for boss's routing iinformation of first packet place data flow and the first spare routing iinformation;
Boss's routing iinformation and the first spare routing iinformation are sent to the network equipment.
In sum, in the embodiment of the present invention, when the network equipment finds the main route break of transmitting data stream, the the first spare routing iinformation for described data flow prestored is obtained from this locality, the first spare route is determined according to described first spare routing iinformation, and based on data flow described in described first spare route transmission, this improves the efficiency of heavy-route.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable device, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable device is provided for the step of the function realized in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the above embodiment of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising above-described embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the embodiment of the present invention and not depart from the spirit and scope of the embodiment of the present invention.Like this, if these amendments of the embodiment of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (20)

1. a method for heavy-route, is characterized in that, comprising:
When determining the main route break of transmitting data stream, obtain local the first spare routing iinformation for described data flow stored;
The first spare route is determined according to described first spare routing iinformation, and based on data flow described in described first spare route transmission.
2. the method for claim 1, is characterized in that, determines the main route break of transmitting data stream, specifically comprises:
Determine described data flow the main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold.
3. method as claimed in claim 2, is characterized in that, determine the main route break of transmitting data stream, also comprise:
Determine that service damage that described data flow transmits in boss's route is higher than the second pre-set business quality threshold.
4. method as claimed in claim 2, is characterized in that, determine described data flow the main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold, specifically comprise:
Determine that total service damage that the described data flow that business device sends transmits on the main road comprising each boss's route is higher than described first pre-set business quality threshold; Or
The described data flow sent according to described business device the main road comprising each boss's route by total service damage of transmission higher than the determination result of described first pre-set business quality threshold, determine described data flow the main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold.
5. the method as described in any one of claim 2-4, is characterized in that, described first pre-set business quality threshold is identical with described second pre-set business quality threshold; Or
Described second pre-set business quality threshold equals the ratio allowing the maximum quantity of the boss's route lost efficacy in described first pre-set business quality threshold and all boss's routes.
6. the method as described in any one of claim 1-5, is characterized in that, stores the first spare routing iinformation for described data flow, specifically comprise in this locality:
Receive the first packet of described data flow;
By described first Packet Generation to controller;
Receive the first spare routing iinformation for described data flow that described controller returns, and be stored in this locality.
7. the method as described in any one of claim 1-6, is characterized in that, after data flow described in described first spare route transmission, also comprises:
The service damage that described data flow is transmitted in described first spare route higher than the 3rd pre-set business quality threshold time, receive described controller send the second spare routing iinformation;
Determine the second spare route according to described second spare routing iinformation, and the data flow handoff transmitted in the first spare route is transmitted on described second spare route.
8. a method for heavy-route, is characterized in that, comprising:
Receive the first packet that the network equipment sends;
Determine that the described network equipment is for boss's routing iinformation of described first packet place data flow and the first spare routing iinformation according to described first packet;
Described boss's routing iinformation and the first spare routing iinformation are sent to the described network equipment.
9. method as claimed in claim 8, is characterized in that, determines that the described network equipment is for before boss's routing iinformation of described first packet place data flow and the first spare routing iinformation, also comprises:
Determine that the feature of described data flow meets default feature.
10. method as claimed in claim 8 or 9, is characterized in that, after described boss's routing iinformation and the first spare routing iinformation are sent to the described network equipment, also comprise:
Receive the described data flow of business device transmission based on service damage during described first spare route transmission;
When determining the service damage of reception higher than the 3rd pre-set business quality threshold, calculate the second spare routing iinformation for described data flow;
Described second spare routing iinformation is sent to the described network equipment.
11. 1 kinds of network equipments, is characterized in that, comprising:
Acquiring unit, during for determining the main route break of transmitting data stream, obtains local the first spare routing iinformation for described data flow stored;
Transmission unit, for determining the first spare route according to described first spare routing iinformation, and based on data flow described in described first spare route transmission.
12. network equipments as claimed in claim 11, is characterized in that, described acquiring unit specifically for:
Determine described data flow the main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold.
13. network equipments as claimed in claim 12, is characterized in that, described acquiring unit specifically for:
Determine that service damage that described data flow transmits in boss's route is higher than the second pre-set business quality threshold.
14. network equipments as claimed in claim 13, is characterized in that, described acquiring unit determine data flow the described main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold time, be specially:
Determine that total service damage that the described data flow that business device sends transmits on the main road comprising each boss's route is higher than described first pre-set business quality threshold; Or
The described data flow sent according to described business device the main road comprising each boss's route by total service damage of transmission higher than the determination result of described first pre-set business quality threshold, determine described data flow the main road comprising each boss's route by total service damage of transmission higher than the first pre-set business quality threshold.
15. network equipments as described in any one of claim 12-14, it is characterized in that, the described first pre-set business quality threshold used when described acquiring unit determines main route break is identical with the described second pre-set business quality threshold of use; Or
The described second pre-set business quality threshold that described acquiring unit uses when determining main route break equals the ratio allowing the maximum quantity of the boss's route lost efficacy in used described first pre-set business quality threshold and all boss's routes.
16. network equipments as described in any one of claim 11-15, is characterized in that, also comprise memory cell, for receiving the first packet of described data flow; By described first Packet Generation to controller; Receive the first spare routing iinformation for described data flow that described controller returns, and be stored in this locality.
17. network equipments as described in any one of claim 11-16, it is characterized in that, also comprise receiving element, for the service damage that transmits in described first spare route in described data flow higher than the 3rd pre-set business quality threshold time, receive the second spare routing iinformation that described controller sends;
Also comprising switch unit, for determining the second spare route according to described second spare routing iinformation, and the data flow handoff transmitted in the first spare route being transmitted on described second spare route.
18. 1 kinds of controllers, is characterized in that, comprising:
Receiving element, for receiving the first packet that the network equipment sends;
Determining unit, for determining that according to described first packet the described network equipment is for boss's routing iinformation of described first packet place data flow and the first spare routing iinformation;
Transmitting element, for being sent to the described network equipment by described boss's routing iinformation and the first spare routing iinformation.
19. controllers as claimed in claim 18, is characterized in that, described determining unit also for:
Determine that the feature of described data flow meets default feature.
20. controllers as described in claim 18 or 19, is characterized in that, described receiving element also for:
Receive the described data flow of business device transmission based on service damage during described first spare route transmission; When determining the service damage of reception higher than the 3rd pre-set business quality threshold, calculate the second spare routing iinformation for described data flow;
Described transmitting terminal unit also for: described second spare routing iinformation is sent to the described network equipment.
CN201410476379.3A 2014-09-17 2014-09-17 Rerouting method, network device and controller Pending CN104243308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410476379.3A CN104243308A (en) 2014-09-17 2014-09-17 Rerouting method, network device and controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410476379.3A CN104243308A (en) 2014-09-17 2014-09-17 Rerouting method, network device and controller

Publications (1)

Publication Number Publication Date
CN104243308A true CN104243308A (en) 2014-12-24

Family

ID=52230692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410476379.3A Pending CN104243308A (en) 2014-09-17 2014-09-17 Rerouting method, network device and controller

Country Status (1)

Country Link
CN (1) CN104243308A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341320A (en) * 2015-07-10 2017-01-18 中兴通讯股份有限公司 Business backtracking method and device
CN110401594A (en) * 2019-07-02 2019-11-01 杭州迪普科技股份有限公司 Message forwarding method, device, electronic equipment and machine readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1645840A (en) * 2004-01-21 2005-07-27 Eci电信公司 Fast rerouting of traffic in a circuit switched mesh network
CN101394355A (en) * 2008-10-29 2009-03-25 北京大学 Routing link detection method and device for mobile Ad hoc network
CN103561011A (en) * 2013-10-28 2014-02-05 中国科学院信息工程研究所 Method and system for preventing blind DDoS attacks on SDN controllers
CN104040972A (en) * 2014-04-17 2014-09-10 华为技术有限公司 Path Establishing Method And Device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1645840A (en) * 2004-01-21 2005-07-27 Eci电信公司 Fast rerouting of traffic in a circuit switched mesh network
CN101394355A (en) * 2008-10-29 2009-03-25 北京大学 Routing link detection method and device for mobile Ad hoc network
CN103561011A (en) * 2013-10-28 2014-02-05 中国科学院信息工程研究所 Method and system for preventing blind DDoS attacks on SDN controllers
CN104040972A (en) * 2014-04-17 2014-09-10 华为技术有限公司 Path Establishing Method And Device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李艳,中国电子科技集团公司第五十四研究所: "基于mininet的SDN架构仿真研究", 《计算机网络》 *
汪小滟: "刍议BGP/VPN快速收敛技术", 《中国新技术新产品》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341320A (en) * 2015-07-10 2017-01-18 中兴通讯股份有限公司 Business backtracking method and device
CN110401594A (en) * 2019-07-02 2019-11-01 杭州迪普科技股份有限公司 Message forwarding method, device, electronic equipment and machine readable storage medium
CN110401594B (en) * 2019-07-02 2022-03-25 杭州迪普科技股份有限公司 Message forwarding method and device, electronic equipment and machine-readable storage medium

Similar Documents

Publication Publication Date Title
EP3016323B1 (en) Service transmission path determination method, device and system
CN105915400A (en) Data stream switching method and system
CN102780635B (en) The method of pretection switch, TOR switch and system is realized based on TRILL network
JP2017507536A (en) SDN controller, data center system, and routing connection method
CN105812260A (en) MAC address forwarding table sending controlling method, device and system
CN106664214B (en) Fault recovery method and device for virtual network
CN106789264B (en) A kind of method and apparatus that link aggregation group channel is switched fast
CN106471779B (en) Virtual network protection method and device
CN104283791A (en) Three-layer topology determining method and device in SDN network
CN104901881A (en) Route device, load balancing device, and message distribution method and system
CN104869057A (en) OpeFlow switch graceful restart processing method, device and OpeFlow controller
CN105471613B (en) Method, device and system for establishing temporary channel
CN102347885B (en) A kind of method and apparatus of route handoff
CN101645810A (en) Method and equipment for detecting pseudo wire (PW)
CN106130925A (en) Link scheduling method, equipment and the system of a kind of SDN
CN103957159A (en) Method for determining label switched path and path computation elements
CN104639437A (en) Forwarding method and apparatus of broadcast messages in stack system
EP3255838B1 (en) Method, switching device and network controller for protecting links in software-defined network (sdn)
CN105530115A (en) Method and device for realizing operation management and maintenance function
CN105704022A (en) Path switching method and network nodes
CN103441940A (en) Method and device for switching network device from stand-by state to main state and network device
KR102011021B1 (en) Method and framework for traffic engineering in network hypervisor of sdn-based network virtualization platform
CN105591817A (en) Negotiation mode processing method and intelligent network device
CN111327527B (en) Flow forwarding method and system, SDN controller and computer readable storage medium
CN104618157A (en) Network management method, device and system

Legal Events

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

Application publication date: 20141224