Touch delay test system and method, storage medium and electronic equipment
By setting detection devices and touch delay testing devices in the touch device, the delay time of the display screen, touch module, rendering module and display module is solved by the failure of the existing technology to obtain the delay time of each link. The problem of this method realizes multi-module delay time detection of touch devices and provides a basis for optimization solutions.
Patent Information
- Application Number
- CN202310849509.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-11
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2043-07-11
AI Technical Summary
Existing touch devices cannot effectively obtain the delay situation of each link, resulting in developers being unable to evaluate and optimize the touch solution and being unable to obtain the delay time of multiple modules during the touch operation of the touch device.
A touch delay testing system was designed to obtain the delay time of the display screen, touch module, rendering module and display module through the detection device and touch delay testing device, and calculate the touch delay, respectively Rendering delay and display delay.
It realizes accurate detection of the delay time of multiple modules during touch operation on the touch device, provides a basis for optimizing the touch solution, and improves the performance of the touch device.
Smart Images

Figure CN119311484A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of touch delay testing, and in particular to a touch delay testing system, method, storage medium and electronic device. Background Art
[0002] The touch delay of existing touch devices is basically obtained by obtaining the delay of touch operations through high-speed cameras. This method can only obtain the final touch delay effect of a certain touch device, but cannot effectively obtain the delay conditions of each link in the touch architecture. Touch device developers cannot evaluate the pros and cons of touch solutions based on the actual delay conditions of each link, and cannot formulate a processing direction to optimize touch delay performance. Summary of the invention
[0003] The purpose of the present application is to overcome the shortcomings and deficiencies in the prior art and to provide a touch delay test system, method, storage medium and electronic device, which can respectively detect the delay time of multiple modules during the touch operation performed by a touch device.
[0004] A first aspect of an embodiment of the present application provides a touch delay test system, which is applied to a touch device, wherein the touch device includes a display screen, a touch module, a rendering module and a display module; the touch delay test system includes: a detection device and a touch delay test device;
[0005] The detection device is arranged on the display screen; the touch delay test device is connected with the detection device, the touch module, the rendering module and the display module;
[0006] The touch delay test device is used to obtain a first time when the detection device detects a touch operation on the display screen, and the touch delay test device is used to obtain a second time when the touch module outputs first touch data in response to the touch operation; the touch delay test device is also used to obtain a touch delay according to the first time and the second time;
[0007] The touch delay test device is used to obtain a third time for outputting the second touch data to the rendering module, and the touch delay test device is used to obtain a fourth time for the rendering module to output the first image data in response to the second touch data; the touch delay test device is also used to obtain the rendering delay according to the third time and the fourth time;
[0008] The touch delay testing device is used to obtain the fifth time when the second image data is output to the display module, and the touch delay testing device is used to obtain the sixth time when the detection device detects that the display screen changes the displayed image in response to the second image data; the touch delay testing device is also used to obtain the display delay based on the fifth time and the sixth time.
[0009] A second aspect of an embodiment of the present application provides a touch delay test method, which is applied to a touch device, wherein the touch device includes a display screen, a touch module, a rendering module, and a display module, and includes the following steps:
[0010] Acquire a first time when a touch operation of the display screen is detected, and a second time when the touch module outputs first touch data in response to the touch operation; and acquire a touch delay according to the first time and the second time;
[0011] Acquire a third time for outputting the second touch data to the rendering module, and acquire a fourth time for the rendering module to output the first image data in response to the second touch data; and obtain a rendering delay according to the third time and the fourth time;
[0012] A fifth time for outputting the second image data to the display module is obtained, and a sixth time for detecting that the display screen changes the displayed image in response to the second image data is obtained; and a display delay is obtained according to the fifth time and the sixth time.
[0013] A third aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the touch delay test method described above are implemented.
[0014] A fourth aspect of an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the steps of the touch delay test method as described above when executing the computer program.
[0015] Compared with the related art, the embodiments of the present application can obtain the touch delay according to the first time when the detection device set on the display screen of the touch device detects the touch operation, and the second time when the touch module outputs the first touch data in response to the touch operation. It can also obtain the rendering delay according to the third time when the second touch data is output to the rendering module, and the fourth time when the rendering module outputs the first image data in response to the second touch data; it can also obtain the display delay according to the fifth time when the second image data is output to the display module, and the sixth time when the display screen is detected to change the displayed image in response to the second image data, thereby obtaining the technical effect of the touch delay of the touch module of the touch device, the rendering delay of the rendering module and the display delay of the display module, and realizing the technical effect of separately detecting the delay time of multiple modules in the process of the touch device performing a touch operation.
[0016] In order to provide a clearer understanding of the present application, the specific implementation of the present application will be described below in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is a device connection diagram of a touch delay test system according to an embodiment of the present application.
[0018] Figure 2 This is a schematic diagram of the connection between the first split screen and the second split screen of a touch delay test system according to an embodiment of the present application.
[0019] Figure 3 This is a flow chart of a touch delay testing method according to an embodiment of the present application.
[0020] 100. touch delay test system; 101. detection device; 1011. first trigger; 1013. second trigger; 103. touch delay test device; 200. touch device; 201. display screen; 2011. first split screen; 2013. second split screen; 203. touch module; 205. rendering module; 207. display module. DETAILED DESCRIPTION
[0021] In order to make the objectives, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
[0022] It should be clear that the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the embodiments of the present application.
[0023] When the following description relates to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances. The singular forms of "a", "said" and "the" used in the present application and the appended claims are also intended to include the majority form, unless the context clearly indicates other meanings. The words "if" / "if" used herein can be interpreted as "at the time of" or "when" or "in response to determination".
[0024] In addition, in the description of this application, unless otherwise specified, "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0025] A touch device is a device that can display touch content in response to touch operations. Common touch operations include writing and clicking. The time delay of a touch device in response to a touch operation to display touch content affects the user experience. Therefore, the time delay of a touch device is one of the evaluation criteria for a touch device.
[0026] The traditional method of acquiring the time delay of a touch device is to tell the camera to capture the process of performing a touch operation on the touch device and the touch device responding to the touch operation to change the displayed content. However, a touch device responds to touch operations and changes the displayed touch content through multiple modules, and the traditional method of acquiring the time delay of a touch device can only acquire the overall time delay of the touch device, but cannot acquire the time delay corresponding to each module of the touch device, resulting in the developer being unable to specify an optimization plan for the time delay of each module.
[0027] The application environment of the touch test method of the embodiment of the present application includes a touch device to be tested, a detection device and a touch delay test device. The detection device is arranged on the touch device, and the detection device is connected to the touch delay test device signal. The detection device can be used to detect the touch operation on the touch device, so as to send a signal to the touch delay test device when the touch operation is detected; the detection device can also be used to detect the change of the display screen of the touch device, so as to send a signal to the touch delay test device when the display screen of the detected touch device changes; the touch delay test device is connected to the touch device, and the touch delay test device can output touch data to the touch device, and the touch device renders the touch data, and then outputs the rendered image data to the touch delay test device.
[0028] The touch device may be a display with a touch function, for example, the touch device may be an interactive tablet, especially an interactive tablet with a large screen. Specifically, the touch device may be an integrated device that controls the displayed content and realizes human-computer interaction through touch technology, which integrates one or more functions such as a projector, an electronic whiteboard, a screen, an audio system, a television, and a video conferencing terminal. The touch device may be a capacitive screen, a resistive screen, or an electromagnetic screen. In one embodiment, the user may realize the touch operation by touching the touch device with a finger or a stylus. Accordingly, the touch device detects the touch position, and determines the response scheme according to the display content corresponding to the touch position, and then responds to realize the touch function. For example, the written content is determined according to the touch position, and at this time, the response scheme is to display the written content; or the corresponding display content is determined according to the touch position as a control of a certain function, and at this time, the response scheme is to execute the function.
[0029] Typically, the touch device is installed with at least one type of operating system, wherein the operating system includes but is not limited to Android system, Linux system and Windows system. In one embodiment, the touch device can install at least one application based on the operating system. In the embodiment, an application with a drawing function is used for exemplary description. For example, an electronic whiteboard application with a drawing function is installed in the touch device. The application can be an application that comes with the operating system, or an application downloaded from a third-party device or server.
[0030] The touch control device also includes several display channels; specifically, according to different types of received data sources, the display channels can be divided into Android channels, High Definition Multimedia Interface channels (HDMI), interface channels corresponding to VGA (Video Graphics Array) lines, and USB Type-C channels. The touch control device displays data according to the data source received by the corresponding display channel. The embodiment of the present application introduces a touch test method by taking the touch function of the touch control device under the Android channel as an example.
[0031] See also Figure 1 , which is a device connection diagram of the touch delay test system 100 of the first embodiment of the present application, applied to a 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. The dynamic image can be a gif or video including multiple frames of static images. The touch component is used to detect touch operations on the display screen 201. The touch operations include but are not limited to writing operations, clicking operations, and sliding operations. The touch component generates touch data according to the detected touch operations. For example, the touch data generated by the writing operation is writing trajectory data. The rendering module 205 is used to render image data according to the received touch data, for example, to render image data containing writing trajectory data. The display module 207 is used to display the received image data on the display screen 201, for example, to display image data containing writing trajectory on the display screen 201, so that the display screen 201 displays the corresponding writing trajectory.
[0033] The touch delay test system 100 of the present application includes: a detection device 101 and a touch delay test device 103 .
[0034] The detection device 101 is disposed on the display screen 201 ; the touch delay test device 103 is connected to the detection device 101 , the touch module 203 , the rendering module 205 and the display module 207 .
[0035] The detection device 101 may use a trigger, which may send a signal to the touch delay test device 103 very quickly when the detected parameter occurs, wherein the trigger for detecting the touch operation may use a photoelectric trigger and / or a pressure trigger. For a photoelectric trigger, when the touch operation passes through the photoelectric trigger, it will change the change of the illumination parameter detected by the photoelectric trigger, and the photoelectric trigger will send a signal to the touch delay test device 103 very quickly when the photoelectric parameter change is detected; for a pressure trigger, when the touch operation passes through the pressure trigger, it will change the change of the pressure parameter detected by the pressure trigger, and the pressure trigger will send a signal to the touch delay test device 103 very quickly when the pressure parameter change is detected.
[0036] The touch delay test device 103 can receive input data and signals, and record the input time of the data and signals. The touch delay test device 103 can also be used to store data and output data, and record the output time of the data. The touch delay test device 103 can also calculate the recorded time to calculate the time difference based on the output and input time of the data and the output and input time of the signal.
[0037] The touch delay test device 103 is used to obtain the first time when the detection device 101 detects a touch operation on the display screen 201, and the touch delay test device 103 is used to obtain the second time when the touch module 203 outputs the first touch data in response to the touch operation; the touch delay test device 103 is also used to obtain the touch delay based on the first time and the second time.
[0038] Among them, 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 the first signal to the touch delay test device 103 when the detection device 101 detects the touch operation of the display screen 201, 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 with the same coordinates as the detection device 101, wherein the touch module 203 generates corresponding touch data in response to the coordinates of the touch operation on the display screen 201, for example, when the touch operation passes through multiple coordinates on the display screen 201, multiple touch data are generated. When the coordinates corresponding to the touch data are consistent with the detection coordinates of the detection device 101 on the display screen 201, the touch data is 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 the 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 also generate multiple touch data in response to a 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 outputs the identified first touch data to the touch delay test device 103.
[0042] The touch delay is the difference between the second time and the first time.
[0043] The touch delay test device 103 is used to obtain the third time for outputting the second touch data to the rendering module 205, and the touch delay test device 103 is used to obtain the fourth time for the rendering module 205 to output the first image data in response to the second touch data; the touch delay test device 103 is also used to obtain the rendering delay based on the third time and the fourth time.
[0044] The second touch data can be stored in the touch delay test device 103, and the touch delay test device 103 records the time when the second touch data is output to the rendering module 205 to obtain the third time. The second touch data can also be stored in a data storage device, which is output to the rendering module 205 by the data storage device, and when the data storage device outputs the second touch data to the rendering module 205, a first notification signal is sent to the touch delay test device 103, and the touch delay test device 103 records the time of the first notification signal to obtain the third time.
[0045] The touch delay test device 103 records the time of receiving the first image data output by the rendering module 205 as the fourth time, wherein the touch delay 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, and can also record the time of completing the reception of the first image data output by the rendering module 205 as the fourth time.
[0046] The touch delay test device 103 is used to obtain 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 obtain 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 may be stored in the touch delay test device 103, and the touch delay test device 103 records the time when the second image data is output to the display module 207 as the fifth time. The second image data may also be stored in a data storage device, and the data storage device outputs the second image data to the display module 207, and when the data storage device outputs the second image data to the display module 207, a second notification signal is sent to the touch delay test device 103, and the touch delay test device 103 records the time of the second notification signal to obtain the fifth time.
[0048] The detection device 101 for detecting the display screen 201 changing the displayed image can use a photoelectric trigger. For the photoelectric trigger, when the display screen 201 changes the displayed image, the change of the illumination parameter detected by the photoelectric trigger will change. When the photoelectric trigger detects the change of the photoelectric parameter, it sends a signal to the touch delay test device 103 very quickly. Preferably, in order to improve the detection accuracy of the photoelectric trigger, before the display screen 201 changes the displayed image, the position corresponding to the photoelectric trigger displays a black image, and after the display screen 201 changes the displayed image, the position corresponding to the photoelectric trigger displays a white image; or before the display screen 201 changes the displayed image, the position corresponding to the photoelectric trigger displays a white image, and after the display screen 201 changes the 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 according to the difference in illumination emitted when displaying images of different colors.
[0049] Compared with the related art, the embodiment of the present application can obtain the touch delay according to the first time when the detection device 101 set on the display screen 201 of the touch device 200 detects the touch operation, and the second time when the touch module 203 outputs the first touch data in response to the touch operation. It can also obtain the rendering delay according to the third time when the second touch data is output to the rendering module 205, and the fourth time when the rendering module 205 outputs the first image data in response to the second touch data; it can also obtain the display delay according to the fifth time when the second image data is output to the display module 207, and the sixth time when the display screen 201 is detected to change the displayed image in response to the second image data, thereby obtaining the technical effect of the touch delay of the touch module 203 of the touch device 200, the rendering delay of the rendering module 205 and the display delay of the display module 207, and realizing the technical effect of separately detecting the delay time of multiple modules in the process of the touch device 200 performing a touch operation.
[0050] In a 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 test 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 obtaining 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 end of the touch module 203 outputs the first touch data to the touch data input end of the touch delay test device 103. The touch delay test device 103 determines the time for obtaining the first touch data as the second time; wherein the coordinates of the first touch data correspond to the coordinates of the detection device 101.
[0054] In this embodiment, through the connection relationship 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, and through the connection relationship 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 obtaining the first touch data.
[0055] In a feasible embodiment, the rendering module 205 includes a touch data input terminal and an image data output terminal; the touch delay 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 the 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 renders the first image data in response to the second touch data, and the image data output end of the rendering module 205 outputs the first image data to the image data input end of the touch delay test device 103. The touch delay test device 103 determines the time of obtaining the first image data as the fourth time.
[0059] In this embodiment, through the connection relationship between the touch data output terminal of the touch delay test device 103 and the touch data input terminal of the rendering module 205, the touch delay test device 103 can smoothly output the second touch data to the rendering module 205; through the connection relationship between the image data output terminal of the rendering module 205 and the image data input terminal of the touch delay test device 103, the rendering module 205 can smoothly output the first image data to the touch delay test device 103, so that the touch delay test device 103 can accurately record the third time of outputting the second touch data and the fourth time of obtaining the first image data.
[0060] In a feasible embodiment, the touch delay test 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 image data output terminal of the touch delay test device 103 outputs the second image data to the image data input terminal of the display module 207; 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 display image in response to the second image data. When the detection device 101 detects the change in the display image of the display screen 201, the signal output end of the detection device 101 outputs the second signal to the detection signal input end of the touch delay test device 103, and the touch delay test device 103 determines the time for obtaining the second signal as the sixth time.
[0064] In this embodiment, through the connection relationship between the image data output terminal of the touch delay test device 103 and the image data input terminal of the display module 207, the touch delay test device 103 can smoothly output the second image data to the display module 207; through the connection relationship 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 second signal to the touch delay test device 103, so that the touch delay test device 103 can accurately record the fifth time of outputting the second image data and the sixth time of obtaining the second signal.
[0065] See also Figure 2In a 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, and the first trigger 1011 and the second trigger 1013 are respectively arranged on the first split screen 2011 and the second split screen 2013.
[0066] Among them, 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 from one display screen 201.
[0067] The first trigger 1011 may be a photoelectric trigger and / or a pressure trigger, and the second trigger 1013 may 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 obtains the first signal emitted by the first trigger 1011 and the first touch data emitted by the touch module 203, and the touch delay test device 103 determines the time of obtaining the first signal as the first time, and determines the time of obtaining 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. When the second split screen 2013 changes the display 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 the first split screen 2011 and the second split screen 2013, the user can simultaneously perform the delay test of the touch module 203 and the display module 207 on the first split screen 2011 and the second split screen 2013, thereby improving the efficiency of testing the delay time of multiple modules. Preferably, since the rendering delay test of the rendering module 205 does not need to use the display screen 201, the rendering module 205 can also perform the delay test with the touch module 203 and the display module 207 at the same time, thereby further improving the efficiency of testing the delay time 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 sends a first signal in response to the change of the first detection parameter.
[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 send a first signal in response to the change of the first detection parameter, so that the touch delay test device 103 can quickly receive the first signal.
[0074] In a feasible embodiment, when the second split screen 2013 changes the displayed image in response to the second image data, the second detection parameter of the detection position of the second trigger 1013 is changed, and the second trigger 1013 sends a second signal in response to the change of the second detection parameter.
[0075] 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, the second detection parameter of the detection position detected by the second trigger 1013 is changed. The second trigger 1013 can send a second signal in response to the change of the second detection parameter, so that the touch delay test device 103 quickly receives the second signal.
[0077] See also Figure 3 The second embodiment of the present application provides a touch delay test method, which is applied to a touch device, wherein the touch device includes a display screen, a touch module, a rendering module and a display module, and includes the following steps:
[0078] S1: Acquire a first time when a touch operation of a display screen is detected, and a second time when a touch module outputs first touch data in response to the touch operation; and obtain a touch delay according to the first time and the second time.
[0079] S2: Obtain a third time for outputting the second touch data to the rendering module, and obtain a fourth time for the rendering module to output the first image data in response to the second touch data; obtain a rendering delay according to the third time and the fourth time.
[0080] S3: Obtain a fifth time when the second image data is output to the display module, and obtain a sixth time when it is detected that the display screen changes the display image in response to the second image data; obtain a display delay according to the fifth time and the sixth time.
[0081] It should be noted that, in actual applications, when executing the touch delay test method provided in the second embodiment of the present application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the touch delay test method provided in the second embodiment of the present application and the touch delay test method system of the first embodiment of the present application belong to the same concept, and its implementation process is detailed in the method embodiment, which will not be repeated here.
[0082] A third aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the touch delay test method described above are implemented.
[0083] A fourth aspect of an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the steps of the touch delay test method as described above when executing the computer program.
[0084] The device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application. Ordinary technicians in this field can understand and implement it without creative work.
[0085] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0086] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing 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 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the function selected in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 function selected in a box or multiple boxes.
[0087] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 steps for the function selected in a box or multiple boxes.
[0088] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0089] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0090] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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 technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0091] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0092] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A touch delay test system, applied to a touch device, wherein the touch device comprises a display screen, a touch module, a rendering module and a display module; characterized in that: The touch delay test system comprises: a detection device and a touch delay test device; The detection device is arranged on the display screen; the touch delay test device is connected with the detection device, the touch module, the rendering module and the display module; The touch delay test device is used to obtain a first time when the detection device detects a touch operation on the display screen, and the touch delay test device is used to obtain a second time when the touch module outputs first touch data in response to the touch operation; the touch delay test device is also used to obtain a touch delay according to the first time and the second time; The touch delay test device is used to obtain a third time for outputting the second touch data to the rendering module, and the touch delay test device is used to obtain a fourth time for the rendering module to output the first image data in response to the second touch data; the touch delay test device is also used to obtain the rendering delay according to the third time and the fourth time; The touch delay testing device is used to obtain the fifth time when the second image data is output to the display module, and the touch delay testing device is used to obtain the sixth time when the detection device detects that the display screen changes the displayed image in response to the second image data; the touch delay testing device is also used to obtain the display delay based on the fifth time and the sixth time.
2. The touch delay test 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 test 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 to generate the first touch data. The touch data output end of the touch module outputs the first touch data to the touch data input end of the touch delay test device. The touch delay test device determines the time for obtaining the first touch data as the second time; wherein the coordinates of the first touch data correspond to the coordinates of the detection device.
3. The touch delay test 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 delay test device includes a touch data output terminal and an image data input terminal; The touch data output terminal of the touch delay test 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 delay test device; The touch data output terminal of the touch delay test device outputs the second touch data to the touch data input terminal of the rendering module; the touch delay test 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 end of the rendering module outputs the first image data to the image data input end of the touch delay test device. The touch delay test device determines the time for obtaining the first image data as the fourth time.
4. The touch delay test system according to claim 1, characterized in that: The touch delay test 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 test 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 test device; The image data output terminal of the touch delay test device outputs the second image data to the image data input terminal of the display module; the touch delay test 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 display image in response to the second image data. When the detection device detects the change in the display image of the display screen, the signal output end of the detection device outputs a second signal to the detection signal input end of the touch delay test device, and the touch delay test device determines the time for obtaining the second signal as the sixth time.
5. The touch delay test system according to claim 1, characterized in that: 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 are respectively arranged 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 obtains the first signal sent by the first trigger and the first touch data sent by the touch module, and the touch delay test device determines the time of obtaining the first signal as the first time, and determines the time of obtaining 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 changes the display image in response to the second image data, the touch delay test device obtains the second signal emitted by the second trigger, and the touch delay test device determines the time for obtaining the second signal as the sixth time.
6. The touch delay test system according to claim 5, 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 sends the first signal in response to the change of the first detection parameter.
7. The touch delay test system according to claim 5, characterized in that: When the second split screen changes the displayed image in response to the second image data, the second detection parameter of the detection position of the second trigger is changed, and the second trigger sends the second signal in response to the change of the second detection parameter.
8. A touch delay test method, applied to a touch device, wherein the touch device comprises a display screen, a touch module, a rendering module and a display module, characterized in that: The steps include: Acquire a first time when a touch operation of the display screen is detected, and a second time when the touch module outputs first touch data in response to the touch operation; and acquire a touch delay according to the first time and the second time; Acquire a third time for outputting the second touch data to the rendering module, and acquire a fourth time for the rendering module to output the first image data in response to the second touch data; Obtaining a rendering delay according to the third time and the fourth time; Acquire a fifth time when the second image data is output to the display module, and acquire a sixth time when it is detected that the display screen changes the display image in response to the second image data; A display delay is obtained according to the fifth time and the sixth time.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the touch delay testing method according to claim 8 are implemented.
10. An electronic device, characterized in that: The device comprises a memory, a processor and a computer program stored in the memory and executable by the processor, wherein the processor implements the steps of the touch delay test method according to claim 8 when executing the computer program.
Citation Information
Patent Citations
Automatic test method, terminal, electronic device and readable storage medium
CN110727600A
Method and device for determining touch display delay, storage medium and electronic device
CN110795298A
Delay test method and related device
CN113505029A
Click delay measurement method and device, storage medium and electronic equipment
CN114647336A
System and method for objectively measuring user experience of touch screen based devices
US20140152584A1
Cited By
Delay correction method and device and display system
CN119562053A