CN111200510B - Service protection method and device - Google Patents

Service protection method and device Download PDF

Info

Publication number
CN111200510B
CN111200510B CN201811379520.2A CN201811379520A CN111200510B CN 111200510 B CN111200510 B CN 111200510B CN 201811379520 A CN201811379520 A CN 201811379520A CN 111200510 B CN111200510 B CN 111200510B
Authority
CN
China
Prior art keywords
flexe
cushion layer
channel
protection
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811379520.2A
Other languages
Chinese (zh)
Other versions
CN111200510A (en
Inventor
卢泉
何晓明
黄卓君
孙嘉琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201811379520.2A priority Critical patent/CN111200510B/en
Publication of CN111200510A publication Critical patent/CN111200510A/en
Application granted granted Critical
Publication of CN111200510B publication Critical patent/CN111200510B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements

Abstract

The disclosure provides a service protection method and device, and relates to the technical field of communication. The service protection method disclosed by the invention comprises the following steps: the first flexible ethernet FlexE shim, in case it is determined that there is a channel failure: sending fault information to the second FlexE cushion layer so that the second FlexE cushion layer calls the standby scheduler and sends a scheduling request; feeding back a scheduling response according to a scheduling request from the second FlexE cushion layer, so that the second FlexE cushion layer switches the service of the channel with the fault to a protection channel; and the first FlexE cushion layer switches the service of the channel with the fault to the protection channel at the local end. By the method, the FlexE cushion layer can rapidly inform the opposite ends under the condition of finding faults, and both sides are switched to the protection channels, so that interruption of the service borne by the fault channels is avoided, timely automatic switching of the service channels is realized, and the efficiency of channel switching and the reliability of the FlexE bearing service are improved.

Description

Service protection method and device
Technical Field
The disclosure relates to the technical field of communication, in particular to a service protection method and device.
Background
The flexible Ethernet (FlexE) technology supports the technology of flexible Ethernet (FlexE) client MAC (Media Access Control Address ) with multiple flexible rates by binding one or multiple 100G, 200G and 400G Ethernet interfaces defined by the IEEE802.3 standard and carrying out channel processing by taking a 66b coding block as a basic unit on the basis. The client rate of each channel may correspond to the ethernet interface rate defined by the existing IEEE802.3 standard or may provide a variety of non-corresponding flexible rates. These flexible customer MAC layers can either make the rate greater than that of a single ethernet physical interface by port binding or make the rate less than that of the physical interface by subrate and tunneling. Fig. 1 is a schematic diagram of a FlexE interface adapting to multiple client MAC layer rates. The FlexE supports network fragmentation of various client ethernet MAC layer rates, and strictly guarantees bandwidth and latency requirements of high quality traffic in a hard-isolation manner.
Disclosure of Invention
The inventors have found that when a certain physical port or link in the FlexE group fails, the traffic flow carried will be interrupted and the traffic path needs to be manually reconfigured. The OIF (Optical Internetworking Forum, optical interconnect forum) standardization organization, although prescribing FlexE implementation mechanisms, does not give a FlexE bearer based service protection method.
An object of the present disclosure is to improve the reliability of FlexE-carried traffic.
According to one aspect of the present disclosure, a service protection method is provided, including: the first FlexE cushion in the event that it is determined that there is a channel failure: sending fault information to a second FlexE cushion layer so that the second FlexE cushion layer calls a standby scheduler and sends a scheduling request, wherein the second FlexE cushion layer is positioned at the opposite end of the first FlexE cushion layer of the fault channel; the first FlexE cushion layer feeds back a scheduling response according to a scheduling request from the second FlexE cushion layer, so that the second FlexE cushion layer switches the service of the channel with the fault to the protection channel; and the first FlexE cushion layer switches the service of the channel with the fault to the protection channel at the local end.
Optionally, the service protection method further includes: the first FlexE shim, in case it is determined that the failed channel is restored: the fault recovery information is sent to the second FlexE cushion layer, so that the second FlexE cushion layer calls the main scheduler and sends a scheduling request; the first FlexE cushion layer feeds back a scheduling response according to a scheduling request from the second FlexE cushion layer, so that the second FlexE cushion layer switches the service of the protection channel to the recovered channel; and the first FlexE cushion layer switches the service of the protection channel to the recovered channel at the local end.
Optionally, the service protection method further includes: the first FlexE shim receives the failure recovery information from the second FlexE shim: calling a main scheduler and sending a scheduling request to a second FlexE cushion layer; the first FlexE cushion layer switches the service of the local protection channel to a restored channel according to the scheduling response fed back by the second FlexE cushion layer; and the second FlexE cushion layer sends fault recovery information under the condition of determining the recovery of the fault channel.
Optionally, the service protection method further includes: after the first FlexE cushion layer sends the scheduling response, the configuration change information from the second FlexE is received; the first FlexE cushion layer receives changed configuration information from the second FlexE, and the first FlexE cushion layer changes configuration according to the configuration information.
Optionally, the service protection method further includes: after receiving the scheduling response fed back from the second FlexE cushion layer, the first FlexE cushion layer generates configuration change information, and the configuration change information and the changed configuration information are sent to the FlexE cushion layer so that the second FlexE cushion layer changes configuration according to the configuration information.
Optionally, sending the fault information is: transmitting a FlexE overhead frame with a fault bit RPF being a first preset value; the sending of the scheduling request is as follows: sending a FlexE overhead frame carrying a CR (CR) identifier; the sending scheduling response is: and sending the FlexE overhead frame carrying the CA identifier.
Optionally, the configuration change information is a FlexE overhead frame carrying the C identifier.
Optionally, at least one port in a FlexE group is a protection port of other ports, and a channel between the protection ports is a protection channel.
By the method, the FlexE cushion layer can rapidly inform the opposite ends under the condition of finding faults, and both sides are switched to the protection channels, so that interruption of the service borne by the fault channels is avoided, timely automatic switching of the service channels is realized, and the efficiency of channel switching and the reliability of the FlexE bearing service are improved.
According to another aspect of the present disclosure, a service protection method is provided, including: the first FlexE shim receives fault information from the second FlexE shim: calling a standby scheduler and sending a scheduling request to a second FlexE cushion layer; the first FlexE cushion layer switches the service of the fault channel to the protection channel at the local end according to the scheduling response fed back by the second FlexE cushion layer; and the second FlexE cushion layer sends fault information under the condition that the existence of the channel is determined to be faulty.
Optionally, the service protection method further includes: the first FlexE shim receives the failure recovery information from the second FlexE shim: calling a main scheduler and sending a scheduling request to a second FlexE cushion layer; the first FlexE cushion layer switches the service of the local protection channel to a restored channel according to the scheduling response fed back by the second FlexE cushion layer; and the second FlexE cushion layer sends fault recovery information under the condition of determining the recovery of the fault channel.
Optionally, the first FlexE shim, in case it is determined that the failed channel is restored: the fault recovery information is sent to the second FlexE cushion layer, so that the second FlexE cushion layer calls the main scheduler and sends a scheduling request; the first FlexE cushion layer feeds back a scheduling response according to a scheduling request from the second FlexE cushion layer, so that the second FlexE cushion layer switches the service of the protection channel to the recovered channel; and the first FlexE cushion layer switches the service of the protection channel to the recovered channel at the local end.
Optionally, the service protection method further includes: after receiving the scheduling response fed back from the second FlexE cushion layer, the first FlexE cushion layer generates configuration change information, and the configuration change information and the changed configuration information are sent to the second FlexE cushion layer so that the second FlexE cushion layer changes configuration according to the configuration information.
Optionally, the service protection method further includes: after the first FlexE cushion layer sends the scheduling response, the configuration change information from the second FlexE is received; and receiving the changed configuration information from the second FlexE, and changing the configuration of the first FlexE cushion layer according to the configuration information.
By the method, the FlexE cushion layer can rapidly respond under the condition that the opposite end finds a fault, and both sides are switched to the protection channel, so that interruption of the service borne by the fault channel is avoided, timely automatic switching of the service channel is realized, and the channel switching efficiency and the reliability of the FlexE bearing service are improved.
According to still another aspect of the present disclosure, there is provided a service protection apparatus, including: a memory; and a processor coupled to the memory, the processor configured to perform any of the traffic protection methods above based on instructions stored in the memory.
When a certain physical port or link in the FlexE group fails, the service protection device can switch the interaction parties to the protection channel, and avoid the interruption of the service borne by the failure channel, thereby realizing the timely automatic switching of the service channel and improving the efficiency of channel switching and the reliability of the FlexE bearing service.
According to yet another aspect of the present disclosure, a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of any of the traffic protection methods above is presented.
By executing the instructions on the computer readable storage medium, when a certain physical port or link in the FlexE group fails, the interaction parties can switch to the protection channel, and the interruption of the service carried by the failure channel is avoided, so that the timely automatic switching of the service channel is realized, and the efficiency of channel switching and the reliability of the FlexE carried service are improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure, illustrate and explain the present disclosure, and together with the description serve to explain the present disclosure. In the drawings:
fig. 1 is a schematic diagram of adapting a FlexE interface to multiple client MAC layer rates in the related art.
Fig. 2 is a flow chart of one embodiment of a traffic protection method of the present disclosure.
Fig. 3 is a flow chart of another embodiment of a traffic protection method of the present disclosure.
Fig. 4 is a signaling interaction diagram of protection switching in the service protection method of the present disclosure.
Fig. 5 is a flow chart of yet another embodiment of a traffic protection method of the present disclosure.
Fig. 6 is a signaling interaction diagram of protection restoration in the service protection method of the present disclosure.
Fig. 7 is a schematic diagram of a port channel of the service protection method of the present disclosure.
Fig. 8A-8D are schematic diagrams of one embodiment of a scheduler in a traffic protection method of the present disclosure.
Fig. 9 is a schematic diagram of one embodiment of a traffic protection device of the present disclosure.
Fig. 10 is a schematic diagram of another embodiment of a traffic protection device of the present disclosure.
Detailed Description
The technical scheme of the present disclosure is described in further detail below through the accompanying drawings and examples.
A flow chart of one embodiment of a traffic protection method of the present disclosure is shown in fig. 2.
In step 201, the first FlexE shim first finds that the channel to which it is connected fails.
In step 202, the first FlexE shim sends failure information to a second FlexE shim located at the opposite end of the failure channel. In one embodiment, the failure information triggers the second FlexE shim to invoke the standby scheduler and send a scheduling request. In one embodiment, the failure information includes a failure path identification.
In step 203, the first FlexE shim feeds back a scheduling response according to the scheduling request from the second FlexE shim, so that the second FlexE shim switches the traffic of the failed channel to the protection channel.
In step 204, the first FlexE shim switches the traffic of the failed channel to the protection channel at the home end. In one embodiment, the second FlexE shim may feedback the configuration change information after receiving the scheduling response, so that the first FlexE shim performs service channel switching according to the configuration change information. In one embodiment, the first FlexE shim may also switch traffic channels according to predefined rules agreed upon by both parties.
By the method, the FlexE cushion layer can rapidly inform the opposite ends under the condition of finding faults, and both sides are switched to the protection channels, so that interruption of the service borne by the fault channels is avoided, timely automatic switching of the service channels is realized, and the efficiency of channel switching and the reliability of the FlexE bearing service are improved.
A flow chart of another embodiment of the traffic protection method of the present disclosure is shown in fig. 3.
In step 301, the first FlexE shim receives failure information from a second FlexE shim opposite the failed channel, where the second FlexE shim discovers a channel failure prior to the first FlexE shim. In one embodiment, the failure information includes a failure path identification.
In step 302, the first FlexE shim invokes the standby scheduler and sends a scheduling request to the second FlexE shim, which triggers the second FlexE to feed back a scheduling reply.
In step 303, the first FlexE shim switches the traffic of the failed channel to the protection channel at the home terminal according to the scheduling response fed back from the second FlexE shim.
By the method, the FlexE cushion layer can rapidly respond under the condition that the opposite end finds a fault, and both sides are switched to the protection channel, so that interruption of the service borne by the fault channel is avoided, timely automatic switching of the service channel is realized, and the channel switching efficiency and the reliability of the FlexE bearing service are improved.
The signaling interaction diagram of protection switching in the service protection method of the present disclosure is shown in fig. 4.
In 401, a FlexE Shim (FlexE Shim) 42 detects one or more physical port/link failures in the FlexE group (e.g., one or more of loss of signal, out of limit bit errors, or inability to lock FlexE overhead frames or overhead multiframes, PCS status errors, etc.).
In 402, the FlexE Shim42 sends fault information, such as a remote physical fault signal RPF, to the remote FlexE Shim 41. In one embodiment, the FlexE Shim42 may advertise fault information to the FlexE Shim41 by having the RPF bit position "1" in the transmitted FlexE overhead frame.
In 403, flexE Shim41 invokes a pre-configured standby scheduler (Slave cache) for the protected FlexE Client traffic.
In 404, flexE Shim41 sends a Calender Request (CR) to FlexE Shim 42.
In 405, flexE Shim42 feeds back the Calendar response (CA) to FlexE Shim 41.
When the FlexE Shim41 receives a calndar response (CA) at 406, configuration change information is sent to the FlexE Shim42, which in one embodiment may be a FlexE overhead frame carrying the modified configuration information. In one embodiment, the FlexE Shim42 switches the protected FlexE Client stream to the protection channel based on the received configuration change information.
In 407, flexE Shim41 switches the protected FlexE Client stream to the protection channel while executing step 406.
By the method, the channels for switching the bearing service can be initiated when the channel faults are found at any one end, and the synchronization of the channels switched by the two parties is ensured, so that the channels can be switched timely and stably, and the channel switching efficiency and the reliability of the FlexE bearing service are further improved.
A flow chart of yet another embodiment of the traffic protection method of the present disclosure is shown in fig. 5.
In step 501, when the first FlexE shim determines that the failed channel recovers, the first FlexE shim sends failure recovery information to the second FlexE shim at the opposite end of the recovered channel. In one embodiment, the first FlexE shim discovers a failed channel recovery prior to the second FlexE shim. In one embodiment, the first FlexE shim may be the end that has previously found the existence of the failure channel, or may be the end that receives the failure information sent by the peer.
In step 502, the second FlexE shim invokes the master scheduler and sends a scheduling request to the first FlexE shim.
In step 503, the first FlexE shim feeds back a scheduling acknowledgement according to the scheduling request from the second FlexE shim.
In step 504, the second FlexE shim switches the traffic of the protection channel to the restored channel. In one embodiment, the second FlexE shim may send configuration change information to the first FlexE shim at the same time as the handover.
In step 505, the first FlexE shim switches the traffic of the protection channel to the restored channel at the home end. In one embodiment, the first FlexE shim may be configured to change according to a predetermined rule (e.g., a bearer channel before the service on the recorded protection channel), or may be switched according to configuration change information received from the second FlexE.
By the method, the fault channel can be found timely to recover and the service is switched back to the original channel, so that the protection channel is prevented from being occupied for a long time, the protection channel can be used when other channels are in fault, the number of the required protection channels is reduced, the demand of the redundant channels is reduced, and the utilization rate of a network is ensured.
The signaling interaction diagram of protection recovery in the service protection method of the present disclosure is shown in fig. 6.
In 601, a FlexE Shim (FlexE Shim) 62 detects one or more previously determined failed physical ports or link failure recovery in the FlexE group.
In 602, the FlexE Shim62 sends fault recovery information to the remote FlexE Shim 61. In one embodiment, the FlexE Shim62 may advertise the failback information to the FlexE Shim61 by setting the RPF flag to "0" in the transmitted FlexE overhead frame.
In 603, flexE Shim61 calls the active scheduler (Slave cache) for the FlexE Client traffic carried by the protection channel that is protected.
In 604, flexE Shim61 sends a Calender Request (CR) to FlexE Shim 62.
In 605, flexE Shim62 feeds back the Calendar response (CA) to FlexE Shim 61.
When the FlexE Shim61 receives a calndar response (CA) at 606, configuration change information is sent to the FlexE Shim62, which in one embodiment may be a FlexE overhead frame carrying the modified configuration information. In one embodiment, the FlexE Shim62 switches the protected FlexE Client stream from the protection channel to the failure recovery channel based on the received configuration change information.
In 607, flexE Shim61 switches the protected FlexE Client stream from the protection channel to the failure-recovered channel while executing step 606.
By the method, the channels for switching the bearing service can be initiated when the channels are found to be recovered by any one end, and the synchronization of the channels switched by the two parties is ensured, so that the channels can be switched timely and stably, and the channel switching efficiency and the reliability of the FlexE bearing service are further improved.
A port channel schematic diagram of one embodiment of the traffic protection method of the present disclosure is shown in fig. 7. The 4 100GE ethernet ports form a FlexE group, and the ethernet port 4 is designated as a protection port for the other three working ethernet ports, and does not carry customer traffic. It is assumed that 20 slots (slots) of the ethernet port 1 are configured at the master scheduler (master scheduler) for carrying traffic flows of FlexE client 1 and FlexE client 2, 20 slots of the ethernet port 2 are used for carrying traffic flows of FlexE client 3 and FlexE client 4, and 20 slots of the ethernet port 3 are used for carrying traffic flows of FlexE client 5 and FlexE client 6. The master scheduler configured for the FlexE group is shown in fig. 8A.
20 slots (slots) of the ethernet port 4 as a protection channel are preconfigured at the standby scheduler 1 (slave carrier) for carrying traffic streams of the FlexE client 1 and the FlexE client 2, 20 slots (slots) of the ethernet port 4 as a protection channel are preconfigured at the standby scheduler 2 (slave carrier) for carrying traffic streams of the FlexE client 3 and the FlexE client 4, and 20 slots (slots) of the ethernet port 4 as a protection channel are preconfigured at the standby scheduler 3 (slave carrier) for carrying traffic streams of the FlexE client 5 and the FlexE client 6, the preconfigured standby schedulers being shown in fig. 8B, 8C, 8D, respectively.
It is assumed that when the ethernet port 1 or the link fails, the protection switching flow is as follows:
1) When any one end FlexE Shim detects that the working channel Ethernet port 1 or the link in the FlexE group has faults (such as signal loss, error code out of limit or failure to lock FlexE overhead frames or overhead multiframes and PCS state errors), fault information is sent to the opposite end FlexE Shim of the fault channel. The local FlexE Shim may notify the remote FlexE Shim of the failure information by having RPF bit "1" in the transmitted FlexE overhead frame.
2) The remote FlexE Shim receives the RPF signal, calls a pre-configured standby scheduler for the protected FlexE Client service flow, and then sends a FlexE overhead frame with a CR flag to the opposite FlexE Shim.
3) When the FlexE Shim found to be faulty in step 1) receives the FlexE overhead frame with the CR flag, the FlexE overhead frame with the CA flag is restored to the opposite FlexE Shim.
4) After receiving the FlexE overhead frame with the CA flag, the opposite FlexE Shim sends a FlexE overhead frame with the C flag (configuration information is changed) to the FlexE Shim that finds the fault, where the FlexE overhead frame further includes configuration information that is copied by the standby scheduler 1 to each ethernet port and carries the modification, and meanwhile, the protected FlexE Client stream is switched to the protection channel of the ethernet port 4.
In one embodiment, the flow of protection switching may be as shown in fig. 4.
The protection recovery flow when the ethernet port 1 or link fails to recover is as follows:
1) When any one end of the FlexE Shim detects that the working channel Ethernet port 1 or the link in the FlexE group is recovered to be normal, the FlexE Shim which finds that the fault channel is recovered sends a FlexE overhead frame with an RPF flag of 0 to the FlexE Shim at the opposite end of the channel.
2) The opposite end FlexE Shim receives the RPF flag clear '0' signal, calls an original main scheduler for the protected FlexE Client service flow, and then sends a FlexE overhead frame with a CR flag to the FlexE Shim which finds out that the fault channel is recovered.
3) And when the opposite-end FlexE Shim receives the FlexE overhead frame with the CR mark, the FlexE overhead frame with the CA mark is recovered to the FlexE Shim which finds the fault channel to recover.
4) When the opposite-end FlexE Shim receives the FlexE overhead frame with the CA flag, the FlexE overhead frame with the C flag (the configuration information is changed) is sent to the recovery of the found failure channel, and the FlexE overhead frame also contains the recovered configuration information carried in each ethernet port copied by the original master scheduler, and meanwhile, the protected FlexE Client stream is switched to the working channel of the original ethernet port 1 again.
In one embodiment, the protection recovery flow may be as shown in FIG. 6.
In one embodiment, the protection switching and protection recovery process when the ethernet port 2 or the ethernet port 3 fails is the same as above, and will not be described again.
By the method, one or more physical ports in the FlexE group are used as backup protection channels, and other physical ports are used as working channels. When one end detects that any one or more working channels are failed, an alarm signal is sent to the other end, and the configuration information carried by the FlexE overhead frame indicates the standby protection channel switched by the protected FlexE Client stream, so that the protected service stream can be rapidly switched to the protection channel, and the service is ensured not to be interrupted; when any end finds out that the fault channel is recovered, the service can be quickly switched back to the original channel, so that the repeated and cyclic utilization of the protection channel is ensured, the demand of the protection channel is reduced, and the network utilization rate is improved.
A schematic structural diagram of an embodiment of the service protection device of the present disclosure is shown in fig. 9. The traffic protection device comprises a memory 901 and a processor 902. Wherein: memory 901 may be a magnetic disk, flash memory, or any other non-volatile storage medium. The memory is used to store instructions in the corresponding embodiments of the traffic protection method above. The processor 902 is coupled to the memory 901 and may be implemented as one or more integrated circuits, such as a microprocessor or microcontroller. The processor 902 is configured to execute instructions stored in the memory, so that timely and automatic switching of service channels can be achieved, and efficiency of channel switching and reliability of FlexE bearing service are improved.
In one embodiment, as also shown in fig. 10, the traffic protection device 1000 includes a memory 1001 and a processor 1002. Processor 1002 is coupled to memory 1001 through BUS 1003. The service protection device 1000 may also be connected to an external storage device 1005 via a storage interface 1004 for invoking external data, and may also be connected to a network or another computer system (not shown) via a network interface 1006. And will not be described in detail herein.
In the embodiment, the data instruction is stored by the memory, and then the processor processes the instruction, so that the timely automatic switching of the service channels can be realized, and the efficiency of channel switching and the reliability of the FlexE bearing service are improved.
In another embodiment, a computer readable storage medium has stored thereon computer program instructions which, when executed by a processor, implement the steps of the method in the corresponding embodiments of the traffic protection method. It will be apparent to those skilled in the art that embodiments of the present disclosure may be provided as a method, apparatus, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Thus far, the present disclosure has been described in detail. In order to avoid obscuring the concepts of the present disclosure, some details known in the art are not described. How to implement the solutions disclosed herein will be fully apparent to those skilled in the art from the above description.
The methods and apparatus of the present disclosure may be implemented in a number of ways. For example, the methods and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, firmware. The above-described sequence of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the sequence specifically described above unless specifically stated otherwise. Furthermore, in some embodiments, the present disclosure may also be implemented as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
Finally, it should be noted that: the above embodiments are merely for illustrating the technical solution of the present disclosure and are not limiting thereof; although the present disclosure has been described in detail with reference to preferred embodiments, those of ordinary skill in the art will appreciate that: modifications may be made to the specific embodiments of the disclosure or equivalents may be substituted for part of the technical features; without departing from the spirit of the technical solutions of the present disclosure, it should be covered in the scope of the technical solutions claimed in the present disclosure.

Claims (12)

1. A method of traffic protection, comprising:
the first flexible ethernet FlexE shim, in case it is determined that there is a channel failure:
sending fault information to a second FlexE cushion layer so that the second FlexE cushion layer calls a standby scheduler and sends a scheduling request, wherein the second FlexE cushion layer is positioned at the opposite end of the first FlexE cushion layer of a fault channel, the standby scheduler comprises a corresponding relation between a time slot of an Ethernet port which is pre-configured as a protection channel and a carried FlexE client service flow, and the fault comprises signal loss, error code out-of-limit, failure of locking a FlexE overhead frame or an overhead multiframe and PCS state errors of a physical coding sublayer;
the first FlexE cushion layer feeds back a scheduling response according to a scheduling request from the second FlexE cushion layer, so that the second FlexE cushion layer switches the service of the channel with the fault to a protection channel;
the first FlexE cushion layer switches the service of a channel with faults to a protection channel at the local end, wherein at least one port in one FlexE group is a protection port of other ports, and the channels among the protection ports are the protection channels;
further comprises:
the first FlexE shim, in case it is determined that the failed channel is restored:
the fault recovery information is sent to a second FlexE cushion layer, so that the second FlexE cushion layer calls a main scheduler and sends a scheduling request;
the first FlexE cushion layer feeds back a scheduling response according to a scheduling request from the second FlexE cushion layer, so that the second FlexE cushion layer switches the service of the protection channel to the recovered channel;
and the first FlexE cushion layer switches the service of the protection channel to the restored channel at the local end.
2. The method of claim 1, further comprising:
the first FlexE shim receives the failure recovery information from the second FlexE shim:
calling a main scheduler and sending a scheduling request to the second FlexE cushion layer;
switching the service of the protection channel at the local end to a restored channel according to the scheduling response fed back from the second FlexE cushion layer;
and the second FlexE cushion layer sends the fault recovery information under the condition that the fault channel recovery is determined.
3. The method of claim 1, further comprising:
after the first FlexE cushion layer sends the scheduling response, receiving configuration change information from the second FlexE; and receiving changed configuration information from the second FlexE, wherein the first FlexE cushion layer changes configuration according to the configuration information.
4. The method of claim 2, further comprising:
after receiving the scheduling response fed back by the second FlexE cushion layer, the first FlexE cushion layer generates configuration change information, and the configuration change information and the changed configuration information are sent to the FlexE cushion layer so that the second FlexE cushion layer changes configuration according to the configuration information.
5. The method of claim 1, wherein,
the fault sending information is as follows: transmitting a FlexE overhead frame with a fault bit RPF being a first preset value;
the sending scheduling request is: sending a FlexE overhead frame carrying a scheduling request CR identifier;
the sending scheduling response is: and sending the FlexE overhead frame carrying the scheduling response CA identification.
6. The method according to claim 3 or 4, wherein the configuration change information is a FlexE overhead frame carrying a schedule C identification.
7. A method of traffic protection, comprising:
the first flexible ethernet FlexE shim receives fault information from the second FlexE shim:
calling a standby scheduler and sending a scheduling request to the second FlexE cushion layer, wherein the standby scheduler comprises a corresponding relation between a time slot of an Ethernet port which is pre-configured as a protection channel and a carried FlexE client service flow, the fault comprises signal loss, error code out-of-limit, failure to lock a FlexE overhead frame or overhead multiframe and a physical coding sublayer PCS state error;
the first FlexE cushion layer switches the service of the fault channel to a protection channel at the local end according to a scheduling response fed back from the second FlexE cushion layer, wherein at least one port in one FlexE group is a protection port of other ports, channels among the protection ports are the protection channels, and the second FlexE cushion layer sends the fault information under the condition that the existence of the channel is determined to have faults;
further comprises:
the first FlexE shim receives the failure recovery information from the second FlexE shim:
calling a main scheduler and sending a scheduling request to the second FlexE cushion layer;
the first FlexE cushion layer switches the service of the local protection channel to a restored channel according to the scheduling response fed back by the second FlexE cushion layer;
and the second FlexE cushion layer sends the fault recovery information under the condition that the fault channel recovery is determined.
8. The method of claim 7, wherein,
the first FlexE shim, in case it is determined that the failed channel is restored:
the fault recovery information is sent to a second FlexE cushion layer, so that the second FlexE cushion layer calls a main scheduler and sends a scheduling request;
the first FlexE cushion layer feeds back a scheduling response according to a scheduling request from the second FlexE cushion layer, so that the second FlexE cushion layer switches the service of the protection channel to the recovered channel;
and the first FlexE cushion layer switches the service of the protection channel to the restored channel at the local end.
9. The method of claim 8, further comprising:
after receiving the scheduling response fed back by the second FlexE cushion layer, the first FlexE cushion layer generates configuration change information, and the configuration change information and the changed configuration information are sent to the second FlexE cushion layer so that the second FlexE cushion layer changes configuration according to the configuration information.
10. The method of claim 8, further comprising:
after the first FlexE cushion layer sends the scheduling response, receiving configuration change information from the second FlexE; and receiving changed configuration information from the second FlexE, wherein the first FlexE cushion layer changes configuration according to the configuration information.
11. A traffic protection device comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the method of any of claims 1-10 based on instructions stored in the memory.
12. A computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of any of claims 1 to 10.
CN201811379520.2A 2018-11-20 2018-11-20 Service protection method and device Active CN111200510B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811379520.2A CN111200510B (en) 2018-11-20 2018-11-20 Service protection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811379520.2A CN111200510B (en) 2018-11-20 2018-11-20 Service protection method and device

Publications (2)

Publication Number Publication Date
CN111200510A CN111200510A (en) 2020-05-26
CN111200510B true CN111200510B (en) 2023-06-02

Family

ID=70746034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811379520.2A Active CN111200510B (en) 2018-11-20 2018-11-20 Service protection method and device

Country Status (1)

Country Link
CN (1) CN111200510B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113973381A (en) * 2020-07-25 2022-01-25 华为技术有限公司 Resource management method and device for flexible Ethernet Flexe
CN114697195A (en) * 2020-12-25 2022-07-01 中兴通讯股份有限公司 Fault processing method, transmission path adjusting method, network element and storage medium
WO2023197770A1 (en) * 2022-04-15 2023-10-19 华为技术有限公司 Fault notification method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612203A (en) * 2015-10-27 2017-05-03 中兴通讯股份有限公司 Method and apparatus for processing data flow of flexible Ethernet client
CN106612220A (en) * 2015-10-27 2017-05-03 中兴通讯股份有限公司 Flexible Ethernet lane management method and apparatus
CN107453905A (en) * 2017-07-31 2017-12-08 烽火通信科技股份有限公司 A kind of flexibly Ethernet 1:1 pretection switch implementation method
CN108156074A (en) * 2016-12-02 2018-06-12 华为技术有限公司 Pretection switch method, the network equipment and system
CN108419259A (en) * 2018-02-11 2018-08-17 烽火通信科技股份有限公司 The method and system of flexible Ethernet pretection switch are realized based on reservation overhead field

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9838290B2 (en) * 2015-06-30 2017-12-05 Ciena Corporation Flexible ethernet operations, administration, and maintenance systems and methods

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612203A (en) * 2015-10-27 2017-05-03 中兴通讯股份有限公司 Method and apparatus for processing data flow of flexible Ethernet client
CN106612220A (en) * 2015-10-27 2017-05-03 中兴通讯股份有限公司 Flexible Ethernet lane management method and apparatus
CN108156074A (en) * 2016-12-02 2018-06-12 华为技术有限公司 Pretection switch method, the network equipment and system
CN107453905A (en) * 2017-07-31 2017-12-08 烽火通信科技股份有限公司 A kind of flexibly Ethernet 1:1 pretection switch implementation method
CN108419259A (en) * 2018-02-11 2018-08-17 烽火通信科技股份有限公司 The method and system of flexible Ethernet pretection switch are realized based on reservation overhead field

Also Published As

Publication number Publication date
CN111200510A (en) 2020-05-26

Similar Documents

Publication Publication Date Title
CN111200510B (en) Service protection method and device
CN109688016B (en) Method for switching time slot configuration in flexible Ethernet protocol and related equipment
KR102582988B1 (en) Flexible Ethernet communication method and network device
CN109428840B (en) Communication method, device and storage medium
US9385944B2 (en) Communication system, path switching method and communication device
US9071513B2 (en) Path switch-back method and apparatus in transport network
US8737201B2 (en) Data relay apparatus, and ring-type communication system
US9391694B2 (en) Protection path providing method and transmission device
CN110417631B (en) L1 ring protection method in SPN based on Flexe
CN109218232B (en) Method, equipment and system for realizing Mux machine
CN101577719A (en) Double hot standby method, device and system
US20140293771A1 (en) Network Relay Device
WO2012037812A1 (en) Method and apparatus for sharing service protection in mesh network
CN114125019A (en) Data transmission method and device, electronic equipment and computer readable medium
CN110572228B (en) Synchronous information transmission method, device, related equipment and storage medium
JP2006333077A (en) Line redundancy method and relaying device to be used therein
CN113206721B (en) Data transmission method, device and system
EP2047628B1 (en) System and method for maintaining state synchronization in redundant ima group protection switching
JP2016072704A (en) Relay system and switch device
CN115152192B (en) PCE controlled network reliability
JP7163508B2 (en) Flexible Ethernet communication methods and network devices
CN113794541A (en) Main/standby switching management method, device, equipment and machine readable storage medium
CN111835632A (en) Method for operating a network coupling element with TSN capability
CN110557192A (en) Flexe-based dual-node interconnection ring protection method in SPN
KR20160106913A (en) Operating method of source node and intermediate node for automatic protection switching(aps) in optical transport network(otn), the source node and the intermediate node

Legal Events

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