[go: up one dir, main page]

CN108566298A - A kind of link failure processing method, interchanger and link failure processing system - Google Patents

A kind of link failure processing method, interchanger and link failure processing system Download PDF

Info

Publication number
CN108566298A
CN108566298A CN201810327796.XA CN201810327796A CN108566298A CN 108566298 A CN108566298 A CN 108566298A CN 201810327796 A CN201810327796 A CN 201810327796A CN 108566298 A CN108566298 A CN 108566298A
Authority
CN
China
Prior art keywords
link
flow table
information
interchanger
table information
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
CN201810327796.XA
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201810327796.XA priority Critical patent/CN108566298A/en
Publication of CN108566298A publication Critical patent/CN108566298A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of link failure processing method, interchanger and link failure processing systems, wherein the method includes:Flow table information is obtained, the flow table information includes the first link used in normal work, and the second link when breaking down as the backup link of first link;Using first link transmission data, and when detecting that the first link breaks down, first link failure information is reported, and from the second link described in flow table acquisition of information;Based on second link transmission data, until receiving the flow table information redistributed.The present invention can effectively reduce the break period of traffic failure.

Description

A kind of link failure processing method, interchanger and link failure processing system
Technical field
The present embodiments relate to communication network field, more particularly to a kind of link failure processing method, interchanger and chain Road fault processing system.
Background technology
Currently, in order to ensure network communication reliability, the net for the electronic equipment composition that generally can all serve as reasons in a communication network Network structure setting backup link, to ensure to execute communication work using the backup link when normal link breaks down.So And in the prior art, it will usually which normal link is directed traffic to by the flow table of OpenFlow.And it breaks down in normal link After interruption, redundant link can be enabled by the packet interactive program of interchanger, this convergence process takes around 50s.Alternatively, SDN environment inner end mouthful change information can also be sent to controller by interchanger, and controller recalculates flow table rule, and will weigh To interchanger, this recalculates process and generally requires 500ms newly-generated flow table issuance.Both above-mentioned modes can all cause The technical issues of service disconnection of long period.
Invention content
At a kind of link failure processing method, interchanger and link failure avoiding problem of service interruption Reason system.
In order to solve the above-mentioned technical problem, an embodiment of the present invention provides the following technical solutions:
A kind of link failure processing method comprising:
Flow table information is obtained, the flow table information includes the first link used in normal work, and is being broken down Second link of the backup link of the first link described in Shi Zuowei;
Using first link transmission data, and when detecting that the first link breaks down, first chain is reported Road fault message, and from the second link described in flow table acquisition of information;
Based on second link transmission data, until receiving the flow table information redistributed.
In one embodiment of the invention, the acquisition flow table information includes:
When being added to network, the flow table information of broadcast is received;Or
Generate and send flow table solicited message;
The flow table return information corresponding to the flow table solicited message is received, from the flow table return information described in acquisition Flow table information.
In one embodiment of the invention, further include whether the first link of detection breaks down comprising:
Detect the state of first port, and the state of the first link corresponding with first port;
When the first port breaks down or corresponding first link breaks down, detected first chain is judged It breaks down on road.
It is described to include based on second link transmission data in one embodiment of the invention:
Obtain the port information of the reception data in second link;
Based on the port information transmission data.
In one embodiment of the invention, the method further includes:
Data transmission is executed using the information of newer first link in the flow table information redistributed, and is updated corresponding The information of second link.
In addition, the embodiment of the present invention additionally provides a kind of link failure processing method comprising:
Flow table information is generated based on each switch port information in network, wherein the flow table information is including being each First link used in the normal work of interchanger distribution, and the backup chain when breaking down as first link Second link on road;
It receives failure and reports information;
Flow table information described in information update is reported based on the failure.
In addition, the embodiment of the present invention additionally provides a kind of interchanger comprising:
Processor is configured to obtain flow table information, and the flow table information includes the first link used in normal work, And the second link when breaking down as the backup link of first link;And it is configured to utilize first link Transmission data, and when detecting that the first link breaks down, first link failure information is reported, and obtain from flow table information Second link is taken, and is based on second link transmission data, until receiving the flow table information redistributed.
In one embodiment of the invention, the mode that the processor obtains flow table information includes:
When being added to network, the flow table information of broadcast is received;Or
Generate and send flow table solicited message;
The flow table return information corresponding to the flow table solicited message is received, from the flow table return information described in acquisition Flow table information.
In one embodiment of the invention, the processor is further configured to whether the first link of detection breaks down packet It includes:
Detect the state of first port, and the state of the first link corresponding with first port;
When the first port breaks down or corresponding first link breaks down, detected first chain is judged It breaks down on road.
In addition, the embodiment of the present invention additionally provides a kind of link failure processing system comprising multiple such as above-mentioned arbitrary reality The interchanger described in example is applied, further includes the controller with each switch communication,
Wherein, the controller is configured to generate the flow table information according to preset algorithm, and is receiving the exchange When the fault message of machine, the flow table information is updated.
Disclosure based on above-described embodiment can know that the embodiment of the present invention has following advantageous effect:
1, in embodiments of the present invention, since interchanger detects that the link down on itself port is that Millisecond is other, And back up the link information used and be handed down to each interchanger in advance, start backup link in this way and failure recovery time is made to be also Millisecond is other, greatly reduces business interruption time;
2, the separate configurations that flow table information may be implemented in the embodiment of the present invention have no effect on primary OpenFlow agreements With the OpenFlow agreements of this programme and deposit situation.
Description of the drawings
Fig. 1 is the principle flow chart of the link failure processing method in the embodiment of the present invention;
Fig. 2 is the linking relationship schematic diagram of each interchanger in the embodiment of the present invention;
Fig. 3 is the principle flow chart of the link failure processing method in another embodiment of the present invention;
Fig. 4 is the theory structure schematic diagram of the interchanger in the embodiment of the present invention;
Fig. 5 is the principle assumption diagram of the link failure processing system in the embodiment of the present invention.
Specific implementation mode
In the following, specific embodiments of the present invention are described in detail in conjunction with attached drawing, but it is not as limiting to the invention.
It should be understood that various modifications can be made to disclosed embodiments.Therefore, description above should not regard To limit, and only as the example of embodiment.Those skilled in the art will expect within the scope and spirit of this Other modifications.
The attached drawing being included in the description and forms part of the description shows embodiment of the disclosure, and with it is upper What face provided is used to explain the disclosure together to the substantially description of the disclosure and the detailed description given below to embodiment Principle.
It is of the invention by the description of the preferred form of the embodiment with reference to the accompanying drawings to being given as non-limiting examples These and other characteristic will become apparent.
Although being also understood that invention has been described with reference to some specific examples, people in the art Member realize with can determine the present invention many other equivalents, they have feature as claimed in claim and therefore all In the protection domain defined by whereby.
When read in conjunction with the accompanying drawings, in view of following detailed description, above and other aspect, the feature and advantage of the disclosure will become It is more readily apparent.
The specific embodiment of the disclosure is described hereinafter with reference to attached drawing;It will be appreciated, however, that the disclosed embodiments are only Various ways implementation can be used in the example of the disclosure.It is known and/or repeat function and structure be not described in detail to avoid Unnecessary or extra details so that the disclosure is smudgy.Therefore, specific structural and functionality disclosed herein is thin Section is not intended to restrictions, but as just the basis of claim and representative basis be used to instruct those skilled in the art with Substantially any appropriate detailed construction diversely uses the disclosure.
This specification can be used phrase " in one embodiment ", " in another embodiment ", " in another embodiment In " or " in other embodiments ", it can be referred to one or more of the identical or different embodiment according to the disclosure.
In the following, the embodiment of the present invention is described in detail in conjunction with attached drawing, at a kind of link failure Reason method, this method can be applied in the switch device of communication network, and wherein this method, which can greatly reduce, link occurs Business interruption time when failure.
Specifically, as shown in Figure 1, being a kind of principle flow chart of link failure processing method in the embodiment of the present invention.
Wherein, the link failure processing method in the embodiment of the present invention may include:
Flow table information is obtained, which may include the first link used in normal work, and event is occurring The second link when barrier as the backup link of first link;
Using first link transmission data, and when detecting that the first link breaks down, first chain is reported Road fault message, and from the second link described in flow table acquisition of information;
Based on second link transmission data, until receiving the flow table information redistributed.
In the embodiment of the present invention, multiple data link, such as Fig. 2 are could be formed in the networking being made of multiple switch Shown in each interchanger of constructing communication network linking relationship structural schematic diagram, wherein want to realize exchange be routed to by interchanger C Machine B this link can be communicated by port C1-A2-A1-B1, this link can also be led to by port C2-B2 Letter, or can also carry out communicating by this link of port C1-A3-D1-D2-B3, etc., therefore, in appointing for constructing communication network It could be formed at least one data link between two interchangers of meaning, and can be that each interchanger is configured with normally in the application Used first link when work, and the second link for being used when the first link breaks down, wherein the first link and Second link is different.
Specifically, before the interchanger in communication network works, either it is linked into during the work time or in interchanger When in communication network, the flow table information of the communication network can be obtained, wherein the flow table information in the embodiment of the present invention can wrap The first link used when including in the link established between each switch device in communication network as normal work, and The second link as backup link.Interchanger then can based on the flow table information of acquisition establish between corresponding interchanger Link forms the first link.Each interchanger can be configured with corresponding first link and the second link, in normal condition Under, interchanger holds row data communication according to the first link, and when the first link breaks down, it can be executed by the second link Data communicate, and prevent loss of data or influence the transmission of data.
In the embodiment of the present invention, the mode that interchanger obtains flow table information may include:
To the flow table information in the controller acquisition request constructing communication network;Or receive the flow table letter transmitted from controller Breath.
In the embodiment of the present invention, interchanger can when being linked into communication network, or work during, the life of active Cheng Bingxiang controllers send flow table solicited message, and controller, can corresponding generation stream when receiving the flow table solicited message Table return information, interchanger receive the flow table return information corresponding to flow table solicited message, and from the flow table return information Obtain the flow table information.Wherein, may include the identification information of interchanger in flow table solicited message, to facilitate controller to know The information of interchanger, and based on transmission flow table return information corresponding to the identification information to interchanger.Controller is logical for managing At least one of communication network interchanger, and the link information of promising each interchanger configuration, such as the first chain can be stored in it Road and the second link can be corresponding based on the mark for the interchanger for sending the solicited message when receiving flow table solicited message Obtain the interchanger where network the first link and the second link, and generate flow table return information.Alternatively, in another implementation In example, controller can also broadcast the flow table information of the network into communication network, and interchanger can obtain the broadcast in real time Flow table information in information.
After the flow table information for obtaining communication network, row data communication can be held according to the first link in flow table information. For example, the first link in communication link from interchanger C to switch b can be port C1-A2-A1-B1 and port C2- B2, the second link are C1-A3-D1-D2-B3.That is, can be extremely in the first link and the second link in the embodiment of the present invention Include a communication link less.When interchanger works normally, then communication can be executed by the first link, and in the first link When breaking down, then communication is executed by the second link.Wherein, interchanger can detect its corresponding first link in real time Situation, and can detect whether first link breaks down, which may include:
Detect the state of first port, and the state of the first link corresponding with first port;
When the first port breaks down or corresponding first link breaks down, detected first chain is judged It breaks down on road.
Above-mentioned first port is executing the port applied when the communication of the first link by interchanger, when the fortune of first port Row state breaks down, and the communication link being such as unable between two port nodes in transceiving data or the first link occurs Failure can be determined as the first link and break down.That is, the operation port of interchanger or the communication corresponding to operation port Link can be determined as the first link when breaking down and break down.
When detecting that the first link breaks down, interchanger can start the second link, and number is executed based on the second link Being normally carried out for data communication is ensured with transmission data according to communication.Meanwhile the malfunction can also be reported control by interchanger Device processed, controller can regenerate flow table information according to the malfunction, and updated flow table information is uploaded to communication network Each interchanger in network so that each interchanger in its flow table information the first link and the second link be updated, and use The first link in newer flow table information executes data transmission.
Wherein, in the embodiment of the present invention, interchanger may include based on second link transmission data:
Obtain the port information of the reception data in second link;
Based on the port information transmission data.
When the second link of enabling is communicated, interchanger can inquire the end of the second link from the flow table information of acquisition Message ceases, and holds row data communication according to the port information that this is inquired, and to ensure the normal transmission of data, does not influence user's body It tests.
Can directly include normal work in the flow table information that interchanger obtains in the embodiment of the present invention based on above-mentioned configuration The first link when making and the second link when breaking down, to which ensure can be timely when the first link breaks down Row data communication, while the flow table information that can please be look for novelty to controller are held by the second link, to obtain updated first Link and the second link, it is effective to reduce the time of service disconnection, and user experience can be improved.
In addition, in another embodiment of the invention, a kind of link failure processing method can also be provided, this method can be with It applies in the controller for being managed control to interchanger, the controller in the embodiment of the present invention can be the control of interchanger Manager, wherein as shown in figure 3, the link failure processing method may include:
Flow table information is generated based on each switch port information in network, wherein the flow table information is including being each First link used in the normal work of interchanger distribution, and the backup chain when breaking down as first link Second link on road;
It receives failure and reports information;
Flow table information described in information update is reported based on the failure.
In embodiments of the present invention, controller can be that the switch device in constructing communication network configures flow table information, the stream Table information may include the first link used in the above-mentioned normal work for the distribution of each interchanger, and when breaking down Second link of the backup link as first link.
Wherein, controller can be when having detected interchanger access, and the position based on the interchanger generates flow table information, And the flow table information of generation is issued to switch device.Or controller can also timing according to the exchange in communication network group The location information of machine generates flow table information, and is transmitted in communication network group by the form of broadcast.Specifically, controller can be by Generate flow table information according to preset rules, can such as determine the first link according to the criterion in most short transmission path, two interchangers it Between most short transmission path can be with for the first link, or sort according to transmission path, shortest top n link To be configured to the first link, remaining link is the second link.Wherein, N is positive integer, and is less than total number of links.It is determining After the first link and the second link between each interchanger, you can to generate flow table information.Controller can be by generation at this time Flow table information is sent to corresponding interchanger, or is broadcasted in a communication network.
What controller can also detect each interchanger in real time reports information, as interchanger can be by the operation shape of its each port The state of state either link sends controller to when a certain port failure of interchanger or a certain link break down When, then information update flow table information can be reported based on the failure received from interchanger with reporting fault information, controller.
Wherein, when the port that the fault message reported includes a certain interchanger current application is broken down, generation The non-working port can not then be used in flow table information;The first link and the second link in the flow table information generated are not adopted With the non-working port.Alternatively, port can also be used using the non-working port as in the second link.
When the fault message reported includes that transmission link between a certain interchanger and another interchanger breaks down, The faulty link, that is, the first link and second in the flow table information generated are not used in the flow table information that then controller generates then Link does not use the faulty link.Alternatively, port can also be used using the faulty link as in the second link.
Wherein, interchanger can also upload the fresh information of its non-working port or faulty link in real time, such as in failure When port can be used normally or when faulty link can be used normally, the more information can be sent to controller.Control Device is after receiving fresh information, it can be determined that above-mentioned non-working port and faulty link are in the first chain in current flow table information Road or the second link can regenerate flow table information, and will be newer if it is the first link based on the fresh information Flow table information is sent to interchanger, to execute communication work using new flow table information;If non-working port and faulty link exist It is in the second link in current flow table information, then can send flow table request in interchanger or needs to update flow table letter again When breath, then update flow table information.
Can directly include exchanging in the flow table information that controller is generated in the embodiment of the present invention based on above-mentioned configuration The first link when machine works normally and the second link when breaking down, to ensure the energy when the first link breaks down It is enough that row data communication is timely held by the second link, while controller can also be based on fault condition and update flow table information, with Updated first link and the second link are established, it is effective to reduce the time of service disconnection, and user experience can be improved.
In addition, the embodiment of the present invention can also provide a kind of interchanger, which can apply at above-mentioned link failure Reason method is illustrated in figure 4 the structural schematic diagram of the interchanger in the embodiment of the present invention, and wherein interchanger may include:Processing Device 1 and at least one communication port 2.
Processor 1 can obtain flow table information from controller, and high flow table information includes the first chain used in normal work Road, and the second link when breaking down as the backup link of first link;And it is configured to utilize described first Link transmission data, and when detecting that the first link breaks down, first link failure information is reported, and believe from flow table Breath obtains second link, and is based on second link transmission data, until receiving the flow table information redistributed.
In the embodiment of the present invention, multiple data link, such as Fig. 2 are could be formed in the networking being made of multiple switch Shown in each interchanger of constructing communication network linking relationship structural schematic diagram, wherein want to realize exchange be routed to by interchanger C Machine B this link can be communicated by port C1-A2-A1-B1, this link can also be led to by port C2-B2 Letter, or can also carry out communicating by this link of port C1-A3-D1-D2-B3, etc., therefore, in appointing for constructing communication network It could be formed at least one data link between two interchangers of meaning, and controller can be that each interchanger configures in the application Used first link when having a normal work, and the second link for being used when the first link breaks down, wherein first Link and the second link are different.
Specifically, before the interchanger in communication network works, either it is linked into during the work time or in interchanger When in communication network, the processor 1 of interchanger can obtain the flow table information of the communication network.Wherein, in the embodiment of the present invention Flow table information may include in the link established between each switch device in communication network as normal work when make First link, and the second link as backup link.Processor 1 can based on the flow table information of acquisition establish with it is right Link between the interchanger answered forms the first link.Each interchanger can be configured with corresponding first link and second Link, under normal circumstances, interchanger hold row data communication according to the first link, and when the first link breaks down, can be with Row data communication is held by the second link, prevent loss of data or influences the transmission of data.
In the embodiment of the present invention, the mode that processor 1 obtains flow table information may include:
To the flow table information in the controller acquisition request constructing communication network;Or receive the flow table letter transmitted from controller Breath.
In the embodiment of the present invention, processor 1 can when being linked into communication network, or work during, active It generates and sends flow table solicited message to controller, controller corresponding can be generated when receiving the flow table solicited message Flow table return information, interchanger receive the flow table return information corresponding to flow table solicited message, and from the flow table return information It is middle to obtain the flow table information.Wherein, may include the identification information of interchanger in flow table solicited message, to facilitate controller to obtain The information that bosom friend changes planes, and based on transmission flow table return information corresponding to the identification information to interchanger.Controller is for managing At least one of communication network interchanger, and the link information of promising each interchanger configuration can be stored in it, such as first Link and the second link can be right based on the mark for the interchanger for sending the solicited message when receiving flow table solicited message That answers obtains the first link and the second link of interchanger place network, and generates flow table return information.Alternatively, in another reality It applies in example, controller can also broadcast the flow table information of the network into communication network, and it is wide that interchanger can obtain this in real time Broadcast the flow table information in information.
Processor 1 can execute number after the flow table information for obtaining communication network according to the first link in flow table information According to communication.For example, the first link in communication link from interchanger C to switch b can be communication port C1-A2-A1-B1 With communication port C2-B2, the second link is communication port C1-A3-D1-D2-B3.That is, the first chain in the embodiment of the present invention A communication link can be included at least in road and the second link.When interchanger works normally, then it can pass through the first chain Road executes communication, and when the first link breaks down, then communication is executed by the second link.Wherein, interchanger can be real-time Detection its corresponding first link situation, and can detect whether first link breaks down, which may include:
Detect the state of first port, and the state of the first link corresponding with first port;Wherein, first port is The port used as the first link in flow table in the communication port 3 of interchanger;
When the first port breaks down or corresponding first link breaks down, detected first chain is judged It breaks down on road.
Above-mentioned first port is executing the port applied when the communication of the first link by interchanger, when the fortune of first port Row state breaks down, and the communication link being such as unable between two port nodes in transceiving data or the first link occurs Failure can be determined as the first link and break down.That is, the operation port of interchanger or the communication corresponding to operation port Link can be determined as the first link when breaking down and break down.
When detecting that the first link breaks down, processor 2 can start the second link according to flow table information, based on the Two links hold row data communication, with transmission data, ensure being normally carried out for data communication.Meanwhile processor 2 can also be by the event Hinder state reporting controller, controller can regenerate flow table information, and updated flow table information according to the malfunction Each interchanger being uploaded in communication network so that each interchanger in its flow table information the first link and the second link carry out Update, and data transmission is executed using the first link in newer flow table information.
Wherein, in the embodiment of the present invention, processor 2 may include based on second link transmission data:
Obtain the port information of the reception data in second link;
Based on the port information transmission data.
When the second link of enabling is communicated, processor 2 can inquire the second link from the flow table information of acquisition Port information, and row data communication is held according to the port information that this is inquired, to ensure the normal transmission of data, do not influence user Experience.
Can directly include normal work in the flow table information that interchanger obtains in the embodiment of the present invention based on above-mentioned configuration The first link when making and the second link when breaking down, to which ensure can be timely when the first link breaks down Row data communication, while the flow table information that can please be look for novelty to controller are held by the second link, to obtain updated first Link and the second link, it is effective to reduce the time of service disconnection, and user experience can be improved.
In addition, the embodiment of the present invention additionally provides a kind of link failure processing system, as shown in figure 5, implementing for the present invention The theory structure schematic diagram of link failure processing system in example, wherein may include multiple as described in above-mentioned any embodiment Interchanger 10 further includes and the controller of each switch communication 20.
Wherein, the controller 20 can generate the flow table information according to preset algorithm, and receive interchanger 10 Fault message when, update the flow table information., wherein the flow table information includes the normal work distributed for each interchanger First link used in making, and the second link when breaking down as the backup link of first link.
In embodiments of the present invention, controller 20 can be that the interchanger 10 in constructing communication network configures flow table information, the stream Table information may include the first link used in the above-mentioned normal work for the distribution of each interchanger, and when breaking down Second link of the backup link as first link.
Wherein, controller 20 can be when having detected interchanger access, and the position based on the interchanger 10 generates flow table Information, and the flow table information of generation is issued to switch device.Or controller 20 can also timing according to communication network group In the location information of interchanger 10 generate flow table information, and transmitted in communication network group by the form of broadcast.Specifically, control Device 20 processed can generate flow table information according to preset rules, such as can determine the first link according to the criterion in most short transmission path, Most short transmission path between two interchangers can be with for the first link, or sorts according to transmission path, shortest top n Link can be configured to the first link, remaining link is the second link.Wherein, N is positive integer, and is less than total link Number.After the first link and the second link between each interchanger is determined, you can to generate flow table information.Controller can at this time The flow table information of generation is sent to corresponding interchanger, or broadcasted in a communication network.
What controller 20 can also detect each interchanger 10 in real time reports information, as interchanger can be by the fortune of its each port The state of row state either link send controller to when a certain port failure of interchanger or a certain link occur therefore When barrier, then information update flow table information can be reported based on the failure received from interchanger with reporting fault information, controller.
Wherein, when the port that the fault message reported includes a certain interchanger current application is broken down, generation The non-working port can not then be used in flow table information;The first link and the second link in the flow table information generated are not adopted With the non-working port.Alternatively, port can also be used using the non-working port as in the second link.
When the fault message reported includes that transmission link between a certain interchanger and another interchanger breaks down, The faulty link, that is, the first link and second in the flow table information generated are not used in the flow table information that then controller generates then Link does not use the faulty link.Alternatively, port can also be used using the faulty link as in the second link.
Wherein, interchanger can also upload the fresh information of its non-working port or faulty link in real time, such as in failure When port can be used normally or when faulty link can be used normally, the more information can be sent to controller.Control Device is after receiving fresh information, it can be determined that above-mentioned non-working port and faulty link are in the first chain in current flow table information Road or the second link can regenerate flow table information, and will be newer if it is the first link based on the fresh information Flow table information is sent to interchanger, to execute communication work using new flow table information;If non-working port and faulty link exist It is in the second link in current flow table information, then can send flow table request in interchanger or needs to update flow table letter again When breath, then update flow table information.
Can directly include exchanging in the flow table information that controller is generated in the embodiment of the present invention based on above-mentioned configuration The first link when machine works normally and the second link when breaking down, to ensure the energy when the first link breaks down It is enough that row data communication is timely held by the second link, while controller can also be based on fault condition and update flow table information, with Updated first link and the second link are established, it is effective to reduce the time of service disconnection, and user experience can be improved.
It is apparent to those skilled in the art that for convenience and simplicity of description, the data of foregoing description The electronic equipment that processing method is applied to can refer to the corresponding description in before-mentioned products embodiment, and details are not described herein.
Above example is only exemplary embodiment of the present invention, is not used in the limitation present invention, protection scope of the present invention It is defined by the claims.Those skilled in the art can within the spirit and scope of the present invention make respectively the present invention Kind modification or equivalent replacement, this modification or equivalent replacement also should be regarded as being within the scope of the present invention.

Claims (10)

1. a kind of link failure processing method comprising:
Flow table information is obtained, the flow table information includes the first link used in normal work, and is made when breaking down For the second link of the backup link of first link;
Using first link transmission data, and when detecting that the first link breaks down, first link event is reported Hinder information, and from the second link described in flow table acquisition of information;
Based on second link transmission data, until receiving the flow table information redistributed.
2. according to the method described in claim 1, wherein, the acquisition flow table information includes:
When being added to network, the flow table information of broadcast is received;Or
Generate and send flow table solicited message;
The flow table return information corresponding to the flow table solicited message is received, the flow table is obtained from the flow table return information Information.
3. according to the method described in claim 1, wherein, further including whether the first link of detection breaks down comprising:
Detect the state of first port, and the state of the first link corresponding with first port;
When the first port breaks down or corresponding first link breaks down, detected first link hair is judged Raw failure.
4. described to include based on second link transmission data according to the method described in claim 1, wherein:
Obtain the port information of the reception data in second link;
Based on the port information transmission data.
5. according to the method described in claim 1, wherein, the method further includes:
Data transmission is executed using the information of newer first link in the flow table information redistributed, and updates corresponding second The information of link.
6. a kind of link failure processing method comprising:
Flow table information is generated based on each switch port information in network, wherein the flow table information includes being exchanged to be each First link used in the normal work of machine distribution, and when breaking down as the backup link of first link Second link;
It receives failure and reports information;
Flow table information described in information update is reported based on the failure.
7. a kind of interchanger comprising:
Processor is configured to obtain flow table information, and the flow table information includes the first link used in normal work, and The second link when breaking down as the backup link of first link;And it is configured to utilize first link transmission Data, and when detecting that the first link breaks down, report first link failure information, and from flow table acquisition of information institute The second link is stated, and is based on second link transmission data, until receiving the flow table information redistributed.
8. interchanger according to claim 7, wherein the mode that the processor obtains flow table information includes:
When being added to network, the flow table information of broadcast is received;Or
Generate and send flow table solicited message;
The flow table return information corresponding to the flow table solicited message is received, the flow table is obtained from the flow table return information Information.
9. interchanger according to claim 7, wherein the processor is further configured to whether the first link of detection is sent out Giving birth to failure includes:
Detect the state of first port, and the state of the first link corresponding with first port;
When the first port breaks down or corresponding first link breaks down, detected first link hair is judged Raw failure.
10. a kind of link failure processing system comprising multiple interchangers as described in any one of claim 7-9, also Include the controller with each switch communication,
Wherein, the controller is configured to generate the flow table information according to preset algorithm, and is receiving the interchanger When fault message, the flow table information is updated.
CN201810327796.XA 2018-04-12 2018-04-12 A kind of link failure processing method, interchanger and link failure processing system Pending CN108566298A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810327796.XA CN108566298A (en) 2018-04-12 2018-04-12 A kind of link failure processing method, interchanger and link failure processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810327796.XA CN108566298A (en) 2018-04-12 2018-04-12 A kind of link failure processing method, interchanger and link failure processing system

Publications (1)

Publication Number Publication Date
CN108566298A true CN108566298A (en) 2018-09-21

Family

ID=63534790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810327796.XA Pending CN108566298A (en) 2018-04-12 2018-04-12 A kind of link failure processing method, interchanger and link failure processing system

Country Status (1)

Country Link
CN (1) CN108566298A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110422087A (en) * 2019-06-24 2019-11-08 南京铁道职业技术学院 Track potential limits system and method
WO2021189332A1 (en) * 2020-03-25 2021-09-30 华为技术有限公司 Communication method and related apparatus
CN113556197A (en) * 2020-04-23 2021-10-26 通用汽车环球科技运作有限责任公司 Method and apparatus for fault tolerant ethernet time synchronization
CN119814701A (en) * 2024-12-30 2025-04-11 苏州元脑智能科技有限公司 Switch port fault repair method, device, equipment and medium
CN119854206A (en) * 2024-12-11 2025-04-18 北京邮电大学 Satellite network backup path switching control method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110286324A1 (en) * 2010-05-19 2011-11-24 Elisa Bellagamba Link Failure Detection and Traffic Redirection in an Openflow Network
CN104301146A (en) * 2014-10-23 2015-01-21 杭州华三通信技术有限公司 Link switching method and device in software defined network
CN104639435A (en) * 2015-02-16 2015-05-20 杭州华三通信技术有限公司 Method and device for data stream forwarding in SDN (Software Defined Networking)
CN105978741A (en) * 2016-07-15 2016-09-28 清华大学深圳研究生院 Network fault handling method and system
CN106998258A (en) * 2016-01-22 2017-08-01 中兴通讯股份有限公司 Chain circuit detecting method and device
CN107547249A (en) * 2017-06-15 2018-01-05 新华三技术有限公司 Link switch-over method, device, SDN switch, controller and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110286324A1 (en) * 2010-05-19 2011-11-24 Elisa Bellagamba Link Failure Detection and Traffic Redirection in an Openflow Network
CN104301146A (en) * 2014-10-23 2015-01-21 杭州华三通信技术有限公司 Link switching method and device in software defined network
CN104639435A (en) * 2015-02-16 2015-05-20 杭州华三通信技术有限公司 Method and device for data stream forwarding in SDN (Software Defined Networking)
CN106998258A (en) * 2016-01-22 2017-08-01 中兴通讯股份有限公司 Chain circuit detecting method and device
CN105978741A (en) * 2016-07-15 2016-09-28 清华大学深圳研究生院 Network fault handling method and system
CN107547249A (en) * 2017-06-15 2018-01-05 新华三技术有限公司 Link switch-over method, device, SDN switch, controller and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110422087A (en) * 2019-06-24 2019-11-08 南京铁道职业技术学院 Track potential limits system and method
CN110422087B (en) * 2019-06-24 2024-03-19 青岛睿能智慧矿山装备研究院有限公司 Rail potential limiting system and method thereof
WO2021189332A1 (en) * 2020-03-25 2021-09-30 华为技术有限公司 Communication method and related apparatus
CN113556197A (en) * 2020-04-23 2021-10-26 通用汽车环球科技运作有限责任公司 Method and apparatus for fault tolerant ethernet time synchronization
CN119854206A (en) * 2024-12-11 2025-04-18 北京邮电大学 Satellite network backup path switching control method and device
CN119814701A (en) * 2024-12-30 2025-04-11 苏州元脑智能科技有限公司 Switch port fault repair method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN108566298A (en) A kind of link failure processing method, interchanger and link failure processing system
CN102904818B (en) A kind of ARP information entry updating method and device
US8244838B2 (en) Industrial controller employing the network ring topology
CN101146014B (en) Fault Tolerant Ethernet
CN102857419B (en) Method and device for processing fault of link aggregation port
CN108306777A (en) SDN controller-based virtual gateway active/standby switching method and device
CN101980468A (en) Network hot backup data transmission method
CN101378338B (en) Method and apparatus for implementing bidirectional transmit-receive detection
CN105429814B (en) Method and equipment for protecting BFD (bidirectional forwarding detection) by using multiple board cards
CN108900415A (en) Master-slave equipment switching method and system under fault of M L AG interface
JP2006217296A5 (en)
US20170324580A1 (en) Failure protection method based on ring protection link, device, and system
CN102055658B (en) Method and equipment for realizing failure protection in rapid ring protection protocol single-ring networking
CN101217353B (en) A control method for a call center multi-point dual-machine redundant system
CN105577444B (en) A kind of wireless controller management method and wireless controller
CN108134700A (en) A kind of method for realizing power automation communication data integrality
CN101247290A (en) Real-time monitoring method and system for high temperature aging of Ethernet switches
CN102932183A (en) Double-up link failure processing method and device
CN102209008A (en) Multi-activation detection method and device used for intelligent elastic framework
CN105743565A (en) Optical transport network protection switching method and device
CN107294767A (en) A kind of Living Network transmission fault monitoring method and system
CN104426700B (en) The method of network element and looped network protection
CN104253747A (en) Transmission method and transmission device for performing 1: 1 protection on message in link aggregation group
CN105553735B (en) A kind of pile system fault handling method, equipment and pile system
CN101924662B (en) Alarm transmission method

Legal Events

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

Application publication date: 20180921

RJ01 Rejection of invention patent application after publication