WO2019029286A1 - 一种通信方法、设备及存储介质 - Google Patents
一种通信方法、设备及存储介质 Download PDFInfo
- Publication number
- WO2019029286A1 WO2019029286A1 PCT/CN2018/092947 CN2018092947W WO2019029286A1 WO 2019029286 A1 WO2019029286 A1 WO 2019029286A1 CN 2018092947 W CN2018092947 W CN 2018092947W WO 2019029286 A1 WO2019029286 A1 WO 2019029286A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- fault information
- port
- type
- information
- communication device
- Prior art date
Links
- 238000004891 communication Methods 0.000 title claims abstract description 333
- 238000000034 method Methods 0.000 title claims abstract description 74
- 230000010365 information processing Effects 0.000 claims description 42
- 238000004590 computer program Methods 0.000 claims description 5
- 230000006855 networking Effects 0.000 abstract description 7
- 230000005540 biological transmission Effects 0.000 description 45
- 230000006870 function Effects 0.000 description 40
- 238000010586 diagram Methods 0.000 description 35
- 238000013461 design Methods 0.000 description 21
- 230000015654 memory Effects 0.000 description 21
- 230000008569 process Effects 0.000 description 10
- 230000007246 mechanism Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000001419 dependent effect Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000004744 fabric Substances 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 238000011895 specific detection Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000008187 granular material Substances 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000035939 shock Effects 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 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/0686—Additional information in the notification, e.g. enhancement of specific meta-data
-
- 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/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/14—Monitoring arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- 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/0681—Configuration of triggering conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/18—Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/40—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
-
- 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 present application relates to the field of communications, and in particular, to a communication method, device, and storage medium.
- Standard Ethernet The 802.3 standard Ethernet (StdE) standard defined by the 802.3 working group of the Institute of Electrical and Electronics Engineers (IEEE) is widely cited in the industry. Standard Ethernet is greatly welcomed by manufacturers because of its simple principle, easy implementation and low price. However, with the development of technology, the difference in bandwidth particles is getting larger and larger, and the deviation between the ports of standard Ethernet and the actual application requirements is also increasing. A situation that is likely to occur is that the mainstream application requires bandwidth that does not belong to any existing Ethernet standard rate. For example, if a 50Gb/s service uses 100GE ports to carry the waste of resources, the 200Gb/s service is currently available. There are no corresponding Ethernet standard granules that can be carried.
- FlexE Flexible Ethernet
- MAC medium access control
- FlexE can support the following functions: Binding, multiple Ethernet ports Bind as a link group to support medium access control (MAC) services at a rate greater than a single Ethernet port; sub-rates, by assigning time slots to support traffic, the rate is less than the link group bandwidth or less than a single Ethernet port Bandwidth MAC service; channelization, which supports simultaneous transmission of multiple MAC services in a link group by allocating time slots for services, for example, supporting simultaneous transmission of one 150G and two 25G MAC services in a 2x100GE link group.
- MAC medium access control
- FIG. 1 is a schematic diagram of a possible communication system architecture in the prior art.
- the first Ethernet device 1101 and the second Ethernet device 1201 are included, where the first Ethernet device 1101 includes media related.
- Medium Dependent Interface (MDI) 1102 (the description is clearly written as MEDIUM1102), physical layer, Media Independent Interface (MII) 1107, Reconciliation Sublayer (RS) 1108, media access control ( Medium Access Control, MAC) layer 1109 and upper layer 1110.
- MDI Medium Dependent Interface
- MII Media Independent Interface
- RS Reconciliation Sublayer
- the physical layer of the first Ethernet device 1101 may include a Physical Medium Dependent (PMD) 1104, a Physical Medium Attachment (PMA) 1105, and a Physical Coding Sublayer (Physical Coding Sublayer). , PCS) 1106.
- PMD Physical Medium Dependent
- PMA Physical Medium Attachment
- PCS Physical Coding Sublayer
- the upper layer 1110 may include an Internet Protocol (IP) layer, a Transmission Control Protocol (TCP) layer, and the like.
- the second Ethernet device 1201 includes a Medium Dependent Interface (MDI) 1202 (the description is clearly written as MEDIUM 1202), a physical layer, an MII 1207, an RS 1208, a MAC layer 1209, and an Upper layer 1210.
- MDI Medium Dependent Interface
- the physical layer of the second Ethernet device 1201 may include a PMD 1204, a PMA 1205, and a PCS 1206.
- the upper layer 1210 may include an IP layer, a TCP layer, and the like.
- Section 81.3.4 of the IEEE 802.3 standard document defines local fault information (LF) and remote fault information (40) in the 40GE/100GE standard Ethernet protocol.
- the local fault information can refer to the remote RS and local.
- the faults between the RSs may be Faults detected between the remote RS and the local RS.
- the remote fault information may be RF signal originated at RS when RS detected LF.
- the mechanism for the local RS to negotiate the link failure status with the remote RS sublayer and the transmission and processing mechanism of the 64b/66bit Block based on LF and RF are specified in the protocol.
- the link from the second Ethernet device 1201 to the first Ethernet device 1101 fails, and the physical layer (such as the PMD 1104) in the first Ethernet device 1101 detects a link failure, PMD 1104,
- the PMA1105 or PCS1106 will generate the LF and send it up to the upper functional unit until the RS1108 receives the LF. If the RS1108 detects the LF sent by the PCS 1106 through the MII1107 port, the upper MAC data stream is stopped from being inserted into the PCS 1106, and the RF is continuously inserted into the PCS 1106 and sent to the second Ethernet device 1201. If the transmission link of the first Ethernet device 1101 to the second Ethernet device 1201 is intact, the RF may arrive at the second Ethernet device 1201.
- the RS1208 of the second Ethernet device 1201 detects the RF, stops the upper layer MAC data stream from being inserted into the PCS1206, and continuously inserts the Idle control block stream to the PCS1206 (refer to Section 81.3.4 of IEEE 802.3-2015 Section 6), Idle Control
- the block stream is sent from the second Ethernet device 1201 to the first Ethernet device 1101. Since the transmission link from the second Ethernet device 1201 to the first Ethernet device 1101 fails, the Idle control block stream does not arrive.
- fault negotiation can be implemented by transmitting LF and RF in an Ethernet device, and the RS in the Ethernet device can terminate the fault information and stop the transmission of the MAC layer data stream.
- the flexible Ethernet protocol that has been proposed, it is imperative to combine the standard Ethernet protocol and the flexible Ethernet protocol.
- the embodiment of the present invention provides a communication method, a device, and a storage medium, which are used to implement transmission of fault information in a joint network of a standard Ethernet protocol and a flexible Ethernet protocol.
- the embodiment of the present application provides a communication method, where the method includes: obtaining, by using a first port, a first fault information; wherein, the first port is a first type of port, and the first type of port is configured to transmit information according to a standard Ethernet protocol;
- the first fault information is a first type of fault information, and the first type of fault information includes at least one of local fault information and remote fault information.
- the second fault information is sent through the second port.
- the second port is a second type of port, the second type of port transmits information according to the flexible Ethernet protocol;
- the second type of fault information is a second type of fault information, and the second type of fault information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty.
- the first fault information is obtained by using the first port, and the second fault information is sent by the second port according to the first fault information, where the first port is a first type port, and the first type port is according to a standard Ethernet.
- the protocol transmits information
- the first fault information is the first type of fault information
- the second port is the second type of port
- the second type of port transmits information according to the flexible Ethernet protocol
- the first type of fault information includes the local fault information and the remote end.
- At least one of the fault information, the second fault information is a second type of fault information, and the second type of fault information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty, so the method for transmitting the second fault information may be
- the fault is reported in the joint networking of the standard Ethernet protocol and the flexible Ethernet protocol. It can also lay the foundation for distinguishing between the link failure corresponding to the flexible Ethernet protocol and the link failure of the standard Ethernet protocol.
- the sending, by the second port, the second fault information according to the first fault information including: if the obtained first type fault information meets the first preset condition, according to the first fault information,
- the second port sends the second fault information, where the first preset condition includes that the number of the first type of fault information obtained in the first preset duration is greater than the first threshold; or the obtained number is not less than the first threshold.
- the first preset code block, and the interval between any two adjacent first preset code blocks obtained does not exceed the first preset code block interval. In this way, erroneous operations caused by a small amount of fault information can be avoided, and the accuracy of the operation can be further improved.
- the method further includes: obtaining, by the second port, the third fault information; wherein the third fault information is the second type of fault information; and transmitting, according to the third fault information, the fourth fault information by using the first port;
- the fourth fault information is the first type of fault information.
- the fourth fault information is sent through the first port according to the third fault information, including: if the obtained second type fault information meets the second preset condition, according to the third fault information, pass the first
- the port sends the fourth fault information, where the second preset condition includes: the number of the third fault information obtained in the second preset duration is greater than the second threshold; or; obtaining the number that is not less than the second threshold Two preset code blocks, and the interval between any two adjacent second preset code blocks obtained does not exceed the second preset code block interval.
- the method further includes obtaining, by the third port, the fifth fault information; wherein the third port is the second type of port, and the fifth fault information is the first type of fault information or the second type of fault information;
- the fourth port sends a fifth fault information; wherein the fourth port is a second type of port.
- the first type of fault information and the second type of fault information can be transparently transmitted inside the flexible Ethernet network, so that the second type of fault information can be transmitted inside the flexible Ethernet network, and the first type of fault is transmitted outside the flexible Ethernet network.
- the information can be used to distinguish whether the link corresponding to the flexible Ethernet protocol is faulty or the link corresponding to the standard Ethernet protocol is faulty according to the type of the fault information.
- the method further includes obtaining, by the fifth port, the sixth fault information; wherein the fifth port is the second type of port, the sixth fault information is the first type of fault information, and the fifth port is configured with the standby link. ; Enable the alternate link corresponding to the fifth port.
- the second fault information is sent by the second port according to the first fault information, including: sending, according to the first fault information, at least two second fault information by using the second port; wherein, at least two Any two of the second fault information are separated by at least one code block.
- the transmission frequency of the second fault information can be flexibly set. For example, if the transmission frequency of the second fault information is set to be smaller than the transmission frequency of the first fault information, the bandwidth of the transmission path of the link corresponding to the flexible Ethernet protocol can be saved.
- the first fault information is the remote fault information
- the second fault information is the customer service type remote fault information
- the remote fault information is continuous transmission, occupying a large bandwidth, and setting a certain number of code blocks to send one. Customer service type remote fault information can save bandwidth.
- the embodiment of the present application provides a communication method, where the method includes: obtaining, by using a second port, third fault information; and sending, according to the third fault information, the fourth fault information by using the first port; where, the first port is a type of port, the first type of port transmits information according to a standard Ethernet protocol; the fourth type of fault information is a first type of fault information; the first type of fault information includes at least one of local fault information and remote fault information; For the second type of port, the second type of port transmits information according to the flexible Ethernet protocol; the third type of fault information is the second type of fault information; and the second type of fault information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty.
- the third fault information is obtained by using the second port, and the fourth fault information is sent by using the first port according to the third fault information, where the first type fault information includes at least one of the local fault information and the remote fault information.
- the second type of fault information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty. Therefore, by transmitting the second fault information, the fault can be reported in the standard Ethernet protocol and the flexible Ethernet protocol joint network. It can lay a foundation for distinguishing between the link failure corresponding to the flexible Ethernet protocol and the link failure of the standard Ethernet protocol; the third can also be compatible with the scheme of notifying the fault through the first type of fault information transmission in the standard Ethernet protocol network.
- the communication method further includes any one of the foregoing first aspect or the first aspect, and details are not described herein again.
- the embodiment of the present application provides a communication device, where the communication device includes a memory, a transceiver, and a processor, where: the memory is used to store an instruction; the processor is configured to control the transceiver to perform signal reception according to an instruction to execute the memory storage. And signaling, the communication device is configured to perform the method of any of the first aspect or the first aspect described above when the processor executes the instruction stored in the memory.
- the embodiment of the present application provides a communication device, which is used to implement any one of the foregoing first aspect or the first aspect, and includes a corresponding functional module, which is used to implement the steps in the foregoing method.
- the embodiment of the present application provides a computer storage medium, where the computer storage medium stores instructions, when the computer is running on the computer, causing the computer to perform the method in the first aspect or any possible implementation manner of the first aspect. .
- an embodiment of the present application provides a computer program product comprising instructions, which when executed on a computer, cause the computer to perform the method of the first aspect or any possible implementation of the first aspect.
- FIG. 1 is a schematic diagram of a possible communication system architecture in the prior art
- FIG. 2 is a schematic structural diagram of a communication device according to an embodiment of the present application.
- FIG. 3 is a schematic structural diagram of a communication device according to an embodiment of the present disclosure.
- FIG. 4 is a schematic structural diagram of a system according to an embodiment of the present disclosure.
- FIG. 5 is a schematic diagram of a fault information transmission path based on the system architecture shown in FIG. 4;
- FIG. 6 is a schematic diagram of another fault information transmission path based on the system architecture shown in FIG. 4;
- FIG. 7 is a schematic flowchart of a communication method according to an embodiment of the present application.
- FIG. 8 is a schematic flowchart diagram of a communication method according to an embodiment of the present application.
- FIG. 9 is a schematic diagram of another fault information transmission path based on the system structure shown in FIG. 4 according to an embodiment of the present application.
- FIG. 10 is a schematic diagram of a 0x4B 66 bit block code block according to an embodiment of the present disclosure
- FIG. 11 is a schematic diagram of fault clearing information based on the 0x4B code block shown in FIG. 10 according to an embodiment of the present application;
- FIG. 12 is a schematic diagram of local fault information based on the 0x4B code block shown in FIG. 10 according to an embodiment of the present application;
- FIG. 13 is a schematic diagram of remote fault information based on the 0x4B code block shown in FIG. 10 according to an embodiment of the present application;
- FIG. 14 is a schematic diagram of a second type of fault information based on the 0x4B code block shown in FIG. 10 according to an embodiment of the present disclosure
- FIG. 15 is a schematic diagram of local service information of a customer service type based on the 0x4B code block shown in FIG. 10 according to an embodiment of the present application;
- FIG. 16 is a schematic diagram of remote fault information of a client service type based on the 0x4B code block shown in FIG. 10 according to an embodiment of the present disclosure
- FIG. 17 is a schematic structural diagram of a communication device according to an embodiment of the present application.
- FIG. 18 is a schematic structural diagram of another communication device according to an embodiment of the present application.
- FIG. 19 is a schematic structural diagram of another communication device according to an embodiment of the present application.
- FIG. 2 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
- the communication device 1301 includes two types of ports, a first type port and a second type port.
- the first type port transmits information according to a standard Ethernet protocol
- the second type port transmits according to a flexible Ethernet protocol. information.
- the communication device 1301 may include one or more first type ports, and one or more second type ports, such as the first type port 1401, the first type port 1402, the first type port 1403, and the second type shown in FIG. 2.
- the first type of port corresponds to an interface and a physical layer
- the physical layer of the first type of port includes a PMD, a PMA, and a PCS.
- the second type of port includes an interface, a physical layer, and a flexible Ethernet protocol layer (also referred to as FlexE shim in English), and the physical layer of the second type of port includes PMD, PMA, and PCS.
- the interfaces in the first type of port and the second type of port specifically refer to the connection port of the cable.
- the first type of port further includes other layers above the physical layer, such as a MAC layer and the like.
- the RS of the first type of port in the embodiment of the present application is not included.
- the second type of port further includes other layers above the flexible Ethernet protocol layer, such as a MAC layer and the like. In FIG. 2, only the physical layer of the first type of port and the physical layer and flexible Ethernet protocol layer of the second type of port are simply shown.
- the first type of port may be a port that only supports the standard Ethernet protocol. In this case, the first type of port can only transmit information according to the standard Ethernet protocol.
- the first type of port may also be a port supporting two standard types: standard Ethernet protocol and flexible Ethernet protocol. In this case, the first type of port means that the currently used protocol is a standard Ethernet protocol. port.
- the second type of port may be a port that only supports the flexible Ethernet protocol. In this case, the second type of port can only transmit information according to the flexible Ethernet protocol.
- the second type of port may also be a port supporting two standard types: standard Ethernet protocol and flexible Ethernet protocol. In this case, the second type of port means that the currently used protocol is a flexible Ethernet protocol.
- the first port can support the standard Ethernet protocol and the flexible Ethernet protocol. If the first port transmits information according to the standard Ethernet protocol in a period of time, the information can be transmitted according to the standard Ethernet protocol.
- the first port is referred to as the first type of port. If the first port transmits information according to the flexible Ethernet protocol within a period of time, the first port may be referred to as the first port during the period of transmitting information according to the flexible Ethernet protocol.
- the second type of port is referred to as the first type of port.
- the embodiment of the present application may further include a third type of port, where the third type of port transmits information according to a standard Ethernet protocol, and the third type of port includes an interface, a physical layer, and an RS, and other upper functional units.
- the third type of port may be, for example, a port including the RS in the first Ethernet device 1101 and the second Ethernet device 1201 shown in FIG. 1.
- the third type of port may be a port that only supports the standard Ethernet protocol, in which case the third type of port can only transmit information according to the standard Ethernet protocol.
- the third type of port may also be a port supporting two standard types: standard Ethernet protocol and flexible Ethernet protocol. In this case, the third type of port means that the currently used protocol is a standard Ethernet protocol. port.
- the communication device 1301 in the embodiment of the present application further includes a fault information processing module, and the fault information processing module may be one or multiple, such as the fault information module 1601 and the fault information module 1602 in FIG. And fault information module 1603.
- the fault information processing module may be disposed on one side of the first type of port, such as in an upper layer of a physical layer of the first type of port, or may be disposed on one side of the second type of port. For example, it can be set on the upper layer of the physical layer of the second type of port.
- the fault information module can be set on the link connecting the first type of port and the second type of port.
- the fault information processing module in the embodiment of the present application may perform the solution provided by the embodiment of the present application.
- the second type of fault information may be generated according to the first type of fault information, or the first type of fault information may be generated according to the second type of fault information. and many more.
- the embodiment of the present application further includes a switching unit 1701, and each port may be connected through the switching unit 1701.
- the switching unit 1701 may also be referred to as a 1.5 layer flexible Ethernet protocol switching unit in the communication device 2102, the communication device 2103, and the communication device 2104.
- the 1.5 layer may be a data transmission layer involved in the flexible Ethernet protocol, and may be located in a data transmission layer between the physical layer and the MAC layer of the Open System Interconnection (OSI) 7-layer model.
- OSI Open System Interconnection
- the concepts above the physical layer, or above the physical layer, or the upper layer of the physical layer refer to the layer above the physical layer in the model, such as 1.5 layers in the flexible Ethernet protocol.
- the flexible Ethernet protocol layer can be, for example, the MAC layer and the like.
- the relationship between ports can be pre-configured.
- the first type port 1401 may be associated with the second type port 1501, that is, the first type port 1401 is connected to the second type port 1501, and the first type port 1401 obtains information.
- the information defaults to the information that needs to be sent; the obtained information may be the information sent by other devices received, or the information generated by the first type of port 1401) is sent through the second type port 1501, and the second type of port is sent.
- the information obtained by 1501 (this information defaults to the information that needs to be sent; the obtained information may be the information sent by other devices received, or the information generated by the first type of port 1501)) is sent through the first type of port 1401. Go out.
- one port may be connected to one or more ports, but some connection relationships may not be in a working state.
- the first type port 1401 and the second type port 1501 are connected, and The first type of port 1401 and the second type of port 1502 are also connected, but the connections of the first type of port 1401 and the second type of port 1502 are not currently in operation, only the connections of the first type of port 1401 and the second type of port 1501 are currently In the working state, that is to say, the information obtained by the first type port 1401 is sent out through the second type port 1501, and the information obtained by the second type port 1501 is sent out from the first type port 1401.
- the first type port 1401 and the second type port 1501 are associated with each other, and the connection of the first type port 1401 and the second type port 1502 is in an inactive state, which may be called an inactive state or an association is not activated.
- the association relationship between the ports in the embodiment of the present application is an association relationship in a working state. If the connection between the first type port 1401 and the second type port 1502 is currently in the working state in the next time period, that is, the information obtained by the first type port 1401 is sent through the second type port 1502.
- the information obtained by the second type port 1502 is sent from the first type port 1401, and the relationship between the first type port 1401 and the second type port 1502 may be referred to in the next time period.
- An association relationship between the two ports in the following embodiments of the present application may mean that there is a connection between the two ports, and the connection is in an active state, as shown in the explanation of the example.
- the communication device in the embodiment of the present application may include at least two first type ports, and may also include at least two second type ports, and may also include at least one first type port and at least one second type port.
- a third type of port may also be included in the embodiment of the present application.
- FIG. 3 is a schematic structural diagram of a communication device according to an embodiment of the present application. As shown in FIG. 3, the communication device in the embodiment of the present application includes two types (for the first type port and the second type port).
- the port of the first type can be associated with the port of the second type, and the port of the same type (such as two ports of the first type or two ports of the second type) can be associated with each other.
- the first type port 1401 and the second type port 1503 are associated with each other, and the second type port 1502 and the second type port 1503 are associated with each other.
- FIG. 4 is a schematic diagram showing a system architecture provided by an embodiment of the present application.
- the communication system includes a communication device 2101, a communication device 2102, a communication device 2103, a communication device 2104, and a communication device. 2105.
- the third type port 2201 of the communication device 2101 is connected to the first type port 2202 of the communication device 2102, the internal first type port 2202 and the second type port 2203 of the communication device 2102 are associated; the second type of the communication device 2102
- the port 2203 is connected to the second type port 2204 of the communication device 2103, the internal second type port 2204 of the communication device 2103 is associated with the second type port 2205; the second type port 2205 of the communication device 2103 is associated with the second type of the communication device 2104
- Type port 2206 is connected, internal second type port 2206 of communication device 2104 is associated with first type port 2207; first type port 2207 of communication device 2104 is coupled to third type port 2208 of communication device 2105.
- each communication device in the system architecture shown in FIG. 4 are merely schematic, and any one of the communication device 2101, the communication device 2102, the communication device 2103, the communication device 2104, and the communication device 2105 may include at least one first At least one of the type port, the at least one second type port, and the at least one third type port is not limited in the embodiment of the present application.
- the communication device 2101 and the communication device 2105 may only include a third type of port.
- the communication device 2101 and the communication device 2105 may also be referred to as an Ethernet device, and may also be referred to as a user-side device; optionally, a communication device.
- the 2101 and communication device 2105 can also include at least one first type of port and/or at least one second type of port, and the like.
- the communication device 2103 may only include a second type of port, and optionally the communication device 2103 may further include at least one first type of port and/or at least one third type of port or the like.
- the communication device 2102 and the communication device 2104 include at least one first type of port and at least one second type of port so that information transmitted by the first type of port can be transmitted through the second type of port.
- communication device 2102 can also include at least one third type of port.
- the communication device 2102 and the communication device 2104 may be referred to as a PE node, and the English may be written as a provider edge, which refers to a network device connected to the user at the edge of the operator network, and the PE node
- the network-to-network interface (NNI) and the user-side port can be configured on the network, and the user-side port is the port (User network interface, UNI) that the network connects to the user.
- the user side port may be the first type of port, and the port between the networks or between the devices in the network may be the second type of port.
- the communication device 2103 can be called a provider, and is a network device in the carrier network.
- P node It can be called a P node, and only the network port of the NNI can be configured on the P node.
- one or more communication devices 2103 may be included between the communication device 2102 and the communication device 2104, that is, each of the two PE nodes is connected to the P node and the Ethernet device, and between the two PE nodes. It can include at least one P node.
- information corresponding to the standard Ethernet protocol can be transmitted through the flexible Ethernet protocol, so that data can be transmitted more quickly and efficiently, and reused under the standard Ethernet network architecture. The purpose of the flexible Ethernet protocol.
- the third type port in the communication device 2101 and the communication device 2105 includes an RS.
- the communication device 2102, the communication device 2103, and the communication may be optionally
- the RS is not configured in the first type port and the second type port in the device 2104.
- data can be transmitted between the ports.
- the port and the port can include two types of links, and one type of link is used to send information from one port to another port. One type of link is used to cause the one port to receive information sent by the other port.
- the third type of port 2201 and the first type of port 2202 may include two types of links, which may be referred to as a first type of link and a second type of link, respectively, and the first type of link is used for transmission from the first type.
- the third type of port 2201 transmits information to the first type of port 2202, and the second type of link user transmits information transmitted from the first type of port 2202 to the third type of port 2201.
- the first type of link and the second type of link may be a pair of optical fibers, which are respectively used for receiving and transmitting, that is, one of the pair of optical fibers may be referred to as a first type of link.
- the other root can be called the second type of link.
- FIG. 5 exemplarily shows a fault information transmission path diagram based on the system architecture shown in FIG. 4, as shown in FIG. 5, after the introduction of the FlexE network in the standard Ethernet protocol, if the slave communication device 2101 to the communication device 2102 A fault occurs on the link, for example, the link of the third type port 2201 transmitting information to the first type port 2202 fails.
- the physical layer of the first type port 2202 After the first type port 2202 detects the link fault, the physical layer of the first type port 2202 generates a local link. Fault information (Local Fault, LF).
- the first type of port 2202 detects multiple faults in the link. For example, the first type of port 2202 does not receive information within the preset duration.
- the LF generated by the first type port 2202 is transmitted to the communication device.
- the 1.5-layer switching unit of 2102 is switched to the second type of port 2203.
- the LF information is transmitted through the flexible Ethernet protocol network and is transparently transmitted to the third type of port 2208 of the communication device 2105. RS. That is, the LF generated by the first type of port 2202 will be passed along the second type port 2203, the second type port 2204, the second type port 2205, the second type port 2206, the first type port 2207, and finally to the third type.
- Type RS of port 2208 may stop the data transmission of the MAC layer of the third type of port 2208 when the LF information is detected, and generate RF information, which is continuously inserted into the PCS layer of the third type of port 2208.
- the RF information is also transmitted along the first type port 2207, the second type port 2206, the second type port 2205, the second type port 2204, the second type port 2203, and the first type port 2202 to the third type port 2201.
- the RS of the third type port 2201 detects the RF information, the data transmission of the MAC layer of the third type port 2201 is stopped, the Idle control block is generated, and the PCS layer of the third type port 2201 is continuously inserted.
- the fault information (such as LF and/or RF) generated by the link between the ports of the first type in the embodiment of the present application is transmitted inside the network of the flexible Ethernet protocol. Because the frequency of the LF generated by the first type of port in the prior art is high, and the RF is continuously transmitted, the fault information generated by the link failure between the first type of ports occupies a large proportion of the bandwidth. .
- the first fault information is obtained by using the first port, and the second fault information is sent by the second port according to the first fault information, where the first port is a first type port, and the first type port is According to the standard Ethernet protocol, the first fault information is the first type of fault information, the second port is the second type of port, the second type of port transmits information according to the flexible Ethernet protocol, and the first type of fault information includes the local fault.
- At least one of the information and the remote fault information, and the transmission path of the local fault information and the remote fault information occupies a large bandwidth, so that the second fault information can be transmitted through the standard Ethernet protocol and
- the flexible Ethernet protocol can notify the fault in the joint network, and it can also save the bandwidth of the transmission path of the link corresponding to the flexible Ethernet protocol.
- the physical layer of the second type of port also generates local fault information (such as LF) after detecting the fault.
- LF local fault information
- the FlexE Implementation Agreement 1.0 specification specifies that information failure (link failure), flexible Ethernet protocol group overhead frame (English may be called FlexE Group Overhead Frame), synchronization lock failure, is detected on the FlexE port (ie, the second type of port).
- the protection switching function can be configured on the communication device configured with the second type of port.
- the protection switching function can be called protection switching, which is also called automatic protection switching (APS).
- APS automatic protection switching
- the transmission of traffic is switched from one working path to a protection path corresponding to the working path due to failure or manual intervention (for example, switching from the working link to the standby link).
- the protection switching function is configured in the communication device, the protection switching function is enabled when the LF is detected.
- the protection switching function is configured in the flexible Ethernet protocol to provide a self-healing mechanism under the flexible Ethernet protocol. If a fault occurs inside the flexible Ethernet protocol network, the protection switching function can be used to achieve self-healing.
- FIG. 6 exemplarily shows another fault information transmission path diagram based on the system architecture shown in FIG. 4.
- at least one link may be included between the communication devices, such as the communication device 2103.
- the communication device 2103 and the communication device 2104 include two links between the second type port 2205 and the second type port 2206, and between the second type port 2205 and the second type port 2303. Link (not shown in this example figure).
- only one link between the communication device 2103 and the communication device 2104 is in a working state, and the link that is currently in the working state is a working link, and the link that is not currently in the working state is called Alternate link.
- the link between the second type port 2205 and the second type port 2206 is in a working state during a time period, that is, data required to be transmitted between the communication device 2103 and the communication device 2104 passes through the second type port 2205 and the The link between the two types of ports 2206 is transmitted, and the link between the second type port 2205 and the second type port 2206 is called a working link, and the second type port 2301 and the second type that are not currently in the working state.
- the link between the ports 2302 is referred to as a backup link; the link between the second type port 2301 and the second type port 2302 is in an active state in the next time period, and the second type port 2301 and the second type port 2302
- the link between the two is called a working link, and the link between the second type of port 2205 and the second type of port 2206 is called a standby link.
- the protection switching function is turned on when the LF is detected.
- the protection switching function is configured on the communication device 2104, for example, between the communication device 2103 and the communication device 2104.
- the two links are a link between the second type port 2205 and the second type port 2206, and a link between the second type port 2301 and the second type port 2302.
- the current working link is a link between the second type of port 2205 and the second type of port 2206.
- the protection switching function can be configured on the physical layer of the second type of port.
- the protection switching function can be configured at the flexible Ethernet protocol layer of each second type of port.
- the link between the communication device 2103 and the communication device 2104 fails, for example, the link of the second type port 2205 transmitting information to the second type port 2206 fails. Then, the physical layer of the second type port 2206 generates LF, and the flexible Ethernet protocol layer of the second type port 2206 (identified as FlexE shim in the figure) receives the LF, and then activates the protection switching function, that is, enables the second type of port 2206. Alternate link. That is, the working link is switched from the link between the second type port 2205 and the second type port 2206 to the link between the second type port 2301 and the second type port 2302, that is, the second type port 2301 is enabled.
- the link between the second type of port 2302 and the second type of port 2206 is changed to the standby link.
- the second type of port 2204 is associated with the second type of port 2301, and the second type of port 2204 and the second type of port 2205 are in an inactive state. It can be seen that when there is a fault in the flexible Ethernet protocol, the flexible Ethernet protocol enables the standby link to continue to work. This capability can also be called the self-healing capability of the flexible Ethernet protocol.
- the alternate link of the second type of port 2205 is enabled, the second type of port 2302 no longer receives the LF because the second type of port 2205 failed to send a message to the second type of port 2206.
- the first type port 2202 detects the link fault, first.
- the physical layer of the type port 2202 generates LF, and the LF is transmitted to the communication device 2104.
- the communication device 2104 After detecting the LF, the communication device 2104 triggers a protection switching function, that is, the link corresponding to the second type port 2206 is switched to the standby link, that is, Said to switch the working link from the link between the second type of port 2205 and the second type of port 2206 to the link between the second type of port 2301 and the second type of port 2302, ie enable the second type of port 2301 and the first
- the link between the two types of ports 2302 serves as a working link, and the link between the second type of port 2205 and the second type of port 2206 changes to a standby link.
- the LF will be received even after the communication device 2104 initiates the protection switching function, in which case the communication device 2104 may continue to enable the protection switching.
- the function is to switch the working link from the link between the second type port 2301 and the second type port 2302 to the link between the second type port 2205 and the second type port 2206. It can be seen that, since the LF information received by the communication device is generated when a fault occurs between the first type of ports, the LF sends the communication device 2104 even after the communication device 2104 starts the automatic protection switching function, resulting in repeated switching of the working link. There is a situation of switching shocks.
- the protection switching function under the flexible Ethernet protocol originally implements the self-healing function for the fault information inside the flexible Ethernet protocol, but the fault information outside the flexible Ethernet protocol network may enter the flexible Ethernet protocol, which may cause communication.
- the device mistakenly believes that the fault information is fault information in the flexible Ethernet protocol network, causing a return to the working link and a switching vibration.
- the second fault information is the second type of fault information, and the link corresponding to the standard Ethernet protocol may be faulty indicated by the second fault information. The link between the link corresponding to the Ethernet protocol and the link corresponding to the standard Ethernet protocol is faulty.
- FIG. 7 exemplarily shows a schematic flowchart of a communication method provided by an embodiment of the present application. As shown in FIG. 7, the method includes steps 3101 to 3102.
- Step 3101 The communication device obtains the first fault information by using the first port.
- the first port is a first type of port, and the first type of port transmits information according to a standard Ethernet protocol.
- the first fault information is a first type of fault information.
- One type of failure information includes at least one of local failure information and remote failure information.
- the communication device includes a plurality of first type ports, and the first port is a first type port of the plurality of first type ports and associated with the at least one second type port.
- the first type of port may be a port supporting only a standard Ethernet protocol, or a port supporting two standard types: a standard Ethernet protocol and a flexible Ethernet protocol.
- the first type of port It means that the protocol currently in use is the port of the standard Ethernet protocol.
- the second type of port may be a port that only supports the flexible Ethernet protocol, or a port that supports the standard Ethernet protocol and the flexible Ethernet protocol. In this case, the second type of port. It means that the currently used protocol is the port of the flexible Ethernet protocol.
- the second type of port It means that the currently used protocol is the port of the flexible Ethernet protocol.
- Step 3102 The communication device sends the second fault information by using the second port according to the first fault information.
- the second port is a second type port, and the second type port is configured to transmit information according to a flexible Ethernet protocol.
- the second type of fault information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty.
- the communication device of this step may be the communication device including two types of ports in FIG. 2 to FIG. 6 above, such as the communication device 2102 and the communication device 2104 in FIG. 2 to FIG. 6 described above.
- the first port and the second port are associated with each other, that is, the information obtained by the first port is transmitted through the second port, and the information obtained by the second port is transmitted from the first port.
- the communication device includes a plurality of second type ports, and the second port is a second type port of the plurality of second type ports and associated with the at least one first type port.
- the communication device when the communication device obtains the first type of fault information through the first type of port, if the second type of port is required to be sent out, the second type of fault information is sent through the second type of port.
- the first fault information is obtained by using the first port, and the second fault information is sent by the second port according to the first fault information, where the first port is a first type port, and the first type port is according to a standard Ethernet.
- the protocol transmits information
- the first fault information is the first type of fault information
- the second port is the second type of port
- the second type of port transmits information according to the flexible Ethernet protocol
- the first type of fault information includes the local fault information and the remote end.
- At least one of the fault information, the second fault information is a second type of fault information, and the second type of fault information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty, so the method for transmitting the second fault information may be
- the fault is reported in the joint networking of the standard Ethernet protocol and the flexible Ethernet protocol. It can also lay the foundation for distinguishing between the link failure corresponding to the flexible Ethernet protocol and the link failure of the standard Ethernet protocol.
- FIG. 8 is a schematic flowchart showing a communication method provided by an embodiment of the present application. As shown in FIG. 8 , the method includes steps 3401 to 3402. .
- the communication device performing step 3401 to step 3402 and the communication device performing step 3101 and step 3102 may be two different communication devices.
- the steps included in the communication device of step 3401 to step 3402 are performed.
- a port is different from the first port in the communication device performing step 3101 and step 3102, and the second port included in the communication device of step 3401 to step 3402 is executed in the communication device performing step 3101 and step 3102.
- the second port is a different two ports.
- the communication device performing step 3101 to step 3102 may be the communication device 2102 in FIG. 8, and the communication device performing step 3401 to step 3402 may be the communication device 2104 in FIG. 8. In this case, step 3101 is performed.
- the first port in the communication device to step 3102 may be the first type port 2202, and the second port in the communication device performing step 3101 to step 3102 may be the second type port 2203; the communication device performing step 3401 to step 3402
- the first port in the communication may be the first type port 2207, and the second port in the communication device performing step 3401 to step 3402 may be the second type port 2206.
- the communication device that performs step 3401 to step 3402 may also be the communication device that performs step 3101 and step 3102 described above.
- the first port and the execution step included in the communication device of step 3401 to step 3402 are performed.
- the first port in the communication device of the step 3101 and the step 3102 may be two different ports or the same two ports, and the second port included in the communication device of step 3401 to step 3402 is executed and steps 3101 and 3102 are performed.
- the second port in the communication device can be two different ports or the same two ports.
- step 3401 and step 3402 may be performed after step 3101 and step 3102 described above, or may be performed before step 3101 and step 3102.
- Step 3401 the communication device obtains third fault information through the second port; according to the third fault information; the second port is a second type port, the second type port transmits information according to a flexible Ethernet protocol; and the third fault information is a second type
- the second type of fault information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty; optionally, the communication device includes multiple second type ports, and the second port is among the plurality of second type ports, and A second type of port associated with at least one port of the first type.
- the communication device obtains the second type of fault information through the second type of port, if the first type of port is required to be sent out, the first type of fault information is sent through the first type of port.
- the first type of port may be a port supporting only a standard Ethernet protocol, or a port supporting two standard types: a standard Ethernet protocol and a flexible Ethernet protocol.
- the first type of port It means that the protocol currently in use is the port of the standard Ethernet protocol.
- the second type of port may be a port that only supports the flexible Ethernet protocol, or a port that supports the standard Ethernet protocol and the flexible Ethernet protocol. In this case, the second type of port. It means that the currently used protocol is the port of the flexible Ethernet protocol.
- the second type of port It means that the currently used protocol is the port of the flexible Ethernet protocol.
- Step 3402 The communication device sends the fourth fault information by using the first port, where the first port is a first type port, the first type port transmits information according to a standard Ethernet protocol, and the fourth fault information is a first type fault information.
- One type of failure information includes at least one of local failure information and remote failure information.
- the communication device of this step may be the communication device including two types of ports in FIG. 2 to FIG. 6 above, such as the communication device 2102 and the communication device 2104 in FIG. 2 to FIG. 6 described above.
- the first port and the second port are associated with each other, that is, the information obtained by the first port is transmitted through the second port, and the information obtained by the second port is transmitted from the first port.
- the communication device includes a plurality of first type ports, and the first port is a first type port of the plurality of first type ports and associated with the at least one second type port.
- the third fault information is obtained by using the second port, and the fourth fault information is sent by using the first port according to the third fault information, where the first type fault information includes at least one of local fault information and remote fault information.
- the second type of fault information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty. Therefore, by transmitting the second fault information, the fault can be reported in the standard Ethernet protocol and the flexible Ethernet protocol joint network. It can lay a foundation for distinguishing between the link failure corresponding to the flexible Ethernet protocol and the link failure of the standard Ethernet protocol; the third can also be compatible with the scheme of notifying the fault through the first type of fault information transmission in the standard Ethernet protocol network.
- FIG. 7 and FIG. 8 Based on the communication methods described in FIG. 7 and FIG. 8, several possible designs in the above-mentioned FIG. 7 and FIG. 8 are further explained below, and the following method item embodiments are applicable to the solutions described in FIG. 7 and FIG. .
- the bandwidth of the transmission path is occupied.
- the solution of the embodiment of the present application can transmit the second type of fault information in the flexible Ethernet protocol, and can flexibly set the sending frequency of the second fault information, for example, setting the sending frequency of the second fault information to be smaller than the first fault information.
- the transmission frequency can save the bandwidth of the transmission path of the link corresponding to the flexible Ethernet protocol.
- the first fault information is the remote fault information
- the second fault information is the customer service type remote fault information
- the remote fault information is continuous transmission, occupying a large bandwidth, and setting a certain number of code blocks to send one.
- Customer service type remote fault information can save bandwidth.
- the saved network bandwidth can be used to carry other services, including statistical multiplexing, and the second type of fault information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty, so that the standard Ethernet protocol can be avoided. If the corresponding link fails, the protection switching function is triggered by mistake.
- the link in English may also be referred to as LINK
- the link negotiation based on the local Ethernet 802.3 specification based on local fault information and/or remote fault information may be supported ( IEEE 802.3, Section 81.3.4), also ensures the correct implementation of the self-healing mechanism within the flexible Ethernet protocol network.
- the communications device obtains the first fault information by using the first port, where the communications device may generate the local fault information by using the physical layer of the first port; or the communications device may pass the first Remote fault information received by the port. For example, if the first port is the first type port 2202, and the link of the third type port 2201 to the first type port 2202 fails in FIG. 6, the physical layer of the first type port 2202 generates a local fault. information.
- the link of the first type of port 2202 to the third type of port 2201 fails, the physical layer of the third type of port 2201 generates local fault information, and after the RS of the third type of port 2201 detects the local fault information, The remote fault information is generated, and the remote fault information is transmitted to the first type port 2202.
- Two types of second type fault information may be defined in the embodiment of the present application, and are distributed into customer service type local fault information and customer service type remote fault information.
- the local fault information of the customer service type can be called Client Service Fault, which can be abbreviated as CSF.
- CSF is used to represent the local fault information of the customer service type.
- the customer service type remote fault information in English can be called Remote Client Service Fault, which can be abbreviated as RCSF.
- the expression in Figure 9 is clearer.
- the RCSF is used to represent the remote fault information of the customer service type.
- Customer service type local fault information and customer service type The type of customer service in the remote fault information is a relatively high-level statement, specifically the relevant content of the service serving the customer; the customer service type local fault information and the customer service type are far
- the type of the customer service in the terminal fault information is not limited to the second type of fault information in the embodiment of the present application, and is only used for the local fault information (English shorthand LF) and the remote fault information in the embodiment of the present application (English shorthand) RF) distinguishes between names.
- the sending, by the second port, the second fault information according to the first fault information, the second fault information corresponding to the first fault information is generated according to the first fault information, and the second fault information is sent by using the second port.
- the first fault information is the local fault information
- the second fault information corresponding to the first fault information is the customer service type local fault information
- the first fault information is the remote fault information
- the second fault corresponding to the first fault information is the customer service type remote fault information.
- the second type of fault information corresponding to the first type of fault information is the customer service type remote fault information; correspondingly, the second type of fault information is the customer service type local fault information, and the second type of fault information corresponds to the first type of fault.
- the information of the second type is the fault information of the customer service type, and the fault information of the first type corresponding to the fault information of the second type is the remote fault information.
- generating the second fault information corresponding to the first fault information according to the first fault information may be newly generating the second fault information, or adding the indication information to the first fault information, where the indication information is used to indicate The link corresponding to the standard Ethernet protocol has failed.
- generating the second type of fault information corresponding to the first type of fault information according to the first type of fault information may be newly generating the second type of fault information, or adding the indication information to the first type of fault information.
- the indication information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty.
- the communications device sends the second fault information by using the second port according to the first fault information, including: if the obtained first type fault information meets the first preset condition, according to the first fault information.
- the first preset code block that is not less than the first quantity threshold is obtained, and the interval between any two adjacent first preset code blocks obtained does not exceed the first preset code.
- the second fault information is sent under the condition of the block interval, and the communication device may continuously detect the obtained number of the first preset code blocks, and if it detects that the first preset code block that is not less than the first quantity threshold is obtained, And the condition that the interval between any two adjacent first preset code blocks does not exceed the first preset code block interval is stopped, and then the second fault information is stopped. In this way, erroneous operations caused by a small amount of fault information can be avoided, and the accuracy of the operation can be further improved.
- the first 66 bit block control block is the first preset code block, and the first preset code block interval is 128 code blocks, and the first quantity threshold is 4, when 4 first 66 are detected.
- the counter is recorded as the first code block, and if one is detected in the next 128 blocks, the counter is recorded as the second one, if In the next 128 blocks, no first 66 bit block control block is detected, the event record is cleared (ie, the counter is cleared); when the first 66 bit block control block is detected again, the counter is restarted from 1 Counting; thus, if four valid first 66 bit block control blocks are continuously accumulated (ie, the counter reaches 4), it is considered that LF or RF information is obtained.
- the communication device continuously detects that the communication device sends the second fault information when the value of the counter is not less than 4, and stops transmitting the second fault information if the value of the counter is less than 4, that is, correspondingly, if not If the condition is that the first preset code block is not less than the first quantity threshold, and the interval between any two adjacent first preset code blocks is not more than the first preset code block interval, If the fault is cleared, the second fault information is no longer sent. For example, if the communication device does not detect the first 66 bit block control block in consecutive 128 code blocks, the fault is considered to be cleared.
- the communications device sends the second fault information by using the second port according to the first fault information, including: if the number of the first fault information obtained in the first preset duration is greater than the first threshold, A fault information is sent through the second port to send the second fault information.
- the first fault information may also be a first preset code block. That is, if the obtained first type of fault information meets the first preset condition, the second fault information is sent through the second port according to the first fault information; wherein the first preset condition includes: at the first preset The number of first type of fault information obtained within the duration is greater than the first number of thresholds. The first type of failure information obtained in this case is the first failure information.
- the second fault information is sent under the condition that “the number of the first fault information obtained in the first preset duration is greater than the first threshold”, and the number of the first fault information obtained by the communications device is continuously detected. If it is detected that the condition that the number of the first fault information obtained within the first preset duration is greater than the first number threshold is not satisfied, the sending of the second fault information is stopped.
- the first 66 bit block control block is the first preset code block
- the first quantity threshold is 4, and the duration used by the first preset code block for determining the first quantity threshold is not greater than the first.
- the preset time length for example, when the duration of the four consecutive first 66 bit blocks is not greater than the first preset duration, the second fault information is sent.
- the communication device continuously detects the obtained first preset code block, and if the duration of the four consecutive first 66 bit blocks is greater than the first preset duration, it is determined that “the first obtained in the first preset duration is satisfied” The condition that the number of fault information is greater than the first number threshold is stopped, and the second fault information is stopped.
- the method further includes: the communication device obtains the sixth fault information by using the fifth port; wherein the fifth port is the second type of port, the sixth fault information is the first type of fault information; the fifth port is configured with the standby link; The alternate link corresponding to the fifth port.
- the protection switching function is configured in the communication device, when the communication device receives the fault information in the flexible Ethernet protocol network, the protection switching function is enabled, and the flexible Ethernet protocol is received. The switching function is not enabled in the case of fault information outside the network.
- the second type of fault information in the embodiment of the present application may indicate that the link corresponding to the standard Ethernet protocol is faulty.
- the protection switching function is not enabled, and the first type of fault is received.
- the protection switching function is turned on. It can be seen that, in the embodiment of the present application, the link corresponding to the standard Ethernet protocol is faulty and the link corresponding to the flexible Ethernet protocol is faulty is distinguished by using the first type of fault information and the second type of fault information, thereby avoiding The link corresponding to the standard Ethernet protocol triggers the protection switching function. For example, the process of enabling the backup link between the communication device 2103 and the communication device 2104 shown in FIG. 6 is not mentioned here.
- the second type fault information when the fault information is transmitted from the standard Ethernet protocol network into the flexible Ethernet protocol network, the second type fault information may be generated according to the first type fault information, and the second type fault is transmitted in the flexible Ethernet protocol network. information.
- the first type of fault information may be generated according to the second type of fault information, and the first type of fault information may be transmitted in the standard Ethernet protocol network.
- the third fault information is obtained by using the second port, where the third fault information is the second type of fault information, and the fourth fault information is sent by the first port according to the third fault information.
- the fourth fault information is the first type of fault information.
- the second type of fault information can be transmitted inside the flexible Ethernet network, and the first type of fault information can be transmitted outside the Ethernet network flexibly, so that the link corresponding to the flexible Ethernet protocol can be distinguished according to the type of the fault information or the standard.
- the link corresponding to the Ethernet protocol has failed.
- the fault information in the embodiment of the present application is information for indicating that the link is faulty, and is a high-level name, and the fault information may include the first type of fault information and/or the second type of fault information.
- the fourth fault information is sent by using the first port according to the third fault information, including: generating fourth fault information corresponding to the third fault information according to the third fault information, and sending the fourth fault information by using the first port.
- the third fault information is a customer service type local fault information, and the fourth fault information corresponding to the third fault information is local fault information; the third fault information is a customer service type remote fault information, and the third fault information corresponds to the third fault information.
- the four fault information is the remote fault information.
- the generating the fourth fault information corresponding to the third fault information according to the third fault information may be newly generated fourth fault information, or may be obtained by removing the indication information in the third fault information, where the indication information is used.
- the indication information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty.
- the communications device sends the fourth fault information by using the first port according to the third fault information, including: if the obtained second type fault information meets the second preset condition, passing the first port according to the third fault information.
- the second preset code block that is not less than the second quantity threshold is obtained, and the interval between any two adjacent second preset code blocks obtained does not exceed the first
- the fourth fault information is sent under the condition of two preset code block intervals, and the communication device continuously detects the obtained number of second preset code blocks, and if it detects that the second pre-acquisition is not satisfied, the second pre-determination is not less than the second quantity threshold. If the code block is set and the interval between any two adjacent second preset code blocks does not exceed the second preset code block interval, the fourth fault information is stopped. In this way, erroneous operations caused by a small amount of fault information can be avoided, and the accuracy of the operation can be further improved.
- the second 66 bit block control block is the second preset code block
- the second preset code block interval is 128 code blocks
- the second number threshold is 4, when 4 second 66 are detected.
- a bit block (which may also be referred to as a second 66-bit block) control block, and the second 66 bit block control block may carry indication information indicating that a link corresponding to the standard Ethernet protocol is faulty.
- any two adjacent second 66 bit block control blocks are separated by no more than 128 code blocks, and the fourth fault information is sent through the first port according to the third fault information.
- the counter is recorded as the first code block, and if one is detected in the next 128 blocks, the counter is recorded as the second one.
- the event record is cleared (ie, the counter is cleared), and the second 66 bit block control block is re-started from 1 when the second 66 bit block control block is detected next time; In this way, four valid second 66 bit block control blocks are continuously accumulated, that is, when the counter reaches 4, it is considered that LF or RF information is obtained.
- the communication device continuously detects that the communication device sends the fourth fault information when the value of the counter is not less than 4, and stops transmitting the fourth fault information if the value of the counter is less than 4, that is, correspondingly, if not
- the condition "acquiring a second preset code block having a quantity not less than the second quantity threshold, and the interval between any two adjacent second preset code blocks is not more than the second preset code block interval", If the fault is cleared, the fourth fault information is no longer sent. For example, if the communication device does not detect the second 66 bit block control block in consecutive 128 code blocks, the fault is considered to be cleared.
- the communications device sends the fourth fault information by using the first port according to the third fault information, including: if the number of the third fault information obtained in the second preset duration is greater than the second threshold, The third fault information is sent through the first port.
- the third fault information may also be a second preset code block. That is, if the obtained second type of fault information meets the second preset condition, the fourth fault information is sent through the first port according to the third fault information; wherein the second preset condition includes: at the second preset The number of third fault information obtained within the duration is greater than the second threshold.
- the second type of failure information obtained in this case is the third failure information.
- the fourth fault information is sent under the condition that “the number of the third fault information obtained in the second preset duration is greater than the second threshold”, and the communication device continuously detects the obtained third fault information. If it is detected that the condition that the number of the third fault information obtained within the second preset duration is greater than the second number threshold is not satisfied, the fourth fault information is stopped.
- the second 66 bit block control block is the second preset code block
- the second quantity threshold is 4, and the duration used by the second preset code block for determining the second quantity threshold is not greater than the second.
- the preset time length for example, when the duration of the four consecutive 66 bit blocks is not greater than the second preset duration, the fourth fault information is sent.
- the communication device continuously detects the obtained second preset code block, and if the duration of the four consecutive 66 bit blocks is greater than the first preset duration, it is determined that “the second preset duration is satisfied”. The condition that the number of two fault information is greater than the second number threshold is stopped, and the fourth fault information is stopped.
- the method further includes: obtaining, by using the third port, the fifth fault information, where the third port is the second type of port, and the fifth fault information is the first type of fault information or the second type of fault.
- the first type of fault information and the second type of fault information can be transparently transmitted inside the flexible Ethernet network, so that the second type of fault information can be transmitted inside the flexible Ethernet network, and the first type of fault is transmitted outside the flexible Ethernet network.
- the information can be used to distinguish whether the link corresponding to the flexible Ethernet protocol is faulty or the link corresponding to the standard Ethernet protocol is faulty according to the type of the fault information.
- the third port and the fourth port are associated with each other, that is, the information obtained by the third port is transmitted through the fourth port, and the fourth port is obtained.
- the information is transmitted from the third port, and the third port is the second type port, and the fourth port is the second type port, and the third port and the fourth port can transparently obtain the first type of fault information or the second type.
- Type fault information may be the third port may be the second type port 2204 in the communication device 2103 in FIG. 4 to FIG. 6 described above, and the fourth port may be the second type port 2205 in the communication device 2103 in FIG. 4 to FIG.
- the second type of port 2204 and the second type of port 2205 can transparently transmit the obtained first type of fault information or the second type of fault information.
- the third port and the fourth port may also be two second type ports in the communication device 2102 in FIGS. 4 to 6 described above.
- the method further includes: obtaining, by using the sixth port, the seventh fault information, where the sixth port is the first type of port, the seventh fault information is the first type of fault information, and the seventh port is Sending a seventh fault information; wherein the seventh port is a first type of port. That is, if there is an association between the two types of ports, for example, there is an association between the sixth port and the seventh port, that is, the information obtained by the sixth port is transmitted through the seventh port, and the seventh port is obtained.
- the information is transmitted from the sixth port, and the sixth port is the first type port, the seventh port is the first type port, and the sixth port and the seventh port can transparently obtain the first type of fault information or the second type.
- Type fault information is, obtaining, by using the sixth port, the seventh fault information, where the sixth port is the first type of port, the seventh fault information is the first type of fault information, and the seventh port is Sending a seventh fault information; wherein the seventh port is a first type of port. That is, if there is
- the sixth port may be the first type port 3201 in the communication device 2102 in FIG. 4, and the seventh port may be the first type port 3202 in the communication device 2102 in FIG. 4, the first type port 3201 and the first port.
- a type 1 port 3202 can transparently obtain the first type of fault information or the second type of fault information.
- the first type of port 3201 and the first type of port 3202 are associated with each other.
- the first type of port 3201 can be connected to other communication devices.
- the first type of port, the second type of port 3202 can also be connected to the first type of port of the other communication device.
- FIG. 9 exemplarily shows the system structure based on FIG. 4 provided in the embodiment of the present application.
- a fault information transmission path diagram is shown in FIG. 9.
- a fault information processing module can be configured in the communication device, such as a first type port 2202, a first type port 3201, and a first type port 3202 in the communication device 2102.
- the fault information processing module is configured above the physical layer, and the fault information processing module is configured on the upper layer of the physical layer of the first type port 2207 in the communication device 2104.
- the physical layer of the first type port 2202 generates local fault information (belonging to the first type of fault information, Illustrated as LF), optionally, when the communication device 2102 obtains the first type of fault information through the first type of port 2202, for example, when the first preset condition is met, the customer service type local fault information is sent (belongs to The second type of fault information is schematically written as CSF in the figure.
- the fault information processing module can be used. When the fault information processing module receives the first type of fault information, for example, when the first preset condition is met, the fault information processing module sends the customer service type local fault information.
- the first preset condition is that “the number of the first type of fault information obtained in the first preset duration is greater than the first threshold” or “the first preset code block that is not less than the first threshold” is obtained. And the interval between any two adjacent first preset code blocks is not more than the first preset code block interval.
- the first preset code block whose number is not less than the first quantity threshold is obtained, and the interval between any two adjacent first preset code blocks is not more than the first preset code block interval
- the condition of the customer service type local fault information is sent, for example, a counter is set.
- the counter is incremented by 1
- the current counter value is 1
- the second first preset code block is received. If the interval between the first preset code block and the previous adjacent first preset code block is not greater than 128 code blocks, the counter is incremented by one; if the first preset code block is before The interval between an adjacent first predetermined code block is greater than 128 code blocks, and the counter is cleared.
- the preset first quantity threshold is 4, and when the counter is not less than 4, the customer service type local fault information is started to be sent.
- a customer service type local fault information may be sent by a certain number of code blocks. When the counter is less than 4, the customer service type local fault information is no longer sent.
- the customer service type local fault information generated by the first type port 2202 is transmitted along the second type port 2203, the second type port 2204, the second type port 2205, and the second type port 2206 (also referred to as transparent transmission) to Communication device 2104. Since the communication device needs to transmit the information transmitted by the second type port 2206 through the first type port 2207, the communication device 2104 can determine that the obtained customer service type local fault information satisfies the second according to the obtained customer service type local fault information. When the condition is preset, local fault information is generated and local fault information is transmitted through the first type of port 2207 to the third type of port 2208 of the communication device 2105.
- the fault information processing module in the communication device 2104 may generate local fault information according to the obtained customer service type local fault information.
- the communication device 2104 may no longer send the local fault information through the first type port 2207.
- the second preset condition may be: “the number of the second type of fault information obtained in the second preset duration is greater than the second threshold” or “the second preset block having the number not less than the second threshold” And the interval between any two adjacent second preset code blocks obtained does not exceed the second preset code block interval.
- the RS in the third type port 2208 may be sent a remote fault if it is determined that the obtained local fault information satisfies the condition first preset condition.
- the information may be that the remote fault information is continuously sent.
- the communication device 2105 determines that the obtained local fault information does not meet the first preset condition, the remote fault information is not sent.
- the first type port 2207 of the communication device 2104 determines that the obtained remote fault information satisfies the first preset condition, and the communication device 2104 generates the client service type remote fault information and passes the The second type of port 2206 is sent.
- the communication device 2105 determines that the obtained remote fault information does not satisfy the first preset condition, the communication device 2105 does not transmit the customer service type remote fault information.
- the client service type remote fault information sent by the communication device 2104 through the second type port 2206 is transparently transmitted to the communication device 2102 along the second type port 2205, the second type port 2204, and the second type port 2203. . Since the communication device 2102 needs to transmit the information obtained by the second type port 2203 through the first type port 2202, the communication device 2104 determines the obtained client service type far-end according to the case where the client service type remote failure information is obtained. The fault information satisfies the second preset condition, and the remote fault information is sent through the first type port 2202. Correspondingly, if it is determined that the obtained client service type remote fault information does not satisfy the second preset condition, the remote fault information is not sent through the first type port 2202.
- FIG. 9 another optional implementation manner is provided in the embodiment of the present application.
- the third type port 2201 of the communication device 2101 sends information to the chain of the first type port 2202. If the fault occurs, the physical layer of the first type of port 2202 generates local fault information.
- the communications device obtains the first type of fault information through the first port, and determines that the obtained first type fault information meets the first The preset condition sends a local fault information for the customer service type.
- the communication device 2102 obtains the first type of fault information through the first type port 2202 and does not satisfy the first preset condition, the fault clearing information may be sent.
- the customer service type local fault information sent by the first type port 2202 is transparently transmitted to the communication device 2104 along the second type port 2203, the second type port 2204, the second type port 2205, and the second type port 2206. Since the communication device 2104 needs to transmit the information transmitted by the second type port 2206 through the first type port 2207, the communication device 2104 determines that the obtained customer service type local fault information satisfies the second pre-acquisition according to the obtained customer service type local fault information. With the condition set, local fault information is generated and local fault information is transmitted through the first type of port 2207 to the third type of port 2208 of the communication device 2105.
- the fault information processing module in the communication device 2104 may generate local fault information according to the obtained customer service type local fault information.
- the fault clearing information may also be along the second type port 2203, the second type port 2204, the second type port 2205, and the second type port. 2206 is transparently transmitted to the communication device 2104, and the communication device 2104 stops transmitting the local failure information through the first type of port 2207 in the event that it is determined that the failure clearing information is received.
- the remote fault information is sent by the RS in the third type port 2208, if the obtained local fault information meets the first preset condition, It can be that the remote fault information is continuously sent.
- the communication device 2105 determines that the obtained local fault information does not meet the first preset condition, the remote fault information is not sent.
- the first type port 2207 of the communication device 2104 determines that the received remote fault information meets the first preset condition, and the communication device 2104 generates the client service type remote fault information. And sent through the second type of port 2206.
- the communication device 2105 determines that the received remote fault information does not satisfy the first preset condition, the remote fault information may not be sent or the fault clear information may be sent.
- the client service type remote fault information sent by the communication device 2104 through the second type port 2206 is transparently transmitted to the communication device 2102 along the second type port 2205, the second type port 2204, and the second type port 2203. . Since the communication device 2102 needs to transmit the information obtained by the second type port 2203 through the first type port 2202, the communication device 2104 determines the received type of customer service according to the remote failure information of the customer service type. The remote fault information meets the second preset condition, and the remote fault information is sent through the first type port 2202.
- the fault clearing information may also be transparently transmitted to the communication device 2102 along the second type port 2205, the second type port 2204, and the second type port 2203.
- the communication device 2102 stops transmitting the remote failure information or transmits the failure clear information to the third type port 2201 of the communication device 2101 in the case where it is determined that the failure clear information is received.
- the protection switching function is configured in the communication device 2104, if the link between the second type of ports fails, for example, the second type of port 2205 sends a link to the second type of port 2206.
- the second type of port 2206 in the communication device 2104 generates local fault information, and the communication device 2104 initiates a backup link corresponding to the second type of port 2206, such as starting the second type of port 2301 and the second type of port 2302 of FIG.
- a connection between the communication device 2103 and the communication device 2104 is implemented.
- the fault of the standard Ethernet protocol link and the fault of the flexible Ethernet protocol link can be distinguished, so that the fault negotiation mechanism under the standard Ethernet protocol is retained, and the protection can also be based on the protection.
- the switching function implements the self-healing function inside the flexible Ethernet protocol.
- the backup link corresponding to the second type port in FIG. 4 may include a link between the second type port 2301 and the second type port 2303 between the communication device 2103 and the communication device 2104.
- a link between the second type of port 3301 of the communication device 2102 and the second type of port 3302 of the communication device 2103 may be included, such as enabling association of the first type of port 2202 and the second type of port 3301 in the communication device 2102, enabling communication
- the association relationship between the second type port 3302 and the second type port 2301 in the device 2103 enables the association relationship between the second type port 2302 and the first type port 2207 in the communication device 2104.
- the alternate link included in the flexible Ethernet protocol can replace all the working links in the good Ethernet protocol, thereby ensuring the self-healing function inside the flexible Ethernet protocol.
- the first type port 2202 can be used in FIG. a link between the second type of port 3301, the second type of port 3302, the second type of port 2301, the second type of port 2302, and the first type of port 2207 "replaces" the first type of port 2202, the second type of port 2203, A link between the second type of port 2204, the second type of port 2205, the second type of port 2206, and the first type of port 2207.
- the sending the second type of fault information in the embodiment of the present application may be to send at least two second type fault information, where at least one of the at least two second type fault information is separated by at least one code block.
- the sending, by the second port, the second fault information according to the first fault information including: sending, according to the first fault information, the at least two second fault information by using the second port; wherein, at least one second fault information is included Any two second fault information are separated by at least one code block. In this way, the bandwidth of the transmission path of the link corresponding to the flexible Ethernet protocol can be saved.
- FIG. 10 exemplarily shows a schematic diagram of a 0x4B 66 bit block code block provided by an embodiment of the present application.
- a control block format of an 0x4B code block (English may be called a control block). Format) is 0 0 D 1 D 2 D 3 Z 4 Z 5 Z 6 Z 7 ; the sync header (also known as the synchronization header) is "10"; the block type area (English can be called block type field) is 0x4B
- the next three bytes are D1 byte, D2 byte and D3 byte, respectively.
- the O code area is after the D3 byte; the last 28 bits are 0x0000000.
- the 0x4B code block is the standard Ethernet IEEE 802.3-2015 standard.
- a class of control code blocks as defined in Figure 82-5.
- the fault clearing information in the above example may be an operation, maintenance, and maintenance (OAM) message block indicating the normal operation of the client.
- the OAM message block may also include error detection, fault detection, and delay measurement in the network. Mechanisms such as path discovery.
- the OAM message block of the fault clearing information can be carried on the 0x4B code block.
- FIG. 11 is a schematic diagram showing the fault clearing information based on the 0x4B code block shown in FIG. 10 provided by the embodiment of the present application.
- FIG. 12 is a schematic diagram showing local fault information based on the 0x4B code block shown in FIG. 10 according to an embodiment of the present application
- FIG. 13 exemplarily shows an embodiment based on FIG. 10 according to FIG. Schematic diagram of the remote fault information of the 0x4B code block.
- the sync header is "10”
- the block type area is 0x4B
- the D1 byte is 0x00
- the D2 byte is 0x00
- the D3 byte is 0x01
- the D code is O code.
- the area is 0x0; the last 28 bits are 0x0000000.
- the sync header is "10"
- the block type area is 0x4B
- the D1 byte is 0x00
- the D2 byte is 0x00
- the D3 byte is 0x02
- the D3 byte is O.
- the code area is 0x0; the last 28 bits are 0x0000000.
- the local fault information and the remote fault information are distinguished by the D3 byte.
- the second type of fault information in this embodiment of the present application may be carried by a 0x4B code block.
- the second type of fault information may be an OAM message block.
- FIG. 14 is a schematic diagram showing a second type of fault information based on the 0x4B code block shown in FIG. 10 according to an embodiment of the present application.
- the second type fault information carries a 0x4B control type “0x4B”.
- "0x6" of the O code area using D1, D2 bytes to carry a specific message block.
- the first six bits of the D1 byte are used as the OAM message type field, and the 0th to fifth bits in the D1 byte are "0b000001", which indicates that the 0x4B code block carries the second type of fault information.
- the second type of fault information can be called customer service information (Client Service, CS); the last 2 bits of D1 byte (6th to 7th bits of D1 byte) and the first two bits of D2 byte (D2 word)
- the 0th to the 1st bits of the section indicate the CSF, the RCSF, and the bearer service (such as an Ethernet service, which may be called an Ethernet service) under normal circumstances.
- the 6th to 7th bits of the D1 byte and the 0th to the 1st bits of the D2 byte are "1110"
- the 0th to 1st bits of the bit and the D2 byte are "1111”, indicating that the 0x4B code block carries the CSF; for example, the 6th to 7th bits of the D1 byte and the 0th to the 1st bit of the D2 byte are " 0100" indicates that the 0x4B code block carries normal service information (such as Ethernet service service information), and may also indicate fault clearing. That is, the 6th to 7th bits of the D1 byte and the 0th to 1st bits of the D2 byte are "0100", which may indicate that the 0x4B code block carries the fault clearing information.
- FIG. 15 is a schematic diagram showing a customer service type local fault information based on the 0x4B code block shown in FIG. 10 according to an embodiment of the present application
- FIG. 16 exemplarily shows a graph based on the embodiment of the present application.
- 10 is a schematic diagram of the remote service fault information of the customer service type of the 0x4B code block.
- the synchronization header is "10”
- the block type area is 0x4B
- the D1 byte is 0b00000111
- the D2 byte is 0b11000000
- the D3 byte is 0x06, after the D3 byte.
- the O code area is 0x6; the last 28 bits are 0x0000000.
- the sync header is "10"
- the block type area is 0x4B
- the D1 byte is 0b00000111
- the D2 byte is 0b10000000
- the D3 byte is 0x06, in the D3 byte.
- the O code area is 0x6; the last 28 bits are 0x0000000.
- the O-code area of the customer service type local failure information and the customer service type remote failure information is 0x6, and the local failure information and the remote failure information shown in FIG. 12 and FIG.
- the code area is 0x0.
- FIG. 17 is a schematic diagram of a communication device according to an embodiment of the present disclosure.
- the communication device 4101 may be a network device, or may be a chip or a circuit, such as A chip or circuit of a network device.
- the communication device can implement the steps performed by the communication device in any one or more of the corresponding methods as shown in Figures 7 and/or 8 above.
- the communication device 4101 can include a fault information processing module 4201 and at least two ports.
- the communication device 4101 can include a fault information processing module 4201 and at least one first type port and at least one second type port, such as a first port 4102 and a second port 4103.
- the communication device 4101 can include a fault information processing module 4201 and at least two first type ports, such as a sixth port 4107 and a seventh port 4108.
- the communication device 4101 can include a fault information processing module 4201 and at least two second type ports, such as a third port 4104 and a seventh port 4105.
- the first port to the seventh port are schematically illustrated in FIG. 17 .
- two ports of the same type may be the same port, for example, the fourth port 4105 and the fifth port 4106 may be the same port.
- two ports are drawn in the figure.
- the first port 4102 and the sixth port 4107 may be the same port, but in order to clearly describe the embodiment of the present application, two ports are drawn in the figure.
- two ports of different types may also be the same port.
- the sixth port 4107 and the third port 4104 may be the same port, and the port can support standard Ethernet protocol and flexible Ethernet protocol.
- the port can be called the sixth port 4107.
- the port currently uses the flexible Ethernet protocol to send and receive information
- the port can be called the third port 4104, but for clarity
- the embodiment of the present application is drawn as two ports in the figure.
- the first port in FIG. 7 above It may be the first port 4102 in the communication device 4101, and the second port in FIG. 7 above may be the second port 4103 in the communication device 4101.
- the first port in FIG. 8 above It may be the first port 4102 in the communication device 4101, and the second port in FIG. 8 above may be the second port 4103 in the communication device 4101.
- the communication device 4101 implements the steps performed by the communication device in the method corresponding to any one or more of the foregoing steps shown in FIG. 7 and FIG. 8, the first in FIG. 7 and FIG. 8 described above.
- the port may be the first port 4102 in the communication device 4101, and the second port in Figures 7 and 8 above may be the second port 4103 in the communication device 4101.
- the communication device 4101 implements the steps performed by the communication device in the method corresponding to any one or more of the foregoing steps shown in FIG. 7 and FIG. 8, the foregoing FIG. 7
- the first port of the communication device 4101 may be the first port 4102 of the communication device 4101, and the second port of FIG.
- the first type of port other than the first port 4102, the second port in FIG. 7 above may be a second type of port other than the second port 4103 in the communication device 4101.
- the first port 4102, the sixth port 4107, and the seventh port 4108 are first type ports, and the first type port is not configured with RS, the second port 4103, the third port 4104, the fourth port 4105, and the first port.
- the five ports 4106 are the second type of ports, and the second type of ports are not configured with the RS.
- the remaining related descriptions of the first type of port and the second type of port can participate in the foregoing, and are not described herein again.
- the fault information processing module 4201 in the embodiment of the present application may be distributed, and each port is correspondingly disposed. As shown in FIG. 2 above, it is integrated on each port.
- the fault information processing module 4201 includes the first type of port in FIG.
- the fault information processing module 4201 in the embodiment of the present application may be centralized, and each port shares one, that is, the fault information processing module 4201 can be independent and connected to each port.
- the fault information processing module may be disposed on one side of the first type of port or on one side of the second type of port, and only the illustration of one side of the first type of port is shown.
- the fault information processing module 4201 may be disposed on the physical port of each port if it is disposed on the side of the first type port; if it is disposed on the side of the second type port, it may be set above the physical layer of each port, or may be set to be flexible in each port. Above the network protocol layer.
- the communication device 4101 further includes a switching unit 4301.
- the switching unit 4301 may be the switching unit 1701 in FIG. 2, where the association relationship between the ports is stored, and the ports may be updated. Relationships and so on. For related introductions, refer to the foregoing description about the switching unit 1701, and details are not described herein again.
- the first port 4102 and the second port 4103 are associated with each other, and the sixth port 4107 and the seventh port 4108 are associated with each other, and the third port 4104 and the fourth port are connected to each other. There is an association between ports 4105.
- association relationship between the ports may be pre-configured, and the association relationship may be updated, for example, according to a new association relationship input by the user, or updated according to internal self-healing mechanism policies (such as the foregoing content).
- the update of the association relationship caused by enabling the alternate link) and so on.
- the first port 4102 in the embodiment of the present application is configured to obtain the first fault information, for example, may receive the first fault information sent by another port or be generated by the physical layer of the first port 4102.
- the type port transmits information according to a standard Ethernet protocol; the first fault information is a first type of fault information, the first type of fault information includes at least one of local fault information and remote fault information; and the second port 4103 is a second type of port.
- the second type of port transmits information according to the flexible Ethernet protocol; the second type of fault information is the second type of fault information, and the second type of fault information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty.
- the first fault information is obtained by using the first port, and the second fault information is sent by the second port according to the first fault information, where the first port is a first type port, and the first type port is according to a standard Ethernet.
- the protocol transmits information
- the first fault information is the first type of fault information
- the second port is the second type of port
- the second type of port transmits information according to the flexible Ethernet protocol
- the first type of fault information includes the local fault information and the remote end.
- At least one of the fault information, the second fault information is a second type of fault information, and the second type of fault information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty, so the method for transmitting the second fault information may be
- the fault is reported in the joint networking of the standard Ethernet protocol and the flexible Ethernet protocol. It can also lay the foundation for distinguishing between the link failure corresponding to the flexible Ethernet protocol and the link failure of the standard Ethernet protocol.
- the fault information processing module 4201 is configured to generate second fault information according to the first fault information, if the obtained first type fault information meets the first preset condition, where the first preset The condition includes: obtaining, by the first preset duration, a quantity of the first type of fault information that is greater than the first quantity threshold; or obtaining a first preset code block that is not less than the first quantity threshold, and obtaining any two The interval between adjacent first preset code blocks does not exceed the first preset code block interval. In this way, erroneous operations caused by a small amount of fault information can be avoided, and the accuracy of the operation can be further improved.
- the embodiment of the present application further provides a communication device.
- the second port 4103 in the communication device is configured to obtain third fault information.
- the second type of fault information; the fault information processing module 4201 is further configured to generate fourth fault information according to the third fault information; wherein the fourth fault information is the first type of fault information; the first port 4102 is further configured to send The fourth fault information.
- the first port is a first type port, the first type port transmits information according to a standard Ethernet protocol, the second port is a second type port, and the second type port transmits information according to a flexible Ethernet protocol.
- the first type of fault information includes at least one of local fault information and remote fault information, and the second type of fault information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty.
- the third fault information is obtained by using the second port, and the fourth fault information is sent by using the first port according to the third fault information, where the first type fault information includes at least one of local fault information and remote fault information.
- the second type of fault information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty. Therefore, by transmitting the second fault information, the fault can be reported in the standard Ethernet protocol and the flexible Ethernet protocol joint network. It can lay a foundation for distinguishing between the link failure corresponding to the flexible Ethernet protocol and the link failure of the standard Ethernet protocol; the third can also be compatible with the scheme of notifying the fault through the first type of fault information transmission in the standard Ethernet protocol network.
- the fault information processing module 4201 is configured to generate fourth fault information according to the third fault information, if the obtained second type fault information meets the second preset condition, where the second preset The condition includes that the number of third fault information obtained within the second preset duration is greater than the second threshold; or; obtaining a second preset code block having a quantity not less than the second number threshold, and obtaining any two adjacent The interval between the second preset code blocks does not exceed the second preset code block interval. In this way, erroneous operations caused by a small amount of fault information can be avoided, and the accuracy of the operation can be further improved.
- the communication device 4101 may further have other possible implementations in the embodiment in which the communication method shown in FIG. 7 and/or FIG. 8 described above is performed.
- the following describes the communication device 4101 performing the above-described FIG. 7 and/or FIG. Other alternative embodiments of the communication method shown in FIG.
- the communication device 4101 further includes a third port 4104, configured to obtain a fifth fault information, where the third port 4104 is a second type of port, and the fifth fault information is a first type of fault information or a
- the second type of fault information includes a fourth port 4105 for transmitting the fifth fault information, wherein the fourth port 4105 is a second type of port.
- the first type of fault information and the second type of fault information can be transparently transmitted inside the flexible Ethernet network, so that the second type of fault information can be transmitted inside the flexible Ethernet network, and the first type of fault is transmitted outside the flexible Ethernet network.
- the information can be used to distinguish whether the link corresponding to the flexible Ethernet protocol is faulty or the link corresponding to the standard Ethernet protocol is faulty according to the type of the fault information.
- the communication device 4101 further includes a fifth port 4106, configured to obtain a sixth fault information, wherein the fifth port 4106 is a second type of port, and the sixth fault information is a first type of fault information;
- the five port 4106 configures the standby link; the alternate link corresponding to the fifth port 4106 is enabled.
- the link corresponding to the standard Ethernet protocol is faulty and the link corresponding to the flexible Ethernet protocol is faulty is distinguished by using the first type of fault information and the second type of fault information, thereby avoiding
- the link corresponding to the standard Ethernet protocol triggers the protection switching function.
- the protection switching function can be triggered based on the fault information inside the flexible Ethernet protocol network.
- the second port 4103 is configured to send at least two second fault information; wherein, at least one of the at least one second fault information is separated by at least one code block.
- the transmission frequency of the second fault information can be flexibly set. For example, if the transmission frequency of the second fault information is set to be smaller than the transmission frequency of the first fault information, the bandwidth of the transmission path of the link corresponding to the flexible Ethernet protocol can be saved.
- the first fault information is the remote fault information
- the second fault information is the customer service type remote fault information
- the remote fault information is continuous transmission, occupying a large bandwidth, and setting a certain number of code blocks to send one. Customer service type remote fault information can save bandwidth.
- the division of the unit in the embodiment of the present application is schematic, and is only a logical function division. In actual implementation, there may be another division manner.
- the functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- FIG. 18 is a schematic diagram of a communication device according to an embodiment of the present disclosure.
- the communication device 5300 may be a network device, or may be a chip or a circuit, such as A chip or circuit of a network device.
- the communication device can implement the steps performed by the communication device in any one or more of the corresponding methods as shown in Figures 7 and/or 8 above.
- the communication device 4101 can include a processor 5301, a transceiver 5302, a memory 5303, and a communication interface 5304; wherein the processor 5301, the transceiver 5302, the memory 5303, and the communication interface 5304 are connected to one another via a bus 5305.
- the bus 5305 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus.
- PCI peripheral component interconnect
- EISA extended industry standard architecture
- the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 18, but it does not mean that there is only one bus or one type of bus.
- the memory 5303 may include a volatile memory such as a random-access memory (RAM); the memory may also include a non-volatile memory such as a flash memory.
- RAM random-access memory
- non-volatile memory such as a flash memory.
- HDD hard disk drive
- SSD solid-state drive
- the memory 5303 may also include a combination of the above types of memories.
- the communication interface 5304 can be a wired communication access port, a wireless communication interface, or a combination thereof, wherein the wired communication interface can be, for example, an Ethernet interface.
- the Ethernet interface can be an optical interface, an electrical interface, or a combination thereof.
- the wireless communication interface can be a WLAN interface.
- the communication interface 5304 may be each of the above ports, such as a first type of port and a second type of port, such as the first port 4102, the second port 4103, the third port 4104, the fourth port 4105, and the fifth port 4106 in FIG.
- the processor 5301 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP.
- the processor 5301 may further include a hardware chip.
- the hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof.
- the PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general array logic (GAL), or any combination thereof.
- the memory 5303 can also be used to store program instructions
- the processor 5301 calls the program instructions stored in the memory 5303, can control the transceiver 5302 to perform signal reception and signal transmission, and can execute the embodiment in the embodiment shown in the foregoing solution.
- One or more steps, or alternative embodiments thereof, cause communication device 5300 to implement the functionality of the communication device in the above method.
- the processor is configured to obtain the first fault information by using the first port, and control the transceiver to send the second fault information by using the second port according to the first fault information, where the transceiver is configured to send the second through the second port.
- the first port is a first type of port, and the first type of port transmits information according to a standard Ethernet protocol; the first fault information is a first type of fault information, and the first type of fault information includes a local fault information and a remote fault.
- the second port is a second type of port, the second type of port transmits information according to a flexible Ethernet protocol;
- the second type of fault information is a second type of fault information, and the second type of fault information is used to indicate a standard type of Ethernet The link corresponding to the protocol has failed.
- the first fault information is obtained by using the first port, and the second fault information is sent by the second port according to the first fault information, where the first port is a first type port, and the first type port is according to a standard Ethernet.
- the protocol transmits information
- the first fault information is the first type of fault information
- the second port is the second type of port
- the second type of port transmits information according to the flexible Ethernet protocol
- the first type of fault information includes the local fault information and the remote end.
- At least one of the fault information, the second fault information is a second type of fault information, and the second type of fault information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty, so the method for transmitting the second fault information may be
- the fault is reported in the joint networking of the standard Ethernet protocol and the flexible Ethernet protocol. It can also lay the foundation for distinguishing between the link failure corresponding to the flexible Ethernet protocol and the link failure of the standard Ethernet protocol.
- the processor is configured to: when the first type of fault information obtained meets the first preset condition, send the second fault information by using the second port according to the first fault information;
- the first preset condition includes: obtaining, by the first preset duration, a quantity of the first type of fault information that is greater than the first quantity threshold; or obtaining a first preset code block that is not less than the first quantity threshold, and obtaining The interval between any two adjacent first preset code blocks does not exceed the first preset code block interval.
- the embodiment of the present application further provides a communications device.
- the processor in the communications device is further configured to obtain third fault information by using the second port.
- the fault information is the second type of fault information.
- the third fault information is sent by the control transceiver according to the third fault information.
- the fourth fault information is the first type of fault information.
- the first port is a first type port, the first type port transmits information according to a standard Ethernet protocol, the second port is a second type port, and the second type port transmits information according to a flexible Ethernet protocol.
- the first type of fault information includes at least one of local fault information and remote fault information, and the second type of fault information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty.
- the third fault information is obtained by using the second port, and the fourth fault information is sent by using the first port according to the third fault information, where the first type fault information includes at least one of local fault information and remote fault information.
- the second type of fault information is used to indicate that the link corresponding to the standard Ethernet protocol is faulty. Therefore, by transmitting the second fault information, the fault can be reported in the standard Ethernet protocol and the flexible Ethernet protocol joint network. It can lay a foundation for distinguishing between the link failure corresponding to the flexible Ethernet protocol and the link failure of the standard Ethernet protocol; the third can also be compatible with the scheme of notifying the fault through the first type of fault information transmission in the standard Ethernet protocol network.
- the processor is configured to: when the second type of fault information obtained meets the second preset condition, send the fourth fault information by using the first port according to the third fault information;
- the second preset condition includes: the number of the third fault information obtained in the second preset duration is greater than the second threshold; or; obtaining the second preset code that is not less than the second threshold, and obtained The interval between any two adjacent second preset code blocks does not exceed the second preset code block interval.
- the communication device 5300 may further have other possible implementations in the embodiment in which the communication method shown in FIG. 7 and/or FIG. 8 described above is performed.
- the following describes the communication device 5300 performing the above-described FIG. 7 and/or FIG. Other alternative embodiments of the communication method shown in FIG.
- the processor is further configured to obtain the fifth fault information by using the third port, where the third port is the second type of port, and the fifth fault information is the first type of fault information or the second type of fault.
- the transceiver is further configured to send the fifth fault information by using the fourth port; wherein the fourth port is the second type of port.
- the processor is further configured to obtain the sixth fault information by using the fifth port, where the fifth port is the second type of port, the sixth fault information is the first type of fault information, and the fifth port is configured. Alternate link; enable the alternate link corresponding to the fifth port.
- the processor is configured to: according to the first fault information, control the transceiver to send at least two second fault information through the second port; wherein any two of the at least one second fault information are second The fault information is separated by at least one code block.
- FIG. 19 is a schematic diagram of a communication device according to an embodiment of the present disclosure.
- the communication device 6101 may be a communication device in the foregoing content, and may be, for example, the one in FIG.
- the communication device 5300 may be the communication device 4101 in FIG. 17 described above, or may be the children's shoe device 1301 in FIG. 2 and FIG. 3 described above, or may be the communication device in FIG. 2 to FIG. 6 and FIG.
- Communication device 6101 may also be referred to as a packet bearer device.
- the communication device 6101 provided by the embodiment of the present application can be landed on a network device supporting 1.5 layer switching, and the communication device (or network device) product form includes a network protocol-based radio connection supporting a port of a flexible Ethernet protocol.
- IPRAN Internet Protocol Radio Access Network
- PTN Packet Transport Network box or box switch equipment.
- the solution for landing products in the embodiment of the present application may be implemented by adding an FPGA between an existing second type port (also referred to as a FlexE port) chip and a PHY chip of a standard Ethernet protocol port, such as adding the FPGA implementation.
- the solution executed by the fault information processing module may be implemented in a chip of a second type (also referred to as a FlexE port), such as implementing the solution executed by the fault information processing module in the chip, thereby implementing the 66 bit.
- a chip of a second type also referred to as a FlexE port
- the communication device 6101 may include a main control switch board 6104, an interface board 6102, and an interface board 6103.
- the main control switch board 6104 may be an exchange unit in the above content, such as the exchange unit 4301 in FIG. 17 and the exchange unit 1701 in FIG.
- the switching unit or the main control switch board is not shown in other figures, but each port is connected through a main control switch board or a switching unit.
- the main control switchboard 6104 includes a network processor (NP) or a switch fabric chip 6203.
- the network processor (NP) or the switch fabric chip 6203 may be part of the processor 5301 in FIG. 18 described above.
- the interface board 6102 can be a user side interface board, and can include a user side interface chip 6201.
- the user-side interface chip 6201 may be the first type of port, for example, the first port 4102 in FIG. 17 or the first type port 2202 in FIG.
- the user side interface chip 6201 is connected to the main control switch board 6104 through an interface.
- the fault information processing module 6105 may be integrated in the user side interface chip 6201, and the fault information processing module 6105 may be distributed, for example, one integrated on each user side interface chip, or may be centralized, such as multiple One of the user side interface chips is shared.
- the fault information processing module 6105 may be the fault information processing module 4201 in FIG. 17 described above, or may be at least one of the fault information processing module 1601, the fault information processing module 1602, and the fault information processing module 1603 in FIG.
- the interface board 6103 can be a network side interface board, and can include a network side interface chip 6202.
- the network side interface chip 6202 may be the second type port described above, and may be, for example, the second port 4103 in FIG. 17 or the first type port 2205 in FIG.
- the network side interface chip 6202 is connected to the main control switch board 6104 through an interface.
- each step of the above method may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software.
- the steps of the method disclosed in the embodiments of the present application may be directly implemented by the hardware processor, or may be performed by a combination of hardware and software modules in the processor.
- the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
- the storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.
- the size of the serial numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
- the implementation process constitutes any limitation.
- the disclosed systems, devices, and methods may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of cells is only a logical function division.
- multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- a computer program product includes one or more computer instructions.
- the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
- the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, computer instructions can be wired from a website site, computer, server or data center (eg Coax, fiber, digital subscriber line (DSL) or wireless (eg, infrared, wireless, microwave, etc.) is transmitted to another website, computer, server, or data center.
- the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
- Useful media can be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
- Communication Control (AREA)
Abstract
Description
Claims (23)
- 一种通信方法,其特征在于,包括:通过第一端口获得第一故障信息;其中,所述第一端口为第一类型端口,所述第一类型端口根据标准以太网协议传输信息;所述第一故障信息为第一类型故障信息,所述第一类型故障信息包括本地故障信息和远端故障信息中的至少一项;根据所述第一故障信息,通过第二端口发送第二故障信息;其中,所述第二端口为第二类型端口,所述第二类型端口根据灵活以太网协议传输信息;所述第二故障信息为第二类型故障信息,所述第二类型故障信息用于指示标准以太网协议对应的链路发生故障。
- 如权利要求1所述的方法,其特征在于,所述根据所述第一故障信息,通过第二端口发送第二故障信息,包括:若获得的所述第一类型故障信息满足第一预设条件,则根据所述第一故障信息,通过所述第二端口发送第二故障信息;其中,所述第一预设条件包括:在第一预设时长内获得的所述第一类型故障信息的数量大于第一数量阈值;或者;获得数量不少于所述第一数量阈值的第一预设码块,且获得的任两个相邻的所述第一预设码块之间间隔不超过第一预设码块间隔。
- 如权利要求1或2所述的方法,其特征在于,所述方法还包括:通过所述第二端口获得第三故障信息;其中,所述第三故障信息为所述第二类型故障信息;根据所述第三故障信息,通过所述第一端口发送第四故障信息;其中,所述第四故障信息为所述第一类型故障信息。
- 如权利要求3所述的方法,其特征在于,所述根据所述第三故障信息,通过所述第一端口发送第四故障信息,包括:若获得的所述第二类型故障信息满足第二预设条件,则根据所述第三故障信息,通过所述第一端口发送第四故障信息;其中,所述第二预设条件包括:在第二预设时长内获得的所述第三故障信息的数量大于第二数量阈值;或者;获得数量不少于所述第二数量阈值的第二预设码块,且获得的任两个相邻的第二预设码块之间间隔不超过第二预设码块间隔。
- 如权利要求3或4所述的方法,其特征在于,所述方法还包括:通过第三端口获得第五故障信息;其中,所述第三端口为所述第二类型端口,所述第五故障信息为所述第一类型故障信息或者所述第二类型故障信息;通过第四端口发送所述第五故障信息;其中,所述第四端口为所述第二类型端口。
- 如权利要求1至4任一权利要求所述的方法,其特征在于,所述方法还包括:通过第五端口获得第六故障信息;其中,所述第五端口为所述第二类型端口,所述第六故障信息为所述第一类型故障信息;所述第五端口配置备用链路;启用所述第五端口对应的所述备用链路。
- 如权利要求1至6任一权利要求所述的方法,其特征在于,所述根据所述第一故障信息,通过第二端口发送第二故障信息,包括:根据所述第一故障信息,通过第二端口发送至少两个第二故障信息;其中,所述至少两个第二故障信息中的任两个第二故障信息之间间隔至少一个码块。
- 一种通信设备,其特征在于,包括处理器和收发器;其中:所述处理器用于通过第一端口获得第一故障信息,并根据所述第一故障信息,控制所述收发器通过第二端口发送第二故障信息;所述收发器,用于通过第二端口发送第二故障信息;其中,所述第一端口为第一类型端口,所述第一类型端口根据标准以太网协议传输信息;所述第一故障信息为第一类型故障信息,所述第一类型故障信息包括本地故障信息和远端故障信息中的至少一项;所述第二端口为第二类型端口,所述第二类型端口根据灵活以太网协议传输信息;所述第二故障信息为第二类型故障信息,所述第二类型故障信息用于指示标准以太网协议对应的链路发生故障。
- 如权利要求8所述的通信设备,其特征在于,所述处理器,用于:若获得的所述第一类型故障信息满足第一预设条件,则根据所述第一故障信息,控制所述收发器通过所述第二端口发送第二故障信息;其中,所述第一预设条件包括:在第一预设时长内获得的所述第一类型故障信息的数量大于第一数量阈值;或者;获得数量不少于所述第一数量阈值的第一预设码块,且获得的任两个相邻的所述第一预设码块之间间隔不超过第一预设码块间隔。
- 如权利要求8或9所述的通信设备,其特征在于,所述处理器,还用于:通过所述第二端口获得第三故障信息;其中,所述第三故障信息为所述第二类型故障信息;根据所述第三故障信息,控制所述收发器通过所述第一端口发送第四故障信息;其中,所述第四故障信息为所述第一类型故障信息。
- 如权利要求10所述的通信设备,其特征在于,所述处理器,用于:若获得的所述第二类型故障信息满足第二预设条件,则根据所述第三故障信息,控制所述收发器通过所述第一端口发送第四故障信息;其中,所述第二预设条件包括:在第二预设时长内获得的所述第三故障信息的数量大于第二数量阈值;或者;获得数量不少于所述第二数量阈值的第二预设码块,且获得的任两个相邻的第二预设码块之间间隔不超过第二预设码块间隔。
- 如权利要求10或11所述的通信设备,其特征在于,所述处理器,还用于:通过第三端口获得第五故障信息;其中,所述第三端口为所述第二类型端口,所述第五故障信息为所述第一类型故障信息或者所述第二类型故障信息;所述收发器,还用于:通过第四端口发送所述第五故障信息;其中,所述第四端口为所述第二类型端口。
- 如权利要求8至11任一权利要求所述的通信设备,其特征在于,所述处理器,还用于:通过第五端口获得第六故障信息;其中,所述第五端口为所述第二类型端口,所述第六故障信息为所述第一类型故障信息;所述第五端口配置备用链路;启用所述第五端口对应的所述备用链路。
- 如权利要求8至13任一权利要求所述的通信设备,其特征在于,所述处理器,用于:根据所述第一故障信息,控制所述收发器通过第二端口发送至少两个第二故障信息;其中,所述至少两个第二故障信息中的任两个第二故障信息之间间隔至少一个码块。
- 一种通信设备,其特征在于,包括:第一端口,用于获得第一故障信息;故障信息处理模块,根据所述第一故障信息,生成第二故障信息;第二端口,用于发送第二故障信息;其中,所述第一端口为第一类型端口,所述第一类型端口根据标准以太网协议传输信息;所述第一故障信息为第一类型故障信息,所述第一类型故障信息包括本地故障信息和远端故障信息中的至少一项;所述第二端口为第二类型端口,所述第二类型端口根据灵活以太网协议传输信息;所述第二故障信息为第二类型故障信息,所述第二类型故障信息用于指示标准以太网协议对应的链路发生故障。
- 如权利要求15所述的通信设备,其特征在于,所述故障信息处理模块,用于:若获得的所述第一类型故障信息满足第一预设条件,则根据所述第一故障信息,生成第二故障信息;其中,所述第一预设条件包括:在第一预设时长内获得的所述第一类型故障信息的数量大于第一数量阈值;或者;获得数量不少于所述第一数量阈值的第一预设码块,且获得的任两个相邻的所述第一预设码块之间间隔不超过第一预设码块间隔。
- 如权利要求15或16所述的通信设备,其特征在于,所述第二端口,还用于:获得第三故障信息;其中,所述第三故障信息为所述第二类型故障信息;所述故障信息处理模块,还用于:根据所述第三故障信息,生成第四故障信息;其中,所述第四故障信息为所述第一类型故障信息;所述第一端口,还用于:发送第四故障信息。
- 如权利要求17所述的通信设备,其特征在于,所述故障信息处理模块,用于:若获得的所述第二类型故障信息满足第二预设条件,则根据所述第三故障信息,生成第四故障信息;其中,所述第二预设条件包括:在第二预设时长内获得的所述第三故障信息的数量大于第二数量阈值;或者;获得数量不少于所述第二数量阈值的第二预设码块,且获得的任两个相邻的第二预设码块之间间隔不超过第二预设码块间隔。
- 如权利要求17或18所述的通信设备,其特征在于,还包括第三端口,用于:获得第五故障信息;其中,所述第三端口为所述第二类型端口,所述第五故障信息为所述第一类型故障信息或者所述第二类型故障信息;还包括第四端口,用于:发送所述第五故障信息;其中,所述第四端口为所述第二类型端口。
- 如权利要求15至18任一权利要求所述的通信设备,其特征在于,还包括第五端 口,用于:获得第六故障信息;其中,所述第五端口为所述第二类型端口,所述第六故障信息为所述第一类型故障信息;所述第五端口配置备用链路;启用所述第五端口对应的所述备用链路。
- 如权利要求15至20任一权利要求所述的通信设备,其特征在于,所述第二端口,用于:发送至少两个第二故障信息;其中,所述至少两个第二故障信息中的任两个第二故障信息之间间隔至少一个码块。
- 一种计算机存储介质,其特征在于,所述计算机存储介质存储有计算机可执行指令,所述计算机可执行指令在被计算机调用时,使所述计算机执行如权利要求1至7任一权利要求所述的方法。
- 一种包含指令的计算机程序产品,其特征在于,当其在计算机上运行时,使得所述计算机执行权利要求1至7任一权利要求所述的方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP18843735.4A EP3661125B1 (en) | 2017-08-09 | 2018-06-26 | Communication method and device and storage medium |
KR1020207006748A KR102364803B1 (ko) | 2017-08-09 | 2018-06-26 | 통신 방법, 통신 장치 및 저장 매체 |
JP2020507659A JP7026776B2 (ja) | 2017-08-09 | 2018-06-26 | 通信方法、通信デバイス、および記憶媒体 |
US16/784,741 US11296924B2 (en) | 2017-08-09 | 2020-02-07 | Communication method, communications device, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710677029.7A CN109391494B (zh) | 2017-08-09 | 2017-08-09 | 一种通信方法、设备及可读存储介质 |
CN201710677029.7 | 2017-08-09 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/784,741 Continuation US11296924B2 (en) | 2017-08-09 | 2020-02-07 | Communication method, communications device, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019029286A1 true WO2019029286A1 (zh) | 2019-02-14 |
Family
ID=65272876
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/092947 WO2019029286A1 (zh) | 2017-08-09 | 2018-06-26 | 一种通信方法、设备及存储介质 |
Country Status (6)
Country | Link |
---|---|
US (1) | US11296924B2 (zh) |
EP (1) | EP3661125B1 (zh) |
JP (1) | JP7026776B2 (zh) |
KR (1) | KR102364803B1 (zh) |
CN (2) | CN109391494B (zh) |
WO (1) | WO2019029286A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2022520281A (ja) * | 2019-02-19 | 2022-03-29 | 華為技術有限公司 | フレキシブルイーサネット通信方法及びネットワーク装置 |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109962807B (zh) * | 2017-12-26 | 2022-04-26 | 华为技术有限公司 | 一种灵活以太网中故障指示方法以及装置 |
CN112448755A (zh) * | 2019-08-30 | 2021-03-05 | 中兴通讯股份有限公司 | 一种光通道1+1保护的实现方法、装置和设备 |
CN112532522B (zh) * | 2019-09-19 | 2023-09-05 | 中兴通讯股份有限公司 | 一种业务路径的建立方法、装置、电子设备 |
CN113037578B (zh) * | 2019-12-09 | 2022-10-04 | 中盈优创资讯科技有限公司 | 设备捆绑口故障告警方法及装置 |
US11258752B2 (en) * | 2020-04-13 | 2022-02-22 | Texas Instruments Incorporated | Address resolution information acquisition (ARIA) for a computing device |
CN114384878B (zh) * | 2021-12-31 | 2024-09-10 | 江苏核电有限公司 | 一种dcs系统网络故障后果的缓解方法 |
US20240333552A1 (en) * | 2022-09-16 | 2024-10-03 | Siliconally Gmbh | Ethernet device with safety features at the physical layer and method for a bi-directional data transfer between two ethernet devices |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101351056A (zh) * | 2008-09-05 | 2009-01-21 | 华为技术有限公司 | 一种故障信息传输的方法和装置 |
US20170005949A1 (en) * | 2015-06-30 | 2017-01-05 | Ciena Corporation | Flexible ethernet client multi-service and timing transparency systems and methods |
CN106612220A (zh) * | 2015-10-27 | 2017-05-03 | 中兴通讯股份有限公司 | 灵活以太网的通道管理方法和装置 |
CN106911426A (zh) * | 2017-02-16 | 2017-06-30 | 华为技术有限公司 | 一种灵活以太网中传输数据的方法及设备 |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4096183B2 (ja) | 2003-02-27 | 2008-06-04 | 日本電気株式会社 | 警報転送方法及び広域イーサネット網 |
US7213178B1 (en) * | 2003-05-30 | 2007-05-01 | Cisco Technology, Inc. | Method and system for transporting faults across a network |
JP4786571B2 (ja) | 2007-03-02 | 2011-10-05 | 富士通テレコムネットワークス株式会社 | データ伝送システム |
US8804534B2 (en) * | 2007-05-19 | 2014-08-12 | Cisco Technology, Inc. | Interworking between MPLS/IP and Ethernet OAM mechanisms |
CN101998191A (zh) * | 2009-08-27 | 2011-03-30 | 华为技术有限公司 | 汇聚节点联动切换方法及汇聚节点和系统 |
JP5553029B2 (ja) | 2011-01-11 | 2014-07-16 | 富士通株式会社 | 伝送装置及び障害の通知方法 |
JP5743809B2 (ja) * | 2011-08-26 | 2015-07-01 | 株式会社日立製作所 | 網管理システムおよび網管理方法 |
US9313093B2 (en) * | 2012-11-14 | 2016-04-12 | Ciena Corporation | Ethernet fault management systems and methods |
CA2925818A1 (en) * | 2013-09-26 | 2015-04-02 | Five3 Genomics, Llc | Systems, methods, and compositions for viral-associated tumors |
US9838290B2 (en) * | 2015-06-30 | 2017-12-05 | Ciena Corporation | Flexible ethernet operations, administration, and maintenance systems and methods |
CN106982105B (zh) * | 2016-01-15 | 2020-03-31 | 华为技术有限公司 | 处理弹性以太网信号的方法和装置 |
US9832548B2 (en) * | 2016-01-29 | 2017-11-28 | Ciena Corporation | Flexible behavior modification during restoration in optical networks |
-
2017
- 2017-08-09 CN CN201710677029.7A patent/CN109391494B/zh active Active
- 2017-08-09 CN CN202110182102.XA patent/CN113037540A/zh active Pending
-
2018
- 2018-06-26 EP EP18843735.4A patent/EP3661125B1/en active Active
- 2018-06-26 JP JP2020507659A patent/JP7026776B2/ja active Active
- 2018-06-26 WO PCT/CN2018/092947 patent/WO2019029286A1/zh unknown
- 2018-06-26 KR KR1020207006748A patent/KR102364803B1/ko active IP Right Grant
-
2020
- 2020-02-07 US US16/784,741 patent/US11296924B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101351056A (zh) * | 2008-09-05 | 2009-01-21 | 华为技术有限公司 | 一种故障信息传输的方法和装置 |
US20170005949A1 (en) * | 2015-06-30 | 2017-01-05 | Ciena Corporation | Flexible ethernet client multi-service and timing transparency systems and methods |
CN106612220A (zh) * | 2015-10-27 | 2017-05-03 | 中兴通讯股份有限公司 | 灵活以太网的通道管理方法和装置 |
CN106911426A (zh) * | 2017-02-16 | 2017-06-30 | 华为技术有限公司 | 一种灵活以太网中传输数据的方法及设备 |
Non-Patent Citations (2)
Title |
---|
IEEE: "IEEE Standard for Ethernet", IEEE STD 802.3-2015, 31 December 2015 (2015-12-31), XP055672908 * |
See also references of EP3661125A4 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2022520281A (ja) * | 2019-02-19 | 2022-03-29 | 華為技術有限公司 | フレキシブルイーサネット通信方法及びネットワーク装置 |
JP7282187B2 (ja) | 2019-02-19 | 2023-05-26 | 華為技術有限公司 | フレキシブルイーサネット通信方法及びネットワーク装置 |
US11792067B2 (en) | 2019-02-19 | 2023-10-17 | Huawei Technologies Co., Ltd. | Flexible ethernet communication method and network device |
Also Published As
Publication number | Publication date |
---|---|
KR20200037368A (ko) | 2020-04-08 |
JP2020530964A (ja) | 2020-10-29 |
CN109391494B (zh) | 2021-02-09 |
CN113037540A (zh) | 2021-06-25 |
JP7026776B2 (ja) | 2022-02-28 |
EP3661125A4 (en) | 2020-07-29 |
EP3661125B1 (en) | 2022-04-06 |
CN109391494A (zh) | 2019-02-26 |
KR102364803B1 (ko) | 2022-02-17 |
EP3661125A1 (en) | 2020-06-03 |
US20200177442A1 (en) | 2020-06-04 |
US11296924B2 (en) | 2022-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019029286A1 (zh) | 一种通信方法、设备及存储介质 | |
US10623293B2 (en) | Systems and methods for dynamic operations, administration, and management | |
KR102342286B1 (ko) | Dcn 메시지 처리 방법, 네트워크 디바이스, 및 네트워크 시스템 | |
US11134029B2 (en) | Communication method, communications device, and storage medium | |
US7394758B2 (en) | Method for supporting SDH/SONET APS on Ethernet | |
WO2020168898A1 (zh) | 一种灵活以太网通信方法及网络设备 | |
US20210273826A1 (en) | Communication method and communications apparatus | |
US20150172173A1 (en) | Communication system, communication apparatus and path switching method | |
US20210385127A1 (en) | Flexible ethernet communication method and network device | |
WO2022121638A1 (zh) | 一种报文处理方法及装置 | |
US11804982B2 (en) | Communication method and apparatus | |
WO2023071249A1 (zh) | 一种时隙协商方法及装置 | |
US11290578B2 (en) | Encapsulating and exchanging bytes in a telecommunication system |
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: 18843735 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2020507659 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2018843735 Country of ref document: EP Effective date: 20200228 Ref document number: 20207006748 Country of ref document: KR Kind code of ref document: A |