WO2020135087A1 - Procédé, appareil et système de communication - Google Patents

Procédé, appareil et système de communication Download PDF

Info

Publication number
WO2020135087A1
WO2020135087A1 PCT/CN2019/124972 CN2019124972W WO2020135087A1 WO 2020135087 A1 WO2020135087 A1 WO 2020135087A1 CN 2019124972 W CN2019124972 W CN 2019124972W WO 2020135087 A1 WO2020135087 A1 WO 2020135087A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
label
value
communication
sequence number
Prior art date
Application number
PCT/CN2019/124972
Other languages
English (en)
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 WO2020135087A1 publication Critical patent/WO2020135087A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0847Transmission error
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • H04L43/087Jitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/34Flow control; Congestion control ensuring sequence integrity, e.g. using sequence numbers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Definitions

  • This application relates to the field of communication technology, and in particular, to a communication method, device, and system.
  • the method of simulating packet sending (such as two-way active measurement protocol (TWAMP) technology) is used to detect the transmission link of the multi-protocol label switching (MPLS) network.
  • TWAMP two-way active measurement protocol
  • MPLS multi-protocol label switching
  • IPFPM IP flow performance measurement
  • TWAMP technology can determine the values of delay, jitter and lost messages, but it cannot determine the values of out-of-order messages, and the technology is not based on business messages and cannot truly reflect the customer's business conditions.
  • IPFPM technology can determine the value and delay of lost packets, but cannot determine the value and jitter of out-of-order packets.
  • the accuracy of the transmission link quality determined by the existing method is low.
  • the present application provides a communication method, device, and system, which are used to solve the problem that the existing method cannot determine the value of the out-of-order message.
  • a communication method is provided, which is applied to an MPLS network including a first device and a second device. Specifically, after receiving at least one message from the second device via the transmission link, the first device recognizes the first tag of each message and reads the sequence number of each message, and then, the first device According to the sequence number of each message read, determine the quality parameters of the transmission link.
  • the quality parameter here includes at least one of the value of the out-of-order message, the value of the lost message, or the value of the repeated message.
  • Each message in the at least one message received by the first device in the present application includes a first label, and the first label includes a sequence number of the message.
  • the sequence number of the packet is used to indicate the sequence of the packets sent by the second device.
  • Each packet received by the first device of the present application includes a first label, and the first label includes the sequence number of the packet. After reading the sequence number of each message it receives, the first device can accurately determine the value of the out-of-order message, the value of the lost message or the value of the repeated message, which effectively improves The accuracy of the quality of the transmission link.
  • the method for the first device to determine the value of the out-of-sequence message is: the first device determines the first value (specifically, the report that satisfies the first preset condition in the at least one message Text value), and determine the first value as the value of the out-of-order message.
  • the first preset condition of the present application is: pre-curr ⁇ preset threshold, or, curr-pre>preset threshold; where curr represents the sequence of the first message (any one of at least one message) Number, pre represents the sequence number of the second message (the last message of the first message received by the first device), 1 ⁇ preset threshold ⁇ preset maximum sequence number.
  • This possible implementation method effectively and simply determines the value of the out-of-order message.
  • the first device in the present application may also determine the value of the out-of-order message according to the sequence number of each message read, which is not specifically limited in this application.
  • the method by which the first device determines the value of the lost packet is: the first device determines the second value (specifically, a packet that satisfies the second preset condition in at least one packet Value), so that the first device can determine the difference between the values of the out-of-order messages of the second value as the value of the lost message.
  • the second preset condition of the present application is: 1 ⁇ curr-pre ⁇ preset threshold, or, preset threshold ⁇ pre-curr ⁇ preset maximum sequence number; where curr represents the first message (at least one message Sequence number of any of the messages), pre means the sequence number of the second message (the last message of the first message received by the first device), 1 ⁇ preset threshold ⁇ preset maximum sequence number .
  • the first The device needs to determine the first value and obtain the value of the out-of-order message. Furthermore, the first device determines the difference between the first value and the value of the out-of-order message as the value of the real lost message. This possible implementation method effectively determines the value of the lost message.
  • the first device in this application can also determine the value of the lost message in other ways according to the sequence number of each message read, which is not specifically limited in this application.
  • the method for the first device to determine the value of the out-of-order message is: the first device determines the third value (specifically, a report that satisfies the third preset condition in at least one message Text value), and the third value is determined as the value of the repeated message.
  • the sequence number of each message sent by the sending end is different. Therefore, if the sequence number of a message received by the first device is the same as the sequence number of the previous message received by the first device, it means that the message is the same as the previous message.
  • the text is a repeated message. This possible implementation method effectively determines the value of the repeated message.
  • the above-mentioned first label further includes a time stamp of the message.
  • the first device can also read each The timestamp of the message, and according to the timestamp of each message, obtain the sending time and the receiving time of each message, and then for each message, the first device compares the receiving time of the message with the message The difference in transmission time of the message is determined as the delay of the message.
  • the first device may also determine the average delay according to the delay of each message.
  • the first device may also compare the delay of the message with the first device The difference in the delay of the last message of the received message is determined as the jitter of the message.
  • the first device further sends to the second device a communication mode indicating that the first device is capable of processing the first tag and instructing the second device to communicate with the first device ,
  • the at least one message is a message sent by the second device to the first device in the communication mode.
  • the communication mode of this application may be a tunnel mode or a transmission mode. If the communication mode is the tunnel mode, the second device encapsulates the first label for all packets to be sent to the first device. If the communication mode is the transmission mode, the second device treats certain specific messages sent to the first device (such as a message whose transmission address is a preset address, and the transmission address is the source address of the message and/or the destination address of the message ) Encapsulate the first label.
  • the first device and the second device can use different communication modes for communication, which is well adapted to actual needs.
  • each of the foregoing messages further includes a second label used to indicate that the first label does not participate in the calculation of load sharing, and the second label is located at the outer layer of the first label.
  • the first device may also determine the quality of the transmission link according to at least one of the determined quality parameter, time delay, and jitter.
  • the first device can determine the value of the out-of-order message, the value of the repeated message, or the value of the lost message according to the sequence number in the first label of each message At least one of may also determine the delay and/or jitter according to the time stamp in the first label of each packet.
  • the first device can determine more parameters, which effectively improves the accuracy of the transmission link quality.
  • a communication device which can implement the functions in the first aspect and any possible implementation manner thereof. These functions can be realized by hardware, and can also be realized by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the communication device may include a receiving unit and a processing unit, and the receiving unit and the processing unit may perform the corresponding functions in the communication method of the first aspect and any possible implementation manner thereof .
  • a receiving unit configured to receive at least one message from a second device via a transmission link, each message in the at least one message includes a first label, and the first label includes a sequence number of the message
  • a processing unit Used to identify the first label of each message received by the receiving unit, and read the sequence number of each message, and used to determine the quality parameters of the transmission link based on the read sequence number, quality parameters At least one of the values of the out-of-order message, the value of the lost message, or the value of the repeated message is included.
  • a communication method is provided, which is applied to an MPLS network including a first device and a second device.
  • the second device receives the indication information sent by the first device to indicate that the first device is capable of processing the first tag, and indicates the communication mode in which the second device communicates with the first device;
  • the second device encapsulates the first label including the sequence number of the packet for the packet to be sent according to the communication mode indicated by the indication information, and sends the encapsulated packet to the first device .
  • the sequence number of the message in the first label is used by the first device to determine the quality parameter of the transmission link (the link between the first device and the second device), the quality parameter includes the value of the out-of-order message, At least one of the value of the lost message or the value of the repeated message.
  • the first device can recognize the sequence number in the first tag, and according to the sequence The number determines the quality parameter of the transmission link, which effectively improves the accuracy of the quality of the transmission link.
  • the communication mode of the present application is a tunnel mode or a transmission mode. If the communication mode is the tunnel mode, the packets to be sent are all the packets sent by the second device to the first device. If the communication mode is the transmission mode, the message to be sent is a message whose transmission address (the source address of the message and/or the destination address of the message) in all the messages sent by the second device to the first device is the preset address . If the communication mode is the transmission mode, the second device also determines the message to be sent.
  • the first device and the second device can use different communication modes for communication, which is well adapted to actual needs.
  • the second device if the communication between the second device and the first device is in a target scenario (virtual private network (VPN) scenario or label switching path (LSP) scenario Scenario), the second device also encapsulates a third label for the packet to be sent; where, if the target scenario is a VPN scenario, the third label is a VPN label; if the target scenario is an LSP scenario, the third label is an LSP label.
  • the method for the second device to encapsulate the first label for the message to be sent is: the second device encapsulates the first label on the outer layer of the third label.
  • the second device further encapsulates a second label used to indicate that the first label does not participate in the calculation of load sharing for the packet to be sent.
  • the second label is located on the first label. Outer layer.
  • the above-mentioned first tag further includes a time stamp of a message used by the first device to determine at least one of time delay and jitter.
  • the second device after encapsulating the first label for the packet to be sent, the second device sends the encapsulated packet to the first device.
  • the first device can determine at least one of the value of the out-of-order message, the value of the repeated message, or the value of the lost message according to the sequence number in the first label of each message , The delay of each packet and/or the jitter of each packet may also be determined according to the time stamp in the first label of each packet.
  • the first device can determine more parameters, which effectively improves the accuracy of the transmission link quality.
  • a communication device which can implement the functions in the third aspect and any possible implementation manner thereof. These functions can be realized by hardware, and can also be realized by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the communication device may include a receiving unit, a processing unit, and a sending unit, and the receiving unit, the processing unit, and the sending unit may perform the third aspect and any one of its possible implementation manners Corresponding function in the communication method.
  • the receiving unit is used to receive instruction information sent by the first device, the instruction information is used to indicate that the first device has the capability of processing the first tag, and instructs the communication mode in which the second device communicates with the first device;
  • the processing unit Used to encapsulate the first label for the packet to be sent according to the communication mode indicated by the indication information received by the receiving unit when the second device has the capability of processing the first label, the first label includes the Sequence number.
  • the sequence number of the message is used by the first device to determine the quality parameter of the transmission link.
  • the quality parameter includes at least one of the value of the out-of-order message, the value of the lost message, or the value of the repeated message.
  • the transmission link It is a link between the first device and the second device; a sending unit is used to send the encapsulated message obtained by the processing unit to the first device.
  • a communication device includes a processor and a memory.
  • the memory is connected to the processor.
  • the memory is used to store computer instructions.
  • the communication device executes the computer instructions, The communication device executes the communication method described in the first aspect and any possible implementation manner thereof, or executes the communication method described in the third aspect and any possible implementation manner thereof.
  • the communication device further includes a transceiver for transmitting and receiving data in the communication method described in the first aspect and any possible implementation manner thereof under the control of the processor of the communication device , Signaling or information steps, or performing the steps of sending and receiving data, signaling or information in the communication method described in the third aspect and any possible implementation manner thereof, for example, receiving at least one message and sending instructions information.
  • a transceiver for transmitting and receiving data in the communication method described in the first aspect and any possible implementation manner thereof under the control of the processor of the communication device , Signaling or information steps, or performing the steps of sending and receiving data, signaling or information in the communication method described in the third aspect and any possible implementation manner thereof, for example, receiving at least one message and sending instructions information.
  • the communication device may be any node in the MPLS network, such as a service provider edge node or a service provider (Provider, P) node, or may be a part of the device in the MPLS network, such as a chip system in the service provider edge node.
  • the chip system is used to support the service provider edge node to implement the functions involved in the first aspect and any one of its possible implementations, or to perform the functions involved in the above third aspect and any one of its possible implementations, For example, receiving, sending or processing the data and/or information involved in the above communication method.
  • the chip system includes a chip, and may also include other discrete devices or circuit structures.
  • a computer-readable storage medium having instructions stored therein; when the instructions run on the communication device, the communication device is caused to perform the first aspect as described above and various possible implementations thereof The communication method described in the above manner, or the communication method described in the third aspect and any possible implementation manner thereof.
  • a computer program product including instructions, which when executed on a communication device, causes the communication device to perform the communication method described in the first aspect and its various possible implementation manners, or to execute the above The communication method described in the third aspect and any possible implementation manner thereof.
  • the above instructions may be stored in whole or in part on the first computer storage medium, where the first computer storage medium may be packaged with the processor of the communication device or separately packaged with the processor of the communication device, This application does not specifically limit this.
  • a communication system including the communication device described in the second aspect and any possible implementation manner thereof, and the communication described in the fourth aspect and any possible implementation manner thereof Device.
  • FIG. 1 is a first schematic structural diagram of a communication system including an MPLS network provided by an embodiment of this application;
  • FIG. 2 is a second structural diagram of a communication system including an MPLS network provided by an embodiment of the present application;
  • FIG. 3 is a schematic structural diagram of a communication device according to an embodiment of the present application.
  • 4A is a schematic flowchart 1 of a communication method provided by an embodiment of the present application.
  • 4B is a second schematic flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 5 is a format of a message for adding an EMSTI label in an LSP scenario in an embodiment of this application;
  • FIG. 6 is a format of a message for adding an EMSTI label in a VPN scenario in an embodiment of this application
  • FIG. 7 is a third schematic flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 8 is a fourth schematic flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of the format of LDP TLV in an embodiment of the present application.
  • FIG. 10 is a schematic diagram 1 of a processing flow of a message in an embodiment of the present application.
  • FIG. 11 is a schematic flowchart 5 of a communication method provided by an embodiment of the present application.
  • FIG. 12 is a second schematic diagram of a message processing flow in an embodiment of the present application.
  • FIG. 13 is a schematic diagram of the format of the RSVP tag request class in the embodiment of the present application.
  • 15 is a schematic structural diagram 1 of a communication device provided by an embodiment of the present application.
  • 16 is a second schematic structural diagram of a communication device according to an embodiment of the present application.
  • words such as “exemplary” or “for example” are used as examples, illustrations or explanations. Any embodiments or design solutions described as “exemplary” or “for example” in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of words such as “exemplary” or “for example” is intended to present related concepts in a specific manner.
  • first and second are used for description purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features.
  • the features defined as “first” and “second” may explicitly or implicitly include one or more of the features.
  • the meaning of “plurality” is two or more.
  • MPLS is a technology for exchanging and forwarding packets through a label.
  • the label can support multiple protocols, such as label distribution protocol (LDP), open shortest path priority (open shortest path first) , OSPF) protocol, resource reservation protocol (resource reservation protocol (RSVP), border gateway protocol (border gateway protocol, BGP), etc. Therefore, the MPLS network can be understood as a unified forwarding plane suitable for multiple protocols.
  • LDP label distribution protocol
  • OSPF open shortest path priority
  • RSVP resource reservation protocol
  • border gateway protocol border gateway protocol
  • BGP border gateway protocol
  • an MPLS packet may include a label stack (label stack), which is composed of one or more label stack entries (label stack entries).
  • Label stack entries Each label stack entry includes a label field, a priority field (which can be represented by EXP), a bottom field of the stack (which can be represented by S), and a lifetime field (which can be represented by TTL).
  • the label field is a relatively short, fixed-length (usually 20 bits), usually only a partial meaning of the identifier (similar to MAC address).
  • the priority field generally occupies 3 bits and is used to indicate the priority of MPLS packets.
  • the bottom field of the stack generally occupies 1 bit and is used to indicate whether the current label is at the bottom of the stack.
  • the lifetime field generally occupies 8 bits and is used to indicate whether the MPLS packet is valid. If the value of the lifetime field is 0, it means that the MPLS packet has expired and should not be forwarded.
  • the MPLS network includes service provider edge ingress (ingress provider edge, ingress PE) and service provider edge outgoing node (egress provider edge, egress PE).
  • the service provider edge ingress node is connected to the customer edge device (customer edge, CE) of the sending end, and is used to receive the service message sent by the sending end CE, add an MPLS label to the service message, and send the message after adding the MPLS label .
  • the service provider's edge egress node is connected to the receiver's customer edge (CE), which is used to receive MPLS label-added messages, pop the MPLS labels, and send the removed labels to the receiver CE Text.
  • the service provider edge ingress node and the service provider edge egress node may be routers, and both the sending end CE and the receiving end CE may be routers, switches, or hosts.
  • the MPLS network may further include at least one service provider (Provider, P) node.
  • Node P has basic MPLS forwarding capabilities.
  • the P node may be a router.
  • the P node When the communication between the service provider edge ingress node, node P, and service provider edge egress node is in a virtual private network (VPN) scenario, after receiving the message carrying the MPLS label sent by the upstream device, the P node directly Forward the message to the downstream device.
  • VPN virtual private network
  • LSP label switching path
  • FIG. 1 shows a structure of a communication system including an MPLS network.
  • the communication system includes CE1, CE2, service provider edge node 1, service provider edge node 2 and P node, and service provider edge node 1, service provider edge node 2 and P node are all located in the MPLS network.
  • the service provider edge node 1 is connected to CE 1 and P node
  • the service provider edge node 2 is connected to CE 2 and P node.
  • FIG. 2 shows another structure of a communication system including an MPLS network.
  • the communication system includes CE1, CE2, service provider edge node 1, service provider edge node 2, P node, and a network management system (NMS).
  • the service provider edge node 1, the service provider edge node 2 and the P node are located in the MPLS network, and the NMS is connected to each node in the MPLS network.
  • NMS manages every node in the MPLS network.
  • the service provider edge node 1 may be an edge ingress node of the MPLS network.
  • the service provider edge node 2 is an edge outgoing node of the MPLS network, and CE 1 is a service message transmission
  • CE 2 is the receiving end of the service message;
  • the service provider edge node 1 can also be the edge outgoing node of the MPLS network.
  • the service provider edge node 2 is the edge ingress node of the MPLS network, and CE 1 is the service message.
  • CE 2 is the sending end of the service message.
  • the communication between the devices shown in FIG. 1 or FIG. 2 may be in a VPN scenario or an LSP scenario, which is not specifically limited in this application.
  • FIG. 1 or FIG. 2 is only an example, and is not a limitation of the communication system. In practical applications, the structure of the communication system can exist in various forms.
  • TWAMP technology or IPFPM technology is used to detect the quality of transmission links in the MPLS network.
  • the accuracy of the transmission link quality determined by TWAMP technology and IPFPM technology is low.
  • the embodiments of the present application provide a communication method, by adding a first label including the sequence number of the message to the message, a node with the function of processing the first label in the MPLS network is implemented (taking the first device as an example) ) According to the sequence number of the message, determine at least one of the value of the out-of-order message, the value of the lost message, or the value of the repeated message, which effectively improves the accuracy of the quality of the transmission link.
  • the first label in the embodiment of the present application may further include a time stamp of the message, so that the first device can determine the delay and/or jitter according to the time stamp of the message.
  • the first device can determine at least the value of the out-of-order message, the value of the repeated message, or the value of the lost message according to the sequence number in the first label of each message.
  • One can also determine the delay and/or jitter according to the time stamp in the first label of each packet.
  • the communication method provided by the present application can determine more parameters, which effectively improves the accuracy of the transmission link quality.
  • the communication method provided by the embodiments of the present application is applicable to the communication system shown in FIG. 1 or FIG. 2.
  • FIG. 3 is a schematic diagram of a composition of a communication device provided by an embodiment of the present application.
  • the communication device may include at least one processor 31, a memory 32, a communication interface 33, and a communication bus 34. The following describes the components of the communication device in detail with reference to FIG. 3:
  • the processor 31 is a control center of the communication device, and may be a single processor or a collective name of multiple processing elements.
  • the processor 31 is a central processing unit (CPU), may also be an application-specific integrated circuit (ASIC), or configured to implement one or more integrations of the embodiments of the present application Circuits, for example: one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs).
  • DSPs digital signal processors
  • FPGAs field-programmable gate arrays
  • the processor 31 can execute various functions of the communication device by running or executing the software program stored in the memory 32 and calling the data stored in the memory 32.
  • the processor 31 may include one or more CPUs, such as CPU 0 and CPU 1 shown in FIG. 3.
  • the communication device may include multiple processors, such as the processor 31 and the processor 35 shown in FIG. 3. Each of these processors may be a single-core processor (single-core processor) or a multi-core processor (multi-core processor).
  • the processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • the memory 32 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM), or other types of information and instructions that can be stored
  • the dynamic storage device can also be an electrically erasable programmable read-only memory (electrically erasable programmable-read-only memory (EEPROM), disk storage medium or other magnetic storage device, or can be used to carry or store a form of instructions or data structures
  • EEPROM electrically erasable programmable read-only memory
  • the memory 32 may exist independently, and is connected to the processor 31 through the communication bus 34.
  • the memory 32 may also be integrated with the processor 31.
  • the memory 32 is used to store a software program that executes the solution of the present application, and the software program is executed by the processor 31.
  • the communication interface 33 is used to communicate with other devices or communication networks, such as Ethernet, wireless access network (RAN), wireless local area network (WLAN), etc.
  • the communication interface 33 may include a receiving unit to implement a receiving function, and a transmitting unit to implement a transmitting function.
  • the communication bus 34 may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnection (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, or the like.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only a thick line is used in FIG. 3, but it does not mean that there is only one bus or one type of bus.
  • the device structure shown in FIG. 3 does not constitute a limitation on the communication device.
  • the communication device may include more or fewer components than the illustration, or a combination Some components, or different component arrangements.
  • the subsequent content mainly uses CE 1 in FIG. 1 or FIG. 2 as the sending end of the service message
  • the service provider edge node 1 is the edge ingress node of the MPLS network
  • the service provider edge node 2 is the edge egress node of the MPLS network
  • CE 2 is the receiving end of the service message as an example.
  • FIG. 4A is a flowchart of a communication method provided by an embodiment of the present application. As shown in FIG. 4A, the method may include:
  • the first device sends instruction information to the second device.
  • the instruction information is used to indicate that the first device is capable of processing the first tag, and instruct the communication mode in which the second device communicates with the first device.
  • the first label in the embodiment of the present application includes a priority field, a stack bottom field, and a lifetime field.
  • the priority field, the bottom of the stack field, and the lifetime field can refer to the above description of the MPLS label stack entry, which will not be described in detail here.
  • the first label also includes a sequence number field of the message.
  • the sequence number field of the message is used to indicate the sequence number of the message.
  • the sequence numbers of the packets sent by the sending end are arranged in order from small to large or from large to small.
  • the embodiment of the present application takes the sending end as an example to send the messages in the order of the sequence number from small to large.
  • the length of the sequence number field of the message is 32 bits.
  • the first label may further include a timestamp field, which is used to record the sending time and receiving time of the packet.
  • the length of the timestamp field is 32 bits.
  • the communication mode between the first device and the second device is a tunnel mode or a transmission mode. If the communication mode is the tunnel mode, the second device encapsulates the first label on all packets sent to the first device. If the communication mode is the transmission mode, the second device encapsulates the first label in all messages sent by the second device to the first device with the transmission address of the preset address, where the transmission address is the source address and /Or the destination address of the message.
  • the first device in the embodiment of the present application may be a service provider edge egress node, or may be a P node in an MPLS network.
  • the first device is the service provider edge outgoing node
  • the second device is the service provider edge ingress node.
  • the first device may be a service provider edge egress node, and the second device may be an upstream node of the service provider edge egress node (that is, a P node connected to the service provider edge egress node);
  • the first device may also be a certain P node, and the second device may be an upstream node of the P node (the upstream node may be another P node or a service provider edge entry node); the first device may also be a service provider edge Outgoing node, the second device is the service provider edge ingress node (at this time, the P node in the MPLS network does not have the ability to process the first label), of course, the first device and the second device can also be in other forms, here is no longer Repeat them one by one.
  • the indication information includes first information for indicating that the first device is capable of processing the first tag and second information for indicating that the second device communicates with the first device according to the communication mode.
  • the method for the first device to send the indication information to the second device is: the first device sends the first information to the second device; correspondingly, the second device determines that it also has the ability to process the first tag After that, a reply message is sent to the first device to notify the first device that the second device is capable of processing the first tag; after that, the first device determines the second information and sends the second information to the second device.
  • the method for the first device to send the indication information to the second device is: the first device sends a message 1 including the first information and the second information to the second device.
  • the second device When the second device is capable of processing the first tag, the second device sends a confirmation message to the first device.
  • the second device may send a confirmation message indicating that the second device will communicate with the first device according to the communication mode indicated by the second information.
  • the confirmation message is an ACK message or a message including an OK field, which is not specifically limited in this embodiment of the present application.
  • the second device determines whether it has the capability of processing the first tag. If the second device is capable of processing the first tag, the second device sends a confirmation message to the first device, the confirmation message is used to indicate that the second device is capable of processing the first tag, and the second device will be based on the second information
  • the indicated communication mode communicates with the first device.
  • the second device does not have the capability to process the first label
  • the second device is a P node in the MPLS network
  • both the upstream node and the downstream node of the node have the capability to process the first label
  • the P node needs Send "type-length-value (TLV) of the first label processed by the downstream node" to the upstream node, so as to facilitate the negotiation of the communication mode between the upstream node and the downstream node.
  • TLV type-length-value
  • the second device encapsulates the first label for each packet to be sent according to the communication mode indicated by the indication information.
  • the second device encapsulates the first label on all packets sent to the first device. Therefore, after S401, the second device determines each message sent to the first device as a message to be sent, and encapsulates a first label for each message to be sent.
  • the second device encapsulates the first label in all the messages sent by the second device to the first device with the transmission address of the preset address. Therefore, after S401, the second device needs to first determine the message to be sent from all the messages sent to the first device, and then, the second device encapsulates the first label for each message to be sent.
  • the communication between the first device and the second device may be in an LSP scenario or a VPN scenario.
  • the second device also encapsulates an LSP label for each packet to be sent; if the communication between the first device and the second device is in a VPN scenario, the first The second device also encapsulates a VPN label for each packet to be sent.
  • the second device encapsulates the LSP label (or VPN label) for each message to be sent as the prior art, for details, reference may be made to the description of the prior art, which will not be described in detail here.
  • the second device when the communication between the first device and the second device is in an LSP scenario, the second device encapsulates the first label on the outer layer of the LSP label of each packet to be sent; when the first device and the second device When the communication between the two devices is in a VPN scenario, the second device encapsulates the first label on the outer layer of the VPN label of each packet to be sent.
  • the second device encapsulates a second label for each message to be sent.
  • the second label is used to indicate that the first label does not participate in the calculation of load sharing.
  • other nodes in the MPLS network do not use the first label for the calculation of load sharing.
  • the calculation of load sharing by the nodes is the prior art, which will not be described in detail here.
  • the second label belongs to the reserved label, for example, the second label is the reserved label 11.
  • the second device encapsulates the second label on the outer layer of the first label.
  • FIG. 5 shows the format of the packet in which the second device encapsulates the EMSTI label in the LSP scenario
  • FIG. 6 shows the format of the packet in which the second device encapsulates the EMSTI label in the VPN scenario.
  • the packets shown in FIG. 5 and FIG. 6 also include a public network destination address (DA) field, a public network source address (source) address (SA) field, and a virtual local area network (virtual local area network).
  • DA public network destination address
  • SA public network source address
  • VPN virtual local area network
  • VLAN VLAN ID
  • 8847 field LSP label
  • VPN label VLAN label
  • payload cyclic redundancy check (cyclic redundancy check, CRC) field.
  • CRC cyclic redundancy check
  • the second device sends at least one encapsulated message to the first device through the transmission link.
  • the first device receives at least one message from the second device via the transmission link.
  • Each message received by the first device includes the first label.
  • each packet received by the first device further includes a second label.
  • the first device recognizes the first label of each message, and reads the sequence number of each message in the at least one message.
  • the first label includes the sequence number field of the message, therefore, after identifying the first label of each message, the first device can read the sequence number of each message in at least one message.
  • the first device determines the quality parameter of the transmission link according to the sequence number of each message read.
  • the transmission link is a link between the first device and the second device, and the quality parameter of the transmission link includes at least one of the value of the out-of-order message, the value of the lost message, or the value of the repeated message.
  • the method for the first device to determine the value of the out-of-order message may be: the first device determines the value of the message that meets the first preset condition (that is, the first value) in at least one message as the value of the out-of-order message.
  • the first preset condition is: pre-curr ⁇ preset threshold, or curr-pre>preset threshold.
  • Curr here means the sequence number of the first message (any one of the at least one message), and pre means the sequence number of the second message (the last message of the first message received by the first device) , 1 ⁇ preset threshold ⁇ preset maximum serial number.
  • the preset threshold value of the present application may be the flip length value of the serial number.
  • the sequence number field of the message in the first label occupies 32 bits, so that the preset maximum sequence number may be 4294967295 (0xfffffff).
  • the sequence number of the packet has a maximum value and a minimum value. If the sequence number of the current packet sent by the second device is the preset maximum sequence number, the sequence number of the next packet sent by the second device should be the preset The minimum sequence number, therefore, the sequence number of the message may be reversed.
  • the flip length of the sequence number can be set to a preset threshold, that is, the value of the default continuous out-of-order packets will not exceed the preset threshold.
  • the preset threshold is 2147483647 (0x7ffffffff).
  • the first device in the embodiment of the present application may also use other methods to determine the value of the out-of-sequence message, which will not be repeated here.
  • the method for the first device to determine the value of the lost message may be: the first device determines the value of the message that satisfies the second preset condition (that is, the second value) in at least one message, and obtains the value of the out-of-order message ( For the acquisition of this value, please refer to the above description), so that the first device can determine the difference between the second value and the value of the out-of-order message as the value of the lost message.
  • the second preset condition is: 1 ⁇ curr-pre ⁇ preset threshold, or, preset threshold ⁇ pre-curr ⁇ preset maximum sequence number.
  • curr and pre can refer to the above description, and the value range of the preset threshold can also refer to the above description, which will not be described in detail here.
  • the method for the first device to determine the value of the repeated message may be: the first device determines the value of the message that satisfies the third preset condition (that is, the third value) in at least one message, and determines the value as the repeated message Value.
  • curr and pre please refer to the above description, and no more details will be given here.
  • the first label in the embodiment of the present application may further include a time stamp.
  • the first device can also read the time stamp of each message to obtain the sending time and receiving time of each message, and then determine the delay and jitter according to the sending time and receiving time of each message At least one.
  • the communication method provided by the embodiments of the present application may further include:
  • the first device reads the time stamp of each message.
  • the first device obtains the sending time and receiving time of each message according to the time stamp of each message, and determines the delay and/or jitter.
  • the first device determines the difference between the reception time of the message and the transmission time of the message as the delay of the message.
  • the first device can also calculate the average delay T, for example:
  • the first device determines the difference between the delay of the message and the delay of the last message of the message received by the first device as the value of the message Jitter.
  • J[a] is used to represent the delay of message a
  • J[b] is the delay of message b
  • J[a] Arrive[a]-Send[a]
  • J[b] Arrive[b]-Send[b]
  • the first device can determine the value of the out-of-order message, the value of the repeated message, or the value of the lost message according to the sequence number in the first label of each message At least one of may also determine the delay and/or jitter according to the time stamp in the first label of each packet.
  • the first device can determine more parameters, which effectively improves the accuracy of the transmission link quality.
  • the first device may also determine the quality of the transmission link according to the determined parameters, And send the quality of the transmission link to the NMS, so that the NMS operation and maintenance personnel can maintain the first device or the second device in time.
  • the relevant parameters such as the above-mentioned quality parameters, time delay, and jitter
  • the first device may also send the determined parameters to the NMS, so that the NMS can determine the quality of the transmission link according to the parameters, thereby making the NMS Of O&M personnel timely maintain the first device or the second device.
  • the relevant parameters such as the above-mentioned quality parameters, delay, and jitter
  • the communication method provided in this embodiment of the present application may further include S701 or S702:
  • the first device sends the determined parameter to the NMS.
  • the first device determines the quality of the transmission link according to the determined parameters, and sends the quality of the transmission link to the NMS.
  • the first device may use the preset weight value for each parameter To calculate the quality of the transmission link.
  • the first device may also use other methods to determine the quality of the transmission link, which will not be repeated here.
  • the first device can determine the value of the out-of-order message, the value of the repeated message, or the value of the lost message according to the sequence number in the first label of each message At least one of may also determine the delay and/or jitter according to the time stamp in the first label of each packet.
  • the first device can determine more parameters, which effectively improves the accuracy of the transmission link quality.
  • the processes shown in FIG. 8 and FIG. 11 are described by encapsulating the first label and the second label (that is, the EMSTI label) for the message, and the first label includes the sequence number and time stamp of the message as an example.
  • PE1 represents the service provider edge ingress node
  • PE2 represents the service provider edge egress node
  • P node represents the intermediate node between PE1 and PE2
  • P The nodes are connected to PE1 and PE2.
  • the transmission link between P node and PE 1 is transmission link 1
  • the transmission link between P node and PE 2 is transmission link 2.
  • FIG. 8 is a flowchart of a communication method provided by an embodiment of the present application. The process shown in FIG. 8 is applicable to labels supporting LDP in an MPLS network, and the communication between PE 1, P nodes, and PE 2 is in an LSP scenario.
  • the communication method may include:
  • Node P sends instruction information 1 to PE 1, and PE 2 sends instruction information 2 to P node.
  • the indication information 1 is used to indicate that the P node has the capability of processing the first label, and indicates the communication mode in which the P node communicates with the PE 1.
  • the indication information 2 is used to indicate that PE 2 has the capability of processing the first label, and indicates the communication mode in which the P node communicates with PE 2.
  • the P node When the P node sends indication information 1 to PE 1, the P node is the first device described above, and PE 1 is the second device described above.
  • PE 2 sends instruction information 2 to the P node, the P node is the above-mentioned second device, and PE 2 is the above-mentioned first device.
  • the indication information 1/indication information 2 is carried in LSP signaling.
  • an LDP TLV is added to the LSP signaling, and the LDP TLV is used to carry indication information 1/indication information 2, and is used to identify that the device has the capability of processing the first label.
  • Figure 9 shows the format of LDP TLV.
  • Fig. 9 indicates an unknown bit, and its value is set to 1. If the receiving device does not recognize the LDP TLV, the receiving device ignores the LDP TLV; “F” indicates the forward bit (Forward bit), The value is set to 1. If the receiving device is the LDP TLV, the receiving device hops forward the LDP to the upstream device; "Type” indicates the type of the first label; “Length” indicates the length of the LDP TLV; “Mode” indicates The communication mode between the sending device and the receiving device, for example, 0x00 indicates the tunnel mode, and 0x01 indicates the transmission mode.
  • the 1/2/3/4/5/6/7 fields are set to 0, indicating that no distinction is made between the characteristics of the service flow, and all packets entering the tunnel are The first label is processed.
  • the 0/1/2/3/4/5/6/7/8/9 field can be set to 1, and the field set to 1 indicates that in the service flow Of this field is valid.
  • PE 1 sends a confirmation message 1 to the P node, and the P node sends a confirmation message 2 to the PE 2.
  • the embodiment of the present application does not limit the execution order of “PE 1 sends a confirmation message 1 to P node” and “P node sends a confirmation message 2 to PE 2”.
  • PE 1 encapsulates the LSP label 1 and the EMSTI label 1 for the message a to generate the message b.
  • PE 1 is a method for encapsulating LSP label 1 for message a. Refer to the method for encapsulating LSP label in the prior art, which will not be described in detail here.
  • PE1 encapsulates EMSTI label 1 for message a, and EMSTI label 1 is located on the outer layer of LSP label 1.
  • message a includes payload, private network SA, and private network DA.
  • PE 1 encapsulates message a with LSP label 1 and EMSTI label 1 to generate Packet b.
  • packet b includes payload, LSP label 1, EMSTI label 1, public network SA, and public network DA.
  • PE sends a message b to the P node.
  • the P node recognizes and strips the EMSTI label 1, and determines the quality parameter of the transmission link 1 according to the serial number and time stamp in the EMSTI label 1.
  • the method for the P node to determine the values of out-of-order messages can refer to the above S406
  • the method for determining the value of the lost message and the repeated message by the P node can refer to the description in S407 above
  • the method for determining the delay and jitter in the P node can refer to the description in S408 and S409 above, which will not be described in detail here.
  • the P node replaces LSP label 1 with LSP label 2, and adds EMSTI label 2 to generate a message c.
  • the P node after receiving the message b, the P node exchanges the LSP label and the EMSTI label in the message b to generate the message c, and the message c includes the payload, the LSP label 2, EMSTI label 2, public network SA and public network DA.
  • the P node sends a message c to PE 2.
  • PE 2 identifies and strips the EMSTI label 2, and determines the quality parameter of the transmission link 2 according to the sequence number and time stamp fields in the EMSTI label 2.
  • PE 2 can refer to the above method for determining the values of out-of-order messages
  • the method for PE 2 to determine the value of the lost message and the repeated message can refer to the description in S407 above
  • the method for PE 2 to determine the delay and jitter can refer to the description in S408 and S409 above, which will not be described in detail here.
  • PE 2 strips the LSP label 2 to obtain the message a.
  • PE 2 strips the LSP label and the EMSTI label in the message c to obtain the message a.
  • the P node may also send the quality parameter of the transmission link 1 to the NMS; after determining the quality parameter of the transmission link 2 (that is, after S807) ), PE 2 can also send the quality parameters of transmission link 2 to the NMS.
  • the communication method provided in this embodiment of the present application may further include S809 after S804, and may further include S810 after S807.
  • the P node sends the quality parameter of the transmission link 1 to the NMS.
  • PE 2 sends the quality parameters of transmission link 2 to the NMS.
  • S809 and S810 are optional, they are indicated by dotted boxes in FIG. 8.
  • the communication between PE 1, P nodes, and PE 2 can also be in a VPN scenario.
  • PE 1 and PE 1 need to process the first label, and the P node does not need to recognize the first label.
  • FIG. 11 shows a flowchart of a communication method provided by an embodiment of the present application in this situation.
  • the communication method may include:
  • PE 2 sends instruction information to PE 1.
  • the process of sending instruction information from PE 2 to PE 1 can refer to the description of S400 above, and details are not repeated here.
  • the indication information may be carried in the LDP TLV of the LSP signaling, where the LDP TLV may refer to the description of S800 above or the format of FIG. 9 and will not be described in detail here.
  • PE1 sends a confirmation message to PE2.
  • PE 1 After acquiring the message x, PE 1 encapsulates the VPN label, LSP label 1, and EMSTI label for the message x to generate the message y.
  • the method of encapsulating LSP label 1 by PE 1 for message x can refer to the method of encapsulating LSP label in the prior art, which will not be described in detail here.
  • PE1 is the message x encapsulated EMSTI label, and the EMSTI label is located on the outer layer of LSP label 1.
  • packet x includes payload, private network SA, and private network DA.
  • PE 1 After obtaining packet x, PE 1 encapsulates packet x with VPN label, LSP label 1, and EMSTI label.
  • the message y includes a payload, a VPN label, an EMSTI label, an LSP label 1, a public network SA, and a public network DA.
  • PE1 sends a message y to the P node.
  • the P node replaces LSP label 1 with LSP label 2 to generate a message z.
  • the P node after receiving the message y, the P node exchanges the LSP label in the message y to generate a message z, and the message z includes a payload, a VPN label, an EMSTI label, and an LSP Label 2, public network SA and public network DA.
  • the P node sends a message z to PE 2.
  • PE 2 recognizes and strips the EMSTI label, and determines the quality parameters of the transmission link between PE 1 and PE 2 according to the serial number and time stamp field in the EMSTI label.
  • PE 2 determines the values of out-of-order packets
  • the method can refer to the description of S406 above
  • the method of PE 2 to determine the value of the lost packet and the repeated message can refer to the description of S407 above
  • the method of PE 2 to determine the delay and jitter can refer to the description of S408 and S409 above, not here I will repeat them in detail.
  • PE 2 strips the VPN label and LSP label 2 to obtain the message x.
  • PE 2 strips the VPN label, EMSTI label, and LSP label 2 in the message z to obtain the message x.
  • PE 2 may also send the quality parameter of the transmission link to the NMS.
  • the communication method provided by the embodiment of the present application may further include S118 after S116.
  • PE 2 sends the quality parameters of the transmission link between PE 1 and PE 2 to the NMS.
  • S118 is optional, it is indicated by a dotted box in FIG. 11.
  • the label in the MPLS network can support LDP, and can also support RSVP or BGP.
  • the communication between devices in the MPLS network can only be in the LSP scenario.
  • the flow of the communication method shown in FIG. 8 is also applicable to this scenario.
  • the difference is that when the label in the MPLS network supports RSVP, the indication information 1/indication information 2 is carried in RSVP signaling.
  • an RSVP label request class is added to RSVP signaling.
  • the RSVP label request class is used to carry indication information 1/indication information 2, and is used to identify that the device has the capability of processing the first tag.
  • Figure 13 shows the format of the RSVP tag request class.
  • the RSVP tag request class includes a reserved field and a flow ID (flow ID) field.
  • the value of the reserved field is set to 0.
  • the flow identifier is used by the first node of the packet to dynamically apply according to the characteristics of the IP flow, and is used to identify the service flow. If the value of the flow identifier is 0, the receiving device performs EMSTI label processing on all packets sent by the sending device.
  • the communication between the devices in the MPLS network can be in an LSP scenario or a VPN scenario.
  • the flow of the communication method shown in FIG. 8 is also applicable to the label in the MPLS network supporting BGP, and the communication between devices in the MPLS network is in an LSP scenario.
  • the flow of the communication method shown in FIG. 11 is also applicable to the label in the MPLS network supporting BGP, and the communication between devices in the MPLS network is in a VPN scenario.
  • the indication information 1/indication information 2/indication information is carried in BGP signaling.
  • BGP signaling adds BGP TLV, which is used to carry indication information 1/indication information 2/indication information, and is used to identify that the device has the capability of processing the first label.
  • Figure 14 shows the format of BGP TLV.
  • a flag indicates optional delivery.
  • a node may not have the ability to process the first label. If a node does not have the ability to handle the first label, the node also needs to pass the BGP TLV to other peers Body (such as upstream device); type (type) indicates the type of the first label; length (length) indicates the length of the BGP TLV; mode (mode) indicates the communication mode between the sending device and the receiving device, exemplary, 0x00 Indicates the tunnel mode, and 0x01 indicates the transmission mode.
  • the communication mode between the sending device and the receiving device is the tunnel mode
  • the 1/2/3/4/5/6/7 fields are set to 0, indicating that no distinction is made between the characteristics of the service flow, and all packets entering the tunnel are The first label is processed.
  • the first device can determine the value of the out-of-order message, the value of the repeated message, or the value of the lost message according to the sequence number in the first label of each message At least one of may also determine the delay and/or jitter according to the time stamp in the first label of each packet.
  • the first device can determine more parameters, which effectively improves the accuracy of the transmission link quality.
  • An embodiment of the present application further provides a communication device, which may be any node in an MPLS network (such as a service provider edge node or a P node), or may be a partial device of a node in an MPLS network, for example, such as a service provider edge
  • the chip system in the node (or P node) is used to support nodes in the MPLS network to implement the functions involved in the above method embodiments, for example, to receive, send, or process the data and/or information involved in the above methods.
  • the chip system includes a chip, and may also include other discrete devices or circuit structures.
  • the communication device is used to perform the steps performed by the first device in the above communication method.
  • the communication apparatus provided in the embodiments of the present application may include modules corresponding to corresponding steps.
  • the embodiments of the present application may divide the functional modules of the communication apparatus according to the above method examples.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or software function modules.
  • the division of the modules in the embodiments of the present application is schematic, and is only a division of logical functions. In actual implementation, there may be another division manner.
  • FIG. 15 shows a possible structural diagram of the communication device in this embodiment.
  • the communication device 15 includes a receiving unit 150 and a processing unit 151.
  • the receiving unit 150 is used to support the communication device to perform the receiving operations shown in FIG. 4A, FIG. 4B or FIG. 7, such as S401, S404, etc., and/or other processes for the technology described herein.
  • the processing unit 151 is used to support the communication device to perform the identification, reading, and determination operations shown in FIG. 4A, FIG. 4B, or FIG. 7, such as S405, S406, S407, S408, and/or the like. Other processes of the described technology.
  • the communication device provided by the embodiment of the present application includes but is not limited to the above-mentioned modules.
  • the communication device may further include a sending unit 152 and a storage unit 153.
  • the sending unit 152 may be used to support the communication device to perform the sending operations shown in FIG. 4A, FIG. 4B, or FIG. 7, such as S400, S701, and/or other processes used in the technology described herein.
  • the storage unit 153 may be used to store program codes and data of the communication device.
  • the physical block diagram of the communication device provided in this application may refer to FIG. 3 described above.
  • the above processing unit 151 may be the processor 31 in FIG. 3
  • the sending unit 152 and the receiving unit 150 may be the communication interface 33 in FIG. 3
  • the storage unit 153 may be the memory 32 in FIG. 3.
  • Another embodiment of the present application also provides a computer-readable storage medium that stores instructions, and when the instructions run on the communication device, the communication device executes as shown in FIG. 4A, FIG. 4B, or FIG. 7. The steps of the first device in the communication method of the illustrated embodiment.
  • a computer program product includes computer-executable instructions, which are stored in a computer-readable storage medium; the processor of the communication device may be readable from the computer
  • the storage medium reads the computer-executed instruction, and the processor executes the computer-executed instruction to cause the communication device to execute the steps of the first device in the communication method of the embodiment shown in FIG. 4A, FIG. 4B, or FIG. 7.
  • An embodiment of the present application further provides a communication device, which may be any node in an MPLS network (such as a service provider edge node or a P node), or may be a partial device of a node in an MPLS network, for example, such as a service provider edge
  • the chip system in the node (or P node) is used to support nodes in the MPLS network to implement the functions involved in the above method embodiments, for example, to receive, send, or process the data and/or information involved in the above methods.
  • the chip system includes a chip, and may also include other discrete devices or circuit structures.
  • the communication device is used to perform the steps performed by the second device in the above communication method.
  • the communication apparatus provided in the embodiments of the present application may include modules corresponding to corresponding steps.
  • the embodiments of the present application may divide the functional modules of the communication apparatus according to the above method examples.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or software function modules.
  • the division of the modules in the embodiments of the present application is schematic, and is only a division of logical functions. In actual implementation, there may be another division manner.
  • FIG. 16 shows a possible structural schematic diagram of the communication device in this embodiment.
  • the communication device 16 includes a processing unit 161, a sending unit 162 and a receiving unit 163.
  • the processing unit 161 is used to support the communication device to perform the operations such as the packaging shown in FIG. 4A, FIG. 4B, or FIG. 7, such as S402, S403, and/or other processes used in the technology described herein.
  • the sending unit 162 is used to support the communication device to perform the sending operations shown in FIG. 4A, FIG. 4B, or FIG. 7, such as S401, S404, etc., and/or other processes for the technology described herein.
  • the receiving unit 163 may be used to support the communication device to perform the receiving operations shown in FIG. 4A, FIG. 4B, or FIG. 7, for example, S400, etc., and/or other processes used in the technology described herein.
  • the communication device provided by the embodiment of the present application includes but is not limited to the above-mentioned modules, for example, the communication device may further include a storage unit 164.
  • the storage unit 164 may be used to store program codes and data of the communication device.
  • the physical block diagram of the communication device provided in this application may refer to FIG. 3 described above.
  • the above processing unit 161 may be the processor 31 in FIG. 3
  • the sending unit 162 and the receiving unit 163 may be the communication interface 33 in FIG. 3
  • the storage unit 164 may be the memory 32 in FIG. 3.
  • Another embodiment of the present application also provides a computer-readable storage medium that stores instructions, and when the instructions run on the communication device, the communication device executes as shown in FIG. 4A, FIG. 4B, or FIG. 7. The steps of the second device in the communication method of the illustrated embodiment.
  • a computer program product includes computer-executable instructions, which are stored in a computer-readable storage medium; the processor of the communication device may be readable from the computer
  • the storage medium reads the computer-executed instruction, and the processor executes the computer-executed instruction to cause the communication device to execute the steps of the second device in the communication method of the embodiment shown in FIG. 4A, FIG. 4B, or FIG. 7.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices.
  • the computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions can be transmitted from a website site, computer, server, or data center via wire (e.g.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data terminal including one or more available medium integrated servers, data centers, and the like.
  • the usable medium may be a magnetic medium (eg, floppy disk, hard disk, magnetic tape), or a semiconductor medium (eg, solid state disk (SSD)), or the like.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the modules or units is only a division of logical functions.
  • there may be other divisions for example, multiple units or components may be The combination can either be integrated into another device, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical, or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or software function unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application may essentially be part of or contribute to the prior art or all or part of the technical solutions may be embodied in the form of software products, which are stored in a storage medium
  • several instructions are included to enable a device (which may be a single-chip microcomputer, chip, etc.) or processor to execute all or part of the steps of the methods described in the embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Les modes de réalisation de la présente invention se rapportent au domaine technique des communications, et concernent ainsi un procédé, un appareil et un système de communication, qui résolvent le problème d'autres procédés existants qui ne sont pas en mesure de déterminer une valeur d'un message de dérangement. Spécifiquement, après réception d'au moins un message envoyé d'un second dispositif dans un réseau MPLS au moyen d'une liaison de transmission, un premier dispositif dans le réseau MPLS identifie une première étiquette dans chaque message, lit un numéro d'ordre de chaque message et détermine des paramètres de qualité de la liaison de transmission en fonction des numéros d'ordre lus. Ainsi, chaque message parmi le ou les messages comprend une première étiquette, la première étiquette comprend le numéro d'ordre du message et les paramètres de qualité comprennent au moins une valeur parmi une valeur d'un message de dérangement, une valeur d'un message perdu et une valeur d'un message répété.
PCT/CN2019/124972 2018-12-26 2019-12-13 Procédé, appareil et système de communication WO2020135087A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811603171.8 2018-12-26
CN201811603171.8A CN111371634B (zh) 2018-12-26 2018-12-26 一种通信方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2020135087A1 true WO2020135087A1 (fr) 2020-07-02

Family

ID=71127516

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/124972 WO2020135087A1 (fr) 2018-12-26 2019-12-13 Procédé, appareil et système de communication

Country Status (2)

Country Link
CN (1) CN111371634B (fr)
WO (1) WO2020135087A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022156808A1 (fr) * 2021-01-25 2022-07-28 华为技术有限公司 Procédé de traitement de paquets et appareil associé

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112491646A (zh) * 2020-11-13 2021-03-12 中盈优创资讯科技有限公司 一种vpn端到端性能监测方法及装置
CN113220478A (zh) * 2021-04-28 2021-08-06 广州宸祺出行科技有限公司 一种基于消息队列的订单消息防重复的发送方法及系统
CN113157610B (zh) * 2021-05-20 2023-03-14 浙江大华技术股份有限公司 数据保存方法及装置、存储介质、电子装置
CN115580558A (zh) * 2021-06-17 2023-01-06 中国移动通信集团有限公司 基于twamp协议的链路时延测量方法及装置
CN116232944B (zh) * 2023-05-06 2023-08-04 珠海星云智联科技有限公司 用于传输层安全协议报文业务的方法、设备及介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881908A (zh) * 2005-06-13 2006-12-20 华为技术有限公司 测量mpls网络性能参数的方法
CN103684923A (zh) * 2013-12-24 2014-03-26 华为技术有限公司 一种丢包测量的方法及网络设备
US20140169183A1 (en) * 2012-12-14 2014-06-19 Telefonaktiebolaget L M Ericsson (Publ) Method and apparatus for augmenting twamp

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100597588B1 (ko) * 2003-10-02 2006-07-06 한국전자통신연구원 우선순위기반 능동 시험패킷을 이용한 노드간 경로특성측정방법
CN100417080C (zh) * 2005-02-01 2008-09-03 华为技术有限公司 一种检测网络链路故障并定位故障的方法
CN101160821A (zh) * 2005-11-17 2008-04-09 华为技术有限公司 测量mpls网络性能参数的方法及报文发送装置及系统
CN101026504B (zh) * 2006-02-24 2011-05-11 华为技术有限公司 一种网络性能测量方法
CN101494585B (zh) * 2009-03-11 2011-02-02 杭州华三通信技术有限公司 一种实现通用路由封装隧道可靠传输的方法及设备
CN101860523B (zh) * 2009-04-08 2015-04-15 华为技术有限公司 一种更新联合双向标签交换路径绑定关系的方法和装置
CN101588225B (zh) * 2009-06-25 2013-01-09 杭州再灵电子科技有限公司 一种基于分组交换网络的快速重传方法
CN104980350B (zh) * 2014-04-02 2018-02-16 华为技术有限公司 报文处理的方法及标签交换路由器
CN107370674B (zh) * 2016-05-13 2020-12-01 华为技术有限公司 一种数据传输的方法、设备和系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881908A (zh) * 2005-06-13 2006-12-20 华为技术有限公司 测量mpls网络性能参数的方法
US20140169183A1 (en) * 2012-12-14 2014-06-19 Telefonaktiebolaget L M Ericsson (Publ) Method and apparatus for augmenting twamp
CN103684923A (zh) * 2013-12-24 2014-03-26 华为技术有限公司 一种丢包测量的方法及网络设备

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
L. MARTINI, ED. E. ROSEN, ED. CISCO SYSTEMS, INC. N. EL-AAWAR, ED. LEVEL 3 COMMUNICATIONS, LLC: "Encapsulation Methods for Transport of Layer 2 Frames over MPLS Networks; rfc4905.txt", ENCAPSULATION METHODS FOR TRANSPORT OF LAYER 2 FRAMES OVER MPLS NETWORKS; RFC4905.TXT, INTERNET ENGINEERING TASK FORCE, IETF; STANDARD, INTERNET SOCIETY (ISOC) 4, RUE DES FALAISES CH- 1205 GENEVA, SWITZERLAND, 1 June 2007 (2007-06-01), Internet Society (ISOC) 4, rue des Falaises CH- 1205 Geneva, Switzerland, XP015052443 *
S. AMANTE LEVEL 3 B. CARPENTER UNIV. OF AUCKLAND S. JIANG HUAWEI J. RAJAHALME NOKIA SIEMENS NETWORKS: "IPv6 Flow Label Specification; rfc6437.txt", 6437, 1 November 2011 (2011-11-01), XP015081333 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022156808A1 (fr) * 2021-01-25 2022-07-28 华为技术有限公司 Procédé de traitement de paquets et appareil associé

Also Published As

Publication number Publication date
CN111371634B (zh) 2022-01-18
CN111371634A (zh) 2020-07-03

Similar Documents

Publication Publication Date Title
WO2020135087A1 (fr) Procédé, appareil et système de communication
JP7520170B2 (ja) パケット処理方法および装置、デバイス、ならびにシステム
US10735323B2 (en) Service traffic allocation method and apparatus
EP3958521A1 (fr) Procédé et appareil permettant de fournir un service destiné à un flux de services
EP3154227B1 (fr) Procédé de transmission de paquets, noeud, serveur de gestion de trajet, et support de stockage
CN107078963B (zh) 虚拟可扩展局域网中的路由追踪
KR101445470B1 (ko) L2 이더넷 노드로의 통신 가용 전송 네트워크 대역폭
US8634308B2 (en) Path detection in trill networks
US7486622B2 (en) OAM echo messaging to verify a service-based network distribution path
JP2019518393A (ja) パケット処理方法、及びデバイス
WO2021185208A1 (fr) Procédé et appareil de traitement de paquet, dispositif, et support de stockage
US20220078106A1 (en) Packet Measurement Method, Device, and System
JP2017530645A (ja) ネットワークパフォーマンスを測定するためのパケットサンプリング
WO2022121707A1 (fr) Procédé de transmission de paquets, dispositif et système
JP2015534793A (ja) パケットを送信するための方法、ルーティング・ブリッジ、およびシステム
WO2022194023A1 (fr) Procédé de traitement de paquets, dispositif de réseau et contrôleur
EP3534571A1 (fr) Procédé de transmission de paquet de service, et appareil de noeud
WO2022121638A1 (fr) Procédé et dispositif de traitement de paquets
CN107566277B (zh) 拓扑确定方法、消息响应方法、控制器以及交换机
CN113055293A (zh) 软件定义广域网中的选路方法及装置、通信系统
WO2022007550A1 (fr) Procédé d'équilibrage de charge, appareil, dispositif réseau et système
US12120023B2 (en) BIER OAM detection method, device, and system
WO2022257854A1 (fr) Procédé et appareil de publication de message et procédé et appareil de traitement de trajet de transfert
WO2023011047A1 (fr) Procédé et appareil de traitement
CN114598636A (zh) 流量调度方法、设备及系统

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

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

Country of ref document: EP

Kind code of ref document: A1