Performance measurement method and device, message generation method and device, and communication system

By setting preset identifiers and service type fields in SRv6 messages, the routing node updates the message along the measurement path, solving the problem of difficulty in realizing SRv6 network performance detection in the prior art, and achieving efficient service message performance detection.

CN114866444BActive Publication Date: 2025-02-07CHINA TELECOM CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110074517.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-20
Publication Date
2025-02-07
Estimated Expiration
2041-01-20

AI Technical Summary

Technical Problem

The existing SRv6 network performance measurement methods are difficult to achieve performance detection for real service traffic, and it is necessary to add an additional iFIT header to the message, which increases the length of the message header and reduces the forwarding efficiency of service data.

Method used

By setting preset identifiers and service type fields in the header of the SRv6 message, the routing node updates the message along the measurement path, so as to achieve end-to-end performance detection of service messages without increasing network overhead.

Benefits of technology

It realizes end-to-end performance detection of service packets without increasing network overhead, improves service data forwarding efficiency, and solves the problem that it is difficult to realize real service traffic performance detection in the prior art.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114866444B_ABST
    Figure CN114866444B_ABST
Patent Text Reader

Abstract

The present disclosure provides a performance measurement method and device, a message generation method and device, and a communication system. The network performance measurement method includes: after receiving an SRv6 message, detecting whether the first extension field in the header of the SRv6 message is set with a preset identifier; if the first extension field in the header is set with a preset identifier, further detecting the service type set in the second extension field in the header; adding the detection data associated with the service type to the third extension field of the header to update the SRv6 message; if the current routing node is an intermediate node on the measurement path, sending the updated SRv6 message to the next routing node on the measurement path; if the current routing node is a tail node on the measurement path, reporting the detection data in the third extension field of the header to the controller. The present disclosure can realize end-to-end performance detection of service messages without increasing network overhead.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communications, and in particular to a performance measurement method and device, a message generation method and device, and a communication system. Background Art

[0002] SRv6 packets use IPv6 headers to achieve unified network service carrying and flexible programmability. SRv6-TE increases the header length by inserting SRH (Segment Routing Header), which may affect service forwarding performance. At present, SRv6 is still immature in OAM (Operation, Administration, Maintenance) technology. End.OP SID (Segment Identify) is mainly used in network connectivity detection scenarios such as Ping / Tracert. Network performance detection mainly relies on external detection methods such as TWAN (Trusted WLAN), which requires additional performance detection packets. Service performance detection can use iFIT (in-situ Flow Information Telemetry) technology, but it is necessary to add an additional iFIT header to the packet. Summary of the invention

[0003] The inventors found through research that in the related technologies, when measuring the performance of SRv6 networks, it is necessary to actively send dedicated detection messages, or passively observe network node traffic, packet loss statistics, etc., which makes it difficult to achieve performance detection for real business traffic. In addition, the existing SRv6 business performance measurement requires an additional iFIT header to be added to the message, which increases the length of the message header and reduces the forwarding efficiency of business data.

[0004] Accordingly, the present disclosure provides a network performance measurement solution that can achieve end-to-end performance detection of service messages without increasing network overhead.

[0005] According to a first aspect of an embodiment of the present disclosure, a network performance measurement method is provided, which is executed by a routing node on a measurement path, and includes: after receiving an SRv6 message, detecting whether a first extension field in a header of the SRv6 message is set with a preset identifier; if the first extension field in the header is set with the preset identifier, further detecting a service type set in a second extension field in the header; adding detection data associated with the service type to a third extension field in the header so as to update the SRv6 message; if the routing node is an intermediate node on the measurement path, sending the updated SRv6 message to a next routing node on the measurement path; if the routing node is a tail node on the measurement path, reporting the detection data in the third extension field of the header to a controller.

[0006] In some embodiments, the first extension field and the second extension field are set in the Flags field of the header; and the third extension field is set in the Argment field of the header.

[0007] According to a second aspect of an embodiment of the present disclosure, a routing node is provided, comprising: a detection module, configured to detect whether a first extension field in a header of the SRv6 message is set with a preset identifier after receiving an SRv6 message, and if the first extension field in the header is set with the preset identifier, further detect the service type set in the second extension field in the header; a collection module, configured to collect data associated with the service type; a message update module, configured to add the detection data associated with the service type to a third extension field of the header so as to update the SRv6 message; a message processing module, configured to send the updated SRv6 message to the next routing node on the measurement path if the routing node is an intermediate node on the measurement path; and report the detection data in the third extension field of the header to a controller if the routing node is a tail node on the measurement path.

[0008] In some embodiments, the first extension field and the second extension field are set in the Flags field of the header; and the third extension field is set in the Argment field of the header.

[0009] According to a third aspect of an embodiment of the present disclosure, a routing node is provided, comprising: a memory configured to store instructions; a processor coupled to the memory, the processor being configured to execute a method as described in any of the above embodiments based on the instructions stored in the memory.

[0010] According to a fourth aspect of an embodiment of the present disclosure, a network performance measurement method is provided, which is executed by a head node on a measurement path, and includes: generating an SRv6 message, wherein a first extension field, a second extension field and a third extension field are provided in a header of the SRv6 message, wherein the first extension field is provided with a preset identifier, and the second extension field is provided with a service type, so that other routing nodes on the measurement path add detection data associated with the service type to the third extension field of the header according to the preset identifier; and sending the SRv6 message to a next routing node on the measurement path.

[0011] In some embodiments, the first extension field and the second extension field are set in the Flags field of the header; and the third extension field is set in the Argment field of the header.

[0012] According to a fifth aspect of an embodiment of the present disclosure, a routing node is provided, including: a message generation module, configured to generate an SRv6 message, wherein a first extension field, a second extension field and a third extension field are provided in a header of the SRv6 message, wherein the first extension field is provided with a preset identifier, and the second extension field is provided with a service type, so that other routing nodes on the measurement path add detection data associated with the service type to the third extension field of the header according to the preset identifier; and a sending module, configured to send the SRv6 message to a next routing node on the measurement path.

[0013] In some embodiments, the first extension field and the second extension field are set in the Flags field of the header; and the third extension field is set in the Argment field of the header.

[0014] According to a sixth aspect of an embodiment of the present disclosure, a routing node is provided, comprising: a memory configured to store instructions; a processor coupled to the memory, the processor being configured to execute a method as described in any of the above embodiments based on the instructions stored in the memory.

[0015] According to a seventh aspect of an embodiment of the present disclosure, a communication system is provided, comprising a head node, an intermediate node and a tail node arranged on a measurement path, wherein the head node is a routing node for generating a message as described in any of the above embodiments, and the intermediate node and the tail node are routing nodes for performance measurement as described in any of the above embodiments; a controller is configured to receive detection data sent by the tail node.

[0016] According to an eighth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the method involved in any of the above embodiments is implemented.

[0017] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0019] The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:

[0020] Figure 1 is a flow chart of a performance measurement method according to an embodiment of the present disclosure;

[0021] Figure 2 This is a schematic diagram of the structure of an SRv6 header according to an embodiment of the present disclosure;

[0022] Figure 3 This is a schematic diagram of the structure of the Flags field of one embodiment of the present disclosure;

[0023] Figure 4 is a schematic diagram of the structure of a routing node according to an embodiment of the present disclosure;

[0024] Figure 5 is a schematic diagram of the structure of a routing node according to another embodiment of the present disclosure;

[0025] Figure 6 is a flow chart of a message generation method according to an embodiment of the present disclosure;

[0026] Figure 7 is a structural diagram of a routing node according to yet another embodiment of the present disclosure;

[0027] Figure 8 is a structural diagram of a routing node according to yet another embodiment of the present disclosure;

[0028] Fig. 9 is a schematic diagram of the structure of a communication system according to an embodiment of the present disclosure;

[0029] Fig.10 is a structural diagram of a communication system according to another embodiment of the present disclosure.

[0030] It should be understood that the size of each part shown in the accompanying drawings is not drawn according to the actual proportional relationship. In addition, the same or similar reference numerals represent the same or similar components. DETAILED DESCRIPTION

[0031] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. The description of the exemplary embodiments is merely illustrative and is in no way intended to limit the present disclosure and its application or use. The present disclosure can be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are provided to make the present disclosure thorough and complete and to fully express the scope of the present disclosure to those skilled in the art. It should be noted that unless otherwise specifically stated, the relative arrangement of the components and steps, the composition of the materials, and the numerical values ​​set forth in these embodiments should be interpreted as being merely exemplary and not as limiting.

[0032] The words “include” or “comprising” and the like used in the present disclosure mean that the elements preceding the words include the elements listed after the words, and do not exclude the possibility of also including other elements.

[0033] All terms (including technical terms or scientific terms) used in the present disclosure have the same meanings as those understood by ordinary technicians in the field to which the present disclosure belongs, unless otherwise specifically defined. It should also be understood that terms defined in general dictionaries, such as general dictionaries, should be interpreted as having meanings consistent with their meanings in the context of the relevant technology, and should not be interpreted in an idealized or extremely formal sense, unless explicitly defined herein.

[0034] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0035] Figure 1 The following is a flow chart of a performance measurement method according to an embodiment of the present disclosure. In some embodiments, the following performance measurement method steps are performed by other routing nodes on the measurement path except the head node.

[0036] In step 101, after receiving an SRv6 message, it is detected whether a first extension field in a header of the SRv6 message is set with a preset identifier.

[0037] In some embodiments, the first extension field is included in the Flags field of the header. For example, the first extension field can be used as an OAM field. For example, the OAM field is 2 bits and is used as an OAM flag. If the OAM field is set to 1, it indicates that the corresponding detection data is carried in the corresponding variable Argment field.

[0038] In step 102, if the first extension field in the header is set with a preset identifier, the service type set in the second extension field in the header is further detected.

[0039] In some embodiments, the second extension field is included in the Flags field of the header. For example, the second extension field can be used as a Type field. For example, the Type field is 6 bits and is used to indicate the type of performance data detected. For example, it includes service performance detection data such as delay, packet loss, and jitter.

[0040] In step 103, detection data associated with the service type is added to the third extension field of the header, so as to update the SRv6 packet.

[0041] In some embodiments, the third extension field is included in a variable Argment field of the header.

[0042] In step 104, if the routing node is an intermediate node on the measurement path, the updated SRv6 message is sent to the next routing node on the measurement path.

[0043] In step 105, if the routing node is a tail node on the measurement path, the detection data in the third extension field of the header is reported to the controller.

[0044] Figure 2 A schematic diagram of the structure of an SRv6 header according to an embodiment of the present disclosure.

[0045] like Figure 2 As shown, the first extension field and the second extension field are set in the Flags field. The first extension field can be used as an OAM field, and the second extension field can be used as a Type field. Figure 3 shown.

[0046] It should be noted that the Segment in the SRv6 header has 128 bits and is divided into Locator (location identifier), Function (function) and Argment (variable) fields. The third extended field used in the present disclosure is included in the Argment field.

[0047] In the performance measurement method provided in the above embodiment of the present disclosure, each routing node places the detected corresponding service data into the extension field of the header of the SRv6 message, and the tail node reports the detection data in the extension field to the controller, thereby realizing end-to-end performance detection of the service message without increasing the network overhead.

[0048] Figure 4 FIG. 1 is a schematic diagram of a routing node according to an embodiment of the present disclosure. Figure 4 As shown, the routing node includes a detection module 41, a collection module 42, a message updating module 43 and a message processing module 44.

[0049] The detection module 41 is configured to detect whether the first extension field in the header of the SRv6 message is set with a preset identifier after receiving the SRv6 message, and if the first extension field in the header is set with a preset identifier, further detect the service type set in the second extension field in the header.

[0050] The collection module 42 is configured to collect data associated with the service type.

[0051] The message updating module 43 is configured to add the detection data associated with the service type to the third extension field of the header, so as to update the SRv6 message.

[0052] The message processing module 44 is configured to send the updated SRv6 message to the next routing node on the measurement path if the routing node is an intermediate node on the measurement path; if the routing node is a tail node on the measurement path, report the detection data in the third extension field of the header to the controller.

[0053] In some embodiments, the first extension field and the second extension field are set in the Flags field of the SRv6 message, and the third extension field is set in the Argment field of the SRv6 message.

[0054] Figure 5 FIG. 1 is a schematic diagram of a routing node according to another embodiment of the present disclosure. Figure 5 As shown, the routing node includes a memory 51 and a processor 52 .

[0055] The memory 51 is used to store instructions. The processor 52 is coupled to the memory 51. The processor 52 is configured to execute the instructions stored in the memory to implement the following Figure 1 The method of any one of the embodiments.

[0056] like Figure 5 As shown, the routing node also includes a communication interface 53 for information exchange with other devices. At the same time, the routing node also includes a bus 54, through which the processor 52, the communication interface 53, and the memory 51 communicate with each other.

[0057] The memory 51 may include high-speed RAM (Random Access Memory) and may also include NVM (Non-Volatile Memory). For example, at least one disk storage. The memory 51 may also be a storage array. The memory 51 may also be divided into blocks, and the blocks may be combined into virtual volumes according to certain rules.

[0058] In addition, the processor 52 may be a central processing unit, or may be an ASIC (Application Specific Integrated Circuit), or may be configured to implement one or more integrated circuits of the embodiments of the present disclosure.

[0059] The present disclosure also provides a computer-readable storage medium. The computer-readable storage medium stores computer instructions, which are executed by a processor to implement the following Figure 1 The method of any one of the embodiments.

[0060] Figure 6 The following is a flow chart of a method for generating a message according to an embodiment of the present disclosure. In some embodiments, the following steps of the method for generating a message are executed by the first node on the measurement path.

[0061] In step 601, an SRv6 message is generated, wherein a first extension field, a second extension field and a third extension field are provided in a header of the SRv6 message, wherein the first extension field is provided with a preset identifier, and the second extension field is provided with a service type, so that other routing nodes on the measurement path add detection data associated with the service type to the third extension field of the header according to the preset identifier.

[0062] In some embodiments, the first extension field and the second extension field are set in the Flags field of the SRv6 message, and the third extension field is set in the Argment field of the SRv6 message.

[0063] In step 602, the SRv6 message is sent to the next routing node on the measurement path.

[0064] Figure 7 FIG. 1 is a schematic diagram of a routing node according to another embodiment of the present disclosure. Figure 7 As shown, the routing node includes a message generating module 71 and a sending module 72 .

[0065] The message generation module 71 is configured to generate an SRv6 message, wherein a first extension field, a second extension field and a third extension field are provided in a header of the SRv6 message, wherein the first extension field is provided with a preset identifier, and the second extension field is provided with a service type, so that other routing nodes on the measurement path add detection data associated with the service type to the third extension field of the header according to the preset identifier.

[0066] In some embodiments, the first extension field and the second extension field are set in the Flags field of the SRv6 message, and the third extension field is set in the Argment field of the SRv6 message.

[0067] The sending module 72 is configured to send the SRv6 message to the next routing node on the measurement path.

[0068] Figure 8 FIG. 1 is a schematic diagram of a routing node according to another embodiment of the present disclosure. Figure 8 As shown, the routing node includes a memory 81 , a processor 82 , a communication interface 83 and a bus 84 . Figure 8 and Figure 5 The difference is that in Figure 8 In the illustrated embodiment, the processor 82 executes the instructions stored in the memory 81 to implement Figure 6 Any method involved in .

[0069] Fig. 9 FIG. 1 is a schematic diagram of a communication system according to an embodiment of the present disclosure. Fig. 9 As shown, the communication system includes a head node 91, a plurality of intermediate nodes 92, a tail node 93 and a controller 94 arranged on a measurement path. The head node 91 is Figure 7 or Figure 8 The intermediate node 92 and the tail node 93 are Figure 4 or Figure 5 The controller 94 is configured to receive the detection data sent by the tail node 93.

[0070] Fig.10 is a structural diagram of a communication system according to another embodiment of the present disclosure.

[0071] like Fig.10 As shown in the figure, RA is the head node, RY is the tail node, RB-RE is the middle node, and the measurement path is set as RA-RB-RC-RE-RD-RY.

[0072] RA sends an SRv6 message to RB, wherein a first extension field, a second extension field and a third extension field are configured in the SRv6 message, a preset identifier is set in the first extension field, and a service type is set in the second extension field.

[0073] After receiving the SRv6 message from RA, RB adds the detection data associated with the service type included in the second extension field to the third extension field of the header according to the indication of the first extension field, so as to update the SRv6 message. RB then sends the updated SRv6 message to the next node RC on the measurement path. The processing of RC, RE and RD is the same as that of RB, and will not be described here.

[0074] After receiving the SRv6 message from RD, RY adds the detection data associated with the service type included in the second extension field to the third extension field of the header according to the indication of the first extension field, so as to update the SRv6 message. Since RY is the tail node, RY reports the detection data in the third extension field of the SRv6 message to the controller. The controller can thereby obtain the detection data of each node on the measurement path. Thus, end-to-end performance detection based on SRv6 messages is realized.

[0075] In some embodiments, the functional unit module described above can be implemented as a general-purpose processor, a programmable logic controller (PLC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components or any appropriate combination thereof for performing the functions described in the present disclosure.

[0076] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0077] The description of the present disclosure is given for the purpose of illustration and description, and is not intended to be exhaustive or to limit the present disclosure to the disclosed form. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present disclosure, and to enable those of ordinary skill in the art to understand the present disclosure and thereby design various embodiments with various modifications suitable for specific uses.

Claims

1. A performance measurement method, performed by a routing node on a measurement path, comprising: After receiving the SRv6 message, detecting whether a first extension field in a header of the SRv6 message is set with a preset identifier, wherein the first extension field is set in a Flags field of the header; If the first extension field in the header is set with the preset identifier, further detecting the service type set by the second extension field in the header, wherein the second extension field is used to indicate the type of service performance detection data detected, and the second extension field is set in the Flags field of the header; Adding detection data associated with the service type to a third extension field of the header so as to update the SRv6 message, wherein the third extension field is set in an Argment field of the header; If the routing node is an intermediate node on the measurement path, sending the updated SRv6 message to the next routing node on the measurement path; If the routing node is a tail node on the measurement path, the detection data in the third extension field of the header is reported to the controller.

2. A routing node, comprising: a detection module configured to, after receiving an SRv6 message, detect whether a first extension field in a header of the SRv6 message is set with a preset identifier, and if the first extension field in the header is set with the preset identifier, further detect a service type set by a second extension field in the header, wherein the second extension field is used to indicate a type of service performance detection data detected, wherein the first extension field and the second extension field are set in a Flags field of the header; A collection module, configured to collect data associated with the business type; A message updating module, configured to add the detection data associated with the service type to a third extension field of the header so as to update the SRv6 message, wherein the third extension field is set in the Argment field of the header; a message processing module configured to send the updated SRv6 message to the next routing node on the measurement path if the routing node is an intermediate node on the measurement path; If the routing node is a tail node on the measurement path, the detection data in the third extension field of the header is reported to the controller.

3. A routing node, comprising: a memory configured to store instructions; A processor is coupled to the memory, and the processor is configured to execute the method according to claim 1 based on instructions stored in the memory.

4. A message generation method, executed by a first node on a measurement path, comprising: Generate an SRv6 message, wherein a first extension field, a second extension field, and a third extension field are provided in a header of the SRv6 message, wherein the first extension field is provided with a preset identifier, and the second extension field is provided with a service type, which is used to indicate the type of service performance detection data detected, so that other routing nodes on the measurement path add detection data associated with the service type to the third extension field of the header according to the preset identifier, wherein the first extension field and the second extension field are provided in a Flags field of the header, and the third extension field is provided in an Argment field of the header; The SRv6 message is sent to the next routing node on the measurement path.

5. A routing node, comprising: A message generation module is configured to generate an SRv6 message, wherein a first extension field, a second extension field and a third extension field are provided in a header of the SRv6 message, wherein the first extension field is provided with a preset identifier, and the second extension field is provided with a service type, which is used to indicate the type of service performance detection data detected, so that other routing nodes on the measurement path add the detection data associated with the service type to the third extension field of the header according to the preset identifier, wherein the first extension field and the second extension field are provided in a Flags field of the header, and the third extension field is provided in an Argment field of the header; The sending module is configured to send the SRv6 message to the next routing node on the measurement path.

6. A routing node, comprising: a memory configured to store instructions; A processor is coupled to the memory, and the processor is configured to execute the method according to claim 4 based on instructions stored in the memory.

7. A communication system comprising: A head node, an intermediate node and a tail node arranged on a measurement path, wherein the head node is a routing node as described in any one of claims 5-6, and the intermediate node and the tail node are routing nodes as described in any one of claims 2-3; The controller is configured to receive the detection data sent by the tail node.

8. A computer-readable storage medium, wherein: The computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the method according to any one of claims 1 and 4 is implemented.

Citation Information

Patent Citations

  • Method and network node for sending network performance parameters and calculating network performance

    CN110636001A

  • Network performance test method

    CN1937541A

  • Scalable network path tracing

    WO2019030552A1