Methods, systems, apparatuses, devices, and media for detecting wireless device response times

By recording the duration of wired communication in wireless devices, the problem of accurately calculating the response time of wireless devices is solved, enabling accurate measurement and simplifying the debugging process, thereby improving the efficiency of wireless device optimization and troubleshooting.

CN119893566BActive Publication Date: 2026-04-07GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

In wireless communication, it is difficult to accurately calculate the time from when a command is sent by the transmitter to when the receiver responds, which makes debugging and optimization difficult.

Method used

The response time of the wireless device is calculated by receiving data transmitted by the wireless device through the signal line, determining the reception time, and recording the wired communication duration.

Benefits of technology

It enables accurate measurement of wireless device response time, simplifies the debugging process, improves the accuracy and reliability of debugging results, and supports the optimization and troubleshooting of wireless devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893566B_ABST
    Figure CN119893566B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a kind of wireless device response time detection method, system, device, equipment and medium, the method includes test tool determines the first receiving time of receiving the first data sent by first wireless device through signal line;Determine the second receiving time of receiving the third data sent by second wireless device through signal line;Determine the first wired communication duration between test tool and first wireless device, and the second wired communication duration between test tool and second wireless device.According to the first receiving time, the second receiving time, the first wired communication duration and the second wired communication duration, the response time between first wireless device and second wireless device is calculated.This embodiment introduces wired communication time as reference, solves the problem that wireless signal transmission time is difficult to accurately calculate, realizes accurate measurement to wireless device response time, simplifies the debugging process of wireless communication, also improves the accuracy and reliability of debugging result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wireless device response time detection technology, and in particular to methods, systems, devices, equipment and media for detecting wireless device response time. Background Technology

[0002] With the widespread application of wireless communication technology, the importance of wireless devices in daily life is becoming increasingly prominent. However, in practical applications, users sometimes need to know the time required for a command sent by the wireless device's transmitter to reach the receiver's response in order to troubleshoot potential problems during wireless signal transmission. However, because wireless signals propagate in space and the time of the transmitter and receiver cannot be synchronized, it is difficult to accurately calculate the time it takes for a signal to travel from the transmitter to the receiver's response, which poses a challenge to the debugging and optimization of wireless communication. Summary of the Invention

[0003] In view of the above problems, embodiments of the present invention are proposed to provide a method, system, apparatus, device and medium for detecting the response time of a wireless device that overcomes or at least partially solves the above problems.

[0004] To address the aforementioned problems, this invention discloses a method for detecting the response time of a wireless device:

[0005] The system receives first data transmitted by the first wireless device through the signal line and determines a first reception time for receiving the first data; the first wireless device is used to transmit second data to the second wireless device simultaneously with transmitting the first data to the test fixture.

[0006] The system receives third data transmitted by the second wireless device through the signal line and determines a second reception time for receiving the third data; the third data is transmitted by the second wireless device to the test fixture after receiving the second data.

[0007] Determine the first wired communication duration between the test fixture and the first wireless device, and the second wired communication duration between the test fixture and the second wireless device;

[0008] The response time between the first wireless device and the second wireless device is determined based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration.

[0009] Optionally, the method further includes:

[0010] Obtain the first identifier carried by the first data, and obtain the second identifier carried by the third data;

[0011] Determining the response time between the first wireless device and the second wireless device based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration includes:

[0012] If the first identifier carried by the first data matches the second identifier carried by the third data, then the response time between the first wireless device and the second wireless device is determined based on the first reception time, the second reception time, and the wired communication time.

[0013] Optionally, determining the response time between the first wireless device and the second wireless device based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration includes:

[0014] The difference between the second reception time and the first reception time is subtracted from the difference between the second wired communication duration and the first wired communication duration to obtain the response time between the first wireless device and the second wireless device.

[0015] Optionally, determining the first wired communication duration between the test fixture and the first wireless device, and the second wired communication duration between the test fixture and the second wireless device, includes:

[0016] Determine the first wired communication duration between the test fixture and the first wireless device, based on the communication protocol of the signal line;

[0017] Determine the second wired communication duration between the test fixture and the second wireless device, based on the communication protocol of the signal line.

[0018] Accordingly, this invention also discloses a wireless device response time detection system, the system comprising: a test fixture, a first wireless device and a second wireless device, wherein the test fixture is connected to the first wireless device and the second wireless device respectively via signal lines;

[0019] The first wireless device is configured to send first data to the test fixture via the signal line, and to send second data to the second wireless device via wireless communication;

[0020] The second wireless device is configured to send third data to the test fixture after receiving the second data;

[0021] The test fixture is used to receive first data transmitted by the first wireless device through the signal line and determine a first reception time for receiving the first data; to receive third data transmitted by the second wireless device through the signal line and determine a second reception time for receiving the third data; to determine the wired communication time based on the signal line; and to determine the response time between the first wireless device and the second wireless device based on the first reception time, the second reception time, and the wired communication time.

[0022] Optionally, the test fixture is further configured to acquire a first identifier carried by the first data and a second identifier carried by the third data; if the first identifier carried by the first data matches the second identifier carried by the third data, the response time between the first wireless device and the second wireless device is determined based on the first reception time, the second reception time, and the wired communication time.

[0023] Optionally, the test fixture is used to subtract the difference between the second receiving time and the first receiving time from the difference between the second wired communication duration and the first wired communication duration to obtain the response time between the first wireless device and the second wireless device.

[0024] Optionally, the test fixture is used to determine a first wired communication duration between the test fixture and the first wireless device based on the communication protocol of the signal line; and to determine a second wired communication duration between the test fixture and the second wireless device based on the communication protocol of the signal line.

[0025] Accordingly, this invention discloses a device for detecting the response time of a wireless device. The device is applied to a test fixture, which is connected to a first wireless device and a second wireless device via signal lines. The device includes:

[0026] The first data receiving module is used to receive the first data sent by the first wireless device through the signal line, and to determine the first reception time of the first data; the first wireless device is used to send the first data to the test fixture and simultaneously send the second data to the second wireless device.

[0027] The second data receiving module is used to receive the third data transmitted by the second wireless device through the signal line, and to determine the second reception time of the third data; the third data is transmitted by the second wireless device to the test fixture after receiving the second data.

[0028] A communication duration determination module is used to determine the first wired communication duration between the test fixture and the first wireless device, and the second wired communication duration between the test fixture and the second wireless device;

[0029] The response time determination module is used to determine the response time between the first wireless device and the second wireless device based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration.

[0030] Optionally, the device further includes:

[0031] The identifier acquisition module is used to acquire a first identifier carried by the first data and to acquire a second identifier carried by the third data;

[0032] The response time determination module includes:

[0033] The first response time determination submodule is used to determine the response time between the first wireless device and the second wireless device based on the first reception time, the second reception time, and the wired communication time if the first identifier carried by the first data matches the second identifier carried by the third data.

[0034] Optionally, the response time determination module includes:

[0035] The second response time determination submodule is used to subtract the difference between the second reception time and the first reception time from the difference between the second wired communication duration and the first wired communication duration to obtain the response time between the first wireless device and the second wireless device.

[0036] Optionally, the communication duration determination module includes:

[0037] The first communication duration determination submodule is used to determine the first wired communication duration between the test fixture and the first wireless device based on the communication protocol of the signal line;

[0038] The second communication duration determination submodule is used to determine the second wired communication duration between the test fixture and the second wireless device based on the communication protocol of the signal line.

[0039] Accordingly, this invention discloses an electronic device, including: a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, it implements the various steps of the above-described wireless device response time detection method embodiment.

[0040] Accordingly, embodiments of the present invention disclose a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the various steps of the above-described embodiments of the wireless device response time detection method.

[0041] The embodiments of the present invention have the following advantages:

[0042] The wireless device response time detection method of this invention involves receiving first data transmitted by a first wireless device via a signal line and determining a first reception time for the data. Simultaneously, the first wireless device transmits second data to a second wireless device while transmitting the first data to a test fixture. Subsequently, it receives third data transmitted by the second wireless device via the signal line and determines a second reception time for the data. The third data is transmitted by the second wireless device to the test fixture after receiving the second data. Further, it determines a first wired communication duration between the test fixture and the first wireless device, and a second wired communication duration between the test fixture and the second wireless device. Based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration, the response time between the first and second wireless devices is calculated.

[0043] This invention addresses the difficulty in accurately calculating wireless signal transmission time by introducing wired communication duration as a reference, thus enabling accurate measurement of wireless device response time. This method not only simplifies the wireless communication debugging process but also improves the accuracy and reliability of debugging results, providing strong support for wireless device optimization and troubleshooting, and enhancing the user experience. Attached Figure Description

[0044] Figure 1 This is a flowchart of the steps of a method for detecting the response time of a wireless device provided in an embodiment of the present invention;

[0045] Figure 2 This is a flowchart of another method for detecting the response time of a wireless device provided in an embodiment of the present invention;

[0046] Figure 3 This is a schematic diagram of a wireless device response time detection system provided in an embodiment of the present invention;

[0047] Figure 4 This is a structural block diagram of a wireless device response time detection device provided in an embodiment of the present invention. Detailed Implementation

[0048] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0049] With the widespread application of wireless communication technology, the importance of wireless devices in daily life is becoming increasingly prominent. However, in practical applications, users sometimes need to know the time required for a command sent by the wireless device's transmitter to reach the receiver's response in order to troubleshoot potential problems during wireless signal transmission. However, because wireless signals propagate in space and the time of the transmitter and receiver cannot be synchronized, it is difficult to accurately calculate the time it takes for a signal to travel from the transmitter to the receiver's response, which poses a challenge to the debugging and optimization of wireless communication.

[0050] One of the core concepts of this invention is that it receives first data transmitted by a first wireless device via a signal line and determines a first reception time for that data. Simultaneously, the first wireless device transmits second data to a second wireless device while simultaneously transmitting the first data to the test fixture. Subsequently, it receives third data transmitted by the second wireless device via the signal line and determines a second reception time for that data. The third data is then transmitted by the second wireless device to the test fixture after receiving the second data. Further, it determines a first wired communication duration between the test fixture and the first wireless device, and a second wired communication duration between the test fixture and the second wireless device. Based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration, the response time between the first and second wireless devices is calculated. This method not only simplifies the debugging process of wireless communication but also improves the accuracy and reliability of the debugging results, providing strong support for the optimization and troubleshooting of wireless devices and enhancing the user experience.

[0051] Reference Figure 1 The diagram illustrates a flowchart of a method for detecting the response time of a wireless device according to an embodiment of the present invention. The method may specifically include the following steps:

[0052] Step 101: Receive first data transmitted by the first wireless device through the signal line, and determine the first reception time of receiving the first data; the first wireless device is used to transmit second data to the second wireless device at the same time as transmitting the first data to the test fixture.

[0053] This invention is applied to a test fixture. The first wireless device can be a transmitting side that sends signals, and the first data can be data transmitted from the transmitting side to the test fixture via a wired signal line. The second data is data transmitted from the transmitting side to the receiving side simultaneously with the first data sent to the test fixture.

[0054] In some examples, the test fixture is equipped with a signal line interface. When the first wireless device transmits first data via the signal line, the signal line interface of the test fixture can immediately detect the data transmission behavior of the first wireless device and trigger a signal to the server via the wireless communication module. The trigger signal is used to notify the server that the first wireless device has transmitted the first data. After receiving the trigger signal, the server can determine that the first wireless device has transmitted the first data and then determine the test environment required by the first wireless device. The test environment required by the first wireless device is the test environment required after the first wireless device transmits the first data and completes the test. The test environment may include test environment parameters such as power supply, signal strength, temperature, and humidity.

[0055] A test fixture is a device used to test and verify the performance of wireless devices. It typically includes a signal line interface, a wireless communication module, and a data processing unit. Its main function is to interact with the wireless device via the signal line and record and analyze parameters such as data transmission time and stability to evaluate the communication performance and response speed of the wireless device.

[0056] In some examples, the signal line interface can be a USB interface and / or a serial interface. The USB and serial interfaces can quickly and reliably sense the data transmission behavior of the first wireless device and send a trigger signal to the server via the wireless communication module. The USB interface can be installed on the front or side of the test fixture, forming a data transmission channel. When the first data is transmitted through the signal line, the data transmission channel is activated, and the interface detects the data transmission. When the data transmission is complete, the data transmission channel is restored, the interface detects the end of the data transmission, and sends this change to the server via the wireless communication module. The serial interface can be installed on the top or side of the test fixture, covering the entire data transmission area. When the first data is transmitted through the signal line, the serial interface detects the data transmission. When the data transmission is complete, the serial interface detects the end of the data transmission, and sends this change to the server via the wireless communication module. Of course, the specific type of signal line interface can be set according to actual needs in practical applications, and this embodiment of the invention does not limit this.

[0057] The wireless communication module can employ low-power, wide-coverage wireless communication technologies such as Zigbee and Wi-Fi to ensure the stability and real-time performance of data transmission. Of course, the implementation of the wireless communication module can be customized according to actual needs in practical applications, and this embodiment of the invention does not impose any limitations on this.

[0058] Step 102: Receive the third data transmitted by the second wireless device through the signal line, and determine the second reception time of receiving the third data; the third data is transmitted by the second wireless device to the test fixture after receiving the second data;

[0059] In this embodiment of the invention, the second wireless device can be the receiving side that receives the signal, and the third data can be the data that the receiving side sends to the test fixture via a wired signal line at the same time as receiving the signal sent by the transmitting side device.

[0060] In some examples, the test fixture is equipped with a signal line interface. When the second wireless device transmits third data via the signal line, the signal line interface of the test fixture can immediately detect the data transmission behavior of the second wireless device and trigger a signal to the server through the wireless communication module. The trigger signal is used to notify the server that the second wireless device has transmitted the third data. After receiving the trigger signal, the server can determine that the second wireless device has transmitted the third data and then determine the required test environment for the second wireless device. The required test environment for the second wireless device is that after the second wireless device transmits the third data and completes the test, the test environment may include test environment parameters such as power supply, signal strength, temperature, and humidity.

[0061] Step 103: Determine the first wired communication duration between the test fixture and the first wireless device, and the second wired communication duration between the test fixture and the second wireless device;

[0062] In this embodiment of the invention, wired communication duration refers to the time taken by the first wireless device and the second wireless device to transmit data to the test fixture via a wired interface. Wired communication duration can refer to the time required for data transmission via wired communication technologies (such as USB, RS-232, RS-485, Ethernet, etc.). It is an important indicator of wired communication efficiency, directly affecting the device's response speed and communication performance. The following is the definition, calculation method, influencing factors, and application of wired communication duration in test fixtures.

[0063] Wired communication, as a data transmission method based on physical media, has many significant advantages and beneficial effects. These effects are not only reflected in the stability, reliability, and efficiency of communication, but also demonstrate broad value in practical applications. The main beneficial effects of wired communication are: Since wired communication relies on physical media (such as cables and optical fibers) to transmit data, it is less susceptible to external electromagnetic interference (such as radio waves and lightning), resulting in higher signal transmission stability. Compared to wireless communication, wired communication experiences less signal attenuation, especially in long-distance transmission, where signal quality remains stable. In complex scenarios such as industrial and outdoor environments, wired communication can effectively avoid communication interruptions caused by environmental changes (such as temperature, humidity, and electromagnetic interference).

[0064] Step 104: Determine the response time between the first wireless device and the second wireless device based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration.

[0065] In this embodiment of the invention, response time refers to the time interval from when the first wireless device sends first data to when the second wireless device receives the second data and sends third data. This time interval reflects the communication efficiency and response speed between the first and second wireless devices. The test fixture can calculate the response time between the first and second wireless devices based on the first reception time, the second reception time, and the wired communication time. The test fixture can record the first reception time, the second reception time, and the wired communication time through a signal line interface and a wireless communication module, and process the data through a server to ultimately determine the response time.

[0066] This embodiment of the invention receives first data transmitted by a first wireless device via a signal line and determines a first reception time for the data. Simultaneously, the first wireless device transmits second data to a second wireless device while transmitting the first data to a test fixture. Subsequently, it receives third data transmitted by the second wireless device via the signal line and determines a second reception time for the data. The third data is transmitted by the second wireless device to the test fixture after receiving the second data. Further, it determines a first wired communication duration between the test fixture and the first wireless device, and a second wired communication duration between the test fixture and the second wireless device. Based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration, the response time between the first and second wireless devices is calculated. This embodiment introduces wired communication time as a reference, solving the problem of accurately calculating wireless signal transmission time and achieving accurate measurement of the wireless device's response time. This method not only simplifies the wireless communication debugging process but also improves the accuracy and reliability of the debugging results, providing strong support for wireless device optimization and troubleshooting, and enhancing the user experience.

[0067] Reference Figure 2 The diagram illustrates a flowchart of another method for detecting the response time of a wireless device according to an embodiment of the present invention. The method may specifically include the following steps:

[0068] Step 201: Receive first data transmitted by the first wireless device through the signal line, and determine the first reception time of receiving the first data; the first wireless device is used to transmit second data to the second wireless device at the same time as transmitting the first data to the test fixture.

[0069] This invention is applied to a test fixture. The first wireless device can be a transmitting side that sends signals, and the first data can be data transmitted from the transmitting side to the test fixture via a wired signal line. The second data is data transmitted from the transmitting side to the receiving side simultaneously with the first data sent to the test fixture.

[0070] In some examples, the test fixture is equipped with a signal line interface. When the first wireless device transmits first data via the signal line, the signal line interface of the test fixture can immediately detect the data transmission behavior of the first wireless device and trigger a signal to the server via the wireless communication module. The trigger signal is used to notify the server that the first wireless device has transmitted the first data. After receiving the trigger signal, the server can determine that the first wireless device has transmitted the first data and then determine the test environment required by the first wireless device. The test environment required by the first wireless device is the test environment required after the first wireless device transmits the first data and completes the test. The test environment may include test environment parameters such as power supply, signal strength, temperature, and humidity.

[0071] Step 202: Receive the third data transmitted by the second wireless device through the signal line, and determine the second reception time of receiving the third data; the third data is transmitted by the second wireless device to the test fixture after receiving the second data;

[0072] In this embodiment of the invention, the second wireless device can be the receiving side that receives the signal, and the third data can be the data that the receiving side sends to the test fixture via a wired signal line at the same time as receiving the signal sent by the transmitting side device.

[0073] In some examples, the test fixture is equipped with a signal line interface. When the second wireless device transmits third data via the signal line, the signal line interface of the test fixture can immediately detect the data transmission behavior of the second wireless device and trigger a signal to the server through the wireless communication module. The trigger signal is used to notify the server that the second wireless device has transmitted the third data. After receiving the trigger signal, the server can determine that the second wireless device has transmitted the third data and then determine the required test environment for the second wireless device. The required test environment for the second wireless device is that after the second wireless device transmits the third data and completes the test, the test environment may include test environment parameters such as power supply, signal strength, temperature, and humidity.

[0074] Step 203: Determine the first wired communication duration between the test fixture and the first wireless device, and the second wired communication duration between the test fixture and the second wireless device;

[0075] In this embodiment of the invention, the first wired communication duration and the second wired communication duration can be determined by the wired connection between the test fixture and the wireless device. The test fixture refers to a hardware device or software tool used to test the performance of the wireless device, and the first wireless device and the second wireless device refer to the devices participating in the communication.

[0076] In some examples, wired communication can be conducted via signal lines (such as USB, RS-232, etc.), and the communication duration can be recorded. For instance, when the test fixture transmits data with a first wireless device, the system records the data transmission and reception times and calculates the first wired communication duration. Similarly, when the test fixture transmits data with a second wireless device, the system records the data transmission and reception times and calculates the second wired communication duration.

[0077] In some examples, the accuracy of wired communication can be ensured through communication protocols such as TCP and UART. For instance, when data is transmitted through a signal line, the transmission duration is recorded according to the rules of the communication protocol.

[0078] In some examples, communication duration information can be updated in real time during data transmission. For instance, when the status of the test fixture or wireless device changes (such as when the device is restarted or replaced), the system will re-record the communication duration information and update it synchronously to the communication module.

[0079] In some embodiments, step 203 may include:

[0080] Step S11: Determine the first wired communication duration between the test fixture and the first wireless device based on the communication protocol of the signal line;

[0081] In this embodiment of the invention, the first wired communication duration between the test fixture and the first wireless device can be determined using signal lines and communication protocols. A signal line refers to a wired connection used for data transmission, and a communication protocol refers to the rules and standards followed during data transmission.

[0082] In some examples, wired communication can be conducted via signal lines (such as USB, RS-232, etc.) and communication protocols (such as TCP, UART, etc.), and the communication duration can be recorded. For example, when the test fixture transmits data with the first wireless device, the system will record the data transmission and reception times according to the rules of the communication protocol and calculate the first wired communication duration.

[0083] In one specific example, the test fixture and device A transmit data via a signal line. When the test fixture sends data to device A, the system records the sending and receiving times of the data according to the rules of the communication protocol and calculates the first wired communication duration.

[0084] Step S12: Determine the second wired communication duration between the test fixture and the second wireless device based on the communication protocol of the signal line.

[0085] In some examples, the system can update communication duration information in real time during data transmission. For instance, when the status of the test fixture or the second wireless device changes (such as when the device is restarted or replaced), the system will re-record the communication duration information and update it synchronously to the communication module.

[0086] In one specific example, the test fixture and device B transmit data via a signal line. When the test fixture sends data to device B, the system records the data transmission and reception times according to the rules of the communication protocol and calculates the second wired communication duration.

[0087] By determining the wired communication duration between the test fixture and the first and second wireless devices, the system can accurately assess the efficiency of wired communication, providing accurate data support for subsequent communication optimization. This avoids the tedious operation of traditional manual calculation or fuzzy estimation, and significantly improves the automation and intelligence level of communication control.

[0088] Step 204: Obtain the first identifier carried by the first data, and obtain the second identifier carried by the third data;

[0089] In this embodiment of the invention, the identification information carried in the first data and the third data can be obtained through the communication module. The first data refers to the data packet sent or received by the first wireless device, and the third data refers to the data packet sent or received by the second wireless device. The first identifier and the second identifier are used to uniquely identify the first data and the third data, respectively, such as the device ID, MAC address, serial number, or other forms of unique encoding.

[0090] In some examples, the first and third data can be obtained through limited communication (such as serial ports, protocols, etc.). For instance, when the first wireless device sends data, it extracts a first identifier from the data packet and associates it with the first data. Similarly, when the second wireless device sends data, the system extracts a second identifier from the data packet and associates it with the third data.

[0091] In some examples, the efficiency of acquiring identification information can be optimized by analyzing historical communication data. For instance, the system can record commonly used communication modes and identification information of devices, automatically match the corresponding identification during data transmission, and complete data association in advance.

[0092] In one specific example, device A and device B transmit data wirelessly. Device A sends a first set of data containing its identifier (e.g., a data ID), while device B sends a third set of data containing its identifier. Upon receiving these two sets of data, the system extracts the first and second identifiers respectively and performs a match. If the identifiers match successfully, the system further calculates the response time between device A and device B.

[0093] By acquiring the identification information carried in the first and third data, the system can accurately identify the identity of the communication device, providing accurate data support for subsequent communication efficiency analysis. This avoids the tedious operation of traditional manual input or fuzzy matching, and significantly improves the automation and intelligence level of communication control.

[0094] Step 205: If the first identifier carried by the first data matches the second identifier carried by the third data, then determine the response time between the first wireless device and the second wireless device based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration.

[0095] In this embodiment of the invention, the first reception time, the second reception time, and the wired communication time can be obtained through a timestamp module. The first reception time refers to the time when the first wireless device receives the data packet, the second reception time refers to the time when the second wireless device receives the data packet, and the wired communication time refers to the time spent transmitting data through a wired connection.

[0096] In some examples, the accuracy of the first and second reception times can be ensured through time synchronization protocols such as NTP or PTP. For instance, when the first and second wireless devices receive a data packet, they record the current timestamp and associate it with the data packet.

[0097] In some examples, the system can update time information in real time during data transmission. For instance, when the status of the first or second wireless device changes (such as a device restart or replacement), the system will re-record the time information and synchronize it to the timestamp module.

[0098] In some examples, the efficiency of time information acquisition can be optimized by analyzing historical communication data. For instance, the system can record the device's commonly used communication modes and time information, automatically match the corresponding time points during data transmission, and perform time calculations in advance.

[0099] In one specific example, device A and device B transmit data wirelessly. Device A sends a first set of data containing its identifier, while device B sends a third set containing its identifier. Upon receiving these two sets of data, the first and second identifiers are extracted and matched.

[0100] In one specific example, device A and device B transmit data wirelessly. Device A sends data at time T1, and device B receives data at time T2. The duration of the first wired communication between the test fixture and device A is ΔT1, and the duration of the second wired communication between the test fixture and device B is ΔT2. The response time can be calculated as T2 - T1 - |ΔT1 - ΔT2|.

[0101] By calculating the response time based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration, the system can accurately assess the response efficiency of the communication device, providing accurate data support for subsequent communication optimization. This avoids the tedious operation of traditional manual calculation or fuzzy estimation, and significantly improves the automation and intelligence level of communication control.

[0102] This embodiment of the invention obtains a first identifier carried in the first data and a second identifier carried in the third data. If the first identifier carried in the first data matches the second identifier carried in the third data, a first reception time and a second reception time are determined. Further, a first wired communication duration based on a signal line communication protocol between the test fixture and the first wireless device, and a second wired communication duration based on a signal line communication protocol between the test fixture and the second wireless device are determined. Based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration, the response time between the first wireless device and the second wireless device is calculated.

[0103] This embodiment solves the problem of accurately calculating wireless signal transmission time by introducing wired communication time as a reference, thus enabling accurate measurement of wireless device response time. This method not only simplifies the wireless communication debugging process but also improves the accuracy and reliability of debugging results, providing strong support for wireless device optimization and troubleshooting, and enhancing the user experience.

[0104] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0105] Reference Figure 3 The diagram illustrates a wireless device response time detection system according to an embodiment of the present invention, the details of which are as follows:

[0106] The system includes: a test fixture, a first wireless device, and a second wireless device, wherein the test fixture is connected to the first wireless device and the second wireless device via signal lines.

[0107] The first wireless device is configured to send first data to the test fixture via the signal line, and to send second data to the second wireless device via wireless communication;

[0108] The second wireless device is configured to send third data to the test fixture after receiving the second data;

[0109] The test fixture is used to receive first data transmitted by the first wireless device through the signal line and determine a first reception time for receiving the first data; to receive third data transmitted by the second wireless device through the signal line and determine a second reception time for receiving the third data; to determine the wired communication time based on the signal line; and to determine the response time between the first wireless device and the second wireless device based on the first reception time, the second reception time, and the wired communication time.

[0110] In this embodiment of the invention, the test fixture is further used to acquire a first identifier carried by the first data and a second identifier carried by the third data; if the first identifier carried by the first data matches the second identifier carried by the third data, the response time between the first wireless device and the second wireless device is determined based on the first reception time, the second reception time, and the wired communication time.

[0111] Optionally, the test fixture is used to subtract the difference between the second receiving time and the first receiving time from the difference between the second wired communication duration and the first wired communication duration to obtain the response time between the first wireless device and the second wireless device.

[0112] In this embodiment of the invention, the test fixture is used to determine the first wired communication duration between the test fixture and the first wireless device based on the communication protocol of the signal line; and to determine the second wired communication duration between the test fixture and the second wireless device based on the communication protocol of the signal line.

[0113] This embodiment of the invention receives first data transmitted by a first wireless device via a signal line and determines a first reception time for the data. Simultaneously, the first wireless device transmits second data to a second wireless device while transmitting the first data to a test fixture. Subsequently, it receives third data transmitted by the second wireless device via the signal line and determines a second reception time for the data. The third data is transmitted by the second wireless device to the test fixture after receiving the second data. Further, it determines a first wired communication duration between the test fixture and the first wireless device, and a second wired communication duration between the test fixture and the second wireless device. Based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration, the response time between the first and second wireless devices is calculated. This embodiment introduces wired communication time as a reference, solving the problem of accurately calculating wireless signal transmission time and achieving accurate measurement of the wireless device's response time. This not only simplifies the wireless communication debugging process but also improves the accuracy and reliability of the debugging results, providing strong support for wireless device optimization and troubleshooting, and enhancing the user experience.

[0114] As the system implementation is basically similar to the method implementation, it is described in a relatively simple way. For relevant details, please refer to the description of the method implementation.

[0115] Reference Figure 4 The diagram shows a structural block diagram of a wireless device response time detection device provided in an embodiment of the present invention, which may specifically include the following modules:

[0116] The first data receiving module 301 is used to receive the first data sent by the first wireless device through the signal line, and to determine the first reception time of receiving the first data; the first wireless device is used to send the first data to the test fixture and send the second data to the second wireless device at the same time.

[0117] The second data receiving module 302 is used to receive third data transmitted by the second wireless device through the signal line, and to determine a second reception time for receiving the third data; the third data is transmitted by the second wireless device to the test fixture after receiving the second data.

[0118] The communication duration determination module 303 is used to determine the first wired communication duration between the test fixture and the first wireless device, and the second wired communication duration between the test fixture and the second wireless device;

[0119] The response time determination module 304 is used to determine the response time between the first wireless device and the second wireless device based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration.

[0120] In this embodiment of the invention, the device further includes:

[0121] The identifier acquisition module is used to acquire a first identifier carried by the first data and to acquire a second identifier carried by the third data;

[0122] The response time determination module includes:

[0123] The first response time determination submodule is used to determine the response time between the first wireless device and the second wireless device based on the first reception time, the second reception time, and the wired communication time if the first identifier carried by the first data matches the second identifier carried by the third data.

[0124] In this embodiment of the invention, the response time determination module includes:

[0125] The second response time determination submodule is used to subtract the difference between the second reception time and the first reception time from the difference between the second wired communication duration and the first wired communication duration to obtain the response time between the first wireless device and the second wireless device.

[0126] In this embodiment of the invention, the communication duration determination module includes:

[0127] The first communication duration determination submodule is used to determine the first wired communication duration between the test fixture and the first wireless device based on the communication protocol of the signal line;

[0128] The second communication duration determination submodule is used to determine the second wired communication duration between the test fixture and the second wireless device based on the communication protocol of the signal line.

[0129] This embodiment of the invention receives first data transmitted by a first wireless device via a signal line and determines a first reception time for the data. Simultaneously, the first wireless device transmits second data to a second wireless device while transmitting the first data to a test fixture. Subsequently, it receives third data transmitted by the second wireless device via the signal line and determines a second reception time for the data. The third data is transmitted by the second wireless device to the test fixture after receiving the second data. Further, it determines a first wired communication duration between the test fixture and the first wireless device, and a second wired communication duration between the test fixture and the second wireless device. Based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration, the response time between the first and second wireless devices is calculated. This embodiment introduces wired communication time as a reference, solving the problem of accurately calculating wireless signal transmission time and achieving accurate measurement of the wireless device's response time. This not only simplifies the wireless communication debugging process but also improves the accuracy and reliability of the debugging results, providing strong support for wireless device optimization and troubleshooting, and enhancing the user experience.

[0130] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0131] This invention also provides an electronic device, comprising:

[0132] It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, it implements the various processes of the above-described wireless device response time detection method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0133] This invention also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described wireless device response time detection method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0134] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0135] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0136] Embodiments of the present invention are described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0137] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0138] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0139] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.

[0140] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0141] The present invention provides a detailed description of a method, system, apparatus, device, and medium for detecting the response time of a wireless device. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for detecting the response time of a wireless device, characterized in that, The method, which involves applying a test fixture to a first wireless device and a second wireless device via signal lines, includes: The system receives first data transmitted by the first wireless device through the signal line and determines a first reception time for receiving the first data; the first wireless device is used to transmit second data to the second wireless device simultaneously with transmitting the first data to the test fixture. The system receives third data transmitted by the second wireless device through the signal line and determines a second reception time for receiving the third data; the third data is transmitted by the second wireless device to the test fixture after receiving the second data. Determine the first wired communication duration between the test fixture and the first wireless device, and the second wired communication duration between the test fixture and the second wireless device; The response time between the first wireless device and the second wireless device is determined based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration.

2. The method for detecting the response time of a wireless device according to claim 1, characterized in that, Also includes: Obtain the first identifier carried by the first data, and obtain the second identifier carried by the third data; Determining the response time between the first wireless device and the second wireless device based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration includes: If the first identifier carried by the first data matches the second identifier carried by the third data, then the response time between the first wireless device and the second wireless device is determined based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration.

3. The method for detecting the response time of a wireless device according to claim 1 or 2, characterized in that, Determining the response time between the first wireless device and the second wireless device based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration includes: The difference between the second reception time and the first reception time is subtracted from the difference between the second wired communication duration and the first wired communication duration to obtain the response time between the first wireless device and the second wireless device.

4. The method for detecting the response time of a wireless device according to claim 1, wherein determining the first wired communication duration between the test fixture and the first wireless device, and the second wired communication duration between the test fixture and the second wireless device, comprises: Determine the first wired communication duration between the test fixture and the first wireless device, based on the communication protocol of the signal line; Determine the second wired communication duration between the test fixture and the second wireless device, based on the communication protocol of the signal line.

5. A system for detecting the response time of a wireless device, characterized in that, include: The test fixture, the first wireless device, and the second wireless device are respectively connected to the first wireless device and the second wireless device via signal lines; The first wireless device is configured to send first data to the test fixture via the signal line, and to send second data to the second wireless device via wireless communication; The second wireless device is configured to send third data to the test fixture after receiving the second data; The test fixture is used to receive the first data sent by the first wireless device through the signal line, and to determine the first reception time of the first data. Receive third data transmitted by the second wireless device through the signal line, and determine a second reception time for receiving the third data; Determine the wired communication time based on the signal line; The response time between the first wireless device and the second wireless device is determined based on the first reception time, the second reception time, and the wired communication time.

6. The wireless device response time detection system according to claim 5, characterized in that, The test fixture is also used to acquire a first identifier carried by the first data and a second identifier carried by the third data; if the first identifier carried by the first data matches the second identifier carried by the third data, the response time between the first wireless device and the second wireless device is determined based on the first reception time, the second reception time, and the wired communication time.

7. The wireless device response time detection system according to claim 5 or 6, characterized in that, The test fixture is used to subtract the difference between the second receiving time and the first receiving time from the difference between the second wired communication duration and the first wired communication duration to obtain the response time between the first wireless device and the second wireless device. Wherein, the first wired communication duration is the wired communication duration between the test fixture and the first wireless device, and the second wired communication duration is the wired communication duration between the test fixture and the second wireless device.

8. The wireless device response time detection system according to claim 5, characterized in that, The test fixture is used to determine the first wired communication duration between the test fixture and the first wireless device based on the communication protocol of the signal line; Determine the second wired communication duration between the test fixture and the second wireless device, based on the communication protocol of the signal line.

9. A device for detecting the response time of a wireless device, characterized in that, A test fixture, wherein the test fixture is connected to a first wireless device and a second wireless device via signal lines, the device includes: The first data receiving module is used to receive the first data sent by the first wireless device through the signal line, and to determine the first reception time of receiving the first data; the first wireless device is used to send the first data to the test fixture and simultaneously send the second data to the second wireless device. The second data receiving module is used to receive the third data transmitted by the second wireless device through the signal line, and to determine the second reception time of the third data; the third data is transmitted by the second wireless device to the test fixture after receiving the second data. A communication duration determination module is used to determine the first wired communication duration between the test fixture and the first wireless device, and the second wired communication duration between the test fixture and the second wireless device; The response time determination module is used to determine the response time between the first wireless device and the second wireless device based on the first reception time, the second reception time, the first wired communication duration, and the second wired communication duration.

10. An electronic device, characterized in that, include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the method for detecting the response time of a wireless device as described in any one of claims 1-4.

11. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the steps of the method for detecting the response time of a wireless device as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Delay setting method and device, storage medium and wireless equipment

    CN114390587A

  • Transmission delay time measurement method and device, electronic equipment and storage medium

    CN115277497A