WO2020052274A1 - Method and apparatus for implementing mpls-based network detection, network device, and controller - Google Patents

Method and apparatus for implementing mpls-based network detection, network device, and controller Download PDF

Info

Publication number
WO2020052274A1
WO2020052274A1 PCT/CN2019/088427 CN2019088427W WO2020052274A1 WO 2020052274 A1 WO2020052274 A1 WO 2020052274A1 CN 2019088427 W CN2019088427 W CN 2019088427W WO 2020052274 A1 WO2020052274 A1 WO 2020052274A1
Authority
WO
WIPO (PCT)
Prior art keywords
detection
node
service
information
object identifier
Prior art date
Application number
PCT/CN2019/088427
Other languages
French (fr)
Chinese (zh)
Inventor
詹双平
柯明
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2020052274A1 publication Critical patent/WO2020052274A1/en

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
    • 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/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/106Active monitoring, e.g. heartbeat, ping or trace-route using time related information in packets, e.g. by adding timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/825Involving tunnels, e.g. MPLS

Definitions

  • the embodiments of the present application relate to, but are not limited to, a method, an apparatus, a network device, a controller, and a computer-readable storage medium for implementing an MPLS (Multi-Protocol Label Switching) network detection.
  • MPLS Multi-Protocol Label Switching
  • IP Internet Protocol
  • MPLS is a layer network model, which can be divided into services (L3VPN (Layer 3 Virtual Private Networks, etc.), etc.) and pipes (tunnels, LSPs (Label Switching) Path, label switching path, etc.)
  • L3VPN Layer 3 Virtual Private Networks, etc.
  • pipes tunnels, LSPs (Label Switching) Path, label switching path, etc.
  • LSPs Label Switching
  • LSPs Label Switching Path, label switching path, etc.
  • the two levels are different for the performance detection of different levels of objects.
  • pipeline detection is generally achieved through the LM (Loss Measure, Loss Measure) and DM (Delay Measure, Delay Measurement) functions defined in RFC6374 or G.8113.1.
  • the detection at the business level can be performed through Two-Way Active Measurement Protocol Two-way active measurement protocol).
  • the current identification methods of detection mechanisms are also different.
  • MPLS labels are usually used to identify the tunnels to be counted.
  • flow characteristics such as IP quintuples are generally used to identify flows that need to be counted.
  • IP quintuples sometimes cannot be identified when there are a large number of MPLS label stack layers, which makes detection and deployment of MPLS networks difficult.
  • the embodiments of the present application provide a method, an apparatus, a network device, a controller, and a computer-readable storage medium for implementing MPLS network detection.
  • an embodiment of the present application provides a method for implementing MPLS network detection, which includes: determining, by a node in a detection domain, information of a detection object and a detection task, wherein the information of the detection object includes an object identifier; and the node When it is the head node of the detection domain, a service packet matching the detection object is identified in the received service flow, the object identifier is added to the MPLS label of the service packet, and the forwarding includes the object identifier.
  • An object-identified service message when the node is a head node, an intermediate node, or a tail node of the detection domain, a detection operation is performed on a service message containing the object identifier according to the detection task.
  • an embodiment of the present application further provides a method for implementing multi-protocol label switching MPLS network detection, including: a controller assigning an object identifier to a detection object in the MPLS network; The information of the object is sent to each node in the detection domain corresponding to the detection object, so that the node performs a detection operation on a service packet matching the detection object according to the detection task according to the object identification.
  • an embodiment of the present application further provides a method for implementing multi-protocol label switching MPLS network detection, including: a controller assigns an object identifier to a detection object in the MPLS network, and sends a detection task and information of a detection object including the object identifier.
  • the node in the detection domain determines the information of the detection object and the detection task; when the node is the head node of the detection domain, it receives A service packet matching the detection object is identified in the service flow of the service object, the object identifier is added to the MPLS label of the service packet, and the service packet containing the object identifier is forwarded; the node is the When detecting a head node, an intermediate node, or a tail node of a domain, a detection operation is performed on a service packet including the object identifier according to the detection task.
  • an embodiment of the present application further provides a device for implementing multi-protocol label switching MPLS network detection, including:
  • a determination module configured to determine information of a detection object and a detection task, wherein the information of the detection object includes an object identifier
  • a processing module configured to identify a service packet that matches the detection object in a received service flow when the device is located at a head node of a detection domain, and add the MPLS label to the service packet An object identifier, and forward a service message including the object identifier;
  • the detection module is configured to perform a detection operation on a service packet including the object identifier according to the detection task.
  • an embodiment of the present application further provides a device for implementing multi-protocol label switching MPLS network detection, including:
  • An assignment module configured to assign an object identifier to a detection object in the MPLS network
  • a sending module configured to send information and detection tasks of a detection object including an object identifier to each node in a detection domain corresponding to the detection object, so that the node performs the detection task and Perform the detection operation on the service packets matching the detection object.
  • an embodiment of the present application further provides a network device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor implements the program when the processor executes the program. Implementation method of MPLS network detection.
  • an embodiment of the present application further provides a controller, including: a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor implements the program when the processor executes the program. Implementation method of MPLS network detection.
  • an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are used to implement the implementation method of the MPLS network detection.
  • the embodiment of the present application includes: a node in a detection domain determines information of a detection object and a detection task, wherein the information of the detection object includes an object identifier; and when the node is a head node of the detection domain, the received service A service packet matching the detection object is identified in the flow, the object identifier is added to the MPLS label of the service packet, and a service packet containing the object identifier is forwarded; the node is the detection domain When a head node, an intermediate node, or a tail node of the mobile terminal, perform a detection operation on a service packet including the object identifier according to the detection task.
  • the detection object at different levels adopts a universal identifier, reduces the analysis depth of the intermediate node, and can implement point-by-point performance detection.
  • FIG. 1 is a flowchart of a method for implementing MPLS network detection according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of a frame format using a special-purpose label to represent an object identifier according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of a frame format for representing an object identifier by using a combination of extended tags and extended special-purpose tags according to an embodiment of the present application;
  • FIG. 4 is a flowchart of a method for implementing MPLS network detection according to another embodiment of the present application.
  • FIG. 5 is a flowchart (controller side) of an implementation method of MPLS network detection according to an embodiment of the present application
  • FIG. 6 is a flowchart (controller side) of a method for implementing MPLS network detection according to another embodiment of the present application.
  • FIG. 7 is a flowchart (node side) of a method for implementing MPLS network detection according to an embodiment of the present application
  • FIG. 8 is a flowchart (node side) of an implementation method of MPLS network detection according to another embodiment of the present application.
  • FIG. 9 is a schematic diagram of an object tag deployment model according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a frame format adopted by a service message in Application Example 1 of this application.
  • FIG. 11 is a schematic diagram of an SR network path tracking scenario in Application Example 2 of this application.
  • FIG. 12 is a schematic diagram of a frame format used for service messages in Application Example 2 of this application.
  • FIG. 13 is a schematic diagram of a frame format used for service messages in Application Example 3 of this application.
  • FIG. 14 is a schematic diagram of a frame format used for a service message in Application Example 4 of this application.
  • 15 is a schematic diagram of a TWAMP measurement principle
  • FIG. 16 is a schematic diagram of a frame format used for a service message in Application Example 5 of this application.
  • FIG. 17 is a schematic diagram of a frame format used in a TWAMP message in Application Example 5 of this application.
  • FIG. 19 is a schematic diagram of a device for implementing MPLS network detection according to an embodiment of the present application (applied to detecting nodes in a domain);
  • 20 is a schematic diagram of a device for implementing MPLS network detection according to an embodiment of the present application (applied to a controller);
  • 21 is a schematic diagram of a network device according to an embodiment of the present application.
  • 22 is a schematic diagram of a controller according to an embodiment of the present application.
  • Some tunnel types cannot be distinguished by MPLS labels. For example, SR (Segment Routing) tunnels require additional labels to indicate them; identifying IP quintuples at intermediate points requires more hardware resources, especially in MPLS. When the number of label stack layers is large, sometimes it is not even identifiable, which makes it impossible to deploy point-by-point performance measurement on most networks.
  • SR Segment Routing
  • an embodiment of the present application proposes a method for implementing MPLS network detection.
  • the nodes in the detection domain only need to identify and count according to the object ID. That is, this identification method needs to be universal and extensible.
  • the method for implementing MPLS network detection in the embodiment of the present application includes:
  • Step 101 The controller sends a detection task to each node in the detection domain corresponding to the detection object.
  • the detection object may include at least one of the following: a tunnel, a service flow, and a PW (Pseudo-Wire, pseudo wire). That is, the object identifier is a general object identifier, which can represent a service flow, and can also represent a tunnel, a PW, and the like. Among them, the tunnel includes an SR tunnel, a Label Distribution Protocol (LDP) tunnel, and the like.
  • LDP Label Distribution Protocol
  • the controller can send a detection task to each node in the detection domain through a configuration command.
  • the detection task may include: counting service packets, tracing tunnel paths, performing in-band performance statistics through alternating colored markers, TWAMP (Two-Way Active Measurement Protocol) message measurement, and the like.
  • TWAMP Tro-Way Active Measurement Protocol
  • Step 102 A node in the detection domain determines information of the detection object and the detection task.
  • the node may be a head node, an intermediate node, or a tail node of the detection domain.
  • the information of the detection object includes an object identifier, and according to different detection objects, it may further include a tunnel identifier, characteristic information of a service flow (such as an IP quintuple), a PW identifier, and the like.
  • the controller may assign an object identifier to the detection object, and information of the detection object including the object identifier is sent to each node in the detection domain.
  • the object identifier may be globally unique or node unique.
  • the detection object is identified by an object identifier; in the case of a node unique, the head node identifier and the object identifier are used as a tuple. Identifying the detection object.
  • the object identifier may be allocated by a head node in the detection domain.
  • Step 103 When the node is the head node of the detection domain, a service packet matching the detection object is identified in the received service flow, and the object is added to the MPLS label of the service packet. Identification, and forwards a service message containing the object identification.
  • the head node may identify a service packet matching the detection object according to the information of the detection object, for example:
  • the information of the detection object further includes a tunnel identifier, and the head node identifies a service packet that matches the detection object in the received service flow according to the tunnel identifier.
  • the information of the detection object further includes characteristic information of the service flow, and the head node recognizes that the detection object matches the detection object in the received service flow according to the characteristic information of the service flow.
  • Business message When the detection object includes a service flow, the information of the detection object further includes characteristic information of the service flow, and the head node recognizes that the detection object matches the detection object in the received service flow according to the characteristic information of the service flow.
  • the information of the detection object further includes a PW identifier, and the head node identifies a service packet that matches the detection object in the received service flow according to the PW identifier.
  • the detection object is identified by a tuple of a node identifier and an object identifier.
  • a tuple of a head node identifier and an object identifier is added to the MPLS label of the service packet. Forward a service message containing the two-tuple.
  • the position of the object identifier in the MPLS label is determined according to the detection object, and the object identifier is added to the MPLS label according to the position. In other words, the position of the object identifier in the MPLS label stack is different according to the detection object.
  • the object identifier is placed after the tunnel label and before the service label; when the detection object includes a service flow, the object identifier is placed after the service label, that is, at the bottom of the MPLS label stack.
  • a preset guide label and the object identifier are added to the MPLS label, and the guide label is located before the object identifier, and is used to indicate a position of the object identifier in the MPLS label.
  • a guide label can be used to indicate that the object identifier is followed, so that the object identifier can be placed anywhere in the label stack, and the value range of the object identifier is independent of MPLS.
  • the label space can be duplicated with other MPLS forwarding labels.
  • the guide label can be expressed in two ways:
  • Method one use special purpose labels to indicate
  • Method two use a combination of extended tags and extended special-purpose tags to represent
  • RFC7274 defines an extended special-purpose label representation method.
  • a label value of 15 indicates an extended label.
  • the extended extended special-purpose label is a specific extension type.
  • a label value of 100 is used as an example to indicate a guide label for object identification.
  • the frame format is Shown in Figure 3.
  • the object identifier includes a label domain
  • adding the object identifier to an MPLS label of the service packet includes: setting the label domain according to a preset label rule, and An object identifier containing the label domain is added to the MPLS label.
  • the detection task includes performing in-band performance statistics through alternating coloring marks
  • the tag domain includes alternating coloring marks, and achieving alternating coloring by using alternate coloring marks.
  • the detection task includes measuring a TWAMP message, inserting a TWAMP message into the service flow, an MPLS label of the TWAMP message carrying an object identifier containing the tag domain, and indicating the report through the tag domain.
  • the text type is TWAMP message.
  • the value of the tag field is different.
  • Step 104 When the node is a head node, an intermediate node, or a tail node of the detection domain, perform a detection operation on a service packet including the object identifier according to the detection task.
  • the operations performed are different depending on the detection task and the location of each node.
  • the detection task includes: counting service packets
  • the step 104 includes: when the node is a head node of the detection domain, counting and counting the service packets sent out; When the node is an intermediate node in the detection domain, count and count the received service packets and the service packets sent respectively; when the node is a tail node in the detection domain, count the received The received service packets are counted.
  • the detection task includes: tunnel path tracking
  • the step 104 includes: when the node is a head node of the detection domain, comparing the node information with the outbound interface information of the service packet and The object identifier is associated, and the associated information is recorded; when the node is an intermediate node in the detection domain, its own node information and the inbound interface information of the service message are associated with the object identifier, And, the self node information and the outbound interface information of the service message are associated with the object identifier, and the associated information is recorded; when the node is the tail node of the detection domain, the self node information, The inbound interface information of the service message is associated with the object identifier, and the associated information is recorded.
  • the detection task includes: performing in-band performance statistics
  • the marker domain includes alternating coloring markers
  • the step 104 includes: when the node is a head node of the detection domain, according to the The information of the alternately colored flags is used to count and count the service packets sent out.
  • the node is an intermediate node in the detection domain, the received and transmitted services are processed according to the information of the alternately colored flags.
  • the packet is counted and counted; when the node is the tail node of the detection domain, the received service packet is counted and counted according to the information of the alternating coloring mark.
  • the detection task includes: performing in-band performance statistics
  • the marker domain includes a delay measurement marker
  • the step 104 includes: when the node is a head node of the detection domain, according to the The delay measurement mark information is used to time-stamp the service message and record the time stamp when the service message is sent.
  • the delay measurement mark is used.
  • the service information is time stamped on the service message, and the time stamp when the service message arrives and is sent is recorded.
  • the node is the tail node of the detection domain, the marked information is measured according to the delay. Time stamping the service message and recording the time stamp when the service message arrives.
  • the node performing a detection operation on a service packet containing the object identifier according to the detection task includes: when the node is a head node of the detection domain, the node sends the service packet The statistics are counted in the text, and the value of the counted statistics is carried in the TWAMP message and sent out; when the node is the tail node of the detection domain, the statistics of the received service packets are counted and the received The value of the counting statistics carried in the TWAMP message is compared with the value of the own counting statistics to obtain a TWAMP measurement result. In addition, for the tail node of the detection domain, the object identification and other labels in the MPLS label stack are also popped out to restore the original service packet.
  • the method may further include:
  • step 105 the node sends a detection result obtained by performing a detection operation to the controller.
  • the detection result may be a count value of service packets, a time stamp value of service packets, tunnel path information, and the like.
  • Step 106 The controller receives the detection result sent by the node, and performs statistics on the detection result.
  • the detection task includes: counting service packets
  • the step 106 includes: the controller performs traffic statistics, end-to-end packet loss statistics, and point-by-point packet loss according to the detection results. At least one of the statistics.
  • the detection task includes: tunnel path tracking, and the step 106 includes: the controller statistics complete tunnel path information according to the detection result.
  • the detection task includes: performing in-band performance statistics
  • the step 106 includes: the controller performs traffic statistics, end-to-end packet loss statistics, and point-by-point packet loss based on the detection results. At least one of statistics, end-to-end delay statistics, and point-by-point delay statistics.
  • the detection task is TWAMP packet measurement, the detection is performed between the head node and the tail node, and it is not necessary to perform steps 105 to 106.
  • the detection object at different levels adopts a universal identifier, reduces the analysis depth of the intermediate node, and can implement point-by-point performance detection.
  • the object identifier can be extended to add a tag field, which can carry one or more types of information, and serves as an instruction, which can meet the requirements of more flexibility and scalability.
  • the controller assigns the object identifier as an example.
  • the method for implementing MPLS network detection in the embodiment of the present application includes:
  • Step 201 The controller assigns an object identifier to a detection object in the MPLS network.
  • the detection object may include at least one of the following: a tunnel, a service flow, and a PW. That is, the object identifier is a general object identifier, which can represent a service flow, and can also represent a tunnel, a PW, and the like.
  • step 202 the controller sends the detection task and the information of the detection object including the object identifier to each node in the detection domain corresponding to the detection object, so that the node according to the detection task and according to the object identifier Perform a detection operation on the service packets matching the detection object.
  • the information of the detection object may include, in addition to the object identifier, a tunnel identifier, characteristic information of a service flow (such as an IP quintuple), a PW identifier, and the like according to different detection objects.
  • the detection task may include: counting service packets, tracking tunnel paths, performing in-band performance statistics by alternately colored markers, and measuring TWAMP packets.
  • the method further includes: step 203: The controller receives a detection result sent by the node, and performs statistics on the detection result.
  • the detection result may be a count value of service packets, a time stamp value of service packets, tunnel path information, and the like.
  • the detection task includes: counting service packets
  • the step 203 includes: the controller performs traffic statistics, end-to-end packet loss statistics, and point-by-point packet loss according to the detection results. At least one of the statistics.
  • the detection task includes: tunnel path tracking, and the step 203 includes: the controller counts complete tunnel path information according to the detection result.
  • the detection task includes: performing in-band performance statistics
  • the step 203 includes: the controller performs traffic statistics, end-to-end packet loss statistics, and point-by-point packet loss according to the detection results. At least one of statistics, end-to-end delay statistics, and point-by-point delay statistics.
  • detection is performed between the head node and the tail node, and step 203 need not be performed.
  • the controller sends routing information to the nodes in the detection domain, and the node learns whether it is a head node, an intermediate node, or a tail node according to the routing information.
  • the head node of the detection domain (Ingress, PE, Ingress, Provider Edge) identifies the service flow when the packet enters, and adds the corresponding object identifier to the service flow;
  • Intermediate nodes (P, Provider, and core device) in the detection domain can identify service flows and complete performance statistics based on the object identifiers in the MPLS label stack without further parsing the IP quintuple in the payload, reducing the packet Parsing depth.
  • the tail node of the detection domain (egress, PE, edge output device of the operator) pops up the object identification and other labels in the label stack, and restores the original service packet.
  • the method for implementing MPLS network detection in the embodiment of the present application includes:
  • Step 301 A node in a detection domain determines information of a detection object and a detection task, wherein the information of the detection object includes an object identifier.
  • the detection object may include at least one of the following: a tunnel, a service flow, and a PW. That is, the object identifier is a general object identifier, which can represent a service flow, and can also represent a tunnel, a PW, and the like.
  • the information of the detected object may include a tunnel identifier, characteristic information of a service flow (such as an IP quintuple), a PW identifier, and the like according to different detected objects.
  • the object identifier may be globally unique or node unique.
  • the detection object is identified by an object identifier; in the case of a node unique, the head node identifier and the object identifier are used as a tuple. Identifying the detection object.
  • the nodes in the detection domain may determine the detection task and the information of the detection object by receiving the detection task and the information of the detection object including the object identifier sent by the controller.
  • the object identifier may also be allocated by the head node in the detection domain, and no controller allocation is required.
  • the detection task may include: counting service packets, tracking tunnel paths, performing in-band performance statistics by alternately colored markers, and measuring TWAMP packets.
  • Step 302 When the node is the head node of the detection domain, a service packet matching the detection object is identified in the received service flow, and the object is added to the MPLS label of the service packet. Identification, and forwards a service message containing the object identification.
  • the head node may identify a service packet matching the detection object according to the information of the detection object, for example:
  • the information of the detection object further includes a tunnel identifier, and the head node identifies a service packet matching the detection object in the received service flow according to the tunnel identifier.
  • the information of the detection object further includes characteristic information of the service flow, and the head node recognizes that the detection object matches the detection object in the received service flow according to the characteristic information of the service flow.
  • Business message When the detection object includes a service flow, the information of the detection object further includes characteristic information of the service flow, and the head node recognizes that the detection object matches the detection object in the received service flow according to the characteristic information of the service flow.
  • the information of the detection object further includes a PW identifier, and the head node identifies a service packet that matches the detection object in the received service flow according to the PW identifier.
  • the detection object is identified by a tuple of a node identifier and an object identifier.
  • the object identifier is added to the MPLS label of the service packet, and the forwarding includes the object identifier.
  • An object-identified service message includes: adding a head node identifier and an object identifier to a tuple in the MPLS label of the service message, and forwarding the service message containing the tuple.
  • adding the object identifier to the MPLS label of the service packet includes: determining a position of the object identifier in the MPLS label according to the detection object, and according to the position, Adding the object identifier to the MPLS label.
  • the position of the object identifier in the MPLS label stack is different according to the detection object.
  • the object identifier is placed after the tunnel label and before the service label; when the detection object includes a service flow, the object identifier is placed after the service label, that is, at the bottom of the MPLS label stack.
  • adding the object identifier to the MPLS label of the service packet includes: adding a preset guidance label and the object identifier to the MPLS label, and the guidance label is located at all locations. Before the object identification, it is used to indicate the position of the object identification in the MPLS label.
  • a guide label can be used to indicate that the object identifier is followed, so that the object identifier can be placed anywhere in the label stack, and the value range of the object identifier is independent of MPLS.
  • the label space can be duplicated with other MPLS forwarding labels.
  • the guide label can be expressed in two ways:
  • Method one use special purpose labels to indicate
  • RFC3032 defines reserved tags of 0-15 as special purposes. At present, there are still some unassigned tag values. Taking the unassigned tag value of 12 as an example, it represents the leading tag of the object identifier. Its frame format is shown in Figure 2.
  • Method two use a combination of extended tags and extended special-purpose tags to represent
  • RFC7274 defines an extended special-purpose label representation method.
  • a label value of 15 indicates an extended label.
  • the extended extended special-purpose label is a specific extension type.
  • a label value of 100 is used as an example to indicate a guide label for object identification.
  • the frame format is Shown in Figure 3.
  • the object identifier includes a label domain
  • adding the object identifier to an MPLS label of the service packet includes: setting the label domain according to a preset label rule, and An object identifier containing the label domain is added to the MPLS label.
  • the detection task includes performing in-band performance statistics through alternating coloring marks
  • the tag domain includes alternating coloring marks, and achieving alternating coloring by using alternate coloring marks.
  • the detection task includes proactive bidirectional detection of TWAMP packet measurement, and after identifying a service packet matching the detection object in the received service flow, the method further includes: inserting a TWAMP packet into the service flow Text, the MPLS label of the TWAMP message carries an object identifier containing the tag domain. The value of the tag is different for TWAMP messages and service messages.
  • Step 303 When the node is a head node, an intermediate node, or a tail node of the detection domain, perform a detection operation on a service packet including the object identifier according to the detection task.
  • the operations performed are different depending on the detection task and the location of each node.
  • the detection task includes: counting service packets
  • the step 303 includes: performing counting and counting on the service packets sent when the node is a head node of the detection domain; When the node is an intermediate node in the detection domain, count and count the received service packets and the service packets sent respectively; when the node is a tail node in the detection domain, count the received The received service packets are counted.
  • the detection task includes: tunnel path tracking, and the step 303 includes: when the node is a head node of the detection domain, the information of the node and the outbound interface information of the service packet are compared with The object identifier is associated, and the associated information is recorded; when the node is an intermediate node in the detection domain, its own node information and the inbound interface information of the service message are associated with the object identifier, And, the self node information and the outbound interface information of the service message are associated with the object identifier, and the associated information is recorded; when the node is the tail node of the detection domain, the self node information, The inbound interface information of the service message is associated with the object identifier, and the associated information is recorded.
  • the detection task includes: performing in-band performance statistics, the marker domain includes alternating coloring markers, and the step 303 includes: when the node is a head node of the detection domain, according to the The information of the alternately colored flags is used to count and count the service packets sent out.
  • the node is an intermediate node in the detection domain, the received and transmitted services are processed according to the information of the alternately colored flags.
  • the packet is counted and counted; when the node is the tail node of the detection domain, the received service packet is counted and counted according to the information of the alternating coloring mark.
  • the detection task includes: performing in-band performance statistics, the marker domain includes a delay measurement marker, and the step 303 includes: when the node is a head node of the detection domain, according to the The delay measurement mark information is used to time-stamp the service message and record the time stamp when the service message is sent.
  • the delay measurement mark is used.
  • the service information is time stamped on the service message, and the time stamp when the service message arrives and is sent is recorded.
  • the node is the tail node of the detection domain, the marked information is measured according to the delay. Time stamping the service message and recording the time stamp when the service message arrives.
  • the performing a detection operation on a service packet containing the object identifier according to the detection task includes: when the node is a head node of the detection domain, the service packet is sent out. Counting statistics, carrying the value of the counting statistics in the TWAMP message and sending it out; when the node is the tail node of the detection domain, counting statistics of the received service packets, and The value of the counting statistics carried in the TWAMP message is compared with the value of the own counting statistics to obtain a TWAMP measurement result.
  • the object identification and other labels in the MPLS label stack are also popped out to restore the original service packet.
  • the method may further include:
  • Step 304 The node sends a detection result obtained by performing a detection operation to the controller, so that the controller performs statistics.
  • the detection result may be a count value of service packets, a time stamp value of service packets, tunnel path information, and the like.
  • the detection object at different levels adopts a universal identifier, reduces the analysis depth of the intermediate node, and can implement point-by-point performance detection.
  • the object identifier can be extended to add a tag field, which can carry one or more types of information, and serves as an instruction, which can meet the requirements of more flexibility and scalability.
  • the user identification is called Object ID.
  • A is the head node of the detection domain, specifically the operator edge input device
  • B is the intermediate node of the detection domain, specifically the core device
  • C is the tail node of the detection domain
  • a controller is deployed to centrally control the network.
  • a globally unique method a specific detection object can be uniquely identified by Object ID. If a node unique method is used, the binary of ⁇ head node ID, Object ID ⁇ can be used. The group uniquely identifies a specific detection object. In this application example, a globally unique Object ID is used. The process is as follows:
  • the controller assigns a globally unique Object ID to the SR-TE tunnel of A-> C.
  • an SR-TE tunnel consists of a series of segments representing nodes or links, that is, a segment list.
  • Object ID is used to identify a unique SR-TE tunnel, which is equivalent to Path ID in this embodiment.
  • the controller sends the information of the object to be detected to each device on the tunnel path, and the information includes SR tunnel information, such as a tunnel identifier (tunnel ID) and a globally unique Object ID assigned to the tunnel.
  • SR tunnel information such as a tunnel identifier (tunnel ID) and a globally unique Object ID assigned to the tunnel.
  • Node A identifies the incoming packets and adds the corresponding Object ID to the service packets that need to enter this SR-TE tunnel. Because the detected object is a tunnel, the Object ID is placed after the SR tunnel label and before the service label.
  • a special-purpose label is used as a guide label as an example.
  • the complete frame format is shown in FIG. 10.
  • the node A sends the message from the corresponding port according to the outer SR label, and at the same time counts based on the Object ID to generate the node A sending counter A_Tx_Cnt.
  • node B After receiving the service packet, node B retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID to generate the reception counter B_Rx_Cnt of node B.
  • Node B sends the message from the corresponding port according to the outer SR label, and counts based on the Object ID to generate a node B sending counter B_Tx_Cnt.
  • the node C After receiving the service packet, the node C retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID to generate a reception counter C_Rx_Cnt of the node C.
  • the C node strips the VPN (Virtual Private Network) label and the Object ID, restores the service packet, and sends it to the client device.
  • VPN Virtual Private Network
  • the controller collects the counter statistics of each node to implement SR tunnel traffic statistics.
  • the controller compares the counter statistics of each point to achieve end-to-end packet loss measurement or point-by-point packet loss measurement of the SR tunnel.
  • Application Example 2 Carrying Object ID in SR Scenario to Realize Path Tracking of SR Tunnel
  • the SR tunnel implements the restriction of the service path through the segment list, but the paths between the constrained nodes rely entirely on the shortest path principle of IGP (Interior Gateway Protocol) to implement routing. IGP routing results will also be caused by topology changes and other reasons. With this change, a method for obtaining the actual path of the business in real time is needed, and path tracking can be used to implement this method.
  • IGP Interior Gateway Protocol
  • A, B, C, D, E, and F are network nodes in the SR domain.
  • An SR-TE tunnel from node A to node F is deployed, and the segment list used is ⁇ C, F ⁇ .
  • the corresponding Object ID is assigned to the SR-TE tunnel of ⁇ C, F ⁇ .
  • the Object ID is pushed into the MPLS label stack and passed.
  • Object ID can be globally unique or node unique. If a globally unique method is used, a specific detection object can be uniquely identified by Object ID. If a node unique method is used, the binary of ⁇ head node ID, Object ID ⁇ can be used.
  • the group uniquely identifies a specific detection object. In this embodiment, a unique Object ID of the node is used. The process is as follows:
  • Node A assigns a unique Object ID for the SR-TE tunnel of A-> F.
  • the SR-TE tunnel is composed of a series of segments representing nodes or links, that is, segment lists.
  • segment lists are ⁇ C, F ⁇ .
  • Object ID is used to identify this SR-TE tunnel of ⁇ C, F ⁇ , which is equivalent to Path ID in this application example.
  • the controller sends the information of the object to be tracked to each device in the SR domain.
  • the information includes SR tunnel information, such as tunnel ID.
  • Node A recognizes the incoming packet, and adds the corresponding ⁇ header ID, Object ID ⁇ two-tuple to the service packets that need to enter the SR-TE tunnel (in this application example, the two-tuple The head node ID is node A.) Because the detected object is a tunnel, the Object ID is placed after the SR tunnel label and before the service label.
  • a special-purpose label is used as a guide label as an example.
  • the complete frame format is shown in Figure 12.
  • Node A sends the packet from the corresponding port according to the outer SR label. At the same time, it records the node and outbound interface information and associates it with the Object ID.
  • the recorded information is ⁇ Node A ID, Object ID ⁇ , Node A, Tx interface ⁇ .
  • node B After receiving the service packet, node B retrieves the MPLS label stack, extracts the ⁇ node AID, object ID ⁇ binary group in the label stack, records the node and incoming interface information at the same time, and associates it with the binary group.
  • the recorded information is ⁇ Node A ID, Object ID ⁇ , Node B, Rx interface ⁇ .
  • Node B sends the message from the corresponding port according to the outer SR label, and records the node and outbound interface information, and associates it with the ⁇ node AID, Object ID ⁇ tuple, and the recorded information is ⁇ ⁇ Node A ID, Object ID ⁇ , Node B, Tx interface ⁇ .
  • node C After receiving the business packet, node C retrieves the MPLS label stack, extracts the ⁇ node AID, object ID ⁇ binary group in the label stack, records the node and incoming interface information at the same time, and associates it with the binary group.
  • the recorded information is ⁇ Node A ID, Object ID ⁇ , Node C, Rx interface ⁇ .
  • the C node pops up the outermost Node C label, finds the next SR label, and sends the message from the corresponding port. At the same time, it records the node and outbound interface information, and it is binary with ⁇ Node A ID, Object ID ⁇ Groups are associated, and the recorded information is ⁇ section APoint ID, Object ID ⁇ , Node C, Tx interface ⁇ .
  • the E node After the E node receives the service packet, it retrieves the MPLS label stack, extracts the ⁇ node AID, Object ID ⁇ binary group in the label stack, records the node and incoming interface information at the same time, and associates it with the binary group.
  • the recorded information is ⁇ Node A ID, Object ID ⁇ , Node E, Rx interface ⁇ .
  • the E node sends the message from the corresponding port according to the outer SR label, and records the node and outbound interface information, and associates it with the ⁇ node AID, Object ID ⁇ tuple, and the recorded information is ⁇ ⁇ Node A ID, Object ID ⁇ , Node E, Tx interface ⁇ .
  • the F node After the F node receives the service packet, it retrieves the MPLS label stack, extracts the ⁇ node AID, Object ID ⁇ binary group in the label stack, records the node and incoming interface information at the same time, and associates it with the binary group.
  • the recorded information is ⁇ Node A ID, Object ID ⁇ , Node F, Rx interface ⁇ .
  • the F node sends the message from the corresponding port according to the outer SR label, and records the node and outbound interface information, and associates it with the ⁇ node AID, Object ID ⁇ tuple, and the recorded information is ⁇ ⁇ Node A ID, Object ID ⁇ , Node F, Tx interface ⁇ .
  • the F node strips the VPN tag and the ⁇ node A ID, Object ID ⁇ tuple, restores the service packet, and sends it to the client device.
  • All nodes report the recorded path tracking information to the controller, and the controller summarizes the statistics of the complete tunnel path information.
  • A is the head node of the detection domain, specifically the operator edge input device
  • B is the intermediate node of the detection domain, specifically the core device
  • C is the tail node of the detection domain
  • the operator edge output device is a network node in the MPLS domain
  • a controller is deployed to centrally control the network.
  • the corresponding Object ID is assigned to the service flow that needs to be measured.
  • the Object ID is pushed into the MPLS label stack and passed.
  • Object ID can be globally unique or node unique. If a globally unique method is used, a specific detection object can be uniquely identified by Object ID. If a node unique method is used, the binary of ⁇ head node ID, Object ID ⁇ can be used. The group uniquely identifies a specific detection object. In this embodiment, a globally unique Object ID is used. The process is as follows:
  • the controller assigns a globally unique Object ID to a service flow of A-> C to be measured.
  • Service flows are identified by IP 5-tuples, and Object ID is used to identify a unique service flow.
  • the controller sends the information of the object to be detected to each device on the tunnel path.
  • the information includes the characteristic information of the service flow, such as the IP quintuple and the globally unique Object ID assigned to the service flow.
  • Node A identifies the incoming packets, and adds the corresponding Object ID to the service flows that match the characteristic information. Since the detected object is a service flow, the Object ID is placed behind the service label, which is the position at the bottom of the stack.
  • the use label is taken as an example of the guide label.
  • the complete frame format is shown in Figure 13.
  • Node A sends packets from the corresponding port according to the outer MPLS label, and counts based on the Object ID to generate a node A sending counter A_Tx_Cnt.
  • node B After receiving the service packet, node B retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID to generate the receiving counter B_Rx_Cnt of node B without identifying the IP quintuple in the user payload.
  • Node B sends packets from the corresponding port according to the outer MPLS label, and at the same time counts based on the Object ID to generate a Node B send counter B_Tx_Cnt.
  • the node C After receiving the service packet, the node C retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID to generate a reception counter C_Rx_Cnt of the node C.
  • Node C strips the VPN label and Object ID, restores the service packet, and sends it to the client device.
  • the controller collects the counter statistics results of each node to realize the traffic flow statistics.
  • the controller compares the counter statistics of each point to achieve end-to-end packet loss measurement or point-by-point packet loss measurement of the service flow.
  • Alternately colored markers are an in-band performance statistics method. Through alternately colored markers, performance measurements such as packet loss and delay can be achieved.
  • the tag field is generally located in the IP header.
  • IPv4 uses reserved bits and IPv6 uses extension headers, which are not applicable to MPLS networks. In the MPLS scenario, you can implement the color marking function by extending the Object ID.
  • A is the head node of the detection domain, specifically the operator edge input device
  • B is the intermediate node of the detection domain, specifically the core device
  • C is the tail node of the detection domain
  • the operator edge output device is a network node in the MPLS domain, and a controller is deployed to centrally control the network.
  • the corresponding Object ID is assigned to the service flow to be measured, and the Object ID carrying tag field is extended to realize the measurement of packet loss and delay.
  • Object ID can be globally unique or node unique. If a globally unique method is used, a specific detection object can be uniquely identified by Object ID. If a node unique method is used, the binary of ⁇ head node ID, Object ID ⁇ can be used. The group uniquely identifies a specific detection object. In this application example, a globally unique Object ID is used. The process is as follows:
  • the controller assigns a globally unique Object ID to a service flow of A-> C to be measured.
  • Service flows are identified by IP 5-tuples, and Object ID is used to identify a unique service flow.
  • Alternating coloring schemes generally use the double labeling method, which uses two labeling domains, C bit and D bit, where C bit indicates the alternate coloring mark and D bit indicates the delay measurement mark.
  • the controller sends the information of the object to be detected to each device on the tunnel path.
  • the information includes the characteristic information of the service flow, such as the IP quintuple and the globally unique Object ID assigned to the service flow.
  • Node A identifies the incoming packets, and adds the corresponding Object ID to the service flows that match the characteristic information. Since the detected object is a service flow, the Object ID should be placed after the service label, which is the bottom of the stack. As an example, the special-purpose label is used as the guide label.
  • the complete frame format is shown in Figure 14.
  • node B After receiving the service packet, node B retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID and the carried color information to generate the reception counters B_Rx_Cnt0 and B_Rx_Cnt1 of node B without identifying the user payload. IP quintuple in.
  • Node B sends the message from the corresponding port according to the outer MPLS label, and counts based on the Object ID and the color information carried by it, and generates Node B sending counters B_Tx_Cnt0 and B_Tx_Cnt1.
  • the node C After receiving the service packet, the node C retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID and the color information carried by it, and generates the reception counters C_Rx_Cnt0 and C_Rx_Cnt1 of the node.
  • Node C strips the VPN label and Object ID, restores the service packet, and sends it to the client device.
  • the controller compares the statistical results of the counters at each point with the recorded time stamps, and implements functions such as end-to-end packet loss measurement, point-by-point packet loss measurement, end-to-end delay measurement, and point-by-point delay measurement.
  • TWAMP is a widely used active measurement method, but it measures packet loss and delay of TWAMP packets, and cannot truly reflect the performance of the service. Therefore, TWAMP proposes an extension to achieve direct service measurement.
  • the principle is shown in Figure 15.
  • the head node By inserting a series of TWAMP messages into the service message as a statistical delimitation frame, the head node counts the messages by identifying the service message and carries the count value in the TWAMP message. Pass to the tail node.
  • the tail node can obtain the count of the packets sent by the head node and compare it with the count of the packets received at this point, to achieve end-to-end packet loss measurement.
  • This method does not require the controller to perform centralized performance analysis, and the deployment is more flexible.
  • the direct measurement method of TWAMP requires that the network element can identify and distinguish the service flow to be counted and its corresponding TWAMP message.
  • the traditional method is to identify the service message by the UDP (User Datagram Protocol) port number in the IP message. It is still a TWAMP message, but this method requires the network element to have deep message analysis capabilities.
  • A is the head node of the detection domain, specifically the operator edge input device
  • B is the intermediate node of the detection domain, specifically the core device
  • C is the tail node of the detection domain , Specifically the operator edge output device
  • the corresponding Object ID is assigned to the service flow to be measured, and the Object ID carrying tag field is extended to realize the measurement of packet loss and delay.
  • the controller assigns a globally unique Object ID to a service flow of A-> C to be measured.
  • Service flows are identified by IP 5-tuples, and Object ID is used to identify a unique service flow.
  • the TWAMP direct measurement solution reserves a Tbit for tagging services and TWAMP messages.
  • the controller sends the information of the object to be detected to each device on the tunnel path.
  • the information includes the characteristic information of the service flow, such as the IP quintuple and the globally unique Object ID assigned to the service flow.
  • Node A identifies the incoming packets, and adds the corresponding Object ID to the service flows that match the characteristic information. Since the detected object is a service flow, the Object ID should be placed after the service label, which is the bottom of the stack. As an example, the special-purpose label is used as the guide label.
  • Node A generates a TWAMP message according to a certain period and inserts it into the service flow.
  • Node A sends the message from the corresponding port according to the outer MPLS label, and at the same time counts based on the Object ID, generates a node A sending counter A_Tx_Cnt, and carries this count value in the TWAMP message for transmission.
  • Node B forwards according to the MPLS label.
  • the node C After receiving the service packet, the node C retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID to generate a reception counter C_Rx_Cnt of the node C.
  • Node C strips the VPN label and Object ID, restores the service packet, and sends it to the client device.
  • pseudowires can be represented by pseudowire labels, but pseudowire labels are unique within a node and not globally unique. Therefore, the traditional mechanism based on pseudo-wire labels for traffic statistics and packet loss measurement can only achieve end-to-end measurement, but cannot support point-by-point measurement. Point-by-point measurement of pseudo-lines can be achieved by using Object ID.
  • A is the head node of the detection domain, specifically the operator edge input device
  • B is the intermediate node of the detection domain, specifically the core device
  • C is the tail node of the detection domain
  • the operator edge output device is a network node in the MPLS domain
  • a controller is deployed to centrally control the network.
  • the corresponding Object ID is assigned to the pseudo wire to be measured.
  • the Object ID is pushed into the MPLS label stack and passed.
  • Object ID can be globally unique or node unique. If a globally unique method is used, a specific detection object can be uniquely identified by Object ID. If a node unique method is used, the binary of ⁇ head node ID, Object ID ⁇ can be used. The group uniquely identifies a specific detection object. In this embodiment, a globally unique Object ID is used. The process is as follows:
  • the controller assigns a globally unique Object ID to a pseudo-wire of A-> C to be measured.
  • the pseudo line is identified by a pseudo line ID, and the Object ID is used to identify a unique pseudo line.
  • the controller sends the information of the object to be detected to each device on the tunnel path.
  • the information includes the characteristic information of the pseudowire, such as the pseudowire identification (PWID) and the globally unique ObjectID assigned to the pseudowire.
  • PWID pseudowire identification
  • ObjectID globally unique ObjectID assigned to the pseudowire.
  • Node A identifies the incoming packets and adds the corresponding Object ID to the business packets that need to enter this pseudo-wire. Since the detected object is a pseudo-wire, the Object ID is placed after the PW tag.
  • the extension tag + extension As an example, the special-purpose label is used as the guide label.
  • the complete frame format is shown in Figure 18.
  • Node A sends packets from the corresponding port according to the outer MPLS label, and counts based on the Object ID to generate a node A sending counter A_Tx_Cnt.
  • node B After receiving the service packet, node B retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID to generate the reception counter B_Rx_Cnt of node B.
  • Node B sends packets from the corresponding port according to the outer MPLS label, and at the same time counts based on the Object ID to generate a Node B send counter B_Tx_Cnt.
  • the node C After receiving the service packet, the node C retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID to generate a reception counter C_Rx_Cnt of the node C.
  • Node C strips the PW label and Object ID, restores the service packet, and sends it to the client device.
  • the controller collects the counter statistics results of each node to realize the traffic flow statistics.
  • the controller compares the counter statistics of each point to achieve end-to-end packet loss measurement or point-by-point packet loss measurement of the pseudowire.
  • an embodiment of the present application further provides an apparatus for implementing MPLS network detection, which is applied to detecting a node in a domain and includes:
  • the determining module 41 is configured to determine information of a detection object and a detection task, wherein the information of the detection object includes an object identifier;
  • the processing module 42 is configured to, when the device is located at the head node of the detection domain, identify a service packet matching the detection object in the received service flow, and add the service packet to the MPLS label of the service packet.
  • the object identifier is described, and a service message including the object identifier is forwarded;
  • the detection module 43 is configured to perform a detection operation on a service packet including the object identifier according to the detection task.
  • the detection object includes at least one of the following: a tunnel, a service flow, and a PW.
  • the processing module 42 is configured to identify a service packet that matches the detection object in the received service flow includes at least one of the following: the detection object includes When tunneling, the information of the detection object further includes a tunnel identifier, and the head node identifies a service packet that matches the detection object in the received service flow according to the tunnel identifier; the detection object includes a service flow At the time, the information of the detection object further includes characteristic information of the service flow, and the head node identifies a service packet matching the detection object in the received service flow according to the characteristic information of the service flow; the When the detection object includes a PW, the information of the detection object further includes a PW identifier, and the head node identifies a service packet that matches the detection object in the received service flow according to the PW identifier.
  • the detection object is identified by a tuple of a node identifier and an object identifier
  • the device for implementing MPLS network detection is applied to detect a head node in the domain
  • the determining Module 41 is configured to allocate the object identifier
  • the detection object is identified by a tuple of a node identifier and an object identifier
  • the processing module 42 is configured to add a header to the MPLS label of the service packet.
  • the node identifier and the object identifier are a tuple, and a service packet including the tuple is forwarded.
  • the processing module 42 is configured to determine a position of the object identifier in the MPLS label according to the detection object, and according to the position, in the MPLS label Add the object identifier.
  • the processing module 42 is configured to add a preset guidance label and the object identifier to the MPLS label, where the guidance label is located before the object identifier, and To indicate the position of the object identifier in the MPLS label.
  • the preset guide label includes at least one of the following: a special-purpose label; a combination of an extended label and an extended special-use label.
  • the object identifier includes a tag field
  • the processing module 42 is configured to set the tag field according to a preset tag rule, and add the tag field to the MPLS label.
  • the object identifier of the tag field is configured to set the tag field according to a preset tag rule, and add the tag field to the MPLS label.
  • the detection task includes active bidirectional detection of TWAMP packet measurement, and the processing module 42 is configured to identify a service matching the detection object in the received service flow.
  • the processing module 42 is configured to identify a service matching the detection object in the received service flow.
  • a TWAMP message is inserted into the service flow.
  • the MPLS label of the TWAMP message carries an object identifier containing the tag field, and the tag type indicates that the message type is a TWAMP message.
  • the detection module 43 is configured to count and count the service packets sent when the node applied by the device is the head node of the detection domain.
  • the statistical value is carried in the TWAMP message and sent out; when the node applied by the device is the tail node of the detection domain, the received statistics of the service message are counted, and the received TWAMP message is counted.
  • the value of the count statistics carried in the packet is compared with the value of its own count statistics to obtain the TWAMP measurement result.
  • the detection task includes: performing in-band performance statistics, the flag field includes alternating coloring flags, and the detection module 43 is configured as a node applied by the device.
  • the service packets sent are counted and counted according to the information of the alternate coloring flag; when the node applied by the device is an intermediate node of the detection domain, the coloring is performed according to the alternate coloring.
  • the marked information counts the received and sent service packets.
  • the node applied by the device is the tail node of the detection domain, the received colored information is used to calculate the received all the received messages. Count the business messages.
  • the detection task includes: performing in-band performance statistics, the flag field includes a delay measurement flag, and the detection module 43 is configured as a node applied by the device as When the head node of the domain is detected, time stamping the service message according to the information of the delay measurement flag, and recording the time stamp when the service message is sent;
  • the node applied by the device is the When detecting an intermediate node in the domain, the service message is time stamped according to the information of the delay measurement mark, and the time stamp of the service message arrival and sending is recorded;
  • the node applied by the device is When the tail node of the detection domain is described, the service message is time stamped according to the information of the delay measurement mark, and the time stamp when the service message arrives is recorded.
  • the detection task includes: counting service packets
  • the detection module 43 is configured to: when a node applied by the device is a head node of the detection domain, Counting and counting of the service messages sent out; when the node applied by the device is an intermediate node in the detection domain, counting and counting the service messages received and the service messages sent out respectively; When the node applied by the device is a tail node of the detection domain, counting and statistics are received on the received service packets.
  • the detection task includes: tunnel path tracing, and the detection module 43 is configured to: when a node applied by the device is a head node of the detection domain, self-node information 2.
  • the outbound interface information of the service message is associated with the object identifier, and the associated information is recorded; when the node applied by the device is an intermediate node in the detection domain, the information of the own node and the service are recorded.
  • the inbound interface information of the message is associated with the object identifier, and the own node information and the outbound interface information of the service message are associated with the object identifier to record the associated information; the device application When the node is the tail node of the detection domain, the node information and the inbound interface information of the service message are associated with the object identifier, and the associated information is recorded.
  • the detection module 43 is configured to send a detection result obtained by performing the detection operation after performing a detection operation on a service packet including the object identifier according to the detection task. To the controller to enable the controller to perform statistics.
  • the MPLS network detection device when performing the MPLS network detection, only the above-mentioned division of the program modules is used as an example. In actual applications, the above processing may be allocated by different The program module is completed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above.
  • the device for implementing MPLS network detection provided in the foregoing embodiment belongs to the same concept as the method for implementing MPLS network detection. The specific implementation process is described in the method embodiment, and is not repeated here.
  • an embodiment of the present application further provides a device for implementing MPLS network detection, which is applied to a controller and includes:
  • An allocation module 51 configured to allocate an object identifier to a detection object in the MPLS network
  • the sending module 52 is configured to send information and a detection task of the detection object including the object identifier to each node in the detection domain corresponding to the detection object, so that the node performs the detection task on the basis of the object identifier.
  • a service operation is performed on the service packets matching the detection object.
  • the apparatus further includes a receiving module configured to receive a detection result sent by the node, and perform statistics on the detection result.
  • the detection task includes: counting service packets, and the device further includes a processing module configured to perform traffic statistics and end-to-end packet loss according to the detection result. At least one of statistics and point-by-point packet loss statistics.
  • the detection task includes: tunnel path tracking, and the device further includes a processing module configured to count complete tunnel path information according to the detection result.
  • the detection task includes: performing in-band performance statistics, and the device further includes a processing module configured to perform traffic statistics and end-to-end packet loss according to the detection results. At least one of statistics, point-by-point packet loss statistics, end-to-end delay statistics, and point-by-point delay statistics.
  • the MPLS network detection device when performing MPLS network detection, only the above-mentioned division of the program modules is used as an example. In actual applications, the above processing may be allocated by different The program module is completed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above.
  • the device for implementing MPLS network detection provided in the foregoing embodiment belongs to the same concept as the method for implementing MPLS network detection. The specific implementation process is described in the method embodiment, and is not repeated here.
  • an embodiment of the present application further provides a network device, including: a memory 61, a processor 62, and a computer program 63 stored on the memory 61 and executable on the processor 62.
  • the processor 62 When the program is executed, an implementation method of MPLS network detection applied to a node in a detection domain in the embodiment of the present application is implemented.
  • an embodiment of the present application further provides a controller, including: a memory 71, a processor 72, and a computer program 73 stored on the memory 71 and executable on the processor 72.
  • the processor 72 When the program is executed, the method for implementing MPLS network detection applied to the controller in the embodiment of the present application is implemented.
  • An embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions for performing MPLS network detection in a node or controller in a detection domain in the embodiments of the present application. Implementation method.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed components are coupled, or directly coupled, or communicated with each other through some interfaces.
  • the indirect coupling or communication connection of the device or unit may be electrical, mechanical, or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, which may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the objective 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 be separately used as a unit, or two or more units may be integrated into one unit; the above integration
  • the unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer-readable storage medium. Including the steps of the above method embodiment; and the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc. A medium on which program code can be stored.
  • the above-mentioned integrated unit of the present application is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
  • the computer software product is stored in a storage medium and includes several instructions for A computer device (which may be a personal computer, a server, or a network device) is caused to perform all or part of the methods described in the embodiments of the present application.
  • the foregoing storage medium includes: various types of media that can store program codes, such as a mobile storage device, a ROM, a RAM, a magnetic disk, or an optical disc.

Abstract

Disclosed are a method and apparatus for implementing MPLS-based network detection, a network device, and a controller. The method comprises: a node in a detection domain determines information of a detection object and a detection task, wherein the information of the detection object comprises an object identifier; when the node is the header node of the detection domain, identify a service packet matching the detection object from a received service stream, add the object identifier to the MPLS tag of the service packet, and forward the service packet comprising the object identifier; when the node is the header node, intermediate node, or tail node of the detection domain, perform a detection operation on the service packet comprising the object identifier according to the detection task.

Description

一种MPLS网络检测的实现方法、装置、网络设备和控制器Method, device, network equipment and controller for implementing MPLS network detection
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201811070379.8、申请日为2018年9月13日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。This application is based on a Chinese patent application with an application number of 201811070379.8 and an application date of September 13, 2018, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
技术领域Technical field
本申请实施例涉及但不限于一种MPLS((Multi-Protocol Label Switching,多协议标签交换)网络检测的实现方法、装置、网络设备、控制器和计算机可读存储介质。The embodiments of the present application relate to, but are not limited to, a method, an apparatus, a network device, a controller, and a computer-readable storage medium for implementing an MPLS (Multi-Protocol Label Switching) network detection.
背景技术Background technique
IP(Internet Protocol,网际互联协议)/MPLS是一种层网络模型,简单来看可以分为业务(L3VPN(Layer 3Virtual Private Networks,三层虚拟私有网络)等)和管道(隧道、LSP(Label Switching Path,标记交换路径)等)两个层次,针对不同的层次对象的性能检测,采用的检测方法也是不同的。如管道的检测一般通过RFC6374或G.8113.1定义的LM(Loss Measure,损失测量)和DM(Delay Measure,延迟测量)功能来实现,业务这个层次的检测可以通过TWAMP(Two-Way Active Measurement Protocol,双向主动测量协议)来实现。IP (Internet Protocol) / MPLS is a layer network model, which can be divided into services (L3VPN (Layer 3 Virtual Private Networks, etc.), etc.) and pipes (tunnels, LSPs (Label Switching) Path, label switching path, etc.) The two levels are different for the performance detection of different levels of objects. For example, pipeline detection is generally achieved through the LM (Loss Measure, Loss Measure) and DM (Delay Measure, Delay Measurement) functions defined in RFC6374 or G.8113.1. The detection at the business level can be performed through Two-Way Active Measurement Protocol Two-way active measurement protocol).
针对不同检测对象,目前检测机制的标识的方法也不相同。例如,对于隧道,一般通过MPLS标签来标识需要统计的隧道。对于业务流,一般通过流的特征信息(例如IP五元组)来标识需要统计的流。For different detection objects, the current identification methods of detection mechanisms are also different. For example, for tunnels, MPLS labels are usually used to identify the tunnels to be counted. For service flows, flow characteristics (such as IP quintuples) are generally used to identify flows that need to be counted.
但是,某些隧道类型无法通过MPLS标签来进行区分,IP五元组在 MPLS标签栈层数较多的时候,有时也无法识别,导致MPLS网络检测部署和实现困难。However, some tunnel types cannot be distinguished by MPLS labels. IP quintuples sometimes cannot be identified when there are a large number of MPLS label stack layers, which makes detection and deployment of MPLS networks difficult.
发明内容Summary of the Invention
本申请实施例提供了一种MPLS网络检测的实现方法、装置、网络设备、控制器和计算机可读存储介质。The embodiments of the present application provide a method, an apparatus, a network device, a controller, and a computer-readable storage medium for implementing MPLS network detection.
第一方面,本申请实施例提供了一种MPLS网络检测的实现方法,包括:检测域中的节点确定检测对象的信息和检测任务,其中,所述检测对象的信息包括对象标识;所述节点为所述检测域的头节点时,在接收到的业务流中识别出与所述检测对象匹配的业务报文,在所述业务报文的MPLS标签中加入所述对象标识,转发包含所述对象标识的业务报文;所述节点为所述检测域的头节点、或中间节点、或尾节点时,按照所述检测任务,对包含所述对象标识的业务报文执行检测操作。In a first aspect, an embodiment of the present application provides a method for implementing MPLS network detection, which includes: determining, by a node in a detection domain, information of a detection object and a detection task, wherein the information of the detection object includes an object identifier; and the node When it is the head node of the detection domain, a service packet matching the detection object is identified in the received service flow, the object identifier is added to the MPLS label of the service packet, and the forwarding includes the object identifier. An object-identified service message; when the node is a head node, an intermediate node, or a tail node of the detection domain, a detection operation is performed on a service message containing the object identifier according to the detection task.
第二方面,本申请实施例还提供一种多协议标签交换MPLS网络检测的实现方法,包括:控制器为MPLS网络中检测对象分配对象标识;所述控制器将检测任务和包含对象标识的检测对象的信息发送至所述检测对象对应的检测域中每个节点,以使所述节点按照所述检测任务,根据所述对象标识对所述检测对象匹配的业务报文执行检测操作。In a second aspect, an embodiment of the present application further provides a method for implementing multi-protocol label switching MPLS network detection, including: a controller assigning an object identifier to a detection object in the MPLS network; The information of the object is sent to each node in the detection domain corresponding to the detection object, so that the node performs a detection operation on a service packet matching the detection object according to the detection task according to the object identification.
第三方面,本申请实施例还提供一种多协议标签交换MPLS网络检测的实现方法,包括:控制器为MPLS网络中检测对象分配对象标识,将检测任务和包含对象标识的检测对象的信息发送至所述检测对象对应的检测域中每个节点;所述检测域中的节点确定所述检测对象的信息和所述检测任务;所述节点为所述检测域的头节点时,在接收到的业务流中识别出与所述检测对象匹配的业务报文,在所述业务报文的MPLS标签中加入所述对象标识,转发包含所述对象标识的业务报文;所述节点为所述检测域的头节点、或中间节点、或尾节点时,按照所述检测任务,对包含所述对象 标识的业务报文执行检测操作。In a third aspect, an embodiment of the present application further provides a method for implementing multi-protocol label switching MPLS network detection, including: a controller assigns an object identifier to a detection object in the MPLS network, and sends a detection task and information of a detection object including the object identifier. To each node in the detection domain corresponding to the detection object; the node in the detection domain determines the information of the detection object and the detection task; when the node is the head node of the detection domain, it receives A service packet matching the detection object is identified in the service flow of the service object, the object identifier is added to the MPLS label of the service packet, and the service packet containing the object identifier is forwarded; the node is the When detecting a head node, an intermediate node, or a tail node of a domain, a detection operation is performed on a service packet including the object identifier according to the detection task.
第四方面,本申请实施例还提供一种多协议标签交换MPLS网络检测的实现装置,包括:In a fourth aspect, an embodiment of the present application further provides a device for implementing multi-protocol label switching MPLS network detection, including:
确定模块,配置为确定检测对象的信息和检测任务,其中,所述检测对象的信息包括对象标识;A determination module configured to determine information of a detection object and a detection task, wherein the information of the detection object includes an object identifier;
处理模块,配置为在所述装置位于检测域的头节点时,在接收到的业务流中识别出与所述检测对象匹配的业务报文,在所述业务报文的MPLS标签中加入所述对象标识,转发包含所述对象标识的业务报文;以及,A processing module configured to identify a service packet that matches the detection object in a received service flow when the device is located at a head node of a detection domain, and add the MPLS label to the service packet An object identifier, and forward a service message including the object identifier; and
检测模块,配置为按照所述检测任务,对包含所述对象标识的业务报文执行检测操作。The detection module is configured to perform a detection operation on a service packet including the object identifier according to the detection task.
第五方面,本申请实施例还提供一种多协议标签交换MPLS网络检测的实现装置,包括:In a fifth aspect, an embodiment of the present application further provides a device for implementing multi-protocol label switching MPLS network detection, including:
分配模块,配置为为MPLS网络中检测对象分配对象标识;An assignment module configured to assign an object identifier to a detection object in the MPLS network;
发送模块,配置为将包含对象标识的检测对象的信息和检测任务发送至所述检测对象对应的检测域中每个节点,以使所述节点按照所述检测任务,根据所述对象标识对所述检测对象匹配的业务报文执行检测操作。A sending module configured to send information and detection tasks of a detection object including an object identifier to each node in a detection domain corresponding to the detection object, so that the node performs the detection task and Perform the detection operation on the service packets matching the detection object.
第六方面,本申请实施例还提供一种网络设备,包括:包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现所述MPLS网络检测的实现方法。According to a sixth aspect, an embodiment of the present application further provides a network device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor implements the program when the processor executes the program. Implementation method of MPLS network detection.
第七方面,本申请实施例还提供一种控制器,包括:包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现所述MPLS网络检测的实现方法。According to a seventh aspect, an embodiment of the present application further provides a controller, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor implements the program when the processor executes the program. Implementation method of MPLS network detection.
第八方面,本申请实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行所述MPLS网络检测的实现方法。In an eighth aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are used to implement the implementation method of the MPLS network detection.
本申请实施例包括:检测域中的节点确定检测对象的信息和检测任务,其中,所述检测对象的信息包括对象标识;所述节点为所述检测域的头节点时,在接收到的业务流中识别出与所述检测对象匹配的业务报文,在所述业务报文的MPLS标签中加入所述对象标识,转发包含所述对象标识的业务报文;所述节点为所述检测域的头节点、或中间节点、或尾节点时,按照所述检测任务,对包含所述对象标识的业务报文执行检测操作。本发明实施例通过使用在MPLS标签中加入对象标识,实现了不同层次的检测对象采用通用的标识,降低了中间节点的解析深度,可以实现逐点性能检测。The embodiment of the present application includes: a node in a detection domain determines information of a detection object and a detection task, wherein the information of the detection object includes an object identifier; and when the node is a head node of the detection domain, the received service A service packet matching the detection object is identified in the flow, the object identifier is added to the MPLS label of the service packet, and a service packet containing the object identifier is forwarded; the node is the detection domain When a head node, an intermediate node, or a tail node of the mobile terminal, perform a detection operation on a service packet including the object identifier according to the detection task. In the embodiment of the present invention, by adding an object identifier to an MPLS label, it is realized that the detection object at different levels adopts a universal identifier, reduces the analysis depth of the intermediate node, and can implement point-by-point performance detection.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例的MPLS网络检测的实现方法流程图;1 is a flowchart of a method for implementing MPLS network detection according to an embodiment of the present application;
图2是本申请实施例的采用特殊用途标签来表示对象标识的帧格式示意图;2 is a schematic diagram of a frame format using a special-purpose label to represent an object identifier according to an embodiment of the present application;
图3是本申请实施例的采用扩展标签和扩展特殊用途标签的组合来表示对象标识的帧格式示意图;FIG. 3 is a schematic diagram of a frame format for representing an object identifier by using a combination of extended tags and extended special-purpose tags according to an embodiment of the present application;
图4是本申请另一实施例的MPLS网络检测的实现方法流程图;4 is a flowchart of a method for implementing MPLS network detection according to another embodiment of the present application;
图5是本申请实施例的MPLS网络检测的实现方法流程图(控制器侧);5 is a flowchart (controller side) of an implementation method of MPLS network detection according to an embodiment of the present application;
图6是本申请另一实施例的MPLS网络检测的实现方法流程图(控制器侧);6 is a flowchart (controller side) of a method for implementing MPLS network detection according to another embodiment of the present application;
图7是本申请实施例的MPLS网络检测的实现方法流程图(节点侧);7 is a flowchart (node side) of a method for implementing MPLS network detection according to an embodiment of the present application;
图8是本申请另一实施例的MPLS网络检测的实现方法流程图(节点侧);8 is a flowchart (node side) of an implementation method of MPLS network detection according to another embodiment of the present application;
图9是本申请实施例的对象标签部署模型示意图;9 is a schematic diagram of an object tag deployment model according to an embodiment of the present application;
图10是本申请应用实例一中业务报文采用的帧格式示意图;FIG. 10 is a schematic diagram of a frame format adopted by a service message in Application Example 1 of this application; FIG.
图11是本申请应用实例二SR网络路径跟踪场景示意图;11 is a schematic diagram of an SR network path tracking scenario in Application Example 2 of this application;
图12是本申请应用实例二中业务报文采用的帧格式示意图;FIG. 12 is a schematic diagram of a frame format used for service messages in Application Example 2 of this application; FIG.
图13是本申请应用实例三中业务报文采用的帧格式示意图;FIG. 13 is a schematic diagram of a frame format used for service messages in Application Example 3 of this application; FIG.
图14是本申请应用实例四中业务报文采用的帧格式示意图;FIG. 14 is a schematic diagram of a frame format used for a service message in Application Example 4 of this application; FIG.
图15是TWAMP测量原理示意图;15 is a schematic diagram of a TWAMP measurement principle;
图16是本申请应用实例五中业务报文采用的帧格式示意图;FIG. 16 is a schematic diagram of a frame format used for a service message in Application Example 5 of this application; FIG.
图17是本申请应用实例五中TWAMP报文采用的帧格式示意图;FIG. 17 is a schematic diagram of a frame format used in a TWAMP message in Application Example 5 of this application; FIG.
图18是本申请应用实例六中伪线报文采用的帧格式示意图;18 is a schematic diagram of a frame format used by a pseudo wire message in Application Example 6 of this application;
图19是本申请实施例的MPLS网络检测的实现装置示意图(应用于检测域中的节点);19 is a schematic diagram of a device for implementing MPLS network detection according to an embodiment of the present application (applied to detecting nodes in a domain);
图20是本申请实施例的MPLS网络检测的实现装置示意图(应用于控制器);20 is a schematic diagram of a device for implementing MPLS network detection according to an embodiment of the present application (applied to a controller);
图21是本申请实施例的网络设备示意图;21 is a schematic diagram of a network device according to an embodiment of the present application;
图22是本申请实施例的控制器示意图。22 is a schematic diagram of a controller according to an embodiment of the present application.
具体实施方式detailed description
下文中将结合附图对本申请的实施例进行详细说明。The embodiments of the present application will be described in detail below with reference to the drawings.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps shown in the flowchart of the figures may be performed in a computer system such as a set of computer-executable instructions. And, although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.
目前检测机制的标识的方法存在的如下情况:The current methods for detecting the identification of a mechanism are as follows:
有些隧道类型无法通过MPLS标签来进行区分,比如SR(Segment Routing,分段路由)隧道,还需要额外的标签来表示;中间点识别IP五元组需要消耗更多的硬件资源,特别是在MPLS标签栈层数较多的时候,有时甚至无法识别,造成大部分网络无法部署逐点性能测量。Some tunnel types cannot be distinguished by MPLS labels. For example, SR (Segment Routing) tunnels require additional labels to indicate them; identifying IP quintuples at intermediate points requires more hardware resources, especially in MPLS. When the number of label stack layers is large, sometimes it is not even identifiable, which makes it impossible to deploy point-by-point performance measurement on most networks.
针对上述情况,本申请实施例提出一种MPLS网络检测的实现方法,通过为每一个检测对象添加一个通用的对象标识(Object ID),使得检测域 中的节点只需根据对象标识进行识别和统计即可,此标识方法需要具有通用性和可扩展性。In view of the above, an embodiment of the present application proposes a method for implementing MPLS network detection. By adding a common Object ID to each detected object, the nodes in the detection domain only need to identify and count according to the object ID. That is, this identification method needs to be universal and extensible.
如图1所示,本申请实施例的MPLS网络检测的实现方法,包括:As shown in FIG. 1, the method for implementing MPLS network detection in the embodiment of the present application includes:
步骤101,控制器将检测任务发送至检测对象对应的检测域中每个节点。Step 101: The controller sends a detection task to each node in the detection domain corresponding to the detection object.
其中,所述检测对象可以包括如下至少之一:隧道、业务流、PW(Pseudo-Wire,伪线)。也就是说,所述对象标识为通用的对象标识,即可以表示业务流,也可以表示隧道、PW等。其中,隧道包括SR隧道、LDP(Label Distribution Protocol,标签分发协议)隧道等。The detection object may include at least one of the following: a tunnel, a service flow, and a PW (Pseudo-Wire, pseudo wire). That is, the object identifier is a general object identifier, which can represent a service flow, and can also represent a tunnel, a PW, and the like. Among them, the tunnel includes an SR tunnel, a Label Distribution Protocol (LDP) tunnel, and the like.
控制器可以通过配置命令将检测任务下发给检测域中每个节点。The controller can send a detection task to each node in the detection domain through a configuration command.
所述检测任务可以包括:对业务报文进行计数、隧道路径跟踪、通过交替着色标记进行带内的性能统计、TWAMP(Two-Way Active Measurement Protocol,主动双向检测)报文测量等。The detection task may include: counting service packets, tracing tunnel paths, performing in-band performance statistics through alternating colored markers, TWAMP (Two-Way Active Measurement Protocol) message measurement, and the like.
步骤102,所述检测域中的节点确定所述检测对象的信息和所述检测任务。Step 102: A node in the detection domain determines information of the detection object and the detection task.
其中,所述节点可以是检测域的头节点、或中间节点、或尾节点。The node may be a head node, an intermediate node, or a tail node of the detection domain.
所述检测对象的信息包括对象标识,根据检测对象的不同,还可以包括隧道标识、业务流的特征信息(例如IP五元组)、PW标识等。The information of the detection object includes an object identifier, and according to different detection objects, it may further include a tunnel identifier, characteristic information of a service flow (such as an IP quintuple), a PW identifier, and the like.
其中,可以由控制器为检测对象分配对象标识,包含对象标识的检测对象的信息发送至所述检测域中的每个节点。The controller may assign an object identifier to the detection object, and information of the detection object including the object identifier is sent to each node in the detection domain.
所述对象标识可以是全局唯一或者节点唯一,在全局唯一的情况下,通过对象标识的方式标识所述检测对象;在节点唯一的情况下,通过头节点标识和对象标识的二元组的方式标识所述检测对象。The object identifier may be globally unique or node unique. In the case of global uniqueness, the detection object is identified by an object identifier; in the case of a node unique, the head node identifier and the object identifier are used as a tuple. Identifying the detection object.
在通过头节点标识和对象标识的二元组的方式标识所述检测对象的情况下,可以由检测域中的头节点分配所述对象标识。In a case where the detection object is identified by a tuple of a head node identifier and an object identifier, the object identifier may be allocated by a head node in the detection domain.
步骤103,所述节点为所述检测域的头节点时,在接收到的业务流中识别出与所述检测对象匹配的业务报文,在所述业务报文的MPLS标签中加入所述对象标识,转发包含所述对象标识的业务报文。Step 103: When the node is the head node of the detection domain, a service packet matching the detection object is identified in the received service flow, and the object is added to the MPLS label of the service packet. Identification, and forwards a service message containing the object identification.
其中,所述头节点可以根据所述检测对象的信息,识别出与所述检测对象匹配的业务报文,例如:The head node may identify a service packet matching the detection object according to the information of the detection object, for example:
所述检测对象包括隧道时,所述检测对象的信息还包括隧道标识,所述头节点根据所述隧道标识在接收到的业务流中识别出与所述检测对象匹配的业务报文。When the detection object includes a tunnel, the information of the detection object further includes a tunnel identifier, and the head node identifies a service packet that matches the detection object in the received service flow according to the tunnel identifier.
所述检测对象包括业务流时,所述检测对象的信息还包括业务流的特征信息,所述头节点根据所述业务流的特征信息在接收到的业务流中识别出与所述检测对象匹配的业务报文。When the detection object includes a service flow, the information of the detection object further includes characteristic information of the service flow, and the head node recognizes that the detection object matches the detection object in the received service flow according to the characteristic information of the service flow. Business message.
所述检测对象包括PW时,所述检测对象的信息还包括PW标识,所述头节点根据所述PW标识在接收到的业务流中识别出与所述检测对象匹配的业务报文。When the detection object includes a PW, the information of the detection object further includes a PW identifier, and the head node identifies a service packet that matches the detection object in the received service flow according to the PW identifier.
在一实施例中,通过节点标识和对象标识的二元组的方式标识所述检测对象,本步骤中,在所述业务报文的MPLS标签中加入头节点标识和对象标识的二元组,转发包含所述二元组的业务报文。In an embodiment, the detection object is identified by a tuple of a node identifier and an object identifier. In this step, a tuple of a head node identifier and an object identifier is added to the MPLS label of the service packet. Forward a service message containing the two-tuple.
在一实施例中,根据所述检测对象确定所述对象标识在所述MPLS标签中的位置,按照所述位置,在所述MPLS标签中加入所述对象标识。也就是说,对象标识在MPLS标签栈中的位置根据其检测对象的不同而有所不同。In an embodiment, the position of the object identifier in the MPLS label is determined according to the detection object, and the object identifier is added to the MPLS label according to the position. In other words, the position of the object identifier in the MPLS label stack is different according to the detection object.
例如,所述检测对象包括隧道时,对象标识放置在隧道标签之后,业务标签之前;所述检测对象包括业务流时,对象标识放置在业务标签之后,即MPLS标签栈底的位置。For example, when the detection object includes a tunnel, the object identifier is placed after the tunnel label and before the service label; when the detection object includes a service flow, the object identifier is placed after the service label, that is, at the bottom of the MPLS label stack.
在一实施例中,在所述MPLS标签中加入预设的引导标签和所述对象 标识,所述引导标签位于所述对象标识之前,用于指示所述对象标识在所述MPLS标签的位置。In an embodiment, a preset guide label and the object identifier are added to the MPLS label, and the guide label is located before the object identifier, and is used to indicate a position of the object identifier in the MPLS label.
在MPLS标签栈中,为了不与MPLS其他标签发生冲突,可以采用引导标签来指示跟随的是对象标识,这样对象标识就可以放在标签栈的任意位置,而且对象标识的取值范围独立于MPLS标签空间,可以与其他MPLS转发标签重复。所述引导标签可以有两种表示方式:In the MPLS label stack, in order not to conflict with other MPLS labels, a guide label can be used to indicate that the object identifier is followed, so that the object identifier can be placed anywhere in the label stack, and the value range of the object identifier is independent of MPLS. The label space can be duplicated with other MPLS forwarding labels. The guide label can be expressed in two ways:
方式一,采用特殊用途标签来表示Method one: use special purpose labels to indicate
RFC3032定义了0-15的保留标签作为特殊用途,目前还有部分标签值未分配,以未分配的标签值12为例,来表示对象标识的引导标签。其帧格式如图2所示。其中,TC表示优先级(Traffic Class),S为栈底位置的标识,当S=1时表示处于MPLS标签的栈底,TTL表示过期时间(Time To Live)。RFC3032 defines reserved tags of 0-15 as special purposes. At present, there are still some unassigned tag values. Taking the unassigned tag value of 12 as an example, it represents the leading tag of the object identifier. Its frame format is shown in Figure 2. Among them, TC stands for Traffic Class, S is the identifier of the bottom position of the stack, when S = 1, it is at the bottom of the MPLS label stack, and TTL indicates the expiration time (Time To Live).
方式二,采用扩展标签和扩展特殊用途标签的组合来表示Method two: use a combination of extended tags and extended special-purpose tags to represent
RFC7274定义了一种扩展的特殊用途标签表示方法,标签值15表示扩展标签,后面的扩展特殊用途标签为具体的扩展类型,这里以标签值100为例表示对象标识的引导标签,其帧格式如图3所示。RFC7274 defines an extended special-purpose label representation method. A label value of 15 indicates an extended label. The extended extended special-purpose label is a specific extension type. Here, a label value of 100 is used as an example to indicate a guide label for object identification. The frame format is Shown in Figure 3.
使用哪一种引导标签可以根据实际情况进行选择。Which kind of guide label to use can be selected according to the actual situation.
在一实施例中,所述对象标识中包含标记域,所述在所述业务报文的MPLS标签中加入所述对象标识,包括:按照预设的标记规则设置所述标记域,在所述MPLS标签中加入包含所述标记域的对象标识。通过设置标记域,对象标识可以扩展以支持携带指令,以满足更灵活和可扩展性的要求。In an embodiment, the object identifier includes a label domain, and adding the object identifier to an MPLS label of the service packet includes: setting the label domain according to a preset label rule, and An object identifier containing the label domain is added to the MPLS label. By setting the tag field, the object identifier can be extended to support carrying instructions to meet the requirements of more flexibility and scalability.
例如,所述检测任务包括通过交替着色标记进行带内的性能统计,所述标记域包括交替着色标记,通过交替着色标记实现交替着色。For example, the detection task includes performing in-band performance statistics through alternating coloring marks, and the tag domain includes alternating coloring marks, and achieving alternating coloring by using alternate coloring marks.
例如,所述述检测任务包括TWAMP报文测量,在所述业务流中插入TWAMP报文,所述TWAMP报文的MPLS标签中携带包含所述标记域的对象标识,通过所述标记域指示报文类型为TWAMP报文。针对TWAMP 报文和业务报文,标记域的值不同。For example, the detection task includes measuring a TWAMP message, inserting a TWAMP message into the service flow, an MPLS label of the TWAMP message carrying an object identifier containing the tag domain, and indicating the report through the tag domain. The text type is TWAMP message. For TWAMP packets and service packets, the value of the tag field is different.
步骤104,所述节点为所述检测域的头节点、或中间节点、或尾节点时,按照所述检测任务,对包含所述对象标识的业务报文执行检测操作。Step 104: When the node is a head node, an intermediate node, or a tail node of the detection domain, perform a detection operation on a service packet including the object identifier according to the detection task.
其中,根据检测任务不同,以及每个节点所处的位置不同,执行的操作也有所不同。Among them, the operations performed are different depending on the detection task and the location of each node.
在一实施例中,所述检测任务包括:对业务报文进行计数,所述步骤104包括:所述节点为所述检测域的头节点时,对发出的所述业务报文进行计数统计;所述节点为所述检测域的中间节点时,对接收到的所述业务报文和发出的所述业务报文分别进行计数统计;所述节点为所述检测域的尾节点时,对接收到的所述业务报文进行计数统计。In one embodiment, the detection task includes: counting service packets, and the step 104 includes: when the node is a head node of the detection domain, counting and counting the service packets sent out; When the node is an intermediate node in the detection domain, count and count the received service packets and the service packets sent respectively; when the node is a tail node in the detection domain, count the received The received service packets are counted.
在一实施例中,所述检测任务包括:隧道路径跟踪,所述步骤104包括:所述节点为所述检测域的头节点时,将自身节点信息、所述业务报文的出接口信息与所述对象标识相关联,对相关联的信息进行记录;所述节点为所述检测域的中间节点时,将自身节点信息、所述业务报文的入接口信息与所述对象标识相关联,以及,将自身节点信息、所述业务报文的出接口信息与所述对象标识相关联,对相关联的信息进行记录;所述节点为所述检测域的尾节点时,将自身节点信息、所述业务报文的入接口信息与所述对象标识相关联,对相关联的信息进行记录。In an embodiment, the detection task includes: tunnel path tracking, and the step 104 includes: when the node is a head node of the detection domain, comparing the node information with the outbound interface information of the service packet and The object identifier is associated, and the associated information is recorded; when the node is an intermediate node in the detection domain, its own node information and the inbound interface information of the service message are associated with the object identifier, And, the self node information and the outbound interface information of the service message are associated with the object identifier, and the associated information is recorded; when the node is the tail node of the detection domain, the self node information, The inbound interface information of the service message is associated with the object identifier, and the associated information is recorded.
在一实施例中,所述检测任务包括:进行带内的性能统计,所述标记域包括交替着色标记,所述步骤104包括:所述节点为所述检测域的头节点时,按照所述交替着色标记的信息,对发出的所述业务报文进行计数统计;所述节点为所述检测域的中间节点时,按照所述交替着色标记的信息,对接收到的和发出的所述业务报文进行计数统计;所述节点为所述检测域的尾节点时,按照所述交替着色标记的信息,对接收到的所述业务报文进行计数统计。In an embodiment, the detection task includes: performing in-band performance statistics, the marker domain includes alternating coloring markers, and the step 104 includes: when the node is a head node of the detection domain, according to the The information of the alternately colored flags is used to count and count the service packets sent out. When the node is an intermediate node in the detection domain, the received and transmitted services are processed according to the information of the alternately colored flags. The packet is counted and counted; when the node is the tail node of the detection domain, the received service packet is counted and counted according to the information of the alternating coloring mark.
在一实施例中,所述检测任务包括:进行带内的性能统计,所述标记域包括时延测量标记,所述步骤104包括:所述节点为所述检测域的头节点时,按照所述时延测量标记的信息对所述业务报文进行时戳标记,记录所述业务报文发送时的时戳;所述节点为所述检测域的中间节点时,按照所述时延测量标记的信息对所述业务报文进行时戳标记,记录所述业务报文到达时和发送时的时戳;所述节点为所述检测域的尾节点时,按照所述时延测量标记的信息对所述业务报文进行时戳标记,记录所述业务报文到达时的时戳。In an embodiment, the detection task includes: performing in-band performance statistics, the marker domain includes a delay measurement marker, and the step 104 includes: when the node is a head node of the detection domain, according to the The delay measurement mark information is used to time-stamp the service message and record the time stamp when the service message is sent. When the node is an intermediate node in the detection domain, the delay measurement mark is used. The service information is time stamped on the service message, and the time stamp when the service message arrives and is sent is recorded. When the node is the tail node of the detection domain, the marked information is measured according to the delay. Time stamping the service message and recording the time stamp when the service message arrives.
在一实施例中,所述节点按照所述检测任务,对包含所述对象标识的业务报文执行检测操作包括:所述节点为所述检测域的头节点时,对发出的所述业务报文进行计数统计,将计数统计的值携带在所述TWAMP报文中发送出去;所述节点为所述检测域的尾节点时,对接收到的所述业务报文进行计数统计,将接收到的所述TWAMP报文中携带的计数统计的值与自身计数统计的值进行比较,得到TWAMP测量结果。另外,对于检测域的尾节点,还将对象标识和MPLS标签栈中的其他标签弹出,恢复原始业务报文。In an embodiment, the node performing a detection operation on a service packet containing the object identifier according to the detection task includes: when the node is a head node of the detection domain, the node sends the service packet The statistics are counted in the text, and the value of the counted statistics is carried in the TWAMP message and sent out; when the node is the tail node of the detection domain, the statistics of the received service packets are counted and the received The value of the counting statistics carried in the TWAMP message is compared with the value of the own counting statistics to obtain a TWAMP measurement result. In addition, for the tail node of the detection domain, the object identification and other labels in the MPLS label stack are also popped out to restore the original service packet.
如图4所示,在一实施例中,步骤104之后,所述方法还可包括:As shown in FIG. 4, in an embodiment, after step 104, the method may further include:
步骤105,所述节点将执行检测操作得到的检测结果发送至控制器。In step 105, the node sends a detection result obtained by performing a detection operation to the controller.
其中,所述检测结果可以是业务报文的计数值、业务报文时间戳的值、隧道路径信息等。The detection result may be a count value of service packets, a time stamp value of service packets, tunnel path information, and the like.
步骤106,所述控制器接收所述节点发送的检测结果,对所述检测结果进行统计。Step 106: The controller receives the detection result sent by the node, and performs statistics on the detection result.
在一实施例中,所述检测任务包括:对业务报文进行计数,所述步骤106包括:所述控制器根据所述检测结果,进行流量统计、端到端的丢包统计、逐点丢包统计中的至少之一。In an embodiment, the detection task includes: counting service packets, and the step 106 includes: the controller performs traffic statistics, end-to-end packet loss statistics, and point-by-point packet loss according to the detection results. At least one of the statistics.
在一实施例中,所述检测任务包括:隧道路径跟踪,所述步骤106包括:所述控制器根据所述检测结果统计完整隧道路径信息。In an embodiment, the detection task includes: tunnel path tracking, and the step 106 includes: the controller statistics complete tunnel path information according to the detection result.
在一实施例中,所述检测任务包括:进行带内的性能统计,所述步骤106包括:所述控制器根据所述检测结果,进行流量统计、端到端的丢包统计、逐点丢包统计、端到端时延统计、逐点时延统计中的至少之一。In one embodiment, the detection task includes: performing in-band performance statistics, and the step 106 includes: the controller performs traffic statistics, end-to-end packet loss statistics, and point-by-point packet loss based on the detection results. At least one of statistics, end-to-end delay statistics, and point-by-point delay statistics.
如果检测任务是TWAMP报文测量,则检测在头节点和尾节点之间进行,无需执行步骤105~步骤106。If the detection task is TWAMP packet measurement, the detection is performed between the head node and the tail node, and it is not necessary to perform steps 105 to 106.
本申请实施例通过使用在MPLS标签中加入对象标识,实现了不同层次的检测对象采用通用的标识,降低了中间节点的解析深度,可以实现逐点性能检测。另外,对象标识可以扩展加入标记域,该标记域可以携带一种或多种信息,起到了指令的作用,可以满足更灵活和可扩展性的要求。In the embodiment of the present application, by adding an object identifier to an MPLS label, it is realized that the detection object at different levels adopts a universal identifier, reduces the analysis depth of the intermediate node, and can implement point-by-point performance detection. In addition, the object identifier can be extended to add a tag field, which can carry one or more types of information, and serves as an instruction, which can meet the requirements of more flexibility and scalability.
针对控制器侧,以控制器分配对象标识为例,如图5所示,本申请实施例的MPLS网络检测的实现方法,包括:For the controller side, the controller assigns the object identifier as an example. As shown in FIG. 5, the method for implementing MPLS network detection in the embodiment of the present application includes:
步骤201,控制器为MPLS网络中检测对象分配对象标识。Step 201: The controller assigns an object identifier to a detection object in the MPLS network.
其中,所述检测对象可以包括如下至少之一:隧道、业务流、PW。也就是说,所述对象标识为通用的对象标识,即可以表示业务流,也可以表示隧道、PW等。The detection object may include at least one of the following: a tunnel, a service flow, and a PW. That is, the object identifier is a general object identifier, which can represent a service flow, and can also represent a tunnel, a PW, and the like.
步骤202,所述控制器将检测任务和包含对象标识的检测对象的信息发送至所述检测对象对应的检测域中每个节点,以使所述节点按照所述检测任务,根据所述对象标识对所述检测对象匹配的业务报文执行检测操作。In step 202, the controller sends the detection task and the information of the detection object including the object identifier to each node in the detection domain corresponding to the detection object, so that the node according to the detection task and according to the object identifier Perform a detection operation on the service packets matching the detection object.
其中,所述检测对象的信息中,除了对象标识,根据检测对象的不同,还可以包括隧道标识、业务流的特征信息(例如IP五元组)、PW标识等。The information of the detection object may include, in addition to the object identifier, a tunnel identifier, characteristic information of a service flow (such as an IP quintuple), a PW identifier, and the like according to different detection objects.
所述检测任务可以包括:对业务报文进行计数、隧道路径跟踪、通过交替着色标记进行带内的性能统计、TWAMP报文测量等。The detection task may include: counting service packets, tracking tunnel paths, performing in-band performance statistics by alternately colored markers, and measuring TWAMP packets.
如图6所示,在一实施例中,所述步骤202之后,还包括:步骤203, 所述控制器接收所述节点发送的检测结果,对所述检测结果进行统计。As shown in FIG. 6, in an embodiment, after step 202, the method further includes: step 203: The controller receives a detection result sent by the node, and performs statistics on the detection result.
其中,所述检测结果可以是业务报文的计数值、业务报文时间戳的值、隧道路径信息等。The detection result may be a count value of service packets, a time stamp value of service packets, tunnel path information, and the like.
在一实施例中,所述检测任务包括:对业务报文进行计数,所述步骤203包括:所述控制器根据所述检测结果,进行流量统计、端到端的丢包统计、逐点丢包统计中的至少之一。In an embodiment, the detection task includes: counting service packets, and the step 203 includes: the controller performs traffic statistics, end-to-end packet loss statistics, and point-by-point packet loss according to the detection results. At least one of the statistics.
在一实施例中,所述检测任务包括:隧道路径跟踪,所述步骤203包括:所述控制器根据所述检测结果统计完整隧道路径信息。In an embodiment, the detection task includes: tunnel path tracking, and the step 203 includes: the controller counts complete tunnel path information according to the detection result.
在一实施例中,所述检测任务包括:进行带内的性能统计,所述步骤203包括:所述控制器根据所述检测结果,进行流量统计、端到端的丢包统计、逐点丢包统计、端到端时延统计、逐点时延统计中的至少之一。In an embodiment, the detection task includes: performing in-band performance statistics, and the step 203 includes: the controller performs traffic statistics, end-to-end packet loss statistics, and point-by-point packet loss according to the detection results. At least one of statistics, end-to-end delay statistics, and point-by-point delay statistics.
如果检测任务是TWAMP报文测量,则检测在头节点和尾节点之间进行,无需执行步骤203。If the detection task is TWAMP packet measurement, detection is performed between the head node and the tail node, and step 203 need not be performed.
本申请实施例通过使用在MPLS标签中加入对象标识,实现了不同层次的检测对象采用通用的标识,可以实现逐点性能检测。In the embodiment of the present application, by adding an object identifier to an MPLS label, detection objects at different levels are implemented with a universal identifier, and point-by-point performance detection can be implemented.
针对节点侧,可分为头节点、中间节点和尾节点。控制器会向检测域中的节点下发路由信息,节点根据所述路由信息获知自身为头节点、中间节点还是尾节点。For the node side, it can be divided into head node, middle node and tail node. The controller sends routing information to the nodes in the detection domain, and the node learns whether it is a head node, an intermediate node, or a tail node according to the routing information.
检测域的头节点(Ingress PE,Ingress Provider Edge,运营商边缘输入设备)在报文进入时识别业务流,并为业务流添加相应的对象标识;The head node of the detection domain (Ingress, PE, Ingress, Provider Edge) identifies the service flow when the packet enters, and adds the corresponding object identifier to the service flow;
检测域的中间节点(P,Provider,核心设备)根据MPLS标签栈中的对象标识来实现业务流的识别并完成性能统计,而无需进一步解析到净荷内的IP五元组,降低了报文解析的深度。Intermediate nodes (P, Provider, and core device) in the detection domain can identify service flows and complete performance statistics based on the object identifiers in the MPLS label stack without further parsing the IP quintuple in the payload, reducing the packet Parsing depth.
检测域的尾节点(Egress PE,运营商边缘输出设备)将对象标识和标签栈中的其他标签弹出,恢复原始业务报文。The tail node of the detection domain (egress, PE, edge output device of the operator) pops up the object identification and other labels in the label stack, and restores the original service packet.
针对节点侧,如图7所示,本申请实施例的MPLS网络检测的实现方法,包括:For the node side, as shown in FIG. 7, the method for implementing MPLS network detection in the embodiment of the present application includes:
步骤301,检测域中的节点确定检测对象的信息和检测任务,其中,所述检测对象的信息包括对象标识。Step 301: A node in a detection domain determines information of a detection object and a detection task, wherein the information of the detection object includes an object identifier.
其中,所述检测对象可以包括如下至少之一:隧道、业务流、PW。也就是说,所述对象标识为通用的对象标识,即可以表示业务流,也可以表示隧道、PW等。The detection object may include at least one of the following: a tunnel, a service flow, and a PW. That is, the object identifier is a general object identifier, which can represent a service flow, and can also represent a tunnel, a PW, and the like.
所述检测对象的信息中,除了对象标识,根据检测对象的不同,还可以包括隧道标识、业务流的特征信息(例如IP五元组)、PW标识等。In addition to the object identifier, the information of the detected object may include a tunnel identifier, characteristic information of a service flow (such as an IP quintuple), a PW identifier, and the like according to different detected objects.
所述对象标识可以是全局唯一或者节点唯一,在全局唯一的情况下,通过对象标识的方式标识所述检测对象;在节点唯一的情况下,通过头节点标识和对象标识的二元组的方式标识所述检测对象。The object identifier may be globally unique or node unique. In the case of global uniqueness, the detection object is identified by an object identifier; in the case of a node unique, the head node identifier and the object identifier are used as a tuple. Identifying the detection object.
检测域中的节点可以通过接收控制器发送的检测任务和包含对象标识的检测对象的信息,确定所述检测任务和检测对象的信息。The nodes in the detection domain may determine the detection task and the information of the detection object by receiving the detection task and the information of the detection object including the object identifier sent by the controller.
在通过头节点标识和对象标识的二元组的方式标识所述检测对象的情况下,也可以由检测域中的头节点分配所述对象标识,无需控制器分配。所述检测任务可以包括:对业务报文进行计数、隧道路径跟踪、通过交替着色标记进行带内的性能统计、TWAMP报文测量等。In a case where the detection object is identified by a tuple of a head node identifier and an object identifier, the object identifier may also be allocated by the head node in the detection domain, and no controller allocation is required. The detection task may include: counting service packets, tracking tunnel paths, performing in-band performance statistics by alternately colored markers, and measuring TWAMP packets.
步骤302,所述节点为所述检测域的头节点时,在接收到的业务流中识别出与所述检测对象匹配的业务报文,在所述业务报文的MPLS标签中加入所述对象标识,转发包含所述对象标识的业务报文。Step 302: When the node is the head node of the detection domain, a service packet matching the detection object is identified in the received service flow, and the object is added to the MPLS label of the service packet. Identification, and forwards a service message containing the object identification.
其中,所述头节点可以根据所述检测对象的信息,识别出与所述检测对象匹配的业务报文,例如:The head node may identify a service packet matching the detection object according to the information of the detection object, for example:
所述检测对象包括隧道时,所述检测对象的信息还包括隧道标识,所述头节点根据所述隧道标识在接收到的业务流中识别出与所述检测对象匹 配的业务报文。When the detection object includes a tunnel, the information of the detection object further includes a tunnel identifier, and the head node identifies a service packet matching the detection object in the received service flow according to the tunnel identifier.
所述检测对象包括业务流时,所述检测对象的信息还包括业务流的特征信息,所述头节点根据所述业务流的特征信息在接收到的业务流中识别出与所述检测对象匹配的业务报文。When the detection object includes a service flow, the information of the detection object further includes characteristic information of the service flow, and the head node recognizes that the detection object matches the detection object in the received service flow according to the characteristic information of the service flow. Business message.
所述检测对象包括PW时,所述检测对象的信息还包括PW标识,所述头节点根据所述PW标识在接收到的业务流中识别出与所述检测对象匹配的业务报文。When the detection object includes a PW, the information of the detection object further includes a PW identifier, and the head node identifies a service packet that matches the detection object in the received service flow according to the PW identifier.
在一实施例中,通过节点标识和对象标识的二元组的方式标识所述检测对象,本步骤中,所述在所述业务报文的MPLS标签中加入所述对象标识,转发包含所述对象标识的业务报文,包括:在所述业务报文的MPLS标签中加入头节点标识和对象标识的二元组,转发包含所述二元组的业务报文。In one embodiment, the detection object is identified by a tuple of a node identifier and an object identifier. In this step, the object identifier is added to the MPLS label of the service packet, and the forwarding includes the object identifier. An object-identified service message includes: adding a head node identifier and an object identifier to a tuple in the MPLS label of the service message, and forwarding the service message containing the tuple.
在一实施例中,所述在所述业务报文的MPLS标签中加入所述对象标识,包括:根据所述检测对象确定所述对象标识在所述MPLS标签中的位置,按照所述位置,在所述MPLS标签中加入所述对象标识。In an embodiment, adding the object identifier to the MPLS label of the service packet includes: determining a position of the object identifier in the MPLS label according to the detection object, and according to the position, Adding the object identifier to the MPLS label.
也就是说,对象标识在MPLS标签栈中的位置根据其检测对象的不同而有所不同。In other words, the position of the object identifier in the MPLS label stack is different according to the detection object.
例如,所述检测对象包括隧道时,对象标识放置在隧道标签之后,业务标签之前;所述检测对象包括业务流时,对象标识放置在业务标签之后,即MPLS标签栈底的位置。For example, when the detection object includes a tunnel, the object identifier is placed after the tunnel label and before the service label; when the detection object includes a service flow, the object identifier is placed after the service label, that is, at the bottom of the MPLS label stack.
在一实施例中,所述在所述业务报文的MPLS标签中加入所述对象标识,包括:在所述MPLS标签中加入预设的引导标签和所述对象标识,所述引导标签位于所述对象标识之前,用于指示所述对象标识在所述MPLS标签的位置。In an embodiment, adding the object identifier to the MPLS label of the service packet includes: adding a preset guidance label and the object identifier to the MPLS label, and the guidance label is located at all locations. Before the object identification, it is used to indicate the position of the object identification in the MPLS label.
在MPLS标签栈中,为了不与MPLS其他标签发生冲突,可以采用引 导标签来指示跟随的是对象标识,这样对象标识就可以放在标签栈的任意位置,而且对象标识的取值范围独立于MPLS标签空间,可以与其他MPLS转发标签重复。所述引导标签可以有两种表示方式:In the MPLS label stack, in order not to conflict with other MPLS labels, a guide label can be used to indicate that the object identifier is followed, so that the object identifier can be placed anywhere in the label stack, and the value range of the object identifier is independent of MPLS. The label space can be duplicated with other MPLS forwarding labels. The guide label can be expressed in two ways:
方式一,采用特殊用途标签来表示Method one: use special purpose labels to indicate
RFC3032定义了0-15的保留标签作为特殊用途,目前还有部分标签值未分配,以未分配的标签值12为例,来表示对象标识的引导标签。其帧格式如图2所示。RFC3032 defines reserved tags of 0-15 as special purposes. At present, there are still some unassigned tag values. Taking the unassigned tag value of 12 as an example, it represents the leading tag of the object identifier. Its frame format is shown in Figure 2.
方式二,采用扩展标签和扩展特殊用途标签的组合来表示Method two: use a combination of extended tags and extended special-purpose tags to represent
RFC7274定义了一种扩展的特殊用途标签表示方法,标签值15表示扩展标签,后面的扩展特殊用途标签为具体的扩展类型,这里以标签值100为例表示对象标识的引导标签,其帧格式如图3所示。RFC7274 defines an extended special-purpose label representation method. A label value of 15 indicates an extended label. The extended extended special-purpose label is a specific extension type. Here, a label value of 100 is used as an example to indicate a guide label for object identification. The frame format is Shown in Figure 3.
本申请实施例中使用哪一种引导标签可以根据实际情况进行选择。Which guide label is used in the embodiments of the present application can be selected according to actual conditions.
在一实施例中,所述对象标识中包含标记域,所述在所述业务报文的MPLS标签中加入所述对象标识,包括:按照预设的标记规则设置所述标记域,在所述MPLS标签中加入包含所述标记域的对象标识。通过设置标记域,对象标识可以扩展以支持携带指令,以满足更灵活和可扩展性的要求,以及满足更多场景的需求。In an embodiment, the object identifier includes a label domain, and adding the object identifier to an MPLS label of the service packet includes: setting the label domain according to a preset label rule, and An object identifier containing the label domain is added to the MPLS label. By setting the tag field, the object identifier can be extended to support carrying instructions, to meet the requirements of more flexibility and scalability, and to meet the needs of more scenarios.
例如,所述检测任务包括通过交替着色标记进行带内的性能统计,所述标记域包括交替着色标记,通过交替着色标记实现交替着色。For example, the detection task includes performing in-band performance statistics through alternating coloring marks, and the tag domain includes alternating coloring marks, and achieving alternating coloring by using alternate coloring marks.
例如,所述检测任务包括主动双向检测TWAMP报文测量,所述在接收到的业务流中识别出与所述检测对象匹配的业务报文之后,还包括:在所述业务流中插入TWAMP报文,所述TWAMP报文的MPLS标签中携带包含所述标记域的对象标识。针对TWAMP报文和业务报文,标记的值不同。For example, the detection task includes proactive bidirectional detection of TWAMP packet measurement, and after identifying a service packet matching the detection object in the received service flow, the method further includes: inserting a TWAMP packet into the service flow Text, the MPLS label of the TWAMP message carries an object identifier containing the tag domain. The value of the tag is different for TWAMP messages and service messages.
步骤303,所述节点为所述检测域的头节点、或中间节点、或尾节点时, 按照所述检测任务,对包含所述对象标识的业务报文执行检测操作。Step 303: When the node is a head node, an intermediate node, or a tail node of the detection domain, perform a detection operation on a service packet including the object identifier according to the detection task.
其中,根据检测任务不同,以及每个节点所处的位置不同,执行的操作也有所不同。Among them, the operations performed are different depending on the detection task and the location of each node.
在一实施例中,所述检测任务包括:对业务报文进行计数,所述步骤303包括:所述节点为所述检测域的头节点时,对发出的所述业务报文进行计数统计;所述节点为所述检测域的中间节点时,对接收到的所述业务报文和发出的所述业务报文分别进行计数统计;所述节点为所述检测域的尾节点时,对接收到的所述业务报文进行计数统计。In an embodiment, the detection task includes: counting service packets, and the step 303 includes: performing counting and counting on the service packets sent when the node is a head node of the detection domain; When the node is an intermediate node in the detection domain, count and count the received service packets and the service packets sent respectively; when the node is a tail node in the detection domain, count the received The received service packets are counted.
在一实施例中,所述检测任务包括:隧道路径跟踪,所述步骤303包括:所述节点为所述检测域的头节点时,将自身节点信息、所述业务报文的出接口信息与所述对象标识相关联,对相关联的信息进行记录;所述节点为所述检测域的中间节点时,将自身节点信息、所述业务报文的入接口信息与所述对象标识相关联,以及,将自身节点信息、所述业务报文的出接口信息与所述对象标识相关联,对相关联的信息进行记录;所述节点为所述检测域的尾节点时,将自身节点信息、所述业务报文的入接口信息与所述对象标识相关联,对相关联的信息进行记录。In one embodiment, the detection task includes: tunnel path tracking, and the step 303 includes: when the node is a head node of the detection domain, the information of the node and the outbound interface information of the service packet are compared with The object identifier is associated, and the associated information is recorded; when the node is an intermediate node in the detection domain, its own node information and the inbound interface information of the service message are associated with the object identifier, And, the self node information and the outbound interface information of the service message are associated with the object identifier, and the associated information is recorded; when the node is the tail node of the detection domain, the self node information, The inbound interface information of the service message is associated with the object identifier, and the associated information is recorded.
在一实施例中,所述检测任务包括:进行带内的性能统计,所述标记域包括交替着色标记,所述步骤303包括:所述节点为所述检测域的头节点时,按照所述交替着色标记的信息,对发出的所述业务报文进行计数统计;所述节点为所述检测域的中间节点时,按照所述交替着色标记的信息,对接收到的和发出的所述业务报文进行计数统计;所述节点为所述检测域的尾节点时,按照所述交替着色标记的信息,对接收到的所述业务报文进行计数统计。In an embodiment, the detection task includes: performing in-band performance statistics, the marker domain includes alternating coloring markers, and the step 303 includes: when the node is a head node of the detection domain, according to the The information of the alternately colored flags is used to count and count the service packets sent out. When the node is an intermediate node in the detection domain, the received and transmitted services are processed according to the information of the alternately colored flags. The packet is counted and counted; when the node is the tail node of the detection domain, the received service packet is counted and counted according to the information of the alternating coloring mark.
在一实施例中,所述检测任务包括:进行带内的性能统计,所述标记域包括时延测量标记,所述步骤303包括:所述节点为所述检测域的头节 点时,按照所述时延测量标记的信息对所述业务报文进行时戳标记,记录所述业务报文发送时的时戳;所述节点为所述检测域的中间节点时,按照所述时延测量标记的信息对所述业务报文进行时戳标记,记录所述业务报文到达时和发送时的时戳;所述节点为所述检测域的尾节点时,按照所述时延测量标记的信息对所述业务报文进行时戳标记,记录所述业务报文到达时的时戳。In an embodiment, the detection task includes: performing in-band performance statistics, the marker domain includes a delay measurement marker, and the step 303 includes: when the node is a head node of the detection domain, according to the The delay measurement mark information is used to time-stamp the service message and record the time stamp when the service message is sent. When the node is an intermediate node in the detection domain, the delay measurement mark is used. The service information is time stamped on the service message, and the time stamp when the service message arrives and is sent is recorded. When the node is the tail node of the detection domain, the marked information is measured according to the delay. Time stamping the service message and recording the time stamp when the service message arrives.
在一实施例中,所述按照所述检测任务,对包含所述对象标识的业务报文执行检测操作包括:所述节点为所述检测域的头节点时,对发出的所述业务报文进行计数统计,将计数统计的值携带在所述TWAMP报文中发送出去;所述节点为所述检测域的尾节点时,对接收到的所述业务报文进行计数统计,将接收到的所述TWAMP报文中携带的计数统计的值与自身计数统计的值进行比较,得到TWAMP测量结果。In an embodiment, the performing a detection operation on a service packet containing the object identifier according to the detection task includes: when the node is a head node of the detection domain, the service packet is sent out. Counting statistics, carrying the value of the counting statistics in the TWAMP message and sending it out; when the node is the tail node of the detection domain, counting statistics of the received service packets, and The value of the counting statistics carried in the TWAMP message is compared with the value of the own counting statistics to obtain a TWAMP measurement result.
另外,对于检测域的尾节点,还将对象标识和MPLS标签栈中的其他标签弹出,恢复原始业务报文。In addition, for the tail node of the detection domain, the object identification and other labels in the MPLS label stack are also popped out to restore the original service packet.
如图8所示,在一实施例中,步骤303之后,所述方法还可包括:As shown in FIG. 8, in an embodiment, after step 303, the method may further include:
步骤304,所述节点将执行检测操作得到的检测结果发送至控制器,以使所述控制器进行统计。Step 304: The node sends a detection result obtained by performing a detection operation to the controller, so that the controller performs statistics.
其中,所述检测结果可以是业务报文的计数值、业务报文时间戳的值、隧道路径信息等。The detection result may be a count value of service packets, a time stamp value of service packets, tunnel path information, and the like.
本申请实施例通过使用在MPLS标签中加入对象标识,实现了不同层次的检测对象采用通用的标识,降低了中间节点的解析深度,可以实现逐点性能检测。另外,对象标识可以扩展加入标记域,该标记域可以携带一种或多种信息,起到了指令的作用,可以满足更灵活和可扩展性的要求。In the embodiment of the present application, by adding an object identifier to an MPLS label, it is realized that the detection object at different levels adopts a universal identifier, reduces the analysis depth of the intermediate node, and can implement point-by-point performance detection. In addition, the object identifier can be extended to add a tag field, which can carry one or more types of information, and serves as an instruction, which can meet the requirements of more flexibility and scalability.
下面以一些应用实例进行说明。在应用实例中,将用户标识称为Object ID。The following uses some application examples to explain. In the application example, the user identification is called Object ID.
应用实例一:在SR场景携带Object ID实现SR隧道的流量统计和丢包统计Application Example 1: Carrying Object IDs in SR Scenarios to Implement SR Tunnel Traffic Statistics and Packet Loss Statistics
以图9为例,A(A为检测域的头节点,具体为运营商边缘输入设备)、B(B为检测域的中间节点,具体为核心设备)、C(C为检测域的尾节点,具体为运营商边缘输出设备)为SR域的网络节点,部署了控制器对网络进行集中控制。采用本申请实施例的方法,在配置阶段,为需要测量的SR-TE(Traffic Engineering,流量工程)隧道分配对应的Object ID。将Object ID通过MPLS标签栈中传递。如图9所示,Object ID可以设置在MPLS标签栈的任意位置,可能是VPN标签之前也可能是之后。Object ID可以是全局唯一也可以节点唯一,如果采用全局唯一的方式,通过Object ID即可唯一标识一条特定的检测对象,如果采用节点唯一的方式,通过{头节点ID、Object ID}的二元组唯一标识一条特定的检测对象,在此应用实例中,采用全局唯一的Object ID。过程如下:Taking Figure 9 as an example, A (A is the head node of the detection domain, specifically the operator edge input device), B (B is the intermediate node of the detection domain, specifically the core device), and C (C is the tail node of the detection domain , Specifically the operator edge output device) is a network node in the SR domain, and a controller is deployed to centrally control the network. By using the method in the embodiment of the present application, during the configuration phase, a corresponding Object ID is assigned to an SR-TE (Traffic Engineering) tunnel that needs to be measured. Pass the Object ID in the MPLS label stack. As shown in Figure 9, the Object ID can be set anywhere in the MPLS label stack, either before or after the VPN label. Object ID can be globally unique or node unique. If a globally unique method is used, a specific detection object can be uniquely identified by Object ID. If a node unique method is used, the binary of {head node ID, Object ID} can be used. The group uniquely identifies a specific detection object. In this application example, a globally unique Object ID is used. The process is as follows:
控制器为A->C的SR-TE隧道分配全局唯一的Object ID。在SR域中,SR-TE隧道由一系列表示节点或者链路的分段(Segment)组成,即分段列表(Segment list)。Object ID用于标识一个唯一的SR-TE隧道,在此实施例中相当于路径标识(Path ID)。The controller assigns a globally unique Object ID to the SR-TE tunnel of A-> C. In the SR domain, an SR-TE tunnel consists of a series of segments representing nodes or links, that is, a segment list. Object ID is used to identify a unique SR-TE tunnel, which is equivalent to Path ID in this embodiment.
控制器将需要检测的对象的信息下发到隧道路径上的各个设备,这些信息包括SR隧道信息,如隧道标识(tunnel ID)及为这个隧道分配的全局唯一的Object ID。The controller sends the information of the object to be detected to each device on the tunnel path, and the information includes SR tunnel information, such as a tunnel identifier (tunnel ID) and a globally unique Object ID assigned to the tunnel.
A节点对进入的报文进行识别,对匹配到需要进入此SR-TE隧道的业务报文添加相应的Object ID,由于检测的对象是隧道,Object ID放置在SR隧道标签之后,业务标签之前,这里以特殊用途标签作为引导标签为例,完整的帧格式如图10所示。Node A identifies the incoming packets and adds the corresponding Object ID to the service packets that need to enter this SR-TE tunnel. Because the detected object is a tunnel, the Object ID is placed after the SR tunnel label and before the service label. Here, a special-purpose label is used as a guide label as an example. The complete frame format is shown in FIG. 10.
A节点依据外层的SR标签将报文从相应的端口发送出去,同时基于 Object ID进行计数,生成A节点发送计数器A_Tx_Cnt。The node A sends the message from the corresponding port according to the outer SR label, and at the same time counts based on the Object ID to generate the node A sending counter A_Tx_Cnt.
B节点收到业务报文后,检索MPLS标签栈,提取标签栈中的Object ID,并基于Object ID进行计数,生成B节点的接收计数器B_Rx_Cnt。After receiving the service packet, node B retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID to generate the reception counter B_Rx_Cnt of node B.
B节点依据外层的SR标签将报文从相应的端口发送出去,同时基于Object ID进行计数,生成B节点发送计数器B_Tx_Cnt。Node B sends the message from the corresponding port according to the outer SR label, and counts based on the Object ID to generate a node B sending counter B_Tx_Cnt.
C节点收到业务报文后,检索MPLS标签栈,提取标签栈中的Object ID,并基于Object ID进行计数,生成C节点的接收计数器C_Rx_Cnt。After receiving the service packet, the node C retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID to generate a reception counter C_Rx_Cnt of the node C.
C节点剥离VPN(Virtual Private Network,虚拟私有网络)标签和Object ID,还原业务报文,发送给客户设备。The C node strips the VPN (Virtual Private Network) label and the Object ID, restores the service packet, and sends it to the client device.
控制器搜集各节点的计数器统计结果,实现SR隧道流量统计。The controller collects the counter statistics of each node to implement SR tunnel traffic statistics.
控制器比较各点的计数器统计结果,实现SR隧道的端到端丢包测量或者逐点丢包测量。The controller compares the counter statistics of each point to achieve end-to-end packet loss measurement or point-by-point packet loss measurement of the SR tunnel.
应用实例二:在SR场景携带Object ID实现SR隧道的路径跟踪Application Example 2: Carrying Object ID in SR Scenario to Realize Path Tracking of SR Tunnel
SR隧道通过Segment list实现业务路径的约束,但在约束节点之间的路径完全依靠IGP(Interior Gateway Protocol,内部网关协议)最短路径原则实现选路,由于拓扑变化等原因导致IGP选路结果也会随之变化,因此需要一种实时获取业务实际路径的方法,路径跟踪可用于实现此方法。The SR tunnel implements the restriction of the service path through the segment list, but the paths between the constrained nodes rely entirely on the shortest path principle of IGP (Interior Gateway Protocol) to implement routing. IGP routing results will also be caused by topology changes and other reasons. With this change, a method for obtaining the actual path of the business in real time is needed, and path tracking can be used to implement this method.
以图11为例,A、B、C、D、E、F为SR域的网络节点,部署了一条从节点A到节点F的SR-TE隧道,采用的Segment list为{C,F}。网络中存在多条路径到达节点C和节点F,采用本申请实施例的方法实现路径跟踪。在配置阶段,为{C,F}的SR-TE隧道分配对应的Object ID。将Object ID压入MPLS标签栈中传递。Object ID可以是全局唯一也可以节点唯一,如果采用全局唯一的方式,通过Object ID即可唯一标识一条特定的检测对象,如果采用节点唯一的方式,通过{头节点ID、Object ID}的二元组唯一标识一条特定的检测对象,在此实施例中,采用节点唯一的Object ID。过 程如下:Taking Figure 11 as an example, A, B, C, D, E, and F are network nodes in the SR domain. An SR-TE tunnel from node A to node F is deployed, and the segment list used is {C, F}. There are multiple paths in the network to reach node C and node F, and the method of the embodiment of the present application is used to implement path tracking. During the configuration phase, the corresponding Object ID is assigned to the SR-TE tunnel of {C, F}. The Object ID is pushed into the MPLS label stack and passed. Object ID can be globally unique or node unique. If a globally unique method is used, a specific detection object can be uniquely identified by Object ID. If a node unique method is used, the binary of {head node ID, Object ID} can be used. The group uniquely identifies a specific detection object. In this embodiment, a unique Object ID of the node is used. The process is as follows:
节点A为A->F的SR-TE隧道分配节点唯一的Object ID。在SR域中,SR-TE隧道由一系列表示节点或者链路的Segment组成,即Segment list,在此应用实例中Segment list就是{C,F}。Object ID用于标识{C,F}的这条SR-TE隧道,在此应用实例中相当于Path ID。Node A assigns a unique Object ID for the SR-TE tunnel of A-> F. In the SR domain, the SR-TE tunnel is composed of a series of segments representing nodes or links, that is, segment lists. In this application example, segment lists are {C, F}. Object ID is used to identify this SR-TE tunnel of {C, F}, which is equivalent to Path ID in this application example.
控制器将需要跟踪的对象的信息下发到SR域上的各个设备,这些信息包括SR隧道信息,如tunnel ID。The controller sends the information of the object to be tracked to each device in the SR domain. The information includes SR tunnel information, such as tunnel ID.
A节点对进入的报文进行识别,对匹配到需要进入此SR-TE隧道的业务报文添加相应的{头节点ID、Object ID}的二元组(本应用实例中,此二元组中头节点ID为节点A ID),由于检测的对象是隧道,Object ID放置在SR隧道标签之后,业务标签之前,这里以特殊用途标签作为引导标签为例,完整的帧格式如图12所示。Node A recognizes the incoming packet, and adds the corresponding {header ID, Object ID} two-tuple to the service packets that need to enter the SR-TE tunnel (in this application example, the two-tuple The head node ID is node A.) Because the detected object is a tunnel, the Object ID is placed after the SR tunnel label and before the service label. Here, a special-purpose label is used as a guide label as an example. The complete frame format is shown in Figure 12.
A节点依据外层的SR标签将报文从相应的端口发送出去,同时将节点和出接口信息记录下来,并与Object ID进行关联,记录的信息为{{节点A ID、Object ID},Node A,Tx interface}。Node A sends the packet from the corresponding port according to the outer SR label. At the same time, it records the node and outbound interface information and associates it with the Object ID. The recorded information is {{Node A ID, Object ID}, Node A, Tx interface}.
B节点收到业务报文后,检索MPLS标签栈,提取标签栈中的{节点A ID、Object ID}的二元组,同时将节点和入接口信息记录下来,并与二元组进行关联,记录的信息为{{节点A ID、Object ID},Node B,Rx interface}。After receiving the service packet, node B retrieves the MPLS label stack, extracts the {node AID, object ID} binary group in the label stack, records the node and incoming interface information at the same time, and associates it with the binary group. The recorded information is {{Node A ID, Object ID}, Node B, Rx interface}.
B节点依据外层的SR标签将报文从相应的端口发送出去,同时将节点和出接口信息记录下来,并与{节点A ID、Object ID}的二元组进行关联,记录的信息为{{节点A ID、Object ID},Node B,Tx interface}。Node B sends the message from the corresponding port according to the outer SR label, and records the node and outbound interface information, and associates it with the {node AID, Object ID} tuple, and the recorded information is { {Node A ID, Object ID}, Node B, Tx interface}.
C节点收到业务报文后,检索MPLS标签栈,提取标签栈中的{节点A ID、Object ID}的二元组,同时将节点和入接口信息记录下来,并与二元组进行关联,记录的信息为{{节点A ID、Object ID},Node C,Rx interface}。After receiving the business packet, node C retrieves the MPLS label stack, extracts the {node AID, object ID} binary group in the label stack, records the node and incoming interface information at the same time, and associates it with the binary group. The recorded information is {{Node A ID, Object ID}, Node C, Rx interface}.
C节点弹出最外层的Node C标签,查找下一层SR标签将报文从相应 的端口发送出去,同时将节点和出接口信息记录下来,并与{节点A ID、Object ID}的二元组进行关联,记录的信息为{{节A点ID、Object ID},Node C,Tx interface}。The C node pops up the outermost Node C label, finds the next SR label, and sends the message from the corresponding port. At the same time, it records the node and outbound interface information, and it is binary with {Node A ID, Object ID} Groups are associated, and the recorded information is {{section APoint ID, Object ID}, Node C, Tx interface}.
E节点收到业务报文后,检索MPLS标签栈,提取标签栈中的{节点A ID、Object ID}的二元组,同时将节点和入接口信息记录下来,并与二元组进行关联,记录的信息为{{节点A ID、Object ID},Node E,Rx interface}。After the E node receives the service packet, it retrieves the MPLS label stack, extracts the {node AID, Object ID} binary group in the label stack, records the node and incoming interface information at the same time, and associates it with the binary group. The recorded information is {{Node A ID, Object ID}, Node E, Rx interface}.
E节点依据外层的SR标签将报文从相应的端口发送出去,同时将节点和出接口信息记录下来,并与{节点A ID、Object ID}的二元组进行关联,记录的信息为{{节点A ID、Object ID},Node E,Tx interface}。The E node sends the message from the corresponding port according to the outer SR label, and records the node and outbound interface information, and associates it with the {node AID, Object ID} tuple, and the recorded information is { {Node A ID, Object ID}, Node E, Tx interface}.
F节点收到业务报文后,检索MPLS标签栈,提取标签栈中的{节点A ID、Object ID}的二元组,同时将节点和入接口信息记录下来,并与二元组进行关联,记录的信息为{{节点A ID、Object ID},Node F,Rx interface}。After the F node receives the service packet, it retrieves the MPLS label stack, extracts the {node AID, Object ID} binary group in the label stack, records the node and incoming interface information at the same time, and associates it with the binary group. The recorded information is {{Node A ID, Object ID}, Node F, Rx interface}.
F节点依据外层的SR标签将报文从相应的端口发送出去,同时将节点和出接口信息记录下来,并与{节点A ID、Object ID}的二元组进行关联,记录的信息为{{节点A ID、Object ID},Node F,Tx interface}。The F node sends the message from the corresponding port according to the outer SR label, and records the node and outbound interface information, and associates it with the {node AID, Object ID} tuple, and the recorded information is { {Node A ID, Object ID}, Node F, Tx interface}.
F节点剥离VPN标签和{节点A ID、Object ID}的二元组,还原业务报文,发送给客户设备。The F node strips the VPN tag and the {node A ID, Object ID} tuple, restores the service packet, and sends it to the client device.
所有节点将记录的路径跟踪信息上报给控制器,由控制器汇总实现完整隧道路径信息的统计。All nodes report the recorded path tracking information to the controller, and the controller summarizes the statistics of the complete tunnel path information.
应用实例三:在MPLS场景携带Object ID实现业务流的流量统计和丢包测量Application Example 3: Carrying Object IDs in MPLS Scenarios to Implement Traffic Statistics and Packet Loss Measurement of Service Flows
以图9为例,A(A为检测域的头节点,具体为运营商边缘输入设备)、B(B为检测域的中间节点,具体为核心设备)、C(C为检测域的尾节点,具体为运营商边缘输出设备)为MPLS域的网络节点,部署了控制器对网络进行集中控制。采用本申请实施例的方法,在配置阶段,为需要测量的 业务流分配对应的Object ID。将Object ID压入MPLS标签栈中传递。Object ID可以是全局唯一也可以节点唯一,如果采用全局唯一的方式,通过Object ID即可唯一标识一条特定的检测对象,如果采用节点唯一的方式,通过{头节点ID、Object ID}的二元组唯一标识一条特定的检测对象,在此实施例中,采用全局唯一的Object ID。过程如下:Taking Figure 9 as an example, A (A is the head node of the detection domain, specifically the operator edge input device), B (B is the intermediate node of the detection domain, specifically the core device), and C (C is the tail node of the detection domain , Specifically the operator edge output device) is a network node in the MPLS domain, and a controller is deployed to centrally control the network. Using the method of the embodiment of the present application, in the configuration stage, the corresponding Object ID is assigned to the service flow that needs to be measured. The Object ID is pushed into the MPLS label stack and passed. Object ID can be globally unique or node unique. If a globally unique method is used, a specific detection object can be uniquely identified by Object ID. If a node unique method is used, the binary of {head node ID, Object ID} can be used. The group uniquely identifies a specific detection object. In this embodiment, a globally unique Object ID is used. The process is as follows:
控制器为需要测量的A->C的某一条业务流分配全局唯一的Object ID。业务流以IP五元组进行识别,Object ID用于标识一条唯一的业务流。The controller assigns a globally unique Object ID to a service flow of A-> C to be measured. Service flows are identified by IP 5-tuples, and Object ID is used to identify a unique service flow.
控制器将需要检测的对象的信息下发到隧道路径上的各个设备,这些信息包括业务流的特征信息,如IP五元组及为这条业务流分配的全局唯一的Object ID。The controller sends the information of the object to be detected to each device on the tunnel path. The information includes the characteristic information of the service flow, such as the IP quintuple and the globally unique Object ID assigned to the service flow.
A节点对进入的报文进行识别,对匹配到这些特性信息的业务流添加相应的Object ID,由于检测的对象是业务流,Object ID放置在业务标签之后,即栈底的位置,这里以特殊用途标签作为引导标签为例,完整的帧格式如图13所示。Node A identifies the incoming packets, and adds the corresponding Object ID to the service flows that match the characteristic information. Since the detected object is a service flow, the Object ID is placed behind the service label, which is the position at the bottom of the stack. The use label is taken as an example of the guide label. The complete frame format is shown in Figure 13.
A节点依据外层的MPLS标签将报文从相应的端口发送出去,同时基于Object ID进行计数,生成A节点发送计数器A_Tx_Cnt。Node A sends packets from the corresponding port according to the outer MPLS label, and counts based on the Object ID to generate a node A sending counter A_Tx_Cnt.
B节点收到业务报文后,检索MPLS标签栈,提取标签栈中的Object ID,并基于Object ID进行计数,生成B节点的接收计数器B_Rx_Cnt,无需识别用户净荷中的IP五元组。After receiving the service packet, node B retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID to generate the receiving counter B_Rx_Cnt of node B without identifying the IP quintuple in the user payload.
B节点依据外层的MPLS标签将报文从相应的端口发送出去,同时基于Object ID进行计数,生成B节点发送计数器B_Tx_Cnt。Node B sends packets from the corresponding port according to the outer MPLS label, and at the same time counts based on the Object ID to generate a Node B send counter B_Tx_Cnt.
C节点收到业务报文后,检索MPLS标签栈,提取标签栈中的Object ID,并基于Object ID进行计数,生成C节点的接收计数器C_Rx_Cnt。After receiving the service packet, the node C retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID to generate a reception counter C_Rx_Cnt of the node C.
C节点剥离VPN标签和Object ID,还原业务报文,发送给客户设备。Node C strips the VPN label and Object ID, restores the service packet, and sends it to the client device.
控制器搜集各节点的计数器统计结果,实现业务流的流量统计。The controller collects the counter statistics results of each node to realize the traffic flow statistics.
控制器比较各点的计数器统计结果,实现业务流的端到端丢包测量或者逐点丢包测量。The controller compares the counter statistics of each point to achieve end-to-end packet loss measurement or point-by-point packet loss measurement of the service flow.
应用实例四:扩展Object ID实现交替着色标记功能Application Example Four: Extending Object ID to Implement Alternate Color Marking Function
交替着色标记是一种带内的性能统计方法,通过交替着色标记可以实现丢包、时延等性能测量。针对IP业务其标记域一般位于IP头部,IPv4采用保留比特,IPv6采用扩展头,不适用于MPLS网络。在MPLS场景可通过扩展Object ID实现着色标记功能。Alternately colored markers are an in-band performance statistics method. Through alternately colored markers, performance measurements such as packet loss and delay can be achieved. For IP services, the tag field is generally located in the IP header. IPv4 uses reserved bits and IPv6 uses extension headers, which are not applicable to MPLS networks. In the MPLS scenario, you can implement the color marking function by extending the Object ID.
以图9为例,A(A为检测域的头节点,具体为运营商边缘输入设备)、B(B为检测域的中间节点,具体为核心设备)、C(C为检测域的尾节点,具体为运营商边缘输出设备)为MPLS域的网络节点,部署了控制器对网络进行集中控制。采用本申请实施例的方法,在配置阶段,为需要测量的业务流分配对应的Object ID,同时扩展Object ID携带标记域,实现丢包和时延的测量。Object ID可以是全局唯一也可以节点唯一,如果采用全局唯一的方式,通过Object ID即可唯一标识一条特定的检测对象,如果采用节点唯一的方式,通过{头节点ID、Object ID}的二元组唯一标识一条特定的检测对象,在此应用实例中,采用全局唯一的Object ID。过程如下:Taking Figure 9 as an example, A (A is the head node of the detection domain, specifically the operator edge input device), B (B is the intermediate node of the detection domain, specifically the core device), and C (C is the tail node of the detection domain , Specifically the operator edge output device) is a network node in the MPLS domain, and a controller is deployed to centrally control the network. By adopting the method of the embodiment of the present application, during the configuration phase, the corresponding Object ID is assigned to the service flow to be measured, and the Object ID carrying tag field is extended to realize the measurement of packet loss and delay. Object ID can be globally unique or node unique. If a globally unique method is used, a specific detection object can be uniquely identified by Object ID. If a node unique method is used, the binary of {head node ID, Object ID} can be used. The group uniquely identifies a specific detection object. In this application example, a globally unique Object ID is used. The process is as follows:
控制器为需要测量的A->C的某一条业务流分配全局唯一的Object ID。业务流以IP五元组进行识别,Object ID用于标识一条唯一的业务流。The controller assigns a globally unique Object ID to a service flow of A-> C to be measured. Service flows are identified by IP 5-tuples, and Object ID is used to identify a unique service flow.
在用于表示Object ID的20bit中预留2bit作为标记域,这样可用于表示测量对象的标识还剩下18bit。交替着色方案一般使用双标记法,采用C bit和D bit两个标记域,其中C bit表示交替着色标记,D bit表示时延测量标记。In the 20 bits used to represent the Object ID, 2 bits are reserved as a tag field, so that the remaining 18 bits can be used to indicate the identification of the measurement object. Alternating coloring schemes generally use the double labeling method, which uses two labeling domains, C bit and D bit, where C bit indicates the alternate coloring mark and D bit indicates the delay measurement mark.
控制器将需要检测的对象的信息下发到隧道路径上的各个设备,这些信息包括业务流的特征信息,如IP五元组及为这条业务流分配的全局唯一的Object ID。The controller sends the information of the object to be detected to each device on the tunnel path. The information includes the characteristic information of the service flow, such as the IP quintuple and the globally unique Object ID assigned to the service flow.
A节点对进入的报文进行识别,对匹配到这些特性信息的业务流添加相应的Object ID,由于检测的对象是业务流,Object ID应该放置在业务标签之后,即栈底的位置,这里以特殊用途标签作为引导标签为例,完整的帧格式如图14所示。Node A identifies the incoming packets, and adds the corresponding Object ID to the service flows that match the characteristic information. Since the detected object is a service flow, the Object ID should be placed after the service label, which is the bottom of the stack. As an example, the special-purpose label is used as the guide label. The complete frame format is shown in Figure 14.
A节点根据设置的规则定期翻转C比特,如第一个周期设置C=0,第二个周期设置C=1,第三个周期设置C=0……,实现交替着色功能。同时定期对报文采样,对采样的报文设置D=1,表示需要测量时延,其他报文缺省设置D=0,表示无需测量时延。The A node periodically flips C bits according to the set rules, such as setting C = 0 in the first cycle, setting C = 1 in the second cycle, setting C = 0 in the third cycle, etc., to implement the alternate coloring function. At the same time, the message is periodically sampled. Set the sampled message to D = 1 to indicate that the delay needs to be measured. The default setting of other messages is D = 0 to indicate that the delay is not required to be measured.
A节点依据外层的MPLS标签将报文从相应的端口发送出去,同时基于Object ID以及C比特的颜色信息进行计数,如报文C=0就采用Cnt0完成计数,C=1就采用Cnt1完成计数,生成A节点发送计数器A_Tx_Cnt0和A_Tx_Cnt1。Node A sends the message from the corresponding port according to the outer MPLS label, and counts based on the object ID and C bit color information. For example, if the message C = 0, Cnt0 is used for counting, and C = 1, Cnt1 is used for counting. Count and generate A node sending counters A_Tx_Cnt0 and A_Tx_Cnt1.
A节点基于Object ID以及D比特的信息进行时戳标记,对于D=1的报文记录报文发送时的时戳,记录为A_Tx_Timestamp。The A node performs time stamp marking based on the object ID and D bit information. For a message of D = 1, the time stamp when the message is sent is recorded as A_Tx_Timestamp.
B节点收到业务报文后,检索MPLS标签栈,提取标签栈中的Object ID,并基于Object ID以及携带的颜色信息进行计数,生成B节点的接收计数器B_Rx_Cnt0和B_Rx_Cnt1,而无需识别用户净荷中的IP五元组。After receiving the service packet, node B retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID and the carried color information to generate the reception counters B_Rx_Cnt0 and B_Rx_Cnt1 of node B without identifying the user payload. IP quintuple in.
B节点基于Object ID以及D比特的信息进行时戳标记,对于D=1的报文记录报文到达和离开时候的时戳,记录为B_Rx_Timestamp和B_Tx_Timestamp。The B node performs timestamp marking based on the information of the Object ID and the D bit. For a message of D = 1, the timestamp of the arrival and departure of the message is recorded as B_Rx_Timestamp and B_Tx_Timestamp.
B节点依据外层的MPLS标签将报文从相应的端口发送出去,同时基于Object ID及携带的颜色信息进行计数,生成B节点发送计数器B_Tx_Cnt0和B_Tx_Cnt1。Node B sends the message from the corresponding port according to the outer MPLS label, and counts based on the Object ID and the color information carried by it, and generates Node B sending counters B_Tx_Cnt0 and B_Tx_Cnt1.
C节点收到业务报文后,检索MPLS标签栈,提取标签栈中的Object ID,并基于Object ID以及携带的颜色信息进行计数,生成C节点的接收计数器 C_Rx_Cnt0和C_Rx_Cnt1。After receiving the service packet, the node C retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID and the color information carried by it, and generates the reception counters C_Rx_Cnt0 and C_Rx_Cnt1 of the node.
C节点基于Object ID以及D比特的信息进行时戳标记,对于D=1的报文记录报文到达时的时戳,记录为C_Rx_Timestamp。The C node performs timestamp marking based on the object ID and D bit information. For a message of D = 1, the timestamp when the message arrives is recorded as C_Rx_Timestamp.
C节点剥离VPN标签和Object ID,还原业务报文,发送给客户设备。Node C strips the VPN label and Object ID, restores the service packet, and sends it to the client device.
控制器比较各点的计数器统计结果和记录的时戳,实现业务流的端到端丢包测量、逐点丢包测量、端到端时延测量、逐点时延测量等功能。The controller compares the statistical results of the counters at each point with the recorded time stamps, and implements functions such as end-to-end packet loss measurement, point-by-point packet loss measurement, end-to-end delay measurement, and point-by-point delay measurement.
应用实例五:扩展Object ID实现业务报文和TWAMP报文的区分Application Example 5: Extending Object ID to Distinguish Business Packets from TWAMP Packets
TWAMP是一种广泛使用的主动测量方式,但其测量的是TWAMP报文的丢包和时延,无法真实的反应业务的性能,因此TWAMP提出了一种扩展来实现直接的业务测量。其原理如图15所示,通过在业务报文中插入一系列的TWAMP报文进行作为统计定界帧,头节点通过识别业务报文进行报文计数,并将计数值携带在TWAMP报文中传递到尾节点。尾节点就可以获得头节点的发送报文计数,并与本点的接收报文计数值比较,即可实现端到端的丢包测量。此方式无需控制器进行集中性能分析,部署更灵活。TWAMP is a widely used active measurement method, but it measures packet loss and delay of TWAMP packets, and cannot truly reflect the performance of the service. Therefore, TWAMP proposes an extension to achieve direct service measurement. The principle is shown in Figure 15. By inserting a series of TWAMP messages into the service message as a statistical delimitation frame, the head node counts the messages by identifying the service message and carries the count value in the TWAMP message. Pass to the tail node. The tail node can obtain the count of the packets sent by the head node and compare it with the count of the packets received at this point, to achieve end-to-end packet loss measurement. This method does not require the controller to perform centralized performance analysis, and the deployment is more flexible.
TWAMP直接测量方式需要网元能识别并区分要统计的业务流以及其对应的TWAMP报文,传统方法是通过IP报文中的UDP(User Datagram Protocol,用户数据报协议)端口号识别业务报文还是TWAMP报文,但此方法要求网元具有很深的报文解析能力。采用本申请实施例的方法,可以通过扩展Obeject ID来区分业务报文和TWAMP报文,网元在MPLS标签栈中即可进行识别,大大降低了解析的深度。The direct measurement method of TWAMP requires that the network element can identify and distinguish the service flow to be counted and its corresponding TWAMP message. The traditional method is to identify the service message by the UDP (User Datagram Protocol) port number in the IP message. It is still a TWAMP message, but this method requires the network element to have deep message analysis capabilities. By adopting the method in the embodiment of the present application, it is possible to distinguish service packets and TWAMP packets by extending Obeject ID, and the network element can be identified in the MPLS label stack, which greatly reduces the depth of analysis.
以图9为例,A(A为检测域的头节点,具体为运营商边缘输入设备)、B(B为检测域的中间节点,具体为核心设备)、C(C为检测域的尾节点,具体为运营商边缘输出设备)为MPLS域的网络节点,部署了控制器对网络进行集中控制。采用本申请实施例的方法,在配置阶段,为需要测量的 业务流分配对应的Object ID,同时扩展Object ID携带标记域,实现丢包和时延的测量。Taking Figure 9 as an example, A (A is the head node of the detection domain, specifically the operator edge input device), B (B is the intermediate node of the detection domain, specifically the core device), and C (C is the tail node of the detection domain , Specifically the operator edge output device) is a network node in the MPLS domain, and a controller is deployed to centrally control the network. By using the method in the embodiment of the present application, during the configuration phase, the corresponding Object ID is assigned to the service flow to be measured, and the Object ID carrying tag field is extended to realize the measurement of packet loss and delay.
控制器为需要测量的A->C的某一条业务流分配全局唯一的Object ID。业务流以IP五元组进行识别,Object ID用于标识一条唯一的业务流。The controller assigns a globally unique Object ID to a service flow of A-> C to be measured. Service flows are identified by IP 5-tuples, and Object ID is used to identify a unique service flow.
在用于表示Object ID的20bit中预留1bit作为标记域,这样可用于表示测量对象的标识还剩下19bit。TWAMP直接测量方案预留一个T bit用于标记业务和TWAMP报文。1 bit is reserved as a tag field among the 20 bits used to represent the Object ID, so that the identifier that can be used to represent the measurement object has 19 bits remaining. The TWAMP direct measurement solution reserves a Tbit for tagging services and TWAMP messages.
控制器将需要检测的对象的信息下发到隧道路径上的各个设备,这些信息包括业务流的特征信息,如IP五元组及为这条业务流分配的全局唯一的Object ID。The controller sends the information of the object to be detected to each device on the tunnel path. The information includes the characteristic information of the service flow, such as the IP quintuple and the globally unique Object ID assigned to the service flow.
A节点对进入的报文进行识别,对匹配到这些特性信息的业务流添加相应的Object ID,由于检测的对象是业务流,Object ID应该放置在业务标签之后,即栈底的位置,这里以特殊用途标签作为引导标签为例,完整的帧格式如图16所示。标记业务流的T bit=0。Node A identifies the incoming packets, and adds the corresponding Object ID to the service flows that match the characteristic information. Since the detected object is a service flow, the Object ID should be placed after the service label, which is the bottom of the stack. As an example, the special-purpose label is used as the guide label. The complete frame format is shown in Figure 16. T bit = 0 of the marked service flow.
A节点根据一定的周期生成TWAMP报文,并插入到业务流中。为了与需要检测的业务报文对应,TWAMP报文需要与业务报文具有一样的Object ID,但标记域T bit=1。其完整的帧格式如图17所示。Node A generates a TWAMP message according to a certain period and inserts it into the service flow. In order to correspond to the service message to be detected, the TWAMP message needs to have the same Object ID as the service message, but the tag field Tbit = 1. Its complete frame format is shown in Figure 17.
A节点依据外层的MPLS标签将报文从相应的端口发送出去,同时基于Object ID进行计数,生成A节点发送计数器A_Tx_Cnt,并将此计数值携带在TWAMP报文中发送。Node A sends the message from the corresponding port according to the outer MPLS label, and at the same time counts based on the Object ID, generates a node A sending counter A_Tx_Cnt, and carries this count value in the TWAMP message for transmission.
B节点依据MPLS标签进行转发。Node B forwards according to the MPLS label.
C节点收到业务报文后,检索MPLS标签栈,提取标签栈中的Object ID,并基于Object ID进行计数,生成C节点的接收计数器C_Rx_Cnt。After receiving the service packet, the node C retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID to generate a reception counter C_Rx_Cnt of the node C.
C节点剥离VPN标签和Object ID,还原业务报文,发送给客户设备。Node C strips the VPN label and Object ID, restores the service packet, and sends it to the client device.
C节点识别T bit=1的报文为TWAMP报文,将TWAMP报文中携带的 A_Tx_Cnt计数值取出与C_Rx_Cnt比较,完成端到端的丢包统计。The C node recognizes that the message with Tbit = 1 is a TWAMP message, takes out the A_Tx_Cnt count value carried in the TWAMP message, and compares it with C_Rx_Cnt to complete end-to-end packet loss statistics.
应用实例六:在MPLS场景携带Object ID实现伪线的逐点流量统计和丢包测量Application Example 6: Implementing Object ID in MPLS Scenarios to Implement Point-by-Point Traffic Statistics and Packet Loss Measurement of Pseudo-Wires
在MPLS场景中,伪线可以由伪线标签来表示,但伪线标签只在节点内唯一,并不是全局唯一。因此传统的基于伪线标签来进行流量统计和丢包测量的机制只能实现端到端的测量,而无法支持逐点测量。通过使用Object ID可以实现伪线的逐点测量功能。In the MPLS scenario, pseudowires can be represented by pseudowire labels, but pseudowire labels are unique within a node and not globally unique. Therefore, the traditional mechanism based on pseudo-wire labels for traffic statistics and packet loss measurement can only achieve end-to-end measurement, but cannot support point-by-point measurement. Point-by-point measurement of pseudo-lines can be achieved by using Object ID.
以图9为例,A(A为检测域的头节点,具体为运营商边缘输入设备)、B(B为检测域的中间节点,具体为核心设备)、C(C为检测域的尾节点,具体为运营商边缘输出设备)为MPLS域的网络节点,部署了控制器对网络进行集中控制。采用本申请实施例的方法,在配置阶段,为需要测量的伪线分配对应的Object ID。将Object ID压入MPLS标签栈中传递。Object ID可以是全局唯一也可以节点唯一,如果采用全局唯一的方式,通过Object ID即可唯一标识一条特定的检测对象,如果采用节点唯一的方式,通过{头节点ID、Object ID}的二元组唯一标识一条特定的检测对象,在此实施例中,采用全局唯一的Object ID。过程如下:Taking Figure 9 as an example, A (A is the head node of the detection domain, specifically the operator edge input device), B (B is the intermediate node of the detection domain, specifically the core device), and C (C is the tail node of the detection domain , Specifically the operator edge output device) is a network node in the MPLS domain, and a controller is deployed to centrally control the network. Using the method of the embodiment of the present application, in the configuration stage, the corresponding Object ID is assigned to the pseudo wire to be measured. The Object ID is pushed into the MPLS label stack and passed. Object ID can be globally unique or node unique. If a globally unique method is used, a specific detection object can be uniquely identified by Object ID. If a node unique method is used, the binary of {head node ID, Object ID} can be used. The group uniquely identifies a specific detection object. In this embodiment, a globally unique Object ID is used. The process is as follows:
控制器为需要测量的A->C的某一条伪线分配全局唯一的Object ID。伪线以伪线ID进行识别,Object ID用于标识一条唯一的伪线。The controller assigns a globally unique Object ID to a pseudo-wire of A-> C to be measured. The pseudo line is identified by a pseudo line ID, and the Object ID is used to identify a unique pseudo line.
控制器将需要检测的对象的信息下发到隧道路径上的各个设备,这些信息包括伪线的特征信息,如伪线标识(PW ID)及为这条伪线分配的全局唯一的Object ID。The controller sends the information of the object to be detected to each device on the tunnel path. The information includes the characteristic information of the pseudowire, such as the pseudowire identification (PWID) and the globally unique ObjectID assigned to the pseudowire.
A节点对进入的报文进行识别,对匹配到需要进入此伪线的业务报文添加相应的Object ID,由于检测的对象是伪线,Object ID放置在PW标签之后,这里以扩展标签+扩展特殊用途标签作为引导标签为例,完整的帧格式如图18所示。Node A identifies the incoming packets and adds the corresponding Object ID to the business packets that need to enter this pseudo-wire. Since the detected object is a pseudo-wire, the Object ID is placed after the PW tag. Here, the extension tag + extension As an example, the special-purpose label is used as the guide label. The complete frame format is shown in Figure 18.
A节点依据外层的MPLS标签将报文从相应的端口发送出去,同时基于Object ID进行计数,生成A节点发送计数器A_Tx_Cnt。Node A sends packets from the corresponding port according to the outer MPLS label, and counts based on the Object ID to generate a node A sending counter A_Tx_Cnt.
B节点收到业务报文后,检索MPLS标签栈,提取标签栈中的Object ID,并基于Object ID进行计数,生成B节点的接收计数器B_Rx_Cnt。After receiving the service packet, node B retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID to generate the reception counter B_Rx_Cnt of node B.
B节点依据外层的MPLS标签将报文从相应的端口发送出去,同时基于Object ID进行计数,生成B节点发送计数器B_Tx_Cnt。Node B sends packets from the corresponding port according to the outer MPLS label, and at the same time counts based on the Object ID to generate a Node B send counter B_Tx_Cnt.
C节点收到业务报文后,检索MPLS标签栈,提取标签栈中的Object ID,并基于Object ID进行计数,生成C节点的接收计数器C_Rx_Cnt。After receiving the service packet, the node C retrieves the MPLS label stack, extracts the object ID in the label stack, and counts based on the object ID to generate a reception counter C_Rx_Cnt of the node C.
C节点剥离PW标签和Object ID,还原业务报文,发送给客户设备。Node C strips the PW label and Object ID, restores the service packet, and sends it to the client device.
控制器搜集各节点的计数器统计结果,实现业务流的流量统计。The controller collects the counter statistics results of each node to realize the traffic flow statistics.
控制器比较各点的计数器统计结果,实现伪线的端到端丢包测量或者逐点丢包测量。The controller compares the counter statistics of each point to achieve end-to-end packet loss measurement or point-by-point packet loss measurement of the pseudowire.
如图19所示,本申请实施例还提供一种MPLS网络检测的实现装置,应用于检测域中的节点,包括:As shown in FIG. 19, an embodiment of the present application further provides an apparatus for implementing MPLS network detection, which is applied to detecting a node in a domain and includes:
确定模块41,配置为确定检测对象的信息和检测任务,其中,所述检测对象的信息包括对象标识;The determining module 41 is configured to determine information of a detection object and a detection task, wherein the information of the detection object includes an object identifier;
处理模块42,配置为在所述装置位于检测域的头节点时,在接收到的业务流中识别出与所述检测对象匹配的业务报文,在所述业务报文的MPLS标签中加入所述对象标识,转发包含所述对象标识的业务报文;以及,The processing module 42 is configured to, when the device is located at the head node of the detection domain, identify a service packet matching the detection object in the received service flow, and add the service packet to the MPLS label of the service packet. The object identifier is described, and a service message including the object identifier is forwarded; and
检测模块43,配置为按照所述检测任务,对包含所述对象标识的业务报文执行检测操作。The detection module 43 is configured to perform a detection operation on a service packet including the object identifier according to the detection task.
其中,所述检测对象包括如下至少之一:隧道、业务流、PW。The detection object includes at least one of the following: a tunnel, a service flow, and a PW.
在本申请的一种可选实施例中,所述处理模块42,配置为在接收到的业务流中识别出与所述检测对象匹配的业务报文包括如下至少之一:所述检测对象包括隧道时,所述检测对象的信息还包括隧道标识,所述头节点 根据所述隧道标识在接收到的业务流中识别出与所述检测对象匹配的业务报文;所述检测对象包括业务流时,所述检测对象的信息还包括业务流的特征信息,所述头节点根据所述业务流的特征信息在接收到的业务流中识别出与所述检测对象匹配的业务报文;所述检测对象包括PW时,所述检测对象的信息还包括PW标识,所述头节点根据所述PW标识在接收到的业务流中识别出与所述检测对象匹配的业务报文。In an optional embodiment of the present application, the processing module 42 is configured to identify a service packet that matches the detection object in the received service flow includes at least one of the following: the detection object includes When tunneling, the information of the detection object further includes a tunnel identifier, and the head node identifies a service packet that matches the detection object in the received service flow according to the tunnel identifier; the detection object includes a service flow At the time, the information of the detection object further includes characteristic information of the service flow, and the head node identifies a service packet matching the detection object in the received service flow according to the characteristic information of the service flow; the When the detection object includes a PW, the information of the detection object further includes a PW identifier, and the head node identifies a service packet that matches the detection object in the received service flow according to the PW identifier.
在本申请的一种可选实施例中,通过节点标识和对象标识的二元组的方式标识所述检测对象,所述MPLS网络检测的实现装置应用于检测域中的头节点,所述确定模块41,配置为分配所述对象标识。In an optional embodiment of the present application, the detection object is identified by a tuple of a node identifier and an object identifier, and the device for implementing MPLS network detection is applied to detect a head node in the domain, and the determining Module 41 is configured to allocate the object identifier.
在本申请的一种可选实施例中,通过节点标识和对象标识的二元组的方式标识所述检测对象,所述处理模块42,配置为在所述业务报文的MPLS标签中加入头节点标识和对象标识的二元组,转发包含所述二元组的业务报文。In an optional embodiment of the present application, the detection object is identified by a tuple of a node identifier and an object identifier, and the processing module 42 is configured to add a header to the MPLS label of the service packet. The node identifier and the object identifier are a tuple, and a service packet including the tuple is forwarded.
在本申请的一种可选实施例中,所述处理模块42,配置为根据所述检测对象确定所述对象标识在所述MPLS标签中的位置,按照所述位置,在所述MPLS标签中加入所述对象标识。In an optional embodiment of the present application, the processing module 42 is configured to determine a position of the object identifier in the MPLS label according to the detection object, and according to the position, in the MPLS label Add the object identifier.
在本申请的一种可选实施例中,所述处理模块42,配置为在所述MPLS标签中加入预设的引导标签和所述对象标识,所述引导标签位于所述对象标识之前,用于指示所述对象标识在所述MPLS标签的位置。In an optional embodiment of the present application, the processing module 42 is configured to add a preset guidance label and the object identifier to the MPLS label, where the guidance label is located before the object identifier, and To indicate the position of the object identifier in the MPLS label.
在本申请的一种可选实施例中,所述预设的引导标签包括如下至少之一:特殊用途标签;扩展标签和扩展特殊用途标签的组合。In an optional embodiment of the present application, the preset guide label includes at least one of the following: a special-purpose label; a combination of an extended label and an extended special-use label.
在本申请的一种可选实施例中,所述对象标识中包含标记域,所述处理模块42,配置为按照预设的标记规则设置所述标记域,在所述MPLS标签中加入包含所述标记域的对象标识。In an optional embodiment of the present application, the object identifier includes a tag field, and the processing module 42 is configured to set the tag field according to a preset tag rule, and add the tag field to the MPLS label. The object identifier of the tag field.
在本申请的一种可选实施例中,所述检测任务包括主动双向检测 TWAMP报文测量,所述处理模块42,配置为在接收到的业务流中识别出与所述检测对象匹配的业务报文之后,在所述业务流中插入TWAMP报文,所述TWAMP报文的MPLS标签中携带包含所述标记域的对象标识,通过所述标记域指示报文类型为TWAMP报文。In an optional embodiment of the present application, the detection task includes active bidirectional detection of TWAMP packet measurement, and the processing module 42 is configured to identify a service matching the detection object in the received service flow. After the message, a TWAMP message is inserted into the service flow. The MPLS label of the TWAMP message carries an object identifier containing the tag field, and the tag type indicates that the message type is a TWAMP message.
在本申请的一种可选实施例中,所述检测模块43,配置为所述装置应用的节点为所述检测域的头节点时,对发出的所述业务报文进行计数统计,将计数统计的值携带在所述TWAMP报文中发送出去;所述装置应用的节点为所述检测域的尾节点时,对接收到的所述业务报文进行计数统计,将接收到的所述TWAMP报文中携带的计数统计的值与自身计数统计的值进行比较,得到TWAMP测量结果。In an optional embodiment of the present application, the detection module 43 is configured to count and count the service packets sent when the node applied by the device is the head node of the detection domain. The statistical value is carried in the TWAMP message and sent out; when the node applied by the device is the tail node of the detection domain, the received statistics of the service message are counted, and the received TWAMP message is counted. The value of the count statistics carried in the packet is compared with the value of its own count statistics to obtain the TWAMP measurement result.
在本申请的一种可选实施例中,所述检测任务包括:进行带内的性能统计,所述标记域包括交替着色标记,所述检测模块43,配置为所述装置应用的节点为所述检测域的头节点时,按照所述交替着色标记的信息,对发出的所述业务报文进行计数统计;所述装置应用的节点为所述检测域的中间节点时,按照所述交替着色标记的信息,对接收到的和发出的所述业务报文进行计数统计;所述装置应用的节点为所述检测域的尾节点时,按照所述交替着色标记的信息,对接收到的所述业务报文进行计数统计。In an optional embodiment of the present application, the detection task includes: performing in-band performance statistics, the flag field includes alternating coloring flags, and the detection module 43 is configured as a node applied by the device. When the head node of the detection domain is described, the service packets sent are counted and counted according to the information of the alternate coloring flag; when the node applied by the device is an intermediate node of the detection domain, the coloring is performed according to the alternate coloring. The marked information counts the received and sent service packets. When the node applied by the device is the tail node of the detection domain, the received colored information is used to calculate the received all the received messages. Count the business messages.
在本申请的一种可选实施例中,所述检测任务包括:进行带内的性能统计,所述标记域包括时延测量标记,所述检测模块43,配置为所述装置应用的节点为所述检测域的头节点时,按照所述时延测量标记的信息对所述业务报文进行时戳标记,记录所述业务报文发送时的时戳;所述装置应用的节点为所述检测域的中间节点时,按照所述时延测量标记的信息对所述业务报文进行时戳标记,记录所述业务报文到达时和发送时的时戳;所述装置应用的节点为所述检测域的尾节点时,按照所述时延测量标记的信息对所述业务报文进行时戳标记,记录所述业务报文到达时的时戳。In an optional embodiment of the present application, the detection task includes: performing in-band performance statistics, the flag field includes a delay measurement flag, and the detection module 43 is configured as a node applied by the device as When the head node of the domain is detected, time stamping the service message according to the information of the delay measurement flag, and recording the time stamp when the service message is sent; the node applied by the device is the When detecting an intermediate node in the domain, the service message is time stamped according to the information of the delay measurement mark, and the time stamp of the service message arrival and sending is recorded; the node applied by the device is When the tail node of the detection domain is described, the service message is time stamped according to the information of the delay measurement mark, and the time stamp when the service message arrives is recorded.
在本申请的一种可选实施例中,所述检测任务包括:对业务报文进行计数,所述检测模块43,配置为所述装置应用的节点为所述检测域的头节点时,对发出的所述业务报文进行计数统计;所述装置应用的节点为所述检测域的中间节点时,对接收到的所述业务报文和发出的所述业务报文分别进行计数统计;所述装置应用的节点为所述检测域的尾节点时,对接收到的所述业务报文进行计数统计。In an optional embodiment of the present application, the detection task includes: counting service packets, and the detection module 43 is configured to: when a node applied by the device is a head node of the detection domain, Counting and counting of the service messages sent out; when the node applied by the device is an intermediate node in the detection domain, counting and counting the service messages received and the service messages sent out respectively; When the node applied by the device is a tail node of the detection domain, counting and statistics are received on the received service packets.
在本申请的一种可选实施例中,所述检测任务包括:隧道路径跟踪,所述检测模块43,配置为所述装置应用的节点为所述检测域的头节点时,将自身节点信息、所述业务报文的出接口信息与所述对象标识相关联,对相关联的信息进行记录;所述装置应用的节点为所述检测域的中间节点时,将自身节点信息、所述业务报文的入接口信息与所述对象标识相关联,以及,将自身节点信息、所述业务报文的出接口信息与所述对象标识相关联,对相关联的信息进行记录;所述装置应用的节点为所述检测域的尾节点时,将自身节点信息、所述业务报文的入接口信息与所述对象标识相关联,对相关联的信息进行记录。In an optional embodiment of the present application, the detection task includes: tunnel path tracing, and the detection module 43 is configured to: when a node applied by the device is a head node of the detection domain, self-node information 2. The outbound interface information of the service message is associated with the object identifier, and the associated information is recorded; when the node applied by the device is an intermediate node in the detection domain, the information of the own node and the service are recorded. The inbound interface information of the message is associated with the object identifier, and the own node information and the outbound interface information of the service message are associated with the object identifier to record the associated information; the device application When the node is the tail node of the detection domain, the node information and the inbound interface information of the service message are associated with the object identifier, and the associated information is recorded.
在本申请的一种可选实施例中,所述检测模块43,配置为按照所述检测任务,对包含所述对象标识的业务报文执行检测操作之后,将执行检测操作得到的检测结果发送至控制器,以使所述控制器进行统计。In an optional embodiment of the present application, the detection module 43 is configured to send a detection result obtained by performing the detection operation after performing a detection operation on a service packet including the object identifier according to the detection task. To the controller to enable the controller to perform statistics.
需要说明的是:上述实施例提供的MPLS网络检测的实现装置在进行MPLS网络检测时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的MPLS网络检测的实现装置与MPLS网络检测的实现方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when implementing the MPLS network detection device provided in the foregoing embodiment, when performing the MPLS network detection, only the above-mentioned division of the program modules is used as an example. In actual applications, the above processing may be allocated by different The program module is completed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the device for implementing MPLS network detection provided in the foregoing embodiment belongs to the same concept as the method for implementing MPLS network detection. The specific implementation process is described in the method embodiment, and is not repeated here.
如图20所示,本申请实施例还提供一种MPLS网络检测的实现装置, 应用于控制器,包括:As shown in FIG. 20, an embodiment of the present application further provides a device for implementing MPLS network detection, which is applied to a controller and includes:
分配模块51,配置为为MPLS网络中检测对象分配对象标识;An allocation module 51 configured to allocate an object identifier to a detection object in the MPLS network;
发送模块52,配置为将包含对象标识的检测对象的信息和检测任务发送至所述检测对象对应的检测域中每个节点,以使所述节点按照所述检测任务,根据所述对象标识对所述检测对象匹配的业务报文执行检测操作。The sending module 52 is configured to send information and a detection task of the detection object including the object identifier to each node in the detection domain corresponding to the detection object, so that the node performs the detection task on the basis of the object identifier. A service operation is performed on the service packets matching the detection object.
在本申请的一种可选实施例中,所述装置还包括接收模块,配置为接收所述节点发送的检测结果,对所述检测结果进行统计。In an optional embodiment of the present application, the apparatus further includes a receiving module configured to receive a detection result sent by the node, and perform statistics on the detection result.
在本申请的一种可选实施例中,所述检测任务包括:对业务报文进行计数,所述装置还包括处理模块,配置为根据所述检测结果,进行流量统计、端到端的丢包统计、逐点丢包统计中的至少之一。In an optional embodiment of the present application, the detection task includes: counting service packets, and the device further includes a processing module configured to perform traffic statistics and end-to-end packet loss according to the detection result. At least one of statistics and point-by-point packet loss statistics.
在本申请的一种可选实施例中,所述检测任务包括:隧道路径跟踪,所述装置还包括处理模块,配置为根据所述检测结果统计完整隧道路径信息。In an optional embodiment of the present application, the detection task includes: tunnel path tracking, and the device further includes a processing module configured to count complete tunnel path information according to the detection result.
在本申请的一种可选实施例中,所述检测任务包括:进行带内的性能统计,所述装置还包括处理模块,配置为根据所述检测结果,进行流量统计、端到端的丢包统计、逐点丢包统计、端到端时延统计、逐点时延统计中的至少之一。In an optional embodiment of the present application, the detection task includes: performing in-band performance statistics, and the device further includes a processing module configured to perform traffic statistics and end-to-end packet loss according to the detection results. At least one of statistics, point-by-point packet loss statistics, end-to-end delay statistics, and point-by-point delay statistics.
需要说明的是:上述实施例提供的MPLS网络检测的实现装置在进行MPLS网络检测时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的MPLS网络检测的实现装置与MPLS网络检测的实现方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when implementing the MPLS network detection device provided in the foregoing embodiment, when performing MPLS network detection, only the above-mentioned division of the program modules is used as an example. In actual applications, the above processing may be allocated by different The program module is completed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the device for implementing MPLS network detection provided in the foregoing embodiment belongs to the same concept as the method for implementing MPLS network detection. The specific implementation process is described in the method embodiment, and is not repeated here.
如图21所示,本申请实施例还提供一种网络设备,包括:包括存储器61、处理器62及存储在存储器61上并可在处理器62上运行的计算机程序 63,所述处理器62执行所述程序时实现本申请实施例中应用于检测域中的节点的MPLS网络检测的实现方法。As shown in FIG. 21, an embodiment of the present application further provides a network device, including: a memory 61, a processor 62, and a computer program 63 stored on the memory 61 and executable on the processor 62. The processor 62 When the program is executed, an implementation method of MPLS network detection applied to a node in a detection domain in the embodiment of the present application is implemented.
如图22所示,本申请实施例还提供一种控制器,包括:包括存储器71、处理器72及存储在存储器71上并可在处理器72上运行的计算机程序73,所述处理器72执行所述程序时实现本申请实施例中应用于控制器的MPLS网络检测的实现方法。As shown in FIG. 22, an embodiment of the present application further provides a controller, including: a memory 71, a processor 72, and a computer program 73 stored on the memory 71 and executable on the processor 72. The processor 72 When the program is executed, the method for implementing MPLS network detection applied to the controller in the embodiment of the present application is implemented.
本申请实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行本申请实施例中应用于检测域中的节点或控制器中的MPLS网络检测的实现方法。An embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions for performing MPLS network detection in a node or controller in a detection domain in the embodiments of the present application. Implementation method.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed components are coupled, or directly coupled, or communicated with each other through some interfaces. The indirect coupling or communication connection of the device or unit may be electrical, mechanical, or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, which may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration The unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art may understand that all or part of the steps of the foregoing method embodiments may be completed by a program instructing related hardware. The foregoing program may be stored in a computer-readable storage medium. Including the steps of the above method embodiment; and the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc. A medium on which program code can be stored.
或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application that are essentially or contribute to the existing technology can be embodied in the form of software products. The computer software product is stored in a storage medium and includes several instructions for A computer device (which may be a personal computer, a server, or a network device) is caused to perform all or part of the methods described in the embodiments of the present application. The foregoing storage medium includes: various types of media that can store program codes, such as a mobile storage device, a ROM, a RAM, a magnetic disk, or an optical disc.
本申请所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflicts to obtain new method embodiments.
本申请所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflicts to obtain new product embodiments.
本申请所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict, to obtain a new method embodiment or device embodiment.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the scope of protection of the present invention is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present invention. It should be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (27)

  1. 一种多协议标签交换MPLS网络检测的实现方法,包括:A method for implementing multi-protocol label switching MPLS network detection includes:
    检测域中的节点确定检测对象的信息和检测任务,其中,所述检测对象的信息包括对象标识;A node in the detection domain determines information of a detection object and a detection task, wherein the information of the detection object includes an object identifier;
    所述节点为所述检测域的头节点时,在接收到的业务流中识别出与所述检测对象匹配的业务报文,在所述业务报文的MPLS标签中加入所述对象标识,转发包含所述对象标识的业务报文;When the node is the head node of the detection domain, a service packet that matches the detection object is identified in the received service flow, the object identifier is added to the MPLS label of the service packet, and the packet is forwarded. A business message including the object identifier;
    所述节点为所述检测域的头节点、或中间节点、或尾节点时,按照所述检测任务,对包含所述对象标识的业务报文执行检测操作。When the node is a head node, an intermediate node, or a tail node of the detection domain, a detection operation is performed on a service packet including the object identifier according to the detection task.
  2. 如权利要求1所述的方法,其中,所述检测对象包括如下至少之一:The method according to claim 1, wherein the detection object comprises at least one of the following:
    隧道、业务流、伪线PW。Tunnel, service flow, pseudo-wire PW.
  3. 如权利要求2所述的方法,其中,所述在接收到的业务流中识别出与所述检测对象匹配的业务报文包括如下至少之一:The method according to claim 2, wherein the identifying a service packet matching the detection object in the received service flow comprises at least one of the following:
    所述检测对象包括隧道时,所述检测对象的信息还包括隧道标识,所述头节点根据所述隧道标识在接收到的业务流中识别出与所述检测对象匹配的业务报文;When the detection object includes a tunnel, the information of the detection object further includes a tunnel identifier, and the head node identifies a service packet matching the detection object in the received service flow according to the tunnel identifier;
    所述检测对象包括业务流时,所述检测对象的信息还包括业务流的特征信息,所述头节点根据所述业务流的特征信息在接收到的业务流中识别出与所述检测对象匹配的业务报文;When the detection object includes a service flow, the information of the detection object further includes characteristic information of the service flow, and the head node recognizes that the detection object matches the detection object in the received service flow according to the characteristic information of the service flow. Business messages;
    所述检测对象包括PW时,所述检测对象的信息还包括PW标识,所述头节点根据所述PW标识在接收到的业务流中识别出与所述检测对象匹配的业务报文。When the detection object includes a PW, the information of the detection object further includes a PW identifier, and the head node identifies a service packet that matches the detection object in the received service flow according to the PW identifier.
  4. 如权利要求1所述的方法,其中,通过节点标识和对象标识的二元组的方式标识所述检测对象,所述检测域中的节点确定检测对象的信息和检测任务,包括:所述检测域中的头节点分配所述对象标识。The method according to claim 1, wherein the detection object is identified by a tuple of a node identifier and an object identifier, and the node in the detection domain determines information of the detection object and a detection task, comprising: the detection The head node in the domain allocates the object identifier.
  5. 如权利要求1所述的方法,其中,通过节点标识和对象标识的二元组的方式标识所述检测对象,所述在所述业务报文的MPLS标签中加入所述对象标识,转发包含所述对象标识的业务报文,包括:The method according to claim 1, wherein the detection object is identified by a tuple of a node identifier and an object identifier, and the object identifier is added to an MPLS label of the service packet, and the forwarding includes all the identifiers. The business message describing the object identification includes:
    在所述业务报文的MPLS标签中加入头节点标识和对象标识的二元组,转发包含所述二元组的业务报文。Add a tuple of the head node identifier and the object identifier to the MPLS label of the service message, and forward the service message containing the double group.
  6. 如权利要求1所述的方法,其中,所述在所述业务报文的MPLS标签中加入所述对象标识,包括:根据所述检测对象确定所述对象标识在所述MPLS标签中的位置,按照所述位置,在所述MPLS标签中加入所述对象标识。The method according to claim 1, wherein the adding the object identifier to an MPLS label of the service packet comprises: determining a position of the object identifier in the MPLS label according to the detection object, According to the position, the object identifier is added to the MPLS label.
  7. 如权利要求1所述的方法,其中,所述在所述业务报文的MPLS标签中加入所述对象标识,包括:在所述MPLS标签中加入预设的引导标签和所述对象标识,所述引导标签位于所述对象标识之前,用于指示所述对象标识在所述MPLS标签的位置。The method according to claim 1, wherein adding the object identifier to an MPLS label of the service message comprises: adding a preset guide label and the object identifier to the MPLS label, and The guide label is located before the object identifier, and is used to indicate the position of the object identifier in the MPLS label.
  8. 如权利要求7所述的方法,其中,所述预设的引导标签包括如下至少之一:特殊用途标签;扩展标签和扩展特殊用途标签的组合。The method of claim 7, wherein the preset guide label comprises at least one of the following: a special-purpose label; a combination of an extended label and an extended special-use label.
  9. 如权利要求1所述的方法,其中,所述对象标识中包含标记域,所述在所述业务报文的MPLS标签中加入所述对象标识,包括:The method according to claim 1, wherein the object identifier includes a tag field, and the adding the object identifier to an MPLS label of the service packet comprises:
    按照预设的标记规则设置所述标记域,在所述MPLS标签中加入包含所述标记域的对象标识。The tag domain is set according to a preset tag rule, and an object identifier containing the tag domain is added to the MPLS label.
  10. 如权利要求9所述的方法,其中,所述检测任务包括主动双向检测TWAMP报文测量,所述在接收到的业务流中识别出与所述检测对象匹配的业务报文之后,还包括:The method according to claim 9, wherein the detection task comprises proactive two-way detection of TWAMP packet measurement, and after identifying a service packet matching the detection object in the received service flow, further comprising:
    在所述业务流中插入TWAMP报文,所述TWAMP报文的MPLS标签中携带包含所述标记域的对象标识,通过所述标记域指示报文类型为TWAMP报文。A TWAMP message is inserted into the service flow. The MPLS label of the TWAMP message carries an object identifier including the tag field, and the tag field indicates that the message type is a TWAMP message.
  11. 如权利要求10所述的方法,其中,所述按照所述检测任务,对包含所述对象标识的业务报文执行检测操作,包括:The method according to claim 10, wherein the performing a detection operation on a service packet containing the object identifier according to the detection task comprises:
    所述节点为所述检测域的头节点时,对发出的所述业务报文进行计数统计,将计数统计的值携带在所述TWAMP报文中发送出去;When the node is the head node of the detection domain, perform count statistics on the service packets sent, and carry the value of the count statistics in the TWAMP packet and send it out;
    所述节点为所述检测域的尾节点时,对接收到的所述业务报文进行计数统计,将接收到的所述TWAMP报文中携带的计数统计的值与自身计数统计的值进行比较,得到TWAMP测量结果。When the node is the tail node of the detection domain, perform count statistics on the received service packets, and compare the value of the count statistics carried in the received TWAMP packet with the value of its own count statistics To get TWAMP measurement results.
  12. 如权利要求9所述的方法,其中,所述检测任务包括:进行带内的性能统计,所述标记域包括交替着色标记,所述按照所述检测任务,对包含所述对象标识的业务报文执行检测操作,包括:The method according to claim 9, wherein the detection task comprises: performing in-band performance statistics, the flag field includes alternating coloring flags, and according to the detection task, the service report containing the object identifier is reported. Perform detection operations, including:
    所述节点为所述检测域的头节点时,按照所述交替着色标记的信息,对发出的所述业务报文进行计数统计;When the node is the head node of the detection domain, counting and counting the sent service packets according to the information of the alternating coloring mark;
    所述节点为所述检测域的中间节点时,按照所述交替着色标记的信息,对接收到的和发出的所述业务报文进行计数统计;When the node is an intermediate node in the detection domain, counting and counting the received and transmitted service packets according to the information of the alternating coloring mark;
    所述节点为所述检测域的尾节点时,按照所述交替着色标记的信息,对接收到的所述业务报文进行计数统计。When the node is a tail node of the detection domain, the received service packets are counted and counted according to the information of the alternating coloring mark.
  13. 如权利要求9所述的方法,其中,所述检测任务包括:进行带内的性能统计,所述标记域包括时延测量标记,所述按照所述检测任务,对包含所述对象标识的业务报文执行检测操作,包括:The method according to claim 9, wherein the detection task comprises: performing in-band performance statistics, the flag field includes a delay measurement flag, and according to the detection task, the service including the object identifier is performed. The packet performs detection operations, including:
    所述节点为所述检测域的头节点时,按照所述时延测量标记的信息对所述业务报文进行时戳标记,记录所述业务报文发送时的时戳;When the node is the head node of the detection domain, time-stamp the service message according to the information of the delay measurement mark, and record the time stamp when the service message is sent;
    所述节点为所述检测域的中间节点时,按照所述时延测量标记的信息对所述业务报文进行时戳标记,记录所述业务报文到达时和发送时的时戳;When the node is an intermediate node in the detection domain, timestamp the service message according to the information of the delay measurement mark, and record the timestamp when the service message arrives and when it is sent;
    所述节点为所述检测域的尾节点时,按照所述时延测量标记的信息对所述业务报文进行时戳标记,记录所述业务报文到达时的时戳。When the node is the tail node of the detection domain, time stamping the service message according to the information of the delay measurement flag, and recording the time stamp when the service message arrives.
  14. 如权利要求1所述的方法,其中,所述检测任务包括:对业务报文进行计数,所述按照所述检测任务,对包含所述对象标识的业务报文执行检测操作,包括:所述节点为所述检测域的头节点时,对发出的所述业务报文进行计数统计;The method according to claim 1, wherein the detection task comprises: counting service packets, and performing the detection operation on the service packets containing the object identifier according to the detection task, comprising: When the node is the head node of the detection domain, counting and counting the service packets sent out;
    所述节点为所述检测域的中间节点时,对接收到的所述业务报文和发出的所述业务报文分别进行计数统计;When the node is an intermediate node in the detection domain, counting and counting the received service packets and the sent service packets respectively;
    所述节点为所述检测域的尾节点时,对接收到的所述业务报文进行计数统计。When the node is a tail node of the detection domain, perform counting and counting on the received service packets.
  15. 如权利要求1所述的方法,其中,所述检测任务包括:隧道路径跟踪,所述按照所述检测任务,对包含所述对象标识的业务报文执行检测操作包括:所述节点为所述检测域的头节点时,将自身节点信息、所述业务报文的出接口信息与所述对象标识相关联,对相关联的信息进行记录;The method according to claim 1, wherein the detection task comprises: tracking a tunnel path, and performing the detection operation on a service packet containing the object identifier according to the detection task comprises: the node is the When detecting the head node of the domain, associate its own node information and the outbound interface information of the service message with the object identifier, and record the associated information;
    所述节点为所述检测域的中间节点时,将自身节点信息、所述业务报文的入接口信息与所述对象标识相关联,以及,将自身节点信息、所述业务报文的出接口信息与所述对象标识相关联,对相关联的信息进行记录;When the node is an intermediate node in the detection domain, associate its own node information and inbound interface information of the service message with the object identifier, and associate its own node information and outbound interface of the service message. The information is associated with the object identifier, and the associated information is recorded;
    所述节点为所述检测域的尾节点时,将自身节点信息、所述业务报文的入接口信息与所述对象标识相关联,对相关联的信息进行记录。When the node is the tail node of the detection domain, it associates its own node information and the incoming interface information of the service message with the object identifier, and records the associated information.
  16. 如权利要求1至15中任意一项所述的方法,其中,所述按照所述检测任务,对包含所述对象标识的业务报文执行检测操作之后,所述方法还包括:所述节点将执行检测操作得到的检测结果发送至控制器,以使所述控制器进行统计。The method according to any one of claims 1 to 15, wherein after performing a detection operation on a service packet containing the object identifier according to the detection task, the method further comprises: The detection result obtained by performing the detection operation is sent to the controller, so that the controller performs statistics.
  17. 一种多协议标签交换MPLS网络检测的实现方法,包括:A method for implementing multi-protocol label switching MPLS network detection includes:
    控制器为MPLS网络中检测对象分配对象标识;The controller assigns an object identifier to a detection object in the MPLS network;
    所述控制器将检测任务和包含对象标识的检测对象的信息发送至所述检测对象对应的检测域中每个节点,以使所述节点按照所述检测任务,根 据所述对象标识对所述检测对象匹配的业务报文执行检测操作。The controller sends the detection task and the information of the detection object containing the object identifier to each node in the detection domain corresponding to the detection object, so that the node performs the detection task on the node according to the object identifier. The service packets that match the detected objects are detected.
  18. 如权利要求17所述的方法,其中,所述控制器将包含对象标识的检测对象的信息和检测任务发送至所述检测对象对应的检测域中每个节点之后,还包括:The method according to claim 17, wherein after the controller sends the detection object information and the detection task including the object identifier to each node in the detection domain corresponding to the detection object, further comprising:
    所述控制器接收所述节点发送的检测结果,对所述检测结果进行统计。The controller receives a detection result sent by the node, and performs statistics on the detection result.
  19. 如权利要求18所述的方法,其中,所述检测任务包括:对业务报文进行计数,所述控制器接收所述节点发送的检测结果,对所述检测结果进行统计,包括:所述控制器根据所述检测结果,进行流量统计、端到端的丢包统计、逐点丢包统计中的至少之一。The method according to claim 18, wherein the detection task comprises: counting service packets, the controller receiving a detection result sent by the node, and counting the detection result, comprising: the control According to the detection result, the router performs at least one of traffic statistics, end-to-end packet loss statistics, and point-by-point packet loss statistics.
  20. 如权利要求18所述的方法,其中,所述检测任务包括:隧道路径跟踪,所述控制器接收所述节点发送的检测结果,对所述检测结果进行统计,包括:所述控制器根据所述检测结果统计完整隧道路径信息。The method according to claim 18, wherein the detection task comprises: tunnel path tracking, the controller receiving the detection result sent by the node, and counting the detection result, comprising: the controller according to the The test result statistics complete tunnel path information.
  21. 如权利要求18所述的方法,其中,所述检测任务包括:进行带内的性能统计,所述控制器接收所述节点发送的检测结果,对所述检测结果进行统计,包括:所述控制器根据所述检测结果,进行流量统计、端到端的丢包统计、逐点丢包统计、端到端时延统计、逐点时延统计中的至少之一。The method according to claim 18, wherein the detection task comprises: performing in-band performance statistics, the controller receiving the detection result sent by the node, and performing statistics on the detection result, comprising: the control According to the detection result, the router performs at least one of traffic statistics, end-to-end packet loss statistics, point-by-point packet loss statistics, end-to-end delay statistics, and point-by-point delay statistics.
  22. 一种多协议标签交换MPLS网络检测的实现方法,包括:A method for implementing multi-protocol label switching MPLS network detection includes:
    控制器为MPLS网络中检测对象分配对象标识,将检测任务和包含对象标识的检测对象的信息发送至所述检测对象对应的检测域中每个节点;The controller assigns an object identifier to the detection object in the MPLS network, and sends the detection task and the information of the detection object containing the object identification to each node in the detection domain corresponding to the detection object;
    所述检测域中的节点确定所述检测对象的信息和所述检测任务;A node in the detection domain determines information of the detection object and the detection task;
    所述节点为所述检测域的头节点时,在接收到的业务流中识别出与所述检测对象匹配的业务报文,在所述业务报文的MPLS标签中加入所述对象标识,转发包含所述对象标识的业务报文;When the node is the head node of the detection domain, a service packet that matches the detection object is identified in the received service flow, the object identifier is added to the MPLS label of the service packet, and the packet is forwarded. A business message including the object identifier;
    所述节点为所述检测域的头节点、或中间节点、或尾节点时,按照所 述检测任务,对包含所述对象标识的业务报文执行检测操作。When the node is a head node, an intermediate node, or a tail node of the detection domain, a detection operation is performed on a service packet including the object identifier according to the detection task.
  23. 一种多协议标签交换MPLS网络检测的实现装置,包括:A device for implementing multi-protocol label switching MPLS network detection includes:
    确定模块,配置为确定检测对象的信息和检测任务,其中,所述检测对象的信息包括对象标识;A determination module configured to determine information of a detection object and a detection task, wherein the information of the detection object includes an object identifier;
    处理模块,配置为在所述装置位于检测域的头节点时,在接收到的业务流中识别出与所述检测对象匹配的业务报文,在所述业务报文的MPLS标签中加入所述对象标识,转发包含所述对象标识的业务报文;以及,A processing module configured to identify a service packet that matches the detection object in a received service flow when the device is located at a head node of a detection domain, and add the MPLS label to the service packet An object identifier, and forward a service message including the object identifier; and
    检测模块,配置为按照所述检测任务,对包含所述对象标识的业务报文执行检测操作。The detection module is configured to perform a detection operation on a service packet including the object identifier according to the detection task.
  24. 一种多协议标签交换MPLS网络检测的实现装置,包括:A device for implementing multi-protocol label switching MPLS network detection includes:
    分配模块,配置为为MPLS网络中检测对象分配对象标识;An assignment module configured to assign an object identifier to a detection object in the MPLS network;
    发送模块,配置为将包含对象标识的检测对象的信息和检测任务发送至所述检测对象对应的检测域中每个节点,以使所述节点按照所述检测任务,根据所述对象标识对所述检测对象匹配的业务报文执行检测操作。A sending module configured to send information and detection tasks of a detection object including an object identifier to each node in a detection domain corresponding to the detection object, so that the node performs the detection task and Perform the detection operation on the service packets matching the detection object.
  25. 一种网络设备,包括:包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如权利要求1至16中任意一项所述MPLS网络检测的实现方法。A network device includes: a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the processor implements any one of claims 1 to 16 Implementation method of MPLS network detection.
  26. 一种控制器,包括:包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如权利要求17至21中任意一项所述MPLS网络检测的实现方法。A controller includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the program according to any one of claims 17 to 21 when executing the program. Implementation method of MPLS network detection.
  27. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至16中任意一项所述MPLS网络检测的实现方法;或者,所述计算机可执行指令用于执行权利要求17至21中任意一项所述MPLS网络检测的实现方法。A computer-readable storage medium storing computer-executable instructions for performing a method for implementing MPLS network detection according to any one of claims 1 to 16; or the computer-executable instructions An implementation method for performing MPLS network detection according to any one of claims 17 to 21.
PCT/CN2019/088427 2018-09-13 2019-05-24 Method and apparatus for implementing mpls-based network detection, network device, and controller WO2020052274A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811070379.8 2018-09-13
CN201811070379.8A CN109525451B (en) 2018-09-13 2018-09-13 Method, device, network equipment and controller for realizing MPLS network detection

Publications (1)

Publication Number Publication Date
WO2020052274A1 true WO2020052274A1 (en) 2020-03-19

Family

ID=65770979

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/088427 WO2020052274A1 (en) 2018-09-13 2019-05-24 Method and apparatus for implementing mpls-based network detection, network device, and controller

Country Status (2)

Country Link
CN (1) CN109525451B (en)
WO (1) WO2020052274A1 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109525451B (en) * 2018-09-13 2021-06-01 中兴通讯股份有限公司 Method, device, network equipment and controller for realizing MPLS network detection
CN110191022A (en) * 2019-05-30 2019-08-30 新华三技术有限公司 A kind of quality of service detection method and device
CN112152865B (en) * 2019-06-27 2023-06-27 中兴通讯股份有限公司 Network performance measuring device and method
CN112994961B (en) * 2019-12-02 2023-02-07 华为技术有限公司 Transmission quality detection method, device, system and storage medium
CN111162962A (en) * 2019-12-06 2020-05-15 中盈优创资讯科技有限公司 Method and system for detecting tunnel state of ring network channel type service
CN113328902B (en) * 2020-02-29 2023-10-24 华为技术有限公司 Network performance detection method and device and network equipment
CN111585842B (en) * 2020-04-30 2021-08-24 烽火通信科技股份有限公司 Network quality monitoring and diagnosing method and system
CN113708985B (en) 2020-05-20 2023-01-06 华为技术有限公司 Flow detection method, device and system
CN114006846B (en) * 2020-07-13 2023-07-21 中国移动通信有限公司研究院 IPv6 data packet transmission method and device
CN111786859A (en) * 2020-07-17 2020-10-16 中国联合网络通信集团有限公司 Packet loss detection method, device and storage medium
CN113973063B (en) * 2020-07-22 2023-08-01 中国移动通信有限公司研究院 In-band measurement method, device and node
CN112291093A (en) * 2020-10-29 2021-01-29 迈普通信技术股份有限公司 Network detection method, device, network equipment and network system
CN114679395B (en) * 2022-05-27 2022-08-09 鹏城实验室 Data transmission detection method and system for heterogeneous network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185780A (en) * 2011-05-12 2011-09-14 中兴通讯股份有限公司 Operation, administration and maintenance (OAM) message processing method and device
US20150156108A1 (en) * 2012-10-16 2015-06-04 Hangzhou H3C Technologies Co., Ltd. Forwarding Packets
CN105429841A (en) * 2014-09-15 2016-03-23 中兴通讯股份有限公司 NNI PING realization method and device
CN105991338A (en) * 2015-03-05 2016-10-05 华为技术有限公司 Network operation and maintenance management method and device
CN109525451A (en) * 2018-09-13 2019-03-26 中兴通讯股份有限公司 A kind of implementation method, device, the network equipment and the controller of MPLS network detection

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7773611B2 (en) * 2005-06-15 2010-08-10 Cisco Technology, Inc. Method and apparatus for packet loss detection
KR100737341B1 (en) * 2005-12-08 2007-07-09 한국전자통신연구원 Performance Measurement Method for MPLS LSP
US9100268B2 (en) * 2008-02-27 2015-08-04 Alcatel Lucent Application-aware MPLS tunnel selection
CN102273136B (en) * 2009-09-01 2012-12-26 华为技术有限公司 Method and apparatus for detecting multi-service performance in tunnel
CN102118277B (en) * 2009-12-30 2013-12-25 华为技术有限公司 Method and device for packet loss detection, and router
CN107181663A (en) * 2017-06-28 2017-09-19 联想(北京)有限公司 A kind of message processing method, relevant device and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185780A (en) * 2011-05-12 2011-09-14 中兴通讯股份有限公司 Operation, administration and maintenance (OAM) message processing method and device
US20150156108A1 (en) * 2012-10-16 2015-06-04 Hangzhou H3C Technologies Co., Ltd. Forwarding Packets
CN105429841A (en) * 2014-09-15 2016-03-23 中兴通讯股份有限公司 NNI PING realization method and device
CN105991338A (en) * 2015-03-05 2016-10-05 华为技术有限公司 Network operation and maintenance management method and device
CN109525451A (en) * 2018-09-13 2019-03-26 中兴通讯股份有限公司 A kind of implementation method, device, the network equipment and the controller of MPLS network detection

Also Published As

Publication number Publication date
CN109525451A (en) 2019-03-26
CN109525451B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
WO2020052274A1 (en) Method and apparatus for implementing mpls-based network detection, network device, and controller
US11848757B2 (en) In-situ passive performance measurement in a network environment
US20190260657A1 (en) In-band performance loss measurement in ipv6/srv6 software defined networks
US20230006906A1 (en) In-situ flow detection method and apparatus
CN107431657B (en) Method and apparatus for data packet marking for flow analysis across network domains
US10819605B2 (en) Method, apparatus, and system for implementing delay measurement
CN111953604B (en) Method and device for providing business service for business flow
CN102437931B (en) Detection method and device of service path
WO2016107444A1 (en) Bit-forwarding ingress router, bit-forwarding router, and operation, administration and maintenance detection method
EP3591913B1 (en) Traceroute in virtual extensible local area networks
JP5462954B2 (en) Packet loss detection method and apparatus, and router
CN106464590B (en) A kind of method and device of to acquisite approachs information
WO2021109610A1 (en) Transmission quality test method and apparatus, system, and storage medium
US20070064611A1 (en) Method for monitoring packet loss ratio
US20230045227A1 (en) In-situ flow detection-based packet processing method and apparatus
US20140293798A1 (en) Mpls-tp network and link trace method thereof
WO2017000802A1 (en) Service fault location method and device
CN113973063B (en) In-band measurement method, device and node
CN113328901B (en) Message out-of-order detection method, device and system
US20230327983A1 (en) Performance measurement in a segment routing network
EP3913862B1 (en) Traffic detection method, apparatus, and system
CN114745302A (en) Communication method and device
CN114039888A (en) Time delay measuring method and device

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

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

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06/08/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19860012

Country of ref document: EP

Kind code of ref document: A1