CN113067740B - Method, device, equipment and computer readable storage medium for detecting following path performance - Google Patents

Method, device, equipment and computer readable storage medium for detecting following path performance Download PDF

Info

Publication number
CN113067740B
CN113067740B CN202010000668.1A CN202010000668A CN113067740B CN 113067740 B CN113067740 B CN 113067740B CN 202010000668 A CN202010000668 A CN 202010000668A CN 113067740 B CN113067740 B CN 113067740B
Authority
CN
China
Prior art keywords
period
performance data
cycle
turning point
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010000668.1A
Other languages
Chinese (zh)
Other versions
CN113067740A (en
Inventor
韩柳燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010000668.1A priority Critical patent/CN113067740B/en
Priority to PCT/CN2020/141786 priority patent/WO2021136449A1/en
Publication of CN113067740A publication Critical patent/CN113067740A/en
Application granted granted Critical
Publication of CN113067740B publication Critical patent/CN113067740B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

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

The embodiment of the application discloses a method, a device, equipment and a computer-readable storage medium for detecting the following performance, wherein the method comprises the following steps: receiving service messages which are sent by a first device and marked according to the period, wherein the marking information of the service messages in the same period is the same, and the marking information of the service messages in adjacent periods is different; determining cycle turning points of each cycle based on the marking information of the service message; determining first performance data of each period according to the period turning point of each period, and recording first time information corresponding to the first performance data of each period; sending the first performance data and the corresponding first time information of each period to a detection unit, so that the detection unit performs performance detection according to the first performance data and the corresponding first time information of each period; wherein the first device and itself implement time synchronization based on a time synchronization protocol.

Description

Method, device, equipment and computer readable storage medium for detecting following path performance
Technical Field
The embodiment of the application relates to the technical field of communication, and relates to a method, a device, equipment and a computer readable storage medium for detecting the performance of a road.
Background
An important feature of carrier transport technologies is Operation, maintenance and management (OAM, operation Administration and Maintenance) capability, i.e., operation, maintenance and management (Maintenance) capability, to provide alarms, performance detection, etc., to ensure that faults can be discovered in time.
The OAM detection comprises an associated OAM detection, the associated OAM detection is directly carried out through a service message, the service message is generally colored to divide the message into different blocks (blocks) in the prior art, then packet loss statistics is carried out based on the blocks, and time delay measurement can be realized through coloring. However, in the prior art, the problem of inaccurate detection results or incorrect detection results usually occurs, and the detection of the following performance is not flexible enough.
Disclosure of Invention
In view of this, embodiments of the present application provide a method, an apparatus, a device, and a computer readable storage medium for detecting a path performance.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a method for detecting the performance of a road, which comprises the following steps:
receiving service messages which are sent by a first device and marked according to the period, wherein the marking information of the service messages in the same period is the same, and the marking information of the service messages in adjacent periods is different;
Determining cycle turning points of each cycle based on the marking information of the service message;
determining first performance data of each period according to the period turning point of each period, and recording first time information corresponding to the first performance data of each period;
sending the first performance data and the corresponding first time information of each period to a detection unit, so that the detection unit performs performance detection according to the first performance data and the corresponding first time information of each period;
wherein the first device and itself implement time synchronization based on a time synchronization protocol.
The embodiment of the application further provides a method for detecting the road performance, which comprises the following steps:
acquiring second performance data and corresponding second time information of each period reported by first equipment;
acquiring first performance data of each period and corresponding first time information, which are reported by second equipment, wherein the first performance data of each period is determined based on a service message which is sent by first equipment and marked according to the period, and the first equipment and the second equipment realize time synchronization based on a time synchronization protocol;
and detecting the path following performance of the communication link between the first equipment and the second equipment according to the second performance data and the corresponding second time information of each period, the first performance data and the corresponding first time information of each period.
The embodiment of the application provides a road performance detection device, which comprises:
the receiving module is used for receiving the service messages which are sent by the first equipment and marked according to the period, wherein the marking information of the service messages in the same period is the same, and the marking information of the service messages in adjacent periods is different;
the first determining module is used for determining cycle turning points of each cycle based on the marking information of the service message;
the second determining module is used for determining first performance data of each period according to the period turning point of each period and recording first time information corresponding to the first performance data of each period;
the sending module is used for sending the first performance data and the corresponding first time information of each period to the detecting unit so that the detecting unit can detect the performance according to the first performance data and the corresponding first time information of each period;
wherein the first device and itself implement time synchronization based on a time synchronization protocol.
The embodiment of the application provides a road performance detection device, which comprises:
the first acquisition module is used for acquiring second performance data and corresponding second time information of each period reported by the first equipment;
The second acquisition module is used for acquiring first performance data of each period and corresponding first time information, which are reported by the second equipment, wherein the first performance data of each period is determined based on a service message which is sent by the first equipment and marked according to the period, and the first equipment and the second equipment realize time synchronization based on a time synchronization protocol;
and the detection module is used for detecting the path following performance of the communication link between the first equipment and the second equipment according to the second performance data and the corresponding second time information of each period, the first performance data and the corresponding first time information of each period.
The embodiment of the application provides a channel associated performance detection device, which at least comprises:
a processor; and
a memory for storing a computer program executable on the processor;
wherein the computer program when executed by a processor implements the steps of the road-following performance detection method of any one of the above.
An embodiment of the present application provides a computer-readable storage medium having stored therein computer-executable instructions configured to perform the steps of the following performance detection method described in any one of the above.
The embodiment of the application provides a method, a device, equipment and a computer readable storage medium for detecting channel associated performance, wherein when a second device (receiving end device) receives a service message marked by a first device (transmitting end device) according to a period, the second device can determine a period turning point of each period according to marking information of the service message, and determine first performance data and corresponding time information (generated time) of each period according to the period turning point. In the embodiment of the application, the cycle number is not required to be acquired when performance detection is carried out, and the first equipment and the second equipment do not need to be contracted to adopt the same cycle time length, so that the flexibility of the deployment of the performance detection of the random access can be improved, and the matching of the performance data in the corresponding cycle is more accurate.
Drawings
In the drawings (which are not necessarily drawn to scale), like numerals may describe similar components in different views. The drawings illustrate generally, by way of example and not by way of limitation, various embodiments discussed herein.
FIG. 1 is a schematic diagram of an implementation flow of a related art channel associated performance detection method;
fig. 2 is a schematic flow chart of a method for detecting channel associated performance according to an embodiment of the present application;
fig. 3 is a schematic implementation flow chart of determining cycle turning points of each cycle based on the marking information of the service packet according to the embodiment of the present application;
fig. 4 is a schematic flow chart of a method for detecting channel associated performance according to an embodiment of the present application;
fig. 5 is a schematic flow chart of a method for detecting channel associated performance according to an embodiment of the present application;
fig. 6 is a schematic flow chart of a method for detecting channel associated performance according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a road performance detecting device according to an embodiment of the present application;
fig. 8 is a schematic diagram of a component structure of a road performance detecting apparatus according to an embodiment of the present application.
Detailed Description
The present application will be further described in detail with reference to the accompanying drawings, for the purpose of making the objects, technical solutions and advantages of the present application more apparent, and the described embodiments should not be construed as limiting the present application, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
If a similar description of "first\second\third" appears in the application document, the following description is added, in which the terms "first\second\third" are merely distinguishing between similar objects and do not represent a particular ordering of the objects, it being understood that the "first\second\third" may be interchanged in a particular order or precedence, where allowed, so that embodiments of the application described herein may be practiced in an order other than that illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
In order to better understand the method, the device, the equipment and the computer readable storage medium for detecting the road following performance provided in the embodiment of the application, firstly, the implementation manner and the existing problems of the method for detecting the road following performance in the related art are analyzed and described.
Currently, there is a way to detect the performance of the channel, in a series of documents (RFC, request For Comments) 8321 scheduled by numbers, a statistics method based on coloring marks is introduced, the method divides a service message into different blocks (blocks) by coloring the service message, and then performs packet loss statistics based on the different blocks, and fig. 1 is a schematic flow chart of an implementation of a performance detection method of the channel in the related art, as shown in fig. 1, and the method includes:
step S101, the sender performs alternate dyeing on the detected service flow characteristic field according to a certain period, and simultaneously counts the performance data of the service flow sent in the period and reports the performance data to the centralized detection unit.
Step S102, the receiving end counts the dyeing performance data of the detected service flow characteristic field in the period according to the same period of the sending end, and reports the dyeing performance data to the centralized detection unit.
In the related art, data such as packet loss rate and time delay of the channel associated performance detection are reported independently based on a transmitting end and a receiving end, and the receiving end and the transmitting end need to agree on the same period.
Step S103, the centralized detection unit calculates 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 the time delay data of a certain period according to the performance data.
In step S103, the detection periods of the transmitting end and the receiving end and the data corresponding to the detection periods must be able to be matched, and the centralized detection unit can accurately calculate the packet loss rate and the time delay data of a certain period.
In the related art, in order to realize the detection period and the data matching corresponding to the detection period, the sending end and the receiving end need to agree to adopt a uniform dyeing turnover period, for example, the sending end and the receiving end turn over in whole seconds or in half seconds, and besides, the sending end and the receiving end need to report the performance data and report a period value, for example, the ith period, so that the centralized detection unit can realize accurate matching.
However, the channel associated performance detection scheme in the related art has the disadvantage that the transmitting end and the receiving end must use a uniform cycle time, and if the cycle times of the two are not identical, the detection is inaccurate or completely erroneous. For example, the transmitting end turns over in whole seconds, and the receiving end considers that the receiving end turns over in half seconds, so that the detection is not performed for the whole seconds, and an error of the detection result can occur. If the statistics of the periods of the sending end and the receiving end are inconsistent, the sending end considers the ith period, and the receiving end considers the (i+1) th period, the detecting unit can generate errors in performance detection. These problems affect the flexibility and accuracy of the deployment of the channel associated performance detection.
Based on the problems of the related art, the embodiment of the present application provides a method for detecting the channel associated performance, where the method is applied to a second device, and the second device may be a receiving end device in a detection system, where the detection system further includes a first device (a transmitting end device) and a detection device, and the detection device may be a centralized detection unit mentioned in other embodiments. The method provided in this embodiment may be implemented by a computer program, which, when executed, completes each step in the method provided in this embodiment. In some embodiments, the computer program may be executed by a processor in the receiving end device. Fig. 2 is a flow chart of a method for detecting channel associated performance according to an embodiment of the present application, as shown in fig. 2, where the method includes:
in step S201, the second device receives the service packet sent by the first device and marked according to the period.
The marking information of the service messages in the same period is the same, and the marking information of the service messages in adjacent periods is different.
In the embodiment of the application, the first device is a transmitting end device in a network following performance detection system, and the second device is a receiving end device in the network following performance detection system. The time synchronization protocol may be a high precision time synchronization (PTP, precision Time Protocol) protocol, where both the first device and the second device are required to support the PTP protocol. After the first device and the second device achieve accurate time synchronization based on PTP, the time error of the first device and the second device is within microsecond level.
The period may be sent by the detection device to the first device together with the detection command when the detection command is issued, or may be determined by a controller of the first device itself. When a period is determined, the first device tags the first performance data based on the period. The period duration of the periods is equal, and is exemplified by 1 second(s).
In the embodiment of the application, the mark comprises first mark information and second mark information, the first mark information and the second mark information are different, and in the embodiment of the application, the mark information can be a coloring mark, and different periods are distinguished by coloring the coloring bit in the service message in a preset period, wherein the coloring bit refers to a bit for carrying out characteristic identification on the service message. Taking the dyeing position of the service message as two dyeing positions, including a number 1 dyeing position and a number 2 dyeing position, setting the number 1 dyeing position value as 0 and setting the number 2 dyeing position value as 1. In the embodiment of the application, when the service message is marked, the service message is alternately marked according to a preset period. Illustratively, the marked service message includes a first period, a second period, a third period, and a fourth period, and the first period is colored with the number 1 dyeing bit of the service message, the second period is colored with the number 2 dyeing bit of the service message, the third period is colored with the number 1 dyeing bit of the service message, and the fourth period is colored with the number 2 dyeing bit of the service message. Correspondingly, the marking information in the first period may be represented by 0, the marking information in the second period may be represented by 1, the marking information in the third period may be represented by 0, and the marking information in the fourth period may be represented by 1.
Step S202, the second device determines the cycle turning point of each cycle based on the marking information of the service message.
In the embodiment of the application, because the period duration is equal and the marking information of the service messages in the same period is the same and the marking information of the service messages in adjacent periods is different, the receiving end can determine the period turning point of each period according to the marking information. For example, the flag information in the first period may be represented by a value of 0, the flag information in the second period may be represented by a value of 0, the flag information in the third period may be represented by a value of 1, the flag information in the fourth period may be represented by a value of 1, when a plurality of values of 1 are continuously received, a time when a plurality of values of 1 are continuously received may be determined as a period inversion point of the first period, when a plurality of values of 0 are continuously received, a time when a plurality of values of 0 are received may be determined as a period inversion point of the second period. The cycle flip point of the third cycle may be determined in the same manner. The plurality of the second device can be specifically set according to the actual situation, and the second device can avoid that the second device determines the arrival time of the messy text as a period turning point due to the arrival of the messy text. In the embodiment of the application, the period turning point can also be called a period boundary point, and since the time of 1 marked message is very short and takes a millisecond (ms) as a unit, and the period of message statistics takes at least s as a unit, the two have an order of magnitude difference, and therefore, the period turning point can have a certain error in determination.
Through the determination of the cycle turning points of the plurality of cycles, the cycle duration can be determined according to the time information of the cycle turning points of the adjacent cycles. The position of the periodical turning point or the time information of the periodical turning point of each period can be determined according to the time information of any determined periodical turning point and the periodical time length.
In step S203, the second device determines first performance data of each period according to the period turning point of each period, and records first time information corresponding to the first performance data of each period.
In the embodiment of the application, when the turning point of each period is determined, the first performance number of each period can be counted, and the first time information corresponding to the first performance data of each period can be determined. In the embodiment of the present application, the first time information corresponding to the first performance data is time information when the first performance data is counted, that is, time information when the first performance data is generated.
In step S204, the second device sends the first performance data and the corresponding first time information of each period to the detection unit, so that the detection unit performs performance detection according to the first performance data and the corresponding first time information of each period.
In the embodiment of the application, the detection unit can be integrated with the network management and can also be independent equipment.
In the embodiment of the application, when the second device determines the first performance data and the corresponding first time information of each period, the first performance data and the corresponding first time information of each period are reported to the detection unit. The first device also transmits the second performance data and the corresponding second time to the detection unit. At this time, the detection device may perform path performance detection on the 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.
According to the method provided by the embodiment of the application, when the second device (receiving end device) receives the service message marked by the first device (transmitting end device) according to the period, the receiving end device can determine the period turning point of each period according to the marking information of the service message, and determine the first performance data and the corresponding time information (generated time) of each period according to the period turning point, when the detecting unit receives the first performance data and the corresponding time information reported by the receiving end and the second performance data and the corresponding time information reported by the transmitting end, as the transmitting end and the receiving end are in time synchronization based on a time synchronization protocol, the detecting device can determine the first performance data and the second performance data of the corresponding period according to the time information corresponding to the first performance data and the time information corresponding to the second performance data, so that the following performance detection is carried out on the communication link between the first device and the second device. In the embodiment of the application, the cycle number is not required to be acquired when performance detection is carried out, and the first equipment and the second equipment do not need to be contracted to adopt the same cycle time length, so that the flexibility of the deployment of the performance detection of the random access can be improved, and the matching of the performance data in the corresponding cycle is more accurate.
In the embodiment of the present application, step S202: the determining the period turning point of each period based on the marking information of the service packet may be implemented through steps S2021 to S2023 shown in fig. 3, and each step is described below with reference to fig. 3.
In step S2021, when the second device continuously receives N pieces of the second flag information after continuously receiving the first flag information, the second device determines a cycle inversion point of the first cycle.
In the embodiment of the application, when a service message is received, the marking information carried in the message can be identified, the period turning point can be determined according to the marking information of two adjacent periods, and the two adjacent periods comprise a first period and a second period, wherein the marking information of the first period is the first marking information, the marking information of the second period is the second marking information, the first marking information is represented by a value of 1, the marking information of the second period is represented by a value of 0, and after the service message is continuously received by 1, N0 are continuously received, at this time, the period turning point of the first period can be determined, and the period turning point is the end of the first period and the beginning of the second period.
In step S2022, the second device determines the cycle switching point of the second cycle when N pieces of the first flag information are continuously received after continuously receiving the second flag information.
With the above example, the second period is followed by the third period, the second device may determine the period inversion points of the second period and the third period according to the flag information of the second period and the third period, the flag information of the first performance data in the second period is a value of 0, and when the value of 1 is continuously received, the value of 0 is continuously received, and at this time, it may be determined that the period inversion points of the second period and the third period are when the value of 0 is received.
In step S2023, the second device determines the period turning point of each period according to at least the period turning point of the first period and the period turning point of the second period.
In the embodiment of the application, the second device determines the period duration at least according to the difference value between the time of the first period turning point and the time of the second period turning point of two adjacent periods, sets any one of the initial time of the at least two adjacent periods as the time of the reference period, and further determines the period turning point of each period based on the period duration. For example: the reference cycle start time is 00:00:15, the cycle duration is 1s, and 2 cycles follow the first cycle, so that cycle turnover points of two cycles can be determined to be 00:00:16 and 00:00:17 respectively.
In some embodiments, the step S2023 is implemented by the second device determining the period turning point of each period according to at least the period turning point of the first period and the period turning point of the second period by:
in step S2023A, the second device determines a period duration according to at least the time information of the period turning point of the first period and the time information of the period turning point of the second period.
In the embodiment of the present application, since the period turning point of the first period and the period turning point of the second period are adjacent periods, and the period time is the same when the period is marked, at this time, the period duration can be determined according to the time information of the period turning point of the first period and the time information of the period turning point of the second period, and in an exemplary embodiment, the time information of the period turning point of the first period and the time information of the period turning point of the second period are respectively 00:00:01 and 00:00:02, and at this time, the period duration can be determined to be 1s.
In step S2023B, the second device determines the period turning point of each period 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.
In the embodiment of the application, when the period duration is determined, the period turning point time information of each period can be determined according to the time information of any known turning point, namely, the turning point of each period is determined.
In some embodiments, the step S2023B: the determining the period turning point of each period 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, may be implemented by the following steps:
in step S23B1, the second device determines a cycle number difference between each cycle and a reference cycle, where the reference cycle is the first cycle or the second cycle.
For example, the first period is determined as the reference period, the period inversion point of the first period is 0 minutes 1 second, that is, 00:00:01, and the period duration is 1 second, and then the second device may determine that the n-th period is n seconds later.
In step S23B2, the second device determines a time difference between the respective periods and the reference period according to the period duration and the period number difference.
Following the above example, the second device may determine that the difference in the number of cycles of the nth cycle and the first cycle is n-1. The period difference may be multiplied by the period duration to determine a time difference, which in this embodiment is n-1. For example, n is 6, the cycle number difference is 5, and the time difference is 5s.
In step S23B3, the second device determines the period turning point of each period according to the time information of the period turning point of the reference period and the time difference value corresponding to each period.
When the time difference is determined, a first start time of each cycle may be determined based on the first start time of the reference cycle.
The above example is accepted, as the cycle flip point for the first cycle is 00:00:01. The time difference is 5 seconds, and then the period inversion point time information of the 6 th period is 00:00:06.
The embodiment of the application further provides a method for detecting the channel associated performance, the method is applied to the detection unit, the method provided by the embodiment of the application can be realized by a computer program, and the computer program completes each step in the method provided by the embodiment of the application when being executed. In some embodiments, the computer program may be executed by a processor in the detection device. Fig. 4 is a flow chart of a method for detecting channel associated performance according to an embodiment of the present application, as shown in fig. 4, where the method includes:
in step S401, the detection unit acquires second performance data and corresponding second time information of each period reported by the first device.
In the embodiment of the application, when the service message is marked, the second performance data of each period can be counted, and correspondingly, when the second performance data of each period is counted, the time information generated by the second performance data, namely the second time information, can be determined.
In step S402, the detecting unit acquires the first performance data and the corresponding first time information of each period reported by the second device.
In the embodiment of the application, the first performance data of each period is determined based on the service message which is sent by the first device and marked according to the period, and the first device and the second device realize time synchronization based on a time synchronization protocol.
In the embodiment of the application, when the second device receives the service message and performs performance statistics, the period turning point can be determined according to the marking information, when the period turning point is determined, the first performance data of one period can be determined, and when the first performance data of one period is determined, the first time information generated by the first performance data of one period can be recorded. According to the turning point of each period, first performance data and corresponding first time information of each period are determined.
In the embodiment of the application, the first device and the second device realize time synchronization based on a time synchronization protocol. The first device supports the PTP protocol both on its own and in the first device. After the first device and the first device realize accurate time synchronization based on PTP, the time error of the first device and the first device is within microsecond.
In step S403, the detection unit detects the channel associated performance of the communication link between the first device and the second device according to the second performance data and the corresponding second time information of each period, the first performance data and the corresponding first time information of each period.
In the embodiment of the application, the performance data can be the information of the number of the marked messages or the information of the time stamp. When the performance data is the message quantity information, the packet loss rate can be determined according to the message data information, and when the performance data is the time stamp information, the time delay can be determined according to the time stamp information.
In the embodiment of the application, the first performance data and the second performance data of the corresponding periods can be determined through the first time information and the second time information, and then the channel associated performance detection is carried out on the communication link between the first equipment and the second equipment according to the first performance data and the second performance data of the corresponding periods.
According to the method provided by the embodiment of the application, because the first equipment and the second equipment realize time synchronization based on the time synchronization protocol, when the detection equipment receives the second time information reported by the first equipment and the first time information reported by the second equipment, the first performance data and the second performance data corresponding to the period can be determined according to the second time information and the first time information, so that the channel following performance detection is carried out on the communication link between the first equipment and the second equipment. In the embodiment of the application, the detection equipment can match the period through the time information reported by each equipment, so that the flexibility of the detection deployment of the channel associated performance can be improved, and the matching of the performance data in the corresponding period is more accurate.
In some embodiments, step S403: the detection unit detects the path following performance of the communication link between the first device and the second device according to the second performance data and the corresponding second time information of each period, the first performance data and the corresponding first time information of each period, and the detection unit may be implemented by the following steps:
in step S4031, the detecting unit determines a first target time from the first time information according to the second time information and the first time information, and determines a second target time corresponding to the first target time from the second time information, where a difference between the first target time and the second target time is smaller than a preset duration threshold.
In the embodiment of the application, the detection unit can determine a first target time from the first time information, and determine a second target time corresponding to the first target time from the second time information, wherein the difference between the first target time and the second target time is smaller than a preset duration threshold. The duration threshold is in milliseconds, and the preset duration threshold is 100ms. Of course, the duration threshold may be set according to the specific situation. However, since the network transmission delay is typically within 10ms (including the optical fiber transmission delay and the node processing delay) in consideration of the fact that the transmission from the transmitting end to the receiving end is through the network, the duration threshold needs to be set to be greater than 10ms.
With the above example, the second device reports each of the first time information to determine a time, and since performance detection is typically performed in seconds, at this time, if one of the second time information reported by the first device is within plus or minus 100ms of the first start time, it may be determined as the second target time. For example, the first time information includes 00:00:01:030, the second time information includes 00:00:01:010, and the difference between 00:00:01:010 and 00:00:01:030 is within 100ms, so that the first target time is determined to be 00:00:01:030, and the second target time is determined to be 00:00:01:010. When the first target time and the second target time are determined, it is 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 in the same period.
In step S4032, the detection unit performs channel 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.
In connection with the above example, when determining the first target time and 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 period.
The detection device performs channel associated performance detection on a communication link between the first device and a second device based on the first performance data and the second performance data.
In the embodiment of the application, the period of performance statistics is more than second and at least 1 second, and the two have orders of magnitude difference. Therefore, when the difference value between the first time information and the second time information of the sending end and the receiving end is within the preset time threshold, the first performance data and the second performance data corresponding to the first time information and the second time information respectively can be considered to be data with the same period. And further, performing channel associated performance detection on the communication link between the first device and the second device according to the first performance data and the first target time, the second performance data and the second target time.
In some embodiments, the performance detection may be at least packet loss detection, and in step S4032, the detection unit performs path 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, which may be implemented by the following steps:
in step S4032A1, the detecting unit obtains the packet loss number by obtaining the difference between the number of packets with the marks in the first performance data corresponding to the first target time and the number of packets with the marks in the second performance data corresponding to the second target time.
Illustratively, the number of tags for the first performance data is 40 and the number of tags for the second performance data is 38. That is, the number of packet losses of the first performance data and the second performance data in the corresponding period is 2.
Step S4032 A2, the detecting device determines a packet loss rate of the communication link between the first device and the second device according to the packet loss number.
With the above example, the packet loss rate of the communication link between the first device and the second device is 5%.
In some embodiments, the performance detection is a latency detection, step S4032, where the detection unit performs the latency 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, and may be implemented by the following steps:
In step S4032B 1, the detection unit determines a time difference between the first time stamp information in the first performance data and the second time stamp information in the second performance data.
In the embodiment of the application, when the performance detection is time delay detection, the first performance data comprises first time stamp information, the second performance data comprises second time stamp information, and when the detection unit receives the first performance data and the second performance data, the first time stamp information and the second time stamp information can be obtained, so that the time difference value of the first time stamp information and the second time stamp information is determined.
In step S4032B 2, the detection unit determines a time delay of the communication link between the first device and the second device according to the time difference value.
In the embodiment of the application, the time difference is the time delay of the communication link between the first device and the second device.
Based on the foregoing embodiments, the embodiment of the present application provides a method for detecting the performance of a road, where the method is applied to a system for detecting the performance of a road, and fig. 5 is a schematic flow chart of the method for detecting the performance of a road, as shown in fig. 5, where the method includes:
In step S501, the first device and the second device implement time synchronization through PTP protocol.
In the embodiment of the application, after synchronization is realized by PTP, the time error of the receiving end and the transmitting end is within microsecond level.
In step S502, the first device marks the service packet according to the period, counts the second performance data of each period, and records the second time information corresponding to the second performance data.
In the embodiment of the application, the first device alternately marks the service message according to the period. The first device is a transmitting end device.
For example, the service message is alternately dyed according to the setting of the dyeing bit 1 and the dyeing bit 2, the value of the dyeing bit 1 is set to be 0, and the value of the dyeing bit 2 is set to be 1.
In the embodiment of the application, the marking information of the service messages in the same period is the same, and the marking information of the service messages in adjacent periods is different.
In the embodiment of the application, the second time information corresponding to the second performance data is time information generated by the second performance data.
In step S503, the first device sends the second performance data and the corresponding second time information to the detection unit.
In step S504, the first device sends the marked service packet to the receiving end device.
In the embodiment of the present application, step S502 may be performed before step S503, or may be performed after step S503, or may be performed simultaneously.
In step S505, the second device determines cycle turning points of each cycle based on the tag information of the service packet.
With the above example, when N pieces of the second flag information are continuously received after the first flag information is continuously received, determining a cycle inversion point of a first cycle; when the second mark information is continuously received and then N first mark information is continuously received, determining a period turning point of a second period, wherein N is larger than a preset value, and the first period and the second period are adjacent; determining a cycle turnover point for each cycle based at least on the cycle turnover point for the first cycle and the cycle turnover point for the second cycle, wherein N is greater than 1.
In step S506, the second device determines the first performance data and the corresponding first time information of each period according to the period turning point of each period.
In step S507, the second device sends the first performance data and the corresponding first time information to the detection unit.
In step S508, the detection unit detects the channel associated performance of the communication link between the first device and the second device according to the second performance data and the corresponding second time information of each period, the first performance data and the corresponding first time information of each period.
In the embodiment of the application, the detection unit can determine the first performance data and the second performance data in the corresponding periods according to the first time and the second time, and then detect the path following performance of the communication link between the first device and the second device according to the second performance data and the corresponding second time information of each period, the first performance data and the corresponding first time information of each period.
According to the method provided by the embodiment of the application, because the first equipment and the second equipment realize time synchronization based on the time synchronization protocol, after the first equipment sends the service message marked according to the period to the second equipment, the second equipment can determine the turning point of each period according to the marking information in the service message, further determine the first performance data and the corresponding first time information of each period, report the first performance data and the corresponding first time information to the detection unit, and the detection unit can 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 that the communication link between the first equipment and the second equipment is subjected to the following performance detection. In the embodiment of the application, when performance detection is carried out, the corresponding period is determined according to the time information reported by the first equipment and the second equipment, the flexibility of deployment of the performance detection of the road can be improved, and the matching of the performance data in the corresponding period is more accurate.
Based on the foregoing embodiments, the embodiment of the present application provides a method for detecting the performance of a road, and fig. 6 is a schematic flow chart of the method for detecting the performance of a road, as shown in fig. 6, including:
in step S601, the receiving end and the transmitting end realize time synchronization based on PTP.
In the embodiment of the application, after the synchronization is realized by PTP, the time error of the receiving end and the sending end is within microsecond level.
Step S602, after receiving the message with performance detection dyeing, the receiving end continuously identifies the dyeing mark therein and makes message statistics, and judges the turning point of the dyeing based on the statistics result.
In the embodiment of the application, the inversion point of the dyeing can be regarded as a cycle boundary point.
For example, when the receiving end continuously receives the message with the dyeing mark of 0 and then receives the message with the dyeing mark of 1, the message may be a period turning point or an out-of-order message arrives, and after continuously receiving n messages with the dyeing mark of 1, the receiving end may determine that the message is a period turning point. After the judgment of the turning point of several periods, the period time information of the transmitting end can be determined, the receiving end can record the time position, and then the turning point of the next period can be pre-judged based on the period time information.
In step S603, the sending end and the receiving end report the performance data to the centralized detection unit.
In the embodiment of the application, when the sending end and the receiving end report the performance data, the period number is not required to be reported, but the time information when the performance data is generated is reported along with the performance data.
In step S604, after the centralized detection unit collects the performance data reported by the sending end and the receiving end, the periodic time information of the performance data of the sending end and the receiving end is compared, and when the periodic time information of the sending end and the receiving end is within a certain range, the performance data of the corresponding period is determined.
Because the transmission from the transmitting end to the receiving end is through the network, the network transmission delay is usually within 10 milliseconds (including the optical fiber transmission delay and the node processing delay). While the period of performance statistics is above the order of seconds, at least 1 second, with orders of magnitude difference. Therefore, when the time information of the transmitting side and the receiving side is within a certain range, the group of data can be considered as data of the same period. For example, the data time information deviation of the transmitting end and the receiving end is within plus or minus 100ms, and the data is considered as data in the same period, so that the matching of the data in each period is realized.
In practical application, the centralized detection unit can be integrated with devices such as a network manager and a controller, or can be independent devices which are specially centralized for detection.
According to the method provided by the embodiment of the application, the receiving end and the transmitting end realize accurate time synchronization based on PTP, and the matching of the period turning point and the period sequence number of the performance detection data is performed on the basis. When the receiving end receives the message with performance detection dyeing, the dyeing mark is continuously identified and the message statistics is carried out, the turning point of the dyeing, namely the period boundary point, is judged based on the statistical result, the receiving end determines the period time information of the transmitting end, the receiving end can record the period time information, and then the turning point of the next period can be pre-judged based on the period time information. When the sending end and the receiving end report the performance data, the number of the reporting period is not needed, but the time information when the performance data is generated is reported along with the performance data. And when the period time information of the sending end and the receiving end is judged to be in a certain range, the group of data in the period time is determined to be data in the same period, and then performance detection is carried out on the data in the same period.
According to the method provided by the embodiment of the application, after the time synchronization is realized by the receiving end and the sending end, detection and matching are performed based on the time information, the receiving end and the sending end do not need to adopt the same cycle time and the same detection cycle number, so that the flexibility and the accuracy of the road performance detection deployment are improved.
Based on the foregoing embodiments, the embodiments of the present application provide a channel performance detection apparatus, where each module included in the apparatus and each unit included in each module may be implemented by a processor in a computer device; of course, the method can also be realized by a specific logic circuit; in practice, the processor may be a central processing unit (CPU, central Processing Unit), a microprocessor (MPU, microprocessor Unit), a digital signal processor (DSP, digital Signal Processing), or a field programmable gate array (FPGA, field Programmable Gate Array), or the like.
Fig. 7 is a schematic structural diagram of the channel associated performance detection device according to the embodiment of the present application, as shown in fig. 7, where the channel associated performance detection device 700 includes:
the receiving module 701 is configured to receive service messages sent by the first device and marked according to a period, where marking information of the service messages in the same period is the same, and marking information of service messages in adjacent periods is different.
A first determining module 702, configured to determine cycle turnover points of each cycle based on the label information of the service packet.
The second determining module 703 is configured to determine first performance data of each period according to the period turning point of each period, and record first time information corresponding to the first performance data of each period.
And a transmitting module 704, configured to transmit the first performance data of each period and the time information generated by the first performance data of each period to the detecting unit, so that the detecting unit performs performance detection according to the first performance data of each period and the time information generated by the first performance data of each period.
Wherein the first device and itself implement time synchronization based on a time synchronization protocol.
In some embodiments, the first determining module 702 includes:
the first determining unit is used for determining a period turning point of a first period when the first marking information is continuously received and then N second marking information is continuously received;
the second determining unit is used for determining a period turning point of a second period when the second marking information is continuously received and then N first marking information is continuously received, wherein N is larger than a preset value, and the first period is adjacent to the second period;
And a third determining unit configured to determine a cycle turning point of each cycle at least according to the cycle turning point of the first cycle and the cycle turning point of the second cycle.
In some embodiments, the third determining unit comprises:
and the first determining subunit is used for determining the period duration at least according to the time information of the period turning point of the first period and the time information of the period turning point of the second period.
And the second determining subunit is used for determining the period turning point of each period 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.
In some embodiments, the second determination subunit is further to:
determining a cycle number difference value between each cycle and a reference cycle, wherein the reference cycle is the first cycle or the second cycle;
determining a time difference value between each period and the reference period according to the period duration and the period number difference value;
and determining the period turning point of each period according to the time information of the period turning point of the reference period and the time difference value corresponding to each period.
The embodiment of the application further provides a device for detecting the road following performance, which comprises:
the first acquisition module is used for acquiring second performance data and corresponding second time information of each period reported by the first equipment;
the second acquisition module is used for acquiring first performance data of each period and corresponding first time information, which are reported by the second equipment, wherein the first performance data of each period is determined based on a service message which is sent by the first equipment and marked according to the period, and the first equipment and the second equipment realize time synchronization based on a time synchronization protocol;
and the detection module is used for detecting the path following performance of the communication link between the first equipment and the second equipment according to the second performance data and the corresponding second time information of each period, the first performance data and the corresponding first time information of each period.
In some embodiments, the detection module comprises:
a fourth determining unit, configured to determine a first target time and a second target time according to each second time information and each first time information, where a difference between the first target time and the second target time is smaller than a preset duration threshold;
And the detection unit is used for carrying out path performance detection on the communication link between the first equipment and the second equipment based on the first performance data corresponding to the first target time and the second performance data corresponding to the second target time.
And carrying out path performance detection on the communication link between the first equipment and the second equipment by data.
In some embodiments, the detection unit comprises:
a third determining subunit, configured to determine a difference between the number of packets with marks in the first performance data corresponding to the first target time and the number of packets with marks in the second performance data corresponding to the second target time to obtain a packet loss number;
and the first detection subunit is used for determining the packet loss rate of the communication link between the first equipment and the second equipment according to the packet loss number.
In some embodiments, the detection unit comprises:
a fourth determination subunit configured to determine a time difference between first timestamp information in the first performance data and second timestamp information in the second performance data;
and the second detection subunit is used for determining the time delay of the communication link between the first device and the second device according to the time difference value.
The description of the apparatus embodiments above is similar to that of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, please refer to the description of the embodiments of the method of the present application.
It should be noted that, in the embodiment of the present application, if the above-mentioned method for detecting the road following performance is implemented in the form of a software functional module, and sold or used as a separate product, the method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes. Thus, embodiments of the application are not limited to any specific combination of hardware and software.
Accordingly, an embodiment of the present application provides a computer-readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the road-following performance detection method provided in the above embodiment.
An embodiment of the present application provides a channel associated performance detection apparatus, and fig. 8 is a schematic diagram of a composition structure of the channel associated performance detection apparatus provided by the embodiment of the present application, as shown in fig. 8, where the channel associated performance detection apparatus 800 includes: a processor 801, at least one communication bus 802, a user interface 803, at least one external communication interface 804, and memory 805. Wherein the communication bus 802 is configured to enable connected 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, among others. Wherein the processor 801 is configured to execute a program of the road following performance detection method stored in the memory to implement the steps in the road following performance detection method provided in the above embodiment
The description of the above embodiments of the channel associated performance detection apparatus and storage medium is similar to that of the above embodiments of the method, with similar advantageous effects as those of the embodiments of the method. For technical details not disclosed in the following performance detection apparatus and the storage medium embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.
It should be noted here that: the description of the storage medium and apparatus embodiments above is similar to that of the method embodiments described above, with similar benefits as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and the apparatus of the present application, please refer to the description of the method embodiments of the present application.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application. The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present application may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied essentially or in part contributing to the prior art in the form of a software product stored in a storage medium, comprising instructions for causing an AC to perform all or part of the methods described in the various embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
The foregoing is merely an embodiment of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for detecting channel associated performance, applied to a second device, comprising:
Receiving service messages which are sent by a first device and marked according to the period, wherein the marking information of the service messages in the same period is the same, and the marking information of the service messages in adjacent periods is different;
determining cycle turning points of each cycle based on the marking information of the service message;
determining first performance data of each period according to the period turning point of each period, and recording first time information corresponding to the first performance data of each period;
sending the first performance data and the corresponding first time information of each period to a detection unit, so that the detection unit performs performance detection according to the first performance data and the corresponding first time information of each period;
wherein the first device and the second device achieve time synchronization based on a time synchronization protocol;
the determining the period turning point of each period based on the marking information of the service message comprises the following steps:
when N pieces of second mark information are continuously received after the first mark information is continuously received, determining a period turning point of a first period;
when the second mark information is continuously received and then N first mark information is continuously received, determining a period turning point of a second period, wherein N is larger than a preset value, and the first period and the second period are adjacent;
Determining a cycle turnover point for each cycle based at least on the cycle turnover point for the first cycle and the cycle turnover point for the second cycle;
wherein the determining the period turning point of each period based at least on the period turning point of the first period and the period turning point of the second period comprises:
determining a period duration at least according to the time information of the period turning point of the first period and the time information of the period turning point of the second period;
and determining the period turning point of each period 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.
2. The method of claim 1, wherein the determining the cycle turnover point for each cycle based on the time information of the cycle turnover point for the first cycle and the cycle duration, or based on the time information of the cycle turnover point for the second cycle and the cycle duration, comprises:
determining a cycle number difference value between each cycle and a reference cycle, wherein the reference cycle is the first cycle or the second cycle;
determining a time difference value between each period and the reference period according to the period duration and the period number difference value;
And determining the period turning point of each period according to the time information of the period turning point of the reference period and the time difference value corresponding to each period.
3. The method for detecting the following performance is characterized by comprising the following steps of:
acquiring second performance data and corresponding second time information of each period reported by first equipment;
acquiring first performance data of each period and corresponding first time information, which are reported by second equipment, wherein the first performance data of each period is determined based on a service message which is sent by the first equipment and marked according to the period, and the first equipment and the second equipment realize time synchronization based on a time synchronization protocol;
detecting the path following performance of a communication link between the first equipment and the second equipment according to the second performance data and the corresponding second time information of each period, the first performance data and the corresponding first time information of each period;
the first performance data is determined by the second device according to the service message which is sent by the first device and marked according to the period;
the second device determines the first performance data according to the service message which is sent by the first device and marked according to the period, and the method comprises the following steps:
The second equipment determines cycle turning points of each cycle based on the marking information of the service message; determining first performance data of each period according to the period turning point of each period;
the second device determines cycle turning points of each cycle based on the marking information of the service message, and the method comprises the following steps:
when the second equipment continuously receives the first mark information and then continuously receives N pieces of second mark information, determining a periodic turning point of a first period;
when the second device continuously receives the second mark information and then continuously receives N first mark information, determining a period turning point of a second period, wherein N is larger than a preset value, and the first period is adjacent to the second period;
the second device determines a period duration at least according to the time information of the period turning point of the first period and the time information of the period turning point of the second period;
the second device determines the period turning point of each period 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.
4. A method according to claim 3, wherein performing channel associated performance detection of the communication link between the first device and the second device based on the second performance data and the corresponding second time information for each period, the first performance data and the corresponding first time information for each period, comprises:
Determining a first target time from each piece of first time information according to each piece of second time information and each piece of first time information, and determining a second target time corresponding to the first target time from each piece of second time information, wherein the difference between the first target time and the second target time is smaller than a preset duration threshold;
and performing path performance detection on the communication link between the first equipment and the second equipment based on the first performance data corresponding to the first target time and the second performance data corresponding to the second target time.
5. The method of claim 4, wherein the performance detection is packet loss detection, and wherein performing the path 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 comprises:
determining the difference between the number of the marked messages in the first performance data corresponding to the first target time and the number of the marked messages in the second performance data corresponding to the second target time to obtain the packet loss number;
and determining the packet loss rate of the communication link between the first equipment and the second equipment according to the packet loss quantity.
6. The method of claim 4, wherein the performance detection is a latency detection, wherein the performing the path 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 comprises:
determining a time difference between first timestamp information in the first performance data and second timestamp information in the second performance data;
and determining the time delay of the communication link between the first device and the second device according to the time difference value.
7. A road performance detection apparatus, the apparatus comprising:
the receiving module is used for receiving the service messages which are sent by the first equipment and marked according to the period, wherein the marking information of the service messages in the same period is the same, and the marking information of the service messages in adjacent periods is different;
the first determining module is used for determining cycle turning points of each cycle based on the marking information of the service message;
the second determining module is used for determining first performance data of each period according to the period turning point of each period and recording time information generated by the first performance data of each period;
The sending module is used for sending the first performance data of each period and the time information generated by the first performance data of each period to the detection unit so that the detection unit can perform performance detection according to the first performance data of each period and the time information generated by the first performance data of each period;
the first equipment and the channel associated performance detection device realize time synchronization based on a time synchronization protocol;
wherein the first determining module includes:
the first determining unit is used for determining a period turning point of the first period when the first marking information is continuously received and then the N second marking information is continuously received;
the second determining unit is used for determining a period turning point of a second period when the second marking information is continuously received and then N first marking information is continuously received, wherein N is larger than a preset value, and the first period is adjacent to the second period;
a third determining unit configured to determine a cycle turning point of each cycle at least according to the cycle turning point of the first cycle and the cycle turning point of the second cycle;
wherein the third determining unit includes:
a first determining subunit, configured to determine a period duration at least according to time information of a period turning point of the first period and time information of a period turning point of the second period;
And the second determining subunit is used for determining the period turning point of each period 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.
8. A road performance detection apparatus, the apparatus comprising:
the first acquisition module is used for acquiring second performance data of each period and time information generated by the second performance data of each period, which are reported by the first equipment;
the second acquisition module acquires first performance data of each period and time information generated by the first performance data of each period, which are reported by the second equipment, wherein the first performance data of each period is determined based on a service message which is sent by the first equipment and marked according to the period, and the first equipment and the second equipment realize time synchronization based on a time synchronization protocol;
the detection module is used for carrying out path performance detection on the communication link between the first equipment and the second equipment according to the second performance data of each period, the time information generated by the second performance data of each period, the first performance data of each period and the time information generated by the first performance data of each period, wherein the first equipment and the second equipment realize time synchronization based on a time synchronization protocol;
The first performance data is determined by the second device according to the service message which is sent by the first device and marked according to the period;
the second device is further configured to determine a period turning point of each period based on the tag information of the service packet; determining first performance data for each cycle according to the cycle turnover point of each cycle;
the second device is further configured to determine a period turning point of the first period when N pieces of second tag information are continuously received after the first tag information is continuously received; when the second mark information is continuously received and then N first mark information is continuously received, determining a period turning point of a second period, wherein N is larger than a preset value, and the first period and the second period are adjacent; determining a cycle turnover point for each cycle based at least on the cycle turnover point for the first cycle and the cycle turnover point for the second cycle;
the second device is further configured to determine a period duration at least according to the time information of the period turning point of the first period and the time information of the period turning point of the second period; and determining the period turning point of each period 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.
9. A channel associated performance detection apparatus, the apparatus comprising at least:
a processor; and
a memory for storing a computer program executable on the processor;
wherein the computer program when executed by a processor implements the steps of the road-following performance detection method of any one of claims 1 to 6.
10. A computer-readable storage medium having stored therein computer-executable instructions configured to perform the steps of the road-following performance detection method of any one of the preceding claims 1 to 6.
CN202010000668.1A 2020-01-02 2020-01-02 Method, device, equipment and computer readable storage medium for detecting following path performance Active CN113067740B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010000668.1A CN113067740B (en) 2020-01-02 2020-01-02 Method, device, equipment and computer readable storage medium for detecting following path performance
PCT/CN2020/141786 WO2021136449A1 (en) 2020-01-02 2020-12-30 Associated performance measurement method and apparatus, device, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010000668.1A CN113067740B (en) 2020-01-02 2020-01-02 Method, device, equipment and computer readable storage medium for detecting following path performance

Publications (2)

Publication Number Publication Date
CN113067740A CN113067740A (en) 2021-07-02
CN113067740B true CN113067740B (en) 2023-09-05

Family

ID=76558141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010000668.1A Active CN113067740B (en) 2020-01-02 2020-01-02 Method, device, equipment and computer readable storage medium for detecting following path performance

Country Status (2)

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

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113644998B (en) * 2021-08-23 2023-06-09 烽火通信科技股份有限公司 IOAM time delay measuring method and device for 5G network
CN116366494A (en) * 2021-12-28 2023-06-30 中国移动通信有限公司研究院 Stream following detection method, device, network equipment and storage medium
CN115442272B (en) * 2022-08-15 2024-05-14 中国银联股份有限公司 Method, device, equipment and storage medium for detecting lost data
CN115065618B (en) * 2022-08-18 2022-11-29 广州中和互联网技术有限公司 Method and system for detecting reliability of acquired data based on time sequence analysis

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904775A (en) * 2012-09-29 2013-01-30 华为技术有限公司 Method, apparatus and system for measuring network packet loss
CN103380596A (en) * 2010-12-09 2013-10-30 领特德国有限公司 MAC cycle alignment method for neighboring network coordination
WO2014101187A1 (en) * 2012-12-31 2014-07-03 华为技术有限公司 Ip performance measurement method and device
CN105281969A (en) * 2014-07-04 2016-01-27 华为技术有限公司 Statistical information acquisition method and device
CN107547300A (en) * 2017-06-16 2018-01-05 新华三技术有限公司 A kind of network quality detection method and device
CN107996023A (en) * 2016-11-23 2018-05-04 华为技术有限公司 Monitor method, equipment and the Virtual Networking System of virtual network
CN108809771A (en) * 2018-08-10 2018-11-13 锐捷网络股份有限公司 SDN network data stream monitoring method, SDN controllers, switching equipment and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018049649A1 (en) * 2016-09-18 2018-03-22 华为技术有限公司 Network performance measurement method and device
CN116208525A (en) * 2018-06-06 2023-06-02 华为技术有限公司 Method, equipment and system for detecting data message

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103380596A (en) * 2010-12-09 2013-10-30 领特德国有限公司 MAC cycle alignment method for neighboring network coordination
CN102904775A (en) * 2012-09-29 2013-01-30 华为技术有限公司 Method, apparatus and system for measuring network packet loss
WO2014101187A1 (en) * 2012-12-31 2014-07-03 华为技术有限公司 Ip performance measurement method and device
CN105281969A (en) * 2014-07-04 2016-01-27 华为技术有限公司 Statistical information acquisition method and device
CN107996023A (en) * 2016-11-23 2018-05-04 华为技术有限公司 Monitor method, equipment and the Virtual Networking System of virtual network
CN107547300A (en) * 2017-06-16 2018-01-05 新华三技术有限公司 A kind of network quality detection method and device
CN108809771A (en) * 2018-08-10 2018-11-13 锐捷网络股份有限公司 SDN network data stream monitoring method, SDN controllers, switching equipment and system

Also Published As

Publication number Publication date
CN113067740A (en) 2021-07-02
WO2021136449A1 (en) 2021-07-08

Similar Documents

Publication Publication Date Title
CN113067740B (en) Method, device, equipment and computer readable storage medium for detecting following path performance
US8335173B2 (en) Inserting time of departure information in frames to support multi-channel location techniques
CN101242230B (en) Clock synchronization aid device and associated clock synchronization device, main communication station and secondary communication station
US8243599B2 (en) Method and apparatus for high resolution passive network latency measurement
US6741952B2 (en) Instrument timing using synchronized clocks
CA2525028A1 (en) System and method for measurement report time stamping to ensure reference time correctness
CN109194561A (en) Select the method, apparatus and storage medium of link
US20130083671A1 (en) Data plane delay kpi monitoring in live network
CN105281969A (en) Statistical information acquisition method and device
US20120147796A1 (en) Radio base station, mobile station, and measurement method
CN105635017B (en) A kind of transmission method and equipment of targeting signal
CN101951300A (en) Method for realizing accurate time tick of Ethernet
JP5515088B2 (en) Method and system for determining a dependency between device parameters and signal parameters of a mobile phone
CN113271612B (en) Reporting method and device for flow information telemetry iFIT detection information
WO2018126757A1 (en) Data processing method and device
CN111405603B (en) Time delay acquisition method, testing device and computer storage medium
JP2018088644A (en) Time synchronization method and time synchronization system between wirelessly-connected terminals
US8989032B2 (en) Systems and methods for measuring frame loss in multipoint networks
CN106549822A (en) The method of the response time of testing time sync message, device and test equipment
CN113282520B (en) EPA system test method, EPA system test equipment and medium
CN112994820B (en) Optical fiber link detection method and device
CN109347589B (en) Data transmission method and network node
CN103813382A (en) Clock synchronization method, device and system
CN112702218A (en) Method, system, network device and storage medium for detecting data transmission quality
EP2398173A1 (en) Remote I/O system and synchronization method in the same

Legal Events

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