WO2020151280A1 - 灵活以太网协议中切换时隙配置的方法及相关设备 - Google Patents
灵活以太网协议中切换时隙配置的方法及相关设备 Download PDFInfo
- Publication number
- WO2020151280A1 WO2020151280A1 PCT/CN2019/113731 CN2019113731W WO2020151280A1 WO 2020151280 A1 WO2020151280 A1 WO 2020151280A1 CN 2019113731 W CN2019113731 W CN 2019113731W WO 2020151280 A1 WO2020151280 A1 WO 2020151280A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- time slot
- slot configuration
- flexe
- configuration scheme
- receiving end
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 110
- 238000002360 preparation method Methods 0.000 claims abstract description 30
- 230000004044 response Effects 0.000 claims description 51
- 238000012546 transfer Methods 0.000 claims description 23
- 238000012790 confirmation Methods 0.000 claims description 16
- 238000003860 storage Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 12
- 230000010365 information processing Effects 0.000 claims description 6
- 230000004913 activation Effects 0.000 claims description 4
- 238000007726 management method Methods 0.000 description 64
- 238000010586 diagram Methods 0.000 description 20
- 230000008569 process Effects 0.000 description 20
- 230000005540 biological transmission Effects 0.000 description 18
- 230000003287 optical effect Effects 0.000 description 16
- 238000004891 communication Methods 0.000 description 8
- 238000013439 planning Methods 0.000 description 8
- 238000011084 recovery Methods 0.000 description 6
- 238000012384 transportation and delivery Methods 0.000 description 6
- 238000003745 diagnosis Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 230000007246 mechanism Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 239000003999 initiator Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
Images
Classifications
-
- 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
- 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]
- H04J3/1658—Optical Transport Network [OTN] carrying packets or ATM cells
-
- 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/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
- H04L41/083—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for increasing network speed
-
- 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/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
- H04L41/0836—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
-
- 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
Definitions
- the embodiment of the present invention relates to but not limited to the flexible Ethernet FlexE (Flex Ethernet) technology, and more specifically relates to a method and related equipment for switching time slot configuration in the flexible Ethernet FlexE protocol.
- Flexible Ethernet FlexE Flexible Ethernet FlexE
- a negotiation method for modifying the time slot configuration content is defined in the FlexE protocol, which can dynamically modify the customer service time slots transmitted on members of the FlexE group.
- the equipment system can modify the time slot configuration content of all members in the FlexE group, and delete the time transmitted on the failed member.
- the idle time slot on the normally working member replaces the time slot on the faulty member, so that interrupted customer services can be restored, thereby realizing the protection requirements of customer services.
- the time slot configuration negotiation method defined in the FlexE protocol is a handshake negotiation method between devices at both ends.
- the application of the time slot reconfiguration method of the FlexE protocol for service protection involves many processing links, such as: 1. Analyze damaged time slots; 2. , Look for alternative time slots; 3. Transfer the content of the new time slot configuration table; 4. Handshake and negotiate at both ends; 5. Switch the time slot configuration table, etc. Therefore, the business protection process in the existing FlexE protocol involves many links, and the negotiation process has a long waiting time, resulting in a long business interruption time, which cannot meet the requirement of business recovery within 50 ms.
- an embodiment of the present invention provides a method for switching time slot configuration in the flexible Ethernet FlexE protocol, which includes: before a member in the FlexE group fails, the sender configures at least one time slot configuration solution corresponding to the failure , And send to the receiving end; when a member of the FlexE group fails, the sending end determines the corresponding time slot configuration scheme according to the fault; the sending end negotiates with the receiving end to switch to the fault corresponding Time slot configuration scheme.
- the embodiment of the present invention also provides a method for switching time slot configuration in the flexible Ethernet FlexE protocol, which includes: before a member in the FlexE group fails, the receiving end receives at least one time slot configuration corresponding to the fault sent by the sending end Solution: When a member of the FlexE group fails, the receiving end negotiates with the sending end to switch to the time slot configuration scheme corresponding to the failure.
- the embodiment of the present invention also provides a device for switching time slot configuration in the flexible Ethernet FlexE protocol, which is applied to the sending end and includes a configuration unit, which is set to configure at least one type of configuration at the sending end before a member of the FlexE group fails.
- the time slot configuration plan corresponding to the fault is sent to the receiving end; the determining unit is set to determine the corresponding time slot configuration plan based on the fault when a member of the FlexE group fails; the negotiation unit, setting Negotiate for the sending end and the receiving end to switch to the time slot configuration scheme corresponding to the fault.
- the embodiment of the present invention also provides a device for switching time slot configuration in the flexible Ethernet FlexE protocol, which is applied to the receiving end and includes a receiving unit, which is set to receive and send from the sending end before the member in the FlexE group fails. At least one time slot configuration solution corresponding to the failure; a negotiation unit configured to, when a member of the FlexE group fails, the receiving end and the sending end negotiate to switch to the time slot configuration solution corresponding to the failure.
- the embodiment of the present invention also provides a sending end including a memory, a processor, and a computer program stored on the memory and capable of running on the processor.
- the computer program is executed by the processor to realize the above The method for switching time slot configuration in the flexible Ethernet FlexE protocol executed by the sending end.
- the embodiment of the present invention also provides a receiving end, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and the computer program is executed by the processor to realize the foregoing The method for switching time slot configuration in the flexible Ethernet FlexE protocol executed by the receiving end.
- the embodiment of the present invention also provides a system for switching time slot configuration in the flexible Ethernet FlexE protocol, which includes the sending end and the receiving end.
- the embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores an information processing program, and when the information processing program is executed by a processor, the flexible Ethernet FlexE described above is implemented. Steps of the method of switching time slot configuration in the protocol.
- the embodiment of the present invention provides a method and related equipment for switching time slot configuration in the FlexE protocol.
- the preparation part before time slot switching is completed before the fault occurs, and only time slot switching is completed after the fault occurs.
- the switching operation can greatly reduce the time slot switching time and meet the 50ms service protection requirement.
- Figure 1 is a schematic diagram of the FlexE protocol application
- Figure 2 is a schematic diagram of the influence of member failures in the FlexE protocol
- Figure 3 is a schematic diagram of the arrangement positions of the FlexE protocol overhead blocks and data blocks
- Figure 4 is a schematic diagram of the process of sending customer services on multiple physical channels in the group
- Figure 5 is a schematic diagram of a client service receiving process on multiple physical channels in a group
- Figure 6 is a schematic diagram of the frame structure of the FlexE protocol
- Figure 7 is a schematic diagram of the FlexE protocol multi-frame structure
- Figure 8 is a schematic diagram of the results of sharing and transmitting customer services among group members
- Figure 9 is a schematic diagram of the configuration results of the member time slots in the group of three customer services.
- Figure 10 is a schematic diagram showing how the failure of a FlexE protocol member affects customer business
- Figure 11 is a schematic diagram of the result of modifying the time slot configuration content in the group
- Figure 12 is a schematic diagram of the result of realizing service protection after modifying the time slot configuration content
- Figure 13 is a schematic diagram of the switching process of the time slot configuration table in the FlexE protocol standard
- 16 is a schematic flowchart of a method for switching time slot configuration in the FlexE protocol according to another embodiment of the present invention.
- 17 is a schematic flowchart of a method for switching time slot configuration in the FlexE protocol according to another embodiment of the present invention.
- FIG. 18 is a schematic diagram of a FlexE frame structure with an extended SP field provided by another embodiment of the present invention.
- FIG. 19 is a schematic flowchart of a method for switching time slot configuration in the FlexE protocol according to another embodiment of the present invention.
- FIG. 20 is a schematic diagram of a FlexE frame structure with an extended SP field provided by another embodiment of the present invention.
- FIG. 21 is a schematic diagram of a FlexE frame structure with an extended SP field provided by another embodiment of the present invention.
- 22 is a schematic structural diagram of a device for switching time slot configuration in the FlexE protocol provided by an embodiment of the present invention.
- FIG. 23 is a schematic structural diagram of a device for switching time slot configuration in the FlexE protocol according to another embodiment of the present invention.
- the FlexE protocol bundles multiple 100G optical modules to form a high-speed transmission channel.
- 4 100G optical modules are bundled through FlexE Shim (cushion layer) to form a 400G transmission channel, which is equivalent With the transmission speed of one 400G optical module, the transmission demand of 400G services is solved without increasing the cost.
- the FlexE protocol bundles multiple physical channels into a logical channel for service delivery, when one physical channel fails, the entire logical channel fails.
- Figure 2 when a physical channel is interrupted, the entire logical channel is interrupted.
- the device can realize that when some members of the FlexE group fail, other members are not affected, and other members can transfer customer services normally. In this way, the failure of a single member will only affect the customer services transmitted on the failed member, and not others. Customer business passed on members.
- the FlexE protocol is defined according to the 100G rate of the physical layer.
- the data packet message is 64/66 encoded, the data packet is cut into 64-bit data block, and then the 64-bit data block is expanded into 66-bit data block, adding The 2 bits of is located in front of the 66-bit data block as the start mark of the 66-bit data block, and finally sent out from the optical transmission interface in the form of a 66-bit data block.
- the 66-bit data block is identified from the data stream received by the optical transmission receiving interface, and then the original 64-bit data is recovered from the 66-bit block, and the data message is reassembled.
- the FlexE protocol is located in the middle of the PCS layer (Physical Coding Sublayer) in the Ethernet protocol, after the 64-bit data block to 66-bit data block conversion layer, before sending the 66-bit data block, the 66-bit data block is sorted And planning, as shown in Figure 3: For 100G services, every 20 66-bit data blocks are divided into a data block group, each group has a total of 20 66-bit data blocks, representing 20 time slots, and each time slot represents 5G ( bit/s) Bandwidth service speed, customer service can be carried and transmitted in 20 time slots. 20 time slot groups appear cyclically, and a FlexE overhead block is inserted every 1023 times to form a FlexE protocol shim layer data block structure: 1023*20.
- the time slot structure is composed of 80 (4*20) time slots
- Calendar is 80 time slots, divided into 4 groups, each group of 20 time slots,
- Each group is a member subcalendar.
- PHY Physical Layer
- each physical layer carries the content of a member (subcalendar), and still forms a data block group according to 20 66-bit data blocks, that is, 20 time slots.
- 20 time slots are continuously cycled, and a FlexE overhead block is inserted 1023 times every cycle.
- the overhead block plays a role in positioning, and multiple members use the overhead block as a reference to locate and sort to restore services.
- each physical layer detects the received data, determines each 66-bit data block, and identifies the FlexE overhead block (black information block), and then 20 time slots can be determined.
- each physical channel locates the FlexE overhead block separately, determines each 20 timeslots, and then uses the overhead block as the alignment reference mark, according to the overhead block carried in each physical channel
- This member number determines the queuing order between members (sorted from small to large according to the member number), and composes the time slots of all members into a big shim structure: 1023*20*n (n is the number of members in the group), and then restore Customer business.
- the FlexE overhead block is an overhead block with a length of 66 bits.
- An overhead block is 66 bits long and consists of a 2-bit block flag and 64-bit block content.
- the block mark is located in the first 2 columns, and the next 64 columns are the block content.
- the overhead block plays a positioning function in the entire service flow. When the overhead block is found, the position of the first time slot in the service and the position of the subsequent time slot can be known.
- 8 overhead blocks are defined to form a frame (FlexE overhead frame).
- the block flag of the first overhead block is 10, and the block flags of the following 7 overhead blocks are 01 or SS (SS means the content is uncertain).
- the first overhead block is identified by two fields, 4B (hexadecimal, identified as 0x4B) and 05 (hexadecimal, identified as 0x5).
- 4B hexadecimal, identified as 0x4B
- 05 hexadecimal, identified as 0x5
- the content of the first overhead block is: 0x4B (8 bits, 4B in hexadecimal), C bit (1 bit, indicating adjustment control), OMF bit (1 bit, indicating overhead frame multi-frame indication), RPF bit ( 1 bit, indicating remote defect indication), RES bit (1 bit, reserved bit), FlexE group number (20 bits, indicating the group number), 0x5 (4 digits, hexadecimal 5), 000000 (28 Bit, all 0).
- 0x4B and 0x5 are the flag indications of the first overhead block.
- the reserved part is reserved content (reserved field), which has not been defined.
- FlexE group number represents the group identifier, and all members with the same group number belong to a group.
- the PHY number is the member number. In the same group number, the PHY number of each member is unique, and all members are sorted according to the PHY number from small to large.
- the PHY number is 8-bit data, which can represent all numbers between 0 and 255, so there are up to 256 members in a group. In the current standard, 0 and 255 are defined as reserved numbers for special applications. Normal members use numbers from 1-254.
- the OMF field is a multi-frame indicator signal, as shown in Figure 7.
- OMF is a single-bit value, which is 0 in 16 consecutive frames, then 1 in 16 consecutive frames, then 0 in 16 consecutive frames, and 1 in consecutive 16 frames, repeated every 32 frames, so that the multiframe is composed of Composed of 32 frames.
- the Client calendar field indicates the name of the client carried in each time slot, and indicates which client the time slot belongs to. The number of timeslots required for client services is uncertain and needs to be flexibly modified. Therefore, Client calendar has two sets of configuration information, Client calendar A and Client calendar B. The two sets of configuration values are in working mode and standby mode. Used to dynamically and smoothly switch configuration information. In the FlexE frame structure, there are three C bits.
- Client calendar A When all the C bits are "0", Client calendar A is in the working state and Client calendar B is in the standby state; conversely, when all C bits are "1", Client calendar A is in the standby state and Client calendar B is working status. At a point in time, only one set of Client calendar is in working state, and the other set of Client calendar is in standby state.
- the switch of the client calendar state is negotiated through the CR bit and the CA bit. The CR initiates the request, and the CA answers the request.
- a negotiation method for modifying the time slot configuration content is defined in the FlexE protocol, which can dynamically modify the customer service time slots transmitted on members of the FlexE group.
- the equipment system can modify the time slot configuration content of all members in the group, delete the time slot relationship transmitted on the failed member, and The idle time slot on the normally working member replaces the time slot on the faulty member, so that the damaged customer service can be restored, thereby realizing the protection requirement of the customer service.
- Figure 8 shows that a FlexE group consists of 4 members, and 2 client services (client1 and client2) are transmitted through the group group. Among them, client1 has a client bandwidth of 20G and requires 4 time slots for transmission.
- the configuration time slot slot 0 on member 2 can be adjusted to the configuration time slot slot 0 on member 3, as shown in Figure 11.
- member 2 does not undertake any customer business, and the customer 1 business is undertaken by members 1, member 3, and member 4.
- the normal transmission of customer 1 business is resumed, as shown in Figure 12.
- the time slot of member 2 responsible for client 1 is re-allocated from member 2 to member 3, avoiding the faulty member 2, thereby realizing the protection and restoration of client services.
- the current time slot configuration negotiation method defined in the FlexE protocol is a handshake negotiation method between the two ends of the device.
- the CR bit and the CA bit are used to negotiate, transfer the new time slot configuration content, and then switch the time slot configuration through the C bit.
- Many processing steps are involved when applying the FlexE protocol time slot reconfiguration method for service protection: 1. Analyze the damaged time slot; 2. Find a replacement time slot; 3. Transfer the content of the new time slot configuration table; 4. Handshake and negotiate between both ends ; 5. Switch time slot configuration table, etc. Therefore, the business protection process involves a large number of links, and the negotiation process has a long waiting time. These processing links are only started after the fault occurs, resulting in a long service interruption time, which cannot meet the requirement of returning to normal within 50ms.
- Step 13 when a physical member channel fails, the method that needs to perform service recovery is to modify the client time slot configuration content and change the bearer time slot on the failed member to other members.
- the specific process involves the following operations Steps: (1), fault diagnosis: send the diagnosis FlexE frame status, analyze the RPF (Remote PHY Fault, remote PHY (Physical Layer) fault) information returned by the receiving end, and determine which members are faulty; (2) Analyze damaged time slots: analyze which customer services are carried on the faulty member, the number of corresponding time slots, and the location of the time slot; (3), find alternative time slots: look for free time slots on normal members, which are for the damaged customers Re-allocate the damaged time slot to replace the time slot and plan the content of the new time slot configuration table; (4) Transfer the content of the new time slot configuration table: transfer the content of the newly planned time slot configuration table to the receiving end device; (5), start Handshake negotiation process: the sender starts the handshake protocol, informs the receiver of the time slot configuration content that needs to
- analyzing damaged time slots, finding replacement time slots, and transferring new time slot configuration content are the preparations for time slot configuration switching.
- Handshake negotiation and switching time slot configuration are the real switching process.
- the preparation for the time slot configuration switch takes a long time, which prolongs the service recovery time, and causes the service to be interrupted and cannot be recovered within 50ms.
- the embodiment of the present invention proposes a new flexible Ethernet FlexE protocol for implementing service protection.
- the service protection link is divided into two parts: the preparation part before time slot configuration switching and the operation part of switching time slot configuration. Complete the pre-switching preparation part before the fault occurs, and only complete the switching operation part after the fault occurs, which can greatly reduce the service interruption time and meet the 50ms protection requirement.
- FIG. 14 is a schematic flowchart of a method for switching time slot configuration in the FlexE protocol according to an embodiment of the present invention. As shown in FIG. 14, the method includes:
- Step 1401 Before a failure occurs in a member of the FlexE group group, the transmitting end configures at least one time slot configuration scheme corresponding to the failure, and sends it to the receiving end;
- Step 1402 When a member in the FlexE group fails, the sending end determines a corresponding time slot configuration scheme according to the failure;
- Step 1403 The sending end and the receiving end negotiate to switch to the time slot configuration scheme corresponding to the fault.
- each type of failure corresponds to a time slot configuration plan
- one time slot configuration plan corresponds to a number
- the time slot configuration plan is the time slot configuration content that is changed after a failure occurs.
- the time slot configuration scheme corresponding to at least one fault configured by the transmitting end is sent to the receiving end in one of the following ways:
- Network management protocol configuration mode management channel mode in FlexE frame, fixed field mode in FlexE frame.
- sending the time slot configuration solution corresponding to the configured at least one fault to the receiving end by means of a fixed field in the FlexE frame includes: the sending end sends a continuous FlexE overhead frame to the receiving end The first FlexE frame; the reserved field area in the FlexE overhead frame contains an SP field, wherein the SP field includes a number part and a flag part, the number part indicates the number of the time slot configuration scheme, the flag The part indicates whether to enable the time slot configuration scheme mode; wherein the CR bit value in the FlexE overhead frame is set to invert, and the flag part is set to indicate enable, used to notify the receiving end to receive and save a The time slot configuration scheme corresponding to the failure and the number of the time slot configuration scheme; the Client calendar field in the standby state in the FlexE overhead frame conveys the time slot configuration scheme corresponding to the one failure.
- the first FlexE frame may be a frame composed of 20 continuous FlexE overhead frames, or may be a FlexE multiframe composed of 32 continuous FlexE overhead frames.
- one of the first FlexE frames transfers a time slot configuration scheme, and after sending a first FlexE frame, the sending end resets the CR bit value after receiving the CA bit response sent by the receiving end.
- the sending end and the receiving end negotiating to switch to the time slot configuration solution corresponding to the fault includes: the sending end sends at least one FlexE overhead frame to the receiving end; wherein, in the FlexE overhead frame The CR bit value is set to be inverted, the number part of the SP field indicates the number of the time slot configuration scheme corresponding to the failure, and the flag part is set to indicate enable, used to notify the receiving end to switch to all The time slot configuration scheme corresponding to the fault; after the sending end receives the CA bit response sent by the receiving end, it reverses the C bit, and switches to the time slot configuration scheme corresponding to the fault, according to the time slot configuration scheme corresponding to the fault The time slot configuration scheme sends services.
- sending the time slot configuration solution corresponding to the configured at least one fault to the receiving end by means of a fixed field in the FlexE frame includes: the sending end sends a continuous FlexE overhead frame to the receiving end The first FlexE frame; the time slot position of the Client calendar field in the FlexE overhead frame and/or the reserved field of the Client calendar field contains the SP field, the SP field includes a number part and a flag part, wherein the flag part It is used to indicate whether to enable the time slot configuration scheme mode; the number part of the SP field in the client calendar in the working state is used to indicate the number of the time slot configuration scheme currently in use, and all the numbers in the client calendar in the standby state The number part of the SP field is used to indicate the number of the time slot configuration scheme; wherein, the CR bit value in the FlexE overhead frame is set to be inverted, and the SP field in the client calendar in the working state is flag Part is set to not enabled, and the flag part of the SP field of the client celendar in the standby state is set to enable, which is
- the first FlexE frame may be a frame composed of 20 continuous FlexE overhead frames, or may be a FlexE multiframe composed of 32 continuous FlexE overhead frames.
- the time slot position of the Client calendar field in the FlexE overhead frame and/or the reserved field of the Client calendar field including the SP field includes: all the Client calendar A fields and the Client calendar B fields in the FlexE multiframe Contains the SP field.
- one of the first FlexE frames transfers a time slot configuration scheme, and after sending a first FlexE frame, the sending end resets the CR bit value after receiving the CA bit response sent by the receiving end.
- the sending end and the receiving end negotiating to switch to the time slot configuration solution corresponding to the fault includes: the sending end sends at least one FlexE overhead frame to the receiving end; wherein, in the FlexE overhead frame The CR bit value is set to invert, the number part of the SP field of the client calendar in the working state indicates the number of the time slot configuration scheme corresponding to the fault, and the SP of the client calendar in the working state The flag part of the field is set to indicate enable, which is used to notify the receiving end to switch to the time slot configuration scheme corresponding to the failure.
- the sending end After receiving the CA bit response sent by the receiving end, the sending end reverses the C bit, switches to the time slot configuration scheme corresponding to the fault, and sends the service according to the time slot configuration scheme corresponding to the fault.
- the at least one FlexE overhead frame may be a frame composed of 20 consecutive FlexE overhead frames, or may be a FlexE multiframe composed of 32 consecutive FlexE overhead frames.
- the Clent calendar field in the standby state in the FlexE overhead frame transmits the time slot configuration scheme corresponding to the failure.
- the sending the configured time slot configuration scheme corresponding to the at least one fault to the receiving end through a network management protocol configuration method includes: the sending end sends a first network management message to the receiving end, and the first The network management message carries the time slot configuration scheme and number corresponding to at least one fault configured by the sending end.
- negotiating with the receiving end to switch to the time slot configuration scheme corresponding to the failure includes:
- the sending end sends a second network management message to the receiving end, the second network management message carries the number of the time slot configuration scheme corresponding to the failure, and the second network management message is used to notify the receiving end to switch to the failure Corresponding time slot configuration scheme; after the sending end receives the handover ready response message sent by the receiving end, it switches to the time slot configuration scheme corresponding to the fault, and sends the handover completed to the receiving end
- the confirmation message is sent according to the time slot configuration scheme.
- the sending the configured time slot configuration scheme corresponding to the at least one fault to the receiving end through the management channel in the FlexE frame includes: the sending end configures at least one time slot configuration scheme corresponding to the fault And the number is encapsulated into an Ethernet message, and the Ethernet message is carried in the management channel field in the FlexE frame and sent to the receiving end.
- negotiating with the receiving end to switch to the time slot configuration scheme corresponding to the failure includes:
- the sending end encapsulates the number of the time slot configuration scheme corresponding to the fault into an Ethernet packet, and sends the Ethernet packet to the management channel field in the FlexE frame to the receiving end; the sending end After receiving the handover ready response message sent by the receiving end, switch to the time slot configuration scheme corresponding to the fault, and send a handover complete confirmation message to the receiving end, according to the time slot Configure plan delivery service
- Step 1501 Before a failure occurs in a member of the FlexE group, the receiving end receives at least one time slot configuration scheme corresponding to the failure sent by the transmitting end;
- receiving the time slot configuration solution corresponding to the at least one fault in a fixed field in the FlexE frame includes: the receiving end receives a first FlexE frame composed of continuous FlexE overhead frames sent by the transmitting end;
- the reserved field area in the FlexE overhead frame includes an SP field, where the SP field includes a number part and a flag part, the number part indicates the number of the time slot configuration scheme, and the flag part indicates whether to enable Slot configuration scheme mode; wherein the CR bit value in the FlexE overhead frame is set to invert, and the flag part is set to indicate enable, used to notify the receiving end to receive and save a fault corresponding time Slot configuration scheme and the number of the time slot configuration scheme; the Client calendar field in the standby state in the FlexE overhead frame conveys the time slot configuration scheme corresponding to the fault.
- one of the first FlexE frames transfers a time slot configuration scheme
- the method further includes: the receiving end saves the time slot configuration scheme and number corresponding to the kind of failure, And send a CA bit response to the sending end.
- the receiving end negotiates with the sending end to switch to the time slot configuration scheme corresponding to the fault, including: the receiving end receives at least one FlexE overhead frame sent by the sending end; wherein, the FlexE overhead frame
- the CR bit value in the SP field is set to be inverted, the number part of the SP field indicates the number of the time slot configuration scheme corresponding to the failure, and the flag part is set to indicate enable, used to notify the receiving end to switch To the time slot configuration plan corresponding to the fault;
- the receiving end obtains the saved time slot configuration plan corresponding to the fault according to the number, completes the handover preparation work, and sends the CA bit response ready for handover to the sending end , And after detecting that the transmitting end reverses the C bit, switch to the time slot configuration scheme corresponding to the failure, and receive services according to the time slot configuration scheme.
- the Client calendar field in the standby state in the FlexE overhead frame conveys the time slot configuration scheme corresponding to the failure.
- the time slot position of the Client calendar field in the FlexE overhead frame and/or the reserved field of the Client calendar field including the SP field includes: all Client calendar A fields and Client calendar B fields in the FlexE multiframe include SP Field.
- the receiving end negotiates with the sending end to switch to the time slot configuration scheme corresponding to the fault, including: the receiving end receives at least one FlexE overhead frame sent by the sending end; wherein, the FlexE overhead frame
- the CR bit value in the SP field is set to be inverted, the number part of the SP field indicates the number of the time slot configuration scheme corresponding to the failure, and the flag part is set to indicate enable, used to notify the receiving end to switch To the time slot configuration plan corresponding to the fault;
- the receiving end obtains the saved time slot configuration plan corresponding to the fault according to the number, completes the handover preparation work, and sends the CA bit response ready for handover to the sending end , And after detecting that the transmitting end reverses the C bit, switch to the time slot configuration scheme corresponding to the failure, and receive services according to the time slot configuration scheme.
- Step 1602 The sending end sends the time slot configuration schemes corresponding to various configured faults to the receiving end;
- the sender can repeat steps 1602-2-1602-4 until all time slot configuration schemes are transmitted.
- FIG. 17 is a schematic flowchart of a method for switching time slot configuration in the FlexE protocol according to another embodiment of the present invention. As shown in FIG. 17, the method includes: a normal working phase and a protection working phase;
- the number of the corresponding time slot configuration scheme is directly found according to the failure scenario, and the sender directly initiates the handover negotiation activity, inverts CR to 1, and combines the SP field to the receiver Pass the number of the time slot configuration plan, the receiving end confirms the time slot configuration plan corresponding to the number, and prepares for time slot switching. After the preparation is completed, the CA responds to the sending end, and the sending end sends the inverted C bit to the receiving end for formal switching Time slot configuration scheme.
- FIG. 19 is a schematic flowchart of a method for switching time slot configuration in the FlexE protocol according to another embodiment of the present invention. As shown in FIG. 19, the method includes:
- plan the time slot planning content of the protection operation when a member fails such as the time slot planning table content of member 1 failure, numbered as time slot configuration table 1; member 2 failed time slot
- the planning content numbered as time slot configuration table 2; the time slot planning content of member 3 failure, numbered as time slot configuration table 3; the time slot planning content of member 4 failure, numbered as time slot configuration table 4; member 1, 2 failure
- the time slot planning content is numbered as time slot configuration table 5, the time slot planning content of member 1 and 3 failures is numbered as time slot configuration table 6, and so on.
- the content of the time slot configuration table for protection operations in all failure scenarios can be planned, or only the time slot configuration table solution for protection operations in single-member failure scenarios can be planned, that is, only single-member failure scenarios are supported.
- the SP field can refer to the previous embodiment.
- the sending end transmits a time slot configuration plan through the calendar entry in the standby state, and the receiving end saves the time slot configuration plan and number after receiving a time slot configuration plan correctly and completely. , Used for fast switching of time slots in the future.
- the receiving end After the receiving end saves a time slot configuration plan, it responds to the sending end with the CA bit, and the sending end resets the CR bit to end the transfer of a time slot configuration plan. If there are other time slot configuration schemes to be transmitted, the sender can reverse the CR bit and start a new round of time slot configuration scheme transmission until all time slot configuration schemes have been delivered.
- Step 1903 When a fault occurs, the service protection process is activated.
- the sender determines the fault scenario according to the faulty member, starts the negotiation mechanism, inverts the CR bit in the FlexE overhead frame, configures the flag bit of the SP field and the slot configuration scheme number, The FlexE overhead frame is sent to the receiving end;
- the time slot configuration plan corresponding to the fault so if the receiving end has saved the time slot configuration plan corresponding to the fault locally, it can first perform the switch preparation work according to the locally saved time slot configuration plan, and save the updated time slot configuration plan ; If the receiving end does not store the time slot configuration plan corresponding to the failure locally, it can first save the time slot configuration plan corresponding to the failure transmitted in the Clent Calendar field in the standby state in the FlexE overhead frame, and then according to the The time slot configuration plan performs handover preparations. After the handover preparation is completed, after replying to the sender, if it is detected that the sender has reversed the C bit, it can be switched to the updated time slot configuration scheme.
- the sender and the receiver do not need to perform preparatory activities for time slot switching, but only need to perform the switching operation to complete the handshake negotiation within 2 FlexE frame time
- the protection switching process requires 2 FlexE frame time.
- the receiving end feeds back the RPF fault information of the member failure to the sending end. It takes 1 FlexE frame time.
- the slot switching time is very short.
- the fault diagnosis time is generally about 1ms, and the diagnosis time is much longer than the protection time.
- the total time for customer service from interruption to recovery is about 1ms.
- the service interruption time is approximately equal to the fault detection time, meeting the 50ms protection and recovery index requirements.
- the SP field can also be placed on the reserved field of the calendar of the FlexE multiframe structure, as shown in FIG. 20, The content of the SP field is passed through the reserved field on the calendar.
- the SP field can be passed through the last entry in the calendar.
- the SP field is defined in both calendar A and calendar B.
- the SP field in the calendar table in the working state indicates the number of the time slot configuration scheme of the current delivery service, and in the calendar table in the standby state
- the SP field indicates the number of the time slot configuration table scheme after switching.
- the method of using the SP field is exactly the same as in the foregoing embodiment, and the time slot configuration switching operation preparation and switching action are also exactly the same.
- the time slot configuration scheme corresponding to at least one fault configured by the transmitting end may be sent to the receiving end through a network management protocol configuration mode.
- the sending end configures at least one time slot configuration scheme corresponding to the fault, and sends a first network management message to the receiving end, and the first network management message carries at least one fault corresponding to the configuration Time slot configuration scheme and number;
- the receiving end receives the first network management message sent by the sending end, and saves the time slot configuration scheme and number corresponding to at least one failure carried in the network management message.
- the sending end When a fault occurs, the sending end encapsulates the number of the time slot configuration scheme corresponding to the fault into an Ethernet message, and sends the Ethernet message to the management channel field in the FlexE frame to the receiving end;
- the receiving end receives the FlexE frame sent by the sending end, extracts the number, and then obtains the saved time slot configuration scheme corresponding to the fault according to the number, completes the handover preparation work, and sends the handover to the sending end Prepared response message; after receiving the ready-to-switch response message sent by the receiving end, the sender switches to the time slot configuration scheme corresponding to the fault, and sends a confirmation message for the completion of the switching to the receiving end Send the service according to the time slot configuration plan; after receiving the confirmation message of the completion of the handover from the sending end, the receiving end switches to the time slot configuration plan corresponding to the failure, and receives the service according to the time slot configuration plan.
- the sender when there is no fault, can configure at least one of the configured faults through the network management protocol configuration mode, the management channel in the FlexE frame, and the fixed field mode in the FlexE frame.
- the time slot configuration scheme is sent to the receiving end.
- the sender and receiver can also negotiate and switch to the time slot configuration scheme corresponding to the fault through the network management protocol configuration mode, the management channel in the FlexE frame, and the fixed field mode in the FlexE frame.
- FIG. 22 is a schematic structural diagram of a device for switching time slot configuration in the FlexE protocol provided by an embodiment of the present invention.
- the device is applied to the transmitting end. As shown in FIG. 22, the device includes:
- a sending unit configured to send the time slot configuration scheme corresponding to the configured at least one fault to the receiving end;
- a determining unit configured to, when a member of the FlexE group fails, the sending end determines a corresponding time slot configuration scheme according to the failure
- Each type of failure corresponds to a time slot configuration plan, and a time slot configuration plan corresponds to a number, and the time slot configuration plan is the time slot configuration content that is changed after a failure occurs.
- one of the first FlexE frames transfers a time slot configuration scheme
- the sending end further includes a receiving unit, which is configured to receive the CA bit response sent by the receiving end and send all The CR bit value is reset.
- the number part of the SP field in the client calendar of the state is used to indicate the number of the time slot configuration scheme; wherein, the CR bit value in the FlexE overhead frame is set to invert, and the client calendar in the working state
- the flag part of the SP field is set to disable, and the flag part of the SP field of the client celendar in the standby state is set to enable, which is used to notify the receiving end to receive and save a fault response
- the time slot configuration scheme and the number of the time slot configuration scheme; the Client calendar field in the standby state in the FlexE overhead frame conveys the time slot configuration scheme corresponding to the fault.
- the first FlexE frame may be a frame composed of 20 continuous FlexE overhead frames, or may be a FlexE multiframe composed of 32 continuous FlexE overhead frames.
- the negotiation unit is specifically configured to send at least one FlexE overhead frame to the receiving end; wherein the CR bit value in the FlexE overhead frame is set to invert, and the client calendar in the working state
- the number part of the SP field indicates the number of the time slot configuration scheme corresponding to the failure
- the flag part of the SP field of the client calendar in the working state is set to indicate activation, and is set to notify the receiving end to switch to The time slot configuration scheme corresponding to the fault.
- the negotiation unit After receiving the CA bit response sent by the receiving end, the negotiation unit inverts the C bit, switches to the time slot configuration plan corresponding to the failure, and sends the service according to the time slot configuration plan corresponding to the failure.
- the Clent calendar field in the standby state in the FlexE overhead frame transmits the time slot configuration scheme corresponding to the failure.
- the sending unit sends the time slot configuration scheme corresponding to the configured at least one fault to the receiving end through a network management protocol configuration mode, including: the sending unit is configured to send a first network management message to the receiving end The first network management message carries the time slot configuration scheme and number corresponding to at least one fault configured by the sending end.
- the negotiation unit is specifically configured to send a second network management message to the receiving end, the second network management message carrying the number of the time slot configuration scheme corresponding to the failure, and the second network management message for notifying the receiving end Switch to the time slot configuration plan corresponding to the failure; the negotiation unit switches to the time slot configuration plan corresponding to the failure after receiving the handover ready response message sent by the receiving end, and sends the The receiving end sends a handover completion confirmation message, and sends the service according to the time slot configuration scheme.
- the negotiation unit is specifically configured to encapsulate the number of the time slot configuration scheme corresponding to the fault into an Ethernet message, and send the Ethernet message to the management channel field in the FlexE frame to the receiver
- the negotiation unit after receiving the handover ready response message sent by the receiving end, switches to the time slot configuration scheme corresponding to the failure, and sends a switch completion confirmation message to the receiving end, Send the service according to the jian time slot configuration scheme.
- FIG. 23 is a schematic structural diagram of a device for switching time slot configuration in the FlexE protocol provided by another embodiment of the present invention.
- the device is applied to the receiving end. As shown in FIG. 23, the device includes:
- the receiving unit is configured to receive at least one time slot configuration scheme corresponding to the fault sent by the sending end before the member in the FlexE group fails;
- the negotiation unit is configured to negotiate with the sending end to switch to the time slot configuration scheme corresponding to the failure when a member in the FlexE group fails.
- each type of failure corresponds to a time slot configuration plan
- one time slot configuration plan corresponds to a number
- the time slot configuration plan is the time slot configuration content that is changed after a failure occurs.
- the receiving unit receives the time slot configuration scheme corresponding to the at least one fault in one of the following ways: network management protocol configuration mode, management channel in FlexE frame, and fixed field mode in FlexE frame.
- the receiving unit receives the time slot configuration scheme corresponding to the at least one fault by means of a fixed field in the FlexE frame, including: the receiving unit receives the first transmission frame composed of continuous FlexE overhead frames sent by the transmitting end A FlexE frame; the reserved field area in the FlexE overhead frame contains an SP field, where the SP field includes a number part and a flag part, the number part indicates the number of the time slot configuration scheme, and the flag part Indicate whether to enable the time slot configuration scheme mode; wherein the CR bit value in the FlexE overhead frame is set to invert, and the flag part is set to indicate enable, used to notify the receiving end to receive and save a The time slot configuration scheme corresponding to the fault and the number of the time slot configuration scheme; the Client calendar field in the standby state in the FlexE overhead frame conveys the time slot configuration scheme corresponding to the fault.
- the first FlexE frame may be a frame composed of 20 continuous FlexE overhead frames, or may be a FlexE multiframe composed of 32 continuous FlexE overhead frames.
- the receiving unit receives the time slot configuration scheme corresponding to the at least one fault by means of a fixed field in the FlexE frame, including: the receiving unit is configured to receive the continuous FlexE overhead frame sent by the sending end The first FlexE frame composed of the FlexE overhead frame; the slot position of the Client calendar field in the FlexE overhead frame and/or the reserved field of the Client calendar field includes the SP field, the SP field includes a number part and a flag part, wherein the The flag part is used to indicate whether to enable the time slot configuration scheme mode; the number part of the SP field in the client calendar in the working state is used to indicate the number of the time slot configuration scheme currently in use, in the client calendar in the standby state The number part of the SP field is used to indicate the number of the time slot configuration scheme; wherein, the CR bit value in the FlexE overhead frame is set to invert, and the SP field in the client calendar in the working state The flag part of is set to be disabled, and the flag part of the SP field of the client celendar in the standby state is set to
- the time slot position of the Client calendar field in the FlexE overhead frame and/or the reserved field of the Client calendar field including the SP field includes: all Client calendar A fields and Client calendar B fields in the FlexE multiframe include SP Field.
- one of the first FlexE frames transfers a time slot configuration plan
- the receiving end further includes a saving unit configured to store the time slot configuration plan corresponding to the one fault after receiving a first FlexE frame. Number, and send a CA bit response to the sender.
- the negotiation unit is specifically configured to receive at least one FlexE overhead frame sent by the sending end; wherein, the CR bit value in the FlexE overhead frame is set to be reversed, and the number part of the SP field indicates The number of the time slot configuration scheme corresponding to the failure, and the flag part is set to indicate activation, used to notify the receiving end to switch to the time slot configuration scheme corresponding to the failure; the negotiation unit obtains according to the number Save the time slot configuration scheme corresponding to the fault, complete the handover preparation, send a CA bit response ready for handover to the sending end, and switch to the fault after detecting that the sending end reverses the C bit
- the corresponding time slot configuration scheme receives services according to the time slot configuration scheme.
- the at least one FlexE overhead frame may be a frame composed of 20 consecutive FlexE overhead frames, or may be a FlexE multiframe composed of 32 consecutive FlexE overhead frames.
- the receiving unit receives the time slot configuration scheme corresponding to the at least one fault through the network management protocol configuration mode, including: the receiving unit is configured to receive the first network management message sent by the sending end, and The first network management message carries the time slot configuration scheme and number corresponding to at least one failure configured by the sending end.
- the negotiation unit is specifically configured to: receive a second network management message sent by the sending end, where the second network management message carries the number of the time slot configuration scheme corresponding to the failure, and the second network management message is used for Informing the receiving end to switch to the time slot configuration scheme corresponding to the failure;
- the negotiation unit obtains the saved time slot configuration plan corresponding to the fault according to the serial number, completes the handover preparation work, sends a handover ready response message to the sending end, and receives the handover sent by the sending end After completing the confirmation message, the service is received according to the time slot configuration scheme.
- the receiving unit receives the time slot configuration scheme corresponding to the at least one fault through the management channel in the FlexE frame, including: the receiving unit receives the FlexE frame sent by the sending end, and the data in the FlexE frame
- the management channel field carries an Ethernet message, and the Ethernet message carries the time slot configuration scheme and number corresponding to the at least one fault.
- the negotiation unit is specifically configured to receive the FlexE frame sent by the sending end, and the management channel field in the FlexE frame carries an Ethernet message, and the Ethernet message carries the time slot configuration corresponding to the fault The number of the plan; the negotiation unit obtains the saved time slot configuration plan corresponding to the fault according to the number, completes the handover preparation work, sends the handover ready response message to the sending end, and receives the sending After the confirmation message that the handover is completed is sent by the terminal, the service is received according to the time slot configuration scheme.
- the embodiment of the present invention also provides a sending end including a memory, a processor, and a computer program stored on the memory and capable of running on the processor.
- the computer program is executed by the processor to realize the above The method for switching time slot configuration in any one of the flexible Ethernet FlexE protocols executed by the sending end.
- the embodiment of the present invention also provides a receiving end, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and the computer program is executed by the processor to realize the foregoing A method for switching time slot configuration in any one of the flexible Ethernet FlexE protocols executed by the receiving end.
- the embodiment of the present invention also provides a system for switching time slot configuration in the flexible Ethernet FlexE protocol, which includes any one of the foregoing sending end and any one of the foregoing receiving end.
- the embodiment of the present invention also provides a computer-readable storage medium, wherein an information processing program is stored on the computer-readable storage medium, and the information processing program is executed by a processor to implement any one of the above flexible Ethernet Steps of the method for switching time slot configuration in the network FlexE protocol.
- Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or a non-transitory medium) and a communication medium (or a transitory medium).
- the term computer storage medium includes volatile and non-volatile memory implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Flexible, removable and non-removable media.
- Computer storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or Any other medium used to store desired information and that can be accessed by a computer.
- communication media usually contain computer readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media .
- the embodiment of the present invention provides a method and related equipment for switching time slot configuration in the FlexE protocol.
- the preparation part before the time slot switching is completed before the fault occurs, and only the switching operation of the time slot switching is completed after the fault occurs, which can greatly Reduce the time slot switching time and meet the 50ms service protection requirements.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Time-Division Multiplex Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例公开了一种包括FlexE协议中切换时隙配置的方法及相关设备,其中方法之一包括:在FlexE组group中成员发生故障之前,发送端配置至少一种故障对应的时隙配置方案,并发送给接收端;当所述FlexE group中成员发生故障时,所述发送端根据所述故障确定对应的时隙配置方案;所述发送端与所述接收端协商切换至所述故障对应的时隙配置方案。如此,在故障发生之前完成时隙切换前的准备部分,在故障发生之后只完成时隙切换的切换操作,可以大大降低时隙切换时间,满足50ms的业务保护要求。
Description
本发明实施例涉及但不限于灵活以太网FlexE(Flex Ethernet)技术,更具体涉及一种灵活以太网FlexE协议中切换时隙配置的方法及相关设备。
在过去十年中,网络业务流量一直保持高速增长,促使通讯设备的业务带宽快速提升,通讯设备的接口速度从10M带宽提高到100M、1G、10G,每隔几年业务速度就翻几倍,以适应网路上业务流量的需求。目前通讯设备商用光模块的速度已经达到100G,并开始大量商用。在光模块速度开始超越100G时,光模块研发技术上遇到的困难越来越大,光模块的生产成本急剧增加。在从100G向400G发展中,虽然已经研发出400G的光模块,但400G的光模块的价格昂贵,超过了4个100G光模块的价格,导致400G光模块缺少商用的经济价值。在不增加成本的情况下,为了解决400G业务的传递需求,能在100G光模块上传递400G业务,国际标准组织定义了FlexE协议。
在FlexE协议中定义了时隙配置内容修改的协商方法,可以动态地修改FlexE组group中成员上传递的客户业务时隙。在实际工作中,当FlexEgroup中一个成员发生故障时,该成员上传递的客户业务因成员故障而中断,设备***可以修改FlexE group组中所有成员的时隙配置内容,删除故障成员上传递的时隙关系,由正常工作的成员上空闲时隙代替故障成员上的时隙,这样可以恢复中断的客户业务,从而实现客户业务的保护需求。
在通讯***中,客户业务因通讯故障导致中断后需要快速保护,迅速恢复正常传送状态,客户业务中断时间不能超过50ms。但FlexE协议中定义的时隙配置协商方法是一个两端设备握手协商方法,应用FlexE协议的时隙改配方法进行业务保护时涉及到许多处理环节,例如:1、分析受损时隙;2、寻找替代时隙;3、传递新时隙配置表内容;4、两端握手协 商;5、切换时隙配置表等。因此现有FlexE协议中业务保护过程涉及环节很多,协商过程等待时间长,导致业务中断时间很长,无法满足50ms内业务恢复正常的要求。
发明内容
有鉴于此,本发明实施例提供了一种灵活以太网FlexE协议中切换时隙配置的方法,包括:在FlexE组group中成员发生故障之前,发送端配置至少一种故障对应的时隙配置方案,并发送给接收端;当所述FlexE group中成员发生故障时,所述发送端根据所述故障确定对应的时隙配置方案;所述发送端与所述接收端协商切换至所述故障对应的时隙配置方案。
本发明实施例还提供了一种灵活以太网FlexE协议中切换时隙配置的方法,包括:在FlexE组group中成员发生故障之前,接收端接收发送端发送的至少一种故障对应的时隙配置方案;当所述FlexE group中成员发生故障时,所述接收端与所述发送端协商切换成所述故障对应的时隙配置方案。
本发明实施例还提供了一种灵活以太网FlexE协议中切换时隙配置的装置,应用于发送端,包括:配置单元,设置为在FlexE组group中成员发生故障之前,发送端配置至少一种故障对应的时隙配置方案,并发送给接收端;确定单元,设置为当所述FlexE group中成员发生故障时,所述发送端根据所述故障确定对应的时隙配置方案;协商单元,设置为所述发送端与所述接收端协商切换至所述故障对应的时隙配置方案。
本发明实施例还提供了一种灵活以太网FlexE协议中切换时隙配置的装置,应用于接收端,包括:接收单元,设置为在FlexE组group中成员发生故障之前,接收端接收发送端发送的至少一种故障对应的时隙配置方案;协商单元,设置为当所述FlexE group中成员发生故障时,所述接收端与所述发送端协商切换成所述故障对应的时隙配置方案。
本发明实施例还提供了一种发送端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所 述处理器执行时实现上述发送端执行的所述灵活以太网FlexE协议中切换时隙配置的方法。
本发明实施例还提供了一种接收端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述接收端执行的所述灵活以太网FlexE协议中切换时隙配置的方法。
本发明实施例还提供了一种灵活以太网FlexE协议中切换时隙配置的***,包括所述发送端以及所述接收端。
本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有信息处理程序,所述信息处理程序被处理器执行时实现上述任一项所述灵活以太网FlexE协议中切换时隙配置的方法的步骤。
与相关技术相比,本发明实施例提供了一种包括FlexE协议中切换时隙配置的方法及相关设备,在故障发生之前完成时隙切换前的准备部分,在故障发生之后只完成时隙切换的切换操作,可以大大降低时隙切换时间,满足50ms的业务保护要求。
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。
图1为FlexE协议应用示意图;
图2为FlexE协议中成员故障影响示意图;
图3为FlexE协议开销块和数据块排列位置示意图;
图4为客户业务在group组中多物理通道上发送过程示意图;
图5为客户业务在group组中多物理通道上接收过程示意图;
图6为FlexE协议帧结构示意图;
图7为FlexE协议复帧结构示意图;
图8为客户业务在group组成员分担传输结果示意图;
图9为三个客户业务在group组中成员时隙配置结果示意图;
图10为FlexE协议成员故障影响客户业务情况示意图;
图11为在group组中时隙配置内容修改后结果示意图;
图12为修改时隙配置内容后实现业务保护结果示意图;
图13为FlexE协议标准中时隙配置表切换过程示意图;
图14为本发明一实施例提供的FlexE协议中切换时隙配置的方法的流程示意图;
图15为本发明另一实施例提供的FlexE协议中切换时隙配置的方法的流程示意图;
图16为本发明另一实施例提供的FlexE协议中切换时隙配置的方法的流程示意图;
图17为本发明另一实施例提供的FlexE协议中切换时隙配置的方法的流程示意图;
图18为本发明另一实施例提供的扩展SP字段的FlexE帧结构示意图;
图19为本发明另一实施例提供的FlexE协议中切换时隙配置的方法的流程示意图;
图20为本发明另一实施例提供的扩展SP字段的FlexE帧结构示意图;
图21为本发明另一实施例提供的扩展SP字段的FlexE帧结构示意图;
图22为本发明一实施例提供的FlexE协议中切换时隙配置的装置的结构示意图;
图23为本发明另一实施例提供的FlexE协议中切换时隙配置的装置的结构示意图。
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
在附图的流程图示出的步骤可以在执行计算机可执行指令的计算机***中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
FlexE协议将多个100G的光模块捆绑起来,形成一个大速度的传递通道,如图1所示,通过FlexE Shim(垫层)将4个100G光模块捆绑起来,形成一个400G传递通道,等效于1个400G光模块的传递速度,在不增加成本的情况下解决了400G业务的传递需求。由于FlexE协议是将多个物理通道捆绑成一个业务传递的逻辑通道,当一个物理通道发生故障时,则整个逻辑通道发生故障。如图2所示,当一个物理通道出现中断,则整个逻辑通道全部中断。在实际应用中,设备可以实现FlexE组group中部分成员发生故障时其他成员不受影响,其他成员可以正常传递客户业务,这样单成员的故障只会影响故障成员上传递的客户业务,不影响其他成员上传递的客户业务。
目前FlexE协议按照物理层100G速率来定义。在光模快中,100G的数据报文在发送前,将数据包报文进行64/66编码,将数据包切割成64比特数据块,然后将64比特数据块扩展成66比特数据块,增加的2比特位于66比特数据块前面,作为66比特数据块的开始标志,最后以66比特数据块的方式从光传输发送接口发送出去。在接收时,从光传输接收接口接收到的数据流中辨别出66比特数据块,然后从66比特块中恢复出原始的64比特数据,重新组装出数据报文来。
FlexE协议位于以太网协议中PCS层(Physical Coding Sublayer,物 理编码子层)中间,处于64比特数据块到66比特数据块转换层之后,在发送66比特数据块前,对66比特数据块进行排序和规划,如图3所示:对于100G业务,每20个66比特数据块划分为一个数据块组,每组中共20个66比特数据块,代表20个时隙,每个时隙代表5G(bit/s)带宽的业务速度,客户业务可以在20个时隙上承载传递。20个时隙组循环出现,每循环1023次就***一个FlexE开销块,形成一个FlexE协议的shim层数据块结构:1023*20。当4路100G的物理层捆绑成一个400G的逻辑业务带宽时,时隙结构是由80(4*20)个时隙组成,Calendar是80个时隙,分成4组,每组20时隙,每组是一个成员subcalendar。如图4所示,在物理层(PHY,Physical Layer),每个物理层承载一个成员(subcalendar)的内容,仍按照20个66比特数据块组成一个数据块组,即20个时隙。20个时隙连续循环,每循环1023次***一个FlexE开销块。开销块起到定位作用,多个成员以开销块为基准进行定位和排序,以恢复业务。发送66比特数据块时,每发送完1023个数据块组(1023*20个66比特数据块),***一个FlexE开销块,如图4中黑色块。***开销块后,继续发送数据块组,发送完第二个1023*20个66比特数据块后,再***开销块,以此类推,这样在发送数据块的过程中,会周期性地***开销块,相邻两个开销块的间隔是1023*20个66比特数据块。在接收端,如图5所示,每个物理层检测接收数据,确定每个66比特数据块,辨别出FlexE开销块(黑色的信息块)后,就可以确定出20个时隙。当逻辑通道是由多个物理通道捆绑时,每个物理通道分别定位FlexE开销块,确定各自的20个时隙,然后以开销块为对齐基准标志,根据每个物理通道中开销块中携带的本成员编号,确定成员之间的排队顺序(按照成员编号从小到大排序),将所有成员的时隙组成一个大shim结构:1023*20*n(n为group组中成员数量),然后恢复出客户业务。
FlexE开销块是一个66比特长度的开销块,在业务数据流发送时,每间隔1023*20个数据块***一个开销块。一个开销块是66比特长度,由2比特的块标志和64位的块内容组成。块标志位于前2列,后面64列是块 内容。开销块在整个业务流中起到定位功能,找到开销块,就可以知道业务中第一个时隙的位置,以及后续的时隙位置。FlexE协议中定义8个开销块组成一帧(FlexE开销帧),第一个开销块的块标志是10,后面7个开销块的块标志是由01或SS(SS表示内容不确定)。如图6所示,其中第一个开销块中由4B(16进制,标识为0x4B)和05(16进制,标识为0x5)两个字段标识。当开销块中,检测出对应位置是4B和05内容时,则表示该开销块是第一个开销块,和后面的7个开销块组成一帧。第一个开销块的内容是:0x4B(8位,十六进制的4B)、C比特(1位,指示调整控制)、OMF比特(1位,表示开销帧复帧指示)、RPF比特(1位,表示远端缺陷指示)、RES比特(1位,保留位)、FlexE group number(20位,表示group组的编号)、0x5(4位,十六进制的5)、000000(28位,都是0)。其中的0x4B和0x5是第一个开销块的标志指示,在接收时,当找到一个开销块中对应位置是0x4B和0x5,则表示本开销块是开销帧中的第一个开销块,和次后连续的7个开销块组成一个开销帧。在开销帧中,reserved部分是保留内容(保留字段),尚未定义。
在FlexE开销帧结构中,FlexE group number表示group组标识,所有group number相同的成员都属于一组。PHY number是成员编号,在同一个group number中,每个成员的PHY number是唯一的,所有成员在排序时是按照PHY number从小到大的排序规则进行排序。PHY number是8位的数据,可以表示0-255之间的所有编号,因此一个group中最多有256个成员。在当前标准中定义0和255是保留编号,共特殊应用,正常成员使用1-254的编号。
在第一个开销块中,OMF字段是复帧指示信号,如图7。OMF是单比特数值,连续16帧中为0,然后连续16帧中为1,然后又是连续16帧中为0,然后连续16帧中为1,每32帧重复一次,这样复帧就是由32帧组成。在帧中,Client calendar字段表示每个时隙承载的客户名称,表示本时隙属于那个客户。客户业务在承载时需要的时隙数量是不确定的,需要能灵活修改,因此Client calendar有两套配置信息,Client calendar A和 Client calendar B,两套配置值分别处于在工作模式和备用模式,用于动态、平滑地切换配置信息。在FlexE帧结构中,有三个C比特。当所有的C比特为“0”时,Client calendar A处于工作状态,Client calendar B处于备用状态;反之,当所有的C比特为“1”时,Client calendar A处于备用状态,Client calendar B处于工作状态。在一个时间点,只有一套Client calendar处于工作状态,另外一套Client calendar处于备用状态。通过CR比特和CA比特协商Client calendar状态的切换。CR发起请求,CA应答请求。需要修改时隙配置时,修改处于备用状态的Client calendar的配置内容,同时反转CR比特通知对端表示Client calendar的状态需要发生切换,对端根据处于备用状态的Client calendar的值进行准备,准备好后回送CA应答信号给发起端,等两端协商一致后,启用时隙配置的切换流程,发送端将所有C比特值反转,原来处于工作状态的Client calendar变为备用状态,将原来处于备用状态的Client calendar变成工作状态,实现Client calendar时隙配置内容的动态修改。
在FlexE协议中定义了时隙配置内容修改的协商方法,可以动态地修改FlexE组group中成员上传递的客户业务时隙。在实际工作中,当一个成员发生故障时,该成员上传递的客户业务因成员故障而中断,设备***可以修改group组中所有成员时隙配置内容,删除故障成员上传递的时隙关系,由正常工作的成员上空闲时隙代替故障成员上的时隙,这样可以恢复损的客户业务,从而实现客户业务的保护需求。例如,图8给出一个FlexE group组有4个成员组成,有2个客户业务(client1和client2)通过group组传递,其中client1客户带宽是20G,需要4个时隙传递。通过成员1(承担2个时隙)、成员2(承担1个时隙)、成员4(承担1个时隙)的时隙传递。client2客户带宽为50G,通过成员1(承担5个时隙)、成员3(承担2个时隙)、成员4(承担3个时隙)的时隙上传递,每个成员上时隙配置结果如图9所示。当group组中成员2发生故障时,如图10所示,成员2中有一个时隙(slot0)传递客户1业务,客户1业务因成员2受损而中断。成员2上没有客户2业务,因此客户2业务可以正常传递。 当成员2发生故障后,需要将成员2上的配置时隙调整到其他成员上,例如,可以将成员2上的配置时隙slot0调整到成员3的配置时隙slot0,如图11所示,这样成员2上不承担任何客户业务,客户1业务由成员1、成员3、成员4来承担,就客户1业务就恢复正常传输,如图12所示。将成员2上承担客户1的时隙从成员2上改配到成员3上,规避了故障成员2,从而实现客户业务的保护恢复。
但是目前FlexE协议中定义的时隙配置协商方法是一个两端设备握手协商方法,通过CR比特和CA比特进行协商,传递新的时隙配置内容,然后通过C比特进行时隙配置的切换。应用FlexE协议的时隙改配方法进行业务保护时涉及到许多处理环节:1、分析受损时隙;2、寻找替代时隙;3、传递新时隙配置表内容;4、两端握手协商;5、切换时隙配置表等。因此业务保护过程涉及环节很大,协商过程等待时间长,在故障产生之后才启动这些处理环节,导致业务中断时间很长,无法满足50ms内恢复正常的要求。例如,图13所示,当一个物理成员通道发生故障时,需要进行业务恢复的方法是修改客户时隙配置内容,将故障成员上的承载时隙改配到其他成员上,具体过程涉及如下操作步骤:(1)、故障诊断:发送诊断FlexE帧状态,分析接收端回传的RPF(Remote PHY Fault,远端PHY(Physical Layer,物理层)故障)信息,确定哪些成员出现故障;(2)、分析受损时隙:分析故障成员上承载了哪些客户业务,对应的时隙数量、时隙位置;(3)、寻找替代时隙:在正常成员上寻找空闲时隙,为受损客户的受损时隙重新调配替代时隙,规划新的时隙配置表内容;(4)、传递新时隙配置内容:将新规划的时隙配置表内容传递给接收端设备;(5)、启动握手协商过程:发送端启动握手协议,通知接收端需要切换的时隙配置内容,接收端接收新的时隙配置内容,确认准备好后将应答信息传递给发送端;(6)切换时隙配置表:发送端和接收端切换时隙配置内容,发送端和接收端按照新的时隙配置内容传递客户业务。在整个操作过程中,分析受损时隙、寻找替代时隙、传递新的时隙配置内容是时隙配置切换的准备工作,握手协商和切换时隙配置才是真正的切换过程。当成员发生故 障后,时隙配置切换的准备工作消耗时间很长,延长了业务恢复时间,导致业务中断后无法在50ms内重新恢复。
为此,本发明实施例提出了一种新的灵活以太网FlexE协议中实现业务保护的方案,将业务保护环节分成两部分:时隙配置切换前的准备部分和切换时隙配置的操作部分,在故障发生之前完成切换前的准备部分,在故障发生之后只完成切换的操作部分,可以大大降低业务中断时间,满足50ms的保护要求。
图14为本发明一实施例提供的FlexE协议中切换时隙配置的方法的流程示意图,如图14所示,该方法包括:
步骤1401,在FlexE组group中成员发生故障之前,发送端配置至少一种故障对应的时隙配置方案,并发送给接收端;
步骤1402,当所述FlexE group中成员发生故障时,所述发送端根据所述故障确定对应的时隙配置方案;
步骤1403,所述发送端与所述接收端协商切换至所述故障对应的时隙配置方案。
其中,每一种故障对应一个时隙配置方案,一个时隙配置方案对应一个编号,所述时隙配置方案为一个故障发生后改配的时隙配置内容。
其中,通过以下方式之一将所述发送端配置的至少一种故障对应的时隙配置方案发送给接收端:
网管协议配置方式,FlexE帧中管理通道方式,FlexE帧中固定字段方式。
其中,通过所述FlexE帧中固定字段方式将所述配置的至少一种故障对应的时隙配置方案发送给接收端,包括:所述发送端向所述接收端发送由连续FlexE开销帧组成的第一FlexE帧;所述FlexE开销帧中的保留字段区域中包含SP字段,其中,所述SP字段包括编号部分和标志部分,所述编号部分指示所述时隙配置方案的编号,所述标志部分指示是否启用时隙配置方案模式;其中,所述FlexE开销帧中的CR比特值被设置为反转, 且所述标志部分被设置为指示启用,用于通知所述接收端接收并保存一种故障对应的时隙配置方案及所述时隙配置方案的编号;所述FlexE开销帧中处于备用状态的Client calendar字段传递所述一种故障对应的时隙配置方案。
其中,所述第一FlexE帧可以为一个连续20个FlexE开销帧组成的帧,也可以为一个连续的32个FlexE开销帧组成的FlexE复帧。
其中,一个所述第一FlexE帧传递一个时隙配置方案,在发送完一个第一FlexE帧之后,所述发送端接收所述接收端发送的CA比特应答后将所述CR比特值复位。
其中,所述发送端与所述接收端协商切换至所述故障对应的时隙配置方案包括:所述发送端向所述接收端发送至少一个FlexE开销帧;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述SP字段的编号部分指示所述故障对应的时隙配置方案的编号,且所述标志部分被设置为指示启用,用于通知所述接收端切换至所述故障对应的时隙配置方案;所述发送端在接收到所述接收端发送的CA比特应答之后,反转C比特,切换成所述故障对应的时隙配置方案,按照所述故障对应的时隙配置方案发送业务。
其中,通过所述FlexE帧中固定字段方式将所述配置的至少一种故障对应的时隙配置方案发送给接收端,包括:所述发送端向所述接收端发送由连续FlexE开销帧组成的第一FlexE帧;所述FlexE开销帧中的Client calendar字段的时隙位置和/或Client calendar字段的保留字段中包含SP字段,所述SP字段包括编号部分和标志部分,其中,所述标志部分用于指示是否启用时隙配置方案模式;处于工作状态的Client calendar中的所述SP字段的编号部分用于指示当前使用的时隙配置方案的编号,所述处于备用状态的Client calendar中的所述SP字段的编号部分用于指示时隙配置方案的编号;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述处于工作状态的Client calendar中的所述SP字段的标志部分被设置为不 启用,且所述处于备用状态的Client celendar的所述SP字段的标志部分被设置为启用,用于通知所述接收端接收并保存一种故障对应的时隙配置方案及所述时隙配置方案的编号;所述FlexE开销帧中处于备用状态的Client calendar字段传递所述一种故障对应的时隙配置方案。
其中,所述第一FlexE帧可以为一个连续20个FlexE开销帧组成的帧,也可以为一个连续的32个FlexE开销帧组成的FlexE复帧。
其中,所述所述FlexE开销帧中的Client calendar字段的时隙位置和/或Client calendar字段的保留字段中包含SP字段包括:所述FlexE复帧中所有Client calendar A字段和Client calendar B字段均包含SP字段。
其中,一个所述第一FlexE帧传递一个时隙配置方案,在发送完一个第一FlexE帧之后,所述发送端接收所述接收端发送的CA比特应答后将所述CR比特值复位。
其中,所述发送端与所述接收端协商切换至所述故障对应的时隙配置方案包括:所述发送端向所述接收端发送至少一个FlexE开销帧;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述处于工作状态的Client calendar的所述SP字段的编号部分指示所述故障对应的时隙配置方案的编号,所述处于工作状态的Client calendar的所述SP字段的标志部分被设置为指示启用,用于通知所述接收端切换至所述故障对应的时隙配置方案。
所述发送端在接收到所述接收端发送的CA比特应答之后,反转C比特,切换成所述故障对应的时隙配置方案,按照所述故障对应的时隙配置方案发送业务。
其中,所述至少一个FlexE开销帧可以为一个连续20个FlexE开销帧组成的帧,也可以为一个连续的32个FlexE开销帧组成的FlexE复帧。
其中,所述FlexE开销帧中处于备用状态的Clent calendar字段传递所述故障对应的时隙配置方案。
其中,所述通过网管协议配置方式将所述配置的至少一种故障对应的 时隙配置方案发送给接收端,包括:所述发送端向所述接收端发送第一网管消息,所述第一网管消息携带所述发送端配置的至少一种故障对应的时隙配置方案及编号。
其中,与所述接收端协商切换成所述故障对应的时隙配置方案,包括:
所述发送端向接收端发送第二网管消息,所述第二网管消息携带所述故障对应的时隙配置方案的编号,所述第二网管消息用于通知所述接收端切换成所述故障对应的时隙配置方案;所述发送端在接收到所述接收端发送的切换准备好的应答消息之后,切换成所述故障对应的时隙配置方案,并向所述接收端发送切换完成的确认消息,按照所述时隙配置方案发送业务。
其中,所述通过FlexE帧中管理通道方式将所述配置的至少一种故障对应的时隙配置方案发送给接收端,包括:所述发送端将配置的至少一种故障对应的时隙配置方案及编号封装成以太网报文,将所述以太网报文承载到FlexE帧中的管理通道字段发送给所述接收端。
其中,与所述接收端协商切换成所述故障对应的时隙配置方案,包括:
所述发送端将所述故障对应的时隙配置方案的编号封装成以太网报文,将所述以太网报文承载到FlexE帧中的管理通道字段发送给所述接收端;所述发送端在接收到所述接收端发送的切换准备好的应答报文之后,切换成所述故障对应的时隙配置方案,并向所述接收端发送切换完成的确认报文,按照所述jian时隙配置方案发送业务
图15为本发明另一实施例提供的FlexE协议中切换时隙配置的方法的流程示意图,如图15所示,该方法包括:
步骤1501,在FlexE组group中成员发生故障之前,接收端接收发送端发送的至少一种故障对应的时隙配置方案;
步骤1502,当所述FlexE group中成员发生故障时,所述接收端与所述发送端协商切换成所述故障对应的时隙配置方案。
其中,每一种故障对应一个时隙配置方案,一个时隙配置方案对应一 个编号,所述时隙配置方案为一个故障发生后改配的时隙配置内容。
其中,通过以下方式之一接收所述至少一种故障对应的时隙配置方案:网管协议配置方式,FlexE帧中管理通道,FlexE帧中固定字段方式。
其中,通过所述FlexE帧中固定字段方式接收所述至少一种故障对应的时隙配置方案,包括:所述接收端接收所述发送端发送的由连续FlexE开销帧组成的第一FlexE帧;所述FlexE开销帧中的保留字段区域中包含SP字段,其中,所述SP字段包括编号部分和标志部分,所述编号部分指示所述时隙配置方案的编号,所述标志部分指示是否启用时隙配置方案模式;其中,所述FlexE开销帧中的CR比特值被设置为反转,且所述标志部分被设置为指示启用,用于通知所述接收端接收并保存一种故障对应的时隙配置方案及所述时隙配置方案的编号;所述FlexE开销帧中处于备用状态的Client calendar字段传递所述一种故障对应的时隙配置方案。
其中,所述第一FlexE帧可以为一个连续20个FlexE开销帧组成的帧,也可以为一个连续的32个FlexE开销帧组成的FlexE复帧。
其中,一个所述第一FlexE帧传递一个时隙配置方案,在接收完一个第一FlexE帧之后,该方法还包括:所述接收端保存所述一种故障对应的时隙配置方案及编号,并向所述发送端发送CA比特应答。
其中,所述接收端与所述发送端协商切换成所述故障对应的时隙配置方案,包括:所述接收端接收所述发送端发送的至少一个FlexE开销帧;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述SP字段的编号部分指示所述故障对应的时隙配置方案的编号,且所述标志部分被设置为指示启用,用于通知所述接收端切换至所述故障对应的时隙配置方案;所述接收端根据所述编号获得保存的所述故障对应的时隙配置方案,完成切换准备工作,向所述发送端发送切换准备好的CA比特应答,并在检测到所述发送端反转C比特后,切换成所述故障对应的时隙配置方案,按照所述时隙配置方案接收业务。
其中,通过所述FlexE帧中固定字段方式接收所述至少一种故障对应 的时隙配置方案,包括:所述接收端接收所述发送端发送的由连续FlexE开销帧组成的第一FlexE帧;所述FlexE开销帧中的Client calendar字段的时隙位置和/或Client calendar字段的保留字段中包含SP字段,所述SP字段包括编号部分和标志部分,其中,所述标志部分用于指示是否启用时隙配置方案模式;处于工作状态的Client calendar中的所述SP字段的编号部分用于指示当前使用的时隙配置方案的编号,所述处于备用状态的Client calendar中的所述SP字段的编号部分用于指示时隙配置方案的编号;
其中,所述FlexE开销帧中的CR比特值被设置为反转,所述处于工作状态的Client calendar中的所述SP字段的标志部分被设置为不启用,且所述处于备用状态的Client celendar的所述SP字段的标志部分被设置为启用,用于通知所述接收端接收并保存一种故障对应的时隙配置方案及所述时隙配置方案的编号;
所述FlexE开销帧中处于备用状态的Client calendar字段传递所述一种故障对应的时隙配置方案。
其中,所述第一FlexE帧可以为一个连续20个FlexE开销帧组成的帧,也可以为一个连续的32个FlexE开销帧组成的FlexE复帧。
其中,所述FlexE开销帧中的Client calendar字段的时隙位置和/或Client calendar字段的保留字段中包含SP字段包括:所述FlexE复帧中所有Client calendar A字段和Client calendar B字段均包含SP字段。
其中,一个所述第一FlexE帧传递一个时隙配置方案,在接收完一个第一FlexE帧之后,该方法还包括:所述接收端保存所述一种故障对应的时隙配置方案及编号,并向所述发送端发送CA比特应答。
其中,所述接收端与所述发送端协商切换成所述故障对应的时隙配置方案,包括:所述接收端接收所述发送端发送的至少一个FlexE开销帧;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述SP字段的编号部分指示所述故障对应的时隙配置方案的编号,且所述标志部分被设置为指示启用,用于通知所述接收端切换至所述故障对应的时隙配置方案; 所述接收端根据所述编号获得保存的所述故障对应的时隙配置方案,完成切换准备工作,向所述发送端发送切换准备好的CA比特应答,并在检测到所述发送端反转C比特后,切换成所述故障对应的时隙配置方案,按照所述时隙配置方案接收业务。
其中,所述至少一个FlexE开销帧可以为一个连续20个FlexE开销帧组成的帧,也可以为一个连续的32个FlexE开销帧组成的FlexE复帧。
其中,所述FlexE开销帧中处于备用状态的Clent calendar字段传递所述故障对应的时隙配置方案。
其中,通过所述网管协议配置方式接收所述至少一种故障对应的时隙配置方案,包括:所述接收端接收所述发送端发送的第一网管消息,所述第一网管消息携带所述发送端配置的至少一种故障对应的时隙配置方案及编号。
其中,所述接收端与所述发送端协商切换成所述故障对应的时隙配置方案,包括:所述接收端接收所述发送端发送的第二网管消息,所述第二网管消息携带所述故障对应的时隙配置方案的编号,所述第二网管消息用于通知所述接收端切换成所述故障对应的时隙配置方案;所述接收端根据所述编号获得保存的所述故障对应的时隙配置方案,完成切换准备工作,向所述发送端发送切换准备好的应答消息,并在接收到所述发送端发送的切换完成的确认消息后,按照所述时隙配置方案接收业务。
其中,通过所述FlexE帧中管理通道接收所述至少一种故障对应的时隙配置方案,包括:所述接收端接收所述发送端发送的FlexE帧,所述FlexE帧中的管理通道字段承载以太网报文,所述以太网报文携带所述至少一种故障对应的时隙配置方案及编号。
其中,所述接收端与所述发送端协商切换成所述故障对应的时隙配置方案,包括:所述接收端接收所述发送端发送的FlexE帧,所述FlexE帧中的管理通道字段承载以太网报文,所述以太网报文携带所述故障对应的时隙配置方案的编号;所述接收端根据所述编号获得保存的所述故障对应 的时隙配置方案,完成切换准备工作,向所述发送端发送切换准备好的应答消息,并在接收到所述发送端发送的切换完成的确认消息后,按照所述时隙配置方案接收业务。
图16为本发明另一实施例提供的FlexE协议中切换时隙配置的方法的流程示意图,如图16所示,该方法包括:
步骤1601,在FlexE group组成员发生故障之前,发送端配置各种故障对应的时隙配置方案;
其中,每一种故障也可以说是一种业务保护场景,因此当FlexE组group中成员发生故障时,需要进行业务保护。配置各种故障对应的时隙配置方案也可以说是为各种业务保护场景制定每种场景对应的时隙配置方案。
其中,该故障是指FlexE group中成员发生故障的各种故障场景,例如,当group组有4个成员时,各种故障是指成员1故障、成员2故障、成员3故障、成员4故障、成员1、2故障、成员1、3故障等等场景。配置各种故障对应的时隙配置方案,就是为各种故障场景规划对应的时隙配置方案,每一种故障对应一个时隙配置方案,一个时隙配置方案包括一个时隙配置表内容和编号,例如,为成员1故障配置时隙配置方案,包括时隙配置表1并编号为1;为成员2故障配置时隙配置方案,包括时隙配置表2并编号为2;为成员3故障配置时隙配置方案,包括时隙配置表3并编号为3;为成员4故障配置时隙配置方案,包括时隙配置表4并编号为4;为成员1、2故障配置时隙配置方案,包括时隙配置表5并编号为5;为成员1、3故障配置时隙配置方案,包括时隙配置表6并编号为6,等等依次类推。可以规划所有或者多种故障场景下保护操作的时隙配置方案,也可以只规划单成员故障场景下保护操作的时隙配置方案,即只支持但成员故障场景。
具体而言,步骤1601可以包括:
步骤1601-1,确定FlexE group组成员数量;
步骤1601-2,确定group组中每个成员上配置的客户业务时隙数量、位置;
步骤1601-3,确定group组中每个成员上的空闲时隙的数量、位置;
步骤1601-4,确定group组中成员故障的场景:单成员故障种类、多成员故障的种类;
步骤1601-5,确定每种故障场景发生时,故障成员上的客户业务时隙改配到哪些其他成员的哪些空闲时隙上;例如图11所示。
步骤1601-6,制定每种故障场景保护操作改配后的时隙配置表内容,按照故障场景对时隙配置表编号,将每种时隙配置表内容和编号作为每种故障对应的时隙配置方案。
步骤1602,发送端将配置的各种故障对应的时隙配置方案发送给接收端;
其中,可以选择如下方法中一种方式传递时隙配置方案:(1)网管协议配置方式;(2)FlexE帧中管理通道;(3)FlexE帧中固定字段方式,等等。
其中,如果通过FlexE帧中管理通道或FlexE帧中固定字段方式传递时,可以借用FlexE协议的CR、CA握手协商机制,具体而言,例如采用FlexE帧中固定字段方式,步骤1602可以包括:
步骤1602-1,在FlexE帧结构中的保留字段区域定义时隙配置方案字段(以下简称SP字段);所述SP字段包括标志部分和编号部分,所述编号部分用于指示时隙配置方案的编号,所述标志部分用于指示是否启用时隙配置方案模式;
步骤1602-2,发送端将FlexE帧中的CR比特值反转并结合SP字段指示接收端,通过FlexE帧中处于备用状态的Client calendar字段传递配置的时隙配置方案;
其中,具体而言,例如SP字段的标识部分初始赋值为1表示不启用, 指示不启用时隙配置方案模式,按照现有协议操作;赋值为0表示启用,结合反转的CR比特用于通知所述接收端接收并保存传递的时隙配置方案及所述时隙配置方案的编号。
步骤1602-3,接收端通过SP字段、CR比特确定传递的时隙配置方案编号,保存接收的时隙配置方案及对应编号,接收结束后向发送端回送CA应答信息。
步骤1602-4,发送端收到所述CA应答信息后确认时隙配置方案内容传递结束,恢复反转的CR比特值;
另外,如果有其他时隙配置方案待传递,发送端可以重复步骤1602-2-1602-4,直到传递完所有时隙配置方案。
步骤1603,当FlexE group组成员发生故障时,发送端诊断故障场景,确定所述故障对应的时隙配置方案编号,并发送给接收端;
具体而言,步骤1603可以包括:
步骤1603-1,group组检测所有成员FlexE帧信号的工作状态,以及帧中的RPF比特信息,确定哪些成员出现故障,确定当前故障场景;
步骤1603-2,发送端根据故障场景确定对应的时隙配置方案的编号。
步骤1603-3,发送端将确定的编号传递给接收端;
其中,传递方式可以通过FlexE帧中定义的SP字段,也可以通过网管协议配置方式、FlexE帧中管理通道,还可以是通讯技术领域常用的带外传递等方式。
其中,SP字段可以有多种形式:SP字段可以是单比特,也可以是多个比特组合;可以在一个FlexE帧传递,也可以在FlexE复帧中传递。
步骤1604,接收端按照收到所述编号,确定所述编号对应的时隙配置方案,完成切换成所述编号对应的时隙配置方案的准备工作,并向发送端发送切换准备好的CA应答信号;
其中,具体而言,步骤1604可以包括:
步骤1604-1,接收端诊断发送端传递的FlexE帧的CR比特反转后,诊断FlexE帧的SP字段中的标志部分是否指示启用;
步骤1604-2,当诊断SP字段中的标志部分指示没有启用时,接收端按照FlexE现有协议标准模式工作;
步骤1604-3,当诊断SP字段中的标志部分指示启用时,根据所述编号,确定本地是否保存有该编号对应的时隙配置方案;
如果有,则向发送端回送应答信号CA,准备时隙切换操作;如果没有,则接收和保存FlexE帧中当前正在传递的时隙配置方案及编号,准备时隙切换操作;
步骤1604-4,接收端完成切换准备工作,然后向发送端回送应答信号CA;
步骤1605,发送端接收到接收端返回的切换准备好的应答信号后,反转C比特,切换成所述故障对应的时隙配置方案;
步骤1606,接收端检测到C比特反转后,也切换成所述故障对应的时隙配置方案;
步骤1607,发送端和接收端按照切换后的时隙配置发送和接收业务信息。
图17为本发明另一实施例提供的FlexE协议中切换时隙配置的方法的流程示意图,如图17所示,该方法包括:正常工作阶段和保护工作阶段;
在正常工作段,即没有故障时就根据成员故障的各种场景提前配置好各种故障场景对应的时隙配置方案,并发送给接收端;如图17所示,配置和传递n种时隙配置方案的具体配置和发送过程可以参见上一实施例。
在保护工作阶段,即当某成员发生故障时,直接根据故障场景找出对应的时隙配置方案的编号,发送端直接启动切换协商活动,将CR反转为1,同时结合SP字段给接收端传递时隙配置方案的编号,接收端确认所述 编号对应的时隙配置方案,进行时隙切换的准备工作,完成准备后CA应答给发送端,发送端发反转C比特给接收端正式切换时隙配置方案,接收端在检测到发送端反转C比特后,也切换成所述编号对应的时隙配置方案;发送端、接收端按照切换后的时隙配置方案传递客户业务,从而加速客户业务的恢复活动,满足50ms内恢复正常的指标要求。
本发明的另一实施例中,在FlexE帧结构中的保留字段区域定义一段字段,用来传递时隙配置方案的编号,例如图18中所示的SP(slot plan)字段,该SP字段可以由两部分组成:标志和编号。所述编号部分用于指示时隙配置方案的编号,所述标志部分用于指示是否启用时隙配置方案模式。具体而言,例如标志部分可以用1个比特表示:“1”时表示不启用;“0”时表示启用。
图19为本发明另一实施例提供的FlexE协议中切换时隙配置的方法的流程示意图,如图19所示,该方法包括:
步骤1901,在正常工作时,根据当前的时隙配置情况,确定成员故障的各种场景以及配置快速恢复时的时隙配置方案;
例如,当group组有4个成员时,规划好某成员故障时保护操作的时隙规划内容,如成员1故障的时隙规划表内容,编号为时隙配置表1;成员2故障的时隙规划内容,编号为时隙配置表2;成员3故障的时隙规划内容,编号为时隙配置表3;成员4故障的时隙规划内容,编号为时隙配置表4;成员1、2故障的时隙规划内容,编号为时隙配置表5,成员1、3故障的时隙规划内容,编号为时隙配置表6,等等。可以规划所有故障场景下保护操作的时隙配置表内容,也可以只规划单成员故障场景下保护操作的时隙配置表方案,即只支持单成员故障场景。
步骤1902,发送端和接收端通过FlexE开销帧中CR、CA比特协商机制,配合SP字段完成配置的时隙配置方案的传递;
其中,所述SP字段可以参见上一实施例。
其中,所述FlexE开销帧中CR、CA比特协商机制,包括:
正常时,所述FlexE开销帧中Client calendar A或Client calendar B两个表项中一个处于工作状态,一个处于备用状态。工作状态的表项传递当前正在工作的时隙配置内容,备用状态的表项可以传递新时隙配置内容。当需要传递配置的故障对应的时隙配置方案时,发送端将CR比特信息反转,通过处于备用状态的calendar表项传递故障对应的时隙配置方案,一个复帧周期内容可以将所有时隙配置方案传递给接收端,备用calendar在传递时隙配置方案的同时,通过SP字段传递对应的时隙配置方案编号。例如,SP字段中标志部分置“1”,表示不启用时隙配置方案模式,SP字段中标志部分置“0”,表示启用时隙配置方案模式;编号部分传递时隙配置方案的编号。在接收端,当发现接收到的CR比特反转后,同时检测SP字段的标志为“0”时,表示启用时隙配置方案模式,接收端保存FlexE开销帧中处于备用状态的calendar中的内容和SP字段中的编号。在一个FlexE的复帧周期中,发送端通过处于备用状态的calendar表项传递完一个时隙配置方案,接收端在正确、完整地接收完一个时隙配置方案后,保存时隙配置方案及编号,作为以后时隙快速切换时使用。接收端保存完一个时隙配置方案后,通过CA比特应答给发送端,发送端将CR比特复位,结束一个时隙配置方案的传递工作。如果还有其他时隙配置方案需要传送,发送端可以重新反转CR比特,启动新一轮的时隙配置方案传递,直到所有的时隙配置方案全部传递完。
步骤1903,当发生故障时启用业务保护流程,发送端根据故障成员确定故障场景,启动协商机制,将FlexE开销帧中CR比特反转,配置SP字段的标志位和时隙配置方案编号,将所述FlexE开销帧发送给接收端;
其中,在正常工作时,发送端和接收端按照工作状态calendar中的时隙配置内容传递客户业务。当接收端检测到链路故障时,通过FlexE帧中RPF(remote PHY Fault:远端PHY成员故障)比特回传给发送端,发送端判断出发送路径出现故障,启动业务保护流程。另外如果发送端无法接收到接收端的FlexE信息,无法提取RPF比特信息,这种情况也归为发送路径故障,启动业务保护流程。
其中,所述FlexE开销帧中处于的备用状态的calendar表项可以重复传递时隙配置方案。
步骤1904,接收端检测到所述FlexE开销帧结构中的CR比特反转时,同时检测SP字段中的标志和编号;
步骤1905,如果SP字段中标志指示启用且本地已经保存有所述编号对应的时隙配置方案,则立即调出保存好的时隙配置方案,准备切换成所述编号对应的时隙配置方案,同时向发送方向回送应答信号CA;
步骤1906,如果SP字段中标志指示不启用或本地没有保存有所述编号对应的时隙配置方案,则分别处理执行步骤1907或1908;
步骤1907,如果SP字段中标志指示不启用,按照FlexE现有技术标准内容工作;
步骤1908,如果SP字段中标志指示启用但本地没有保存有所述编号对应的时隙配置方案,则接收端接收及保存所述FlexE开销帧结构中处于备用状态的calendar表项内容,完成切换准备工作,同时向发送方回送CA应答信号;
1909,发送端接收到CA应答信号后,成反转C比特,切换成所述故障对应的时隙配置方案;接收端在检测到发送端反转C比特后,切换成所述故障对应的时隙配置方案。
如此,发送端和接收端按照切换后的时隙配置方案发送和接收客户业务信息,实现客户业务快速保护。
在本发明的另一实施例中,当发生故障时,发送端发送给接收端的FlexE开销帧结构中除了CR比特值被设置为反转且设置SP字段中标志部分指示启用,编号部分指示所述故障对应的时隙配置方案编号外,所述FlexE开销帧中处于备用状态的Clent calendar字段仍然传递所述故障对应的时隙配置方案,该时隙配置方案可以是原来提前发送给接收端的所述故障对应的时隙配置方案,如此接收端如果本地已经保存有所述故障对应的时隙配置方案,可以直接根据本地保存的时隙配置方案进行切换准备工作; 如果接收端本地没有保存有所述故障对应的时隙配置方案,可以先保存所述FlexE开销帧中处于备用状态的Clent calendar字段传递的所述故障对应的时隙配置方案,然后再根据该时隙配置方案进行切换准备工作。
在本发明的另一实施例中,当发生故障时,发送端发送给接收端的FlexE开销帧结构中除了CR比特值被设置为反转且设置SP字段中标志部分指示启用,编号部分指示所述故障对应的时隙配置方案编号外,所述FlexE开销帧中处于备用状态的Clent calendar字段仍然传递所述故障对应的时隙配置方案,该时隙配置方案也可以是发送端更新后的所述故障对应的时隙配置方案,如此接收端如果本地已经保存有所述故障对应的时隙配置方案,可以先根据本地保存的时隙配置方案进行切换准备工作,并保存更新后的时隙配置方案;如果接收端本地没有保存有所述故障对应的时隙配置方案,可以先保存所述FlexE开销帧中处于备用状态的Clent calendar字段传递的所述故障对应的时隙配置方案,然后再根据该时隙配置方案进行切换准备工作。等切换准备工作完成,向发送端回复应答之后,如果检测到发送端反转C比特,则可以切换成更新后的时隙配置方案。
上述实施例提供的技术方案,发送端检测到FlexE group组成员故障时,发送端和接收端不需要执行时隙切换的准备活动,只需要执行切换操作,在2个FlexE帧时间内完成握手协商过程,第3个FlexE帧切换开始,客户业务正式恢复正常。保护切换过程需要2个FlexE帧时间,接收端向发送端反馈成员故障的RPF故障信息需要1个的FlexE帧时间,整个故障切换时间是:3*104.8us(一个帧周期)=314.4us,时隙切换时间非常短。故障诊断时间一般在1ms左右,诊断时间远大于保护时间,客户业务从中断到恢复的总时间在1ms左右,业务中断时间约等于故障检测时间,满足50ms的保护恢复指标要求。
在上述实施例中,如图18所示,定义的SP字段位于FlexE帧开销的保留字段,一个帧周期(104.8us)内完成SP字段的传递。
在本发明的另一实施例中,由于FlexE开销帧中保留字节比较少,为 了节约保留字段,也可以将SP字段放在FlexE复帧结构的calendar的保留字段上,如图20所示,SP字段内容通过calendar上保留字段进行传递。
如图20所示。在FlexE复帧由32个帧组成,32帧组成一个复帧,每帧中传递calendar A和calendar B的一个条目,32帧中传递32个条目,其中前20条目中传递FlexE协议中20个时隙中每个时隙对应的客户名,后12条目保留待定。扩展的SP字段通过calendar中保留字段来传递,
如图20所示,可以通过calendar中最后一个条目传递SP字段。为了符合calendar表切换要求,在calendar A和calendar B中都定义出SP字段,正常工作时,处于工作状态的calendar表中SP字段指示当前传递业务的时隙配置方案编号,备用状态的calendar表中SP字段指示切换后的时隙配置表方案编号。SP字段使用方法和上述实施例完全一样,时隙配置切换操作准备工作、切换动作也完全一样。在上述实施例中,可以一个FlexE帧周期内(104.8us)传递SP字段;也可以一个FlexE复帧周期内(104.8*32=3353.6us)传递SP字段,传递时间增大为3353.6us,即3.3536ms。故障传递时间只需要一个FlexE帧,即104.8us,切换操作时间需要2个FlexE复帧时间:2*3.3536ms=6.7072ms,时隙切换时间在7ms内,加上1ms左右的故障诊断时间,业务中断时间不超过8ms,满足50ms的倒换要求。
在本发明的另一实施例中,由于FlexE开销帧中保留字节比较少,为了节约保留字段,也可以将SP字段放在复帧结构的calendar的保留字段上,SP字段内容通过calendar上保留字段进行传递。但是,不同之处在于,如图21所示,SP字段仍通过calendar表中条目进行传递,只是将calendar表中每个条目都分成两个部分,前半部分传递SP字段,后半字段传递时隙信息(时隙信息给出当前承载的客户编号信息),使得每个calendar表条目都传递相同的SP字段,SP字段的发送时间间隔和上述实施例相同,本实施例和上述实施例只是SP字段传递位置不同,时隙配置方案内容、时隙切换过程完全一样,业务中断时间也完全一样,满足50ms的倒换要求。
在本发明的另一实施例中,可以通过网管协议配置方式将发送端配置的至少一种故障对应的时隙配置方案发送给接收端。具体而言,没有故障时,发送端配置的至少一种故障对应的时隙配置方案,并向接收端发送第一网管消息,所述第一网管消息携带所述配置的至少一种故障对应的时隙配置方案及编号;所述接收端接收所述发送端发送的第一网管消息,保存所述网管消息中携带的至少一种故障对应的时隙配置方案及编号。当故障发生时,可以向接收端发送第二网管消息,所述第二网管消息携带所述故障对应的时隙配置方案的编号,所述第二网管消息用于通知所述接收端切换成所述故障对应的时隙配置方案;所述接收端接收所述发送端发送的第二网管消息,根据所述编号获得保存的所述故障对应的时隙配置方案,完成切换准备工作,向所述发送端发送切换准备好的应答信息;发送端在接收到所述接收端发送的切换准备好的应答消息之后,切换成所述故障对应的时隙配置方案,并向接收端发送切换完成的确认消息,按照所述时隙配置方案发送业务;接收端从所述发送端接收到切换完成的确认消息后,切换成所述故障对应的时隙配置方案,然后按照所述时隙配置方案接收业务。
在本发明的另一实施例中,通过所述FlexE帧中管理通道将所述配置的至少一种故障对应的时隙配置方案发送给接收端,具体而言,没有故障时,发送端将所述配置的至少一种故障对应的时隙配置方案及编号封装成以太网报文,将所述以太网报文承载到FlexE帧中的管理通道字段发送给所述接收端;所述接收端接收所述发送端发送的所述FlexE帧,保存至少一种故障对应的时隙配置方案及编号。当故障发生时,发送端向将所述故障对应的时隙配置方案的编号封装成以太网报文,将所述以太网报文承载到FlexE帧中的管理通道字段发送给所述接收端;所述接收端接收所述发送端发送的FlexE帧,提取出所述编号,然后根据所述编号获得保存的所述故障对应的时隙配置方案,完成切换准备工作,向所述发送端发送切换准备好的应答报文;发送端在接收到所述接收端发送的切换准备好的应答报文之后,切换成所述故障对应的时隙配置方案,并向接收端发送切换完成的确认报文,按照所述时隙配置方案发送业务;接收端从所述发送端接 收到切换完成的确认报文后,切换成所述故障对应的时隙配置方案,按照所述时隙配置方案接收业务。
在本发明的另一实施例中,在没有故障时,发送端可以通过网管协议配置方式,FlexE帧中管理通道,FlexE帧中固定字段方式中任一种方式将配置的至少一一种故障对应的时隙配置方案发送给接收端。当故障发生时,发送端与接收端也可以通过网管协议配置方式,FlexE帧中管理通道,FlexE帧中固定字段方式中任一种方式进行协商切换成故障对应的时隙配置方案。
图22为本发明一实施例提供的FlexE协议中切换时隙配置的装置的结构示意图,该装置应用于发送端,如图22所示,该装置包括:
配置单元,设置为在FlexE组group中成员发生故障之前,配置至少一种故障对应的时隙配置方案;
发送单元,设置为将所述配置的至少一种故障对应的时隙配置方案发送给接收端;
确定单元,设置为当所述FlexE group中成员发生故障时,所述发送端根据所述故障确定对应的时隙配置方案;
协商单元,设置为所述发送端与所述接收端协商切换至所述故障对应的时隙配置方案。
每一种故障对应一个时隙配置方案,一个时隙配置方案对应一个编号,所述时隙配置方案为一个故障发生后改配的时隙配置内容。
其中,所述发送单元通过以下方式之一将所述配置的至少一种故障对应的时隙配置方案发送给接收端:
网管协议配置方式,FlexE帧中管理通道方式,FlexE帧中固定字段方式。
其中,所述发送单元通过所述FlexE帧中固定字段方式将所述配置的至少一种故障对应的时隙配置方案发送给接收端,包括:所述发送单元, 设置为向所述接收端发送由连续FlexE开销帧组成的第一FlexE帧;所述FlexE开销帧中的保留字段区域中包含SP字段,其中,所述SP字段包括编号部分和标志部分,所述编号部分指示所述时隙配置方案的编号,所述标志部分指示是否启用时隙配置方案模式;其中,所述FlexE开销帧中的CR比特值被设置为反转,且所述标志部分被设置为指示启用,设置为通知所述接收端接收并保存一种故障对应的时隙配置方案及所述时隙配置方案的编号;所述FlexE开销帧中处于备用状态的Client calendar字段传递所述一种故障对应的时隙配置方案。
其中,所述第一FlexE帧可以为一个连续20个FlexE开销帧组成的帧,也可以为一个连续的32个FlexE开销帧组成的FlexE复帧。
其中,一个所述第一FlexE帧传递一个时隙配置方案,在发送完一个第一FlexE帧之后,所述发送端还包括接收单元,设置为接收所述接收端发送的CA比特应答后将所述CR比特值复位。
其中,所述协商单元,具体设置为向所述接收端发送至少一个FlexE开销帧;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述SP字段的编号部分指示所述故障对应的时隙配置方案的编号,且所述标志部分被设置为指示启用,用于通知所述接收端切换至所述故障对应的时隙配置方案;所述协商单元在接收到所述接收端发送的CA比特应答之后,反转C比特,切换成所述故障对应的时隙配置方案,按照所述故障对应的时隙配置方案发送业务。
其中,所述发送单元通过所述FlexE帧中固定字段方式将所述配置的至少一种故障对应的时隙配置方案发送给接收端,包括:所述发送单元,设置为向所述接收端发送由连续FlexE开销帧组成的第一FlexE帧;所述FlexE开销帧中的Client calendar字段的时隙位置和/或Client calendar字段的保留字段中包含SP字段,所述SP字段包括编号部分和标志部分,其中,所述标志部分用于指示是否启用时隙配置方案模式;处于工作状态的Client calendar中的所述SP字段的编号部分用于指示当前使用的时隙配置 方案的编号,所述处于备用状态的Client calendar中的所述SP字段的编号部分用于指示时隙配置方案的编号;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述处于工作状态的Client calendar中的所述SP字段的标志部分被设置为不启用,且所述处于备用状态的Client celendar的所述SP字段的标志部分被设置为启用,用于通知所述接收端接收并保存一种故障对应的时隙配置方案及所述时隙配置方案的编号;所述FlexE开销帧中处于备用状态的Client calendar字段传递所述一种故障对应的时隙配置方案。
其中,所述第一FlexE帧可以为一个连续20个FlexE开销帧组成的帧,也可以为一个连续的32个FlexE开销帧组成的FlexE复帧。
其中,所述所述FlexE开销帧中的Client calendar字段的时隙位置和/或Client calendar字段的保留字段中包含SP字段包括:所述FlexE复帧中所有Client calendar A字段和Client calendar B字段均包含SP字段。
其中,一个所述第一FlexE帧传递一个时隙配置方案,在发送完一个第一FlexE帧之后,所述发送端还包括接收单元,设置为接收所述接收端发送的CA比特应答后将所述CR比特值复位。
其中,所述协商单元,具体设置为向所述接收端发送至少一个FlexE开销帧;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述处于工作状态的Client calendar的所述SP字段的编号部分指示所述故障对应的时隙配置方案的编号,所述处于工作状态的Client calendar的所述SP字段的标志部分被设置为指示启用,设置为通知所述接收端切换至所述故障对应的时隙配置方案。
所述协商单元在接收到所述接收端发送的CA比特应答之后,反转C比特,切换成所述故障对应的时隙配置方案,按照所述故障对应的时隙配置方案发送业务。
其中,所述至少一个FlexE开销帧可以为一个连续20个FlexE开销帧组成的帧,也可以为一个连续的32个FlexE开销帧组成的FlexE复帧。
其中,所述FlexE开销帧中处于备用状态的Clent calendar字段传递所述故障对应的时隙配置方案。
其中,所述发送单元通过网管协议配置方式将所述配置的至少一种故障对应的时隙配置方案发送给接收端,包括:所述发送单元,设置为向所述接收端发送第一网管消息,所述第一网管消息携带所述发送端配置的至少一种故障对应的时隙配置方案及编号。
其中,所述协商单元,具体设置为向接收端发送第二网管消息,所述第二网管消息携带所述故障对应的时隙配置方案的编号,所述第二网管消息用于通知所述接收端切换成所述故障对应的时隙配置方案;所述协商单元在接收到所述接收端发送的切换准备好的应答消息之后,切换成所述故障对应的时隙配置方案,并向所述接收端发送切换完成的确认消息,按照所述时隙配置方案发送业务。
其中,所述发送单元通过FlexE帧中管理通道方式将所述配置的至少一种故障对应的时隙配置方案发送给接收端,包括:所述发送单元,设置为将配置的至少一种故障对应的时隙配置方案及编号封装成以太网报文,将所述以太网报文承载到FlexE帧中的管理通道字段发送给所述接收端。
其中,所述协商单元,具体设置为将所述故障对应的时隙配置方案的编号封装成以太网报文,将所述以太网报文承载到FlexE帧中的管理通道字段发送给所述接收端;所述协商单元在接收到所述接收端发送的切换准备好的应答报文之后,切换成所述故障对应的时隙配置方案,并向所述接收端发送切换完成的确认报文,按照所述jian时隙配置方案发送业务。
图23为本发明另一实施例提供的FlexE协议中切换时隙配置的装置的结构示意图,该装置应用于接收端,如图23所示,该装置包括:
接收单元,设置为在FlexE组group中成员发生故障之前,接收发送端发送的至少一种故障对应的时隙配置方案;
协商单元,设置为当所述FlexE group中成员发生故障时,与所述发送端协商切换成所述故障对应的时隙配置方案。
其中,每一种故障对应一个时隙配置方案,一个时隙配置方案对应一个编号,所述时隙配置方案为一个故障发生后改配的时隙配置内容。
其中,所述接收单元通过以下方式之一接收所述至少一种故障对应的时隙配置方案:网管协议配置方式,FlexE帧中管理通道,FlexE帧中固定字段方式。
其中,所述接收单元通过所述FlexE帧中固定字段方式接收所述至少一种故障对应的时隙配置方案,包括:所述接收单元接收所述发送端发送的由连续FlexE开销帧组成的第一FlexE帧;所述FlexE开销帧中的保留字段区域中包含SP字段,其中,所述SP字段包括编号部分和标志部分,所述编号部分指示所述时隙配置方案的编号,所述标志部分指示是否启用时隙配置方案模式;其中,所述FlexE开销帧中的CR比特值被设置为反转,且所述标志部分被设置为指示启用,用于通知所述接收端接收并保存一种故障对应的时隙配置方案及所述时隙配置方案的编号;所述FlexE开销帧中处于备用状态的Client calendar字段传递所述一种故障对应的时隙配置方案。
其中,所述第一FlexE帧可以为一个连续20个FlexE开销帧组成的帧,也可以为一个连续的32个FlexE开销帧组成的FlexE复帧。
其中,一个所述第一FlexE帧传递一个时隙配置方案,该接收端还包括保存单元,设置为在接收完一个第一FlexE帧之后,保存所述一种故障对应的时隙配置方案及编号,并向所述发送端发送CA比特应答。
其中,所述协商单元,具体设置为接收所述发送端发送的至少一个FlexE开销帧;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述SP字段的编号部分指示所述故障对应的时隙配置方案的编号,且所述标志部分被设置为指示启用,设置为通知所述接收端切换至所述故障对应的时隙配置方案;所述协商单元根据所述编号获得保存的所述故障对应的时隙配置方案,完成切换准备工作,向所述发送端发送切换准备好的CA比特应答,并在检测到所述发送端反转C比特后,切换成所述故障对 应的时隙配置方案,按照所述时隙配置方案接收业务。
其中,所述接收单元通过所述FlexE帧中固定字段方式接收所述至少一种故障对应的时隙配置方案,包括:所述接收单元,设置为接收所述发送端发送的由连续FlexE开销帧组成的第一FlexE帧;所述FlexE开销帧中的Client calendar字段的时隙位置和/或Client calendar字段的保留字段中包含SP字段,所述SP字段包括编号部分和标志部分,其中,所述标志部分用于指示是否启用时隙配置方案模式;处于工作状态的Client calendar中的所述SP字段的编号部分用于指示当前使用的时隙配置方案的编号,所述处于备用状态的Client calendar中的所述SP字段的编号部分用于指示时隙配置方案的编号;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述处于工作状态的Client calendar中的所述SP字段的标志部分被设置为不启用,且所述处于备用状态的Client celendar的所述SP字段的标志部分被设置为启用,用于通知所述接收端接收并保存一种故障对应的时隙配置方案及所述时隙配置方案的编号;所述FlexE开销帧中处于备用状态的Client calendar字段传递所述一种故障对应的时隙配置方案。
其中,所述第一FlexE帧可以为一个连续20个FlexE开销帧组成的帧,也可以为一个连续的32个FlexE开销帧组成的FlexE复帧。
其中,所述FlexE开销帧中的Client calendar字段的时隙位置和/或Client calendar字段的保留字段中包含SP字段包括:所述FlexE复帧中所有Client calendar A字段和Client calendar B字段均包含SP字段。
其中,一个所述第一FlexE帧传递一个时隙配置方案,所述接收端还包括保存单元,设置为在接收完一个第一FlexE帧之后,保存所述一种故障对应的时隙配置方案及编号,并向所述发送端发送CA比特应答。
其中,所述协商单元,具体设置为接收所述发送端发送的至少一个FlexE开销帧;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述SP字段的编号部分指示所述故障对应的时隙配置方案的编号,且所述标志部分被设置为指示启用,用于通知所述接收端切换至所述故障对应 的时隙配置方案;所述协商单元根据所述编号获得保存的所述故障对应的时隙配置方案,完成切换准备工作,向所述发送端发送切换准备好的CA比特应答,并在检测到所述发送端反转C比特后,切换成所述故障对应的时隙配置方案,按照所述时隙配置方案接收业务。
其中,所述至少一个FlexE开销帧可以为一个连续20个FlexE开销帧组成的帧,也可以为一个连续的32个FlexE开销帧组成的FlexE复帧。
其中,所述FlexE开销帧中处于备用状态的Clent calendar字段传递所述故障对应的时隙配置方案。
其中,所述接收单元通过所述网管协议配置方式接收所述至少一种故障对应的时隙配置方案,包括:所述接收单元,设置为接收所述发送端发送的第一网管消息,所述第一网管消息携带所述发送端配置的至少一种故障对应的时隙配置方案及编号。
其中,所述协商单元,具体设置为:接收所述发送端发送的第二网管消息,所述第二网管消息携带所述故障对应的时隙配置方案的编号,所述第二网管消息用于通知所述接收端切换成所述故障对应的时隙配置方案;
所述协商单元根据所述编号获得保存的所述故障对应的时隙配置方案,完成切换准备工作,向所述发送端发送切换准备好的应答消息,并在接收到所述发送端发送的切换完成的确认消息后,按照所述时隙配置方案接收业务。
其中,所述接收单元通过所述FlexE帧中管理通道接收所述至少一种故障对应的时隙配置方案,包括:所述接收单元接收所述发送端发送的FlexE帧,所述FlexE帧中的管理通道字段承载以太网报文,所述以太网报文携带所述至少一种故障对应的时隙配置方案及编号。
其中,所述协商单元,具体设置为接收所述发送端发送的FlexE帧,所述FlexE帧中的管理通道字段承载以太网报文,所述以太网报文携带所述故障对应的时隙配置方案的编号;所述协商单元根据所述编号获得保存的所述故障对应的时隙配置方案,完成切换准备工作,向所述发送端发送 切换准备好的应答消息,并在接收到所述发送端发送的切换完成的确认消息后,按照所述时隙配置方案接收业务。
本发明实施例还提供了一种发送端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述发送端执行的任一项所述灵活以太网FlexE协议中切换时隙配置的方法。
本发明实施例还提供了一种接收端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述接收端执行的任一项所述灵活以太网FlexE协议中切换时隙配置的方法。
本发明实施例还提供了一种灵活以太网FlexE协议中切换时隙配置的***,包括如上述任一所述的发送端以及上述任一所述的接收端。
本发明实施例还提供了一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有信息处理程序,所述信息处理程序被处理器执行时实现上述任一项所述灵活以太网FlexE协议中切换时隙配置的方法的步骤。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、***、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失 性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
本发明实施例提供了一种包括FlexE协议中切换时隙配置的方法及相关设备,在故障发生之前完成时隙切换前的准备部分,在故障发生之后只完成时隙切换的切换操作,可以大大降低时隙切换时间,满足50ms的业务保护要求。
Claims (42)
- 一种灵活以太网FlexE协议中切换时隙配置的方法,包括:在FlexE组group中成员发生故障之前,发送端配置至少一种故障对应的时隙配置方案,并发送给接收端;当所述FlexE group中成员发生故障时,所述发送端根据所述故障确定对应的时隙配置方案;所述发送端与所述接收端协商切换至所述故障对应的时隙配置方案。
- 根据权利要求1所述的方法,其中,每一种故障对应一个时隙配置方案,一个时隙配置方案对应一个编号,所述时隙配置方案为一个故障发生后改配的时隙配置内容。
- 根据权利要求2所述的方法,其中,通过以下方式之一将所述发送端配置的至少一种故障对应的时隙配置方案发送给接收端:网管协议配置方式,FlexE帧中管理通道方式,FlexE帧中固定字段方式。
- 根据权利要求3所述的方法,其中,通过所述FlexE帧中固定字段方式将所述配置的至少一种故障对应的时隙配置方案发送给接收端,包括:所述发送端向所述接收端发送由连续FlexE开销帧组成的第一FlexE帧;所述FlexE开销帧中的保留字段区域中包含SP字段,其中,所述SP字段包括编号部分和标志部分,所述编号部分指示所述时隙配置方案的编号,所述标志部分指示是否启用时隙配置方案模式;其中,所述FlexE开销帧中的CR比特值被设置为反转,且所述标志 部分被设置为指示启用,用于通知所述接收端接收并保存一种故障对应的时隙配置方案及所述时隙配置方案的编号;所述FlexE开销帧中处于备用状态的Client calendar字段传递所述一种故障对应的时隙配置方案。
- 根据权利要求4所述的方法,其中,所述第一FlexE帧为一个连续的32个FlexE开销帧组成的FlexE复帧。
- 根据权利要求4所述的方法,其中,一个所述第一FlexE帧传递一个时隙配置方案,在发送完一个第一FlexE帧之后,所述发送端接收所述接收端发送的CA比特应答后将所述CR比特值复位。
- 根据权利要求6所述的方法,其中,所述发送端与所述接收端协商切换至所述故障对应的时隙配置方案包括:所述发送端向所述接收端发送至少一个FlexE开销帧;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述SP字段的编号部分指示所述故障对应的时隙配置方案的编号,且所述标志部分被设置为指示启用,用于通知所述接收端切换至所述故障对应的时隙配置方案;所述发送端在接收到所述接收端发送的CA比特应答之后,反转C比特,切换成所述故障对应的时隙配置方案,按照所述故障对应的时隙配置方案发送业务。
- 根据权利要求3所述的方法,其中,通过所述FlexE帧中固定字段方式将所述配置的至少一种故障对应的时隙配置方案发送给接收端,包括:所述发送端向所述接收端发送由连续FlexE开销帧组成的第一FlexE帧;所述FlexE开销帧中的Client calendar字段的时隙位置和/或Client calendar字段的保留字段中包含SP字段,所述SP字段包括编号部分和标志部分,其中,所述标志部分用于指示是否启用时隙配置方案模式;处于工作状态的Client calendar中的所述SP字段的编号部分用于指示当前使用的时隙配置方案的编号,所述处于备用状态的Client calendar中的所述SP字段的编号部分用于指示时隙配置方案的编号;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述处于工作状态的Client calendar中的所述SP字段的标志部分被设置为不启用,且所述处于备用状态的Client celendar的所述SP字段的标志部分被设置为启用,用于通知所述接收端接收并保存一种故障对应的时隙配置方案及所述时隙配置方案的编号;所述FlexE开销帧中处于备用状态的Client calendar字段传递所述一种故障对应的时隙配置方案。
- 根据权利要求8所述的方法,其中,所述第一FlexE帧为一个连续的32个FlexE开销帧组成的FlexE复帧。
- 根据权利要求9所述的方法,其中,所述所述FlexE开销帧中的Client calendar字段的时隙位置和/或Client calendar字段的保留字段中包含SP字段包括:所述FlexE复帧中所有Client calendar A字段和Client calendar B字段均包含SP字段。
- 根据权利要求8所述的方法,其中,一个所述第一FlexE帧传递一个时隙配置方案,在发送完一个第一FlexE帧之后,所述发送端接收所述接收端发送的CA比特应答后将所述CR比特值复位。
- 根据权利要求11所述的方法,其中,所述发送端与所述接收端协商切换至所述故障对应的时隙配置方案包括:所述发送端向所述接收端发送至少一个FlexE开销帧;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述处于工作状态的Client calendar的所述SP字段的编号部分指示所述故障对应的时隙配置方案的编号,所述处于工作状态的Client calendar的所述SP字段的标志部分被设置为指示启用,用于通知所述接收端切换至所述故障对应的时隙配置方案;所述发送端在接收到所述接收端发送的CA比特应答之后,反转C比特,切换成所述故障对应的时隙配置方案,按照所述故障对应的时隙配置方案发送业务。
- 根据权利要求7或12所述的方法,其中,所述至少一个FlexE开销帧为一个连续的32个FlexE开销帧组成的FlexE复帧。
- 根据权利要求7或12所述的方法,其中,所述FlexE开销帧中处于备用状态的Clent calendar字段传递所述故障对应的时隙配置方案。
- 根据权利要求3所述的方法,其中,所述通过网管协议配置方式将所述配置的至少一种故障对应的时隙配置方案发送给接收端,包括:所述发送端向所述接收端发送第一网管消息,所述第一网管消息携带所述发送端配置的至少一种故障对应的时隙配置方案及编号。
- 根据权利要求15所述的方法,其中,与所述接收端协商切换成 所述故障对应的时隙配置方案,包括:所述发送端向所述接收端发送第二网管消息,所述第二网管消息携带所述故障对应的时隙配置方案的编号,所述第二网管消息用于通知所述接收端切换成所述故障对应的时隙配置方案;所述发送端在接收到所述接收端发送的切换准备好的应答消息之后,切换成所述故障对应的时隙配置方案,并向所述接收端发送切换完成的确认消息,按照所述时隙配置方案发送业务。
- 根据权利要求3所述的方法,其中,所述通过FlexE帧中管理通道方式将所述配置的至少一种故障对应的时隙配置方案发送给接收端,包括:所述发送端将配置的至少一种故障对应的时隙配置方案及编号封装成以太网报文,将所述以太网报文承载到FlexE帧中的管理通道字段发送给所述接收端。
- 根据权利要求2所述的方法,其中,与所述接收端协商切换成所述故障对应的时隙配置方案,包括:所述发送端将所述故障对应的时隙配置方案的编号封装成以太网报文,将所述以太网报文承载到FlexE帧中的管理通道字段发送给所述接收端;所述发送端在接收到所述接收端发送的切换准备好的应答报文之后,切换成所述故障对应的时隙配置方案,并向所述接收端发送切换完成的确认报文,按照所述jian时隙配置方案发送业务。
- 一种灵活以太网FlexE协议中切换时隙配置的方法,包括:在FlexE组group中成员发生故障之前,接收端接收发送端发送的至 少一种故障对应的时隙配置方案;当所述FlexE group中成员发生故障时,所述接收端与所述发送端协商切换成所述故障对应的时隙配置方案。
- 根据权利要求19所述的方法,其中,每一种故障对应一个时隙配置方案,一个时隙配置方案对应一个编号,所述时隙配置方案为一个故障发生后改配的时隙配置内容。
- 根据权利要求20所述的方法,其中,通过以下方式之一接收所述至少一种故障对应的时隙配置方案:网管协议配置方式,FlexE帧中管理通道,FlexE帧中固定字段方式。
- 根据权利要求21所述的方法,其中,通过所述FlexE帧中固定字段方式接收所述至少一种故障对应的时隙配置方案,包括:所述接收端接收所述发送端发送的由连续FlexE开销帧组成的第一FlexE帧;所述FlexE开销帧中的保留字段区域中包含SP字段,其中,所述SP字段包括编号部分和标志部分,所述编号部分指示所述时隙配置方案的编号,所述标志部分指示是否启用时隙配置方案模式;其中,所述FlexE开销帧中的CR比特值被设置为反转,且所述标志部分被设置为指示启用,用于通知所述接收端接收并保存一种故障对应的时隙配置方案及所述时隙配置方案的编号;所述FlexE开销帧中处于备用状态的Client calendar字段传递所述一种故障对应的时隙配置方案。
- 根据权利要求22所述的方法,其中,所述第一FlexE帧为一个连续的32个FlexE开销帧组成的FlexE复帧。
- 根据权利要求22所述的方法,其中,一个所述第一FlexE帧传递一个时隙配置方案,在接收完一个第一FlexE帧之后,该方法还包括:所述接收端保存所述一种故障对应的时隙配置方案及编号,并向所述发送端发送CA比特应答。
- 根据权利要求24所述的方法,其中,所述接收端与所述发送端协商切换成所述故障对应的时隙配置方案,包括:所述接收端接收所述发送端发送的至少一个FlexE开销帧;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述SP字段的编号部分指示所述故障对应的时隙配置方案的编号,且所述标志部分被设置为指示启用,用于通知所述接收端切换至所述故障对应的时隙配置方案;所述接收端根据所述编号获得保存的所述故障对应的时隙配置方案,完成切换准备工作,向所述发送端发送切换准备好的CA比特应答,并在检测到所述发送端反转C比特后,切换成所述故障对应的时隙配置方案,按照所述时隙配置方案接收业务。
- 根据权利要求21所述的方法,其中,通过所述FlexE帧中固定字段方式接收所述至少一种故障对应的时隙配置方案,包括:所述接收端接收所述发送端发送的由连续FlexE开销帧组成的第一FlexE帧;所述FlexE开销帧中的Client calendar字段的时隙位置和/或Client calendar字段的保留字段中包含SP字段,所述SP字段包括编号部分和标志部分,其中,所述标志部分用于指示是否启用时隙配置方案模式;处于工作状态的Client calendar中的所述SP字段的编号部分用于指示当前使用的时隙配置方案的编号,所述处于备用状态的Client calendar中的所述SP字段的编号部分用于指示时隙配置方案的编号;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述处于工作状态的Client calendar中的所述SP字段的标志部分被设置为不启用,且所述处于备用状态的Client celendar的所述SP字段的标志部分被设置为启用,用于通知所述接收端接收并保存一种故障对应的时隙配置方案及所述时隙配置方案的编号;所述FlexE开销帧中处于备用状态的Client calendar字段传递所述一种故障对应的时隙配置方案。
- 根据权利要求26所述的方法,其中,所述第一FlexE帧为一个连续的32个FlexE开销帧组成的FlexE复帧。
- 根据权利要求27所述的方法,其中,所述FlexE开销帧中的Client calendar字段的时隙位置和/或Client calendar字段的保留字段中包含SP字段包括:所述FlexE复帧中所有Client calendar A字段和Client calendar B字段均包含SP字段。
- 根据权利要求26所述的方法,其中,一个所述第一FlexE帧传递一个时隙配置方案,在接收完一个第一FlexE帧之后,该方法还包括:所述接收端保存所述一种故障对应的时隙配置方案及编号,并向所述发送端发送CA比特应答。
- 根据权利要求29所述的方法,其中,所述接收端与所述发送端协商切换成所述故障对应的时隙配置方案,包括:所述接收端接收所述发送端发送的至少一个FlexE开销帧;其中,所述FlexE开销帧中的CR比特值被设置为反转,所述SP字段的编号部分指示所述故障对应的时隙配置方案的编号,且所述标志部分被设置为指示启用,用于通知所述接收端切换至所述故障对应的时隙配置方案;所述接收端根据所述编号获得保存的所述故障对应的时隙配置方案,完成切换准备工作,向所述发送端发送切换准备好的CA比特应答,并在检测到所述发送端反转C比特后,切换成所述故障对应的时隙配置方案,按照所述时隙配置方案接收业务。
- 根据权利要求25或30所述的方法,其中,所述至少一个FlexE开销帧为一个连续的32个FlexE开销帧组成的FlexE复帧。
- 根据权利要求25或30所述的方法,其中,所述FlexE开销帧中处于备用状态的Clent calendar字段传递所述故障对应的时隙配置方案。
- 根据权利要求21所述的方法,其中,通过所述网管协议配置方式接收所述至少一种故障对应的时隙配置方案,包括:所述接收端接收所述发送端发送的第一网管消息,所述第一网管消息携带所述发送端配置的至少一种故障对应的时隙配置方案及编号。
- 根据权利要求33所述的方法,其中,所述接收端与所述发送端协商切换成所述故障对应的时隙配置方案,包括:所述接收端接收所述发送端发送的第二网管消息,所述第二网管消息携带所述故障对应的时隙配置方案的编号,所述第二网管消息用于通知所述接收端切换成所述故障对应的时隙配置方案;所述接收端根据所述编号获得保存的所述故障对应的时隙配置方案, 完成切换准备工作,向所述发送端发送切换准备好的应答消息,并在接收到所述发送端发送的切换完成的确认消息后,按照所述时隙配置方案接收业务。
- 根据权利要求21所述的方法,其中,通过所述FlexE帧中管理通道接收所述至少一种故障对应的时隙配置方案,包括:所述接收端接收所述发送端发送的FlexE帧,所述FlexE帧中的管理通道字段承载以太网报文,所述以太网报文携带所述至少一种故障对应的时隙配置方案及编号。
- 根据权利要求20所述的方法,其中,所述接收端与所述发送端协商切换成所述故障对应的时隙配置方案,包括:所述接收端接收所述发送端发送的FlexE帧,所述FlexE帧中的管理通道字段承载以太网报文,所述以太网报文携带所述故障对应的时隙配置方案的编号;所述接收端根据所述编号获得保存的所述故障对应的时隙配置方案,完成切换准备工作,向所述发送端发送切换准备好的应答消息,并在接收到所述发送端发送的切换完成的确认消息后,按照所述时隙配置方案接收业务。
- 一种灵活以太网FlexE协议中切换时隙配置的装置,其中,应用于发送端,包括:配置单元,设置为在FlexE组group中成员发生故障之前,配置至少一种故障对应的时隙配置方案;发送单元,设置为将所述配置的至少一种故障对应的时隙配置方案发送给接收端;确定单元,设置为当所述FlexE group中成员发生故障时,根据所述故障确定对应的时隙配置方案;协商单元,设置为与所述接收端协商切换至所述故障对应的时隙配置方案。
- 一种灵活以太网FlexE协议中切换时隙配置的装置,应设置为接收端,包括:接收单元,设置为在FlexE组group中成员发生故障之前,接收发送端发送的至少一种故障对应的时隙配置方案;协商单元,设置为当所述FlexE group中成员发生故障时,与所述发送端协商切换成所述故障对应的时隙配置方案。
- 一种发送端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至18中任一项所述灵活以太网FlexE协议中切换时隙配置的方法。
- 一种接收端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求19至36中任一项所述灵活以太网FlexE协议中切换时隙配置的方法。
- 一种灵活以太网FlexE协议中切换时隙配置的***,包括如权利要求39所述的发送端以及如权利要求40所述的接收端。
- 一种计算机可读存储介质,所述计算机可读存储介质上存储有信息处理程序,所述信息处理程序被处理器执行时实现如权利要求1至36中任一项所述灵活以太网FlexE协议中切换时隙配置的方法的步骤。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP19910991.9A EP3917081A4 (en) | 2019-01-25 | 2019-10-28 | METHOD FOR SWITCHING TIME SLOT CONFIGURATION IN FLEXIBLE ETHERNET PROTOCOL, AND RELATED DEVICE |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910074077.6A CN109688016B (zh) | 2019-01-25 | 2019-01-25 | 灵活以太网协议中切换时隙配置的方法及相关设备 |
CN201910074077.6 | 2019-01-25 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020151280A1 true WO2020151280A1 (zh) | 2020-07-30 |
Family
ID=66194726
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/113731 WO2020151280A1 (zh) | 2019-01-25 | 2019-10-28 | 灵活以太网协议中切换时隙配置的方法及相关设备 |
Country Status (3)
Country | Link |
---|---|
EP (1) | EP3917081A4 (zh) |
CN (1) | CN109688016B (zh) |
WO (1) | WO2020151280A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114337952A (zh) * | 2020-09-30 | 2022-04-12 | 烽火通信科技股份有限公司 | 一种通信链路协商的方法和*** |
WO2023071249A1 (zh) * | 2021-10-28 | 2023-05-04 | 华为技术有限公司 | 一种时隙协商方法及装置 |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109688016B (zh) * | 2019-01-25 | 2022-06-03 | 中兴通讯股份有限公司 | 灵活以太网协议中切换时隙配置的方法及相关设备 |
CN110417631B (zh) * | 2019-07-22 | 2022-04-19 | 华信塞姆(成都)科技有限公司 | 一种基于FlexE的SPN中的L1环保护方法 |
CN112312483A (zh) * | 2019-08-01 | 2021-02-02 | 中兴通讯股份有限公司 | 带宽增加、带宽减少方法及装置、存储介质、电子装置 |
EP4024987B1 (en) * | 2019-09-12 | 2023-11-08 | Huawei Technologies Co., Ltd. | Timeslot negotiation method and device |
CN112543113A (zh) * | 2019-09-23 | 2021-03-23 | 中兴通讯股份有限公司 | 一种灵活以太网响应链路故障的方法、装置、设备及介质 |
CN112929199A (zh) | 2019-12-06 | 2021-06-08 | 华为技术有限公司 | 灵活以太网组的管理方法、设备及计算机可读存储介质 |
CN112787844B (zh) * | 2020-06-28 | 2022-01-25 | 中兴通讯股份有限公司 | FlexE客户端状态处理方法、装置、网络设备和可读存储介质 |
CN114615142B (zh) * | 2020-12-03 | 2023-06-09 | 烽火通信科技股份有限公司 | 一种业务处理的方法和装置 |
EP4254843A4 (en) * | 2020-12-24 | 2023-12-27 | Huawei Technologies Co., Ltd. | METHOD AND APPARATUS FOR PROCESSING FLEXIBLE ETHERNET OVERHEAD FRAME |
CN114697195A (zh) * | 2020-12-25 | 2022-07-01 | 中兴通讯股份有限公司 | 故障处理方法、传输路径调整方法、网元、存储介质 |
CN115701188A (zh) * | 2021-07-16 | 2023-02-07 | 中兴通讯股份有限公司 | 时隙配置方法、时隙配置装置及计算机可读存储介质 |
CN115695190A (zh) * | 2021-07-26 | 2023-02-03 | 中兴通讯股份有限公司 | 灵活以太网时隙协商方法、接收端、发送端及存储介质 |
WO2023236145A1 (zh) * | 2022-06-09 | 2023-12-14 | 华为技术有限公司 | 一种通信方法和装置 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8861334B2 (en) * | 2011-06-14 | 2014-10-14 | Avaya Inc. | Method and apparatus for lossless link recovery between two devices interconnected via multi link trunk/link aggregation group (MLT/LAG) |
CN106357421A (zh) * | 2015-07-17 | 2017-01-25 | 华为技术有限公司 | 传输灵活以太网的业务流的方法和装置 |
CN106911426A (zh) * | 2017-02-16 | 2017-06-30 | 华为技术有限公司 | 一种灵活以太网中传输数据的方法及设备 |
CN108809674A (zh) * | 2017-04-28 | 2018-11-13 | 华为技术有限公司 | 配置链路组的方法和设备 |
CN109688016A (zh) * | 2019-01-25 | 2019-04-26 | 中兴通讯股份有限公司 | 灵活以太网协议中切换时隙配置的方法及相关设备 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106411454B (zh) * | 2015-07-30 | 2019-10-25 | 华为技术有限公司 | 用于数据传输的方法、发送机和接收机 |
CN108156074B (zh) * | 2016-12-02 | 2020-10-23 | 华为技术有限公司 | 保护倒换方法、网络设备及*** |
CN113285781B (zh) * | 2016-12-08 | 2022-08-19 | 中兴通讯股份有限公司 | 复帧发送、接收方法、装置、通讯设备及通讯网络*** |
CN113595934A (zh) * | 2016-12-26 | 2021-11-02 | 北京华为数字技术有限公司 | 基于灵活以太网的业务流传输方法、装置和通信*** |
CN108777667B (zh) * | 2018-05-31 | 2021-12-21 | 华为技术有限公司 | 灵活以太网中调整传输通道的带宽方法和装置 |
-
2019
- 2019-01-25 CN CN201910074077.6A patent/CN109688016B/zh active Active
- 2019-10-28 EP EP19910991.9A patent/EP3917081A4/en active Pending
- 2019-10-28 WO PCT/CN2019/113731 patent/WO2020151280A1/zh unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8861334B2 (en) * | 2011-06-14 | 2014-10-14 | Avaya Inc. | Method and apparatus for lossless link recovery between two devices interconnected via multi link trunk/link aggregation group (MLT/LAG) |
CN106357421A (zh) * | 2015-07-17 | 2017-01-25 | 华为技术有限公司 | 传输灵活以太网的业务流的方法和装置 |
CN106911426A (zh) * | 2017-02-16 | 2017-06-30 | 华为技术有限公司 | 一种灵活以太网中传输数据的方法及设备 |
CN108809674A (zh) * | 2017-04-28 | 2018-11-13 | 华为技术有限公司 | 配置链路组的方法和设备 |
CN109688016A (zh) * | 2019-01-25 | 2019-04-26 | 中兴通讯股份有限公司 | 灵活以太网协议中切换时隙配置的方法及相关设备 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3917081A4 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114337952A (zh) * | 2020-09-30 | 2022-04-12 | 烽火通信科技股份有限公司 | 一种通信链路协商的方法和*** |
CN114337952B (zh) * | 2020-09-30 | 2023-06-09 | 烽火通信科技股份有限公司 | 一种通信链路协商的方法和*** |
WO2023071249A1 (zh) * | 2021-10-28 | 2023-05-04 | 华为技术有限公司 | 一种时隙协商方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN109688016A (zh) | 2019-04-26 |
EP3917081A4 (en) | 2022-10-05 |
CN109688016B (zh) | 2022-06-03 |
EP3917081A1 (en) | 2021-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020151280A1 (zh) | 灵活以太网协议中切换时隙配置的方法及相关设备 | |
CN108123813B (zh) | 操作、管理和维护oam数据的传输方法和装置 | |
CN100512292C (zh) | 一种实时恢复业务的装置及方法 | |
WO2018059604A1 (zh) | 一种信息传输的方法和设备、计算机存储介质 | |
US20190229846A1 (en) | Code error detection method, device and system, and computer-readable storage medium | |
EP2458797A1 (en) | Method, device and system for updating ring network topology information | |
JP6027688B2 (ja) | リングネットワークプロテクションにおけるラベル自動割当てのための方法及び装置 | |
EP3605881B1 (en) | Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus | |
CN109309530B (zh) | 一种数据传输方法和装置 | |
KR102582988B1 (ko) | 플렉시블 이더넷 통신 방법 및 네트워크 장치 | |
JP4765892B2 (ja) | マルチリンクバンドル制御を行なうデータ伝送方法、データ伝送装置、およびデータ伝送システム | |
EP1868322B1 (en) | A method for implementing network protection combining the network element double-adscription and the ringnet protection | |
WO2019007431A1 (zh) | 灵活以太网的故障通知、获取方法、装置以及通信设备 | |
WO2014090083A1 (zh) | 分布式弹性网络互连的业务承载方法及装置 | |
CN112218321B (zh) | 主备链路切换方法、装置、通信设备和存储介质 | |
CN104160666A (zh) | 链路聚合中的捆绑技术 | |
EP3618350A1 (en) | Protection switching method, device and system | |
US20150195125A1 (en) | Announcement Method, Device and System | |
KR102509386B1 (ko) | 플렉서블 이더넷 통신 방법 및 네트워크 디바이스 | |
CN111200510B (zh) | 业务保护方法和装置 | |
EP3886363B1 (en) | Communication method and apparatus | |
CN103414591A (zh) | 一种端口故障恢复时的快速收敛方法和*** | |
EP2953299B1 (en) | Protection switching method, system and node | |
WO2020207429A1 (zh) | 报文处理方法、装置及计算机可读存储介质 | |
EP2953294B1 (en) | Protection switching method, system, and node |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19910991 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2019910991 Country of ref document: EP Effective date: 20210825 |