Touch delay test system, method, storage medium and electronic device
By setting up detection devices and touch latency testing devices in touch devices, the latency of the display screen, touch module, rendering module and display module are detected respectively, which solves the problem that the latency of each module cannot be obtained in the existing technology, and realizes accurate latency detection and optimization of touch devices.
Patent Information
- Application Number
- CN202310849509.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-11
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2043-07-11
AI Technical Summary
Existing technologies cannot effectively obtain the latency information of each module in a touch device, making it impossible for developers to optimize the touch latency performance of each module.
By setting up detection devices and touch latency testing devices in touch devices, the latency of the display screen, touch module, rendering module and display module are detected respectively, and the touch latency, rendering latency and display latency are obtained.
It enables precise detection of the latency of multiple modules during touch operation on touch devices, supporting developers in optimizing touch solutions.
Smart Images

Figure CN119311484B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of touch latency testing, specifically to a touch latency testing system, method, storage medium, and electronic device. Background Technology
[0002] Currently, touch latency in most touch devices is obtained by using high-speed cameras to capture the latency of touch operations. This method can only obtain the final touch latency effect of a particular touch device, but it cannot effectively obtain the latency of each link in the touch architecture. Touch device developers cannot evaluate the quality of touch solutions based on the actual latency of each link, nor can they formulate ways to optimize touch latency performance. Summary of the Invention
[0003] The purpose of this application is to overcome the shortcomings and deficiencies in the prior art and provide a touch delay testing system, method, storage medium and electronic device that can detect the delay time of multiple modules during the touch operation of the touch device.
[0004] A first aspect of this application provides a touch latency testing system applied to a touch device, the touch device including a display screen, a touch module, a rendering module, and a display module; the touch latency testing system includes: a detection device and a touch latency testing device;
[0005] The testing device is installed on the display screen; the touch latency testing device is connected to the testing device, the touch module, the rendering module, and the display module;
[0006] The touch latency testing device is used to acquire a first time when the detection device detects a touch operation on the display screen, and a second time when the touch module responds to the touch operation and outputs first touch data; the touch latency testing device is also used to obtain touch latency based on the first time and the second time.
[0007] The touch latency testing device is used to acquire a third time when the second touch data is output to the rendering module, and the touch latency testing device is used to acquire a fourth time when the rendering module responds to the second touch data and outputs the first image data; the touch latency testing device is also used to obtain the rendering latency based on the third time and the fourth time;
[0008] The touch latency testing device is used to acquire a fifth time when the second image data is output to the display module, and the touch latency testing device is used to acquire a sixth time when the detection device detects that the display screen changes the displayed image in response to the second image data; the touch latency testing device is also used to obtain the display delay based on the fifth time and the sixth time.
[0009] A second aspect of this application provides a touch latency testing method applied to a touch device, the touch device including a display screen, a touch module, a rendering module, and a display module, comprising the following steps:
[0010] The system acquires a first time when a touch operation is detected on the display screen, and a second time when the touch module responds to the touch operation and outputs first touch data; based on the first and second times, it obtains the touch delay.
[0011] A third time is obtained when the second touch data is output to the rendering module, and a fourth time is obtained when the rendering module responds to the second touch data and outputs the first image data; the rendering delay is obtained based on the third time and the fourth time.
[0012] A fifth time when the second image data is output to the display module is obtained, and a sixth time when the display screen changes the displayed image in response to the second image data is obtained; based on the fifth time and the sixth time, the display delay is obtained.
[0013] A third aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the touch latency testing method described above.
[0014] A fourth aspect of this application provides an electronic device including a storage device, a processor, and a computer program stored in the storage device and executable by the processor, wherein the processor executes the computer program to implement the steps of the touch delay testing method as described above.
[0015] Compared to related technologies, the embodiments of this application can obtain touch delay by detecting the first time of touch operation by the detection device set on the display screen of the touch device, and the second time of the touch module responding to the touch operation and outputting the first touch data. They can also obtain rendering delay by the third time of outputting the second touch data to the rendering module, and the fourth time of the rendering module responding to the second touch data and outputting the first image data. Furthermore, they can obtain display delay by the fifth time of outputting the second image data to the display module, and the sixth time of detecting the display screen changing the displayed image in response to the second image data. This achieves the technical effect of obtaining the touch delay of the touch module, the rendering delay of the rendering module, and the display delay of the display module of the touch device, and realizes the technical effect of separately detecting the delay time of multiple modules during the touch operation of the touch device.
[0016] To provide a clearer understanding of this application, the specific embodiments of this application will be described below in conjunction with the accompanying drawings. Attached Figure Description
[0017] Figure 1 This is a schematic diagram of the device connection of a touch delay testing system according to an embodiment of this application.
[0018] Figure 2 This is a schematic diagram showing the connection between the first and second split screens of a touch latency testing system according to an embodiment of this application.
[0019] Figure 3 This is a flowchart of a touch delay testing method according to an embodiment of this application.
[0020] 100. Touch delay testing system; 101. Testing equipment; 1011. First trigger; 1013. Second trigger; 103. Touch delay testing equipment; 200. Touch device; 201. Display screen; 2011. First split screen; 2013. Second split screen; 203. Touch module; 205. Rendering module; 207. Display module. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0022] It should be understood that the described embodiments are merely some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of the embodiments of this application.
[0023] In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. In the description of this application, it should be understood that the terms "first," "second," "third," etc., are used only to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances. The singular forms "a," "the," and "the" used in this application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. The word "if" as used herein can be interpreted as "when," "when," or "in response to determination."
[0024] Furthermore, in the description of this application, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0025] Touch devices are devices that can display touch content in response to touch operations. Common touch operations include writing and clicking. The time delay in a touch device's response to touch operations and the display of touch content affects the user experience; therefore, the time delay of a touch device is one of the evaluation criteria.
[0026] Traditional methods for obtaining the latency of touch devices involve instructing a camera to capture the process of touching the device and the device responding to the touch by changing the displayed content. However, touch devices utilize multiple modules to respond to touch operations and change the displayed content. Traditional methods can only obtain the overall latency of the touch device, failing to capture the latency of each individual module. This prevents developers from specifying optimization schemes for the latency of each module.
[0027] The application environment of the touch testing method in this application includes a touch device under test, a detection device, and a touch delay testing device. The detection device is located on the touch device and is signal-connected to the touch delay testing device. The detection device can detect touch operations on the touch device and send a signal to the touch delay testing device upon detecting a touch operation. The detection device can also detect changes in the display screen of the touch device and send a signal to the touch delay testing device when a change in the display screen is detected. The touch delay testing device is connected to the touch device and can output touch data to the touch device. The touch device renders the touch data and then outputs the rendered image data to the touch delay testing device.
[0028] Touch devices can be displays with touch functionality, such as interactive flat panels, especially those with large screens. Specifically, a touch device can be an integrated device that uses touch technology to control displayed content and achieve human-computer interaction, integrating one or more functions such as a projector, electronic whiteboard, screen, audio system, television, and video conferencing terminal. Touch devices can be capacitive, resistive, or electromagnetic screens. In one embodiment, a user can perform touch operations by touching the touch device with a finger or stylus. The touch device detects the touch position and determines a response scheme based on the displayed content corresponding to the touch position, thus implementing the touch function. For example, if the touch position indicates writing content, the response scheme is to display the writing content; or if the touch position indicates that the corresponding displayed content is a control for a specific function, the response scheme is to execute that function.
[0029] Typically, touch devices are equipped with at least one operating system, including but not limited to Android, Linux, and Windows. In one embodiment, the touch device may install at least one application based on the operating system. In this embodiment, an application with drawing capabilities is described as an example. For instance, the touch device may have an electronic whiteboard application with drawing capabilities installed. This application can be a built-in application of the operating system or an application downloaded from a third-party device or server.
[0030] The touch device also includes several display channels; specifically, depending on the type of data source received, the display channels can be divided into Android channels, High Definition Multimedia Interface (HDMI) channels, VGA (Video Graphics Array) cable interface channels, and USB Type-C channels, etc. The touch device displays data according to the data source received by the corresponding display channel. This application embodiment uses the touch function of the touch device under the Android channel as an example to introduce a touch testing method.
[0031] Please see Figure 1 This is a device connection diagram of the touch delay test system 100 according to the first embodiment of this application, which is applied to the touch device 200. The touch device 200 includes a display screen 201, a touch module 203, a rendering module 205 and a display module 207.
[0032] The display screen 201 is used to display images, including static images and dynamic images. Dynamic images can be GIFs or videos that include multiple frames of static images. The touch component is used to detect touch operations on the display screen 201. Touch operations include, but are not limited to, writing operations, click operations, and swipe operations. The touch component generates touch data based on the detected touch operations; for example, the touch data generated by a writing operation is writing trajectory data. The rendering module 205 is used to render image data based on the received touch data; for example, it renders image data containing the writing trajectory based on the writing trajectory data. The display module 207 is used to display the received image data on the display screen 201; for example, it displays image data containing the writing trajectory on the display screen 201, causing the display screen 201 to display the corresponding writing trajectory.
[0033] The touch delay testing system 100 of this application includes: a testing device 101 and a touch delay testing device 103.
[0034] The testing device 101 is installed on the display screen 201; the touch delay testing device 103 is connected to the testing device 101, the touch module 203, the rendering module 205 and the display module 207.
[0035] The detection device 101 can employ a trigger, which can rapidly send a signal to the touch delay testing device 103 when the detected parameter occurs. The trigger used to detect touch operations can be a photoelectric trigger and / or a pressure trigger. For a photoelectric trigger, when a touch operation passes through it, it changes the illumination parameter detected by the trigger, and the trigger rapidly sends a signal to the touch delay testing device 103 upon detecting the change in the photoelectric parameter. For a pressure trigger, when a touch operation passes through it, it changes the pressure parameter detected by the trigger, and the trigger rapidly sends a signal to the touch delay testing device 103 upon detecting the change in the pressure parameter.
[0036] The touch delay test device 103 can receive input data and signals, record the input time of data and signals, store data and output data, record the output time of data, and calculate the recorded time to calculate the time difference based on the input time of data and the input time of signals.
[0037] The touch delay testing device 103 is used to acquire the first time when the detection device 101 detects the touch operation of the display screen 201, and the second time when the touch module 203 responds to the touch operation and outputs the first touch data; the touch delay testing device 103 is also used to obtain the touch delay based on the first time and the second time.
[0038] The first time when the detection device 101 detects the touch operation of the display screen 201 refers to the time when the detection device 101 outputs a first signal to the touch delay test device 103 and the touch delay test device 103 receives the first signal.
[0039] The first touch data output by the touch module 203 refers to the touch data output by the touch module 203 at the same coordinates as the detection device 101. Specifically, the touch module 203 generates corresponding touch data in response to the coordinates of a touch operation on the display screen 201. For example, when a touch operation passes through multiple coordinates on the display screen 201, multiple touch data are generated. When the coordinates corresponding to the touch data match the detection coordinates of the detection device 101 on the display screen 201, this touch data is considered the first touch data.
[0040] In one embodiment, the touch module 203 may output multiple touch data to the touch delay test device 103 in response to a touch operation. The touch delay test device 103 compares the detection coordinates of the detection device 101 on the display screen 201 with the coordinates corresponding to the received touch data to identify the first touch data output by the touch module 203 from the received touch data.
[0041] In another real-time mode, the touch module 203 may generate multiple touch data in response to touch operation. The touch module 203 compares the detection coordinates of the detection device 101 on the display screen 201 with the coordinates corresponding to the generated touch data to identify the first touch data from the generated touch data. The touch module 203 then outputs the identified first touch data to the touch delay test device 103.
[0042] Touch latency is the difference between the second and first touch times.
[0043] The touch latency testing device 103 is used to acquire the third time when the second touch data is output to the rendering module 205, and the touch latency testing device 103 is used to acquire the fourth time when the rendering module 205 responds to the second touch data and outputs the first image data; the touch latency testing device 103 is also used to obtain the rendering latency based on the third time and the fourth time.
[0044] The second touch data can be stored in the touch latency testing device 103. The touch latency testing device 103 records the time when the second touch data is output to the rendering module 205 to obtain the third time. Alternatively, the second touch data can be stored in a data storage device, which outputs the data to the rendering module 205. When the data storage device outputs the second touch data to the rendering module 205, it sends a first notification signal to the touch latency testing device 103. The touch latency testing device 103 records the time of the first notification signal to obtain the third time.
[0045] The touch latency test device 103 records the time of receiving the first image data output by the rendering module 205 as the fourth time. The touch latency test device 103 can record the time of starting to receive the first image data output by the rendering module 205 as the fourth time, or it can record the time of finishing receiving the first image data output by the rendering module 205 as the fourth time.
[0046] The touch delay test device 103 is used to acquire the fifth time when the second image data is output to the display module 207, and the touch delay test device 103 is used to acquire the sixth time when the detection device 101 detects that the display screen 201 changes the displayed image in response to the second image data; the touch delay test device 103 is also used to obtain the display delay based on the fifth time and the sixth time.
[0047] The second image data can be stored in the touch delay test device 103, which records the time when the second image data is output to the display module 207 as the fifth time. Alternatively, the second image data can be stored in a data storage device, which outputs it to the display module 207. When the data storage device outputs the second image data to the display module 207, it sends a second notification signal to the touch delay test device 103, which records the time of the second notification signal to obtain the fifth time.
[0048] The detection device 101 for detecting changes in the displayed image on the display screen 201 can employ a photoelectric trigger. When the display screen 201 changes its displayed image, it alters the illumination parameters detected by the photoelectric trigger. Upon detecting this change in the photoelectric parameters, the photoelectric trigger rapidly sends a signal to the touch delay testing device 103. Preferably, to improve the detection accuracy of the photoelectric trigger, before the display screen 201 changes its displayed image, the position corresponding to the photoelectric trigger displays a black image, and after the display screen 201 changes its displayed image, the position corresponding to the photoelectric trigger displays a white image; or before the display screen 201 changes its displayed image, the position corresponding to the photoelectric trigger displays a white image, and after the display screen 201 changes its displayed image, the position corresponding to the photoelectric trigger displays a black image. In other embodiments, those skilled in the art can use images of different colors with large illumination differences based on the differences in the emitted illumination of images displaying different colors.
[0049] Compared to related technologies, the embodiments of this application can obtain touch delay by measuring the first time the detection device 101 on the display screen 201 of the touch device 200 detects the touch operation, and the second time the touch module 203 responds to the touch operation and outputs the first touch data, and can also obtain rendering delay by measuring the third time the second touch data is output to the rendering module 205, and the fourth time the rendering module 205 responds to the second touch data and outputs the first image data, and can also obtain display delay by measuring the fifth time the second image data is output to the display module 207, and the sixth time the display screen 201 is detected to change the displayed image in response to the second image data, thereby obtaining the technical effect of obtaining the touch delay of the touch module 203, the rendering delay of the rendering module 205, and the display delay of the display module 207 of the touch device 200, and achieving the technical effect of separately detecting the delay time of multiple modules during the touch operation of the touch device 200.
[0050] In one feasible embodiment, the detection device 101 includes a detection signal output terminal; the touch module 203 includes a touch data output terminal; and the touch delay testing device 103 includes a detection signal input terminal and a touch data input terminal.
[0051] The detection signal output terminal of the detection device 101 is connected to the detection signal input terminal of the touch delay test device 103, and the touch data output terminal of the touch module 203 is connected to the touch data input terminal of the touch delay test device 103.
[0052] When the detection device 101 detects a touch operation on the display screen 201, the detection signal output terminal of the detection device 101 outputs a first signal to the detection signal input terminal of the touch delay test device 103, and the touch delay test device 103 determines the time of acquiring the detection signal as the first time.
[0053] The touch module 203 responds to the touch operation of the display screen 201 and generates first touch data. The touch data output terminal of the touch module 203 outputs the first touch data to the touch data input terminal of the touch delay test device 103. The touch delay test device 103 determines the time of acquiring the first touch data as the second time. The coordinates of the first touch data correspond to the coordinates of the detection device 101.
[0054] In this embodiment, through the connection between the detection signal output terminal of the detection device 101 and the detection signal input terminal of the touch delay test device 103, the detection device 101 can smoothly output the first signal to the touch delay test device 103. Through the connection between the touch data output terminal of the touch module 203 and the touch data input terminal of the touch delay test device 103, the touch module 203 can smoothly output the first touch data to the touch delay test device 103, so that the touch delay test device 103 can accurately record the first time of outputting the first signal and the second time of acquiring the first touch data.
[0055] In one feasible embodiment, the rendering module 205 includes a touch data input terminal and an image data output terminal; the touch latency testing device 103 includes a touch data output terminal and an image data input terminal.
[0056] The touch data output terminal of the touch delay test device 103 is connected to the touch data input terminal of the rendering module 205, and the image data output terminal of the rendering module 205 is connected to the image data input terminal of the touch delay test device 103.
[0057] The touch data output terminal of the touch delay test device 103 outputs second touch data to the touch data input terminal of the rendering module 205; the touch delay test device 103 determines the time of outputting the second touch data as the third time.
[0058] The rendering module 205 responds to the second touch data and renders the first image data. The image data output terminal of the rendering module 205 outputs the first image data to the image data input terminal of the touch delay test device 103. The touch delay test device 103 determines the time of acquiring the first image data as the fourth time.
[0059] In this embodiment, through the connection between the touch data output terminal of the touch delay testing device 103 and the touch data input terminal of the rendering module 205, the touch delay testing device 103 can successfully output the second touch data to the rendering module 205; through the connection between the image data output terminal of the rendering module 205 and the image data input terminal of the touch delay testing device 103, the rendering module 205 can successfully output the first image data to the touch delay testing device 103, so that the touch delay testing device 103 can accurately record the third time of outputting the second touch data and the fourth time of acquiring the first image data.
[0060] In one feasible embodiment, the touch delay testing device 103 includes an image data output terminal and a detection signal input terminal; the display module 207 includes an image data input terminal; and the detection device 101 includes a detection signal output terminal.
[0061] The image data output terminal of the touch delay test device 103 is connected to the image data input terminal of the display module 207; the detection signal output terminal of the detection device 101 is connected to the detection signal input terminal of the touch delay test device 103.
[0062] The touch delay test device 103 outputs second image data to the image data input terminal of the display module 207 from its image data output terminal; the touch delay test device 103 determines the time of outputting the second image data as the fifth time.
[0063] The display module 207 drives the display screen 201 according to the second image data, so that the display screen 201 changes the displayed image in response to the second image data. When the detection device 101 detects the change in the displayed image of the display screen 201, the signal output terminal of the detection device 101 outputs the second signal to the detection signal input terminal of the touch delay test device 103. The touch delay test device 103 determines the time of acquiring the second signal as the sixth time.
[0064] In this embodiment, through the connection between the image data output terminal of the touch delay testing device 103 and the image data input terminal of the display module 207, the touch delay testing device 103 can successfully output the second image data to the display module 207; through the connection between the detection signal output terminal of the detection device 101 and the detection signal input terminal of the touch delay testing device 103, the detection device 101 can successfully output the second signal to the touch delay testing device 103, so that the touch delay testing device 103 can accurately record the fifth time of outputting the second image data and the sixth time of acquiring the second signal.
[0065] Please see Figure 2In one feasible embodiment, the display screen 201 includes a first split screen 2011 and a second split screen 2013; the detection device 101 includes a first trigger 1011 and a second trigger 1013, the first trigger 1011 and the second trigger 1013 being respectively disposed on the first split screen 2011 and the second split screen 2013.
[0066] The first split screen 2011 and the second split screen 2013 are different screen ranges of the same display screen 201. The first split screen 2011 and the second split screen 2013 can be obtained by dividing the display screen 201 in half, or they can be two screen ranges among multiple screen ranges divided by the display screen 201.
[0067] The first trigger 1011 can be a photoelectric trigger and / or a pressure trigger, and the second trigger 1013 can be a photoelectric trigger.
[0068] When the touch operation of the first split screen 2011 passes through the first trigger 1011, the touch delay test device 103 acquires the first signal emitted by the first trigger 1011 and the first touch data emitted by the touch module 203. The touch delay test device 103 determines the time of acquiring the first signal as the first time and the time of acquiring the first touch data as the second time.
[0069] The display module 207 drives the second split screen 2013 according to the second image data, so that when the second split screen 2013 changes the displayed image in response to the second image data, the touch delay test device 103 obtains the second signal emitted by the second trigger 1013, and the touch delay test device 103 determines the time of obtaining the second signal as the sixth time.
[0070] In this embodiment, by dividing the display screen 201 into a first split screen 2011 and a second split screen 2013, the user can simultaneously perform latency tests on the first split screen 2011 and the second split screen 2013 for the corresponding touch module 203 and display module 207, thereby improving the efficiency of testing the latency of multiple modules. Preferably, since the rendering latency test of the rendering module 205 does not require the use of the display screen 201, the rendering module 205 can also simultaneously perform latency tests with the touch module 203 and the display module 207, further improving the efficiency of testing the latency of multiple modules.
[0071] In a feasible embodiment, when the touch operation of the first split screen 2011 passes through the first trigger 1011, the touch operation changes the first detection parameter of the detection position of the first trigger 1011, and the first trigger 1011 responds to the change of the first detection parameter by emitting a first signal.
[0072] When the first trigger 1011 is a photoelectric trigger, the first detection parameter is a brightness parameter; when the first trigger 1011 is a pressure trigger, the first detection parameter is a pressure parameter.
[0073] In this embodiment, when the touch operation changes the first detection parameter of the detection position of the first trigger 1011, the first trigger 1011 can respond to the change of the first detection parameter and send a first signal, so that the touch delay test device 103 can quickly receive the first signal.
[0074] In one feasible embodiment, when the second image data changes the displayed image, the second split screen 2013 changes the second detection parameter of the detection position of the second trigger 1013, and the second trigger 1013 sends out a second signal in response to the change of the second detection parameter.
[0075] Among them, the second trigger 1013 is a photoelectric trigger, and the second detection parameter is a brightness parameter.
[0076] In this embodiment, when the second split screen 2013 changes the displayed image, it changes the second detection parameter of the detection position detected by the second trigger 1013. The second trigger 1013 can respond to the change of the second detection parameter and send a second signal so that the touch delay test device 103 can quickly receive the second signal.
[0077] Please see Figure 3 The second embodiment of this application provides a touch latency testing method, applied to a touch device. The touch device includes a display screen, a touch module, a rendering module, and a display module, and includes the following steps:
[0078] S1: Obtain the first time when the touch operation on the display screen is detected, and the second time when the touch module responds to the touch operation and outputs the first touch data; obtain the touch delay based on the first time and the second time.
[0079] S2: Obtain the third time when the second touch data is output to the rendering module, and obtain the fourth time when the rendering module responds to the second touch data and outputs the first image data; obtain the rendering delay based on the third time and the fourth time.
[0080] S3: Obtain the fifth time when the second image data is output to the display module, and obtain the sixth time when the display screen changes the displayed image in response to the second image data; obtain the display delay based on the fifth time and the sixth time.
[0081] It should be noted that, in practical applications, when implementing the touch delay test method provided in the second embodiment of this application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the touch delay test method provided in the second embodiment of this application and the touch delay test method system of the first embodiment of this application belong to the same concept, and its implementation process is detailed in the method embodiments, which will not be repeated here.
[0082] A third aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the touch latency testing method described above.
[0083] A fourth aspect of this application provides an electronic device including a storage device, a processor, and a computer program stored in the storage device and executable by the processor, wherein the processor executes the computer program to implement the steps of the touch delay testing method as described above.
[0084] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this application according to actual needs. Those skilled in the art can understand and implement this without any inventive effort.
[0085] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0086] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function selected in one or more boxes.
[0087] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function selected in one or more boxes.
[0088] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0089] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0090] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0091] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0092] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A touch latency testing system, applied to a touch device, the touch device comprising a display screen, a touch module, a rendering module, and a display module; characterized in that, The touch latency testing system includes: a detection device and a touch latency testing device; The testing device is installed on the display screen; the touch latency testing device is connected to the testing device, the touch module, the rendering module, and the display module; The touch latency testing device is used to acquire a first time when the detection device detects a touch operation on the display screen, and a second time when the touch module responds to the touch operation and outputs first touch data; the touch latency testing device is also used to obtain touch latency based on the first time and the second time. The touch latency testing device is used to acquire a third time when the second touch data is output to the rendering module, and the touch latency testing device is used to acquire a fourth time when the rendering module responds to the second touch data and outputs the first image data; the touch latency testing device is also used to obtain the rendering latency based on the third time and the fourth time; The touch latency testing device is used to acquire a fifth time when the second image data is output to the display module, and the touch latency testing device is used to acquire a sixth time when the detection device detects that the display screen changes the displayed image in response to the second image data; the touch latency testing device is also used to obtain the display delay based on the fifth time and the sixth time; The display screen includes a first split screen and a second split screen; the detection device includes a first trigger and a second trigger, the first trigger and the second trigger being respectively disposed on the first split screen and the second split screen; When the touch operation of the first split screen passes through the first trigger, the touch delay test device acquires the first signal emitted by the first trigger and the first touch data emitted by the touch module. The touch delay test device determines the time of acquiring the first signal as the first time and the time of acquiring the first touch data as the second time. The display module drives the second split screen according to the second image data, so that when the second split screen responds to the second image data to change the displayed image, the touch delay test device acquires the second signal emitted by the second trigger, and the touch delay test device determines the time of acquiring the second signal as the sixth time.
2. The touch delay testing system according to claim 1, characterized in that: The detection device includes a detection signal output terminal; the touch module includes a touch data output terminal; the touch delay testing device includes a detection signal input terminal and a touch data input terminal; The detection signal output terminal of the detection device is connected to the detection signal input terminal of the touch delay test device, and the touch data output terminal of the touch module is connected to the touch data input terminal of the touch delay test device. When the detection device detects a touch operation on the display screen, the detection signal output terminal of the detection device outputs a first signal to the detection signal input terminal of the touch delay test device, and the touch delay test device determines the time of acquiring the detection signal as the first time. The touch module responds to the touch operation of the display screen and generates the first touch data. The touch data output terminal of the touch module outputs the first touch data to the touch data input terminal of the touch delay test device. The touch delay test device determines the time of acquiring the first touch data as the second time. The coordinates of the first touch data correspond to the coordinates of the detection device.
3. The touch delay testing system according to claim 1, characterized in that: The rendering module includes a touch data input terminal and an image data output terminal; the touch latency testing device includes a touch data output terminal and an image data input terminal. The touch data output terminal of the touch latency testing device is connected to the touch data input terminal of the rendering module, and the image data output terminal of the rendering module is connected to the image data input terminal of the touch latency testing device. The touch data output terminal of the touch latency testing device outputs the second touch data to the touch data input terminal of the rendering module; the touch latency testing device determines the time of outputting the second touch data as the third time; The rendering module renders the first image data in response to the second touch data, and the image data output terminal of the rendering module outputs the first image data to the image data input terminal of the touch latency test device. The touch latency test device determines the time of acquiring the first image data as the fourth time.
4. The touch delay testing system according to claim 1, characterized in that: The touch latency testing device includes an image data output terminal and a detection signal input terminal; the display module includes an image data input terminal; the detection device includes a detection signal output terminal; The image data output terminal of the touch delay testing device is connected to the image data input terminal of the display module; the detection signal output terminal of the detection device is connected to the detection signal input terminal of the touch delay testing device. The touch delay testing device outputs the second image data to the image data input of the display module; the touch delay testing device determines the time of outputting the second image data as the fifth time. The display module drives the display screen according to the second image data, so that the display screen changes the displayed image in response to the second image data. When the detection device detects the change in the displayed image of the display screen, the signal output terminal of the detection device outputs a second signal to the detection signal input terminal of the touch delay test device. The touch delay test device determines the time of acquiring the second signal as the sixth time.
5. The touch delay testing system according to claim 1, characterized in that: When the touch operation of the first split screen passes through the first trigger, the touch operation changes the first detection parameter of the detection position of the first trigger, and the first trigger responds to the change of the first detection parameter by emitting the first signal.
6. The touch delay testing system according to claim 1, characterized in that: When the second split screen responds to the change in the second image data and displays an image, it changes the second detection parameter of the detection position of the second trigger, and the second trigger emits the second signal in response to the change of the second detection parameter.
7. A touch latency testing method, applied to a touch device, the touch device comprising a display screen, a touch module, a rendering module, and a display module, characterized in that, Includes the following steps: The system acquires a first time when a touch operation is detected on the display screen, and a second time when the touch module responds to the touch operation and outputs first touch data; based on the first and second times, it obtains the touch delay. A third time is obtained when the second touch data is output to the rendering module, and a fourth time is obtained when the rendering module responds to the second touch data and outputs the first image data. The rendering delay is obtained based on the third time and the fourth time. A fifth time when the second image data is output to the display module is obtained, and a sixth time when the display screen changes its displayed image in response to the second image data is obtained; based on the fifth time and the sixth time, a display delay is obtained; The display screen includes a first split screen and a second split screen; the detection device includes a first trigger and a second trigger, the first trigger and the second trigger being respectively disposed on the first split screen and the second split screen; When the touch operation of the first split screen passes through the first trigger, the touch delay test device acquires the first signal emitted by the first trigger and the first touch data emitted by the touch module. The touch delay test device determines the time of acquiring the first signal as the first time and the time of acquiring the first touch data as the second time. The display module drives the second split screen according to the second image data, so that when the second split screen responds to the second image data to change the displayed image, the touch delay test device acquires the second signal emitted by the second trigger, and the touch delay test device determines the time of acquiring the second signal as the sixth time.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by the processor, it implements the steps of the touch delay test method as described in claim 7.
9. An electronic device, characterized in that: It includes a storage device, a processor, and a computer program stored in the storage device and executable by the processor, wherein the processor executes the computer program to implement the steps of the touch delay test method as described in claim 7.
Citation Information
Patent Citations
Click delay measurement method and device, storage medium and electronic equipment
CN114647336A