WO2016045302A1 - Inward-facing connectivity fault management packet processing method and system, and network data exchange device - Google Patents

Inward-facing connectivity fault management packet processing method and system, and network data exchange device Download PDF

Info

Publication number
WO2016045302A1
WO2016045302A1 PCT/CN2015/072697 CN2015072697W WO2016045302A1 WO 2016045302 A1 WO2016045302 A1 WO 2016045302A1 CN 2015072697 W CN2015072697 W CN 2015072697W WO 2016045302 A1 WO2016045302 A1 WO 2016045302A1
Authority
WO
WIPO (PCT)
Prior art keywords
inbound
fault management
connectivity fault
network data
packet
Prior art date
Application number
PCT/CN2015/072697
Other languages
French (fr)
Chinese (zh)
Inventor
张琦
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016045302A1 publication Critical patent/WO2016045302A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/34Signalling channels for network management communication

Definitions

  • the present invention relates to the field of communications, and in particular, to an inbound connectivity fault management (Up CMF) message processing method, system, and network data switching device.
  • Up CMF inbound connectivity fault management
  • OAM Operation, Administration and Maintenance
  • CMF Connectivity Fault Management
  • CMF Connectivity Fault Management
  • Ethernet OAM technology can effectively improve the management and maintenance capabilities of the Ethernet and ensure the stable operation of the network.
  • the service layer Ethernet OAM technology CMF is mostly applied to the access aggregation layer of the network, which is used to monitor connectivity of the entire network and locate connectivity faults of the network.
  • the CMF message is divided into the Down CMF (Down Connectivity Fault Management) message and the Up CMF message.
  • the Up CMF message is initiated and terminated in the Up mep (inbound maintenance endpoint).
  • the mep Mainntenace entity group end point
  • the mep Mainntenace entity group end point
  • the maintenance endpoint has directionality and is divided into two types: the outward maintenance endpoint (Down mep) and the inbound maintenance endpoint (Up mep).
  • the direction of the maintenance endpoint indicates the location of the maintenance domain relative to that port.
  • the outbound maintenance endpoint sends packets to the port through its port.
  • the inbound maintenance endpoint does not send packets through its port. Instead, it sends packets to other ports on the device.
  • the OAM packets include the MPLS-TP (Multi-Protocol Label Switching-Transport Architecture) OAM report.
  • the BFD (Bidirectional Forwarding Detection) packet and the Down CMF packet are generated from the main control board and sent to the peer control board through the NNI (network network interface) line card.
  • NNI network network interface
  • An embodiment of the present invention provides an inbound connectivity fault management (Up CMF) packet processing method, system, and network data exchange device.
  • Up CMF inbound connectivity fault management
  • a set of packet generation termination mechanism is generated on an Up mep line card.
  • the hardware and software design of the system is complicated.
  • the embodiment of the present invention provides a method for processing an Up CMF packet, which includes: a main control board of the first network data switching device generates a first inbound according to a configuration parameter of the first inbound connectivity fault management message. Connectivity fault management packet.
  • the method for processing the Up CMF packet further includes: the first network data switching device sends the first inbound connectivity fault management packet to the second network data switching device of the peer end.
  • the sending, by the first network data switching device, the first inbound connectivity fault management packet to the second network data switching device includes:
  • the main control board of the first network data switching device sends the first inbound connectivity fault management message to the inbound maintenance endpoint line card on the first network data switching device; the inbound maintenance endpoint line card receives the first inbound connection And processing the first inbound connectivity fault management packet, and sending the packet to the main control board;
  • the main control board of the first network data switching device sends the first inbound connectivity fault management message processed by the inbound maintenance endpoint line card to the second network data switching device.
  • the method further includes: Setting an internal internal forwarding direction identifier to an inbound connectivity fault management message;
  • the main control board of the first network data switching device determines whether the first inbound connectivity fault management message includes a first internal forwarding direction identifier; and if the first inbound connectivity fault management message includes a first internal forwarding direction identifier, An inbound maintenance endpoint line card on a network data switching device;
  • the processing of the first inbound connectivity fault management packet includes: removing the first internal forwarding direction identifier;
  • the main control board of the first network data switching device Sending, by the main control board of the first network data switching device, the first inbound connectivity fault management packet from the inbound maintenance endpoint line card to the second network data switching device, including: the first network data exchange
  • the main control board of the device determines whether the first inbound connectivity fault management message includes a first internal forwarding direction identifier; if the first inbound connectivity fault management packet does not include the first internal forwarding direction identifier, the method is sent to A second network data exchange device.
  • the method for processing the Up CMF packet further includes: the first network data switching device receiving a second inbound connectivity fault management message sent by another network data switching device other than itself;
  • the main control board of the first network data switching device terminates the second inbound connectivity fault management message.
  • the second inbound connectivity fault management message sent by the network data switching device that is received by the first network data switching device is:
  • the main control board of the first network data switching device receives the second inbound connectivity fault management message
  • the inbound maintenance endpoint line card receives the second inbound connectivity fault management packet and processes the second inbound connectivity fault management packet, and sends the processed second inbound connectivity fault management packet to the The main control board on the first network data switching device.
  • the sending, by the main control board, the second inbound connectivity fault management packet to the inbound maintenance endpoint line card on the first network data switching device includes: a primary of the first network data switching device
  • the control board determines whether the second inbound connectivity fault management message includes a second internal forwarding direction identifier; if the second inbound connectivity fault management message does not include the second internal forwarding direction identifier, the control board sends the An inbound maintenance endpoint line card on a network data switching device;
  • the processing of the second inbound connectivity fault management packet includes: performing the second inbound connectivity The fault management message sets a second internal forwarding direction identifier;
  • the main control board terminates the second inbound connectivity fault management message, including: The main control board of the first network data switching device determines whether the second inbound connectivity fault management message includes a second internal forwarding direction identifier, if the second inbound connectivity fault management message includes a second internal forwarding direction identifier And performing termination processing on the second inbound connectivity fault management message.
  • the embodiment of the present invention further provides another method for processing an Up CMF packet, including: receiving, by the second network data switching device, the first inbound connectivity fault management packet sent by the first network data switching device, and terminating the first Inbound connectivity fault management message;
  • the first inbound connectivity fault management packet is generated by the main control board of the first network data switching device according to the configuration parameter of the first inbound connectivity fault management packet.
  • the second network data switching device receives the first inbound connectivity fault management message, and terminates the first inbound connectivity fault management message, including: the second network data switching device receiving station The first inbound connectivity fault management packet is described, and the first inbound connectivity fault management packet is terminated by the main control board of the second network data switching device.
  • the embodiment of the present invention further provides a network data exchange device, including a main control board, where the main control board includes a first packet generation module, and the first packet generation module is configured to be based on the first inbound connectivity fault management packet.
  • the configuration parameters generate a first inbound connectivity fault management message.
  • the main control board further includes a first packet sending module, where the first packet sending module is configured to send the first inbound connectivity fault management packet to other network data switching devices of the peer end.
  • the main control board further includes: a second packet receiving module and a second packet termination module; and the second packet receiving module is configured to receive the second sent by the other network data switching device at the opposite end
  • the inbound connectivity fault management packet is configured to terminate the second inbound connectivity fault management packet.
  • the embodiment of the present invention further provides another network data exchange device, including a main control board, where the main control board includes a processor and a packet processing circuit, and the processor is configured to configure a first inbound connectivity fault management packet. Parameter, processor or message processing circuit according to the first inbound connectivity fault management message The configuration parameter generates a first inbound connectivity fault management packet.
  • the network data switching device is further configured to send the first inbound connectivity fault management document to other network data switching devices of the peer end after the first inbound connectivity fault management packet is generated.
  • the network data switching device further includes an inbound maintenance endpoint line card;
  • the main control board further includes a switch chip, and the processor or the message processing circuit is configured to generate the first inbound connectivity fault management report
  • the switch chip is configured to receive the first inbound connectivity fault management packet generated by the packet processing circuit. Transmitting the first inbound connectivity fault management packet to the inbound maintenance endpoint line card, where the inbound maintenance endpoint line card is configured to: after receiving the first inbound connectivity fault management packet, An inbound connectivity fault management packet is processed and sent to the switch chip of the main control board; the switch chip is configured to send the first inbound connectivity fault management packet to other network data switching devices of the peer end .
  • the processor and the packet processing circuit are further configured to receive a second inbound connectivity fault management packet sent by another network data switching device, and manage the second inbound connectivity fault management The message is terminated.
  • the switch chip is further configured to receive the second inbound connectivity fault management message, and receive the received The second inbound connectivity fault management packet is sent to the inbound maintenance endpoint line card; the inbound maintenance endpoint line card is configured to receive the second inbound connectivity fault management packet and connect the second inbound connection The fault management packet is processed, and the processed second inbound connectivity fault management packet is sent to the switch chip of the main control board; the switch chip is further configured to receive the inbound maintenance endpoint line card.
  • the sent second inbound connectivity fault management message is sent to the processor or the packet processing circuit; and the processor or the packet processing circuit is configured to terminate the second inbound connectivity fault management packet.
  • the embodiment of the present invention further provides an Up CMF packet processing system, including: a first network data switching device and a second network data switching device, where the first network data switching device includes a first main control board, and the first main control board The first processor and the first message processing circuit are included;
  • the first processor is configured to configure a first inbound connectivity fault management message parameter, where the a message processing circuit or a first processor is configured to generate a first inbound connectivity fault management packet according to the first inbound connectivity fault management packet configuration parameter, and generate the generated first inbound connectivity fault management The message is sent to the second network data switching device for termination processing.
  • the second network data switching device includes a second main control board, where the second main control board includes a second processor and a second packet processing circuit, and the second processor or the second packet
  • the processing circuit is configured to perform a termination process on the first inbound connectivity fault management message.
  • the embodiment of the invention further provides a computer program and a storage medium thereof, the computer program comprising program instructions, when the program instruction is executed by the first network data exchange device, enabling the device to implement the inward connectivity fault management (Up CMF) a method of message processing; the storage medium storing the computer program.
  • Up CMF inward connectivity fault management
  • the embodiment of the present invention provides an Up CMF packet processing method, a system, and a network data exchange device, wherein the Up CMF packet processing method includes: the main control board of the first network data switching device according to the first inbound connectivity fault management message
  • the configuration parameters generate a first inbound connectivity fault management message.
  • the main control board generates an Up CMF message.
  • only the Up CMF packet is generated on the inbound maintenance line card, and the main control board itself generates another packet. Therefore, the generation of the Up CMF packet is set on the main control board.
  • the aspect does not require a separate packet generation mechanism on the inbound maintenance endpoint line card. On the other hand, it fully utilizes the characteristics of the main control board to generate packets, which makes the hardware and software design of the first network data exchange device simpler. .
  • the first network data switching device further receives a second inbound connectivity fault management packet from itself, and is exchanged by the first network data.
  • the main control board of the device performs packet termination processing. Therefore, the generation and termination of the Up CMF message on the first network data switching device are performed by the main control board of the first network data switching device.
  • the hardware and software design of the first network data switching device is further simplified.
  • FIG. 1 is a schematic flowchart of a method for processing an Up CMF packet according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of a method for sending a first inbound connectivity fault management packet in an Up CMF packet processing method according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic flowchart of a method for receiving a second inbound connectivity fault management message in an Up CMF packet processing method according to Embodiment 1 of the present invention
  • FIG. 4 is a schematic flowchart of a method for processing an Up CMF packet according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic structural diagram of a network data exchange device according to Embodiment 3 of the present invention.
  • FIG. 6 is a schematic structural diagram of another network data switching device according to Embodiment 3 of the present invention.
  • FIG. 7 is a schematic structural diagram of an Up CMF packet processing system according to Embodiment 4 of the present invention.
  • FIG. 8 is a schematic structural diagram of another Up CMF packet processing system according to Embodiment 4 of the present invention.
  • FIG. 9 is a schematic flowchart of a method for processing an Up CMF packet according to Embodiment 5 of the present invention.
  • FIG. 10 is a schematic structural diagram of a device for carrying a PTN network access layer device A and a device for carrying a PTN network access layer in an Up CMF packet processing method according to Embodiment 5 of the present invention
  • FIG. 11 is a schematic structural diagram of a network data exchange device according to Embodiment 6 of the present invention.
  • FIG. 12 is a schematic structural diagram of another network data switching device according to Embodiment 6 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • This embodiment provides an Up CMF packet processing method. Referring to FIG. 1, the method includes:
  • Step S101 The main control board of the first network data switching device is configured according to the first inbound connectivity fault tube. Generating the first inbound connectivity fault management packet by using the configuration parameters of the packet;
  • Step S102 The first network data switching device sends the first inbound connectivity fault management packet to the second network data switching device of the peer end.
  • the network data switching device may be a PTN network access layer device or the like.
  • the main control board may generate a first inbound connectivity fault management message by using a processor and a packet processing circuit, for example, the processor configures parameters of the first inbound connectivity fault management packet, and the packet processing circuit is configured according to the packet processing circuit.
  • the configuration parameter generates a first inbound connectivity fault management packet.
  • the processor can also generate Up CMF packets according to the configuration parameters. Generally, the Up CMF packets generated by the processor are slow Up CMF packets.
  • the message processing circuit may be an FPGA (Field-Programmable Gate Array) or a PLA (Programmable Logic Array).
  • step S102 may further include the following steps, please refer to FIG. 2:
  • Step S201 The main control board of the first network data switching device sends the first inbound connectivity fault management packet to the inbound maintenance endpoint line card on the first network data switching device.
  • Step S202 The inbound maintenance endpoint line card receives the first inbound connectivity fault management packet and processes the packet, and sends the packet to the main control board.
  • Step S203 The main control board of the first network data exchange device sends the first inbound connectivity fault management packet processed by the inbound maintenance endpoint line card from the inbound maintenance endpoint line card to the second network data exchange. device.
  • the main control board of the first network data switching device can not only generate an Up CMF packet but also complete the termination processing of the Up CMF packet. For example, after the first network data switching device receives the second inbound connectivity fault management packet sent by the network data switching device, the main control board terminates the second inbound connectivity fault management packet.
  • the receiving, by the first network data switching device, the second inbound connectivity fault management packet sent by the other network data switching device may include the following steps, as shown in FIG. 3:
  • Step S301 The main control board of the first network data switching device receives the second inbound connectivity fault management message of the other network data switching device.
  • Step S302 The main control board sends the second inbound connectivity fault management packet to the first network data.
  • Step S303 After receiving the second inbound connectivity fault management packet, the inbound maintenance endpoint line card sends the processed second inbound connectivity fault management packet to the master on the first network data switching device. board.
  • the receiving, transmitting and processing of the first Up CMF message and the second Up CMF message by the main control board are involved. That is to say, after receiving the Up CMF message, the main control board needs to process it, for example, terminate processing, send it to the inbound maintenance endpoint line card or the second network data switching device.
  • the forwarding direction identifier for the first Up CMF packet and the second Up CMF packet. You can use the following methods to set the forwarding direction:
  • the method further includes: The inbound connectivity fault management packet sets a first internal forwarding direction identifier; the main control board of the first network data switching device sends the first inbound connectivity fault management packet to the inbound maintenance endpoint line card on the first network data switching device. The main control board of the first network data switching device determines whether the first inbound connectivity fault management message includes the first internal forwarding direction identifier, and if yes, sends the inbound maintenance endpoint line card to the first network data switching device.
  • the processing of the first inbound connectivity fault management packet includes: removing the first internal forwarding pointer identifier; the master of the first network data switching device
  • the control board sends the first inbound connectivity fault management message from the inbound maintenance endpoint line card to the second network data exchange device.
  • the main control board of the first network data switching device determines whether the first inbound connectivity fault management message includes the first internal forwarding direction identifier, and if not, sends the information to the second network data switching device.
  • the first internal forwarding direction identifier may be a separate identifier, or may be borrowed from an attribute parameter of the first Up CMF message, such as an etype (Ethernet type) field value of the first Up CMF message.
  • the main control board When the main control board just generates the first Up CMF packet, set its etype field value to the value required for the internal link transmission of the first network data switching device, for example, 0xfefe. At this time, the etype field value is 0xfefe is the first. The internal forwarding direction is directed to the identifier. After the main control board sends the first Up CMF packet to the inbound maintenance endpoint line card, the inbound maintenance endpoint line card modifies its etype field value to the first network data switching device and other network data switching devices. Standards required for interaction The value of the etype field is 0x8902. Therefore, the value of the etype field is no longer 0xfefe.
  • the first internal forwarding direction identifier is removed, and then sent to the main control board.
  • the main control board receives the first Up.
  • the etype field value is 0x8902, and it is determined that the first Up CMF packet does not have the first internal forwarding identifier, and the first Up CMF packet needs to be sent to the peer second network data exchange. Instead of forwarding it to the inbound maintenance endpoint line card, the device forwards it.
  • the processing of the inbound maintenance endpoint line card to the received first Up CMF further includes: modifying the LM (frame loss measurement) and DM (frame delay measurement) function related fields in the first Up CMF message. Value, completes the LM and DM functions of the Up CMF message.
  • the main control board of the first network data switching device sends the second inbound connectivity fault management message to the inbound maintenance endpoint line card on the first network data switching device, including: the first network data switching device
  • the main control board determines whether the second inbound connectivity fault management message includes the second internal forwarding direction identifier, and if not, sends the inbound maintenance endpoint line card to the first network data switching device; the inbound maintenance endpoint line card receives the first
  • the processing includes: setting a second internal forwarding direction identifier for the second inbound connectivity fault management packet; and inbound maintaining the endpoint line card to report the second inbound connectivity fault management packet
  • the main control board terminates the second inbound connectivity fault management message, including: the main control board of the first network data switching device determines whether the second inbound connectivity fault management message contains the second internal forwarding direction The identifier, if any, performs termination processing on the second inbound connectivity fault management message.
  • the second internal forwarding direction identifier may be a separate identifier, or may be borrowed from an attribute parameter of the second Up CMF message, such as an etype (Ethernet type) field value of the second Up CMF message. Further, the etype field value 0xfeff can be set to the second internal forwarding direction identifier. If the etype field in the second UpCMF packet is a standard etype field value that is required for the first network data switching device to interact with other network data switching devices, that is, 0x8902, the main control board can pass the etype field.
  • the inbound maintenance endpoint line card modifies the etype field value of the second Up CMF message to the internal link of the first network data switching device.
  • the required value for example, 0xfeff, that is, the second internal forwarding direction identifier, is then sent to the main control board, and the main control board receives the second Up CMF message, and learns about it.
  • the value of the etype field is 0xfeff, so that the second inbound connectivity fault management packet includes the second internal forwarding direction identifier, and then determines that the processing of the second Up CMF packet is terminated, instead of forwarding it to other network data. Switching equipment.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • This embodiment provides an Up CMF packet processing method. Referring to FIG. 4, the method includes the following steps:
  • Step S401 The main control board of the first network data switching device generates a first inbound connectivity fault management message according to the configuration parameter of the first inbound connectivity fault management packet.
  • Step S402 The first network data switching device sends the first inbound connectivity fault management message to the second network data switching device.
  • Step S403 The second network data switching device receives the first inbound connectivity fault management packet and terminates the first inbound connectivity fault management packet.
  • the first inbound connectivity fault management message may be terminated by the main control board of the second network data switching device.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • the network data switching device includes a main control board 501.
  • the main control board includes a processor 5011 and a message processing circuit 5012.
  • the processor 5011 is configured to configure the first inbound direction.
  • the connectivity fault management packet parameter, the packet processing circuit 5012 or the processor 5011 generates a first inbound connectivity fault management packet according to the first inbound connectivity fault management packet configuration parameter, specifically, the processor 5011 or the packet processing
  • the circuit 5012 generates a first inbound connectivity fault management packet according to the configuration parameter, and needs to be determined according to the type of the first Up CMF packet to be generated, for example, the fast Up CMF packet needs to be generated by the packet processing circuit 5012, and the slow Up is generated.
  • the CMF message may be generated by the processor 5011 or by the message processing circuit 5012. After the first inbound connectivity fault management packet is generated, the first inbound connectivity fault management document is sent to other network data switching devices of the peer end.
  • the message processing circuit in this embodiment may be an FPGA (Field-Programmable Gate Array), a PLA (Programmable Logic Array), or the like.
  • the network data switching device includes an inbound maintenance endpoint line card 502 and a main control board in addition to the main control board 501.
  • the 501 further includes a switch chip 5013.
  • the processor 5011 or the message processing circuit 5012 sends the first inbound connectivity fault management message to the switch chip 5013 for receiving the processor 5011 or the report.
  • the first inbound connectivity fault management message is sent to the inbound maintenance endpoint line card 502, and the inbound maintenance endpoint line card 502 receives the first inbound connection.
  • the switch chip 5013 of the main control board After the fault management packet is processed, it is sent to the switch chip 5013 of the main control board, and the switch chip 5013 sends the first inbound connectivity fault management packet processed by the inbound maintenance endpoint line card 502 to the peer.
  • Network data exchange equipment After the inbound maintenance endpoint line card 502 receives the first inbound connectivity fault management packet, the processing may include modifying the etype field value of the first inbound connectivity fault management packet.
  • the inbound maintenance endpoint line card may be a UNI (user network interface) line card.
  • the processor 5011 or the packet processing circuit 5012 further receives the second inbound connectivity fault management packet sent by the other network data switching device, and performs termination processing on the second inbound connectivity fault management packet. .
  • the second inbound connectivity fault management packet is received by the processor 5011 or the packet processing circuit 5012, and the final processing is performed according to the type of the second inbound connectivity fault management packet.
  • the slow Up CMF packet is processed by the processor. Receive and terminate, the fast UpCMF message is received and terminated by the message processing circuit.
  • the switch chip 5013 is further configured to receive the second inbound connectivity fault management message, and After receiving the second inbound connectivity fault management packet, the second inbound connectivity fault management packet is sent to the inbound maintenance endpoint line card 502, and after the inbound maintenance endpoint line card 502 receives the second inbound connectivity fault management packet, The second inbound connectivity fault management packet is processed and sent to the switch chip 5013 of the main control board 501.
  • switch chip 5013 After the switch chip 5013 receives the second inbound connectivity fault management packet sent by the inbound maintenance endpoint line card 502, And sending it to the processor 5011 or the message processing circuit 5012, and the processor 5011 or the message processing circuit 5012 completes the termination process of the second inbound connectivity fault management message.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • the Up CMF packet processing system includes a first network data switching device 701 and a second network data switching device 702.
  • the first network data switching device 701 The first main control board 7011 includes a first processor 70111 and a first message processing circuit 70112.
  • the first processor 70111 is configured to configure a first inbound connectivity fault management message parameter.
  • the processor 70111 or the first packet processing circuit 70112 generates a first inbound connectivity fault management packet according to the first inbound connectivity fault management packet configuration parameter, and sends the first inbound connectivity fault management packet after the first inbound connectivity fault management packet is generated.
  • the second network data exchange device 702 is terminated.
  • the second network data switching device 702 further includes a second main control board 7021.
  • the second main control board 7021 includes a second processor 70211 and a second message processing circuit 70212.
  • the second processor 70211 or the second message processing circuit 70212 performs termination processing on the first inbound connectivity fault management message.
  • Embodiment 5 is a diagrammatic representation of Embodiment 5:
  • FIG. 9 is A schematic flowchart of a method for processing an Up CMF packet according to an embodiment of the present invention.
  • FIG. 10 is a device for processing a PTN network access layer and a device for carrying a PTN network access layer in an Up CMF packet processing method according to an embodiment of the present invention.
  • the structure diagram of the method specifically includes the following steps:
  • Step S901 First, the CPU and the FPGA of the main control board of the device A of the PTN network access layer device generate an Up CMF message.
  • the etype field value of the Up CMF packet is defined as 0xfefe as the first internal forwarding direction identifier.
  • Both the Up CMF packet and the Down CMF packet are generated by the CPU and the FPGA. The difference is that the etype field value of the carried packet is different.
  • the main control board can generate other OAM packets, such as BFD packets and MPLS-TP OAM packets, in addition to Up CMF packets and Down CMF packets.
  • BFD packet It contains information such as cycle, my discriminator, and your discriminator.
  • the MPLS-TP OAM packet contains information such as the period, the meg id, and the mep id.
  • the Down CMF packet and the Up CMF packet contain information such as the period, mel, ma id, and mep id.
  • Step S902 The switch chip carrying the main control board of the PTN network access layer device A identifies an Up CMF message with an etype of 0xfefe input from the FPGA or the CPU, and forwards it to the corresponding Up mep line card.
  • the other OAM packets generated by the main control board are directly sent to the NNI line card (network network interface line card) through the switch chip, and then sent by the NNI line card to the peer end carrying the PTN network access layer device B.
  • NNI line card network network interface line card
  • the Up CMF packet is sent and received on the service port of the main control board to the Up mep line card. To avoid the service bandwidth, the minimum frame gap of the service port packet is reduced. The bandwidth is extended for Up CMF packets. Send and receive.
  • Step S903 The FPGA on the Up mep line card carrying the PTN network access layer device A receives the Up CMF message sent by the switch chip of the main control board.
  • the FPGA on the Up mep line card changes the etype field value of the UpCMF packet to 0x8902, and then returns it to the main control board.
  • Step S904 The switch chip of the main control board of the PTN network access layer device A identifies an Up CMF packet with an etype field value of 0x8902 from the Upmep line card, and determines that the first internal forwarding direction identifier is not included in the packet. It is forwarded to the corresponding NNI line card, and sent from the corresponding port of the NNI line card to the opposite end carrying the PTN network access layer device B.
  • Step S905 The NNI line card carrying the PTN network access layer device B receives the Up CMF message with the etype field value of 0x8902 sent from the NNI line card of the PTN network access layer device A. It is transmitted to the main control board switch chip that carries the PTN network access layer device B.
  • Step S906 The switch chip carrying the main control board of the PTN network access layer device B forwards the Up CMF message with the etype field value of 0x8902 from the NNI line card to the Up mep line card carrying the PTN network access layer device B.
  • Step S907 The FPGA that carries the Up mep line card of the PTN network access layer device B receives the UpCMF packet, and the etype field value is modified from 0x8902 to 0xfeff and then forwarded to the switch chip of the main control board.
  • Step S908 The switch chip carrying the PTN network access layer device B main control board receives from Up The Up CMF packet with the etype field value of the mep line card of 0xfeff determines that the Up CMF message contains the second internal forwarding direction identifier and forwards it to the processor or packet processing circuit of the Up CMF of the main control board.
  • Step S909 The CPU or FPGA that carries the PTN network access layer device B main control board receives the Up CMF message from the switch chip, and performs termination processing on the same.
  • the network data exchange device includes a main control board 1101, and the main control board 1101 includes a first packet generation module 11011 and a first packet sending module 11012.
  • a message generating module 11011 is configured to generate a first inbound connectivity fault management packet according to a configuration parameter of the first inbound connectivity fault management packet, where the first packet sending module 11012 is configured to use the first inbound connectivity fault management report.
  • the text is sent to other network data exchange devices on the peer end.
  • the network data exchange device includes: second report, in addition to each module in the main control board 1101 in FIG.
  • the second packet receiving module 11013 is configured to receive the second inbound connectivity fault management packet sent by the other network data switching device at the opposite end; the second packet termination module 11014 is used by the second packet receiving module 11013. Ending the second inbound connectivity fault management message.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
  • Each device/function module/functional unit in the above embodiments may use a general-purpose computing device. Implementations can be centralized on a single computing device or distributed across a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the main control board of the network data exchange device generates the first inbound connectivity fault management packet according to the configuration parameter of the first inbound connectivity fault management packet, and the main control board identifies the packet according to the packet.
  • Sending to the inbound maintenance endpoint line card or other network data switching device does not require a separate packet generation mechanism on the inbound maintenance endpoint line card, and fully utilizes the characteristics of the main control board to generate packets, so that the entire network data exchange
  • the hardware and software design of the device is simpler.

Abstract

An inward-facing connectivity fault management packet processing method and system, and a network data exchange device, the method comprising: a main control board of a first network data exchange device generates a first inward-facing connectivity fault management packet according to a configuration parameter of the first inward-facing connectivity fault management packet, and the first inward-facing connectivity fault management packet is sent to an inward-facing maintenance end point line card or another network data exchange device by the main control board according to a packet identifier. It is not necessary to independently produce a packet generation mechanism on the inward-facing maintenance end point line card, and full use is made of the feature of the main control board generating the packet, enabling the hardware and software design of the entire network data exchange device to be more simplified.

Description

内向连通性故障管理报文处理方法、系统及网络数据交换设备Inbound connectivity fault management message processing method, system and network data exchange device 技术领域Technical field
本发明涉及通讯领域,尤其涉及内向连通性故障管理(Up CMF)报文处理方法、系统及网络数据交换设备。The present invention relates to the field of communications, and in particular, to an inbound connectivity fault management (Up CMF) message processing method, system, and network data switching device.
背景技术Background technique
通讯领域中的OAM(Operation、Administration and Maintenance,操作、管理和维护)技术,涉及到CMF(Connectivity Fault Management,连通性故障管理)报文中Up CMF(Up Connectivity Fault Management,内向连通性故障管理)报文的生成与终结。其中CMF是一种网络级以太网OAM技术。OAM (Operation, Administration and Maintenance) technology in the communication field, which involves Up CMF (Up Connectivity Fault Management) in CMF (Connectivity Fault Management) messages. The generation and termination of the message. CMF is a network-level Ethernet OAM technology.
在通讯网络中,以太网OAM技术可以有效提高对以太网的管理和维护能力,保障网络的稳定运行。业务层以太网OAM技术CMF多应用于网络的接入汇聚层,用于监测整个网络的连通性、定位网络的连通性故障。CMF报文又分为Down CMF(Down Connectivity Fault Management,外向连通性故障管理)报文和Up CMF报文,Up CMF报文在Up mep(内向维护端点)发起与终结。mep(Maintenace entity group end point)是指维护域的维护端点,它确定了维护域的范围和边界。维护端点具有方向性,分为外向维护端点(Down mep)和内向维护端点(Up mep)两种。维护端点的方向表明了维护域相对于该端口的位置。其中,外向维护端点通过其所在端口向外发送报文,内向维护端点则不通过其所在端口向外发送报文,而是通过该设备上的其它端口向外发送报文。In the communication network, Ethernet OAM technology can effectively improve the management and maintenance capabilities of the Ethernet and ensure the stable operation of the network. The service layer Ethernet OAM technology CMF is mostly applied to the access aggregation layer of the network, which is used to monitor connectivity of the entire network and locate connectivity faults of the network. The CMF message is divided into the Down CMF (Down Connectivity Fault Management) message and the Up CMF message. The Up CMF message is initiated and terminated in the Up mep (inbound maintenance endpoint). The mep (Maintenace entity group end point) refers to the maintenance endpoint of the maintenance domain, which determines the scope and boundaries of the maintenance domain. The maintenance endpoint has directionality and is divided into two types: the outward maintenance endpoint (Down mep) and the inbound maintenance endpoint (Up mep). The direction of the maintenance endpoint indicates the location of the maintenance domain relative to that port. The outbound maintenance endpoint sends packets to the port through its port. The inbound maintenance endpoint does not send packets through its port. Instead, it sends packets to other ports on the device.
目前对于OAM报文的生成与终结,除了Up CMF报文需要在Up mep生成终结外,其它OAM报文包括MPLS-TP(Multi-Protocol Label Switching-Transport Architecture多协议标签交换-传送架构)OAM报文、BFD(Bidirectional Forwarding Detection,双向转发检测)报文以及Down CMF报文都是从主控板生成发起,经NNI(network network interface,网络网络接口)线卡送到对端节点主控板进行终结,唯独Up CMF报文需要在Up mep线卡生成与终结,而单独在Up mep线卡产生一套报文生成终结机制,会使 整个系统的硬件和软件设计复杂化,并且消耗更多资源,也给各线卡开发带来了制约。Currently, for the generation and termination of OAM packets, the OAM packets include the MPLS-TP (Multi-Protocol Label Switching-Transport Architecture) OAM report. The BFD (Bidirectional Forwarding Detection) packet and the Down CMF packet are generated from the main control board and sent to the peer control board through the NNI (network network interface) line card. At the end, only the Up CMF message needs to be generated and terminated on the Up mep line card, and a set of message generation termination mechanism is generated on the Up mep line card alone. The hardware and software design of the entire system is complicated, and it consumes more resources, which also imposes constraints on the development of various line cards.
发明内容Summary of the invention
本发明实施例提供一种内向连通性故障管理(Up CMF)报文处理方法、系统及网络数据交换设备,解决现有技术中,单独在Up mep线卡产生一套报文生成终结机制使整个系统的硬件和软件设计复杂化的问题。An embodiment of the present invention provides an inbound connectivity fault management (Up CMF) packet processing method, system, and network data exchange device. In the prior art, a set of packet generation termination mechanism is generated on an Up mep line card. The hardware and software design of the system is complicated.
为解决上述技术问题,本发明实施例提供了一种Up CMF报文处理方法,包括:第一网络数据交换设备的主控板根据第一内向连通性故障管理报文的配置参数生成第一内向连通性故障管理报文。To solve the above technical problem, the embodiment of the present invention provides a method for processing an Up CMF packet, which includes: a main control board of the first network data switching device generates a first inbound according to a configuration parameter of the first inbound connectivity fault management message. Connectivity fault management packet.
可选地,该Up CMF报文处理方法还包括:第一网络数据交换设备将第一内向连通性故障管理报文发送给对端的第二网络数据交换设备。Optionally, the method for processing the Up CMF packet further includes: the first network data switching device sends the first inbound connectivity fault management packet to the second network data switching device of the peer end.
可选地,第一网络数据交换设备将第一内向连通性故障管理报文发送给第二网络数据交换设备包括:Optionally, the sending, by the first network data switching device, the first inbound connectivity fault management packet to the second network data switching device includes:
第一网络数据交换设备的主控板将第一内向连通性故障管理报文发送给第一网络数据交换设备上的内向维护端点线卡;所述内向维护端点线卡接收所述第一内向连通性故障管理报文并对所述第一内向连通性故障管理报文进行处理后发送给主控板;The main control board of the first network data switching device sends the first inbound connectivity fault management message to the inbound maintenance endpoint line card on the first network data switching device; the inbound maintenance endpoint line card receives the first inbound connection And processing the first inbound connectivity fault management packet, and sending the packet to the main control board;
第一网络数据交换设备的主控板将来自内向维护端点线卡处理后的第一内向连通性故障管理报文发送给第二网络数据交换设备。The main control board of the first network data switching device sends the first inbound connectivity fault management message processed by the inbound maintenance endpoint line card to the second network data switching device.
可选地,在第一网络数据交换设备的主控板将所述第一内向连通性故障管理报文发送给所述第一网络数据交换设备上的内向维护端点线卡之前还包括:为第一内向连通性故障管理报文设置第一内部转发指向标识;Optionally, before the main control board of the first network data switching device sends the first inbound connectivity fault management message to the inbound maintenance endpoint line card on the first network data switching device, the method further includes: Setting an internal internal forwarding direction identifier to an inbound connectivity fault management message;
所述第一网络数据交换设备的主控板将第一内向连通性故障管理报文发送给所述第一网络数据交换设备上的内向维护端点线卡包括:所述第一网络数据交换设备的主控板判断所述第一内向连通性故障管理报文是否含有第一内部转发指向标识;若所述第一内向连通性故障管理报文包含第一内部转发指向标识,则发送给所述第一网络数据交换设备上的内向维护端点线卡; And sending, by the main control board of the first network data switching device, the first inbound connectivity fault management packet to the inbound maintenance endpoint line card on the first network data switching device, where: the first network data switching device The main control board determines whether the first inbound connectivity fault management message includes a first internal forwarding direction identifier; and if the first inbound connectivity fault management message includes a first internal forwarding direction identifier, An inbound maintenance endpoint line card on a network data switching device;
所述内向维护端点线卡在接收第一内向连通性故障管理报文后,对第一内向连通性故障管理报文进行的处理包括:去除第一内部转发指向标识;After the inbound maintenance endpoint line card receives the first inbound connectivity fault management packet, the processing of the first inbound connectivity fault management packet includes: removing the first internal forwarding direction identifier;
所述第一网络数据交换设备的主控板将来自所述内向维护端点线卡的第一内向连通性故障管理报文发送给所述第二网络数据交换设备包括:所述第一网络数据交换设备的主控板判断所述第一内向连通性故障管理报文是否含有第一内部转发指向标识;若所述第一内向连通性故障管理报文不包含第一内部转发指向标识,则发送给第二网络数据交换设备。Sending, by the main control board of the first network data switching device, the first inbound connectivity fault management packet from the inbound maintenance endpoint line card to the second network data switching device, including: the first network data exchange The main control board of the device determines whether the first inbound connectivity fault management message includes a first internal forwarding direction identifier; if the first inbound connectivity fault management packet does not include the first internal forwarding direction identifier, the method is sent to A second network data exchange device.
在本发明的一种实施例中,该Up CMF报文处理方法还包括:所述第一网络数据交换设备接收自身之外的其他网络数据交换设备发送的第二内向连通性故障管理报文;In an embodiment of the present invention, the method for processing the Up CMF packet further includes: the first network data switching device receiving a second inbound connectivity fault management message sent by another network data switching device other than itself;
所述第一网络数据交换设备的主控板终结所述第二内向连通性故障管理报文。The main control board of the first network data switching device terminates the second inbound connectivity fault management message.
可选地,所述第一网络数据交换设备接收自身之外的其他网络数据交换设备发送的第二内向连通性故障管理报文包括:Optionally, the second inbound connectivity fault management message sent by the network data switching device that is received by the first network data switching device is:
所述第一网络数据交换设备的主控板接收所述第二内向连通性故障管理报文;The main control board of the first network data switching device receives the second inbound connectivity fault management message;
所述主控板将所述第二内向连通性故障管理报文发送给所述第一网络数据交换设备上的内向维护端点线卡;Sending, by the main control board, the second inbound connectivity fault management packet to an inbound maintenance endpoint line card on the first network data switching device;
所述内向维护端点线卡接收所述第二内向连通性故障管理报文并对所述第二内向连通性故障管理报文进行处理,将处理后的第二内向连通性故障管理报文发送给所述第一网络数据交换设备上的主控板。The inbound maintenance endpoint line card receives the second inbound connectivity fault management packet and processes the second inbound connectivity fault management packet, and sends the processed second inbound connectivity fault management packet to the The main control board on the first network data switching device.
可选地,所述主控板将所述第二内向连通性故障管理报文发送给所述第一网络数据交换设备上的内向维护端点线卡包括:所述第一网络数据交换设备的主控板判断所述第二内向连通性故障管理报文是否含有第二内部转发指向标识;如果所述第二内向连通性故障管理报文不包含第二内部转发指向标识,则发送给所述第一网络数据交换设备上的内向维护端点线卡;Optionally, the sending, by the main control board, the second inbound connectivity fault management packet to the inbound maintenance endpoint line card on the first network data switching device includes: a primary of the first network data switching device The control board determines whether the second inbound connectivity fault management message includes a second internal forwarding direction identifier; if the second inbound connectivity fault management message does not include the second internal forwarding direction identifier, the control board sends the An inbound maintenance endpoint line card on a network data switching device;
在所述内向维护端点线卡接收所述第二内向连通性故障管理报文后,对所述第二内向连通性故障管理报文进行的处理包括:为所述第二内向连通性 故障管理报文设置第二内部转发指向标识;After the inbound maintenance endpoint line card receives the second inbound connectivity fault management packet, the processing of the second inbound connectivity fault management packet includes: performing the second inbound connectivity The fault management message sets a second internal forwarding direction identifier;
在所述内向维护端点线卡将所述第二内向连通性故障管理报文发送给所述主控板之后,所述主控板终结所述第二内向连通性故障管理报文包括:所述第一网络数据交换设备的主控板判断所述第二内向连通性故障管理报文是否含有第二内部转发指向标识,如果所述第二内向连通性故障管理报文包含第二内部转发指向标识,则执行对所述第二内向连通性故障管理报文的终结处理。After the inbound maintenance endpoint line card sends the second inbound connectivity fault management packet to the main control board, the main control board terminates the second inbound connectivity fault management message, including: The main control board of the first network data switching device determines whether the second inbound connectivity fault management message includes a second internal forwarding direction identifier, if the second inbound connectivity fault management message includes a second internal forwarding direction identifier And performing termination processing on the second inbound connectivity fault management message.
本发明实施例还提供了另一种Up CMF报文处理方法,包括:第二网络数据交换设备接收第一网络数据交换设备发送的第一内向连通性故障管理报文,并终结所述第一内向连通性故障管理报文;The embodiment of the present invention further provides another method for processing an Up CMF packet, including: receiving, by the second network data switching device, the first inbound connectivity fault management packet sent by the first network data switching device, and terminating the first Inbound connectivity fault management message;
其中,所述第一内向连通性故障管理报文是由所述第一网络数据交换设备的主控板根据所述第一内向连通性故障管理报文的配置参数生成的。The first inbound connectivity fault management packet is generated by the main control board of the first network data switching device according to the configuration parameter of the first inbound connectivity fault management packet.
在本发明的一种实施例中,第二网络数据交换设备接收第一内向连通性故障管理报文,并终结第一内向连通性故障管理报文包括:所述第二网络数据交换设备接收所述第一内向连通性故障管理报文,并由所述第二网络数据交换设备的主控板终结所述第一内向连通性故障管理报文。In an embodiment of the present invention, the second network data switching device receives the first inbound connectivity fault management message, and terminates the first inbound connectivity fault management message, including: the second network data switching device receiving station The first inbound connectivity fault management packet is described, and the first inbound connectivity fault management packet is terminated by the main control board of the second network data switching device.
本发明实施例还提供了一种网络数据交换设备,包括主控板,所述主控板包括第一报文生成模块,第一报文生成模块设置为根据第一内向连通性故障管理报文的配置参数生成第一内向连通性故障管理报文。The embodiment of the present invention further provides a network data exchange device, including a main control board, where the main control board includes a first packet generation module, and the first packet generation module is configured to be based on the first inbound connectivity fault management packet. The configuration parameters generate a first inbound connectivity fault management message.
可选地,所述主控板还包括第一报文发送模块,第一报文发送模块设置为将第一内向连通性故障管理报文发送给对端的其他网络数据交换设备。Optionally, the main control board further includes a first packet sending module, where the first packet sending module is configured to send the first inbound connectivity fault management packet to other network data switching devices of the peer end.
在本发明的一种实施例中,主控板还包括:第二报文接收模块和第二报文终结模块;第二报文接收模块设置为接收对端的其他网络数据交换设备发送的第二内向连通性故障管理报文;第二报文终结模块设置为终结第二内向连通性故障管理报文。In an embodiment of the present invention, the main control board further includes: a second packet receiving module and a second packet termination module; and the second packet receiving module is configured to receive the second sent by the other network data switching device at the opposite end The inbound connectivity fault management packet is configured to terminate the second inbound connectivity fault management packet.
本发明实施例还提供了另一种网络数据交换设备,包括主控板,所述主控板包括处理器、报文处理电路,所述处理器设置为配置第一内向连通性故障管理报文参数,处理器或报文处理电路根据第一内向连通性故障管理报文 配置参数生成第一内向连通性故障管理报文。The embodiment of the present invention further provides another network data exchange device, including a main control board, where the main control board includes a processor and a packet processing circuit, and the processor is configured to configure a first inbound connectivity fault management packet. Parameter, processor or message processing circuit according to the first inbound connectivity fault management message The configuration parameter generates a first inbound connectivity fault management packet.
可选地,该网络数据交换设备还设置为在生成所述第一内向连通性故障管理报文后,将所述第一内向连通性故障管理文发送给对端的其他网络数据交换设备。Optionally, the network data switching device is further configured to send the first inbound connectivity fault management document to other network data switching devices of the peer end after the first inbound connectivity fault management packet is generated.
可选地,该网络数据交换设备还包括内向维护端点线卡;所述主控板还包括交换芯片,所述处理器或报文处理电路设置为在生成所述第一内向连通性故障管理报文后,将所述第一内向连通性故障管理报文发送给所述交换芯片;所述交换芯片设置为在接收来自报文处理电路生成的所述第一内向连通性故障管理报文后,将所述第一内向连通性故障管理报文发送给所述内向维护端点线卡,所述内向维护端点线卡设置为在接收所述第一内向连通性故障管理报文后,对所述第一内向连通性故障管理报文进行处理,并发送给所述主控板的交换芯片;所述交换芯片设置为将所述第一内向连通性故障管理报文发送给对端的其他网络数据交换设备。Optionally, the network data switching device further includes an inbound maintenance endpoint line card; the main control board further includes a switch chip, and the processor or the message processing circuit is configured to generate the first inbound connectivity fault management report After the first inbound connectivity fault management packet is sent to the switch chip, the switch chip is configured to receive the first inbound connectivity fault management packet generated by the packet processing circuit. Transmitting the first inbound connectivity fault management packet to the inbound maintenance endpoint line card, where the inbound maintenance endpoint line card is configured to: after receiving the first inbound connectivity fault management packet, An inbound connectivity fault management packet is processed and sent to the switch chip of the main control board; the switch chip is configured to send the first inbound connectivity fault management packet to other network data switching devices of the peer end .
在本发明的一种实施例中,该处理器和报文处理电路还设置为接收其他网络数据交换设备发送的第二内向连通性故障管理报文,并对所述第二内向连通性故障管理报文执行终结处理。In an embodiment of the present invention, the processor and the packet processing circuit are further configured to receive a second inbound connectivity fault management packet sent by another network data switching device, and manage the second inbound connectivity fault management The message is terminated.
可选地,当所述网络数据交换设备还包括内向维护端点线卡,所述主控板还包括交换芯片时,交换芯片还设置为接收第二内向连通性故障管理报文,并将接收的所述第二内向连通性故障管理报文发送给所述内向维护端点线卡;所述内向维护端点线卡设置为接收所述第二内向连通性故障管理报文并对所述第二内向连通性故障管理报文进行处理,将处理后的第二内向连通性故障管理报文发送给所述主控板的交换芯片;所述交换芯片还设置为将接收到的所述内向维护端点线卡发送的第二内向连通性故障管理报文其发送给所述处理器或报文处理电路;由处理器或报文处理电路设置为对所述第二内向连通性故障管理报文进行终结处理。Optionally, when the network data switching device further includes an inbound maintenance endpoint line card, where the main control board further includes a switch chip, the switch chip is further configured to receive the second inbound connectivity fault management message, and receive the received The second inbound connectivity fault management packet is sent to the inbound maintenance endpoint line card; the inbound maintenance endpoint line card is configured to receive the second inbound connectivity fault management packet and connect the second inbound connection The fault management packet is processed, and the processed second inbound connectivity fault management packet is sent to the switch chip of the main control board; the switch chip is further configured to receive the inbound maintenance endpoint line card. The sent second inbound connectivity fault management message is sent to the processor or the packet processing circuit; and the processor or the packet processing circuit is configured to terminate the second inbound connectivity fault management packet.
本发明实施例还提供了一种Up CMF报文处理系统,包括:第一网络数据交换设备和第二网络数据交换设备,第一网络数据交换设备包括第一主控板,第一主控板包括第一处理器和第一报文处理电路;The embodiment of the present invention further provides an Up CMF packet processing system, including: a first network data switching device and a second network data switching device, where the first network data switching device includes a first main control board, and the first main control board The first processor and the first message processing circuit are included;
所述第一处理器设置为配置第一内向连通性故障管理报文参数,所述第 一报文处理电路或第一处理器设置为根据所述第一内向连通性故障管理报文配置参数生成第一内向连通性故障管理报文,并将生成的所述第一内向连通性故障管理报文发送给所述第二网络数据交换设备进行终结处理。The first processor is configured to configure a first inbound connectivity fault management message parameter, where the a message processing circuit or a first processor is configured to generate a first inbound connectivity fault management packet according to the first inbound connectivity fault management packet configuration parameter, and generate the generated first inbound connectivity fault management The message is sent to the second network data switching device for termination processing.
可选地,所述第二网络数据交换设备包括第二主控板,所述第二主控板包括第二处理器和第二报文处理电路,所述第二处理器或第二报文处理电路设置为对第一内向连通性故障管理报文执行终结处理。Optionally, the second network data switching device includes a second main control board, where the second main control board includes a second processor and a second packet processing circuit, and the second processor or the second packet The processing circuit is configured to perform a termination process on the first inbound connectivity fault management message.
本发明实施例还提供一种计算机程序及其存储介质,该计算机程序包括程序指令,当该程序指令被第一网络数据交换设备执行时,使得该设备可实施上述内向连通性故障管理(Up CMF)报文处理的方法;所述存储介质存储所述计算机程序。The embodiment of the invention further provides a computer program and a storage medium thereof, the computer program comprising program instructions, when the program instruction is executed by the first network data exchange device, enabling the device to implement the inward connectivity fault management (Up CMF) a method of message processing; the storage medium storing the computer program.
本发明实施例的有益效果是:The beneficial effects of the embodiments of the present invention are:
本发明实施例提供Up CMF报文处理方法、系统及网络数据交换设备,其中一种Up CMF报文处理方法包括:第一网络数据交换设备的主控板根据第一内向连通性故障管理报文的配置参数生成第一内向连通性故障管理报文。该Up CMF报文处理方法中,由主控板生成Up CMF报文。因为现有技术中内向维护端点线卡上需要生成的报文只有Up CMF报文,而主控板本身就要生成其他报文,因此将Up CMF报文的生成设置在主控板上,一方面不需要在内向维护端点线卡上单独产生一套报文生成机制,另一方面又充分利用了主控板生成报文的特性,使得第一网络数据交换设备的硬件和软件设计更简单化。The embodiment of the present invention provides an Up CMF packet processing method, a system, and a network data exchange device, wherein the Up CMF packet processing method includes: the main control board of the first network data switching device according to the first inbound connectivity fault management message The configuration parameters generate a first inbound connectivity fault management message. In the Up CMF packet processing method, the main control board generates an Up CMF message. In the prior art, only the Up CMF packet is generated on the inbound maintenance line card, and the main control board itself generates another packet. Therefore, the generation of the Up CMF packet is set on the main control board. The aspect does not require a separate packet generation mechanism on the inbound maintenance endpoint line card. On the other hand, it fully utilizes the characteristics of the main control board to generate packets, which makes the hardware and software design of the first network data exchange device simpler. .
可选地,在该Up CMF报文处理方法的一种实施例中,第一网络数据交换设备还接收来自自身之外的第二内向连通性故障管理报文,并由该第一网络数据交换设备的主控板执行报文终结处理。由此,第一网络数据交换设备上对Up CMF报文的生成和终结都是由第一网络数据交换设备的主控板完成。相对于上述仅在第一网络数据交换设备主控板上生成Up CMF报文的方式,进一步简化了第一网络数据交换设备的硬件和软件设计。 Optionally, in an embodiment of the method for processing the Up CMF packet, the first network data switching device further receives a second inbound connectivity fault management packet from itself, and is exchanged by the first network data. The main control board of the device performs packet termination processing. Therefore, the generation and termination of the Up CMF message on the first network data switching device are performed by the main control board of the first network data switching device. Compared with the foregoing manner of generating Up CMF messages only on the main control board of the first network data switching device, the hardware and software design of the first network data switching device is further simplified.
附图概述BRIEF abstract
图1为本发明实施例一的一种Up CMF报文处理方法的流程示意图;1 is a schematic flowchart of a method for processing an Up CMF packet according to Embodiment 1 of the present invention;
图2为本发明实施例一的一种Up CMF报文处理方法中发送第一内向连通性故障管理报文的方法的流程示意图;2 is a schematic flowchart of a method for sending a first inbound connectivity fault management packet in an Up CMF packet processing method according to Embodiment 1 of the present invention;
图3为本发明实施例一的一种Up CMF报文处理方法中接收第二内向连通性故障管理报文的方法的流程示意图;3 is a schematic flowchart of a method for receiving a second inbound connectivity fault management message in an Up CMF packet processing method according to Embodiment 1 of the present invention;
图4为本发明实施例二的一种Up CMF报文处理方法的流程示意图;4 is a schematic flowchart of a method for processing an Up CMF packet according to Embodiment 2 of the present invention;
图5为本发明实施例三的一种网络数据交换设备的结构示意图;FIG. 5 is a schematic structural diagram of a network data exchange device according to Embodiment 3 of the present invention; FIG.
图6为本发明实施例三的另一种网络数据交换设备的结构示意图;FIG. 6 is a schematic structural diagram of another network data switching device according to Embodiment 3 of the present invention; FIG.
图7为本发明实施例四的一种Up CMF报文处理系统的结构示意图;FIG. 7 is a schematic structural diagram of an Up CMF packet processing system according to Embodiment 4 of the present invention; FIG.
图8为本发明实施例四的另一种Up CMF报文处理系统的结构示意图;FIG. 8 is a schematic structural diagram of another Up CMF packet processing system according to Embodiment 4 of the present invention; FIG.
图9为本发明实施例五的一种Up CMF报文处理方法的流程示意图;9 is a schematic flowchart of a method for processing an Up CMF packet according to Embodiment 5 of the present invention;
图10为本发明实施例五的一种Up CMF报文处理方法中的承载PTN网络接入层设备A和承载PTN网络接入层设备B的结构示意图;10 is a schematic structural diagram of a device for carrying a PTN network access layer device A and a device for carrying a PTN network access layer in an Up CMF packet processing method according to Embodiment 5 of the present invention;
图11为本发明实施例六的一种网络数据交换设备的结构示意图;11 is a schematic structural diagram of a network data exchange device according to Embodiment 6 of the present invention;
图12为本发明实施例六的另一种网络数据交换设备的结构示意图。FIG. 12 is a schematic structural diagram of another network data switching device according to Embodiment 6 of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。另外,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other. Additionally, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
实施例一:Embodiment 1:
本实施例提供了一种Up CMF报文处理方法,请参见图1,包括:This embodiment provides an Up CMF packet processing method. Referring to FIG. 1, the method includes:
步骤S101:第一网络数据交换设备的主控板根据第一内向连通性故障管 理报文的配置参数生成第一内向连通性故障管理报文;Step S101: The main control board of the first network data switching device is configured according to the first inbound connectivity fault tube. Generating the first inbound connectivity fault management packet by using the configuration parameters of the packet;
步骤S102:第一网络数据交换设备将第一内向连通性故障管理报文发送给对端的第二网络数据交换设备。Step S102: The first network data switching device sends the first inbound connectivity fault management packet to the second network data switching device of the peer end.
在本实施例中,网络数据交换设备可以为承载PTN网络接入层设备等。In this embodiment, the network data switching device may be a PTN network access layer device or the like.
在上述步骤S101中,主控板可通过处理器和报文处理电路生成第一内向连通性故障管理报文,例如处理器配置第一内向连通性故障管理报文的参数,报文处理电路根据配置参数生成第一内向连通性故障管理报文。当然也可以由处理器自己根据配置参数生成Up CMF报文,一般由处理器生成的Up CMF报文为慢速Up CMF报文。其中报文处理电路可以为FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable logic arrays,可编程逻辑阵列)等。In the above step S101, the main control board may generate a first inbound connectivity fault management message by using a processor and a packet processing circuit, for example, the processor configures parameters of the first inbound connectivity fault management packet, and the packet processing circuit is configured according to the packet processing circuit. The configuration parameter generates a first inbound connectivity fault management packet. Of course, the processor can also generate Up CMF packets according to the configuration parameters. Generally, the Up CMF packets generated by the processor are slow Up CMF packets. The message processing circuit may be an FPGA (Field-Programmable Gate Array) or a PLA (Programmable Logic Array).
进一步地,上述步骤S102还可包括如下步骤,请参见图2:Further, the above step S102 may further include the following steps, please refer to FIG. 2:
步骤S201:第一网络数据交换设备的主控板将第一内向连通性故障管理报文发送给第一网络数据交换设备上的内向维护端点线卡;Step S201: The main control board of the first network data switching device sends the first inbound connectivity fault management packet to the inbound maintenance endpoint line card on the first network data switching device.
步骤S202:内向维护端点线卡在接收第一内向连通性故障管理报文并对其进行处理后发送给主控板;Step S202: The inbound maintenance endpoint line card receives the first inbound connectivity fault management packet and processes the packet, and sends the packet to the main control board.
步骤S203:第一网络数据交换设备的主控板将来自内向维护端点线卡的经所述内向维护端点线卡处理后的所述第一内向连通性故障管理报文发送给第二网络数据交换设备。Step S203: The main control board of the first network data exchange device sends the first inbound connectivity fault management packet processed by the inbound maintenance endpoint line card from the inbound maintenance endpoint line card to the second network data exchange. device.
在本实施例中,第一网络数据交换设备的主控板不仅可以生成Up CMF报文,而且还可以完成Up CMF报文的终结处理。例如第一网络数据交换设备接收到自身之外的其他网络数据交换设备发送的第二内向连通性故障管理报文后,其主控板终结第二内向连通性故障管理报文。In this embodiment, the main control board of the first network data switching device can not only generate an Up CMF packet but also complete the termination processing of the Up CMF packet. For example, after the first network data switching device receives the second inbound connectivity fault management packet sent by the network data switching device, the main control board terminates the second inbound connectivity fault management packet.
进一步地,第一网络数据交换设备接收其他网络数据交换设备发送的第二内向连通性故障管理报文可具体包括如下步骤,请参见图3:Further, the receiving, by the first network data switching device, the second inbound connectivity fault management packet sent by the other network data switching device may include the following steps, as shown in FIG. 3:
步骤S301:第一网络数据交换设备的主控板接收其他网络数据交换设备第二内向连通性故障管理报文;Step S301: The main control board of the first network data switching device receives the second inbound connectivity fault management message of the other network data switching device.
步骤S302:主控板将第二内向连通性故障管理报文发送给第一网络数据 交换设备上的内向维护端点线卡;Step S302: The main control board sends the second inbound connectivity fault management packet to the first network data. Inbound maintenance endpoint line card on the switching device;
步骤S303:内向维护端点线卡接收第二内向连通性故障管理报文并对其进行处理后,将处理后的第二内向连通性故障管理报文发送给第一网络数据交换设备上的主控板。Step S303: After receiving the second inbound connectivity fault management packet, the inbound maintenance endpoint line card sends the processed second inbound connectivity fault management packet to the master on the first network data switching device. board.
在上述步骤S201-S203及步骤S301-S303中,涉及到主控板对第一Up CMF报文和第二Up CMF报文的接收、发送及处理。也就是说,主控板在接收到Up CMF报文之后,需要对其进行处理,例如终结处理、将其发送给内向维护端点线卡或第二网络数据交换设备。为方便主控板确定对Up CMF报文的处理方式,可为第一Up CMF报文和第二Up CMF报文设置转发指向标识,具体可采用如下方式进行设置:In the above steps S201-S203 and S301-S303, the receiving, transmitting and processing of the first Up CMF message and the second Up CMF message by the main control board are involved. That is to say, after receiving the Up CMF message, the main control board needs to process it, for example, terminate processing, send it to the inbound maintenance endpoint line card or the second network data switching device. To facilitate the control mode of the Up CMF packet, you can set the forwarding direction identifier for the first Up CMF packet and the second Up CMF packet. You can use the following methods to set the forwarding direction:
在上述步骤S201之前,即在第一网络数据交换设备的主控板将第一内向连通性故障管理报文发送给第一网络数据交换设备上的内向维护端点线卡之前还包括:为第一内向连通性故障管理报文设置第一内部转发指向标识;第一网络数据交换设备的主控板将第一内向连通性故障管理报文发送给第一网络数据交换设备上的内向维护端点线卡包括:第一网络数据交换设备的主控板判断第一内向连通性故障管理报文是否含有第一内部转发指向标识,若有,则发送给第一网络数据交换设备上的内向维护端点线卡;内向维护端点线卡在接收第一内向连通性故障管理报文后,对第一内向连通性故障管理报文进行的处理包括:去除第一内部转发指向标识;第一网络数据交换设备的主控板将来自内向维护端点线卡的第一内向连通性故障管理报文发送给第二网络数据交换设备包括:第一网络数据交换设备的主控板判断第一内向连通性故障管理报文是否含有第一内部转发指向标识,若无,则发送给第二网络数据交换设备。其中第一内部转发指向标识可以使用单独的标识,也可以借用第一Up CMF报文上本身就有的属性参数,例如第一Up CMF报文的etype(以太网类型)域值。在主控板刚生成第一Up CMF报文时,将其etype域值设置为第一网络数据交换设备内部链路传输时所需的值,例如0xfefe,此时etype域值为0xfefe就是第一内部转发指向标识,当主控板将第一Up CMF报文发送给内向维护端点线卡后,内向维护端点线卡将其etype域值修改为第一网络数据交换设备与其他网络数据交换设备进行交互时所需的标准 etype域值,也即0x8902,因此此时etype域值不再是0xfefe,因此也就是去除了第一内部转发指向标识,然后再将其发送给主控板,主控板在接收到第一Up CMF报文后,获知其etype域值为0x8902,从而断定该第一Up CMF报文内已经没有第一内部转发标识,进而确定需要将第一Up CMF报文发送给对端的第二网络数据交换设备,而不是将其再转发给内向维护端点线卡。Before the step S201, that is, before the main control board of the first network data switching device sends the first inbound connectivity fault management packet to the inbound maintenance endpoint line card on the first network data switching device, the method further includes: The inbound connectivity fault management packet sets a first internal forwarding direction identifier; the main control board of the first network data switching device sends the first inbound connectivity fault management packet to the inbound maintenance endpoint line card on the first network data switching device The main control board of the first network data switching device determines whether the first inbound connectivity fault management message includes the first internal forwarding direction identifier, and if yes, sends the inbound maintenance endpoint line card to the first network data switching device. After the inbound maintenance endpoint line card receives the first inbound connectivity fault management packet, the processing of the first inbound connectivity fault management packet includes: removing the first internal forwarding pointer identifier; the master of the first network data switching device The control board sends the first inbound connectivity fault management message from the inbound maintenance endpoint line card to the second network data exchange device. The main control board of the first network data switching device determines whether the first inbound connectivity fault management message includes the first internal forwarding direction identifier, and if not, sends the information to the second network data switching device. The first internal forwarding direction identifier may be a separate identifier, or may be borrowed from an attribute parameter of the first Up CMF message, such as an etype (Ethernet type) field value of the first Up CMF message. When the main control board just generates the first Up CMF packet, set its etype field value to the value required for the internal link transmission of the first network data switching device, for example, 0xfefe. At this time, the etype field value is 0xfefe is the first. The internal forwarding direction is directed to the identifier. After the main control board sends the first Up CMF packet to the inbound maintenance endpoint line card, the inbound maintenance endpoint line card modifies its etype field value to the first network data switching device and other network data switching devices. Standards required for interaction The value of the etype field is 0x8902. Therefore, the value of the etype field is no longer 0xfefe. Therefore, the first internal forwarding direction identifier is removed, and then sent to the main control board. The main control board receives the first Up. After the CMF packet is received, the etype field value is 0x8902, and it is determined that the first Up CMF packet does not have the first internal forwarding identifier, and the first Up CMF packet needs to be sent to the peer second network data exchange. Instead of forwarding it to the inbound maintenance endpoint line card, the device forwards it.
在上述步骤S202中,内向维护端点线卡对接收到的第一Up CMF的处理还包括:修改第一Up CMF报文中的LM(帧丢失测量)和DM(帧时延测量)功能相关域值,完成Up CMF报文的LM和DM功能。In the foregoing step S202, the processing of the inbound maintenance endpoint line card to the received first Up CMF further includes: modifying the LM (frame loss measurement) and DM (frame delay measurement) function related fields in the first Up CMF message. Value, completes the LM and DM functions of the Up CMF message.
在上述步骤S301中,第一网络数据交换设备的主控板将第二内向连通性故障管理报文发送给第一网络数据交换设备上的内向维护端点线卡包括:第一网络数据交换设备的主控板判断第二内向连通性故障管理报文是否含有第二内部转发指向标识,若无,则发送给第一网络数据交换设备上的内向维护端点线卡;在内向维护端点线卡接收第二内向连通性故障管理报文后,对其进行的处理包括:为第二内向连通性故障管理报文设置第二内部转发指向标识;在内向维护端点线卡将第二内向连通性故障管理报文发送给主控板之后,主控板终结第二内向连通性故障管理报文包括:第一网络数据交换设备的主控板判断第二内向连通性故障管理报文是否含有第二内部转发指向标识,若有,则执行对第二内向连通性故障管理报文的终结处理。其中第二内部转发指向标识可以使用单独的标识,也可以借用第二Up CMF报文上本身就有的属性参数,例如第二Up CMF报文的etype(以太网类型)域值。进一步地,可将etype域值为0xfeff设置为第二内部转发指向标识。如果第二UpCMF报文中的etype域值为第一网络数据交换设备与其他网络数据交换设备进行交互时所需的标准etype域值,也即0x8902,此时主控板就可通过该etype域值断定第二Up CMF报文中不包括第二内部转发指向标识,从而确定对第二Up CMF报文的处理为将其转发给内向维护端点线卡,而不是终结第二Up CMF报文。主控板将第二Up CMF报文发送给内向维护端点线卡后,内向维护端点线卡将第二Up CMF报文的的etype域值修改为第一网络数据交换设备内部链路传输时所需的值,例如0xfeff,也就是第二内部转发指向标识,然后再发送给主控板,主控板在接收到第二Up CMF报文,获知其 etype域值为0xfeff,从而断定第二内向连通性故障管理报文包含第二内部转发指向标识,进而确定对第二Up CMF报文的处理为终结处理,而不是将其转发给其他的网络数据交换设备。In the above step S301, the main control board of the first network data switching device sends the second inbound connectivity fault management message to the inbound maintenance endpoint line card on the first network data switching device, including: the first network data switching device The main control board determines whether the second inbound connectivity fault management message includes the second internal forwarding direction identifier, and if not, sends the inbound maintenance endpoint line card to the first network data switching device; the inbound maintenance endpoint line card receives the first After the second inbound connectivity fault management packet, the processing includes: setting a second internal forwarding direction identifier for the second inbound connectivity fault management packet; and inbound maintaining the endpoint line card to report the second inbound connectivity fault management packet After the message is sent to the main control board, the main control board terminates the second inbound connectivity fault management message, including: the main control board of the first network data switching device determines whether the second inbound connectivity fault management message contains the second internal forwarding direction The identifier, if any, performs termination processing on the second inbound connectivity fault management message. The second internal forwarding direction identifier may be a separate identifier, or may be borrowed from an attribute parameter of the second Up CMF message, such as an etype (Ethernet type) field value of the second Up CMF message. Further, the etype field value 0xfeff can be set to the second internal forwarding direction identifier. If the etype field in the second UpCMF packet is a standard etype field value that is required for the first network data switching device to interact with other network data switching devices, that is, 0x8902, the main control board can pass the etype field. The value determines that the second Up CMF message does not include the second internal forwarding direction identifier, so as to determine that the processing of the second Up CMF message is forwarded to the inbound maintenance endpoint line card instead of terminating the second Up CMF message. After the main control board sends the second Up CMF message to the inbound maintenance endpoint line card, the inbound maintenance endpoint line card modifies the etype field value of the second Up CMF message to the internal link of the first network data switching device. The required value, for example, 0xfeff, that is, the second internal forwarding direction identifier, is then sent to the main control board, and the main control board receives the second Up CMF message, and learns about it. The value of the etype field is 0xfeff, so that the second inbound connectivity fault management packet includes the second internal forwarding direction identifier, and then determines that the processing of the second Up CMF packet is terminated, instead of forwarding it to other network data. Switching equipment.
实施例二:Embodiment 2:
本实施例提供一种Up CMF报文处理方法,请参见图4,包括如下步骤:This embodiment provides an Up CMF packet processing method. Referring to FIG. 4, the method includes the following steps:
步骤S401:第一网络数据交换设备的主控板根据第一内向连通性故障管理报文的配置参数生成第一内向连通性故障管理报文;Step S401: The main control board of the first network data switching device generates a first inbound connectivity fault management message according to the configuration parameter of the first inbound connectivity fault management packet.
步骤S402:第一网络数据交换设备将第一内向连通性故障管理报文发送给第二网络数据交换设备;Step S402: The first network data switching device sends the first inbound connectivity fault management message to the second network data switching device.
步骤S403:第二网络数据交换设备接收第一内向连通性故障管理报文,并终结第一内向连通性故障管理报文。Step S403: The second network data switching device receives the first inbound connectivity fault management packet and terminates the first inbound connectivity fault management packet.
在上述步骤S403中,可由第二网络数据交换设备的主控板终结第一内向连通性故障管理报文。In the above step S403, the first inbound connectivity fault management message may be terminated by the main control board of the second network data switching device.
实施例三:Embodiment 3:
本实施例提供一种网络数据交换设备,请参见图5,该网络数据交换设备包括主控板501,主控板包括处理器5011、报文处理电路5012,处理器5011用于配置第一内向连通性故障管理报文参数,报文处理电路5012或处理器5011根据第一内向连通性故障管理报文配置参数生成第一内向连通性故障管理报文,具体是由处理器5011还是报文处理电路5012根据配置参数生成第一内向连通性故障管理报文,需要根据需要生成的第一Up CMF报文的类型确定,例如快速Up CMF报文需由报文处理电路5012生成,而慢速Up CMF报文即可以由处理器5011生成,又可以由报文处理电路5012生成。在生成第一内向连通性故障管理报文后,将第一内向连通性故障管理文发送给对端的其他网络数据交换设备。本实施例中的报文处理电路可以为FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable logic arrays,可编程逻辑阵列)等。 This embodiment provides a network data switching device. Referring to FIG. 5, the network data switching device includes a main control board 501. The main control board includes a processor 5011 and a message processing circuit 5012. The processor 5011 is configured to configure the first inbound direction. The connectivity fault management packet parameter, the packet processing circuit 5012 or the processor 5011 generates a first inbound connectivity fault management packet according to the first inbound connectivity fault management packet configuration parameter, specifically, the processor 5011 or the packet processing The circuit 5012 generates a first inbound connectivity fault management packet according to the configuration parameter, and needs to be determined according to the type of the first Up CMF packet to be generated, for example, the fast Up CMF packet needs to be generated by the packet processing circuit 5012, and the slow Up is generated. The CMF message may be generated by the processor 5011 or by the message processing circuit 5012. After the first inbound connectivity fault management packet is generated, the first inbound connectivity fault management document is sent to other network data switching devices of the peer end. The message processing circuit in this embodiment may be an FPGA (Field-Programmable Gate Array), a PLA (Programmable Logic Array), or the like.
在本实施例中,还提供了另一种网络数据交换设备,请参见图6,该网络数据交换设备除包括上述的主控板501之外,还包括内向维护端点线卡502,主控板501还包括交换芯片5013,处理器5011或报文处理电路5012在生成第一内向连通性故障管理报文后,将其发送给交换芯片5013,交换芯片5013用于在接收来自处理器5011或报文处理电路5012生成的第一内向连通性故障管理报文后,将该第一内向连通性故障管理报文发送给内向维护端点线卡502,内向维护端点线卡502在接收该第一内向连通性故障管理报文后,对其进行处理,并发送给主控板的交换芯片5013,交换芯片5013将内向维护端点线卡502处理后的第一内向连通性故障管理报文发送给对端的其他网络数据交换设备。在本实施例中,内向维护端点线卡502在接收第一内向连通性故障管理报文后,对其进行的处理可包括对第一内向连通性故障管理报文的etype域值进行修改。在本实施例中,内向维护端点线卡可以为UNI(user network interface,用户网络接口)线卡。In this embodiment, another network data exchange device is also provided. Referring to FIG. 6, the network data switching device includes an inbound maintenance endpoint line card 502 and a main control board in addition to the main control board 501. The 501 further includes a switch chip 5013. The processor 5011 or the message processing circuit 5012 sends the first inbound connectivity fault management message to the switch chip 5013 for receiving the processor 5011 or the report. After the first inbound connectivity fault management message generated by the text processing circuit 5012, the first inbound connectivity fault management message is sent to the inbound maintenance endpoint line card 502, and the inbound maintenance endpoint line card 502 receives the first inbound connection. After the fault management packet is processed, it is sent to the switch chip 5013 of the main control board, and the switch chip 5013 sends the first inbound connectivity fault management packet processed by the inbound maintenance endpoint line card 502 to the peer. Network data exchange equipment. In this embodiment, after the inbound maintenance endpoint line card 502 receives the first inbound connectivity fault management packet, the processing may include modifying the etype field value of the first inbound connectivity fault management packet. In this embodiment, the inbound maintenance endpoint line card may be a UNI (user network interface) line card.
在本实施例中,处理器5011或报文处理电路5012还接收其他网络数据交换设备发送的第二内向连通性故障管理报文,并对所述第二内向连通性故障管理报文执行终结处理。由处理器5011还是报文处理电路5012接收第二内向连通性故障管理报文并执行终结处理,需根据第二内向连通性故障管理报文的类型确定,一般慢速Up CMF报文由处理器接收并终结,快速UpCMF报文由报文处理电路接收并终结。In this embodiment, the processor 5011 or the packet processing circuit 5012 further receives the second inbound connectivity fault management packet sent by the other network data switching device, and performs termination processing on the second inbound connectivity fault management packet. . The second inbound connectivity fault management packet is received by the processor 5011 or the packet processing circuit 5012, and the final processing is performed according to the type of the second inbound connectivity fault management packet. Generally, the slow Up CMF packet is processed by the processor. Receive and terminate, the fast UpCMF message is received and terminated by the message processing circuit.
在本实施例中,当网络数据交换设备还包括内向维护端点线卡502,主控板501还包括交换芯片5013时,交换芯片5013还可用于接收第二内向连通性故障管理报文,并在接收第二内向连通性故障管理报文之后,将第二内向连通性故障管理报文发送给内向维护端点线卡502,内向维护端点线卡502接收第二内向连通性故障管理报文后,对所述第二内向连通性故障管理报文进行处理并发送给主控板501的交换芯片5013,交换芯片5013接收到内向维护端点线卡502处理后发出的第二内向连通性故障管理报文后,将其发送给处理器5011或报文处理电路5012,由处理器5011或报文处理电路5012完成对第二内向连通性故障管理报文的终结处理。 In this embodiment, when the network data exchange device further includes an inbound maintenance endpoint line card 502, and the main control board 501 further includes the switch chip 5013, the switch chip 5013 is further configured to receive the second inbound connectivity fault management message, and After receiving the second inbound connectivity fault management packet, the second inbound connectivity fault management packet is sent to the inbound maintenance endpoint line card 502, and after the inbound maintenance endpoint line card 502 receives the second inbound connectivity fault management packet, The second inbound connectivity fault management packet is processed and sent to the switch chip 5013 of the main control board 501. After the switch chip 5013 receives the second inbound connectivity fault management packet sent by the inbound maintenance endpoint line card 502, And sending it to the processor 5011 or the message processing circuit 5012, and the processor 5011 or the message processing circuit 5012 completes the termination process of the second inbound connectivity fault management message.
实施例四:Embodiment 4:
本实施例提供了一种Up CMF报文处理系统,请参见图7,该Up CMF报文处理系统包括第一网络数据交换设备701和第二网络数据交换设备702,第一网络数据交换设备701包括第一主控板7011,第一主控板7011包括第一处理器70111和第一报文处理电路70112;第一处理器70111用于配置第一内向连通性故障管理报文参数,第一处理器70111或第一报文处理电路70112根据第一内向连通性故障管理报文配置参数生成第一内向连通性故障管理报文,在生成第一内向连通性故障管理报文后,将其发送给第二网络数据交换设备702进行终结处理。The present embodiment provides an Up CMF packet processing system. Referring to FIG. 7, the Up CMF packet processing system includes a first network data switching device 701 and a second network data switching device 702. The first network data switching device 701 The first main control board 7011 includes a first processor 70111 and a first message processing circuit 70112. The first processor 70111 is configured to configure a first inbound connectivity fault management message parameter. The processor 70111 or the first packet processing circuit 70112 generates a first inbound connectivity fault management packet according to the first inbound connectivity fault management packet configuration parameter, and sends the first inbound connectivity fault management packet after the first inbound connectivity fault management packet is generated. The second network data exchange device 702 is terminated.
在本实施例中,还提供了另一种Up CMF报文处理系统,请参见图8,在该Up CMF报文处理系统中,第二网络数据交换设备702还包括第二主控板7021,第二主控板7021包括第二处理器70211和第二报文处理电路70212,第二处理器70211或第二报文处理电路70212对第一内向连通性故障管理报文执行终结处理。In this embodiment, another Up CMF packet processing system is provided. Referring to FIG. 8, in the Up CMF packet processing system, the second network data switching device 702 further includes a second main control board 7021. The second main control board 7021 includes a second processor 70211 and a second message processing circuit 70212. The second processor 70211 or the second message processing circuit 70212 performs termination processing on the first inbound connectivity fault management message.
实施例五:Embodiment 5:
本实施例提供一种Up CMF报文处理方法,在本实施例中,以承载PTN网络接入层设备代表本发明实施例中的网络数据交换设备,请参见图9和图10,图9为本发明实施例提供的Up CMF报文处理方法的流程示意图,图10为本发明实施例提供的Up CMF报文处理方法中的承载PTN网络接入层设备A和承载PTN网络接入层设备B的结构示意图,该方法具体包括如下步骤:This embodiment provides an Up CMF packet processing method. In this embodiment, the PTN network access layer device is used to represent the network data switching device in the embodiment of the present invention. Referring to FIG. 9 and FIG. 10, FIG. 9 is A schematic flowchart of a method for processing an Up CMF packet according to an embodiment of the present invention. FIG. 10 is a device for processing a PTN network access layer and a device for carrying a PTN network access layer in an Up CMF packet processing method according to an embodiment of the present invention. The structure diagram of the method specifically includes the following steps:
步骤S901:首先承载PTN网络接入层设备A的主控板的CPU和FPGA生成Up CMF报文。为了交换芯片识别Up CMF报文,定义Up CMF报文的etype域值为0xfefe作为第一内部转发指向标识。Up CMF报文和Down CMF报文均采用CPU和FPGA生成,它们的区别是所携带的报文的etype域值不一样。Step S901: First, the CPU and the FPGA of the main control board of the device A of the PTN network access layer device generate an Up CMF message. For the switch chip to identify the Up CMF packet, the etype field value of the Up CMF packet is defined as 0xfefe as the first internal forwarding direction identifier. Both the Up CMF packet and the Down CMF packet are generated by the CPU and the FPGA. The difference is that the etype field value of the carried packet is different.
其中主控板除了可以生成Up CMF报文和Down CMF报文之外,还可以生成其他的OAM报文,例如BFD报文、MPLS-TP OAM报文等。BFD报文 中含有周期、my discriminator、your discriminator等信息。MPLS-TP OAM报文中含有周期、meg id、mep id等信息。Down CMF报文和Up CMF报文含有周期、mel、ma id和mep id等信息。The main control board can generate other OAM packets, such as BFD packets and MPLS-TP OAM packets, in addition to Up CMF packets and Down CMF packets. BFD packet It contains information such as cycle, my discriminator, and your discriminator. The MPLS-TP OAM packet contains information such as the period, the meg id, and the mep id. The Down CMF packet and the Up CMF packet contain information such as the period, mel, ma id, and mep id.
步骤S902:承载PTN网络接入层设备A的主控板的交换芯片识别来自FPGA或CPU输入的etype为0xfefe的Up CMF报文,并将其转发到相应的Up mep线卡。主控板生成的其他OAM报文直接通过交换芯片发送给NNI线卡(网络网络接口线卡),再由NNI线卡发送给对端的承载PTN网络接入层设备B。Step S902: The switch chip carrying the main control board of the PTN network access layer device A identifies an Up CMF message with an etype of 0xfefe input from the FPGA or the CPU, and forwards it to the corresponding Up mep line card. The other OAM packets generated by the main control board are directly sent to the NNI line card (network network interface line card) through the switch chip, and then sent by the NNI line card to the peer end carrying the PTN network access layer device B.
由于在主控板到Up mep线卡的业务端口增加了Up CMF报文的收发,为了不影响业务带宽,适当减小业务端口报文最小帧间隙,拓展出一定的带宽用于Up CMF报文的收发。The Up CMF packet is sent and received on the service port of the main control board to the Up mep line card. To avoid the service bandwidth, the minimum frame gap of the service port packet is reduced. The bandwidth is extended for Up CMF packets. Send and receive.
步骤S903:承载PTN网络接入层设备A的Up mep线卡上的FPGA接收主控板的交换芯片发送过来的Up CMF报文。Up mep线卡上的FPGA将UpCMF报文的etype域值修改为0x8902,然后再返送给主控板。Step S903: The FPGA on the Up mep line card carrying the PTN network access layer device A receives the Up CMF message sent by the switch chip of the main control board. The FPGA on the Up mep line card changes the etype field value of the UpCMF packet to 0x8902, and then returns it to the main control board.
步骤S904:承载PTN网络接入层设备A的主控板的交换芯片识别来自Upmep线卡的etype域值为0x8902的Up CMF报文,断定该报文内不包含第一内部转发指向标识,将其转发到相应的NNI线卡,并从NNI线卡相应端口发往对端承载PTN网络接入层设备B。Step S904: The switch chip of the main control board of the PTN network access layer device A identifies an Up CMF packet with an etype field value of 0x8902 from the Upmep line card, and determines that the first internal forwarding direction identifier is not included in the packet. It is forwarded to the corresponding NNI line card, and sent from the corresponding port of the NNI line card to the opposite end carrying the PTN network access layer device B.
步骤S905:承载PTN网络接入层设备B的NNI线卡接收到来自对端承载PTN网络接入层设备A的NNI线卡发来的etype域值为0x8902的Up CMF报文后,将其透传到承载PTN网络接入层设备B的主控板交换芯片。Step S905: The NNI line card carrying the PTN network access layer device B receives the Up CMF message with the etype field value of 0x8902 sent from the NNI line card of the PTN network access layer device A. It is transmitted to the main control board switch chip that carries the PTN network access layer device B.
步骤S906:承载PTN网络接入层设备B的主控板的交换芯片将来自NNI线卡的etype域值为0x8902的Up CMF报文转发给承载PTN网络接入层设备B的Up mep线卡。Step S906: The switch chip carrying the main control board of the PTN network access layer device B forwards the Up CMF message with the etype field value of 0x8902 from the NNI line card to the Up mep line card carrying the PTN network access layer device B.
步骤S907:承载PTN网络接入层设备B的Up mep线卡的FPGA接收UpCMF报文,并将其etype域值由0x8902修改成0xfeff后转发给主控板的交换芯片。Step S907: The FPGA that carries the Up mep line card of the PTN network access layer device B receives the UpCMF packet, and the etype field value is modified from 0x8902 to 0xfeff and then forwarded to the switch chip of the main control board.
步骤S908:承载PTN网络接入层设备B主控板的交换芯片接收来自Up mep线卡的etype域值为0xfeff的Up CMF报文,断定该Up CMF报文包含第二内部转发指向标识,将其转发给主控板的Up CMF的处理器或报文处理电路。Step S908: The switch chip carrying the PTN network access layer device B main control board receives from Up The Up CMF packet with the etype field value of the mep line card of 0xfeff determines that the Up CMF message contains the second internal forwarding direction identifier and forwards it to the processor or packet processing circuit of the Up CMF of the main control board.
步骤S909:承载PTN网络接入层设备B主控板的CPU或FPGA接收来自交换芯片的Up CMF报文,并对其执行终结处理。Step S909: The CPU or FPGA that carries the PTN network access layer device B main control board receives the Up CMF message from the switch chip, and performs termination processing on the same.
实施例六:Example 6:
本实施例提供了一种网络数据交换设备,请参见图11,该网络数据交换设备包括主控板1101,主控板1101包括第一报文生成模块11011和第一报文发送模块11012;第一报文生成模块11011用于根据第一内向连通性故障管理报文的配置参数生成第一内向连通性故障管理报文;第一报文发送模块11012用于将第一内向连通性故障管理报文发送给对端的其他网络数据交换设备。The embodiment provides a network data exchange device. Referring to FIG. 11, the network data exchange device includes a main control board 1101, and the main control board 1101 includes a first packet generation module 11011 and a first packet sending module 11012. A message generating module 11011 is configured to generate a first inbound connectivity fault management packet according to a configuration parameter of the first inbound connectivity fault management packet, where the first packet sending module 11012 is configured to use the first inbound connectivity fault management report. The text is sent to other network data exchange devices on the peer end.
在本实施例中,还提供了另一种网络数据交换设备,请参见图12,该网络数据交换设备除包括图11中的主控板1101中的各模块之外,还包括:第二报文接收模块11013和第二报文终结模块11014;第二报文接收模块11013用于接收对端的其他网络数据交换设备发送的第二内向连通性故障管理报文;第二报文终结模块11014用于终结第二内向连通性故障管理报文。In this embodiment, another network data exchange device is also provided. Referring to FIG. 12, the network data exchange device includes: second report, in addition to each module in the main control board 1101 in FIG. The second packet receiving module 11013 is configured to receive the second inbound connectivity fault management packet sent by the other network data switching device at the opposite end; the second packet termination module 11014 is used by the second packet receiving module 11013. Ending the second inbound connectivity fault management message.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来 实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。Each device/function module/functional unit in the above embodiments may use a general-purpose computing device. Implementations can be centralized on a single computing device or distributed across a network of multiple computing devices.
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求所述的保护范围为准。Variations or substitutions are readily conceivable within the scope of the present invention by those skilled in the art and are within the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.
工业实用性Industrial applicability
本发明公开的技术方案,由网络数据交换设备的主控板根据第一内向连通性故障管理报文的配置参数生成第一内向连通性故障管理报文,由所述主控板根据报文标识发送给内向维护端点线卡或其它网络数据交换设备,不需要在内向维护端点线卡上单独产生一套报文生成机制,又充分利用了主控板生成报文的特性,使得整个网络数据交换设备的硬件和软件设计更简单化。 According to the technical solution of the present invention, the main control board of the network data exchange device generates the first inbound connectivity fault management packet according to the configuration parameter of the first inbound connectivity fault management packet, and the main control board identifies the packet according to the packet. Sending to the inbound maintenance endpoint line card or other network data switching device does not require a separate packet generation mechanism on the inbound maintenance endpoint line card, and fully utilizes the characteristics of the main control board to generate packets, so that the entire network data exchange The hardware and software design of the device is simpler.

Claims (21)

  1. 一种内向连通性故障管理(Up CMF)报文处理方法,包括:An inbound connectivity fault management (Up CMF) packet processing method, including:
    第一网络数据交换设备的主控板根据第一内向连通性故障管理报文的配置参数生成第一内向连通性故障管理报文。The main control board of the first network data switching device generates a first inbound connectivity fault management message according to the configuration parameter of the first inbound connectivity fault management packet.
  2. 如权利要求1所述的方法,还包括:所述第一网络数据交换设备将所述第一内向连通性故障管理报文发送给第二网络数据交换设备。The method of claim 1 further comprising the first network data switching device transmitting the first inbound connectivity fault management message to the second network data switching device.
  3. 如权利要求2所述的方法,其中,所述第一网络数据交换设备将所述第一内向连通性故障管理报文发送给第二网络数据交换设备包括:The method of claim 2, wherein the transmitting, by the first network data switching device, the first inbound connectivity fault management message to the second network data switching device comprises:
    所述第一网络数据交换设备的主控板将所述第一内向连通性故障管理报文发送给所述第一网络数据交换设备上的内向维护端点线卡;The main control board of the first network data switching device sends the first inbound connectivity fault management packet to an inbound maintenance endpoint line card on the first network data switching device;
    所述内向维护端点线卡接收所述第一内向连通性故障管理报文并对所述第一内向连通性故障管理报文进行处理后发送给所述主控板;Receiving, by the inbound maintenance endpoint line card, the first inbound connectivity fault management packet, and processing the first inbound connectivity fault management packet, and sending the first inbound connectivity fault management packet to the main control board;
    所述第一网络数据交换设备的主控板将来自所述内向维护端点线卡处理后的第一内向连通性故障管理报文发送给所述第二网络数据交换设备。The main control board of the first network data switching device sends the first inbound connectivity fault management message processed by the inbound maintenance endpoint line card to the second network data switching device.
  4. 如权利要求3所述的方法,其中,在所述第一网络数据交换设备的主控板将所述第一内向连通性故障管理报文发送给所述第一网络数据交换设备上的内向维护端点线卡之前还包括:为所述第一内向连通性故障管理报文设置第一内部转发指向标识;The method of claim 3, wherein the main control board of the first network data switching device sends the first inbound connectivity fault management message to the inbound maintenance on the first network data switching device The endpoint line card further includes: setting a first internal forwarding direction identifier for the first inbound connectivity fault management message;
    所述第一网络数据交换设备的主控板将所述第一内向连通性故障管理报文发送给所述第一网络数据交换设备上的内向维护端点线卡包括:所述第一网络数据交换设备的主控板判断所述第一内向连通性故障管理报文是否含有第一内部转发指向标识;若所述第一内向连通性故障管理报文包含第一内部转发指向标识,则发送给所述第一网络数据交换设备上的内向维护端点线卡;And sending, by the main control board of the first network data switching device, the first inbound connectivity fault management packet to the inbound maintenance endpoint line card on the first network data switching device: the first network data exchange The main control board of the device determines whether the first inbound connectivity fault management message includes a first internal forwarding direction identifier; and if the first inbound connectivity fault management packet includes a first internal forwarding direction identifier, An inbound maintenance endpoint line card on the first network data switching device;
    所述内向维护端点线卡在接收所述第一内向连通性故障管理报文后,对所述第一内向连通性故障管理报文进行的处理包括:去除所述第一内部转发指向标识;After the inbound maintenance endpoint line card receives the first inbound connectivity fault management packet, the processing of the first inbound connectivity fault management packet includes: removing the first internal forwarding direction identifier;
    所述第一网络数据交换设备的主控板将来自所述内向维护端点线卡的第一内向连通性故障管理报文发送给所述第二网络数据交换设备包括:所述第 一网络数据交换设备的主控板判断所述第一内向连通性故障管理报文是否含有第一内部转发指向标识;若所述第一内向连通性故障管理报文不包含第一内部转发指向标识,则发送给所述第二网络数据交换设备。The sending, by the main control board of the first network data switching device, the first inbound connectivity fault management packet from the inbound maintenance endpoint line card to the second network data switching device includes: The main control board of the network data switching device determines whether the first inbound connectivity fault management message includes a first internal forwarding direction identifier; if the first inbound connectivity fault management message does not include the first internal forwarding direction identifier And sent to the second network data switching device.
  5. 如权利要求1-4任一项所述的方法,还包括:The method of any of claims 1-4, further comprising:
    所述第一网络数据交换设备接收自身之外的其他网络数据交换设备发送的第二内向连通性故障管理报文;The first network data switching device receives a second inbound connectivity fault management message sent by another network data switching device other than itself;
    所述第一网络数据交换设备的主控板终结所述第二内向连通性故障管理报文。The main control board of the first network data switching device terminates the second inbound connectivity fault management message.
  6. 如权利要求5所述的方法,其中,所述第一网络数据交换设备接收自身之外的其他网络数据交换设备发送的第二内向连通性故障管理报文包括:The method of claim 5, wherein the receiving, by the first network data switching device, the second inbound connectivity fault management message sent by the network data switching device other than itself comprises:
    所述第一网络数据交换设备的主控板接收所述第二内向连通性故障管理报文;The main control board of the first network data switching device receives the second inbound connectivity fault management message;
    所述主控板将所述第二内向连通性故障管理报文发送给所述第一网络数据交换设备上的内向维护端点线卡;Sending, by the main control board, the second inbound connectivity fault management packet to an inbound maintenance endpoint line card on the first network data switching device;
    所述内向维护端点线卡接收所述第二内向连通性故障管理报文并对所述第二内向连通性故障管理报文进行处理,将处理后的第二内向连通性故障管理报文发送给所述第一网络数据交换设备上的主控板。The inbound maintenance endpoint line card receives the second inbound connectivity fault management packet and processes the second inbound connectivity fault management packet, and sends the processed second inbound connectivity fault management packet to the The main control board on the first network data switching device.
  7. 如权利要求6所述的方法,其中,所述主控板将所述第二内向连通性故障管理报文发送给所述第一网络数据交换设备上的内向维护端点线卡包括:所述第一网络数据交换设备的主控板判断所述第二内向连通性故障管理报文是否含有第二内部转发指向标识;如果所述第二内向连通性故障管理报文不包含第二内部转发指向标识,则发送给所述第一网络数据交换设备上的内向维护端点线卡;The method of claim 6, wherein the transmitting, by the main control board, the second inbound connectivity fault management message to the inbound maintenance endpoint line card on the first network data switching device comprises: The main control board of the network data switching device determines whether the second inbound connectivity fault management message includes a second internal forwarding direction identifier; if the second inbound connectivity fault management message does not include the second internal forwarding direction identifier And sending to the inbound maintenance endpoint line card on the first network data switching device;
    在所述内向维护端点线卡接收所述第二内向连通性故障管理报文后,对所述第二内向连通性故障管理报文进行的处理包括:为所述第二内向连通性故障管理报文设置第二内部转发指向标识;After the inbound maintenance endpoint line card receives the second inbound connectivity fault management packet, the processing of the second inbound connectivity fault management packet includes: processing the second inbound connectivity fault management packet Setting a second internal forwarding pointing identifier;
    在所述内向维护端点线卡将所述第二内向连通性故障管理报文发送给所述主控板之后,所述主控板终结所述第二内向连通性故障管理报文包括:所 述第一网络数据交换设备的主控板判断所述第二内向连通性故障管理报文是否含有第二内部转发指向标识,如果所述第二内向连通性故障管理报文包含第二内部转发指向标识,则执行对所述第二内向连通性故障管理报文的终结处理。After the inbound maintenance endpoint line card sends the second inbound connectivity fault management packet to the main control board, the main control board terminates the second inbound connectivity fault management message, including: The main control board of the first network data switching device determines whether the second inbound connectivity fault management message includes a second internal forwarding direction identifier, if the second inbound connectivity fault management message includes a second internal forwarding direction And performing termination processing on the second inbound connectivity fault management message.
  8. 一种内向连通性故障管理(Up CMF)报文处理方法,包括:An inbound connectivity fault management (Up CMF) packet processing method, including:
    第二网络数据交换设备接收第一网络数据交换设备发送的第一内向连通性故障管理报文,并终结所述第一内向连通性故障管理报文;Receiving, by the second network data switching device, the first inbound connectivity fault management packet sent by the first network data switching device, and terminating the first inbound connectivity fault management packet;
    其中,所述第一内向连通性故障管理报文是由所述第一网络数据交换设备的主控板根据所述第一内向连通性故障管理报文的配置参数生成的。The first inbound connectivity fault management packet is generated by the main control board of the first network data switching device according to the configuration parameter of the first inbound connectivity fault management packet.
  9. 如权利要求8所述的方法,其中,所述第二网络数据交换设备接收所述第一内向连通性故障管理报文,并终结所述第一内向连通性故障管理报文包括:所述第二网络数据交换设备接收所述第一内向连通性故障管理报文,并由所述第二网络数据交换设备的主控板终结所述第一内向连通性故障管理报文。The method of claim 8, wherein the receiving, by the second network data switching device, the first inbound connectivity fault management message, and terminating the first inbound connectivity fault management message comprises: The second network data switching device receives the first inbound connectivity fault management packet, and terminates the first inbound connectivity fault management packet by the main control board of the second network data switching device.
  10. 一种网络数据交换设备,包括主控板,所述主控板包括第一报文生成模块;A network data exchange device includes a main control board, where the main control board includes a first message generation module;
    所述第一报文生成模块设置为根据第一内向连通性故障管理报文的配置参数生成第一内向连通性故障管理报文。The first packet generating module is configured to generate a first inbound connectivity fault management packet according to the configuration parameter of the first inbound connectivity fault management packet.
  11. 如权利要求10所述的网络数据交换设备,其中,所述主控板还包括第一报文发送模块,所述第一报文发送模块设置为将所述第一内向连通性故障管理报文发送给对端的其他网络数据交换设备。The network data exchange device of claim 10, wherein the main control board further comprises a first message sending module, wherein the first message sending module is configured to set the first inbound connectivity fault management message Other network data exchange devices sent to the peer.
  12. 如权利要求10或11所述的网络数据交换设备,其中,所述主控板还包括:第二报文接收模块和第二报文终结模块;The network data exchange device of claim 10 or 11, wherein the main control board further comprises: a second message receiving module and a second message ending module;
    所述第二报文接收模块设置为接收对端的其他网络数据交换设备发送的第二内向连通性故障管理报文;The second packet receiving module is configured to receive a second inbound connectivity fault management packet sent by another network data switching device at the opposite end;
    所述第二报文终结模块设置为终结所述第二内向连通性故障管理报文。The second packet termination module is configured to terminate the second inbound connectivity fault management packet.
  13. 一种网络数据交换设备,包括主控板,所述主控板包括处理器、报文处理电路,所述处理器设置为配置第一内向连通性故障管理报文参数,所 述处理器或报文处理电路根据所述第一内向连通性故障管理报文配置参数生成第一内向连通性故障管理报文。A network data exchange device includes a main control board, where the main control board includes a processor and a message processing circuit, and the processor is configured to configure a first inbound connectivity fault management message parameter. The processor or the packet processing circuit generates a first inbound connectivity fault management message according to the first inbound connectivity fault management packet configuration parameter.
  14. 如权利要求13所述的网络数据交换设备,所述网络数据交换设备还设置为在生成所述第一内向连通性故障管理报文后,将所述第一内向连通性故障管理文发送给对端的其他网络数据交换设备。The network data exchange device according to claim 13, wherein the network data exchange device is further configured to: after generating the first inbound connectivity fault management message, send the first inbound connectivity fault management document to the pair Other network data exchange devices on the side.
  15. 如权利要求14所述的网络数据交换设备,还包括:内向维护端点线卡;所述主控板还包括交换芯片,所述处理器或报文处理电路设置为在生成所述第一内向连通性故障管理报文后,将所述第一内向连通性故障管理报文发送给所述交换芯片;所述交换芯片设置为在接收所述来自处理器或报文处理电路生成的所述第一内向连通性故障管理报文后,将所述第一内向连通性故障管理报文发送给所述内向维护端点线卡,所述内向维护端点线卡设置为在接收所述第一内向连通性故障管理报文后,对所述第一内向连通性故障管理报文进行处理,并发送给所述主控板的交换芯片;所述交换芯片设置为将所述第一内向连通性故障管理报文发送给对端的其他网络数据交换设备。The network data switching device of claim 14 further comprising: an inbound maintenance endpoint line card; said main control board further comprising a switch chip, said processor or message processing circuit being configured to generate said first inbound communication After the fault management message, the first inbound connectivity fault management message is sent to the switch chip; the switch chip is configured to receive the first generated by the processor or the message processing circuit After the inbound connectivity fault management packet is sent, the first inbound connectivity fault management packet is sent to the inbound maintenance endpoint line card, and the inbound maintenance endpoint line card is set to receive the first inbound connectivity fault. After the management packet, the first inbound connectivity fault management packet is processed and sent to the switch chip of the main control board; the switch chip is configured to set the first inbound connectivity fault management packet Other network data exchange devices sent to the peer.
  16. 如权利要求13-15任一项所述的网络数据交换设备,其中,所述处理器或报文处理电路设置为接收其他网络数据交换设备发送的第二内向连通性故障管理报文,并对所述第二内向连通性故障管理报文执行终结处理。The network data exchange device according to any one of claims 13 to 15, wherein the processor or the message processing circuit is configured to receive a second inbound connectivity fault management message sent by another network data switching device, and The second inbound connectivity fault management message performs a termination process.
  17. 如权利要求16所述的网络数据交换设备,其中,当所述网络数据交换设备还包括内向维护端点线卡,所述主控板还包括交换芯片时,所述交换芯片还设置为接收所述第二内向连通性故障管理报文,并将接收的所述第二内向连通性故障管理报文发送给所述内向维护端点线卡;所述内向维护端点线卡设置为接收所述第二内向连通性故障管理报文并对所述第二内向连通性故障管理报文进行处理,将处理后的第二内向连通性故障管理报文发送给所述主控板的交换芯片;所述交换芯片还设置为将接收到的所述内向维护端点线卡发送的第二内向连通性故障管理报文发送给所述处理器或报文处理电路;所述处理器或报文处理电路设置为对所述第二内向连通性故障管理报文进行终结处理。The network data exchange device according to claim 16, wherein when the network data switching device further includes an inbound maintenance endpoint line card, and the main control board further includes a switch chip, the switch chip is further configured to receive the a second inbound connectivity fault management packet, and the received second inbound connectivity fault management packet is sent to the inbound maintenance endpoint line card; the inbound maintenance endpoint line card is configured to receive the second inbound The connectivity fault management packet is processed, and the second inbound connectivity fault management packet is processed, and the processed second inbound connectivity fault management packet is sent to the switch chip of the main control board; the switch chip And sending, to the processor or the message processing circuit, the second inbound connectivity fault management message sent by the received inbound maintenance endpoint line card; the processor or the message processing circuit is set to The second inbound connectivity fault management packet is terminated.
  18. 一种内向连通性故障管理(Up CMF)报文处理系统,包括:第一网络数据交换设备和第二网络数据交换设备,第一网络数据交换设备包括第一主 控板,所述第一主控板包括第一处理器和第一报文处理电路;An inbound connectivity fault management (Up CMF) packet processing system, comprising: a first network data switching device and a second network data switching device, where the first network data switching device includes a first main a control board, the first main control board includes a first processor and a first message processing circuit;
    所述第一处理器设置为配置第一内向连通性故障管理报文参数,所述第一报文处理电路或第一处理器设置为根据所述第一内向连通性故障管理报文配置参数生成第一内向连通性故障管理报文,并将生成的所述第一内向连通性故障管理报文发送给所述第二网络数据交换设备进行终结处理。The first processor is configured to configure a first inbound connectivity fault management packet parameter, and the first packet processing circuit or the first processor is configured to generate a parameter according to the first inbound connectivity fault management packet configuration parameter. The first inbound connectivity fault management packet is sent, and the generated first inbound connectivity fault management packet is sent to the second network data switching device for termination processing.
  19. 如权利要求18所述的报文处理系统,其中,所述第二网络数据交换设备包括第二主控板,所述第二主控板包括第二处理器和第二报文处理电路,所述第二处理器或第二报文处理电路设置为对所述第一内向连通性故障管理报文执行终结处理。The packet processing system of claim 18, wherein the second network data switching device comprises a second main control board, and the second main control board comprises a second processor and a second message processing circuit. The second processor or the second message processing circuit is configured to perform termination processing on the first inbound connectivity fault management message.
  20. 一种计算机程序,包括程序指令,当该程序指令被第一网络数据交换设备执行时,使得该设备可实施权利要求1-7任一项的方法。A computer program comprising program instructions that, when executed by a first network data exchange device, cause the device to perform the method of any of claims 1-7.
  21. 一种载有权利要求20所述计算机程序的载体。 A carrier carrying the computer program of claim 20.
PCT/CN2015/072697 2014-09-25 2015-02-10 Inward-facing connectivity fault management packet processing method and system, and network data exchange device WO2016045302A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410499474.5 2014-09-25
CN201410499474.5A CN105515807B (en) 2014-09-25 2014-09-25 Up cfm message processing method and system and network data exchange equipment

Publications (1)

Publication Number Publication Date
WO2016045302A1 true WO2016045302A1 (en) 2016-03-31

Family

ID=55580211

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/072697 WO2016045302A1 (en) 2014-09-25 2015-02-10 Inward-facing connectivity fault management packet processing method and system, and network data exchange device

Country Status (2)

Country Link
CN (1) CN105515807B (en)
WO (1) WO2016045302A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194521B (en) * 2018-09-29 2021-12-07 新华三技术有限公司 Flow forwarding method and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355466A (en) * 2008-09-01 2009-01-28 中兴通讯股份有限公司 Method and apparatus for transmitting continuous check information message
CN101378333A (en) * 2008-10-08 2009-03-04 中兴通讯股份有限公司 System, apparatus and method for transmitting and receiving check information message continuously
CN102055624A (en) * 2010-12-30 2011-05-11 中兴通讯股份有限公司 Method and system for detecting connectivity fault
CN102185780A (en) * 2011-05-12 2011-09-14 中兴通讯股份有限公司 Operation, administration and maintenance (OAM) message processing method and device
US20140092751A1 (en) * 2012-09-28 2014-04-03 Broadcom Corporation Ethernet Operation and Maintenance (OAM) with Flexible Forwarding

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163057B (en) * 2007-11-20 2012-04-04 华为技术有限公司 Fault notifying method and apparatus, and service receiving method and apparatus
US8259590B2 (en) * 2007-12-21 2012-09-04 Ciena Corporation Systems and methods for scalable and rapid Ethernet fault detection
CN102447634B (en) * 2011-12-29 2014-12-03 华为技术有限公司 Method, device and system for transmitting message

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355466A (en) * 2008-09-01 2009-01-28 中兴通讯股份有限公司 Method and apparatus for transmitting continuous check information message
CN101378333A (en) * 2008-10-08 2009-03-04 中兴通讯股份有限公司 System, apparatus and method for transmitting and receiving check information message continuously
CN102055624A (en) * 2010-12-30 2011-05-11 中兴通讯股份有限公司 Method and system for detecting connectivity fault
CN102185780A (en) * 2011-05-12 2011-09-14 中兴通讯股份有限公司 Operation, administration and maintenance (OAM) message processing method and device
US20140092751A1 (en) * 2012-09-28 2014-04-03 Broadcom Corporation Ethernet Operation and Maintenance (OAM) with Flexible Forwarding

Also Published As

Publication number Publication date
CN105515807A (en) 2016-04-20
CN105515807B (en) 2020-09-08

Similar Documents

Publication Publication Date Title
US10469312B1 (en) Methods and apparatus for scalable resilient networks
US9130859B1 (en) Methods and apparatus for inter-virtual local area network multicast services
EP3154227B1 (en) Packet transmission method, node, path management server and storage medium
WO2018094616A1 (en) Method, device, and virtual network system for monitoring virtual network
US20140314078A1 (en) Forwarding multicast packets over different layer-2 segments
EP3854064B1 (en) Unique identities of endpoints across layer 3 networks
US9743367B2 (en) Link layer discovery protocol (LLDP) on multiple nodes of a distributed fabric
US10862735B2 (en) Method and apparatus for implementing operation, administration, and maintenance function
WO2019128273A1 (en) Method, device and system for determining connection relation of network devices
CN109246008A (en) The network equipment, system and the method for sending bgp information
EP4046351B1 (en) Rtps discovery in kubernetes
US10237124B2 (en) Network operation, administration, and maintenance (OAM) method, apparatus, and system
CN112787913B (en) Intelligent network card assembly, physical machine, cloud service system and message sending method
WO2015067144A1 (en) Method and apparatus for software disposition
US9065678B2 (en) System and method for pinning virtual machine adapters to physical adapters in a network environment
WO2016124117A1 (en) Method, switching device and network controller for protecting links in software-defined network (sdn)
US20130336129A1 (en) Multipurpose Use of Delay Measurement Message Buffer for Software Processing of Delay Measurement Response
WO2019041944A1 (en) Method and apparatus for processing packets
CN109728926A (en) Communication means and the network equipment
WO2016045302A1 (en) Inward-facing connectivity fault management packet processing method and system, and network data exchange device
US20190205776A1 (en) Techniques for policy-controlled analytic data collection in large-scale systems
KR20220037444A (en) Systems and methods for providing bidirectional forwarding detection using performance routing metrics
US8614958B2 (en) Systems and methods of snooping connectivity fault messages to configure maintenance end point for alarm suppression messages
CN105763347B (en) For method getparms, the network equipment and system
US10397143B1 (en) Preventing transmission of errors in a computing network

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: 15845285

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15845285

Country of ref document: EP

Kind code of ref document: A1