CN112543113A - Method, device, equipment and medium for flexible Ethernet to respond to link failure - Google Patents
Method, device, equipment and medium for flexible Ethernet to respond to link failure Download PDFInfo
- Publication number
- CN112543113A CN112543113A CN201910902710.6A CN201910902710A CN112543113A CN 112543113 A CN112543113 A CN 112543113A CN 201910902710 A CN201910902710 A CN 201910902710A CN 112543113 A CN112543113 A CN 112543113A
- Authority
- CN
- China
- Prior art keywords
- time slot
- physical interface
- management module
- slot configuration
- flexible ethernet
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000011084 recovery Methods 0.000 claims description 19
- 238000004891 communication Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 10
- 230000004044 response Effects 0.000 claims description 8
- 239000000284 extract Substances 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 6
- 238000004064 recycling Methods 0.000 claims description 2
- 238000007726 management method Methods 0.000 description 38
- 230000005540 biological transmission Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 230000006855 networking Effects 0.000 description 3
- 230000002457 bidirectional effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012384 transportation and delivery Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000013439 planning Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/16—Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
- H04J3/1605—Fixed allocated frame structures
- H04J3/1652—Optical Transport Network [OTN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/14—Monitoring arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0659—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
- H04L41/0661—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0896—Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/003—Arrangements for allocating sub-channels of the transmission path
- H04L5/0044—Arrangements for allocating sub-channels of the transmission path allocation of payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J2203/00—Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
- H04J2203/0001—Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
- H04J2203/0057—Operations, administration and maintenance [OAM]
- H04J2203/006—Fault tolerance and recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J2203/00—Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
- H04J2203/0001—Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
- H04J2203/0073—Services, e.g. multimedia, GOS, QOS
- H04J2203/0082—Interaction of SDH with non-ATM protocols
- H04J2203/0085—Support of Ethernet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J2203/00—Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
- H04J2203/0001—Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
- H04J2203/0089—Multiplexing, e.g. coding, scrambling, SONET
- H04J2203/0091—Time slot assignment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/003—Arrangements for allocating sub-channels of the transmission path
- H04L5/0053—Allocation of signaling, i.e. of overhead other than pilot signals
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Small-Scale Networks (AREA)
Abstract
The embodiment of the invention provides a method, a device, equipment and a medium for responding to a link fault by a flexible Ethernet, which are characterized in that when a first physical interface is detected to be in fault, time slot configuration information of a client port corresponding to the first physical interface is acquired, a time slot corresponding to the first physical interface is removed from a time slot used by the client port to obtain a residual time slot, the time slot configuration information is updated according to the residual time slot, and a service message is sent and/or received according to new time slot configuration information.
Description
Technical Field
Embodiments of the present invention relate to, but are not limited to, the field of flexible ethernet, and in particular, but not limited to, a method, an apparatus, a device, and a medium for responding to a link failure in flexible ethernet.
Background
In the past Ethernet technical standard, the Ethernet service rate and the rate of a PHYSICAL interface (PHYSICAL) are always matched and consistent, and the rates of the Ethernet service rate and the PHYSICAL interface (PHYSICAL) are synchronously developed. However, when the ethernet service rate is increased to over 100GE, the speed development of the physical interface encounters a bottleneck, the speed increase is gradually slowed down, the price of the physical interface is also slowly reduced, and the cost performance of the high-speed physical interface is reduced. For example, the price of the optical module with the 400GE rate exceeds the price of 4 optical modules with the 100GE rate, which causes the commercial cost performance of the optical module with the 400GE rate to be reduced.
FLEXIBLE ETHERNET (FLEXIBLE ETHERNET) technology enables the decoupling of traffic rate and physical channel rate, the rate of the physical interface may no longer be equal to the rate of the customer traffic, and the rate of the physical interface is FLEXIBLE. When the customer service is transmitted in a plurality of physical channels, the plurality of physical channels are bound to form a virtual logical channel to transmit the service. After the service rate and the physical channel rate are decoupled, the speeds of the client services can be various, the rates of the physical channels can also be various, and the client service with large bandwidth can be transmitted by a logical channel formed by binding a plurality of low-speed physical channels.
However, after a plurality of physical channels are bundled into a logical channel, if a failure occurs in one of the physical channels, the failure may cause the entire logical channel to fail. Negotiation to adjust to the spare time slot is typically required through overhead, increasing consumption of resources and inefficiency.
Disclosure of Invention
The method, the device, the equipment and the medium for responding to the link failure by the flexible Ethernet mainly solve the technical problems of large resource consumption and low efficiency when the link of the flexible Ethernet is in failure and is negotiated and adjusted to a standby time slot.
To solve the foregoing technical problem, an embodiment of the present invention provides a method for responding to a link failure in a flexible ethernet, including:
when a first physical interface is detected to be out of order, acquiring time slot configuration information of a client port bound by the first physical interface;
removing the time slot corresponding to the first physical interface from the currently used time slot of the client port bound by the first physical interface to obtain a residual time slot;
and updating the time slot configuration information into a first time slot configuration according to the residual time slots, and sending and/or receiving service messages from the physical interface without failure according to the first time slot configuration.
Optionally, the detecting that the first physical interface fails further includes:
recording the state information of the first physical interface, and updating the state information of the first physical interface recorded in the client;
and adjusting the time slot configuration information according to the updated state information.
Optionally, the method further includes:
after detecting that the first physical interface is recovered to be normal, updating the state information of the first physical interface recorded in the client;
adding the time slot corresponding to the first physical interface into the currently used time slot of the client port bound to the first physical interface to obtain a recovery time slot;
and updating the time slot configuration information into second time slot configuration according to the recovery time slot, and sending and/or receiving service messages from the physical interface without failure according to the second time slot configuration.
Optionally, before the sending and/or receiving the service packet from the physical interface that has not failed according to the first time slot configuration, the method further includes: and recycling the resources distributed on the first physical interface.
Optionally, the sending and/or receiving the service packet from the physical interface that has not failed includes:
the first equipment sends a service message from an un-failed physical interface according to the time slot configured in the time slot configuration information;
and after receiving the service message, the second equipment extracts a sending time slot from the overhead and acquires correct service message information according to the sending time slot. An embodiment of the present invention further provides a flexible ethernet control apparatus, including
The system comprises a fault detection module, a drive management module and a bottom management module;
the fault detection module is used for detecting whether the physical interface has a fault;
the drive management module is used for acquiring time slot configuration information of a client port bound by a first physical interface when the first physical interface sends a fault, and removing a time slot corresponding to the first physical interface from a currently used time slot of the client port bound by the first physical interface to obtain a residual time slot;
and the bottom layer management module is used for updating the time slot configuration information into first time slot configuration according to the residual time slots.
Optionally, the method further includes: an upper management module;
the upper management module is used for recording the state information of the first physical interface and updating the state information of the first physical interface recorded in the client;
the drive management module is also used for adjusting the time slot according to the updated state information and informing the bottom layer management module to update the time slot configuration information according to the adjusted time slot.
Optionally, the fault detection module is further configured to detect whether the physical interface completely recovers to normal;
the upper management module is further configured to update the state information of the first physical interface recorded in the client after the first physical interface is completely restored to normal, and notify the drive management module;
and the drive management module is further configured to, after receiving the notification from the upper management module, add a time slot corresponding to the first physical interface to a currently used time slot of the client port bound to the first physical interface to obtain a recovery time slot, and update the time slot configuration information to be a second time slot configuration according to the recovery time slot.
The embodiment of the invention also provides network equipment, which comprises
A processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more computer programs stored in the memory to implement the steps of the method for flexible ethernet responding to link failure as described above.
Embodiments of the present invention also provide a computer storage medium storing one or more computer programs, which are executable by one or more processors to implement the steps of the flexible ethernet response link failure method as described above.
The invention has the beneficial effects that:
according to the method, the device, the equipment and the medium for responding to the link failure by the flexible Ethernet, provided by the embodiment of the invention, when the physical interface is detected to have the failure, the time slot configuration of the client port bound by the failed physical interface is updated by using the time slot of the non-failed physical interface except the failed physical interface, and the service message is transmitted by the updated time slot configuration and the non-failed physical interface, so that the technical effects including but not limited to quick response to the link failure can be realized in some implementation processes, the service transmission is ensured by adjusting the time slot and the bandwidth, the additional time slot resource does not need to be configured, and the resource consumption is reduced.
Additional features and corresponding advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a schematic diagram of a flexible ethernet networking according to a first embodiment of the present invention;
fig. 2 is a flowchart of a method for responding to a link failure in a flexible ethernet according to an embodiment of the present invention;
fig. 3 is a specific flowchart of a method for responding to a link failure by using a flexible ethernet according to a second embodiment of the present invention;
fig. 4 is a specific flowchart of a method for responding to a link failure by using a flexible ethernet according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of a flexible ethernet control apparatus according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of a network device according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The first embodiment is as follows:
referring to fig. 1, fig. 1 is a schematic diagram of a flexible ethernet networking according to an embodiment of the present invention; wherein, the first device 11 has a physical interface 1 and a physical interface 3, and the second device 12 has a physical interface 2 and a physical interface 4; physical interface 1 is connected to physical interface 2, and physical interface 3 is connected to physical interface 4. The flexible ethernet 5 may bind a first physical channel formed by the physical interfaces 1 and 2 and a second physical channel formed by the physical interfaces 3 and 4 into a virtual logical channel for service delivery.
Referring to fig. 2, fig. 2 is a flowchart of a method for responding to a link failure in a flexible ethernet according to an embodiment of the present invention;
s201, when the first physical interface is detected to be out of order, time slot configuration information of a client port bound by the first physical interface is obtained.
It should be noted that, in the embodiment of the present application, the first physical interface does not mean a specific physical interface, and in the embodiment of the present application, any failed physical interface is referred to as a first physical interface; of course, it is not excluded that there are other failed physical interfaces in the flexible ethernet system in this embodiment. In this embodiment, the technical solution provided by the present invention is described in terms of one of the physical interfaces, and when a plurality of physical interfaces have a failure, the link failure can be responded through the steps provided by this embodiment. Regardless of the number of failing physical interfaces, the present invention is within the scope of protection without departing from the inventive concept. In the flexible ethernet system, the traffic of one client port may be transmitted through one or more physical interfaces, and one physical interface may also transmit the traffic of one or more client ports; the binding of the physical interface to the client port may be configured. It should be noted that, in the embodiment of the present application, a client port bound to a physical interface is only a client port that may have a transmission relationship with the physical interface in configuration, the bound physical interface and the client port are not necessarily performing message transmission, and in actual application, the client port may only pass through a part of the bound physical port to perform traffic.
And the time slot occupied by the client port at each physical interface can be reflected through the time slot configuration information.
S202, removing the time slot corresponding to the first physical interface from the currently used time slot of the client port bound by the first physical interface to obtain the residual time slot.
If the first physical interface fails, if the service packet is still transmitted through the time slot of the first physical interface, the data carried through the time slot corresponding to the first physical interface cannot be successfully communicated, and finally, the receiving end lacks corresponding data and cannot assemble a complete service packet.
In this implementation, the time slot of the first physical interface with the fault is removed from the time slots used by the client ports corresponding to the first physical interface, so as to obtain the remaining time slots; similarly, in other implementation processes, a plurality of physical interfaces may fail, and the time slots of the failed physical interfaces are respectively removed at the corresponding client ports, and finally, the available remaining time slots are obtained.
S203, updating the time slot configuration information according to the residual time slots, and sending and/or receiving the service message from the physical interface which is not failed according to the updated time slot configuration.
Because the time slot of the failed physical interface is removed, and the remaining time slots are the time slots of the physical interfaces which do not fail, the remaining time slots can be used for continuously transmitting the service message.
And after the residual time slot is obtained, carrying out re-planning on the configuration of the time slot according to the residual time slot, and updating the time slot configuration information, wherein the time slot configured by each client port can be used at the moment, and the transmission of the service message is realized by configuring a physical interface which never sends a fault according to the updated time slot.
Optionally, because the first physical interface has failed and the timeslot of the failed physical interface has been removed in the timeslot configuration, the resources allocated on the first physical interface are recovered before sending and/or receiving the service packet from the physical interface that has not failed according to the updated timeslot configuration.
It should be noted that, the process of sending and/or receiving the service packet from the non-failed physical interface according to the updated timeslot configuration may be: and the first equipment transmits the service message from the physical interface which is not failed according to the updated time slot configuration, at the moment, the second equipment only receives the service message from the physical interface which is not failed, extracts the transmission time slot from the overhead message after the second equipment receives the service message, and assembles the service message according to the new transmission time slot, thereby obtaining the correct service message.
Optionally, after detecting that the first physical interface fails, the state of the first physical interface is recorded and updated in the client, so that the state of the physical interface can be known uniformly in the flexible ethernet system, and thus, the state information can be unified among the layers in the system. After the state of the physical interface is updated, the time slot configuration information is checked according to the updated state information, and the time slot configuration information is adjusted, so that the time slot configuration information is ensured to be consistent with the state information of the physical interface. It should be understood that when the slot configuration information has been adjusted or does not need to be updated, it is not adjusted.
Optionally, after it is detected that the first physical interface is recovered to normal, the state information of the first physical interface is updated. Correspondingly, adding the time slot corresponding to the first physical interface into the currently used time slot of the client port bound to the first physical interface to obtain a recovery time slot. It should be understood that, although the first physical interface at this time recovers from the failure and does not perform transmission of data existing in the client port, the client port bound to the first physical interface can be obtained according to the original configuration of the system. And updating the time slot configuration information according to the recovery time slot to obtain a second time slot configuration, and transmitting the service message from the link where the recovered first physical interface is located according to the second time slot configuration. It should be understood that the second timeslot configuration is not necessarily a default timeslot configuration of the system, because in an actual process, there may be other physical interfaces that have failed and are not recovered, and the second timeslot configuration in this embodiment is only a timeslot configuration obtained after recovering a timeslot corresponding to the first physical interface based on the current timeslot configuration; however, in some implementations, if only one physical interface fails and recovers, the second timeslot configuration obtained after recovery is the initial default timeslot configuration.
Similarly, after the first physical interface is recovered, the first device sends a service message from an interface which does not have a fault and comprises the first physical interface, the second device receives the service message at a second physical interface connected with the first physical interface, extracts a multiframe from the overhead message, extracts a new sending time slot from the overhead message after the multiframe is locked, and assembles the service message according to the new sending time slot, so that a correct service message is obtained. In some implementations of this embodiment, the time slots are automatically added back to the time slot configuration after the restoration of the physical interface that detected the failure, restoring bandwidth.
It should be noted that, in this embodiment, the transmission directions of the first device and the second device are bidirectional, and the above description only describes that, when the second device sends a service packet to the first device, the steps performed are similar, and are not described herein again.
According to the method for responding to the link failure by the flexible Ethernet, provided by the embodiment of the invention, when the first physical interface is detected to have a failure, the time slot corresponding to the first physical interface is removed from the currently used time slot of the client port bound to the first physical interface, the time slot configuration information is updated according to the remaining time slots, and the updated time slot configuration is used for transmitting the service message from the physical interface which has not failed; when the link fails, the bandwidth is rapidly adjusted, the transmission of the service is ensured, and no extra time slot is required to be configured, so that the speed of responding to the link failure by the flexible Ethernet is improved, and the resource consumption is reduced.
Example two:
referring to fig. 3, fig. 3 is a specific flowchart of a method for responding to a link failure by a flexible ethernet according to a second embodiment of the present invention;
s301, detecting that the physical interface fails.
In this embodiment, the transmission directions of the first device 11 and the second device 12 are bidirectional, the angle of the station in this embodiment when the first device 11 sends the service packet is expressed, and the steps performed when the second device 12 serves as a sending end to send the service packet are similar, which is not described herein again.
If the physical interface 1 fails, correspondingly, the link where the physical interface 1 is located fails, and the physical interface 2 cannot normally transmit the service message.
S302, inquiring time slot configuration information of a client port bound by a fault physical interface, and recording and updating the state of the physical interface.
After the fault information of the physical interface 1 is acquired, the client port information of data transmitted through the physical interface 1 is inquired, the time slot configuration information of the client port is acquired, the state information of the physical interface 1 is recorded, the state of the physical interface 1 is updated in the client, and at the moment, the physical interface 1 is in fault and the state is updated to DOWN.
When inquiring the time slot configuration information, other configuration information can be obtained to assist the response to the link failure.
S303, removing the time slot corresponding to the failed physical interface from the time slot used by the client port to obtain the residual time slot.
Acquiring time slot configuration information of a client port, and removing a time slot corresponding to the physical interface 1 from the time slot used by the client port to obtain a remaining time slot, wherein the remaining time slots are all normally available time slots, namely, the time slot corresponding to the physical interface 3, under the condition that only one link fails as in this embodiment. When a plurality of links fail, the time slots corresponding to the failed physical interfaces in the time slots used by the client terminal ports are respectively removed, and available residual time slots are obtained.
S304, adjusting the sending time slot of the client terminal port.
And aiming at the client port bound by the physical interface 1, adjusting the sending time slot of the client port according to the remaining time slot.
And S305, applying the adjusted time slot to the time slot configuration.
And updating the adjusted sending time slot into the time slot configuration information.
S306, the first device sends the service message according to the new time slot configuration.
The first device 11 sends the service packet according to the timeslot configuration information, and since the timeslot configuration information has been updated to send the service packet using the remaining timeslot, in this embodiment, the remaining timeslot is a timeslot corresponding to the physical interface 3, the service packet sent by the first device 11 is only sent through the physical interface 3.
S307, the second equipment obtains the correct service message.
Accordingly, the second device 12 receives the service packet only from the physical interface 4 connected to the physical interface 3. After the second device 12 receives the service packet, a new sending timeslot is extracted from the overhead packet, and the second device 12 can assemble a correct service packet according to the new sending timeslot.
Referring to fig. 4, fig. 4 is a specific flowchart of a method for responding to a link failure by a flexible ethernet according to a second embodiment of the present invention; the following describes steps of link recovery in this embodiment with reference to the flexible ethernet networking structure shown in fig. 1 and fig. 4:
s401, detecting the link recovery.
Preferably, after detecting that the link is recovered, in order to ensure that the link is more stable and does not make a quick response, the following steps are performed after the link is completely recovered to be normal.
S402, updating the state of the physical interface in the client.
In the client, the state of the physical interface 1 is updated to UP, i.e. the physical interface 1 works normally.
And S403, adding the time slot corresponding to the recovered physical interface into the time slot used by the bound client port to obtain a recovered time slot.
The time slot currently used by the client port is the time slot corresponding to the physical interface 3, at this time, the state of the physical interface 1 bound by the client port is updated to be UP, and the recovery time slot is obtained by adding the time slot corresponding to the physical interface 3 and the time slot corresponding to the physical interface 1.
And S404, adjusting the time slot.
And aiming at the client port bound by the physical interface 1, adjusting the sending time slot of the client port according to the recovery time slot.
And S405, applying the adjusted time slot to the time slot configuration.
And updating the adjusted sending time slot into the time slot configuration information.
S406, the first device sends the service message according to the new time slot configuration.
The first device 11 sends the service packet according to the timeslot configuration information, and since the timeslot configuration information is restored to the timeslot transmission service packet using the physical interface 1 and the physical interface 3, the service packet sent by the first device 11 is sent through the physical interface 1 and the physical interface 3.
S407, the second device obtains the correct service message.
Accordingly, the second device 12 receives the service packet from the physical interface 2 and the physical interface 4. After receiving the service message, the second device 12 extracts a multiframe from the overhead message, and after locking the multiframe, extracts the latest sending time slot from the overhead message, and according to the latest sending time slot, the second device 12 assembles a correct service message.
The embodiment of the invention obtains the time slot configuration information and updates the state of the physical interface by detecting that the physical interface has a fault, and obtains the remaining time slots and adjusts the time slot configuration according to the remaining time slots; and after the physical interface is recovered, updating the state of the physical interface, acquiring a recovery time slot, and adjusting the time slot configuration according to the recovery time slot. And when the link fails, the bandwidth is quickly adjusted, the transmission of services is ensured, additional time slots are not required to be configured, and the time slots are automatically adjusted after the failure is recovered, so that the bandwidth is recovered, the speed of responding to the link failure by the flexible Ethernet is improved, and the resource consumption is reduced.
EXAMPLE III
As shown in fig. 5, fig. 5 is a schematic structural diagram of a flexible ethernet control apparatus according to a third embodiment of the present invention, please refer to fig. 5, where the flexible ethernet control apparatus includes: a fault monitoring module 51, a drive management module 52, a bottom layer management module 53 and an upper layer management module 54; a communication bus 55 connects the modules;
the fault monitoring module 51 is configured to detect whether a physical interface fails;
the driver management module 52 is configured to, when the first physical interface fails, obtain time slot configuration information of the client port bound to the first physical interface, and remove a time slot corresponding to the first physical interface from a currently used time slot of the client port bound to the first physical interface to obtain a remaining time slot;
the bottom control module is used for updating the time slot configuration information to be the first time slot configuration according to the residual time slots;
the upper management module 54 is configured to record a state of the first physical interface when the first physical interface fails, update the state of the physical interface in the client, and notify the driver management module 52 after the update. The driving management module 52 adjusts the time slot after receiving the updated state information, and notifies the bottom layer management module 53 to update the time slot configuration information according to the adjusted time slot.
In this embodiment, the driver management module 52 responds quickly when the first physical interface fails, adjusts the remaining time slots according to the time slot corresponding to the first physical interface and the time slot configuration information of the bound client port, and notifies the bottom control module to update the time slot configuration information; meanwhile, when the first physical interface fails, the upper management module 54 also updates the state information of the physical interface in the client, and notifies the drive management module 52 after updating, and the drive management module 52 adjusts the time slot according to the state information updated by the upper management module 54, so as to ensure that the related information of each hierarchy in the system is consistent. It is understood that if the timeslot configuration information is updated or the timeslot configuration information and the status information are correspondingly consistent, the driving management module 52 does not adjust according to the status information updated by the upper management module 54. In this embodiment, the drive management module 52 only makes adjustments such as replanning or scheduling on the time slots, and the drive management module 52 does not apply the adjusted time slot configuration, but completes the change of the time slot configuration information in the bottom layer management module 53 and applies the adjusted time slots to the system.
Optionally, the fault monitoring module 51 is further configured to detect whether the physical interface completely recovers to normal;
the upper management module 54 is further configured to update the state of the first physical interface after the first physical interface completely recovers to normal, and notify the drive management module 52;
the driving management module 52 is further configured to add a time slot corresponding to the first physical interface to a currently used time slot of the client port bound to the first physical interface after receiving the notification of the uploading management module, to obtain a recovery time slot, and notify the bottom layer management module 53 of the second time slot configuration according to the update time slot configuration of the recovery time slot.
The flexible ethernet control device provided by the embodiment of the present invention can update the state of the physical interface through the upper management module when detecting that the physical interface has a fault, adjust the time slot by using the driving management module, finally update the time slot configuration information according to the adjusted time slot by using the bottom management module, and after the physical interface is recovered, update the time slot configuration information according to the recovered time slot, and recover the bandwidth, thereby achieving the effect that the flexible ethernet quickly responds to the link fault by adjusting the bandwidth and can automatically recover the time slot and the bandwidth after the link is recovered.
Example four:
the present embodiment further provides a network device, as shown in fig. 6, which includes a processor 61, a memory 62 and a communication bus 63, wherein:
the communication bus 63 is used for realizing connection communication between the processor 61 and the memory 62;
the processor 61 is configured to execute one or more computer programs stored in the memory 62 to implement at least one step of the flexible ethernet response link failure method in the first and second embodiments.
The present embodiments also provide a computer-readable storage medium including volatile or non-volatile, removable or non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact disk Read-Only Memory), Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
The computer readable storage medium in this embodiment may be used to store one or more computer programs, and the one or more computer programs stored therein may be executed by a processor to implement at least one step of the flexible ethernet link failure response method in the first and second embodiments.
It will be apparent to those skilled in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software (which may be implemented in computer program code executable by a computing device), firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit.
In addition, communication media typically embodies computer readable instructions, data structures, computer program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to one of ordinary skill in the art. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of embodiments of the present invention, and the present invention is not to be considered limited to such descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.
Claims (10)
1. A method of flexible ethernet responding to a link failure, comprising:
when a first physical interface is detected to be out of order, acquiring time slot configuration information of a client port bound by the first physical interface;
removing the time slot corresponding to the first physical interface from the currently used time slot of the client port bound by the first physical interface to obtain a residual time slot;
and updating the time slot configuration information into a first time slot configuration according to the residual time slots, and sending and/or receiving service messages from the physical interface without failure according to the first time slot configuration.
2. The flexible ethernet method for responding to link failure according to claim 1, wherein said detecting the failure of the first physical interface further comprises:
recording the state information of the first physical interface, and updating the state information of the first physical interface recorded in the client;
and adjusting the time slot configuration information according to the updated state information.
3. The flexible ethernet method of responding to link failures of claim 2, further comprising:
after detecting that the first physical interface is recovered to be normal, updating the state information of the first physical interface recorded in the client;
adding the time slot corresponding to the first physical interface into the currently used time slot of the client port bound to the first physical interface to obtain a recovery time slot;
and updating the time slot configuration information into second time slot configuration according to the recovery time slot, and sending and/or receiving service messages from the physical interface without failure according to the second time slot configuration.
4. The flexible ethernet method for responding to link failure according to claim 1, wherein before sending and/or receiving traffic packets from the non-failed physical interface according to the first time slot configuration, further comprising: and recycling the resources distributed on the first physical interface.
5. The flexible ethernet method for responding to link failure according to any of claims 1 or 2, wherein said sending and/or receiving traffic packets from a non-failed physical interface comprises:
the first equipment sends a service message from an un-failed physical interface according to the time slot configured in the time slot configuration information;
and after receiving the service message, the second equipment extracts a sending time slot from the overhead and acquires correct service message information according to the sending time slot.
6. A flexible ethernet control apparatus comprising: the system comprises a fault detection module, a drive management module and a bottom management module;
the fault detection module is used for detecting whether the physical interface has a fault;
the drive management module is used for acquiring time slot configuration information of a client port bound by a first physical interface when the first physical interface fails, and removing a time slot corresponding to the first physical interface from a currently used time slot of the client port bound by the first physical interface to obtain a residual time slot;
and the bottom layer management module is used for updating the time slot configuration information into first time slot configuration according to the residual time slots.
7. The flexible ethernet control apparatus of claim 6, further comprising: an upper management module;
the upper management module is used for recording the state information of the first physical interface and updating the state information of the first physical interface recorded in the client;
the drive management module is also used for adjusting the time slot according to the updated state information and informing the bottom layer management module to update the time slot configuration information according to the adjusted time slot.
8. The flexible ethernet control apparatus of claim 7, wherein said failure detection module is further configured to detect whether a physical interface is fully restored to normal;
the upper management module is further configured to update the state information of the first physical interface recorded in the client after the first physical interface is completely restored to normal, and notify the drive management module;
the drive management module is further configured to, after receiving the notification from the upper management module, add a time slot corresponding to the first physical interface to a currently used time slot of the client port bound to the first physical interface to obtain a recovery time slot, and notify the bottom management module to update the time slot configuration information to be a second time slot configuration according to the recovery time slot.
9. A network device comprising a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more computer programs stored in the memory to implement the steps of the flexible ethernet response link failure method of any of claims 1-5.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores one or more computer programs that are executable by one or more processors to implement the steps of the flexible ethernet response link failure method of claims 1-5.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910902710.6A CN112543113A (en) | 2019-09-23 | 2019-09-23 | Method, device, equipment and medium for flexible Ethernet to respond to link failure |
PCT/CN2020/110491 WO2021057350A1 (en) | 2019-09-23 | 2020-08-21 | Flexible ethernet link failure response method, apparatus, device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910902710.6A CN112543113A (en) | 2019-09-23 | 2019-09-23 | Method, device, equipment and medium for flexible Ethernet to respond to link failure |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112543113A true CN112543113A (en) | 2021-03-23 |
Family
ID=75013154
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910902710.6A Pending CN112543113A (en) | 2019-09-23 | 2019-09-23 | Method, device, equipment and medium for flexible Ethernet to respond to link failure |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112543113A (en) |
WO (1) | WO2021057350A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023005738A1 (en) * | 2021-07-26 | 2023-02-02 | 中兴通讯股份有限公司 | Flexible ethernet time slot negotiation method, receive end, transmit end, and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117917876A (en) * | 2022-10-21 | 2024-04-23 | 华为技术有限公司 | Fault information notification method and related equipment thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109218061A (en) * | 2017-07-07 | 2019-01-15 | 中兴通讯股份有限公司 | The failure notification and acquisition methods, device, communication equipment of flexible Ethernet |
CN109309530A (en) * | 2017-07-28 | 2019-02-05 | 中兴通讯股份有限公司 | A kind of data transmission method and device |
CN109688016A (en) * | 2019-01-25 | 2019-04-26 | 中兴通讯股份有限公司 | Switch the method and relevant device of time slot configuration in flexible Ethernet protocol |
WO2019128887A1 (en) * | 2017-12-26 | 2019-07-04 | 华为技术有限公司 | Fault indication method and device in flexible ethernet |
WO2019165991A1 (en) * | 2018-03-01 | 2019-09-06 | 中兴通讯股份有限公司 | Flexible ethernet-based service protection method, server, and storage medium |
-
2019
- 2019-09-23 CN CN201910902710.6A patent/CN112543113A/en active Pending
-
2020
- 2020-08-21 WO PCT/CN2020/110491 patent/WO2021057350A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109218061A (en) * | 2017-07-07 | 2019-01-15 | 中兴通讯股份有限公司 | The failure notification and acquisition methods, device, communication equipment of flexible Ethernet |
CN109309530A (en) * | 2017-07-28 | 2019-02-05 | 中兴通讯股份有限公司 | A kind of data transmission method and device |
WO2019128887A1 (en) * | 2017-12-26 | 2019-07-04 | 华为技术有限公司 | Fault indication method and device in flexible ethernet |
WO2019165991A1 (en) * | 2018-03-01 | 2019-09-06 | 中兴通讯股份有限公司 | Flexible ethernet-based service protection method, server, and storage medium |
CN109688016A (en) * | 2019-01-25 | 2019-04-26 | 中兴通讯股份有限公司 | Switch the method and relevant device of time slot configuration in flexible Ethernet protocol |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023005738A1 (en) * | 2021-07-26 | 2023-02-02 | 中兴通讯股份有限公司 | Flexible ethernet time slot negotiation method, receive end, transmit end, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2021057350A1 (en) | 2021-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6658595B1 (en) | Method and system for asymmetrically maintaining system operability | |
US8830825B2 (en) | Method and system for priority based (1:1)n ethernet protection | |
US9774493B2 (en) | Retention of a sub-network connection home path | |
CN107948063B (en) | Method for establishing aggregation link and access equipment | |
CN102136865B (en) | Service recovering method, system and node device | |
WO2021057350A1 (en) | Flexible ethernet link failure response method, apparatus, device and medium | |
CN109391691A (en) | The restoration methods and relevant apparatus that NAS is serviced under a kind of single node failure | |
CN102088415A (en) | Method and device for MAC (media access control) address withdrawal | |
CN110278094B (en) | Link recovery method, device, system, storage medium and electronic device | |
US7774474B2 (en) | Communication of control and data path state for networks | |
US11611816B2 (en) | Service data processing method and device | |
CN102231126B (en) | Method and system for implementing inter-core backup in multi-core processor | |
CN102882779A (en) | VRRP (Virtual Router Redundancy Protocol) advertisement link protection method and system | |
CN111130850B (en) | Fault multilayer link recovery method and controller | |
JP2024108417A (en) | Network interface card and transmission performance monitoring method | |
CN111224803B (en) | Multi-master detection method in stacking system and stacking system | |
CN110677283B (en) | Method for fast switching network dual redundancy | |
CN112422428B (en) | Link state acquisition method and device, electronic equipment and readable storage medium | |
CN112491633B (en) | Fault recovery method, system and related components of multi-node cluster | |
CN110661599A (en) | HA implementation method, device and storage medium between main node and standby node | |
CN105426118B (en) | A kind of method that serial ports backup heartbeat passage is utilized in double-control system | |
CN114362893A (en) | Data transmitting method, data receiving method, terminal and computer storage medium | |
CN103023697B (en) | A kind of management method, Apparatus and system of array multipath | |
CN102946321B (en) | A kind of fault handling method based on IRF network and equipment | |
CN112787917A (en) | Protection method, end node, protection group network and storage medium for flexible Ethernet |
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: 20210323 |
|
RJ01 | Rejection of invention patent application after publication |