CN105515807B - Up cfm message processing method and system and network data exchange equipment - Google Patents

Up cfm message processing method and system and network data exchange equipment Download PDF

Info

Publication number
CN105515807B
CN105515807B CN201410499474.5A CN201410499474A CN105515807B CN 105515807 B CN105515807 B CN 105515807B CN 201410499474 A CN201410499474 A CN 201410499474A CN 105515807 B CN105515807 B CN 105515807B
Authority
CN
China
Prior art keywords
inward
fault management
connectivity fault
network data
management message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410499474.5A
Other languages
Chinese (zh)
Other versions
CN105515807A (en
Inventor
张琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410499474.5A priority Critical patent/CN105515807B/en
Priority to PCT/CN2015/072697 priority patent/WO2016045302A1/en
Publication of CN105515807A publication Critical patent/CN105515807A/en
Application granted granted Critical
Publication of CN105515807B publication Critical patent/CN105515807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The invention discloses a method and a system for processing an up cfm message and network data exchange equipment, wherein the method for processing the up cfm message comprises the following steps: and the main control board of the first network data exchange equipment generates a first inward connectivity fault management message according to the configuration parameters of the first inward connectivity fault management message. In the up cfm message processing method, the main control board generates an up cfm message. In the prior art, the message generated on the line card of the inward maintenance endpoint only has an up cfm message, and the main control board needs to generate other messages, so that the main control board generates the up cfm message, on one hand, a set of message generation mechanism does not need to be generated on the line card of the inward maintenance endpoint independently, on the other hand, the characteristic of the main control board generating the message is fully utilized, and the hardware and software design of the whole network data exchange equipment is simpler.

Description

Up cfm message processing method and system and network data exchange equipment
Technical Field
The invention relates to the field of communication, in particular to a method and a system for processing an up cfm message and network data exchange equipment.
Background
Oam (Operation, Administration and Maintenance) technology in the communication field relates to the generation and termination of Up cfm (Up Connectivity Fault Management) messages in cfm (Connectivity Fault Management) messages. Of which cfm is a network-level ethernet oam technology.
In a communication network, the Ethernet oam technology can effectively improve the management and maintenance capability of the Ethernet and ensure the stable operation of the network. The service layer ethernet oam technology cfm is mostly applied to an access convergence layer of a network, and is used for monitoring the connectivity of the whole network and locating the connectivity fault of the network. The cfm messages are divided into Down cfm (downlink Connectivity fault management) messages and up cfm messages, and the up cfm messages are initiated and terminated at up mep (inward maintenance endpoint). mep refers to the maintenance end point of the maintenance domain, which determines the scope and boundary of the maintenance domain. The maintenance end points have directionality and are divided into an outward maintenance end point (downmep) and an inward maintenance end point (up mep). The direction of the maintenance end point indicates the location of the maintenance domain relative to the port. The outward maintenance end point sends out the message through the port where the outward maintenance end point is located, and the inward maintenance end point does not send out the message through the port where the inward maintenance end point is located, but sends out the message through other ports on the equipment.
At present, for the generation and termination of oam messages, except that an up cfm message needs to generate and terminate at an up mep, other oam messages include mpls-tp (Multi-Protocol Label Switching-Transport Architecture) oam messages, bfd (Bidirectional Forwarding Detection) messages and down cfm messages, which are all generated and initiated from a main control board and sent to an opposite-end node main control board through an NNI (network network network interface) line for termination, and only the up cfm message needs to be generated and terminated at the up mep line card, but a set of message generation termination mechanism is generated at the up mep alone, which complicates the hardware and software design of the whole system and consumes more resources, and also brings restriction to line cards for development.
Disclosure of Invention
The invention aims to solve the main technical problem of providing an up cfm message processing method, a system and network data exchange equipment, and solves the problem that in the prior art, hardware and software design of the whole system is complicated because a set of message generation and termination mechanism is independently generated on an up mep line card.
In order to solve the technical problem, the invention provides a method for processing an up cfm message, which comprises the following steps: and the main control board of the first network data exchange equipment generates a first inward connectivity fault management message according to the configuration parameters of the first inward connectivity fault management message.
Further, the up cfm message processing method further includes: and the first network data switching equipment sends the first inward connectivity fault management message to second network data switching equipment of the opposite terminal.
Further, the sending, by the first network data switching device, the first inward connectivity fault management packet to the second network data switching device includes: the main control board of the first network data exchange equipment sends the first inward connectivity fault management message to an inward maintenance end line card on the first network data exchange equipment; the inward maintenance end line card receives and processes the first inward connectivity fault management message and then sends the first inward connectivity fault management message to the main control board; and the main control board of the first network data switching equipment sends the first inward connectivity fault management message from the inward maintenance end point line card to the second network data switching equipment.
Further, before the main control board of the first network data switching device sends the first inward connectivity fault management packet to the inward maintenance end point line card on the first network data switching device, the method further includes: setting a first internal forwarding pointing identifier for the first internal connectivity fault management message; the main control board of the first network data switching device sending the first inward connectivity fault management message to an inward maintenance end line card on the first network data switching device includes: the main control board of the first network data exchange equipment judges whether the first inward connectivity fault management message contains a first inward forwarding pointing identifier, and if so, the first inward connectivity fault management message is sent to an inward maintenance endpoint line card on the first network data exchange equipment; after the inward maintenance end point line card receives the first inward connectivity fault management message, the processing of the first inward connectivity fault management message comprises the following steps: removing the first internal forwarding pointing identifier; the method for sending the first inward connectivity fault management message from the inward maintenance end point line card to the second network data switching equipment by the main control board of the first network data switching equipment comprises the following steps: and the main control board of the first network data exchange equipment judges whether the first inward connectivity fault management message contains a first inward forwarding pointing identifier or not, and if not, the first inward connectivity fault management message is sent to the second network data exchange equipment.
In an embodiment of the present invention, the up cfm packet processing method may further receive a second inward connectivity fault management packet and perform termination processing, including: the first network data exchange equipment receives a second inward connectivity fault management message sent by other network data exchange equipment except the first network data exchange equipment; and the main control board of the first network data switching equipment terminates the second inward connectivity fault management message.
Further, the receiving, by the first network data switching device, the second inward connectivity fault management message sent by the other network data switching device except the first network data switching device itself includes: the main control board of the first network data exchange equipment receives the second inward connectivity fault management message; the main control board sends the second inward connectivity fault management message to an inward maintenance end line card on the first network data switching equipment; and the inward maintenance end point line card receives and processes the second inward connectivity fault management message and then sends the second inward connectivity fault management message to the main control board on the first network data exchange equipment.
Further, the sending, by the main control board, the second inward connectivity fault management packet to the inward maintenance end line card on the first network data switching device includes: the main control board of the first network data exchange equipment judges whether the second inward connectivity fault management message contains a second inward forwarding pointing identifier or not, and if not, the second inward connectivity fault management message is sent to an inward maintenance endpoint line card on the first network data exchange equipment; after the inward maintenance end point line card receives the second inward connectivity fault management message, the processing of the second inward connectivity fault management message comprises the following steps: setting a second internal forwarding pointing identifier for the second internal connectivity fault management message; after the inward maintenance end point line card sends the second inward connectivity fault management message to the main control board, the step of terminating the second inward connectivity fault management message by the main control board includes: and the main control board of the first network data exchange equipment judges whether the second inward connectivity fault management message contains a second internal forwarding pointing identifier, and if so, executes the final processing of the second inward connectivity fault management message.
The invention also provides another up cfm message processing method, which comprises the following steps: a main control board of the first network data exchange equipment generates a first inward connectivity fault management message according to the configuration parameters of the first inward connectivity fault management message; the first network data exchange equipment sends the first inward connectivity fault management message to the second network data exchange equipment; and the second network data switching equipment receives the first inward connectivity fault management message and terminates the first inward connectivity fault management message.
In an embodiment of the present invention, the receiving, by the second network data switching device, the first inbound connectivity fault management packet, and terminating the first inbound connectivity fault management packet includes: and the second network data switching equipment receives the first inward connectivity fault management message, and a main control board of the second network data switching equipment terminates the first inward connectivity fault management message.
The invention also provides network data exchange equipment, which comprises a main control board, wherein the main control board comprises a first message generation module, and the first message generation module is used for generating the first inward connectivity fault management message according to the configuration parameters of the first inward connectivity fault management message.
Further, the network data interaction device further includes a first message sending module, where the first message sending module is configured to send the first inward connectivity fault management message to other network data exchange devices of the opposite end.
In an embodiment of the present invention, the main control board further includes: a second message receiving module and a second message terminating module; the second message receiving module is used for receiving a second inward connectivity fault management message sent by other network data switching equipment of the opposite terminal; and the second message termination module is used for terminating the second inward connectivity fault management message.
The invention also provides another network data exchange device, which comprises a main control board, wherein the main control board comprises a processor and a message processing circuit, the processor is used for configuring the parameters of the first inward connectivity fault management message, and the processor or the message processing circuit generates the first inward connectivity fault management message according to the configuration parameters of the first inward connectivity fault management message.
Further, the network data switching device further generates a first inward connectivity fault management message, and then sends the first inward connectivity fault management message to other network data switching devices of the opposite terminal.
The network data switching equipment further comprises an inward maintenance end point line card, the main control board further comprises a switching chip, the processor or the message processing circuit generates a first inward connectivity fault management message and sends the first inward connectivity fault management message to the switching chip, the switching chip is used for sending the first inward connectivity fault management message to the inward maintenance end point line card after receiving the first inward connectivity fault management message generated by the message processing circuit, the inward maintenance end point line card processes the first inward connectivity fault management message and sends the first inward connectivity fault management message to the switching chip of the main control board, and the switching chip sends the first inward connectivity fault management message to other network data switching equipment at the opposite end.
In an embodiment of the present invention, the processor and the message processing circuit may further perform termination processing on the received other inbound connectivity fault management messages, including: and the processor or the message processing circuit receives a second inward connectivity fault management message sent by other network data switching equipment and executes termination processing on the second inward connectivity fault management message.
Further, when the network data switching device further includes an inward maintenance end point line card, and the main control board further includes a switching chip, the switching chip is further configured to receive a second inward connectivity fault management packet, and after receiving the second inward connectivity fault management packet, send the second inward connectivity fault management packet to the inward maintenance end point line card, and after receiving the second inward connectivity fault management packet, the inward maintenance end point line card processes the second inward connectivity fault management packet and sends the second inward connectivity fault management packet to the switching chip of the main control board, and after receiving the second inward connectivity fault management packet, the switching chip sends the second inward connectivity fault management packet to the processor or the packet processing circuit, and the processor or the packet processing circuit completes termination processing of the second inward connectivity fault management packet.
The invention also provides a system for processing the up cfm message, which comprises the following components: the first network data exchange device comprises a first main control board, and the first main control board comprises a first processor and a first message processing circuit; the first processor is used for configuring parameters of a first inward connectivity fault management message, and the first message processing circuit or the first processor generates the first inward connectivity fault management message according to the configuration parameters of the first inward connectivity fault management message, and sends the first inward connectivity fault management message to the second network data exchange device for final processing after the first inward connectivity fault management message is generated.
Further, the second network data switching device further includes a second main control board, the second main control board includes a second processor and a second message processing circuit, and the second processor or the second message processing circuit performs termination processing on the first inward connectivity fault management message.
The invention has the beneficial effects that:
the invention provides a method and a system for processing an up cfm message and network data exchange equipment, wherein the method for processing the up cfm message comprises the following steps: and the main control board of the first network data exchange equipment generates a first inward connectivity fault management message according to the configuration parameters of the first inward connectivity fault management message. In the method for processing the up cfm message, the main control board generates the up cfm message. In the prior art, only the up cfm message is needed to be generated on the inward maintenance end point line card, and the main control board needs to generate other messages, so the generation of the up cfm message is arranged on the main control board, on one hand, a set of message generation mechanism does not need to be generated on the inward maintenance end point line card, on the other hand, the characteristic of the main control board for generating the message is fully utilized, and the hardware and software design of the first network data exchange device is simpler.
Further, in an embodiment of the up cfm message processing method, the first network data switching device further receives a second inward connectivity fault management message from outside itself, and the main control board of the first network data switching device executes message termination processing. Therefore, the generation and termination of the upcfm message on the first network data switching equipment are completed by the main control board of the first network data switching equipment. Compared with the mode of generating the up cfm message only on the main control board of the first network data exchange equipment, the hardware and software design of the first network data exchange equipment is further simplified.
Drawings
Fig. 1 is a schematic flow chart of a method for processing an up cfm packet according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for sending a first inward connectivity fault management packet in an up cfm packet processing method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for receiving a second inward connectivity fault management packet in an up cfm packet processing method according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a method for processing an up cfm packet according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of a network data switching device according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of another network data switching device according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of an up cfm message processing system according to a fourth embodiment of the present invention;
fig. 8 is a schematic structural diagram of another up cfm message processing system according to the fourth embodiment of the present invention;
fig. 9 is a schematic flow chart of a method for processing an up cfm packet according to a fifth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a PTN-bearing network access layer device a and a PTN-bearing network access layer device B in the up cfm message processing method according to the fifth embodiment of the present invention;
fig. 11 is a schematic structural diagram of a network data switching device according to a sixth embodiment of the present invention;
fig. 12 is a schematic structural diagram of another network data switching device according to a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings.
The first embodiment is as follows:
this embodiment provides a method for processing an up cfm packet, please refer to fig. 1, which includes:
step S101: a main control board of the first network data exchange equipment generates a first inward connectivity fault management message according to the configuration parameters of the first inward connectivity fault management message;
step S102: and the first network data switching equipment sends the first inward connectivity fault management message to second network data switching equipment of the opposite terminal.
In this embodiment, the network data switching device may be a bearer PTN network access layer device or the like.
In step S101, the main control board may generate a first inward connectivity fault management packet through the processor and the packet processing circuit, for example, the processor configures parameters of the first inward connectivity fault management packet, and the packet processing circuit generates the first inward connectivity fault management packet according to the configured parameters. Of course, the processor itself may generate the upcfm message according to the configuration parameters, and the upcfm message generated by the processor is generally a slow-speed upcfm message. The message processing circuit may be an FPGA (Field-Programmable Gate Array), a PLA (Programmable logic Array), or the like.
Further, the step S102 may further include the following steps, please refer to fig. 2:
step S201: the main control board of the first network data exchange equipment sends the first inward connectivity fault management message to an inward maintenance end line card on the first network data exchange equipment;
step S202: the inward maintenance end line card receives and processes the first inward connectivity fault management message and then sends the first inward connectivity fault management message to the main control board;
step S203: and the main control board of the first network data switching equipment sends the first inward connectivity fault management message from the inward maintenance end point line card to the second network data switching equipment.
In this embodiment, the main control board of the first network data exchange device may not only generate the up cfm packet, but also complete the termination processing of the up cfm packet. For example, after the first network data switching device receives the second inward connectivity fault management message sent by other network data switching devices except the first network data switching device, the main control board terminates the second inward connectivity fault management message.
Further, the step of receiving, by the first network data switching device, the second inward connectivity fault management message may specifically include the following steps, please refer to fig. 3:
step S301: the main control board of the first network data exchange equipment receives the second inward connectivity fault management message;
step S302: the main control board sends the second inward connectivity fault management message to an inward maintenance end line card on the first network data switching equipment;
step S303: and the inward maintenance end point line card receives and processes the second inward connectivity fault management message and then sends the second inward connectivity fault management message to the main control board on the first network data exchange equipment.
In the above steps S201 to S203 and steps S301 to S303, the main control board is involved in receiving, sending and processing the first up cfm message and the second up cfm message. That is, after receiving the up cfm packet, the main control board needs to process the up cfm packet, for example, terminate the up cfm packet, and send the up cfm packet to the inward maintenance end line card or the second network data switching device. In order to facilitate the main control board to determine the processing mode of the up cfm message, a forwarding direction identifier may be set for the first up cfm message and the second up cfm message, and the following setting may be specifically adopted:
before step S201, that is, before the main control board of the first network data switching device sends the first inward connectivity fault management packet to the inward maintenance end line card on the first network data switching device, the method further includes: setting a first internal forwarding pointing identifier for the first internal connectivity fault management message; the main control board of the first network data switching device sending the first inward connectivity fault management message to an inward maintenance end line card on the first network data switching device includes: the main control board of the first network data exchange equipment judges whether the first inward connectivity fault management message contains a first inward forwarding pointing identifier, and if so, the first inward connectivity fault management message is sent to an inward maintenance endpoint line card on the first network data exchange equipment; after the inward maintenance end point line card receives the first inward connectivity fault management message, the processing of the first inward connectivity fault management message comprises the following steps: removing the first internal forwarding pointing identifier; the method for sending the first inward connectivity fault management message from the inward maintenance end point line card to the second network data switching equipment by the main control board of the first network data switching equipment comprises the following steps: and the main control board of the first network data exchange equipment judges whether the first inward connectivity fault management message contains a first inward forwarding pointing identifier or not, and if not, the first inward connectivity fault management message is sent to the second network data exchange equipment. The first internal forwarding direction identifier may use a separate identifier, or may borrow an attribute parameter existing in the first up cfm packet, for example, an etype (ethernet type) field value of the first up cfm packet. When the main control board just generates a first up cfm message, the etype domain value is set to a value required by the internal link transmission of the first network data exchange device, for example, 0xfefe, where the etype domain value is 0xfefe, which is a first internal forwarding direction identifier, and after the main control board sends the first up cfm message to the inward maintenance endpoint line card, the inward maintenance endpoint line card modifies the etype domain value thereof to a standard etype domain value required by the interaction between the first network data exchange device and other network data exchange devices, that is, 0x8902, so that the etype domain value is no longer 0xfefe, that is, the first internal forwarding direction identifier is removed, and then the main control board sends the first up cfm message to the main control board, and after receiving the first up cfm message, the main control board learns that the etype domain value is 0x8902, thereby determining that the first internal forwarding direction identifier is not present in the first up cfm message, and further determining that the first up cfm message needs to be sent to the second network data exchange device at the opposite end, rather than forwarding it to the inbound maintenance endpoint line card.
In step S202, the processing, by the inward maintenance endpoint line card, of the received first up cfm further includes: and modifying the correlation domain values of the LM (frame loss measurement) and DM (frame delay measurement) functions in the first up cfm message to complete the LM and DM functions of the up cfm message.
In step S301, the sending, by the main control board of the first network data switching device, the second inward connectivity fault management packet to the inward maintenance end line card on the first network data switching device includes: the main control board of the first network data exchange equipment judges whether the second inward connectivity fault management message contains a second inward forwarding pointing identifier or not, and if not, the second inward connectivity fault management message is sent to an inward maintenance endpoint line card on the first network data exchange equipment; after the inward maintenance end point line card receives the second inward connectivity fault management message, the processing of the second inward connectivity fault management message comprises the following steps: setting a second internal forwarding pointing identifier for the second internal connectivity fault management message; after the inward maintenance end point line card sends the second inward connectivity fault management message to the main control board, the step of terminating the second inward connectivity fault management message by the main control board includes: and the main control board of the first network data exchange equipment judges whether the second inward connectivity fault management message contains a second internal forwarding pointing identifier, and if so, executes the final processing of the second inward connectivity fault management message. The second internal forwarding direction identifier may use a separate identifier, or may borrow an attribute parameter existing in the second up cfm packet, for example, an etype (ethernet type) field value of the second up cfm packet. Further, the etype field value of 0xfeff may be set to the second internal forwarding direction identifier. If the etype domain value in the second up cfm message is the standard etype domain value required by the interaction between the first network data exchange device and other network data exchange devices, namely 0x8902, the main control board can judge that the second up cfm message does not include the second internal forwarding pointing identifier through the etype domain value, so that the second up cfm message is determined to be processed to be forwarded to the inward maintenance end point line card instead of being processed to be ended. After the main control board sends the second up cfm message to the inward maintenance end point line card, the inward maintenance end point line card modifies the etype domain value of the second up cfm message into a value required by the internal link transmission of the first network data exchange device, such as 0xfeff, namely, a second internal forwarding direction identifier, and then sends the value to the main control board, and the main control board obtains that the etype domain value is 0xfeff after receiving the second up cfm message, so that the second inward connectivity fault management message is judged to contain the second internal forwarding direction identifier, and the second up cfm message is determined to be processed as a final process instead of being forwarded to other network data exchange devices.
Example two:
this embodiment provides a method for processing an up cfm packet, please refer to fig. 4, which includes the following steps:
step S401: a main control board of the first network data exchange equipment generates a first inward connectivity fault management message according to the configuration parameters of the first inward connectivity fault management message;
step S402: the first network data exchange equipment sends the first inward connectivity fault management message to the second network data exchange equipment;
step S403: and the second network data switching equipment receives the first inward connectivity fault management message and terminates the first inward connectivity fault management message.
In step S403, the main control board of the second network data switching device may terminate the first inward connectivity fault management packet.
Example three:
referring to fig. 5, the network data switching apparatus includes a main control board 501, where the main control board includes a processor 5011 and a message processing circuit 5012, where the processor 5011 is configured to configure a first inward connectivity fault management message parameter, and the message processing circuit 5012 or the processor 5011 generates the first inward connectivity fault management message according to the first inward connectivity fault management message configuration parameter, specifically, the processor 5011 or the message processing circuit 5012 generates the first inward connectivity fault management message according to the configuration parameter, and needs to determine a type of a first up cfm message that needs to be generated according to a requirement, for example, a fast up cfm message needs to be generated by the message processing circuit 5012, and a slow up cfm message may be generated by either the processor 5011 or the message processing circuit 5012. And after generating the first inward connectivity fault management message, sending the first inward connectivity fault management message to other network data exchange equipment of the opposite terminal. The message processing circuit in this embodiment may be an FPGA (Field-Programmable Gate Array), a PLA (Programmable logic Array), or the like.
In this embodiment, another network data switching device is further provided, please refer to fig. 6, the network data switching device further includes an inward maintenance end point line card 502 in addition to the main control board 501, the main control board 501 further includes a switching chip 5013, after the processor 5011 or the message processing circuit 5012 generates the first inward connectivity fault management message, it is sent to the switch chip 5013, the switch chip 5013 is configured to, after receiving a first inbound connectivity fault management message generated from the processor 5011 or the message processing circuit 5012, the first inbound connectivity fault management message is sent to the inbound maintenance end point line card 502, and after receiving the first inbound connectivity fault management message, the first internal connectivity fault management message is processed and sent to the switching chip 5013 of the main control board, and the switching chip 5013 sends the first internal connectivity fault management message to other network data switching equipment of the opposite terminal. In this embodiment, after the inward maintenance end line card 502 receives the first inward connectivity fault management packet, the processing on the first inward connectivity fault management packet may include modifying an etype domain value of the first inward connectivity fault management packet. In this embodiment, the inward maintenance end line card may be a UNI (user network interface) line card.
In this embodiment, the processor 5011 or the message processing circuit 5012 also receives a second inward connectivity fault management message sent by another network data switching device, and performs a terminating process on the second inward connectivity fault management message. The processor 5011 or the message processing circuit 5012 receives the second inward connectivity fault management message and executes termination processing, which needs to be determined according to the type of the second inward connectivity fault management message, and generally the slow up cfm message is received and terminated by the processor, and the fast up cfm message is received and terminated by the message processing circuit.
In this embodiment, when the network data switching device further includes the inward maintenance end point line card 502 and the main control board 501 further includes the switching chip 5013, the switching chip 5013 may further be configured to receive a second inward connectivity fault management packet, and after receiving the second inward connectivity fault management packet, send the second inward connectivity fault management packet to the inward maintenance end point line card 502, after receiving the second inward connectivity fault management packet, the inward maintenance end point line card 502 processes the second inward connectivity fault management packet and sends the second inward connectivity fault management packet to the switching chip 5013 of the main control board 501, after receiving the second inward connectivity fault management packet, the switching chip 5013 sends the second inward connectivity fault management packet to the processor 5011 or the message processing circuit 5012, and the processor 5011 or the message processing circuit 5012 completes termination processing of the second inward connectivity fault management packet.
Example four:
referring to fig. 7, the up cfm message processing system provided in this embodiment includes a first network data switching device 701 and a second network data switching device 702, where the first network data switching device 701 includes a first main control board 7011, and 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 inward connectivity fault management packet parameter, and the first processor 70111 or the first packet processing circuit 70112 generates a first inward connectivity fault management packet according to the first inward connectivity fault management packet configuration parameter, and sends the first inward connectivity fault management packet to the second network data switching device 702 for termination processing after the first inward connectivity fault management packet is generated.
In this embodiment, another up cfm message processing system is further provided, referring to fig. 8, in the up cfm message 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, and the second processor 70211 or the second message processing circuit 70212 performs termination processing on the first inward connectivity fault management message.
Example five:
in this embodiment, a network data exchange device in the present invention is represented by a PTN-bearing network access layer device, please refer to fig. 9 and 10, fig. 9 is a schematic flow diagram of the method for processing an upcfm message provided in the embodiment of the present invention, fig. 10 is a schematic structural diagram of a PTN-bearing network access layer device a and a PTN-bearing network access layer device B in the method for processing an up cfm message provided in the embodiment of the present invention, and the method specifically includes the following steps:
step S901, first, a CPU and an FPGA of a main control board carrying the PTN network access layer device a generate an up cfm message. In order to identify the up cfm message by the exchange chip, defining the etype domain value of the up cfm message as 0xfefe as a first internal forwarding pointing identifier. The up cfm message and the down cfm message are generated by adopting a CPU and an FPGA, and the difference is that etype domain values of the carried messages are different.
The main control board may generate other oam messages, such as bfd message, mpls-tp oam message, and the like, besides the up cfm message and the down cfm message. bfd contains information such as cycle, my descriptor, your descriptor, etc. The mpls-tp oam message contains information such as period, meg id and mep id. The down cfm message and the up cfm message contain information such as period, mel, ma id and mep id.
Step S902, the exchange chip of the main control board bearing the PTN network access layer device A identifies an up cfm message with etype of 0xfefe input from the FPGA or the CPU and forwards the message to a corresponding up mep line card. Other oam messages generated by the main control board are directly sent to the NNI line card (network interface line card) through the switching chip, and then sent to the PTN network access layer equipment B at the opposite end through the NNI line card.
As the up cfm message is transmitted and received from the main control board to the service port of the up mep line card, in order to not influence the service bandwidth, the minimum frame gap of the service port message is properly reduced, and a certain bandwidth is expanded for transmitting and receiving the up cfm message.
And step S903, the FPGA on the up mep line card bearing the PTN network access layer equipment A receives the up cfm message sent by the exchange chip of the main control board. The FPGA on the up mep line card modifies the etype domain value of the up cfm message into 0x8902 and then sends the message back to the main control board.
Step S904, the exchange chip of the main control board bearing the PTN network access layer device A identifies the up cfm message with the etype domain value of 0x8902 from the up mep line card, judges that the message does not contain the first internal forwarding pointing identifier, forwards the message to the corresponding NNI line card, and sends the message from the corresponding port of the NNI line card to the opposite end bearing the PTN network access layer device B.
Step S905, after receiving the up cfm message with the etype domain value of 0x8902 sent by the NNI line card bearing the PTN network access layer equipment A from the opposite end, the NNI line card bearing the PTN network access layer equipment B transparently transmits the message to the main control board exchange chip bearing the PTN network access layer equipment B.
Step S906, the exchange chip of the main control board bearing the PTN network access layer equipment B forwards the up cfm message with the etype domain value of 0x8902 from the NNI line card to the up mep line card bearing the PTN network access layer equipment B.
And S907, the FPGA bearing the up mep line card of the PTN network access layer equipment B receives the up cfm message, modifies the etype domain value from 0x8902 to 0xfeff and forwards the modified etype domain value to the switching chip of the main control board.
Step S908, the switching chip bearing the main control board of the PTN network access layer equipment B receives the up cfm message with the etype domain value of 0xfeff from the up mep line card, judges that the up cfm message contains the second internal forwarding pointing identifier, and forwards the second internal forwarding pointing identifier to the processor or the message processing circuit of the up cfm of the main control board.
And S909, receiving the upcfm message from the exchange chip by the CPU or the FPGA of the main control board of the PTN network access layer equipment B, and executing terminal processing on the message.
Example six:
referring to fig. 11, the network data switching device includes a main control board 1101, where the main control board 1101 includes a first packet generation module 11011 and a first packet sending module 11012; the first message generating module 11011 is configured to generate a first inward connectivity fault management message according to a configuration parameter of the first inward connectivity fault management message; the first message sending module 11012 is configured to send the first inward connectivity fault management message to other network data switching devices of the opposite end.
In this embodiment, another network data switching device is further provided, please refer to fig. 12, where the network data switching device includes, in addition to the modules in the main control board 1101 in fig. 11, further: a second message receiving module 11013 and a second message terminating module 11014; the second message receiving module 11013 is configured to receive a second inward connectivity fault management message sent by another network data switching device of the opposite end; the second message terminating module 11014 is configured to terminate the second inbound connectivity fault management message.
The foregoing is a more detailed description of the present invention that is presented in conjunction with specific embodiments, and the practice of the invention is not to be considered limited to those descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (19)

1. A method for processing an inward connectivity fault management message is characterized by comprising the following steps:
and the main control board of the first network data exchange equipment generates a first inward connectivity fault management message according to the configuration parameters of the first inward connectivity fault management message.
2. The method of inward connectivity fault management messaging according to claim 1, further comprising: and the first network data switching equipment sends the first inward connectivity fault management message to second network data switching equipment of an opposite terminal.
3. The method of processing an inbound connectivity fault management message in accordance with claim 2, wherein the first network data switching device sending the first inbound connectivity fault management message to a second network data switching device comprises:
the main control board of the first network data switching equipment sends the first inward connectivity fault management message to an inward maintenance end line card on the first network data switching equipment;
the inward maintenance end line card receives the first inward connectivity fault management message, processes the first inward connectivity fault management message and then sends the first inward connectivity fault management message to the main control board;
and the main control board of the first network data switching equipment sends the first inward connectivity fault management message from the inward maintenance end point line card to the second network data switching equipment.
4. The method according to claim 3, wherein before the main control board of the first network data switching device sends the first inward connectivity fault management packet to an inward maintenance end line card on the first network data switching device, the method further comprises: setting a first internal forwarding pointing identifier for the first internal connectivity fault management message;
the sending, by the main control board of the first network data switching device, the first inward connectivity fault management packet to an inward maintenance end line card on the first network data switching device includes: the main control board of the first network data switching equipment judges whether the first inward connectivity fault management message contains a first inward forwarding pointing identifier, and if so, the first inward connectivity fault management message is sent to an inward maintenance endpoint line card on the first network data switching equipment;
after the inward maintenance end point line card receives the first inward connectivity fault management message, the processing of the first inward connectivity fault management message includes: removing the first internal forwarding pointing identifier;
the sending, by the main control board of the first network data switching device, the first inward connectivity fault management packet from the inward maintenance end point line card to the second network data switching device includes: and the main control board of the first network data switching equipment judges whether the first inward connectivity fault management message contains a first inward forwarding pointing identifier or not, and if not, the main control board of the first network data switching equipment sends the first inward connectivity fault management message to the second network data switching equipment.
5. The method of inward connectivity fault management messaging according to any of claims 1-4, further comprising:
the first network data switching equipment receives a second inward connectivity fault management message sent by other network data switching equipment except the first network data switching equipment;
and the main control board of the first network data switching equipment terminates the second inward connectivity fault management message.
6. The method according to claim 5, wherein the receiving, by the first network data switching device, the second inbound connectivity fault management packet sent by the other network data switching device other than the first network data switching device comprises:
the main control board of the first network data exchange equipment receives the second inward connectivity fault management message;
the main control board sends the second inward connectivity fault management message to an inward maintenance end line card on the first network data switching equipment;
and the inward maintenance end line card receives and processes the second inward connectivity fault management message and then sends the second inward connectivity fault management message to a main control board on the first network data switching equipment.
7. The method according to claim 6, wherein the sending, by the main control board, the second inbound connectivity fault management packet to an inbound maintenance end line card on the first network data switching device includes: the main control board of the first network data switching equipment judges whether the second inward connectivity fault management message contains a second inward forwarding pointing identifier, and if not, the second inward connectivity fault management message is sent to an inward maintenance endpoint line card on the first network data switching equipment;
after the inward maintenance end point line card receives the second inward connectivity fault management message, the processing of the second inward connectivity fault management message comprises: setting a second internal forwarding pointing identifier for the second inward connectivity fault management message;
after the inward maintenance end point line card sends the second inward connectivity fault management message to the main control board, the terminating, by the main control board, the second inward connectivity fault management message includes: and the main control board of the first network data switching equipment judges whether the second inward connectivity fault management message contains a second internal forwarding pointing identifier, and if so, executes the terminating processing of the second inward connectivity fault management message.
8. A method for processing an inward connectivity fault management message is characterized by comprising the following steps:
a main control board of the first network data exchange equipment generates a first inward connectivity fault management message according to the configuration parameters of the first inward connectivity fault management message;
the first network data switching equipment sends the first inward connectivity fault management message to second network data switching equipment;
and the second network data switching equipment receives the first inward connectivity fault management message and terminates the first inward connectivity fault management message.
9. The method of processing an inbound connectivity fault management message according to claim 8, wherein the second network data switching device receiving the first inbound connectivity fault management message and terminating the first inbound connectivity fault management message comprises: and the second network data switching equipment receives the first inward connectivity fault management message, and a main control board of the second network data switching equipment terminates the first inward connectivity fault management message.
10. The network data exchange equipment is characterized by comprising a main control board, wherein the main control board comprises a first message generation module;
the first message generation module is used for generating a first inward connectivity fault management message according to the configuration parameters of the first inward connectivity fault management message.
11. The network data switching device of claim 10, wherein the network data switching device further comprises a first message sending module, and the first message sending module is configured to send the first inward connectivity fault management message to other network data switching devices on the opposite end.
12. The network data switching device of claim 10 or 11, wherein the master control board further comprises: a second message receiving module and a second message terminating module;
the second message receiving module is used for receiving a second inward connectivity fault management message sent by other network data switching equipment of the opposite terminal;
and the second message terminating module is used for terminating the second inward connectivity fault management message.
13. The network data switching equipment is characterized by comprising a main control board, wherein the main control board comprises a processor and a message processing circuit, the processor is used for configuring parameters of a first inward connectivity fault management message, and the processor or the message processing circuit generates the first inward connectivity fault management message according to the configuration parameters of the first inward connectivity fault management message.
14. The network data switching device of claim 13, wherein the network data exchanging device further sends the first inward connectivity fault management message to other network data switching devices at the opposite end after generating the first inward connectivity fault management message.
15. The network data switching device of claim 14, further comprising an inbound maintenance end point line card, the main control board also comprises a switching chip, the processor or the message processing circuit sends the first inward connectivity fault management message to the switching chip after generating the first inward connectivity fault management message, the switch chip is used for receiving the first inward connectivity fault management message generated by the processor or the message processing circuit, sending the first inbound connectivity fault management message to the inbound maintenance end point line card, after the inward maintenance end point line card receives the first inward connectivity fault management message, and the switching chip sends the first inward connectivity fault management message to other network data switching equipment at the opposite end.
16. The network data switching device of any of claims 13-15, wherein the processor or message processing circuit receives a second inbound connectivity fault management message sent by another network data switching device and performs termination processing on the second inbound connectivity fault management message.
17. The network data switching device of claim 16, wherein when the network data switching device further comprises an inward maintenance end point line card, when the main control board further comprises a switching chip, the switching chip is further configured to receive the second inward connectivity fault management message, and after receiving the second inward connectivity fault management message, sending the second inward connectivity fault management message to the inward maintenance endpoint line card, after receiving the second inward connectivity fault management message, processing the second internal connectivity fault management message and sending the processed second internal connectivity fault management message to a switching chip of the main control board, and sending the second internal connectivity fault management message to the processor or the message processing circuit, and finishing the termination processing of the second internal connectivity fault management message by the processor or the message processing circuit.
18. An inbound connectivity fault management message processing system, comprising: the first network data exchange device comprises a first main control board, and the first main control board comprises a first processor and a first message processing circuit;
the first processor is configured to configure a first inward connectivity fault management packet parameter, and the first packet processing circuit or the first processor generates a first inward connectivity fault management packet according to the first inward connectivity fault management packet configuration parameter, and sends the first inward connectivity fault management packet to the second network data switching device for terminating processing after the first inward connectivity fault management packet is generated.
19. The inbound connectivity fault management message processing system of claim 18, wherein the second network data switching device further comprises a second master board, the second master board comprising a second processor and second message processing circuitry, the second processor or second message processing circuitry performing termination processing on the first inbound connectivity fault management message.
CN201410499474.5A 2014-09-25 2014-09-25 Up cfm message processing method and system and network data exchange equipment Active CN105515807B (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN105515807A CN105515807A (en) 2016-04-20
CN105515807B true CN105515807B (en) 2020-09-08

Family

ID=55580211

Family Applications (1)

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

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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163057A (en) * 2007-11-20 2008-04-16 华为技术有限公司 Fault notifying method and apparatus, and service receiving method and apparatus
CN101355466A (en) * 2008-09-01 2009-01-28 中兴通讯股份有限公司 Method and apparatus for transmitting continuous check information message
CN102055624A (en) * 2010-12-30 2011-05-11 中兴通讯股份有限公司 Method and system for detecting connectivity fault
CN102447634A (en) * 2011-12-29 2012-05-09 华为技术有限公司 Method, device and system for transmitting message

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8259590B2 (en) * 2007-12-21 2012-09-04 Ciena Corporation Systems and methods for scalable and rapid Ethernet fault detection
CN101378333B (en) * 2008-10-08 2011-04-20 中兴通讯股份有限公司 System, apparatus and method for transmitting and receiving check information message continuously
CN102185780B (en) * 2011-05-12 2015-09-16 中兴通讯股份有限公司 OAM message processing method and device
US8982710B2 (en) * 2012-09-28 2015-03-17 Broadcom Corporation Ethernet operation and maintenance (OAM) with flexible forwarding

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163057A (en) * 2007-11-20 2008-04-16 华为技术有限公司 Fault notifying method and apparatus, and service receiving method and apparatus
CN101355466A (en) * 2008-09-01 2009-01-28 中兴通讯股份有限公司 Method and apparatus for transmitting continuous check information message
CN102055624A (en) * 2010-12-30 2011-05-11 中兴通讯股份有限公司 Method and system for detecting connectivity fault
CN102447634A (en) * 2011-12-29 2012-05-09 华为技术有限公司 Method, device and system for transmitting message

Also Published As

Publication number Publication date
CN105515807A (en) 2016-04-20
WO2016045302A1 (en) 2016-03-31

Similar Documents

Publication Publication Date Title
US10075370B2 (en) Network performance diagnostics system
US10965546B2 (en) Control of network nodes in computer network systems
CN108900384A (en) Network flow monitoring method, apparatus and system, computer readable storage medium
EP3720075B1 (en) Data transmission method and virtual switch
US10862735B2 (en) Method and apparatus for implementing operation, administration, and maintenance function
CN104038570B (en) A kind of data processing method and device
CN105743687B (en) Method and device for judging node fault
US20190158627A1 (en) Method and device for generating forwarding information
WO2016078312A1 (en) Single board testing method and device
WO2016086890A1 (en) Method and device for detecting connectivity
CN104852828A (en) Network delay detection method, device and system
WO2015067144A1 (en) Method and apparatus for software disposition
CN106341249A (en) Redundant port switching method and device
CN108512779B (en) Control information transmission method, server and system
RU2687215C1 (en) Method and device for transmitting information on openflow switch functions
EP2858302A1 (en) Connectivity check method of service stream link, related apparatus and system
WO2017133020A1 (en) Method and device for policy transmission in nfv system
EP3240251A1 (en) Line card determination, determination processing method and device, and line card determination system
CN105515807B (en) Up cfm message processing method and system and network data exchange equipment
CN105763347B (en) For method getparms, the network equipment and system
CN108282383B (en) Method and equipment for realizing fault processing
WO2018127024A1 (en) Error correction method, device based on network port transmission and network port transmission equipment
JP2017511532A (en) Method for configuring a software defined PCI Express (PCI-E) switch
CN107005476A (en) Method and the first equipment for the data frame in switched network management network
KR102385707B1 (en) SDN network system by a host abstraction and implemented method therefor

Legal Events

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