Low-delay transmission detection method and system
By incorporating a real-time clock and time synchronization mechanism into the controller, timestamps are recorded and compared to finely decompose transmission delays, thus solving the latency problem between the controller and the host and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN KING CHUANG TECH & ELECTRONICS
- Filing Date
- 2026-02-25
- Publication Date
- 2026-05-15
AI Technical Summary
Transmission delay between the controller and the host computer causes inaccurate operation and screen stuttering, reducing the user experience.
The control handle has a built-in real-time clock or a time synchronization mechanism with the host to record the first timestamp of the triggered action and generate an input data packet including the second timestamp. This data packet is then sent to the host via a communication link for comparison, fine-grained decomposition, and real-time monitoring of transmission delay.
It enables fine-grained decomposition and real-time monitoring of the entire link latency of the control handle, reducing transmission latency and improving user experience.
Smart Images

Figure CN122053510A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of operating handle technology, and in particular to a low-latency transmission detection method and system. Background Technology
[0002] As a crucial input interface between users and electronic devices such as game consoles, virtual reality systems, and remote control platforms, the responsiveness of gamepads significantly impacts user experience and system control precision. Specifically, the transmission delay from the user's action to the host's response can easily lead to inaccurate input, screen stuttering, or even task failure, thus degrading the user experience. Summary of the Invention
[0003] The main objective of this invention is to propose a low-latency transmission detection method and system, which aims to reduce the transmission delay between the operating handle and the host, thereby improving the user experience.
[0004] To achieve the above objectives, the low-latency transmission detection method proposed in this invention is applied to an operating handle, comprising:
[0005] Acquire the trigger action of the trigger part on the control handle and record the first timestamp; An input data packet including a second timestamp is generated based on the triggering action; The input data packet is sent to the host, and the host's reception time is recorded; By comparing the first timestamp, the second timestamp, and the receiving time, the time period exceeding the preset delay time is determined.
[0006] In one embodiment, the step of acquiring the trigger action of the trigger portion on the operating handle and recording the first timestamp includes: Obtain the pressure signal from the trigger unit to the pressure detection unit; When the pressure signal exceeds the preset pressure value, a trigger action is determined and the first timestamp is recorded.
[0007] In one embodiment, the step of acquiring the trigger action of the trigger portion on the operating handle and recording the first timestamp includes: Obtain the displacement signal of the trigger unit's movement; When the displacement signal exceeds the preset displacement value, a trigger action is determined and the first timestamp is recorded.
[0008] In one embodiment, the step of generating an input data packet including a second timestamp based on the triggering action includes: Obtain the trigger signal for the triggering action; The trigger signal is processed to generate input information; An input data packet including a second timestamp is generated based on the input information.
[0009] In one embodiment, the preset delay time includes a first delay time, and the step of comparing the first timestamp, the second timestamp, and the receiving time to determine the time period exceeding the preset delay time includes: The difference between the first timestamp and the second timestamp is obtained, and it is determined that the difference exceeds the first delay time. It is then determined that the timeout from the triggering action to the generation of the input data packet has occurred.
[0010] In one embodiment, the preset delay time includes a second delay time, and the step of comparing the first timestamp, the second timestamp, and the receiving time to determine the time period exceeding the preset delay time includes: The difference between the second timestamp and the receiving time is obtained, and it is determined that the difference exceeds the second delay time. It is then determined that the timeout from the generation of the input data packet to the completion of signal transmission has occurred.
[0011] The present invention also proposes a low-latency transmission system, including an operating handle and a host. The operating handle includes a trigger and a high-displacement analog-to-digital converter. The operating handle is also embedded with a preset filtering algorithm. The preset filtering algorithm performs noise reduction and smoothing processing on the data collected and converted by the high-displacement analog-to-digital converter to generate a stable input data packet that is sent to the host.
[0012] In one embodiment, the operating handle sends the input data packets to the host via a wired interface or a 2.4G proprietary wireless protocol.
[0013] In one embodiment, the triggering part includes at least one of a button, a joystick, and a trigger.
[0014] In one embodiment, the operating handle includes a high-speed interface.
[0015] The technical solution of this invention utilizes a built-in real-time clock in the controller or a mechanism that synchronizes time with the host. When a user triggers a button, trigger, or joystick on the controller, the controller's sensing module captures the trigger action, and the main control chip records a first timestamp at the hardware interrupt level. This first timestamp reflects the actual moment the user's operation occurs. Subsequently, the main control chip generates a standard input data packet based on the trigger action and embeds a second timestamp during the encapsulation process. The second timestamp identifies the moment the data packet is completed and ready for transmission, thus accurately quantifying the processing latency consumed within the controller from action detection to data encapsulation. Next, the input data packet is sent to the host via a communication link, and the host-side driver records the reception time the moment the data packet is received. Finally, the controller compares the first timestamp, the second timestamp, and the reception time to calculate the controller's local processing latency, transmission link latency, and end-to-end total latency, and compares these with a preset latency time. If any time period exceeds a threshold, it is identified as an abnormal latency segment, facilitating targeted latency adjustments. This achieves refined decomposition and real-time monitoring of the controller's end-to-end latency, which helps reduce transmission latency between the controller and the host, improving the user experience. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0017] Figure 1 A flowchart illustrating an embodiment of the low-latency transmission detection method provided by the present invention; Figure 2 A flowchart illustrating a second embodiment of the low-latency transmission detection method provided by the present invention; Figure 3 A flowchart illustrating Embodiment 3 of the low-latency transmission detection method provided by the present invention; Figure 4 This is a schematic diagram of the module structure of the low-latency transmission system provided by the present invention.
[0018] Explanation of icon numbers: 100. Operating handle; 110. Trigger unit; 120. High-speed interface; 200. Main unit.
[0019] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0021] It should be noted that if the embodiments of the present invention involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a specific posture. If the specific posture changes, the directional indicators will also change accordingly.
[0022] Furthermore, if the embodiments of this invention involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the use of "and / or" or "and / or" throughout the text includes three parallel solutions. For example, "A and / or B" includes solution A, solution B, or a solution where both A and B are satisfied simultaneously. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this invention.
[0023] This invention proposes a low-latency transmission detection method.
[0024] Please refer to Figure 1 , Figure 3 and Figure 4 In one embodiment of the present invention, the low-latency transmission detection method is applied to the operating handle 100, including: Step S10: Obtain the trigger action of the trigger part 110 on the operating handle 100 and record the first timestamp; Step S20: Generate an input data packet including a second timestamp based on the triggering action; Step S30: Send the input data packet to host 200 and record the reception time of host 200; Step S40: Compare the first timestamp, the second timestamp, and the receiving time to determine the time period exceeding the preset delay time.
[0025] The technical solution of this invention utilizes a built-in real-time clock in the operating handle 100 or a time synchronization mechanism with the host 200. When a user triggers the triggering part 110 on the handle (such as a button, trigger, or joystick), the handle's sensing module captures the triggering action, and the main control chip records a first timestamp at the hardware interrupt level. The first timestamp reflects the moment when the user's actual operation occurs. Subsequently, in step S20, the main control chip generates a standard input data packet based on the triggering action and embeds a second timestamp during the encapsulation process. The second timestamp identifies the moment when the data packet is completed and ready to be sent, thereby accurately quantifying the processing delay consumed by the handle from action detection to data encapsulation. Next, in step S30, the input data packet is sent to the host 200 via a communication link, and the host 200's driver records the reception time the moment the data packet is received. Finally, in step S40, the controller compares the first timestamp, the second timestamp, and the reception time to calculate the local processing delay of the operating handle 100, the transmission link delay, and the end-to-end total delay, and compares them with a preset delay time. If any time period exceeds the threshold, it is determined to be an abnormal delay segment, thus facilitating targeted delay adjustment. This enables a fine-grained breakdown and real-time monitoring of the end-to-end latency of the controller 100, which helps reduce the transmission latency between the controller 100 and the host 200, thus improving the user experience.
[0026] It should be noted that the detection method in this embodiment can either add a timestamp to the operating handle 100 and record it in the trigger event and input data packet of the trigger unit 110, or it can be done through a detection device. For example, using a detection device equipped with a pressure sensor, when the trigger unit 110 is acted upon, the pressure sensor generates a pressure signal, which triggers the trigger unit 110, thereby triggering the pressure sensor and simultaneously recording the first timestamp. Similarly, the recording of the second timestamp can be done in a similar manner to the recording of the first timestamp, either by adding a timestamp to the operating handle 100 or by using an external detection device equipped with timestamps.
[0027] In one embodiment, please refer to Figure 1 , Figure 2 and Figure 4 Step S10 includes: Step S11: Obtain the pressure signal from the trigger unit 110 to the pressure detection unit; Step S12: When the pressure signal exceeds the preset pressure value, determine the trigger action and record the first timestamp.
[0028] First, in step S11, the trigger 110 of the operating handle 100 (such as a trigger or button) may integrate a pressure detection unit, or a pressure detection unit may be installed in the detection device to collect the pressure signal applied to the trigger 110 in real time. Then, in step S12, the controller of the handle or the controller of the detection device compares the obtained pressure signal with a preset pressure value. When the pressure signal exceeds the preset pressure value, it is determined that a valid trigger action has been performed, and a first timestamp is immediately recorded in the hardware interrupt response. Thus, using a pressure threshold as the basis for action recognition not only effectively filters out invalid inputs caused by accidental touches, jitter, or slight contact, but also ensures that the first timestamp corresponds to the start time of the user's true intention, thereby providing a high-fidelity time reference for subsequent delay analysis.
[0029] In another embodiment, please refer to Figure 1 , Figure 2 and Figure 4 Step S10 includes: Step S13: Obtain the displacement signal of the trigger unit 110. Step S14: When the displacement signal exceeds the preset displacement value, determine the trigger action and record the first timestamp.
[0030] It is understood that in step S13, the trigger part 110 of the operating handle 100, such as a trigger or joystick, integrates a displacement detection unit for detecting its movement displacement, or a displacement detection unit is set in the detection device, such as based on a Hall effect sensor, optical encoder, or inertial measurement unit (IMU), to acquire the motion displacement signal of the trigger part 110 during user operation in real time. Subsequently, in step S14, the controller of the handle or the controller of the detection device compares the acquired displacement signal with a preset displacement value. When the displacement signal exceeds the preset displacement value, it is determined that the user has performed a valid trigger action, and the first timestamp is immediately recorded in the hardware interrupt response. Thus, by introducing a displacement threshold as the basis for determining the trigger action, it is possible to effectively distinguish between the user's intentional rapid operation and slow adjustment, unintentional touch, or environmental vibration, etc., as non-intentional inputs. At the same time, since the displacement signal usually rises rapidly at the beginning of the action, using the moment when the displacement exceeds the threshold as the first timestamp can accurately capture the starting point of the user's true operating intention.
[0031] In one embodiment, please refer to Figures 2 to 4 Step S20 includes: Step S21: Obtain the trigger signal for the triggering action; Step S22: Process the trigger signal to generate input information; Step S23: Generate an input data packet including a second timestamp based on the input information.
[0032] First, in step S21, the controller of the operating handle 100 or the controller of the detection device obtains the original trigger signal corresponding to the trigger action that has been determined to be valid from the trigger unit 110. Then, in step S22, the trigger signal undergoes necessary signal conditioning, analog-to-digital conversion, filtering, and formatting to generate structured input information. This input information includes semantic operation data such as trigger type, intensity, direction, or duration. Next, in step S23, the controller encapsulates the input information into a standard communication protocol-compatible input data packet and embeds a second timestamp at the moment the encapsulation is completed. The second timestamp precisely identifies the moment when the data packet is constructed and ready to be sent. Through the above step-by-step processing flow, this solution ensures that the conversion process from the original physical signal to the transmittable data packet has clear time boundaries and controllable processing delay, avoiding the problem of timestamp ambiguity or lag caused by unclear coupling between signal processing and packaging logic. Simultaneously, the introduction of the second timestamp allows the system to accurately quantify the inherent processing delay within the handle from trigger action confirmation to data readiness.
[0033] In one embodiment, please refer to Figure 3 Step S40 includes: Step S401: Obtain the difference between the first timestamp and the second timestamp, determine that the difference exceeds the first delay time, and judge that the timeout from the triggering action to the generation of the input data packet has occurred.
[0034] It is understood that in this embodiment, the controller calculates the difference ΔT1 between the first timestamp and the second timestamp, and compares this difference ΔT1 with a preset first delay time threshold. When ΔT1 exceeds the first delay time, it is determined that there is a timeout anomaly in the local processing stage from the occurrence of the user-triggered action to the completion of the input data packet generation. Thus, this embodiment can identify local processing delay problems caused by firmware scheduling blockage within the operating handle 100, signal processing algorithm overload, or main control chip resource contention, solving the technical deficiency in the prior art where the lack of monitoring of the timeliness from triggering to packaging prevents the location of performance bottlenecks on the handle side. This achieves a quantitative evaluation of the operating handle 100's own response efficiency and provides traceable data for subsequent firmware optimization, task priority adjustment, or hardware selection.
[0035] In one embodiment, please refer to Figure 3 Step S40 includes: Step S401: Obtain the difference between the second timestamp and the receiving time, determine that the difference exceeds the second delay time, and judge that the timeout has occurred from the generation of the input data packet to the completion of signal transmission.
[0036] It is understood that the controller calculates the difference ΔT2 between the second timestamp and the reception time of the host 200, and compares this difference ΔT2 with a preset second delay time threshold. When ΔT2 exceeds the second delay time, it is determined that a timeout has occurred in the signal transmission phase between the completion of the input data packet generation and its successful reception by the host 200. Thus, this embodiment can accurately identify transmission link anomalies caused by wireless channel interference, protocol retransmission, network congestion, or host 200 drive processing delays, effectively solving the problem of unclear optimization direction caused by the inability to distinguish between local controller delay and communication transmission delay in existing technologies. By introducing the transmission timeout judgment logic based on the difference ΔT2, independent monitoring and quantitative evaluation of the real-time performance of the communication link between the controller 100 and the host 200 are achieved, providing a reliable basis for dynamically switching communication modes, adjusting data packet priorities, or triggering link self-healing mechanisms.
[0037] This invention also proposes a low-latency transmission system, please refer to... Figure 3 The low-latency transmission system includes an operating handle 100 and a host 200. The operating handle 100 includes a trigger unit 110 and a high-displacement analog-to-digital converter (ADC). The operating handle 100 also embeds a preset filtering algorithm, which denoises and smooths the data acquired and converted by the ADC, generating stable input data packets to be sent to the host 200. It can be understood that the operating handle 100 integrates a high-speed ADC for real-time acquisition of the analog signal output from the trigger unit 110 at a high sampling rate. To improve signal quality and avoid false triggering due to high-frequency noise or mechanical jitter, the operating handle 100 also embeds a preset filtering algorithm. This algorithm performs real-time denoising and smoothing on the digital signal acquired and converted by the ADC, effectively suppressing interference components while preserving the dynamic characteristics of the movement, thereby generating stable and reliable input data. The filtered data is then encapsulated into input data packets and sent to the host 200 through a low-latency communication interface. In this way, the signal-to-noise ratio and timing consistency of the original sensor signal are improved without sacrificing response speed. This reduces the probability of misjudgment, repeated triggering, or timestamp jitter caused by sensor noise, thereby quickly completing signal purification. This ensures the accuracy of the first timestamp and avoids transmitting redundant or distorted data to the host 200, thus shortening the scanning and filtering time. This reduces the transmission delay between the operating handle 100 and the host 200, improving the user experience.
[0038] Furthermore, in this embodiment, please refer to Figure 4The controller 100 sends input data packets to the host 200 via a wired interface or a 2.4G proprietary wireless protocol. This means the controller 100 sends processed input data packets to the host 200 via a wired interface, such as USB 2.0 / 3.0 or a dedicated high-speed serial interface; or via a 2.4G proprietary wireless protocol, which operates in the 2.4GHz ISM band and employs a customized communication frame structure and low-overhead protocol stack. On one hand, the wired interface provides a highly deterministic and interference-resistant transmission channel; on the other hand, the 2.4G proprietary wireless protocol, through optimizations such as frequency hopping spread spectrum, short frame structure, priority preemption, and hardware-level ACK mechanisms, reduces transmission jitter and average latency caused by the complexity of protocol stacks, redundant connection negotiations, or coexistence interference in traditional general-purpose wireless protocols while ensuring wireless freedom. By supporting these two efficient and low-overhead transmission methods, uncontrollable latency and packet loss problems caused by relying on general-purpose wireless protocols are avoided, ensuring that the transmission path of input data packets from the controller to the host 200 has predictable low-latency characteristics.
[0039] In this embodiment, please refer to Figure 4 The trigger unit 110 includes at least one of a button, a joystick, and a trigger. The button, joystick, and trigger are respectively used to respond to user pressure, directional deviation, or linear travel operations, and each integrates a corresponding sensing unit, such as a microswitch, potentiometer, Hall sensor, or pressure / speed detection module, to capture user operations in real time. Thus, whether it is an instantaneous trigger operation, continuous analog input, or force-sensitive control, high-precision response monitoring can be performed based on a unified timestamp acquisition and delay analysis architecture.
[0040] In one embodiment, please refer to Figure 4 The controller 100 includes a high-speed interface 120. This high-speed interface 120 can be implemented based on the USB HID protocol or a customized low-latency communication protocol, ensuring that the controller reports input status multiple times per second to the host 200. By shortening the transmission interval between adjacent data packets through a higher report rate, the time resolution of triggered actions is significantly improved, avoiding the problems of lost action details, coarse timestamps, and end-to-end latency accumulation caused by excessively long sampling and reporting cycles in existing controllers 100. Combined with the aforementioned first and second timestamp mechanisms, this high-speed interface 120 not only ensures the refresh capability of input data but also provides a hardware foundation for accurately capturing fast transient operations, thereby achieving extremely fast response determinism at the system level. Thus, the low-latency transmission detection method of this invention can maintain high accuracy and high real-time performance in real-world, highly dynamic interactive scenarios, meeting the needs of time-sensitive applications such as competitive games, virtual reality, and professional control.
[0041] This application also provides an apparatus that employs the low-latency transmission detection method described in the above embodiments, which can solve the technical problem of transmission delay between the controller and the host. Compared with the prior art, the beneficial effects of the apparatus provided in this application are the same as those of the low-latency transmission detection method provided in the above embodiments, and other technical features of the apparatus are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0042] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processing device, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0043] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the intelligent temperature control method based on thermal modeling and prediction as described above.
[0044] The computer program product provided in this application can detect technical problems related to transmission delay between the operating handle and the host. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the low-latency transmission detection method provided in the above embodiments, and will not be repeated here.
[0045] The above description is merely an exemplary embodiment of the present invention and does not limit the scope of protection of the present invention. Any equivalent structural transformations made based on the technical concept of the present invention and the contents of the specification and drawings of the present invention, or direct / indirect applications in other related technical fields, are included within the scope of protection of the present invention.
Claims
1. A low-latency transmission detection method, characterized in that, Actions on the operating handle include: Acquire the trigger action of the trigger part on the control handle and record the first timestamp; An input data packet including a second timestamp is generated based on the triggering action; The input data packet is sent to the host, and the host's reception time is recorded; By comparing the first timestamp, the second timestamp, and the receiving time, the time period exceeding the preset delay time is determined.
2. The low-latency transmission detection method as described in claim 1, characterized in that, The step of acquiring the trigger action of the trigger part on the operating handle and recording the first timestamp includes: Obtain the pressure signal from the trigger unit to the pressure detection unit; When the pressure signal exceeds the preset pressure value, a trigger action is determined and the first timestamp is recorded.
3. The low-latency transmission detection method as described in claim 1, characterized in that, The step of acquiring the trigger action of the trigger part on the operating handle and recording the first timestamp includes: Obtain the displacement signal of the trigger unit's movement; When the displacement signal exceeds the preset displacement value, a trigger action is determined and the first timestamp is recorded.
4. The low-latency transmission detection method as described in claim 1, characterized in that, The step of generating an input data packet including a second timestamp based on the triggering action includes: Obtain the trigger signal for the triggering action; The trigger signal is processed to generate input information; An input data packet including a second timestamp is generated based on the input information.
5. The low-latency transmission detection method as described in claim 1, characterized in that, The preset delay time includes a first delay time, and the step of comparing the first timestamp, the second timestamp, and the receiving time to determine the time period exceeding the preset delay time includes: The difference between the first timestamp and the second timestamp is obtained, and it is determined that the difference exceeds the first delay time. It is then determined that the timeout from the triggering action to the generation of the input data packet has occurred.
6. The low-latency transmission detection method as described in claim 1, characterized in that, The preset delay time includes a second delay time, and the step of comparing the first timestamp, the second timestamp, and the receiving time to determine the time period exceeding the preset delay time includes: The difference between the second timestamp and the receiving time is obtained, and it is determined that the difference exceeds the second delay time. It is then determined that the timeout from the generation of the input data packet to the completion of signal transmission has occurred.
7. A low-latency transmission system, characterized in that, The system includes an operating handle and a host. The operating handle includes a trigger and a high-displacement analog-to-digital converter. The operating handle also embeds a preset filtering algorithm, which performs noise reduction and smoothing processing on the data collected and converted by the high-displacement analog-to-digital converter to generate a stable input data packet that is sent to the host.
8. The low-latency transmission system as described in claim 7, characterized in that, The operating handle sends the input data packets to the host via a wired interface or a 2.4G proprietary wireless protocol.
9. The low-latency transmission system as described in claim 7, characterized in that, The triggering part includes at least one of a button, a joystick, and a trigger.
10. The low-latency transmission system as described in claim 7, characterized in that, The operating handle includes a high-speed interface.