Communication link delay measurement system, method and related device

By recording the timestamps of the sending and receiving paths in the communication link delay measurement system, the problems of low link delay measurement accuracy and limited applicable scenarios in the prior art are solved, and high-precision and low-cost link delay measurement are achieved.

CN120263701APending Publication Date: 2025-07-04BOE TECHNOLOGY GROUP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410009463.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-02
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the prior art, link delay measurement methods rely on specific network protocols, have limited applicable scenarios and low measurement accuracy, which cannot meet the optimization needs of modern communication networks.

Method used

A communication link delay measurement system is adopted to determine link delay based on the timestamp by recording the timestamp of the sending and receiving paths. It is suitable for wireless, cable and optical communication links without relying on specific devices or protocols.

Benefits of technology

High-precision link delay measurement in a wide range of scenarios is realized, simplifying the measurement process and reducing time costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120263701A_ABST
    Figure CN120263701A_ABST
Patent Text Reader

Abstract

The invention provides a communication link delay measurement system, a communication link delay measurement method and a related device, which can measure delay parameters of a communication link, can be applied to link delay parameter measurement in a wide range of scenes, and can have relatively high measurement precision. The communication link delay measurement system is characterized in that the communication link delay measurement system is used for measuring the delay of a target communication link; the system comprises: a first transceiver; the first transceiver comprises a first processing module, a first sending path and a first receiving path; the target communication link comprises a first sending path, a first receiving path and a signal transmission path; the first processing module is used for recording a first timestamp when the first processing module provides the test data to the first sending path; recording a second timestamp of feedback data provided by the first receiving path to the first processing module, wherein the feedback data is the same as the test data; and determining the delay of the target communication link based on the first timestamp and the second timestamp.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of data transmission and processing, and particularly relates to a communication link delay measurement system, method, and related device. Background Art

[0002] In modern communication networks, link delay is an important performance metric. Usually, the delay parameter of the link is used to measure the time required for data to travel from the sending end to the receiving end. It can be seen that accurately measuring the delay parameter of the link is of great significance for optimizing the performance of communication networks and communication services.

[0003] Currently, most methods for measuring link delay rely on specific network protocols, with limited applicable scenarios and relatively low measurement accuracy. Summary of the Invention

[0004] This application provides a communication link delay measurement system, method, and related device, which can measure the delay parameter of a communication link, can be applicable to measuring link delay parameters in a wide range of scenarios, and can have high measurement accuracy.

[0005] In a first aspect, an embodiment of this application provides a communication link delay measurement system for measuring the delay of a target communication link; the system includes: a first transceiver device;

[0006] The first transceiver device includes a first processing module, a first transmission path, and a first reception path; the target communication link includes the first transmission path, the first reception path, and a signal transmission path;

[0007] The first processing module is configured to:

[0008] Record a first timestamp when the first processing module provides test data to the first transmission path;

[0009] Record a second timestamp when the first reception path provides feedback data to the first processing module, where the feedback data is the same as the test data;

[0010] Determine the delay of the target communication link based on the first timestamp and the second timestamp.

[0011] In a possible design, in the communication link delay measurement system provided by an embodiment of this application, the first transmission path is configured to perform encoding and modulation processing on the test data, and perform a first signal conversion process on the encoded and modulated signal to obtain a first target signal, and send it to the signal transmission path;

[0012] The first receiving path is used to perform second signal conversion processing on the second target signal received from the signal transmission path, and perform demodulation and decoding processing on the processed signal to obtain the feedback data.

[0013] In specific implementation, the first transceiver device can determine or calculate the delay of the target communication link by recording the time when the first processing module outputs test data and the time stamp when the first processing module receives the feedback data identical to the test data. This process does not depend on a specific test device or a specific network protocol, and can be applied to more communication link test scenarios. The test process of the communication link delay measurement system provided by the embodiments of the present application is simple, and can have high measurement accuracy.

[0014] In a possible design, in the communication link delay measurement system provided by the embodiments of the present application, if the signal transmission path is a transmission path based on wireless communication technology or a transmission path based on cable communication technology, the first signal conversion processing is digital-to-analog conversion processing, and the second signal conversion processing is analog-to-digital conversion processing; or,

[0015] If the signal transmission path is a transmission path based on optical communication technology, the first signal conversion processing is electro-optic conversion processing, and the second signal conversion processing is opto-electric conversion processing.

[0016] In specific implementation, the measurement method provided by the communication link delay measurement system provided by the present application can support measuring the delay parameters of wireless communication links, can also support measuring the delay parameters of optical communication links, and can also support measuring the delay parameters of cable communication links. It can be seen that the communication link delay measurement system provided by the embodiments of the present application can be applicable to a wide range of scenarios.

[0017] In a possible design, in the communication link delay measurement system provided by the embodiments of the present application, the system further includes a second transceiver device; the second transceiver device includes a second sending path, a second receiving path, and a loopback module;

[0018] The target communication link further includes the second sending path and the second receiving path, and the first target signal and the second target signal are different signals;

[0019] The signal transmission path transmits the first target signal to the second receiving path;

[0020] The second receiving path is used to perform the second signal conversion processing on the first target signal, and perform demodulation processing on the processed signal to obtain the test data, and provide the test data to the loopback module;

[0021] The loopback module is used to transmit the received test data to the second transmission path;

[0022] The second transmission path is used to modulate the test data, and perform the first signal conversion process on the modulated signal to obtain the second target signal, and transmit it to the signal transmission path;

[0023] The signal transmission path transmits the second target signal to the first reception path.

[0024] In specific implementation, in the communication link delay measurement system, the first transceiver device and the second transceiver device cooperate to measure the delay parameter of the target communication link. The loopback module can be a processing device with data processing capabilities, such as a processor, etc. The loopback module is a device with data forwarding capabilities. The loopback module can forward the data received from the second reception path to the second transmission path. Devices with transceiver functions in general communication scenarios have such a structure. Thus, in the communication link delay measurement system, the transceiver devices participating in the measurement process of the delay parameter of the target communication link are not special devices, nor do they require additional modifications such as special network protocols.

[0025] In a possible design, an embodiment of the present application provides a communication link delay measurement system, where the delay of the target communication link is the same as half of the target duration, where the target duration is the duration between the second timestamp and the first timestamp.

[0026] In specific implementation, the duration between the second timestamp and the first timestamp recorded by the first transceiver device is equal to or close to the duration required for the test data to be transmitted twice in the target communication link.

[0027] In a possible design, an embodiment of the present application provides a communication link delay measurement system, where the first target signal and the second target signal are the same signal;

[0028] The signal transmission path transmits the first target signal to the first reception path.

[0029] In specific implementation, in the communication link delay measurement system, only the first transceiver device can be used to measure the delay parameter of the target communication link. The signal transmission path can transmit the first target signal sent by the first transceiver device to the first reception path of the first transceiver device, without passing through other devices during this period. It can be seen that the communication link delay measurement system provided by the embodiment of the present application has a low cost.

[0030] In a possible design, an embodiment of the present application provides a communication link delay measurement system. In the system, the time delay of the target communication link is the target duration between the second timestamp and the first timestamp.

[0031] Specifically, during implementation, the duration between the second timestamp and the first timestamp recorded by the first transceiver device is equal to or close to the duration required for the test data to be transmitted once in the target communication link.

[0032] In a second aspect, an embodiment of the present application provides a communication link delay measurement method for measuring the delay of a target communication link. The method includes:

[0033] The first transceiver device records the first timestamp when the first processing module provides test data to the first transmission path. The first transceiver device includes the first processing module, the first transmission path, and the first reception path. The target communication link includes the first transmission path, the first reception path, and the signal transmission path.

[0034] The first transceiver device records the second timestamp when the first reception path provides feedback data to the first processing module. The feedback data is the same as the test data.

[0035] The first transceiver device determines the delay of the target communication link based on the first timestamp and the second timestamp.

[0036] In a possible design, an embodiment of the present application provides a communication link delay measurement method, which further includes:

[0037] The first transmission path encodes and modulates the test data, and performs a first signal conversion process on the encoded and modulated signal to obtain a first target signal, and sends the first target signal to the signal transmission path.

[0038] The first reception path performs a second signal conversion process on the second target signal received from the signal transmission path, and performs a demodulation and decoding process on the processed signal to obtain the feedback data.

[0039] In a possible design, in the communication link delay measurement method provided by an embodiment of the present application, if the signal transmission path is a transmission path based on wireless communication technology or a transmission path based on cable communication technology, the first signal conversion process is a digital-to-analog conversion process, and the second signal conversion process is an analog-to-digital conversion process; or,

[0040] If the signal transmission path is a transmission path based on optical communication technology, the first signal conversion process is an electro-optic conversion process, and the second signal conversion process is an opto-electric conversion process.

[0041] In a possible design, in the communication link delay measurement method provided by an embodiment of the present application, the second target signal is sent by a second transceiver device; wherein, the second transceiver device includes a second transmission path, a second reception path, and a loopback module;

[0042] The method further includes:

[0043] The target communication link transmits the first target signal to the second reception path;

[0044] The second reception path performs the second signal conversion process on the first target signal, and demodulates the processed signal to obtain the test data, and provides the test data to the loopback module;

[0045] The loopback module transmits the received test data to the second transmission path;

[0046] The second transmission path modulates the test data, and performs the first signal conversion process on the modulated signal to obtain the second target signal, and sends it to the signal transmission path;

[0047] The signal transmission path transmits the second target signal to the first reception path.

[0048] In a possible design, in the communication link delay measurement method provided by an embodiment of the present application, the delay of the target communication link is the same as half of the target duration, wherein the target duration is the duration between the second timestamp and the first timestamp.

[0049] In a possible design, in the communication link delay measurement method provided by an embodiment of the present application, the first target signal and the second target signal are the same signal;

[0050] The signal transmission path transmits the first target signal to the first reception path.

[0051] In a possible design, in the communication link delay measurement method provided by an embodiment of the present application, the delay of the target communication link is the target duration between the second timestamp and the first timestamp.

[0052] In a third aspect, an embodiment of the present application provides a communication device, including a first processing module, a first transmission path, and a first reception path;

[0053] The first processing module is configured to: record a first timestamp when the first processing module provides test data to the first transmission path;

[0054] The first transmission path encodes and modulates the test data, and performs a first signal conversion process on the encoded and modulated signal to obtain a first target signal, which is then sent to the signal transmission path;

[0055] The first reception path performs a second signal conversion process on the second target signal received from the signal transmission path, and performs a demodulation and decoding process on the processed signal to obtain feedback data, which is then output to the first processing module, where the feedback data is the same as the test data;

[0056] The processing module is further configured to record a second timestamp at which the first reception path provides the feedback data to the first processing module, where the feedback data is the same as the test data; and determine the delay of the target communication link based on the first timestamp and the second timestamp.

[0057] In a possible design, in the communication device provided by the embodiments of the present application, the second target signal and the first target signal are the same signal.

[0058] In a possible design, in the communication device provided by the embodiments of the present application, the second target signal is sent by a second transceiver device to the signal transmission path, and the signal transmission path transmits the second target signal to the first reception path.

[0059] Fourthly, embodiments of the present application provide a communication device, including a loopback module, a second transmission path, and a second reception path;

[0060] The second reception path is configured to perform the second signal conversion process on the first target signal, and perform a demodulation process on the processed signal to obtain test data, and provide the test data to the loopback module, where the first target signal is sent by a first transceiver device;

[0061] The loopback module is configured to transmit the received test data to the second transmission path;

[0062] The second transmission path is configured to modulate the test data, and perform the first signal conversion process on the modulated signal to obtain the second target signal, which is then sent to the signal transmission path, and the signal transmission path transmits the second target signal to the first transceiver device.

[0063] Fifthly, embodiments of the present application provide a computer storage medium, on which a computer program is stored, and when the program is executed by a processor, the method provided in the second aspect and any of its designs is implemented.

[0064] In a sixth aspect, an embodiment of the present application provides a computer program product. When the computer program product is called by a computer, it causes the computer to execute the method provided in the second aspect and any possible design thereof described above.

[0065] In addition, for the technical effects brought about by the second aspect to the sixth aspect and any possible design thereof, reference may be made to the technical effects brought about by different design manners in the first aspect, which will not be elaborated herein.

[0066] These aspects or other aspects of the present application will be more clearly understood in the following description of the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application, and those of ordinary skill in the art can also obtain other drawings based on these drawings without creative efforts.

[0068] Figure 1 Schematic diagram of the target communication link provided by the embodiment of the present application;

[0069] Figure 2 Schematic diagram of the structure of a communication link delay measurement system provided by the embodiment of the present application;

[0070] Figure 3 Schematic diagram of the structure of a timer provided by the embodiment of the present application;

[0071] Figure 4 Schematic diagram of the structure of a communication link delay measurement system provided by the embodiment of the present application;

[0072] Figure 5 Schematic flowchart of a communication link delay measurement method provided by the embodiment of the present application;

[0073] Figure 6 Schematic flowchart of a communication link delay measurement method provided by the embodiment of the present application;

[0074] Figure 7 Schematic flowchart of a communication link delay measurement method provided by the embodiment of the present application;

[0075] Figure 8 Schematic diagram of the structure of a communication device provided by the embodiment of the present application;

[0076] Figure 9 Schematic diagram of the structure of a communication device provided by the embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0077] In order to make the objectives, technical solutions, and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings. Apparently, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts belong to the scope of protection of the present application.

[0078] In the embodiments of the present application, the term "and / or" describes the association relationship of associated objects and indicates that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.

[0079] The application scenarios described in the embodiments of the present application are for more clearly explaining the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art can know that with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems. Among them, in the description of the present application, unless otherwise specified, the meaning of "a plurality of" is two or more. In the description of the embodiments of the present application, terms such as "first" and "second" are only used for the purpose of distinguishing descriptions and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying an order.

[0080] To accurately measure the link performance, generally, specific hardware devices can be used for measurement, or network protocols can be used for measurement. These methods both require setting additional hardware devices or additional network protocols for the devices in the communication network, making the measurement operation complex, with a large time cost and a limited applicable scenario range.

[0081] In view of this, the embodiments of the present application provide a communication link delay measurement system, method, and related device that can measure the delay parameters of a communication link, can be applicable to measuring link delay parameters in a wide range of scenarios, can have a high measurement accuracy, have a more simplified measurement process, and a lower time cost.

[0082] Figure 1 An exemplary schematic diagram showing the structure of a target communication link is presented. In the embodiments of the present application, the target communication link may include a signal transmission path, a transmission path, and a reception path.

[0083] Optionally, the signal transmission path in the target communication link may be implemented as a transmission path based on wireless communication technology, or a transmission path based on cable communication technology, or a transmission path based on optical communication technology. In the embodiments of the present application, the signal transmission path can be understood as a signal transmission medium. Signals can be transmitted through the signal transmission medium.

[0084] Each transmission path may have a signal modulation function, a first signal conversion and processing function, and a signal transmission function. Each reception path may have a signal demodulation function, a second signal conversion and processing function, and a signal reception function.

[0085] Optionally, the first signal conversion and processing may be a process of converting a digital signal into an analog signal, that is, a digital-to-analog conversion process. The second signal conversion and processing may be a process of converting an analog signal into a digital signal, that is, an analog-to-digital conversion process.

[0086] Alternatively, the first signal conversion and processing may be a process of converting an electrical signal into an optical signal, that is, an electro-optical conversion process. The second signal conversion and processing may be a process of converting an optical signal into an electrical signal, that is, an opto-electronic conversion process.

[0087] The delay t of the target communication link link , may include the delay of the transmission path at the sending end, the signal transmission path delay t s and the delay of the reception path at the receiving end. Among them, the delay of the transmission path is generally the sum of the encoding and modulation delay t d0 and the first signal conversion and processing delay t r0 . The delay of the reception path is generally the sum of the second signal conversion and processing delay t r1 and the demodulation and decoding delay t d1 . It can be seen that tlink = td0 + tr0 + ts + tr1 + td1.

[0088] Figure 2 An exemplary structural schematic diagram of a communication link delay measurement system is shown. The communication link delay measurement system can be used to measure the delay parameters of the target communication link, and can be abbreviated as delay.

[0089] Please refer to Figure 2 , the communication link delay measurement system 100 may include a first transceiver device 201. The first transceiver device 201 may include a first processing module 301, a first transmission path 302, and a first reception path 303. The first processing module may have a timing function, a data processing function, etc.

[0090] The first transmission path 302 may have a modulation function, a first signal conversion and processing function, and a signal transmission function. Optionally, the first transmission path 302 may include a modulation unit, a first signal conversion and processing unit, and a signal transmission unit.

[0091] In the first transmission path 302, the modulation unit can perform modulation processing on the data M1 provided by the first processing module 301 to obtain a modulated signal M2, and then input the modulated signal M2 into the first signal conversion and processing unit. The first signal conversion and processing unit can perform first signal conversion processing on the modulated signal M2 and output a signal to be transmitted M3. The signal to be transmitted M3 can be transmitted via the signal transmitting unit. Optionally, the first processing module 301 can record the timestamp when the first processing module 301 provides the data M1 to the modulation unit.

[0092] The first receiving path 303 can have a demodulation function, a second signal conversion and processing function, and a signal receiving function. Optionally, the first receiving path 303 can include a demodulation unit, a second signal conversion and processing unit, and a signal receiving unit.

[0093] In the first receiving path 303, the signal receiving unit can receive a received signal M4 and output the received signal M4 to the second signal conversion unit. The second signal conversion unit can perform second signal conversion processing on the received signal M4 to obtain a signal to be demodulated M5, and then input the signal to be demodulated M5 into the demodulation unit. The demodulation unit can perform demodulation processing on the signal to be demodulated M5 to obtain data M6. The demodulation unit can send the data M6 to the first processing module 301. Optionally, the first processing module 301 can record the timestamp when the demodulation unit in the first receiving path 303 provides the data M6 to the first processing module 301.

[0094] In some application scenarios, the modulation unit in the first transmission path 302, the demodulation unit in the first receiving path 303, and the first processing module 301 can be integrated in one circuit, or integrated in a digital signal processing chip, or a digital signal processing device.

[0095] It should be understood that the foregoing second signal conversion processing and the first signal conversion processing have a relationship of inverse processing to each other.

[0096] In some possible situations, the target communication link is a wireless communication link or a cable communication link. The first signal conversion and processing unit of the first transmission path 302 in the foregoing embodiment can perform first signal conversion processing on the modulated signal M2, such as converting a digital signal into an analog signal, that is, digital-to-analog conversion processing. The foregoing signal to be transmitted M3 is an analog signal. And, the received signal M4 in the foregoing embodiment is an analog signal. The second signal conversion and processing unit of the first receiving path 303 can perform second signal conversion processing on the received signal M4, such as converting an analog signal into a digital signal, that is, analog-to-digital conversion processing. The foregoing signal to be demodulated M5 is a digital signal.

[0097] It can be seen that if the target communication link is a wireless communication link or a cable communication link, the first signal conversion process is a digital-to-analog conversion process, and the second signal conversion process is an analog-to-digital conversion process. The first signal conversion process and the second signal conversion process are inverse processes of each other.

[0098] In some possible situations, the target communication link is an optical communication link. The first signal conversion processing unit of the first transmission path 302 in the foregoing embodiment can perform the first signal conversion process on the modulation signal M2, such as converting an electrical signal into an optical signal, that is, an electro-optical conversion process. The foregoing signal to be transmitted M3 is an optical signal. And, the received signal M4 in the foregoing embodiment is an optical signal. The second signal conversion processing unit of the first reception path 303 can perform the second signal conversion process on the received signal M4, such as converting an optical signal into an electrical signal, that is, an opto-electronic conversion process. The foregoing signal to be demodulated M5 is an electrical signal.

[0099] It can be seen that if the target communication link is an optical communication link, the first signal conversion process is an electro-optical conversion process, and the second signal conversion process is an opto-electronic conversion process. The first signal conversion process and the second signal conversion process are inverse processes of each other.

[0100] Next, the signal transmitting unit in the first transmission path 302 and the signal receiving unit in the first reception path 303 will be introduced.

[0101] In some examples, the target communication link is a wireless communication link. The signal transmitting unit in the first transmission path 302 may include a first antenna. The signal receiving unit in the first reception path 303 may include a second antenna. Optionally, the first antenna and the second antenna may be the same antenna or different antennas, and the embodiments of the present application do not make specific limitations thereon.

[0102] Optionally, the signal transmitted by the first transmission path 302 is a radio frequency signal. The signal transmitting unit may include a first radio frequency processing circuit, which may have functions such as frequency band selection, power amplification, and antenna selection. The embodiments of the present application do not make specific limitations on the structure of the signal transmitting unit. It should be understood that any device or circuit structure that can achieve the function of the signal transmitting unit in the communication link delay measurement system of the first transmission path 302 of the present application can be used as an implementation manner of the signal transmitting unit in the first transmission path 302.

[0103] The signal receiving unit in the first receiving path 303 may include a second radio frequency processing circuit, which may have functions such as filtering and low-noise amplification. The embodiments of the present application do not specifically limit the structure of the signal receiving unit. It should be understood that any device or circuit structure capable of realizing the function of the signal receiving unit in the first receiving path 303 of the present application in the communication link delay measurement system can be used as an implementation manner of the signal receiving unit in the first receiving path 303.

[0104] In some other examples, the target communication link is an optical fiber communication link. The signal transmitting unit in the first transmitting path 302 may be implemented as a first interface device or a first interface structure between an electro-optical conversion module and a signal transmission medium. The signal receiving unit in the first receiving path 303 may be implemented as a second interface device or a second interface structure between an opto-electronic conversion module and a signal transmission medium. It should be noted that the signal transmission medium is an optical cable. Optionally, the first interface device and the second interface device may be the same interface device or different interface devices, and the embodiments of the present application do not specifically limit this. Or, the first interface structure and the second interface structure may be the same interface structure or different interface structures, and the embodiments of the present application do not specifically limit this.

[0105] In still some other examples, the target communication link is a cable communication link. The signal transmitting unit in the first transmitting path 302 may include a first port physical layer (PHY) chip. The signal transmitting unit may perform signal processing based on the Ethernet communication protocol and then output it to a signal transmission medium, such as a cable. The signal receiving unit in the first receiving path 303 may include a second PHY chip. The signal receiving unit may perform signal processing based on the Ethernet communication protocol and then output it to a second signal conversion and processing unit. Optionally, the first PHY chip and the second PHY chip may be the same PHY chip or different PHY chips, and the embodiments of the present application do not specifically limit this.

[0106] Next, in combination with the structure of the foregoing communication link delay measurement system 100, the working process of measuring the delay of the target communication link will be introduced. In the embodiments of the present application, the feedback data may be understood as the data corresponding to the signal received by the first transceiver device. The test data may be understood as the data corresponding to the signal sent out by the first transceiver device. Among them, the feedback data is the same as the test data, or rather, the form of the feedback data is the same as the form of the test data.

[0107] The first processing module 301 can output preset test data. The first processing module 301 can output the test data to the modulation unit in the first transmission path 302, and the first processing module 301 records the timestamp when the first processing module 301 outputs the test data to the modulation unit, which is denoted as the first timestamp for ease of introduction. Optionally, the preset test data can be 32-bit data. Or, the preset test data can be 64-bit data. Or, the number of bits of the preset test data can be flexibly configured according to the actual application scenario. Optionally, the preset test data can be binary data with a specific number of bits and a specific value.

[0108] The first transmission path 302 can perform encoding and modulation processing on the test data, and perform first signal conversion processing on the encoded and modulated signal to obtain a first target signal, and send it to the signal transmission path.

[0109] The first receiving path 303 can receive a second target signal. In the embodiments of the present application, the second target signal can be the first target signal transmitted by the signal transmission path. In other words, the second target signal and the first target signal are the same signal. The first receiving path 303 can perform second signal conversion processing on the second target signal received from the signal transmission path, and perform demodulation and decoding processing on the processed signal to obtain the feedback data. The first receiving path 303 can send the feedback data to the first processing module 301. The first processing module 301 records the timestamp when the first receiving path 303 provides the feedback data to the first processing module 301, which is denoted as the second timestamp for ease of introduction.

[0110] In some examples, the first processing module 301 can detect any data provided by the first receiving path 303. The first processing module 301 detects whether the any data is the same as the aforementioned test data. If the any data is the same as the test data, it can be reflected that the any data is the aforementioned feedback data. If the any data is not the same as the test data, it can be reflected that the any data is not the feedback data.

[0111] Optionally, the first processing module 301 can record the timestamp of any data provided by the first receiving path 303, and delete the timestamp of the any data when it is detected that the any data is different from the test data, so as to only save the timestamp of the data provided by the first receiving path 303 that is the same as the test data.

[0112] Alternatively, the first processing module 301 may detect any data provided by the first receiving path 303. The first processing module 301 detects whether the any data is the same as the foregoing test data. If the any data is the same as the test data, it can be reflected that the any data is the foregoing feedback data. Then, the first processing module 301 may record the timestamp when it is detected that the any data is the foregoing feedback data as the timestamp when the first receiving path 303 provides the feedback data to the first processing module 301.

[0113] The first processing module 301 may determine the delay of the target communication link based on the first timestamp and the second timestamp. For example, the first processing module 301 may determine the target duration between the second timestamp and the first timestamp as the delay of the target communication link. Specifically, the delay of the target communication link may include the delay during the process from when the first sending path 302 receives the test data to when it transmits the first target signal, the delay during the process of the signal transmission path transmitting the first target signal to the first receiving path 303, and the delay during the process from when the first receiving path 303 receives the second target signal to when it outputs the feedback data to the first processing module 301.

[0114] In some examples, the first processing module 301 includes a timer. Please refer to Figure 3 , the timer may include a reference clock unit, a phase-locked loop unit, and a timing unit. The reference clock unit may use a low-frequency clock crystal oscillator with a stable frequency. The reference clock unit may perform debouncing processing on the signal generated by the crystal oscillator and then output it to the phase-locked loop unit. The phase-locked loop unit may be implemented as a digital phase-locked loop (DPLL) in a digital chip. The phase-locked loop unit may generate a clock signal with a specific frequency according to the reference clock provided by the input reference clock unit. Optionally, the clock signal may be 100 MHz and the clock period may be 10 ns. The timing unit may perform counting according to the output clock signal frequency and the number of cycles to determine the time interval between the first timestamp when the test data is provided to the first sending path 302 recorded by the first processing module 301 and the second timestamp when the first receiving path 303 provides the feedback data to the first processing module 301. In this way of determining the time interval between the first timestamp and the second timestamp, the accuracy can reach the sub-microsecond level.

[0115] Figure 4 An exemplary structural diagram of a communication link delay measurement system is shown. The communication link delay measurement system can be used to measure the delay parameter of the target communication link, which can be simply referred to as delay.

[0116] Please refer to Figure 4 , the communication link delay measurement system 200 may include a first transceiver 201 and a second transceiver 202.

[0117] The first transceiver device 201 may include a first processing module 301, a first transmission path 302, and a first reception path 303. The first processing module may have functions such as timing and data processing.

[0118] The first transmission path 302 may have modulation functions, a first signal conversion and processing function, and a signal emission function. Optionally, the first transmission path 302 may include a modulation unit, a first signal conversion and processing unit, and a signal emission unit.

[0119] In the first transmission path 302, the modulation unit may perform modulation processing on the data P1 provided by the first processing module 301 to obtain a modulated signal P2, and then input the modulated signal P2 to the first signal conversion and processing unit. The first signal conversion and processing unit may perform first signal conversion and processing on the modulated signal P2 and output a signal to be transmitted P3. The signal to be transmitted P3 may be emitted via the signal emission unit. Optionally, the first processing module 301 may record the timestamp of the first processing module 301 providing the data P1 to the modulation unit.

[0120] The first reception path 303 may have demodulation functions, a second signal conversion and processing function, and a signal reception function. Optionally, the first reception path 303 may include a demodulation unit, a second signal conversion and processing unit, and a signal reception unit.

[0121] In the first reception path 303, the signal reception unit may receive a received signal P4 and output the received signal P4 to the second signal conversion unit. The second signal conversion unit may perform second signal conversion and processing on the received signal P4 to obtain a signal to be demodulated P5, and then input the signal to be demodulated P5 to the demodulation unit. The demodulation unit may perform demodulation processing on the signal to be demodulated P5 to obtain data P6. The demodulation unit may send the data P6 to the first processing module 301. Optionally, the first processing module 301 may record the timestamp of the demodulation unit in the first reception path 303 providing the data P6 to the first processing module 301.

[0122] In some application scenarios, the modulation unit in the first transmission path 302, the demodulation unit in the first reception path 303, and the first processing module 301 may be integrated in a circuit, or integrated in a digital signal processing chip, or a digital signal processing device. It should be understood that the aforementioned second signal conversion and processing and the first signal conversion and processing have a relationship of inverse processing to each other.

[0123] In some possible scenarios, the target communication link is a wireless communication link or a cable communication link. The first signal conversion processing unit of the first transmission path 302 in the foregoing embodiments may perform a first signal conversion process on the modulation signal P2, such as converting a digital signal into an analog signal, that is, digital-to-analog conversion processing. The foregoing signal to be transmitted P3 is an analog signal. Also, the received signal P4 in the foregoing embodiments is an analog signal. The second signal conversion processing unit of the first receiving path 303 may perform a second signal conversion process on the received signal P4, such as converting an analog signal into a digital signal, that is, analog-to-digital conversion processing. The foregoing signal to be demodulated P5 is a digital signal.

[0124] It can be seen that if the target communication link is a wireless communication link or a cable communication link, the first signal conversion process is digital-to-analog conversion processing, and the second signal conversion process is analog-to-digital conversion processing. The first signal conversion process and the second signal conversion process are inverse processes of each other.

[0125] In some possible scenarios, the target communication link is an optical communication link. The first signal conversion processing unit of the first transmission path 302 in the foregoing embodiments may perform a first signal conversion process on the modulation signal P2, such as converting an electrical signal into an optical signal, that is, electro-optical conversion processing. The foregoing signal to be transmitted P3 is an optical signal. Also, the received signal P4 in the foregoing embodiments is an optical signal. The second signal conversion processing unit of the first receiving path 303 may perform a second signal conversion process on the received signal P4, such as converting an optical signal into an electrical signal, that is, opto-electronic conversion processing. The foregoing signal to be demodulated P5 is an electrical signal.

[0126] It can be seen that if the target communication link is an optical communication link, the first signal conversion process is electro-optical conversion processing, and the second signal conversion process is opto-electronic conversion processing. The first signal conversion process and the second signal conversion process are inverse processes of each other.

[0127] Please refer again to Figure 4 , the second transceiver device 202 may include a loopback module 401, a second transmission path 402, and a second receiving path 403.

[0128] The second receiving path 403 may have a demodulation function, a second signal conversion processing function, and a signal receiving function. Optionally, the second receiving path 403 may include a demodulation unit, a second signal conversion processing unit, and a signal receiving unit.

[0129] In the second receiving path 403, the signal receiving unit can receive the received signal P4 and output the received signal P4 to the second signal conversion unit. The second signal conversion unit can perform a second signal conversion process on the received signal P4 to obtain a signal to be demodulated P5, and then input the signal to be demodulated P5 to the demodulation unit. The demodulation unit can perform a demodulation process on the signal to be demodulated P5 to obtain data P6. The demodulation unit can send the data P6 to the loopback module 401.

[0130] The loopback module 401 is configured to send the signal provided by the second receiving path 403 to the second transmitting path 402.

[0131] The second transmitting path 402 can have a modulation function, a first signal conversion process function, and a signal transmitting function. Optionally, the second transmitting path 402 can include a modulation unit, a first signal conversion processing unit, and a signal transmitting unit.

[0132] In the second transmitting path 402, the modulation unit can perform a modulation process on the data P1 provided by the loopback module 401 to obtain a modulated signal P2, and then input the modulated signal P2 to the first signal conversion processing unit. The first signal conversion processing unit can perform a first signal conversion process on the modulated signal P2 and output a signal to be transmitted P3. The signal to be transmitted P3 can be transmitted via the signal transmitting unit.

[0133] In some application scenarios, the modulation unit in the second transmitting path 402, the demodulation unit in the second receiving path 403, and the loopback module 401 can be integrated in a circuit, or integrated in a digital signal processing chip, or a digital signal processing device. It should be understood that the foregoing second signal conversion process and the first signal conversion process have a relationship of inverse processes.

[0134] In some possible situations, the target communication link is a wireless communication link or a cable communication link. The first signal conversion processing unit of the second transmitting path 402 in the foregoing embodiments can perform a first signal conversion process on the modulated signal P2, such as digital signal to analog signal conversion processing, that is, digital-to-analog conversion processing. The foregoing signal to be transmitted P3 is an analog signal. And, the received signal P4 in the foregoing embodiments is an analog signal. The second signal conversion processing unit of the second receiving path 403 can perform a second signal conversion process on the received signal P4, such as analog signal to digital signal conversion processing, that is, analog-to-digital conversion processing. The foregoing signal to be demodulated P5 is a digital signal.

[0135] It can be seen that if the target communication link is a wireless communication link or a cable communication link, the first signal conversion process is digital-to-analog conversion processing, and the second signal conversion process is analog-to-digital conversion processing. The first signal conversion process and the second signal conversion process are inverse processes of each other.

[0136] In some possible scenarios, the target communication link is an optical communication link. The first signal conversion processing unit of the second transmission path 402 in the foregoing embodiments can perform first signal conversion processing on the modulation signal P2, such as converting an electrical signal into an optical signal, that is, electro-optical conversion processing. The to-be-transmitted signal P3 is an optical signal. Also, the received signal P4 in the foregoing embodiments is an optical signal. The second signal conversion processing unit of the second reception path 403 can perform second signal conversion processing on the received signal P4, such as converting an optical signal into an electrical signal, that is, opto-electronic conversion processing. The to-be-demodulated signal P5 is an electrical signal.

[0137] It can be seen that if the target communication link is an optical communication link, the first signal conversion processing is electro-optical conversion processing, and the second signal conversion processing is opto-electronic conversion processing. The first signal conversion processing and the second signal conversion processing are inverse processes of each other.

[0138] For the relevant introduction of the signal transmission unit in the second transmission path 402 and the signal reception unit in the second interface path 403 in the embodiments of the present application, reference can be made to the relevant introduction of the signal transmission unit in the first transmission path 302 and the signal reception unit in the first reception path 303 in the foregoing communication link delay measurement system 100, which will not be elaborated here.

[0139] Next, in combination with the structure of the foregoing communication link delay measurement system 200, the working process of measuring the delay of the target communication link will be introduced. In the embodiments of the present application, the feedback data can be understood as the data corresponding to the signal received by the first transceiver device. The test data can be understood as the data corresponding to the signal sent by the first transceiver device. Among them, the feedback data is the same as the test data, or rather, the form of the feedback data is the same as the form of the test data.

[0140] The first processing module 301 can output preset test data. The first processing module 301 can output the test data to the modulation unit in the first transmission path 302, and the first processing module 301 records the time stamp when the first processing module 301 outputs the test data to the modulation unit, which is conveniently denoted as the first time stamp. Optionally, the preset test data can be 32-bit data. Or, the preset test data can be 64-bit data. Or, the number of bits of the preset test data can be flexibly configured according to the actual application scenario. Optionally, the preset test data can be binary data with a specific number of bits and a specific value.

[0141] The first transmission path 302 can perform encoding and modulation processing on the test data, and perform first signal conversion processing on the encoded and modulated signal to obtain a first target signal, and send it to the signal transmission path.

[0142] The signal transmission path transmits the first target signal to the second receiving path 403 of the second transceiver device 202. The second receiving path 403 can receive the first target signal. The second receiving path 403 can perform a second signal conversion process on the first target signal received from the signal transmission path, and perform a demodulation and decoding process on the processed signal to obtain the aforementioned test data. The second receiving path 403 can send the test data to the loopback module 401.

[0143] The loopback module 401 outputs the test data provided by the second receiving path 403 to the second sending path 402. The second sending path 402 can perform an encoding and modulation process on the test data, and perform a first signal conversion process on the encoded and modulated signal to obtain a second target signal, and send it to the signal transmission path. In the embodiment of the present application, the form or content of the second target signal is the same as that of the first target signal. However, the first target signal and the second target signal are not the same signal. Among them, the second target signal is generated by the second transceiver device 202, rather than by the first transceiver device 201.

[0144] The signal transmission path transmits the second target signal provided by the second transceiver device 202 to the first receiving path 303 of the first transceiver device 201. The first receiving path 303 can perform a second signal conversion process on the second target signal received from the signal transmission path, and perform a demodulation and decoding process on the processed signal to obtain the feedback data. The first receiving path 303 can send the feedback data to the first processing module 301. The first processing module 301 records the timestamp when the first receiving path 303 provides feedback data to the first processing module 301, which is conveniently referred to as the second timestamp.

[0145] In some examples, the first processing module 301 can detect any data provided by the first receiving path 303. The first processing module 301 detects whether the any data is the same as the aforementioned test data. If the any data is the same as the test data, it can be reflected that the any data is the aforementioned feedback data. If the any data is not the same as the test data, it can be reflected that the any data is not feedback data.

[0146] Optionally, the first processing module 301 can record the timestamp of any data provided by the first receiving path 303, and delete the timestamp of the any data when it is detected that the any data is different from the test data, so as to realize only saving the timestamp of the data provided by the first receiving path 303 that is the same as the test data.

[0147] Alternatively, the first processing module 301 may detect any data provided by the first receiving path 303. The first processing module 301 detects whether the any data is the same as the aforementioned test data. If the any data is the same as the test data, it can be reflected that the any data is the aforementioned feedback data. Then, the first processing module 301 may record the timestamp when it is detected that the any data is the aforementioned feedback data as the timestamp when the first receiving path 303 provides the feedback data to the first processing module 301.

[0148] The first processing module 301 may determine the delay of the target communication link based on the first timestamp and the second timestamp. For example, the first processing module 301 may determine half of the target duration between the second timestamp and the first timestamp as the delay of the target communication link.

[0149] Specifically, the target duration between the second timestamp and the first timestamp may include the delay during the process from when the first sending path 302 receives the test data to when it transmits the first target signal, the delay during the process of the signal transmission path transmitting the first target signal to the second receiving path 403, the delay during the process from when the second receiving path 403 receives the first target signal to when it outputs the test data to the loopback module 401, and the delay during the process from when the loopback module 401 provides the test data to the second sending path 402 to when the second sending path 402 transmits the second target signal, the delay during the process of the signal transmission path transmitting the second target signal to the first receiving path 303, and the delay during the process from when the first receiving path 303 receives the second target signal to when it outputs the feedback data to the first processing module 301.

[0150] In an actual application scenario, the delay of the target communication link includes the delay during the process from when the first sending path 302 receives the test data to when it transmits the first target signal, the delay during the process of the signal transmission path transmitting the first target signal to the second receiving path 403, and the delay during the process from when the second receiving path 403 receives the first target signal to when it outputs the test data to the loopback module 401.

[0151] It can be seen that the delay of the target communication link is close to half of the aforementioned target duration. Thus, the first processing module 301 may determine half of the target duration between the second timestamp and the first timestamp as the delay of the target communication link.

[0152] In some examples, the first processing module 301 includes a timer. Please combine Figure 3, the timer may include a reference clock unit, a phase-locked loop unit, and a timing unit. The reference clock unit may employ a low-frequency clock crystal oscillator with a stable frequency. The reference clock unit may perform debouncing processing on the signal generated by the crystal oscillator and then output it to the phase-locked loop unit. The phase-locked loop unit may be implemented as a digital phase-locked loop (DPLL) in a digital chip. The phase-locked loop unit may generate a clock signal with a specific frequency based on the reference clock provided by the input reference clock unit. Optionally, the clock signal may be 100 MHz, and the clock period may be 10 ns. The timing unit may perform counting based on the output clock signal frequency and the number of cycles to determine the time interval between the first timestamp when the first processing module 301 records providing the test data to the first transmission path 302 and the second timestamp when the first reception path 303 provides the feedback data to the first processing module 301. In this way of determining the time interval between the first timestamp and the second timestamp, the accuracy can reach the sub-microsecond level.

[0153] Based on the communication link delay measurement system provided in any one of the above embodiments, an embodiment of the present application also provides a communication link delay measurement method, which may be executed by the communication link delay measurement system.

[0154] Figure 5 Exemplarily, a communication link delay measurement method is shown, which may include the following steps:

[0155] S501, the first transceiver device records the first timestamp when the first processing module provides test data to the first transmission path.

[0156] The first transceiver device includes the first processing module, the first transmission path, and the first reception path, and the target communication link includes the first transmission path, the first reception path, and the signal transmission path.

[0157] S502, the first transceiver device records the second timestamp when the first reception path provides feedback data to the first processing module, and the feedback data is the same as the test data.

[0158] S503, the first transceiver device determines the delay of the target communication link based on the first timestamp and the second timestamp.

[0159] In a possible implementation manner, the first transmission path performs encoding and modulation processing on the test data, and performs first signal conversion processing on the encoded and modulated signal to obtain a first target signal, and then sends it to the signal transmission path. The first reception path performs second signal conversion processing on the second target signal received from the signal transmission path, and performs demodulation and decoding processing on the processed signal to obtain the feedback data.

[0160] Optionally, if the signal transmission path is a transmission path based on wireless communication technology or a transmission path based on cable communication technology, the first signal conversion is digital-to-analog conversion processing, and the second signal conversion is analog-to-digital conversion processing; or, if the signal transmission path is a transmission path based on optical communication technology, the first signal conversion is electro-optical conversion processing, and the second signal conversion is opto-electronic conversion processing.

[0161] In a possible implementation, the second target signal is sent by a second transceiver device; wherein, the second transceiver device includes a second transmission path, a second reception path, and a loopback module;

[0162] The method further includes:

[0163] The target communication link transmits the first target signal to the second reception path;

[0164] The second reception path performs the second signal conversion processing on the first target signal, and demodulates the processed signal to obtain the test data, and provides the test data to the loopback module;

[0165] The loopback module transmits the received test data to the second transmission path;

[0166] The second transmission path modulates the test data, and performs the first signal conversion processing on the modulated signal to obtain the second target signal, and sends it to the signal transmission path;

[0167] The signal transmission path transmits the second target signal to the first reception path.

[0168] In this implementation, the delay of the target communication link is the same as half of the target duration, where the target duration is the duration between the second timestamp and the first timestamp.

[0169] In another possible implementation, the first target signal and the second target signal are the same signal; the signal transmission path transmits the first target signal to the first reception path.

[0170] In this implementation, the delay of the target communication link is the target duration between the second timestamp and the first timestamp.

[0171] Figure 6 Exemplarily, a communication link delay measurement method is shown, which can be executed by a first transceiver device. The method may include the following steps:

[0172] S601, the first processing module provides test data to the first sending path.

[0173] S602, the first processing module records the first timestamp when the first processing module provides test data to the first sending path.

[0174] S603, the first processing module receives the feedback data provided by the first receiving path, where the feedback data is the same as the test data.

[0175] S604, the first processing module records the second timestamp when the first receiving path provides the feedback data to the first processing module.

[0176] S605, the first processing module determines the delay of the target communication link based on the first timestamp and the second timestamp.

[0177] Figure 7 Exemplarily, a method for measuring the communication link delay is shown, which can be executed by the second transceiver device. The method may include the following steps:

[0178] S701, the second receiving path receives the first target signal, and the first target signal is sent by the first transceiver device.

[0179] S702, the second receiving path performs the second signal conversion processing on the first target signal, and demodulates the processed signal to obtain test data, and provides the test data to the loopback module. The first processing module provides test data to the first sending path.

[0180] S703, the loopback module transmits the test data to the second sending path.

[0181] S704, the second sending path modulates the test data, and performs the first signal conversion processing on the modulated signal to obtain the second target signal, and sends the second target signal.

[0182] Based on the same inventive concept, an embodiment of the present application further provides a communication device. As Figure 8 shown, the communication device can be implemented as the aforementioned first transceiver device. The communication device may include a first processing module, a first sending path, and a first receiving path;

[0183] The first processing module is used to: record the first timestamp when the first processing module provides test data to the first sending path;

[0184] The first sending path performs encoding and modulation processing on the test data, and performs the first signal conversion processing on the encoded and modulated signal to obtain a first target signal, and sends it to the signal transmission path;

[0185] The first receiving path performs a second signal conversion process on the second target signal received from the signal transmission path, and demodulates and decodes the processed signal to obtain feedback data, and outputs the feedback data to the first processing module, where the feedback data is the same as the test data;

[0186] The processing module is further configured to record a second timestamp at which the first receiving path provides feedback data to the first processing module, where the feedback data is the same as the test data; and determine the delay of the target communication link based on the first timestamp and the second timestamp.

[0187] In a possible implementation manner, the second target signal is the same signal as the first target signal. The time delay of the target communication link is the target duration between the second timestamp and the first timestamp.

[0188] In another possible implementation manner, the second target signal is sent by the second transceiver device to the signal transmission path, and the signal transmission path transmits the second target signal to the first receiving path. The time delay of the target communication link is half of the target duration between the second timestamp and the first timestamp.

[0189] Figure 8 For the specific execution processes of the components in the communication device shown, reference may be made to the relevant descriptions in the foregoing embodiments, which will not be elaborated here.

[0190] The embodiment of the present application further provides a communication device, which can be implemented as the foregoing second transceiver device. As Figure 9 shown, the communication device may include a loopback module, a second transmission path, and a second receiving path;

[0191] The second receiving path is configured to perform the second signal conversion process on the first target signal, and demodulate the processed signal to obtain test data, and provide the test data to the loopback module, where the first target signal is sent by the first transceiver device;

[0192] The loopback module is configured to transmit the received test data to the second transmission path;

[0193] The second transmission path is configured to modulate the test data, and perform the first signal conversion process on the modulated signal to obtain the second target signal, and send the second target signal to the signal transmission path, and the signal transmission path transmits the second target signal to the first transceiver device.

[0194] Figure 9For the specific execution processes of the components in the communication device shown, reference can be made to the relevant descriptions in the foregoing embodiments, which will not be elaborated herein.

[0195] Based on the same inventive concept, an embodiment of the present application further provides a computer storage medium, on which a computer program is stored. When the program is executed by a processor, the following steps are implemented:

[0196] The first transceiver device records a first timestamp when the first processing module provides test data to the first transmission path. The first transceiver device includes the first processing module, the first transmission path, and a first reception path. The target communication link includes the first transmission path, the first reception path, and a signal transmission path;

[0197] The first transceiver device records a second timestamp when the first reception path provides feedback data to the first processing module. The feedback data is the same as the test data;

[0198] The first transceiver device determines the delay of the target communication link based on the first timestamp and the second timestamp.

[0199] In a possible implementation manner, the second target signal is the same signal as the first target signal. The time delay of the target communication link is the target duration between the second timestamp and the first timestamp.

[0200] In another possible implementation manner, the second target signal is sent by a second transceiver device to the signal transmission path, and the signal transmission path transmits the second target signal to the first reception path. The time delay of the target communication link is half of the target duration between the second timestamp and the first timestamp.

[0201] An embodiment of the present application further provides a computer storage medium, on which a computer program is stored. When the program is executed by a processor, it implements the steps in Figure 6 the communication link delay measurement method shown, or implements the steps in Figure 7 the communication link delay measurement method shown.

[0202] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories and optical memories, etc.) containing computer-usable program codes.

[0203] This application is described with reference to the flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing devices to generate a machine, such that the instructions executed by the processors of the computer or other programmable data processing devices produce a device for implementing the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 or one or more of the blocks.

[0204] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufacture including an instruction device that implements the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 or one or more of the blocks.

[0205] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operational steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 or one or more of the blocks.

[0206] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.

Claims

1. A communication link delay measurement system, characterized in that For measuring the delay of a target communication link; the system includes: a first transceiver device; The first transceiver device includes a first processing module, a first transmission path, and a first reception path; the target communication link includes the first transmission path, the first reception path, and a signal transmission path; The first processing module is configured to: Record a first timestamp when the first processing module provides test data to the first transmission path; Record a second timestamp when the first reception path provides feedback data to the first processing module, where the feedback data is the same as the test data; Determine the delay of the target communication link based on the first timestamp and the second timestamp.

2. The system according to claim 1, wherein The first transmission path is configured to perform encoding and modulation processing on the test data, and perform a first signal conversion process on the encoded and modulated signal to obtain a first target signal, and transmit it to the signal transmission path; The first reception path is configured to perform a second signal conversion process on the second target signal received from the signal transmission path, and perform demodulation and decoding processing on the processed signal to obtain the feedback data.

3. The system according to claim 2, wherein If the signal transmission path is a transmission path based on wireless communication technology or a transmission path based on cable communication technology, the first signal conversion process is a digital-to-analog conversion process, and the second signal conversion process is an analog-to-digital conversion process; or, If the signal transmission path is a transmission path based on optical communication technology, the first signal conversion process is an electro-optic conversion process, and the second signal conversion process is an opto-electric conversion process.

4. The system according to claim 2, wherein The system further includes a second transceiver device; the second transceiver device includes a second transmission path, a second reception path, and a loopback module; The target communication link further includes the second transmission path and the second reception path, and the first target signal and the second target signal are different signals; The signal transmission path transmits the first target signal to the second reception path; The second reception path is configured to perform the second signal conversion process on the first target signal, and perform demodulation processing on the processed signal to obtain the test data, and provide the test data to the loopback module; The loopback module is configured to transmit the received test data to the second transmission path; The second transmission path is configured to perform modulation processing on the test data, and perform the first signal conversion process on the modulated signal to obtain the second target signal, and transmit it to the signal transmission path; The signal transmission path transmits the second target signal to the first reception path.

5. The system according to claim 4, wherein The delay of the target communication link is the same as half of the target duration, where the target duration is the duration between the second timestamp and the first timestamp.

6. The system according to claim 2, wherein The first target signal and the second target signal are the same signal; The signal transmission path transmits the first target signal to the first reception path.

7. The system according to claim 6, wherein The delay of the target communication link is the target duration between the second timestamp and the first timestamp.

8. A method for measuring communication link delay, characterized in that For measuring the delay of a target communication link; the method includes: The first transceiver records a first timestamp when a first processing module provides test data to a first transmission path. The first transceiver includes the first processing module, the first transmission path, and a first reception path. The target communication link includes the first transmission path, the first reception path, and a signal transmission path; The first transceiver records a second timestamp when the first reception path provides feedback data to the first processing module. The feedback data is the same as the test data; The first transceiver determines the delay of the target communication link based on the first timestamp and the second timestamp.

9. The method according to claim 8, wherein The method further includes: The first transmission path encodes and modulates the test data, and performs a first signal conversion process on the encoded and modulated signal to obtain a first target signal, and sends it to the signal transmission path; The first reception path performs a second signal conversion process on the second target signal received from the signal transmission path, and demodulates and decodes the processed signal to obtain the feedback data.

10. The method according to claim 9, wherein if the signal transmission path is a transmission path based on wireless communication technology or a transmission path based on cable communication technology, the first signal conversion process is a digital-to-analog conversion process, and the second signal conversion process is an analog-to-digital conversion process; or, if the signal transmission path is a transmission path based on optical communication technology, the first signal conversion process is an electro-optic conversion process, and the second signal conversion process is an opto-electric conversion process.

11. The method according to claim 9, characterized in that, The second target signal is sent by a second transceiver; wherein, the second transceiver includes a second transmission path, a second reception path, and a loopback module; The method further includes: The target communication link transmits the first target signal to the second reception path; The second reception path performs the second signal conversion process on the first target signal, and demodulates the processed signal to obtain the test data, and provides the test data to the loopback module; The loopback module transmits the received test data to the second transmission path; The second transmission path modulates the test data, and performs the first signal conversion process on the modulated signal to obtain the second target signal, and sends it to the signal transmission path; The signal transmission path transmits the second target signal to the first reception path.

12. The method according to claim 11, wherein The delay of the target communication link is the same as half of the target duration, where the target duration is the duration between the second timestamp and the first timestamp.

13. The method according to claim 9, wherein The first target signal and the second target signal are the same signal; The signal transmission path transmits the first target signal to the first reception path.

14. The method according to claim 13, wherein The delay of the target communication link is the target duration between the second timestamp and the first timestamp.

15. A communication device, characterized in that, It includes a first processing module, a first transmission path, and a first reception path; The first processing module is configured to: record a first timestamp when the first processing module provides test data to the first transmission path; The first transmission path performs encoding and modulation processing on the test data, and performs a first signal conversion process on the encoded and modulated signal to obtain a first target signal, and sends it to the signal transmission path; The first reception path performs a second signal conversion process on the second target signal received from the signal transmission path, and performs demodulation and decoding processing on the processed signal to obtain feedback data, and outputs it to the first processing module, where the feedback data is the same as the test data; The processing module is further configured to record a second timestamp when the first reception path provides feedback data to the first processing module, the feedback data being the same as the test data; and determine the delay of the target communication link based on the first timestamp and the second timestamp.

16. The device according to claim 15, characterized in that, The second target signal is the same signal as the first target signal.

17. The device according to claim 15, characterized in that, The second target signal is sent by a second transceiver device to the signal transmission path, and the signal transmission path transmits the second target signal to the first reception path.

18. A communication device, characterized in that, It includes a loopback module, a second transmission path, and a second reception path; The second reception path is configured to perform the second signal conversion process on the first target signal, and perform demodulation processing on the processed signal to obtain test data, and provide the test data to the loopback module, where the first target signal is sent by a first transceiver device; The loopback module is configured to transmit the received test data to the second transmission path; The second transmission path is configured to perform modulation processing on the test data, and perform the first signal conversion process on the modulated signal to obtain the second target signal, and send it to the signal transmission path, and the signal transmission path transmits the second target signal to the first transceiver device.

19. A computer storage medium, on which a computer program is stored, characterized in that, When the program is executed by a processor, it implements the steps of the method according to any one of claims 8-14.