Method, system and device for detecting response time of wireless equipment, equipment and medium

By introducing wired communication time as a reference in wireless devices, the problem of difficulty in accurately calculating wireless signal transmission time is solved, and the accurate measurement of wireless device response time is achieved, the debugging process is simplified and the accuracy and reliability of the results are improved.

CN119893566AActive Publication Date: 2025-04-25GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411906651.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-04-25
Estimated Expiration
2044-12-23

AI Technical Summary

Technical Problem

Since wireless signals propagate in space and the time between the transmitter and the receiver cannot be synchronized, it is difficult to accurately calculate the time when the signal is sent from the transmitter to the receiver response, resulting in challenges in debugging and optimization of wireless communications.

Method used

By receiving the first data sent by the first wireless device through the signal line and determining the reception time, the first wireless device simultaneously transmits the second data to the second wireless device. The third data sent by the second wireless device through the signal line is received and the reception time is determined. Combined with the test tooling and the wired communication time between the wireless devices, the response time between the first wireless device and the second wireless device is calculated.

Benefits of technology

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

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893566A_ABST
    Figure CN119893566A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a wireless equipment response time detection method, system and device, equipment and a medium. The method comprises the steps that a test tool determines first receiving time when first data sent by first wireless equipment through a signal line is received; determining a second receiving time when third data sent by a second wireless device through the signal line is received; and determining a first wired communication duration between the test tool and the first wireless device and a second wired communication duration between the test tool and the second wireless device. And calculating the response time between the first wireless device and the second wireless device according to the first receiving time, the second receiving time, the first wired communication duration and the second wired communication duration. According to the embodiment, the wired communication time is introduced as a reference, the problem that the wireless signal transmission time is difficult to calculate accurately is solved, the response time of the wireless equipment is accurately measured, the debugging process of wireless communication is simplified, and the accuracy and reliability of a debugging result are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wireless device response time detection, and in particular to a wireless device response time detection method, system, device, equipment and medium. Background Art

[0002] With the widespread application of wireless communication technology, the importance of wireless devices in daily life has become increasingly prominent. However, in practical applications, users sometimes need to know the time required for the command sent by the wireless device transmitter to the response of the receiver, so as to troubleshoot possible problems in the transmission of wireless signals. However, since wireless signals propagate in space and the time between the transmitter and the receiver cannot be synchronized, it is difficult to accurately calculate the time it takes for the signal to be sent from the transmitter to the receiver, which brings challenges to the debugging and optimization of wireless communications. 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 the above problems or at least partially solves the above problems.

[0004] In order to solve the above problem, an embodiment of the present invention discloses a method for detecting the response time of a wireless device:

[0005] receiving first data sent by the first wireless device through the signal line, and determining a first receiving time when the first data is received; the first wireless device is used to send second data to the second wireless device while sending the first data to the test tool;

[0006] receiving third data sent by the second wireless device through the signal line, and determining a second receiving time when the third data is received; the third data is sent to the test tool by the second wireless device after receiving the second data;

[0007] Determine 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;

[0008] A response time between the first wireless device and the second wireless device is determined according to the first receiving time, the second receiving time, the first wired communication duration, and the second wired communication duration.

[0009] Optionally, the method further comprises:

[0010] Acquire a first identifier carried by the first data, and acquire a second identifier carried by the third data;

[0011] The determining, according to the first receiving time, the second receiving time, the first wired communication duration, and the second wired communication duration, a response time between the first wireless device and the second wireless device includes:

[0012] 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 according to the first receiving time, the second receiving time and the wired communication time.

[0013] Optionally, determining the response time between the first wireless device and the second wireless device according to the first receiving time, the second receiving time, the first wired communication duration, and the second wired communication duration includes:

[0014] The response time between the first wireless device and the second wireless device is obtained by subtracting the difference between the second receiving time and the first receiving time from the difference between the second wired communication time and the first wired communication time.

[0015] Optionally, determining 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 includes:

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

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

[0018] Correspondingly, an embodiment of the present invention further discloses a system for detecting the response time of a wireless device, the system comprising: a test fixture, a first wireless device and a second wireless device, the test fixture being connected to the first wireless device and the second wireless device respectively through a signal line;

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

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

[0021] The test tool is used to receive first data sent by the first wireless device through the signal line, and determine a first receiving time when the first data is received; receive third data sent by the second wireless device through the signal line, and determine a second receiving time when the third data is received; determine a wired communication time based on the signal line; and determine a response time between the first wireless device and the second wireless device according to the first receiving time, the second receiving time and the wired communication time.

[0022] Optionally, the test tool is also used to obtain a first identifier carried by the first data, and to obtain 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, then the response time between the first wireless device and the second wireless device is determined based on the first receiving time, the second receiving time and the wired communication time.

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

[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 a 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 a communication protocol of the signal line.

[0025] Accordingly, an embodiment of the present invention discloses a device for detecting the response time of a wireless device, the device is applied to a test tool, the test tool is respectively connected to a first wireless device and a second wireless device through a signal line, and the device includes:

[0026] A first data receiving module is used to receive first data sent by the first wireless device through the signal line, and determine a first receiving time when the first data is received; the first wireless device is used to send second data to the second wireless device while sending the first data to the test fixture;

[0027] A second data receiving module is used to receive third data sent by the second wireless device through the signal line, and determine a second receiving time when the third data is received; the third data is sent to the test tool by the second wireless device after receiving the second data;

[0028] a communication duration determination module, configured to determine 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;

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

[0030] Optionally, the device further comprises:

[0031] an identification acquisition module, used to acquire a first identification carried by the first data, and to acquire a second identification carried by the third data;

[0032] The response time determination module comprises:

[0033] The first response time determination submodule is used to determine the response time between the first wireless device and the second wireless device according to the first receiving time, the second receiving 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 obtain the response time between the first wireless device and the second wireless device by subtracting 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.

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

[0037] A first communication duration determination submodule, used to determine a first wired communication duration between the test fixture and the first wireless device based on a 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, an embodiment of the present invention discloses an electronic device, comprising: 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 various steps of the above-mentioned wireless device response time detection method embodiment.

[0040] Accordingly, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each step of the above-mentioned wireless device response time detection method embodiment is implemented.

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

[0042] The method for detecting the response time of a wireless device in an embodiment of the present invention receives the first data sent by the first wireless device through a signal line and determines the first receiving time of receiving the data; at the same time, the first wireless device sends the second data to the second wireless device while sending the first data to the test fixture. Subsequently, the third data sent by the second wireless device through the signal line is received, and the second receiving time of receiving the data is determined; the third data is sent by the second wireless device to the test fixture after receiving the second data. Further, 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 are determined. 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 the first wireless device and the second wireless device is calculated.

[0043] The embodiment of the present invention solves the problem of difficulty in accurately calculating the wireless signal transmission time by introducing the wired communication duration as a reference, and realizes accurate measurement of the response time of the wireless device. This method not only simplifies the debugging process of wireless communication, but also improves the accuracy and reliability of the debugging results, provides strong support for the optimization and troubleshooting of wireless devices, and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 is a flow chart of steps of a method for detecting a response time of a wireless device provided by an embodiment of the present invention;

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

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

[0047] Figure 4 The present invention is a structural block diagram of a device for detecting a response time of a wireless device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0048] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is 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 has become increasingly prominent. However, in practical applications, users sometimes need to know the time required for the command sent by the wireless device transmitter to the response of the receiver, so as to troubleshoot possible problems in the transmission of wireless signals. However, since wireless signals propagate in space and the time between the transmitter and the receiver cannot be synchronized, it is difficult to accurately calculate the time it takes for the signal to be sent from the transmitter to the receiver, which brings challenges to the debugging and optimization of wireless communications.

[0050] One of the core concepts of the embodiment of the present invention is to receive the first data sent by the first wireless device through the signal line and determine the first receiving time of receiving the data; at the same time, the first wireless device sends the second data to the second wireless device while sending the first data to the test fixture. Subsequently, the third data sent by the second wireless device through the signal line is received, and the second receiving time of receiving the data is determined; the third data is sent by the second wireless device to the test fixture after receiving the second data. Further, 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 are determined. 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 the first wireless device and the second wireless device is calculated. This method not only simplifies the debugging process of wireless communication, but also improves the accuracy and reliability of the debugging results, provides strong support for the optimization and troubleshooting of wireless devices, and improves the user experience.

[0051] Reference Figure 1 , shows a flow chart of a method for detecting a response time of a wireless device provided by an embodiment of the present invention, wherein the method may specifically include the following steps:

[0052] Step 101, receiving first data sent by the first wireless device through the signal line, and determining a first receiving time when the first data is received; the first wireless device is used to send second data to the second wireless device while sending the first data to the test tool;

[0053] The embodiment of the present invention is applied to a test fixture, the first wireless device may be a transmitting side that sends a signal, the first data may be data sent by the transmitting side to the test fixture through a wired signal line, and the second data may be data sent by the transmitting side to the receiving side while the transmitting side sends the first data to the test fixture.

[0054] In some examples, the test fixture is provided with a signal line interface. When the first wireless device sends the first data through the signal line, the signal line interface of the test fixture can immediately sense the data transmission behavior of the first 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 first wireless device has sent the first data. After receiving the trigger signal, the server can determine that the first wireless device has sent the first data, and then determine the test environment required by the first wireless device. The test environment required by the first wireless device, that is, the test environment required by the first wireless device after sending the first data and completing the test, can 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, usually including a signal line interface, a wireless communication module, and a data processing unit. Its main function is to interact with wireless devices through signal lines, and to record and analyze parameters such as the time and stability of data transmission, thereby evaluating the communication performance and response speed of wireless devices.

[0056] In some examples, the signal line interface can be a USB interface and / or a serial interface. The USB interface and the serial interface can quickly and reliably sense the data transmission behavior of the first wireless device and send a trigger signal to the server through the wireless communication module. The USB interface can be installed on the front or side of the test tool to form 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 transmission of the data; when the data transmission is completed, the data transmission channel is restored, and the interface detects the end of the data transmission, and the interface sends this change to the server through the wireless communication module. The serial interface can be installed on the top or side of the test tool to cover the entire data transmission area. When the first data is transmitted through the signal line, the serial interface detects the transmission of the data; when the data transmission is completed, the serial interface detects the end of the data transmission, and the interface sends this change to the server through the wireless communication module. Of course, the specific type of the signal line interface can be set according to actual needs in actual applications, and the embodiment of the present invention does not limit this.

[0057] Among them, the wireless communication module can adopt 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 method of the wireless communication module can be set according to actual needs in actual applications, and the embodiments of the present invention do not limit this.

[0058] Step 102, receiving third data sent by the second wireless device through the signal line, and determining a second receiving time when the third data is received; the third data is sent to the test tool by the second wireless device after receiving the second data;

[0059] In the embodiment of the present invention, the second wireless device may be a receiving side that receives a signal, and the third data may be data sent by the receiving side to the test tool through a wired signal line while receiving a signal sent by a transmitting side device.

[0060] In some examples, the test fixture is provided with a signal line interface. When the second wireless device sends the third data through the signal line, the signal line interface of the test fixture can immediately sense 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 sent the third data. After receiving the trigger signal, the server can determine that the second wireless device has sent the third data, and then determine the test environment required by the second wireless device. The test environment required by the second wireless device, that is, the test environment required by the second wireless device after sending the third data and completing the test, can include test environment parameters such as power supply, signal strength, temperature and humidity.

[0061] Step 103, determining a first wired communication duration between the test tool and the first wireless device, and a second wired communication duration between the test tool and the second wireless device;

[0062] In an embodiment of the present invention, the wired communication duration refers to the time used by the first wireless device and the second wireless device to send data to the test tool through the wired interface. The wired communication duration may refer to the time required for data transmission through wired communication technology (such as USB, RS-232, RS-485, Ethernet, etc.). It is an important indicator for measuring the efficiency of wired communication and directly affects the response speed and communication performance of the device. The following is the definition, calculation method, influencing factors and application of wired communication duration in test tooling.

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

[0064] Step 104: Determine a response time between the first wireless device and the second wireless device according to the first receiving time, the second receiving time, the first wired communication duration, and the second wired communication duration.

[0065] In an embodiment of the present invention, the response time refers to the time interval from when the first wireless device sends the first data to when the second wireless device receives the second data and sends the third data. This time interval reflects the communication efficiency and response speed between the first wireless device and the second wireless device. The test tool can calculate the response time between the first wireless device and the second wireless device based on the first receiving time, the second receiving time and the wired communication time. The test tool can record the first receiving time, the second receiving time and the wired communication time through the signal line interface and the wireless communication module, and perform data processing through the server to finally determine the response time.

[0066] The embodiment of the present invention receives the first data sent by the first wireless device through the signal line and determines the first receiving time of receiving the data; at the same time, the first wireless device sends the second data to the second wireless device while sending the first data to the test fixture. Subsequently, the third data sent by the second wireless device through the signal line is received, and the second receiving time of receiving the data is determined; the third data is sent by the second wireless device to the test fixture after receiving the second data. Further, 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 are determined. 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 the first wireless device and the second wireless device is calculated. This embodiment introduces the wired communication time as a reference, solves the problem that the wireless signal transmission time is difficult to accurately calculate, and realizes the accurate measurement of the response time of the wireless device. This method not only simplifies the debugging process of wireless communication, but also improves the accuracy and reliability of the debugging results, provides strong support for the optimization and troubleshooting of wireless devices, and improves the user experience.

[0067] Reference Figure 2 , shows a flowchart of another method for detecting the response time of a wireless device provided by an embodiment of the present invention, and the method may specifically include the following steps:

[0068] Step 201, receiving first data sent by the first wireless device through the signal line, and determining a first receiving time when the first data is received; the first wireless device is used to send second data to the second wireless device while sending the first data to the test tool;

[0069] The embodiment of the present invention is applied to a test fixture, the first wireless device may be a transmitting side that sends a signal, the first data may be data sent by the transmitting side to the test fixture through a wired signal line, and the second data may be data sent by the transmitting side to the receiving side while the transmitting side sends the first data to the test fixture.

[0070] In some examples, the test fixture is provided with a signal line interface. When the first wireless device sends the first data through the signal line, the signal line interface of the test fixture can immediately sense the data transmission behavior of the first 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 first wireless device has sent the first data. After receiving the trigger signal, the server can determine that the first wireless device has sent the first data, and then determine the test environment required by the first wireless device. The test environment required by the first wireless device, that is, the test environment required by the first wireless device after sending the first data and completing the test, can include test environment parameters such as power supply, signal strength, temperature and humidity.

[0071] Step 202, receiving third data sent by the second wireless device through the signal line, and determining a second receiving time when the third data is received; the third data is sent to the test tool by the second wireless device after receiving the second data;

[0072] In the embodiment of the present invention, the second wireless device may be a receiving side that receives a signal, and the third data may be data sent by the receiving side to the test tool through a wired signal line while receiving a signal sent by a transmitting side device.

[0073] In some examples, the test fixture is provided with a signal line interface. When the second wireless device sends the third data through the signal line, the signal line interface of the test fixture can immediately sense 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 sent the third data. After receiving the trigger signal, the server can determine that the second wireless device has sent the third data, and then determine the test environment required by the second wireless device. The test environment required by the second wireless device, that is, the test environment required by the second wireless device after sending the third data and completing the test, can include test environment parameters such as power supply, signal strength, temperature and humidity.

[0074] Step 203, determining a first wired communication duration between the test tool and the first wireless device, and a second wired communication duration between the test tool and the second wireless device;

[0075] In an embodiment of the present invention, the first wired communication duration and the second wired communication duration can be determined by testing the wired connection between the tool and the wireless device. The test tool 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 devices involved in the communication.

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

[0077] In some examples, the accuracy of wired communication can be ensured by a communication protocol such as TCP / IP, UART, etc. For example, when data is transmitted through a signal line, the transmission time of the data is recorded according to the rules of the communication protocol.

[0078] In some examples, the communication duration information can be updated in real time during the data transmission process. For example, when the state of the test tooling or wireless device changes (such as device restart or replacement), the system will re-record the communication duration information and update it to the communication module synchronously.

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

[0080] Step S11, determining a first wired communication duration between the test tool and the first wireless device based on a communication protocol of the signal line;

[0081] In an embodiment of the present invention, the first wired communication duration between the test fixture and the first wireless device can be determined by a signal line and a communication protocol. The signal line refers to a wired connection for transmitting data, and the communication protocol refers to the rules and standards followed during data transmission.

[0082] In some examples, wired communication can be performed through signal lines (such as USB, RS-232, etc.) and communication protocols (such as TCP / IP, 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 sending and receiving time according to the rules of the communication protocol and calculate the first wired communication duration.

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

[0084] Step S12, determining a second wired communication duration between the test tool and the second wireless device based on the communication protocol of the signal line.

[0085] In some examples, the system can update the communication duration information in real time during the data transmission process. For example, when the state of the test tool or the second wireless device changes (such as device restart or replacement), the system will re-record the communication duration information and synchronously update it to the communication module.

[0086] In a specific example, the test tool performs data transmission with device B via a signal line. When the test tool sends data to device B, the system records the sending and receiving time of the data according to the rules of the communication protocol, and calculates the second wired communication duration.

[0087] By respectively determining the duration of wired communication between the test tooling and the first wireless device and the second wireless device, the system can accurately evaluate the efficiency of wired communication and provide accurate data support for subsequent communication optimization, avoiding the tedious operations of traditional manual calculations or fuzzy estimates, and significantly improving the automation and intelligence level of communication control.

[0088] Step 204, obtaining a first identifier carried by the first data, and obtaining a second identifier carried by the third data;

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

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

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

[0092] In a specific example, device A and device B perform data transmission via wireless communication. The first data sent by device A carries the identifier of device A (such as data ID), and the third data sent by device B carries the identifier of device B. When the system receives these two sets of data, it extracts the first identifier and the second identifier respectively and matches them. If the identifiers match successfully, the system further calculates the response time between device A and device B.

[0093] By obtaining the identification information carried in the first data and the third data, the system can accurately identify the identity of the communication equipment and provide accurate data support for subsequent communication efficiency analysis, avoiding the tedious operations of traditional manual input or fuzzy matching, and significantly improving 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, determine the response time between the first wireless device and the second wireless device based on the first receiving time, the second receiving time, the first wired communication duration, and the second wired communication duration.

[0095] In an embodiment of the present invention, the first receiving time, the second receiving time and the wired communication time can be obtained through the timestamp module. The first receiving time refers to the time point when the first wireless device receives the data packet, the second receiving time refers to the time point when the second wireless device receives the data packet, and the wired communication time refers to the time spent on data transmission through a wired connection.

[0096] In some examples, the accuracy of the first receiving time and the second receiving time can be ensured by a time synchronization protocol (such as NTP or PTP).For example, when the first wireless device and the second wireless device receive a data packet, the current timestamp is recorded and associated with the data packet.

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

[0098] In some examples, the efficiency of obtaining time information can be optimized by analyzing communication history data. For example, the system can record the communication mode and time information commonly used by the device, automatically match the corresponding time point during data transmission, and complete the time calculation in advance.

[0099] In a specific example, device A and device B perform data transmission via wireless communication. The first data sent by device A carries the identifier of device A, and the third data sent by device B carries the identifier of device B. When these two sets of data are received, the first identifier and the second identifier are extracted respectively and matched.

[0100] In a specific example, device A and device B perform data transmission via wireless communication. Device A sends data at time T1, and device B receives data at time T2. The first wired communication duration between the test fixture and device A is ΔT1, and the second wired communication duration 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 evaluate the response efficiency of the communication equipment and provide accurate data support for subsequent communication optimization, avoiding the tedious operations of traditional manual calculations or fuzzy estimates, and significantly improving the automation and intelligence level of communication control.

[0102] The embodiment of the present invention obtains the first identifier carried by the first data, and obtains the 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 first receiving time and the second receiving time are determined; further, the first wired communication duration based on the communication protocol of the signal line between the test fixture and the first wireless device, and the second wired communication duration based on the communication protocol of the signal line between the test fixture and the second wireless device are determined. 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 the first wireless device and the second wireless device is calculated.

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

[0104] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0105] Reference Figure 3 , shows a schematic diagram of a wireless device response time detection system provided by an embodiment of the present invention, and the specific contents are as follows:

[0106] The system comprises: a test fixture, a first wireless device and a second wireless device, wherein the test fixture is respectively connected to the first wireless device and the second wireless device through a signal line;

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

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

[0109] The test tool is used to receive first data sent by the first wireless device through the signal line, and determine a first receiving time when the first data is received; receive third data sent by the second wireless device through the signal line, and determine a second receiving time when the third data is received; determine a wired communication time based on the signal line; and determine a response time between the first wireless device and the second wireless device according to the first receiving time, the second receiving time and the wired communication time.

[0110] In an embodiment of the present invention, the test tool is also used to obtain a first identifier carried by the first data, and to obtain 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, then the response time between the first wireless device and the second wireless device is determined based on the first receiving time, the second receiving time and the wired communication time.

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

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

[0113] The embodiment of the present invention receives the first data sent by the first wireless device through the signal line and determines the first receiving time of receiving the data; at the same time, the first wireless device sends the second data to the second wireless device while sending the first data to the test fixture. Subsequently, the third data sent by the second wireless device through the signal line is received, and the second receiving time of receiving the data is determined; the third data is sent by the second wireless device to the test fixture after receiving the second data. Further, 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 are determined. 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 the first wireless device and the second wireless device is calculated. This embodiment introduces the wired communication time as a reference, solves the problem that the wireless signal transmission time is difficult to accurately calculate, and realizes the accurate measurement of the response time of the wireless device. It not only simplifies the debugging process of wireless communication, but also improves the accuracy and reliability of the debugging results, provides strong support for the optimization and troubleshooting of wireless devices, and improves the user experience.

[0114] As for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0115] Reference Figure 4 , shows a structural block diagram of a wireless device response time detection device provided by 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 determine the first receiving time when the first data is received; the first wireless device is used to send the second data to the second wireless device while sending the first data to the test tool;

[0117] A second data receiving module 302 is used to receive third data sent by the second wireless device through the signal line, and determine a second receiving time when the third data is received; the third data is sent to the test tool by the second wireless device after receiving the second data;

[0118] The communication duration determination module 303 is used to determine 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;

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

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

[0121] an identification acquisition module, used to acquire a first identification carried by the first data, and to acquire a second identification carried by the third data;

[0122] The response time determination module comprises:

[0123] The first response time determination submodule is used to determine the response time between the first wireless device and the second wireless device according to the first receiving time, the second receiving 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 an embodiment of the present invention, the response time determination module includes:

[0125] The second response time determination submodule is used to obtain the response time between the first wireless device and the second wireless device by subtracting 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.

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

[0127] A first communication duration determination submodule, used to determine a first wired communication duration between the test fixture and the first wireless device based on a 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] The embodiment of the present invention receives the first data sent by the first wireless device through the signal line and determines the first receiving time of receiving the data; at the same time, the first wireless device sends the second data to the second wireless device while sending the first data to the test fixture. Subsequently, the third data sent by the second wireless device through the signal line is received, and the second receiving time of receiving the data is determined; the third data is sent by the second wireless device to the test fixture after receiving the second data. Further, 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 are determined. 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 the first wireless device and the second wireless device is calculated. This embodiment introduces the wired communication time as a reference, solves the problem that the wireless signal transmission time is difficult to accurately calculate, and realizes the accurate measurement of the response time of the wireless device. It not only simplifies the debugging process of wireless communication, but also improves the accuracy and reliability of the debugging results, provides strong support for the optimization and troubleshooting of wireless devices, and improves the user experience.

[0130] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0131] An embodiment of the present invention further provides an electronic device, including:

[0132] The invention comprises 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, each process of the embodiment of the detection method for the response time of the wireless device is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0133] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned wireless device response time detection method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

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

[0135] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product 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 codes.

[0136] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0137] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A 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 device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0139] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0140] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0141] The above is a detailed introduction to a method, system, device, equipment and medium for detecting the response time of a wireless device provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A method for detecting a response time of a wireless device, characterized in that: Applied to a test fixture, the test fixture is connected to a first wireless device and a second wireless device respectively through a signal line, and the method includes: receiving first data sent by the first wireless device through the signal line, and determining a first receiving time when the first data is received; the first wireless device is used to send second data to the second wireless device while sending the first data to the test tool; receiving third data sent by the second wireless device through the signal line, and determining a second receiving time when the third data is received; the third data is sent to the test tool by the second wireless device after receiving the second data; Determine 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; A response time between the first wireless device and the second wireless device is determined according to the first receiving time, the second receiving 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: Acquire a first identifier carried by the first data, and acquire a second identifier carried by the third data; The determining, according to the first receiving time, the second receiving time, the first wired communication duration, and the second wired communication duration, a response time between the first wireless device and the second wireless device includes: 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 according to the first receiving time, the second receiving time and the wired communication time.

3. The method for detecting the response time of a wireless device according to claim 1 or 2, characterized in that: The determining, according to the first receiving time, the second receiving time, the first wired communication duration, and the second wired communication duration, a response time between the first wireless device and the second wireless device includes: The response time between the first wireless device and the second wireless device is obtained by subtracting the difference between the second receiving time and the first receiving time from the difference between the second wired communication time and the first wired communication time.

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

5. A wireless device response time detection system, characterized in that: include: A test tool, a first wireless device and a second wireless device, wherein the test tool is connected to the first wireless device and the second wireless device respectively through a signal line; The first wireless device is used to send first data to the test fixture through the signal line, and send second data to the second wireless device through wireless communication; The second wireless device is used to send third data to the test tool after receiving the second data; The test fixture is used to receive first data sent by the first wireless device through the signal line, and determine a first receiving time when the first data is received; receiving third data sent by the second wireless device through the signal line, and determining a second receiving time when the third data is received; determining a wired communication time based on the signal line; A response time between the first wireless device and the second wireless device is determined according to the first receiving time, the second receiving time, and the wired communication time.

6. The wireless device response time detection system according to claim 5, characterized in that: The test tool is also used to obtain 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 receiving time, the second receiving 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 tool is used to obtain the response time between the first wireless device and the second wireless device by subtracting the difference between the second receiving time and the first receiving time from the difference between the second wired communication time and the first wired communication time.

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

9. A device for detecting response time of a wireless device, characterized in that: Applied to a test fixture, the test fixture is connected to a first wireless device and a second wireless device through a signal line, and the device includes: A first data receiving module is used to receive first data sent by the first wireless device through the signal line, and determine a first receiving time when the first data is received; the first wireless device is used to send second data to the second wireless device while sending the first data to the test fixture; A second data receiving module is used to receive third data sent by the second wireless device through the signal line, and determine a second receiving time when the third data is received; the third data is sent to the test tool by the second wireless device after receiving the second data; a communication duration determination module, configured to determine 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; The response time determination module is used to determine the response time between the first wireless device and the second wireless device according to the first receiving time, the second receiving 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 when the computer program is executed by the processor, the steps of the method for detecting the response time of a wireless device according to any one of claims 1 to 4 are implemented.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for detecting the response time of a wireless device according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Network communication method and apparatus

    CN106576294A

  • Method for determining propagation time of wireless transmission between wireless communication devices, computer program and wireless communication device

    CN114341662A

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

    CN114390587A

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

    CN115277497A

  • Systems and methods for wi-fi latency reduction in docsis backhaul

    US20180255583A1