WO2021136449A1 - Procédé et appareil de mesure de performance associée, dispositif et support de stockage lisible par ordinateur - Google Patents

Procédé et appareil de mesure de performance associée, dispositif et support de stockage lisible par ordinateur Download PDF

Info

Publication number
WO2021136449A1
WO2021136449A1 PCT/CN2020/141786 CN2020141786W WO2021136449A1 WO 2021136449 A1 WO2021136449 A1 WO 2021136449A1 CN 2020141786 W CN2020141786 W CN 2020141786W WO 2021136449 A1 WO2021136449 A1 WO 2021136449A1
Authority
WO
WIPO (PCT)
Prior art keywords
period
performance data
cycle
time
performance
Prior art date
Application number
PCT/CN2020/141786
Other languages
English (en)
Chinese (zh)
Inventor
韩柳燕
Original Assignee
中国移动通信有限公司研究院
中国移动通信集团有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国移动通信有限公司研究院, 中国移动通信集团有限公司 filed Critical 中国移动通信有限公司研究院
Publication of WO2021136449A1 publication Critical patent/WO2021136449A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the embodiments of the present invention relate to the field of communication technology, and relate to, but are not limited to, a method, device, device, and computer-readable storage medium for detecting the associated performance.
  • OAM Operation Administration and Maintenance
  • operations operations
  • maintenance administering
  • management Management capabilities
  • OAM detection includes channel-associated OAM detection.
  • the channel-associated OAM detection is performed directly through service packets.
  • the service packets are usually colored to divide the packets into different blocks, and then based on the block. Packet loss statistics, delay measurement can also be achieved by coloring.
  • the problem of inaccurate or wrong detection results usually occurs, and the detection of the associated performance is not flexible enough.
  • the embodiments of the present application provide a method, device, device, and computer-readable storage medium for detecting the associated performance.
  • the embodiment of the present application provides a method for detecting the associated performance, and the method includes:
  • the first device and itself implement time synchronization based on a time synchronization protocol.
  • the embodiment of the present application further provides a method for detecting the associated performance, and the method includes:
  • An embodiment of the present application provides a device for detecting performance of a road following, and the device includes:
  • a receiving module configured to receive a service message marked by a cycle sent by the first device, wherein the marking information of the business message in the same cycle is the same, and the marking information of the business message between adjacent cycles is different;
  • the first determining module is configured to determine the cycle rollover point of each cycle based on the marking information of the service message
  • the second determining module is configured to determine the first performance data of each period according to the period turning point of each period, and record the first time information corresponding to the first performance data of each period;
  • the sending module is configured to send the first performance data of each cycle and the corresponding first time information to the detection unit, so that the detection unit performs performance detection according to the first performance data of each cycle and the corresponding first time information ;
  • the first device and itself implement time synchronization based on a time synchronization protocol.
  • An embodiment of the present application provides a device for detecting performance of a road following, and the device includes:
  • the first obtaining module is configured to obtain the second performance data of each period and the corresponding second time information reported by the first device;
  • the second acquiring module is configured to acquire the first performance data of each period and the corresponding first time information reported by the second device, wherein the first performance data of each period is marked on a period-by-period basis sent by the first device Determining that the first device and the second device implement time synchronization based on a time synchronization protocol;
  • the detection module is configured to check the communication between the first device and the second device according to the second performance data of each cycle and the corresponding second time information, the first performance data of each cycle and the corresponding first time information
  • the communication link carries out the associated performance test.
  • An embodiment of the present application provides a road-associated performance detection device, and the device at least includes:
  • a memory configured to store a computer program that can run on the processor
  • An embodiment of the present application provides a computer-readable storage medium in which computer-executable instructions are stored, and the computer-executable instructions are configured to execute the steps of any one of the above-mentioned methods for detecting the associated performance.
  • the embodiments of the present application provide a method, device, device, and computer-readable storage medium for detecting the associated performance.
  • the second device receives the service packet marked by the first device (sending device) on a periodic basis
  • the second device can determine the cycle rollover point of each cycle according to the mark information of the service message, and determine the first performance data of each cycle and the corresponding time information (time of generation) according to the cycle rollover point.
  • the detection unit When the detection unit receives the receiving end When reporting the first performance data and corresponding time information and the second performance data and corresponding time information reported by the sending end, since the sending end and the receiving end are time synchronized based on the time synchronization protocol, the detection device can be based on the first performance data
  • the corresponding time information and the time information corresponding to the second performance data are used to determine the first performance data and the second performance data of the corresponding period, so as to perform path-associated performance detection on the communication link between the first device and the second device .
  • it is not necessary to obtain the cycle number when performing performance testing and it is not necessary to stipulate that the first device and the second device use the same cycle duration. Therefore, the flexibility of the deployment of the associated performance testing can be improved, and the cycle time can be increased.
  • the matching of the performance data is more accurate.
  • Figure 1 is a schematic diagram of the implementation process of the associated performance detection method in the related technology
  • FIG. 2 is a schematic flowchart of a method for detecting the associated performance provided by an embodiment of the application
  • FIG. 3 is a schematic diagram of an implementation process of determining the cycle rollover point of each cycle based on the marking information of the service message according to an embodiment of the application;
  • FIG. 4 is a schematic diagram of another flow chart of a method for detecting the associated performance provided by an embodiment of the application
  • FIG. 5 is a schematic diagram of the interaction flow of the method for detecting the associated performance provided by an embodiment of the application
  • FIG. 6 is a schematic flowchart of still another method for detecting the associated performance provided by an embodiment of the application.
  • FIG. 7 is a schematic structural diagram of a path-accompanied performance detection device provided by an embodiment of the application.
  • FIG. 8 is a schematic diagram of the composition structure of a path-associated performance detection device provided by an embodiment of the application.
  • first ⁇ second ⁇ third If a similar description of "first ⁇ second ⁇ third” appears in the application file, add the following description. In the following description, the term “first ⁇ second ⁇ third” involved is only the difference is similar Objects do not represent a specific order for objects. Understandably, “first ⁇ second ⁇ third” can be interchanged in a specific order or sequence when permitted, so that the embodiments of the application described here can be It is implemented in an order other than that shown or described here.
  • FIG. 1 is a schematic diagram of the implementation process of the associated performance detection method in the related art. As shown in Figure 1, the method includes:
  • step S101 the sending end alternately dyes the detected service flow characteristic fields according to a certain period, and at the same time counts the performance data of the service flow sent in this period, and reports it to the centralized detection unit.
  • step S102 the receiving end counts the coloring performance data of the characteristic fields of the detected service flow in this period according to the same period of the sending end, and reports it to the centralized detection unit.
  • step S103 the centralized detection unit counts and calculates the performance data of the corresponding service flow based on the performance data reported by the sending end and the receiving end, and calculates the packet loss rate and delay data of a certain period according to the performance data.
  • step S103 the detection period of the sending end and the receiving end and the data corresponding to the detection period must be able to match, so that the centralized detection unit can correctly calculate the packet loss rate and delay data of a certain period.
  • the sender and the receiver need to agree to adopt a unified dyeing flip cycle, such as both flipping in a whole second, or both flipping in half a second, in addition, the sender and the receiver
  • the terminal In addition to reporting performance data, the terminal also needs to report the period value, for example, the i-th period, so that the centralized detection unit can achieve accurate matching.
  • the disadvantage of the associated performance detection scheme in the related technology is that the sending end and the receiving end equipment must adopt a uniform cycle time. If the cycle time of the two is inconsistent, the detection will be inaccurate or completely wrong. For example, the sender flips in the whole second, and the receiver thinks it flips in half a second. Therefore, if the detection is not performed for the full second flip, an error in the detection result will occur. However, if the statistics of the number of cycles of the sending end and the receiving end are inconsistent, the sending end considers it to be the i-th cycle, and the receiving end considers it to be the i+1th cycle, the centralized detection unit will make an error when performing performance detection. These problems have affected the flexibility and accuracy of the deployment of road-associated performance detection.
  • an embodiment of the present application provides a method for detecting the associated performance, which is applied to a second device, where the second device may be a receiving end device in a detection system, and the detection system is also Including the first device (transmitting device) and the detection device.
  • the detection device can be the centralized detection unit mentioned in other embodiments.
  • the detection unit can be used for interaction between two devices, and the centralized detection unit can be used for communication between two or more devices.
  • the centralized detection unit can also include multiple detection units, and can also refer to an upgraded version of the detection unit.
  • the method provided in this embodiment can be implemented by a computer program, and when the computer program is executed, each step in the method provided in this embodiment is completed. In some embodiments, the computer program may be executed by a processor in the receiving end device.
  • FIG. 2 is a schematic flowchart of a method for detecting the associated performance provided by an embodiment of the application. As shown in FIG. 2, the method includes:
  • Step S201 The second device receives a service packet marked by a cycle sent by the first device.
  • the marking information of the business packets in the same period is the same, and the marking information of the business packets in adjacent periods is different.
  • the first device is the sending end device in the network associated performance detection system
  • the second device is the receiving end device in the network associated performance detection system.
  • the first device is the receiving end device in the network associated performance detection system.
  • a device and the second device implement time synchronization based on a time synchronization protocol.
  • the time synchronization protocol may be a Precision Time Protocol (PTP) protocol.
  • PTP Precision Time Protocol
  • both the first device and the second device need to support the PTP protocol.
  • the time error between the first device and the second device is within microseconds.
  • the cycle may be sent to the first device together with the detection instruction when the detection device sends the detection instruction, or may be determined by the controller of the first device itself.
  • the first device marks the first performance data based on the period.
  • the period duration of the period is equal, and for example, the period duration is 1 second (s, second).
  • the mark includes first mark information and second mark information.
  • the first mark information and the second mark information are different.
  • the mark information may be a colored mark.
  • the colored bits in the service message in a cycle are colored and marked to distinguish different cycles, and the colored bits refer to bits that perform characteristic identification on the service message. Taking the coloring position of the business packet as two coloring positions as an example, including coloring position 1 and coloring position 2, set the value of coloring position 1 to 0 and the value of coloring position 2 to 1.
  • the marked service message includes the first cycle, the second cycle, the third cycle, and the fourth cycle.
  • the marking information in the first cycle can be represented by 0, the marking information in the second cycle can be represented by a value of 1, the marking information in the third cycle can be represented by 0, and the marking information in the fourth cycle can be represented by Use 1 to represent.
  • Step S202 The second device determines the cycle rollover point of each cycle based on the marking information of the service message.
  • the receiving end can determine the period of each period according to the marking information.
  • the marking information in the first period may be represented by a value of 0, the marking information in the second period may be represented by a value of 1, the marking information in the third period may be represented by a value of 0, and the marking information in the fourth period It can be represented by a value of 1.
  • the value of 0 is continuously received, multiple values of 1 are continuously received. At this time, the time of continuously receiving multiple values of 1 can be determined as the cycle rollover point of the first cycle.
  • the cycle flip point of the third cycle can be determined.
  • the multiple can be specifically set according to actual conditions, and setting multiple can prevent the second device from determining the arrival time of the scrambled text as the cycle turning point due to the arrival of the scrambled text.
  • the cycle rollover point may also be called the cycle junction point, because the message time of one mark is very short, in milliseconds (ms, millisecond), and the period of message statistics is at least in s. , The two have orders of magnitude difference, therefore, the cycle flip point can have a certain error in determining.
  • the period duration can be determined according to the time information of the period reversal points of adjacent periods. According to the time information and period duration of any determined period reversal point, the position of the period reversal point of each period or the time information of the period reversal point can be determined.
  • Step S203 The second device determines the first performance data of each period according to the period turning point of each period, and records the first time information corresponding to the first performance data of each period.
  • the first performance data of each period when the rollover point of each period is determined, the first performance data of each period can be counted and the first time information corresponding to the first performance data of each period can be determined.
  • the first time information corresponding to the first performance data is the time information when the first performance data is calculated, that is, the time information when the first performance data is generated.
  • Step S204 The second device sends the first performance data of each cycle and the corresponding first time information to the detection unit, so that the detection unit performs performance according to the first performance data of each cycle and the corresponding first time information. Detection.
  • the detection unit may be integrated with the network management system, or may be an independent device.
  • the second device when the second device determines the first performance data of each cycle and the corresponding first time information, it reports the first performance data of each cycle and the corresponding first time information to the detection unit.
  • the first device will also send the second performance data and the corresponding second time to the detection unit.
  • the detection device can perform a communication link between the first device and the second device according to the first performance data and the corresponding first time information, the second performance data and the corresponding second time information Carry out associated performance testing.
  • the receiving end device when the second device (receiving end device) receives the service packet marked by the first device (sending end device) in a period, the receiving end device can determine the period of each period according to the marking information of the service packet. Cycle overturn point, and determine the first performance data and corresponding time information (time of generation) of each cycle according to the cycle overturn point.
  • the detection unit When the detection unit receives the first performance data and corresponding time information reported by the receiving end and the corresponding time information reported by the transmitting end
  • the detection device can determine according to the time information corresponding to the first performance data and the time information corresponding to the second performance data Corresponding to the first performance data and the second performance data of the period, so as to perform path-associated performance detection on the communication link between the first device and the second device.
  • it is not necessary to obtain the cycle number when performing performance testing and it is not necessary to stipulate that the first device and the second device use the same cycle duration. Therefore, the flexibility of the deployment of the associated performance testing can be improved, and the cycle time can be increased.
  • the matching of the performance data is more accurate.
  • step S202 the determination of the cycle rollover point of each cycle based on the marking information of the service message can be implemented through step S2021 to step S2023 shown in FIG. 3, and each step is performed below in conjunction with FIG. 3. Description.
  • step S2021 the second device determines the period reversal point of the first period when the second device continuously receives N pieces of the second flag information after continuously receiving the first flag information.
  • the marking information carried in the message can be identified, and the period rollover point can be determined according to the marking information of two adjacent periods.
  • the two adjacent periods include the first In the first cycle and the second cycle, the marking information of the first cycle is the first marking information, the marking information of the second cycle is the second marking information, the first marking information is represented by a value of 1, and the marking information of the second cycle is marked by a value of 0
  • N 0s are received continuously.
  • the period rollover point of the first cycle can be determined, where the period rollover point is the end of the first cycle and the beginning of the second cycle.
  • step S2022 the second device determines the period reversal point of the second period when the second device continuously receives the N first flag information after receiving the second flag information continuously.
  • the second device can determine the cycle rollover point of the second cycle and the third cycle according to the marking information of the second cycle and the third cycle, and the first performance in the second cycle
  • the tag information of the data is a value of 0.
  • the value of 1 is continuously received
  • the value of 0 is continuously received.
  • it can be determined that the value of 0 is received as the cycle turning point of the second cycle and the third cycle.
  • Step S2023 The second device determines the period reversal point of each period at least according to the period reversal point of the first period and the period reversal point of the second period.
  • the second device determines the period duration at least according to the difference between the first period reversal point and the second period reversal point of two adjacent periods, and sets the start time of any one of the at least two adjacent periods It is the time of the reference period, based on the period length, and then determines the period reversal point of each period.
  • the reference cycle start time is 00:00:15
  • the cycle duration is 1s
  • the cycle rollover points of the two cycles after the first cycle can be determined to be 00:00:16 and 00:00:17.
  • the step S2023 the second device determines the period reversal point of each period at least according to the period reversal point of the first period and the period reversal point of the second period, which can be implemented by the following steps:
  • step S2023A the second device determines the period duration at least according to the time information of the period reversal point of the first period and the time information of the period reversal point of the second period.
  • the period reversal point of the first period and the period reversal point of the second period are adjacent periods, and the period time when the period is marked is the same, in this case, the period reversal point of the first period can be
  • the time information of the time information and the time information of the second cycle rollover point determine the period duration.
  • the time information of the cycle rollover point of the first cycle and the second cycle are 00:00:01 and 00:00:02, respectively. It can be determined that the cycle length is 1s.
  • step S2023B the second device determines the period inversion of each period according to the time information of the period reversal point of the first period and the period duration, or according to the time information of the period reversal point of the second period and the period duration. point.
  • the period reversal point time information of each period can be determined according to the known time information of any reversal point, that is, the reversal point of each period is determined.
  • the step S2023B determining according to the time information of the period turning point of the first period and the period duration, or according to the time information of the period turning point of the second period and the period duration
  • the cycle flip point of each cycle can be achieved through the following steps:
  • Step S23B1 The second device determines the difference in the number of cycles between each cycle and a reference cycle, where the reference cycle is the first cycle or the second cycle.
  • the first cycle is determined as the reference cycle
  • the cycle rollover point of the first cycle is 0:00:01, that is, 00:00:01
  • the cycle duration is 1 second
  • the second device can determine the elapsed time After n seconds, it is the nth cycle.
  • Step S23B2 The second device determines the time difference between each period and the reference period according to the difference between the period duration and the number of periods.
  • the second device can determine that the difference between the number of cycles of the nth cycle and the number of cycles of the first cycle is n-1. Then, the time difference can be determined by multiplying the period difference by the period duration. In the embodiment of the present application, the time difference is n-1. For example, n is 6, the cycle number difference is 5, and the time difference is 5s.
  • Step S23B3 The second device determines the period reversal point of each period according to the time information of the period reversal point of the reference period and the time difference corresponding to each period.
  • the first start time of each period can be determined according to the first start time of the reference period.
  • Fig. 4 is a schematic flowchart of a method for detecting the associated performance provided by an embodiment of the application. As shown in Fig. 4, the method includes:
  • Step S401 The detection unit obtains the second performance data of each period and the corresponding second time information reported by the first device.
  • the second performance data of each period when the service message is marked, the second performance data of each period can be counted. Correspondingly, when the second performance data of each period is counted, it can be determined that the second performance data is generated. Time information, that is, the second time information.
  • Step S402 The detection unit obtains the first performance data of each period and the corresponding first time information reported by the second device.
  • the first performance data of each period is determined based on a service packet marked by a period sent by the first device, and the first device and the second device implement time synchronization based on a time synchronization protocol.
  • the cycle rollover point when the second device receives the service message and performs performance statistics, the cycle rollover point can be determined according to the marking information.
  • the first performance data of a cycle can be determined
  • the first time information generated by the first performance data of the period may be recorded. The first performance data of each period and the corresponding first time information are determined according to the reversal point of each period.
  • the first device and the second device implement time synchronization based on a time synchronization protocol. Both the first device and itself support the PTP protocol. After the first device and itself achieve precise time synchronization based on PTP, the time error between the first device and itself is within a microsecond level.
  • Step S403 The detection unit performs a check between the first device and the second device according to the second performance data of each cycle and the corresponding second time information, the first performance data of each cycle and the corresponding first time information.
  • the communication link carries out the associated performance test.
  • the performance data may be information about the number of packets with a mark, or may be time stamp information.
  • the packet loss rate can be determined based on the message data information
  • the performance data is the time stamp information
  • the time delay can be determined based on the time stamp information.
  • the first performance data and the second performance data of the corresponding period can be determined through the first time information and the second time information, and then the first performance data and the second performance data of the corresponding period can be determined. Perform path-associated performance detection on the communication link between the first device and the second device.
  • the detection device since the first device and the second device implement time synchronization based on the time synchronization protocol, when the detection device receives the second time information reported by the first device and the first time information reported by the second device At the time, the first performance data and the second performance data of the corresponding period can be determined according to the second time information and the first time information, so as to perform the path-associated performance detection on the communication link between the first device and the second device .
  • the detection device can match the period based on the time information reported by each device, which can improve the flexibility of the deployment of the associated performance detection, and the matching of the performance data in the corresponding period is more accurate.
  • step S403 the detection unit compares the first device with the second performance data of each period and the corresponding second time information, the first performance data of each period, and the corresponding first time information.
  • the associated performance test of the communication link between the second devices can be achieved through the following steps:
  • Step S4031 The detection unit determines the first target time from the respective first time information according to the respective second time information and the respective first time information, and determines the first target time corresponding to the first target time from the respective second time information.
  • the second target time wherein the difference between the first target time and the second target time is less than a preset duration threshold.
  • the detection unit may determine a first target time from the first time information, and determine a second target time corresponding to the first target time from the respective second time information, and the first target time The difference between the second target time and the second target time is less than the preset duration threshold.
  • the duration threshold is in milliseconds.
  • the preset duration threshold is 100 ms.
  • the duration threshold can be set according to specific conditions. However, considering that the sending end to the receiving end is transmitted through the network, the network transmission delay is usually within 10ms (including optical fiber transmission delay and node processing delay), so the duration threshold needs to be set to be greater than 10ms.
  • a time is determined in each first moment information reported by the second device, and because the performance detection is usually in seconds, at this time, if a time in each second moment information reported by the first device Within plus or minus 100 ms of the first starting time, it can be determined as the second target time.
  • the example is that the information at the first time includes 00:00:01:030, and the information at the second time includes 00:00:01:010. Because the difference between 00:00:01:010 and 00:00:01:030 is At this time, within 100ms, it can be determined that the first target time is 00:00:01:030, and the second target time is 00:00:01:010.
  • the first target time and the second target time are determined, it can be determined that the first performance data corresponding to the first target time and the second performance data corresponding to the second target time are performance data of the same period.
  • Step S4032 The detection unit performs path-associated performance detection on the communication link between the first device and the second device based on the first performance data corresponding to the first target time and the second performance data corresponding to the second target time.
  • the detection unit may determine that the first performance data corresponding to the first target time and the second performance data corresponding to the second target time are performance data of the same cycle.
  • the detection device performs path-associated performance detection on the communication link between the first device and the second device based on the first performance data and the second performance data.
  • the period of performance statistics is above the second level, and the minimum is 1 second, and there is an order of magnitude difference between the two. Therefore, when the difference between the first time information and the second time information of the sending end and the receiving end is within the preset duration threshold, it can be considered that the first time information and the second time information respectively correspond to the first performance data It is data of the same cycle as the second performance data. Further, according to the first performance data and the first target time, the second performance data and the second target time, the path-associated performance detection of the communication link between the first device and the second device is performed.
  • the performance detection may be at least packet loss detection.
  • the detection unit performs a test on the first device based on the first performance data corresponding to the first target time and the second performance data corresponding to the second target time.
  • the associated performance test of the communication link with the second device can be achieved through the following steps:
  • Step S4032 A1 the detection unit obtains the difference between the number of tagged packets in the first performance data corresponding to the first target time and the number of tagged packets in the second performance data corresponding to the second target time to obtain Number of lost packets.
  • the number of markers for the first performance data is 40, and the number of markers for the second performance data is 38. That is, the number of lost packets of the first performance data and the second performance data in the corresponding period is two.
  • Step S4032 A2 The detection device determines the packet loss rate of the communication link between the first device and the second device according to the number of lost packets.
  • the packet loss rate of the communication link between the first device and the second device is 5%.
  • the performance detection is time delay detection.
  • the detection unit performs a comparison between the first device and the second device based on the first performance data corresponding to the first target time and the second performance data corresponding to the second target time.
  • the communication link between the two devices carries out the performance detection of the associated path, which can be achieved through the following steps:
  • Step S4032 B1 The detection unit determines the time difference between the first time stamp information in the first performance data and the second time stamp information in the second performance data.
  • the first performance data when the performance detection is delay detection, the first performance data includes first time stamp information, and the second performance data includes second time stamp information.
  • the detection unit receives the first performance data With the second performance data, the first time stamp information and the second time stamp information can be obtained, and then the time difference between the first time stamp information and the second time stamp information can be determined.
  • Step S4032 B2 The detection unit determines the time delay of the communication link between the first device and the second device according to the time difference.
  • the time difference is the time delay of the communication link between the first device and the second device.
  • the embodiments of the present application provide a method for detecting the associated performance of the road, and the method is applied to the detecting system of the associated performance of the road.
  • Schematic diagram of the process, as shown in Figure 5, the method includes:
  • step S501 the first device and the second device implement time synchronization through the PTP protocol.
  • the time error between the receiving end and the transmitting end is within a microsecond level.
  • step S502 the first device marks the service message by cycle, counts the second performance data of each cycle, and records the second time information corresponding to the second performance data.
  • the first device alternately marks the service message on a periodic basis.
  • the first device is a sending end device.
  • the business message is alternately dyed according to the preset cycle for the setting of the dyeing position 1 and the dyeing position 2, and the value of the dyeing position 1 is set to 0, and the value of the dyeing position 2 is set to 1.
  • the marking information of the service packets in the same period is the same, and the marking information of the service packets in adjacent periods is different.
  • the second time information corresponding to the second performance data is the time information when the second performance data is generated.
  • Step S503 The first device sends the second performance data and the corresponding second time information to the detection unit.
  • Step S504 The first device sends the marked service message to the receiving end device.
  • step S502 may be before step S503, or after step S503, and may also be sent at the same time.
  • Step S505 The second device determines the cycle rollover point of each cycle based on the marking information of the service message.
  • the cycle turning point of the first cycle is determined; when the second marking information is continuously received, the second marking information is continuously received.
  • N pieces of the first mark information are received, determine the period rollover point of the second period, where N is greater than a preset value, and the first period and the second period are adjacent; at least according to the first period
  • the period reversal point of and the period reversal point of the second period determine the period reversal point of each period, where N is greater than 1.
  • Step S506 The second device determines the first performance data of each period and the corresponding first time information according to the period rollover point of each period.
  • Step S507 The second device sends the first performance data and the corresponding first time information to the detection unit.
  • Step S508 The detection unit performs a check between the first device and the second device according to the second performance data of each cycle and the corresponding second time information, the first performance data of each cycle and the corresponding first time information.
  • the communication link carries out the associated performance test.
  • the detection unit may determine the first performance data and the second performance data in the corresponding period according to the first time and the second time, and then according to the second performance data of each period and the corresponding second time
  • the information, the first performance data of each period, and the corresponding first time information perform path-associated performance detection on the communication link between the first device and the second device.
  • the second device since the first device and the second device implement time synchronization based on the time synchronization protocol, and after the first device sends the service packet marked by the period to the second device, the second device can Determine the rollover point of each cycle according to the marking information in the service message, and then determine the first performance data of each cycle and the corresponding first time information, and report the first performance data and the corresponding first time information to the detection unit to detect The unit may determine the first performance data and the second performance data of the corresponding period according to the first time information and the second time information, so as to perform path-associated performance detection on the communication link between the first device and the second device.
  • the corresponding period is determined according to the time information reported by the first device and the second device when performing performance testing, which can improve the flexibility of the deployment of the associated performance test, and the matching of performance data in the corresponding period can be improved. accurate.
  • FIG. 6 is a schematic flowchart of the method for detecting the performance of the road provided by an embodiment of the application. As shown in FIG. 6, the method includes:
  • Step S601 the receiving end and the sending end realize time synchronization based on PTP.
  • the time error between the receiving end and the sending end is within a microsecond level.
  • step S602 the receiving end continues to identify the dyeing mark in the message after receiving the performance test dyed message, and performs message statistics, and judges the turning point of the dyeing based on the statistical result.
  • the turning point of the dyeing can be considered as the cycle junction point.
  • the coloring flag of the previous cycle is 0, when the receiving end continues to receive the packets with the coloring flag of 0, and the packets with the coloring flag of 1 are received, it may be the cycle rollover point or out-of-sequence packets. Arrival, after n consecutively received packets with the coloring flag of 1, it can be determined that it is the cycle rollover point. After several cycle flip points are judged, the cycle time information of the sending end can be determined, and the receiving end can record the time position, and then can predict the flip point of the next cycle based on the cycle time information.
  • Step S603 The sending end and the receiving end report performance data to the centralized detection unit.
  • the sending end and the receiving end report performance data, they do not need to report the period number, but report the time information when the performance data is generated along with the performance data.
  • Step S604 After collecting the performance data reported by the sending end and the receiving end, the centralized detection unit compares the periodic time information of the performance data of the two. When the periodic time information of the sending end and the receiving end is within a certain range, the performance of the corresponding period is determined data.
  • the sending end to the receiving end is transmitted through the network, and the network transmission delay is usually within 10 milliseconds (including the optical fiber transmission delay and the node processing delay).
  • the period of performance statistics is above the second level, at least 1 second, and there is an order of magnitude difference between the two. Therefore, when the time information of the sending end and the receiving end are within a certain range, it can be considered that this group of data is data of the same period. For example, if the data time information deviation between the sending end and the receiving end is within plus or minus 100ms, it is considered to be the data of the same period, so as to realize the matching of the data of each period.
  • the centralized detection unit can be integrated with network management, controller and other equipment, or it can be an independent dedicated centralized detection equipment.
  • the receiving end and the transmitting end implement accurate time synchronization based on PTP, and on this basis, the period rollover point of the performance detection data is matched with the period sequence number.
  • the receiving end receives a message that has been dyed for performance testing, it continues to identify the dye mark in it and make message statistics. Based on the statistical result, it judges the turning point of the dyeing, which is the cycle junction point, and the receiving end determines the cycle time of the sending end. Information, the receiving end can record the cycle time information, and then can predict the rollover point of the next cycle based on the cycle time information.
  • the sending end and the receiving end do not need to report the period number when reporting performance data, but report the time information when the performance data is generated along with the performance data.
  • the centralized detection unit collects the data reported by the sending end and the receiving end, it compares the time information of the two data. When the periodic time information of the sending end and the receiving end is within a certain range, it is judged that the periodic time information is within a certain range, Determine that the group of data within the cycle time is the data of the same cycle, and then perform performance testing on the data of the same cycle.
  • the embodiments of the present application provide a device for detecting performance along the road.
  • Each module included in the device and each unit included in each module can be implemented by a processor in a computer device; of course, it can also be implemented by a specific device.
  • Logic circuit implementation; in the process of implementation, the processor can be a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Microprocessor Unit), a digital signal processor (DSP, Digital Signal Processing) or field programmable Gate array (FPGA, Field Programmable Gate Array), etc.
  • CPU Central Processing Unit
  • MPU Microprocessor Unit
  • DSP Digital Signal Processing
  • FPGA Field Programmable Gate Array
  • FIG. 7 is a schematic structural diagram of the road-following performance detection device provided in an embodiment of this application. As shown in FIG. 7, the road-following performance detection device 700 includes:
  • the receiving module 701 is configured to receive a service packet marked by a cycle sent by the first device, where the marking information of the service packet in the same cycle is the same, and the marking information of the service packet between adjacent cycles is different.
  • the first determining module 702 is configured to determine the cycle rollover point of each cycle based on the marking information of the service message.
  • the second determining module 703 is configured to determine the first performance data of each period according to the period turning point of each period, and record the first time information corresponding to the first performance data of each period.
  • the sending module 704 is configured to send the first performance data of each period and the time information at which the first performance data of each period is generated to the detection unit, so that the detection unit can be based on the first performance data of each period and the time information. Perform performance detection based on the time information when the first performance data of each period is generated.
  • the first device and itself implement time synchronization based on a time synchronization protocol.
  • the first determining module 702 includes:
  • the first determining unit is configured to determine the period rollover point of the first period when N pieces of the second flag information are continuously received after the first flag information is continuously received;
  • the second determining unit is configured to determine the period reversal point of the second period when N of the first flag information are received continuously after the second flag information is continuously received, where N is greater than a preset value, and the The first period is adjacent to the second period;
  • the third determining unit is configured to determine the period reversal point of each period at least according to the period reversal point of the first period and the period reversal point of the second period.
  • the third determining unit includes:
  • the first determining subunit is configured to determine the period duration at least according to the time information of the period reversal point of the first period and the time information of the period reversal point of the second period.
  • the second determining subunit is configured to determine the time information of each cycle according to the time information of the cycle turning point of the first cycle and the cycle duration, or according to the time information of the cycle turning point of the second cycle and the cycle duration Cycle rollover point.
  • the second determining subunit is further configured to:
  • the embodiment of the present application further provides a device for detecting the associated performance, and the device includes:
  • the first obtaining module is configured to obtain the second performance data of each period and the corresponding second time information reported by the first device;
  • the second acquiring module is configured to acquire the first performance data of each period and the corresponding first time information reported by the second device, wherein the first performance data of each period is marked on a period-by-period basis sent by the first device Determining that the first device and the second device implement time synchronization based on a time synchronization protocol;
  • the detection module is configured to check the communication between the first device and the second device according to the second performance data of each cycle and the corresponding second time information, the first performance data of each cycle and the corresponding first time information
  • the communication link carries out the associated performance test.
  • the detection module includes:
  • the fourth determining unit is configured to determine the first target time and the second target time according to the respective second moment information and the respective first moment information, wherein the difference between the first target time and the second target time is less than a preset value Duration threshold;
  • the performance detection unit is configured to perform path-associated performance detection on the communication link between the first device and the second device based on the first performance data corresponding to the first target time and the second performance data corresponding to the second target time.
  • the performance detection unit includes:
  • the third determining subunit is configured to determine the difference between the number of tagged packets in the first performance data corresponding to the first target time and the number of tagged packets in the second performance data corresponding to the second target time Value to get the number of lost packets;
  • the first detection subunit is configured to determine the packet loss rate of the communication link between the first device and the second device according to the number of packet losses.
  • the performance detection unit includes:
  • a fourth determining subunit configured to determine the time difference between the first time stamp information in the first performance data and the second time stamp information in the second performance data
  • the second detection subunit is configured to determine the delay of the communication link between the first device and the second device according to the time difference value.
  • the technical solutions of the embodiments of the present application can be embodied in the form of a software product in essence or a part that contributes to the prior art.
  • 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, etc.) is allowed to execute all or part of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, Read Only Memory (ROM, Read Only Memory), magnetic disk or optical disk and other media that can store program codes. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.
  • an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps in the method for detecting the associated performance provided in the foregoing embodiments are implemented.
  • FIG. 8 is a schematic diagram of the structure of the path-associated performance detection device provided in an embodiment of the application.
  • the path-accompaniment performance detection device 800 includes: a process 801, at least one communication bus 802, user interface 803, at least one external communication interface 804, and memory 805.
  • the communication bus 802 is configured to implement connection and communication between these components.
  • the user interface 803 may include a display screen, and the external communication interface 804 may include a standard wired interface and a wireless interface.
  • the processor 801 is configured to execute the program of the tracking performance detection method stored in the memory, so as to implement the steps in the tracking performance detection method provided in the above-mentioned embodiment.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, such as: multiple units or components can be combined, or It can be integrated into another system, or some features can be ignored or not implemented.
  • the coupling, or direct coupling, or communication connection between the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the embodiments of the present application can be all integrated into one processing unit, or each unit can be individually used as a unit, or two or more units can be integrated into one unit;
  • the unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
  • the foregoing program can be stored in a computer readable storage medium.
  • the execution includes The steps of the foregoing method embodiment; and the foregoing storage medium includes: various media that can store program codes, such as a mobile storage device, a read only memory (ROM, Read Only Memory), a magnetic disk, or an optical disk.
  • the aforementioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer readable storage medium.
  • the technical solutions of the embodiments of the present application can be embodied in the form of a software product in essence or a part that contributes to the prior art.
  • the computer software product is stored in a storage medium and includes several instructions for This allows an AC to execute all or part of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: removable storage devices, ROMs, magnetic disks or optical discs and other media that can store program codes.
  • the second device receives the service message that is marked by the cycle sent by the first device, wherein the marking information of the business message in the same cycle is the same, and the marking information of the business message between adjacent cycles is the same Different; determine the cycle rollover point of each cycle based on the mark information of the service message; determine the first performance data of each cycle according to the cycle rollover point of each cycle, and record the first performance data corresponding to the first performance data of each cycle Time information; sending the first performance data of each cycle and the corresponding first time information to the detection unit, so that the detection unit performs performance detection according to the first performance data of each cycle and the corresponding first time information; wherein , The first device and itself implement time synchronization based on the time synchronization protocol, and there is no need to obtain the cycle number when performing performance testing, and it is not necessary to agree that the first device and the second device use the same cycle duration, thereby improving the performance of the path.
  • the flexibility of detection deployment, and the matching of performance data in the corresponding period is more accurate.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

L'invention concerne un procédé et un appareil de mesure de performance associée, ainsi qu'un dispositif et un support de stockage lisible par ordinateur. Le procédé comprend : la réception de paquets de service marqués par période envoyés par un premier dispositif, des informations de marquage des paquets de service dans la même période étant les mêmes, et les informations de marquage des paquets de service dans des périodes adjacentes étant différentes ; la détermination du point de reconduction de période de chaque période sur la base des informations de marquage des paquets de service ; la détermination de premières données de performance de chaque période en fonction du point de reconduction de période de chaque période, et l'enregistrement de premières informations de point temporel correspondant aux premières données de performance de chaque période ; l'envoi, à une unité de mesure, des premières données de performance de chaque période et des premières informations de point temporel correspondantes, de sorte que l'unité de mesure effectue une mesure de performance en fonction des premières données de performance de chaque période et des premières informations de point temporel correspondantes, le premier dispositif maintenant une synchronisation temporelle sur la base d'un protocole de synchronisation temporelle.
PCT/CN2020/141786 2020-01-02 2020-12-30 Procédé et appareil de mesure de performance associée, dispositif et support de stockage lisible par ordinateur WO2021136449A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010000668.1A CN113067740B (zh) 2020-01-02 2020-01-02 随路性能检测方法、装置、设备及计算机可读存储介质
CN202010000668.1 2020-01-02

Publications (1)

Publication Number Publication Date
WO2021136449A1 true WO2021136449A1 (fr) 2021-07-08

Family

ID=76558141

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/141786 WO2021136449A1 (fr) 2020-01-02 2020-12-30 Procédé et appareil de mesure de performance associée, dispositif et support de stockage lisible par ordinateur

Country Status (2)

Country Link
CN (1) CN113067740B (fr)
WO (1) WO2021136449A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113644998A (zh) * 2021-08-23 2021-11-12 烽火通信科技股份有限公司 一种5g网络的ioam时延测量方法和装置
CN115065618A (zh) * 2022-08-18 2022-09-16 广州中和互联网技术有限公司 一种基于时序分析的采集数据的可靠性检测方法及系统

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116366494A (zh) * 2021-12-28 2023-06-30 中国移动通信有限公司研究院 随流检测方法、装置、网络设备及存储介质
CN115442272B (zh) * 2022-08-15 2024-05-14 中国银联股份有限公司 一种检测丢失数据的方法、装置、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014101187A1 (fr) * 2012-12-31 2014-07-03 华为技术有限公司 Procédé et dispositif de mesure des performances ip
CN108809771A (zh) * 2018-08-10 2018-11-13 锐捷网络股份有限公司 Sdn网络数据流监控方法、sdn控制器、交换设备及系统
CN109314652A (zh) * 2016-09-18 2019-02-05 华为技术有限公司 网络性能测量方法及装置
CN110572293A (zh) * 2018-06-06 2019-12-13 华为技术有限公司 一种数据报文的检测方法、设备及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3328002B1 (fr) * 2010-12-09 2019-05-15 Lantiq Deutschland GmbH Procédé d'alignement de cycles mac pour la coordination de réseaux voisins
CN102904775B (zh) * 2012-09-29 2015-04-29 华为技术有限公司 网络丢包测量方法、设备和系统
CN105281969B (zh) * 2014-07-04 2019-11-29 华为技术有限公司 一种统计信息获取方法及装置
WO2018094616A1 (fr) * 2016-11-23 2018-05-31 华为技术有限公司 Procédé, dispositif et système de réseau virtuel permettant de surveiller un réseau virtuel
CN107547300B (zh) * 2017-06-16 2020-05-12 新华三技术有限公司 一种网络质量检测方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014101187A1 (fr) * 2012-12-31 2014-07-03 华为技术有限公司 Procédé et dispositif de mesure des performances ip
CN109314652A (zh) * 2016-09-18 2019-02-05 华为技术有限公司 网络性能测量方法及装置
CN110572293A (zh) * 2018-06-06 2019-12-13 华为技术有限公司 一种数据报文的检测方法、设备及系统
CN108809771A (zh) * 2018-08-10 2018-11-13 锐捷网络股份有限公司 Sdn网络数据流监控方法、sdn控制器、交换设备及系统

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113644998A (zh) * 2021-08-23 2021-11-12 烽火通信科技股份有限公司 一种5g网络的ioam时延测量方法和装置
CN113644998B (zh) * 2021-08-23 2023-06-09 烽火通信科技股份有限公司 一种5g网络的ioam时延测量方法和装置
CN115065618A (zh) * 2022-08-18 2022-09-16 广州中和互联网技术有限公司 一种基于时序分析的采集数据的可靠性检测方法及系统
CN115065618B (zh) * 2022-08-18 2022-11-29 广州中和互联网技术有限公司 一种基于时序分析的采集数据的可靠性检测方法及系统

Also Published As

Publication number Publication date
CN113067740B (zh) 2023-09-05
CN113067740A (zh) 2021-07-02

Similar Documents

Publication Publication Date Title
WO2021136449A1 (fr) Procédé et appareil de mesure de performance associée, dispositif et support de stockage lisible par ordinateur
US8243599B2 (en) Method and apparatus for high resolution passive network latency measurement
US8774008B2 (en) Real-time network measurement
US8943062B2 (en) Real-time data threshold generation and monitoring
US20130083671A1 (en) Data plane delay kpi monitoring in live network
CN112615693A (zh) 用于时钟同步的方法、装置、设备及系统
WO2022037206A1 (fr) Procédé et appareil de détection de perte de paquets sur un réseau, support de stockage et système de réseau
CN108876950B (zh) 考勤追踪的方法、装置、终端、服务器及存储介质
US20090310508A1 (en) Real-time network measurement
Jouans et al. Associating the randomized bluetooth mac addresses of a device
CN112714007B (zh) 检测ioam所有设备业务报文染色标记的方法及装置
JP5515088B2 (ja) 移動電話のデバイスパラメータと信号パラメータとの間の依存関係を決定するための方法及びシステム
EP4096278A1 (fr) Procédé et appareil conçus pour rapporter des informations de détection de télémétrie d'informations de flux in situ (ifit)
CN111405603B (zh) 一种时延获取方法、测试装置以及计算机存储介质
CN108833215A (zh) 计算累计网络延时的方法、网络设备及计算机存储介质
WO2018126757A1 (fr) Procédé et dispositif de traitement de données
US8989032B2 (en) Systems and methods for measuring frame loss in multipoint networks
CN108024279B (zh) 一种获取测量报告的方法及服务器
CN112073905B (zh) 距离差确定方法、数据帧传输方法及相关产品
CN117221175A (zh) 时延测量方法及其装置、存储介质、程序产品
WO2024055584A1 (fr) Procédé de mesure de retard, dispositif électronique et support lisible par ordinateur
CN109347589B (zh) 一种数据传输方法及网络节点
CN106936664A (zh) 软件定义网络路径性能测试装置和方法
US20180262577A1 (en) Method and system for signaling and radio connection optimization over a cellular network
CN113810284A (zh) 确定报文发送路径的方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20910406

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

Country of ref document: EP

Kind code of ref document: A1