CN115904845A - Test information acquisition method and device, test device, electronic device, and medium - Google Patents

Test information acquisition method and device, test device, electronic device, and medium Download PDF

Info

Publication number
CN115904845A
CN115904845A CN202211570664.2A CN202211570664A CN115904845A CN 115904845 A CN115904845 A CN 115904845A CN 202211570664 A CN202211570664 A CN 202211570664A CN 115904845 A CN115904845 A CN 115904845A
Authority
CN
China
Prior art keywords
touch
image
touch screen
signal indicating
monitoring image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211570664.2A
Other languages
Chinese (zh)
Inventor
赵群
蔡锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai E Planet Electronic Technology Co ltd
Original Assignee
Shanghai E Planet Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai E Planet Electronic Technology Co ltd filed Critical Shanghai E Planet Electronic Technology Co ltd
Priority to CN202211570664.2A priority Critical patent/CN115904845A/en
Publication of CN115904845A publication Critical patent/CN115904845A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

The invention provides a test information acquisition method and device, a test device, electronic equipment and a medium, wherein the method comprises the following steps: acquiring a monitoring image sequence for testing a touch screen; in the monitoring image sequence, acquiring a last frame image of the signal indicating device in an effective indicating state and a first frame image of a processing result of the touch operation displayed by the touch screen, wherein the signal indicating device is in the effective indicating state in the process of performing the touch operation on the touch screen by a user by using the touch control piece; and determining the response time of the touch screen to the user operation based on the last frame image, the first frame image and a preset monitoring image shooting frame rate. According to the technical scheme, the detection difficulty of the touch screen on the response time of the user operation is reduced, a more accurate detection result can be obtained, and the convenience and the accuracy of response time detection are improved.

Description

Test information acquisition method and device, test device, electronic device, and medium
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of hardware testing technologies, and in particular, to a method and an apparatus for obtaining test information, a test apparatus, an electronic device, and a medium.
[ background of the invention ]
The device with the touch screen is widely applied to work and life of people, such as mobile phones, tablet computers and the like. For this reason, in the related art, it is often necessary to test the response time of the touch screen to the user operation, where the user operation refers to clicking, double-clicking, long-pressing, and the like, and the duration from when the user operation occurs to when the touch screen responds is the response time of the touch screen to the user operation.
At present, when the response time of a touch screen to user operation is tested, a special I/O board card and an image acquisition device with a trigger function are generally combined to simultaneously acquire a touch signal and an image signal, the requirement on the synchronization of the acquisition time of the two signals is extremely high, and the absolute simultaneous acquisition of the two signals is difficult to achieve in actual operation, so that the acquired data time is inaccurate, and the calculation of the response time of the touch screen to the user operation is influenced.
Therefore, how to improve the accuracy of calculating the response time of the touch screen to the user operation becomes a technical problem to be solved urgently at present.
[ summary of the invention ]
The embodiment of the invention provides a test information acquisition method and device, a test device, electronic equipment and a medium, and aims to solve the technical problem that the response time of a touch screen to user operation in the related art is not accurately calculated.
In a first aspect, an embodiment of the present invention provides a method for acquiring test information, including: acquiring a monitoring image sequence for testing a touch screen, wherein the monitoring image sequence comprises a plurality of monitoring images which are arranged in sequence according to shooting time, a touch screen is shot in each monitoring image, and a signal indicating device which is connected with a switch of a touch piece in series and is arranged on a peripheral circuit of the touch piece is shot; in the monitoring image sequence, acquiring a last frame image of the signal indicating device in an effective indicating state and a first frame image of a processing result of the touch operation displayed by the touch screen, wherein the signal indicating device is in the effective indicating state in the process of performing the touch operation on the touch screen by a user by using the touch control piece; and determining the response time of the touch screen to the user operation based on the last frame image, the first frame image and a preset monitoring image shooting frame rate.
In an embodiment of the present invention, the touch control element includes a touch control pen or a touch control finger sleeve, the switch is a contact point in the touch control pen or the touch control finger sleeve, and when the touch control element is used for performing a touch control operation on a screen, a working circuit in the touch control element is connected through the touch control point.
In one embodiment of the present invention, the step of acquiring the last frame image of the signal indicating that the apparatus is in the valid indication state includes: identifying the signal indicating device in each monitoring image in the monitoring image sequence by a preset image identification mode; detecting a signal indication state of the signal indication device in each monitoring image; and determining the monitoring image of which the signal indication state is in an effective indication state and the shooting time is the latest as the last frame image of which the signal indication device is in the effective indication state.
In one embodiment of the present invention, the detecting a signal indicating state of the signal indicating device in each of the monitoring images includes: detecting whether the brightness parameter of the signal indicating device in each monitoring image is in a specified brightness parameter range, wherein if the brightness parameter of the signal indicating device in the monitoring image is in the specified brightness parameter range, the signal indicating device is determined to be in an effective indicating state; or detecting whether the display information of the signal indicating device in each monitoring image is appointed indication information, wherein if the display information of the signal indicating device in the monitoring image is the appointed indication information, the signal indicating device is determined to be in an effective indication state.
In an embodiment of the present invention, the step of obtaining a first frame of image of a processing result of the touch operation displayed on the touch screen includes: determining a plurality of target images matched with preset images in the monitoring image sequence, and determining a first frame image in the plurality of target images as a first frame image of a processing result of the touch operation displayed by the touch screen; or detecting whether each monitoring image in the monitoring image sequence is matched with the preset image according to the sequence of shooting time, and determining the first detected monitoring image as a first frame image of a processing result of the touch operation displayed on the touch screen when the monitoring image matched with the preset image is detected for the first time, wherein the preset image comprises the touch screen displaying the processing result of the touch operation.
In an embodiment of the present invention, the determining a response time of the touch screen to a user operation based on the last frame image, the first frame image, and a preset monitoring image capturing frame rate includes: acquiring the difference frame number of the first frame image and the last frame image; and determining the product of the reciprocal of the preset monitoring image shooting frame rate and the difference frame number as the response time of the touch screen to the user operation.
In a second aspect, an embodiment of the present invention provides a test information acquiring apparatus, including: the monitoring image sequence acquisition unit is used for acquiring a monitoring image sequence for testing the touch screen, wherein the monitoring image sequence comprises a plurality of monitoring images which are arranged in sequence according to shooting time, a touch screen is shot in each monitoring image, and a signal indicating device which is connected with a switch of the touch piece in series and is arranged on an external circuit of the touch piece is shot; a designated image obtaining unit, configured to obtain, in the monitored image sequence, a last frame image of the signal indicating device in an effective indication state and a first frame image of a processing result of the touch operation displayed on the touch screen, where the signal indicating device is in the effective indication state in a process in which a user performs the touch operation on the touch screen using the touch control; and the response time determining unit is used for determining the response time of the touch screen to the user operation based on the last frame image, the first frame image and a preset monitoring image shooting frame rate.
In an embodiment of the present invention, the touch control element includes a touch control pen or a touch control finger sleeve, the switch is a contact point in the touch control pen or the touch control finger sleeve, and when the touch control element is used for performing a touch control operation on a screen, a working circuit in the touch control element is connected through the touch control point.
In one embodiment of the present invention, the specified image acquiring unit is configured to: identifying the signal indicating device in each monitoring image in the monitoring image sequence by a preset image identification mode; detecting a signal indication state of the signal indication device in each monitoring image; and determining the monitoring image with the signal indicating state being in the effective indicating state and the shooting time being the latest as the last frame image with the signal indicating device being in the effective indicating state.
In one embodiment of the present invention, the specified image acquiring unit is configured to: detecting whether the brightness parameter of the signal indicating device in each monitoring image is within a specified brightness parameter range, wherein if the brightness parameter of the signal indicating device in the monitoring image is within the specified brightness parameter range, the signal indicating device is determined to be in an effective indicating state; or detecting whether the display information of the signal indicating device in each monitoring image is designated indicating information, wherein if the display information of the signal indicating device in the monitoring image is the designated indicating information, the signal indicating device is determined to be in an effective indicating state.
In an embodiment of the present invention, the designated image obtaining unit 304 is configured to: determining a plurality of target images matched with preset images in the monitoring image sequence, and determining a first frame image in the plurality of target images as a first frame image of a processing result of the touch operation displayed by the touch screen; or detecting whether each monitoring image in the monitoring image sequence is matched with the preset image according to the sequence of shooting time, and determining the first detected monitoring image as a first frame image of a processing result of the touch operation displayed on the touch screen when the monitoring image matched with the preset image is detected for the first time, wherein the preset image comprises the touch screen displaying the processing result of the touch operation.
In one embodiment of the present invention, the response time determination unit is configured to: acquiring the difference frame number of the first frame image and the last frame image; and determining the product of the reciprocal of the preset monitoring image shooting frame rate and the difference frame number as the response time of the touch screen to the user operation.
In a third aspect, an embodiment of the present invention provides a touch screen testing apparatus, including: the touch control piece is provided with a switch, and the switch jumps to a closed state when the touch control piece touches the touch control screen; the touch control piece peripheral circuit comprises a power supply device and a signal indicating device, wherein the power supply device, the signal indicating device and a switch of the touch control piece are connected in series, and when the switch is in a closed state, the touch control piece peripheral circuit is closed, so that the signal indicating device is in an effective indicating state; the image acquisition device is used for periodically shooting monitoring images of a test process of the touch screen, the touch screen and the signal indicating device are shot in the monitoring images, and a monitoring image sequence is formed by a plurality of monitoring images; and the processor is connected with the image acquisition device and used for receiving the monitoring image sequence from the image acquisition device, acquiring a last frame image of the signal indication device in an effective indication state and a first frame image of a processing result of the touch operation displayed by the touch screen in the monitoring image sequence, and determining the response time of the touch screen to the user operation based on the last frame image, the first frame image and a preset monitoring image shooting frame rate.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor and arranged to perform the method of any one of the first aspects above.
In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions for performing the method flow described in any one of the first aspect.
According to the technical scheme, aiming at the technical problem that the response time of the touch screen to the user operation is calculated inaccurately in the related art, the detection difficulty of the touch screen to the response time of the user operation is reduced, meanwhile, a more accurate detection result can be obtained, and the convenience and the accuracy of response time detection are improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 shows a flow diagram of a test information acquisition method according to one embodiment of the invention;
FIG. 2 is a schematic diagram of a touch screen testing apparatus according to an embodiment of the invention;
fig. 3 shows a block diagram of a test information acquisition apparatus according to an embodiment of the present invention.
[ detailed description ] A
In order to better understand the technical scheme of the invention, the following detailed description of the embodiments of the invention is made with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
Fig. 1 shows a flowchart of a test information acquisition method according to an embodiment of the present invention.
As shown in fig. 1, a test information acquisition method according to an embodiment of the present invention includes:
102, acquiring a monitoring image sequence for testing the touch screen, wherein the monitoring image sequence comprises a plurality of monitoring images which are arranged in sequence according to shooting time, a touch screen is shot in each monitoring image, and a signal indicating device which is connected with a switch of the touch piece in series and is arranged in a peripheral circuit of the touch piece is shot.
In the process of testing the touch screen, the response condition of the touch screen to the touch operation needs to be monitored, and a basic condition is created for determining the response time of the touch screen to the user operation. Based on the method, the test process of the touch screen can be monitored, the monitoring images are obtained, and a plurality of monitoring images which are shot successively are arranged successively according to the shooting time to form the monitoring image sequence.
In the process of testing the touch screen, the touch screen can be touched by the touch piece. The touch control piece comprises but is not limited to a touch control pen or a touch control finger sleeve, the switch is a contact point in the touch control pen or the touch control finger sleeve, and when the touch control piece is used for touch control operation on a screen, a working circuit in the touch control piece is communicated through the touch control point. Specifically, in response to the operation of touching the screen by the touch control member, the switch of the touch control member is closed, so that the touch control working circuit of the touch control member is conducted, and the touch control function is realized. At the moment, a switch of the touch control piece is externally connected with a touch control piece peripheral circuit, the switch is connected with the signal indicating device in series in the touch control piece peripheral circuit, when the switch is closed, the touch control piece peripheral circuit is also conducted, and the signal indicating device enters a working state, namely an effective indicating state, so that a signal indicating function is realized.
Certainly, the touch piece peripheral circuit is provided with a power supply device for providing voltage for the touch piece peripheral circuit, and the power supply device can be an independent battery or any electronic equipment with a battery, wherein the battery can be used for external connection. The signal indicating device includes, but is not limited to, an LED lamp, a display screen, and any other device capable of displaying a signal that is not available before power-on after power-on.
And 104, acquiring a last frame image of the signal indicating device in an effective indicating state and a first frame image of a processing result of the touch operation displayed by the touch screen in the monitoring image sequence, wherein the signal indicating device is in the effective indicating state in the process of performing the touch operation on the touch screen by a user by using the touch control piece.
For monitoring the image sequence, when the touch control part touches the screen, the touch control working circuit of the touch control part and the external circuit of the touch control part are simultaneously conducted, so that the signal indicating device enters a working state and displays signals. For example, if the signal indicating device is an LED lamp, for single touch, when the touch control member touches the screen, the signal indicating device enters a working state, the LED lamp is on, and when the touch control member leaves the screen, the signal indicating device is powered off, and the LED lamp is turned off.
In this way, in a single touch, the signal indicates the end time of the valid indication state of the device, i.e. the time when the touch operation is completed, and the touch screen initially displays the processing result of the touch operation, i.e. the time when the touch screen generates the touch result in response to the touch operation to change the touch screen, and the time interval between the two is the response time of the touch screen to the user operation.
In one possible design, the step of obtaining an end frame image of the signal indicating that the apparatus is in the active indication state in step 104 includes: identifying the signal indicating device in each monitoring image in the monitoring image sequence by a preset image identification mode; detecting a signal indication state of the signal indication device in each monitoring image; and determining the monitoring image with the signal indicating state being in the effective indicating state and the shooting time being the latest as the last frame image with the signal indicating device being in the effective indicating state.
The first frame of image reflects the initial time of the response time of the touch screen to the user operation. And, the predetermined image recognition mode includes, but is not limited to, a depth-first search algorithm, a breadth-first search algorithm, a convolutional neural network, etc., and the signal indicating device can be recognized in each monitored image through the predetermined image recognition mode.
Further, it is necessary to identify whether the signal indicating device in the monitored image is in a valid identification state.
In one possible design, it is detected whether the brightness parameter of the signaling device in each of the monitoring images is within a specified brightness parameter range, wherein if the brightness parameter of the signaling device in the monitoring image is within the specified brightness parameter range, it is determined that the signaling device is in a valid indication state. The signal indicating device carries out signal indication, and has higher brightness in the effective indication state no matter the signal indicating device is an LED lamp or a display screen, so that the brightness parameter of the signal indicating device in the monitored image can be used as the condition for screening the monitored image of which the signal indicating device is in the effective indication state. Wherein, the designated brightness parameter range is the range of the display brightness of the signal indicating device under the condition of effective indication state.
In another possible design, whether the display information of the signal indicating device in each monitoring image is the designated indication information is detected, wherein if the display information of the signal indicating device in the monitoring image is the designated indication information, it is determined that the signal indicating device is in the valid indication state. For the display screen, it is necessary to display contents to indicate that it is in an effective display state, and therefore, the display screen may be set to display the specified display information. When detecting whether the display screen is in an effective indication state, whether the appointed display information is displayed on the display screen in the monitoring image can be detected, and if so, the display screen is in the effective indication state.
According to the technical scheme, effective indication states of different types of signal indication devices can be effectively identified, and a solid foundation is laid for calculating the response time of the touch screen to user operation.
In one possible design, the step of obtaining the first frame of image of the touch screen displaying the processing result of the touch operation in step 104 includes: determining a plurality of target images matched with preset images in the monitoring image sequence, and determining a first frame image in the plurality of target images as a first frame image of a processing result of the touch operation displayed by the touch screen; or detecting whether each monitoring image in the monitoring image sequence is matched with the preset image according to the sequence of shooting time, and determining the first detected monitoring image as a first frame image of a processing result of the touch operation displayed on the touch screen when the monitoring image matched with the preset image is detected for the first time, wherein the preset image comprises the touch screen displaying the processing result of the touch operation.
Therefore, an image matched with the preset image of the touch screen displaying the processing result of the touch operation can be identified in the plurality of monitoring images in an image identification mode, namely the touch screen displays the first frame image of the processing result of the touch operation, and the first frame image reflects the end time of the response time of the touch screen to the user operation, so that a solid foundation is laid for calculating the response time of the touch screen to the user operation.
And 106, determining the response time of the touch screen to the user operation based on the last frame image, the first frame image and a preset monitoring image shooting frame rate.
And the difference frame number of the last frame image and the first frame image is the frame number shot in the response time of the touch screen to the user operation. Further, determining the product of the reciprocal of the preset monitoring image shooting frame rate and the difference frame number as the response time of the touch screen to the user operation. Namely, the time interval from the end of the signal indicating device to the display operation result of the touch screen is used as the response time of the touch screen to the user operation.
In summary, the working state of the device can be indicated by shooting the working state of the device for acquiring the signal externally connected to the touch piece in the test process of the touch screen, and the time interval from the end of the working of the device for indicating the signal to the display of the operation result of the touch screen is taken as the response time of the touch screen to the user operation.
FIG. 2 is a schematic diagram of a touch screen testing apparatus according to an embodiment of the invention.
As shown in fig. 2, a touch screen testing apparatus 200 according to an embodiment of the invention includes: the touch control 202, the touch control 202 is provided with a switch 2022, and when the touch control 202 touches the touch control screen 400, the switch 2022 jumps to a closed state; the touch piece peripheral circuit 204, the touch piece peripheral circuit 204 includes a power supply device 2042 and a signal indication device 2044, the power supply device 2042, the signal indication device 2044 and a switch 2022 of the touch piece 202 are connected in series, when the switch 2022 is in a closed state, the touch piece peripheral circuit 204 is closed, so that the signal indication device 2044 is in an effective indication state; the image acquiring device 206 is configured to periodically capture monitoring images of the touch screen 400 during a test process, the touch screen 400 and the signal indicating device 2044 are captured in the monitoring images, and a monitoring image sequence is formed by a plurality of monitoring images.
The touch control 202 includes, but is not limited to, a touch pen or a touch finger sleeve, and the switch 2022 is a contact point in the touch pen or the touch finger sleeve, and when the touch control 202 is used for touch operation on the touch screen 400, the working circuit in the touch control 202 is connected through the touch point. Specifically, in response to the operation of the touch control member 202 touching the screen, the switch 2022 of the touch control member 202 is closed, so that the touch control working circuit of the touch control member 202 is turned on, thereby implementing the touch control function. At this time, the switch 2022 of the touch piece 202 is also externally connected with a touch piece peripheral circuit 204, in the touch piece peripheral circuit 204, the switch 2022 is connected in series with the signal indicating device 2044, when the switch 2022 is closed, the touch piece peripheral circuit 204 is also turned on, and the signal indicating device 2044 enters a working state, that is, enters an effective indicating state, thereby implementing a signal indicating function.
In the touch control peripheral circuit 204, the power supply device 2042 is used for supplying power to the switch 2022 and the signal indicating device 2044 when the touch control peripheral circuit 204 is connected. The power supply device 2042 may be an independent battery, or may be any electronic device that has a battery and the battery may be used externally. The signal indicating device 2044 includes, but is not limited to, an LED lamp, a display screen, etc., which can display a signal that is not available before power-on.
When the touch control element 202 touches the screen, the touch operating circuit of the touch control element 202 and the touch control element peripheral circuit 204 are simultaneously turned on, so that the signal indicating device 2044 enters an operating state to display a signal. For example, if the signal indicating device 2044 is an LED lamp, for single touch, when the touch control element 202 touches the screen, the signal indicating device 2044 enters a working state, the LED lamp is on, and when the touch control element 202 leaves the screen, the signal indicating device 2044 is powered off, and the LED lamp is off.
At the same time, the image acquiring device 206 periodically acquires the image of the position of the signal indicating device 2044. It should be noted that, in a single touch, the time interval from the ending time of the valid indication state of the signaling device 2044 to the time when the touch screen 400 displays the operation result is taken as the response time of the touch screen 400 to the user operation, and the two correspond to the last frame image of the valid indication state of the signaling device 2044 and the first frame image of the processing result of the touch operation displayed by the touch screen 400, respectively.
Therefore, the touch screen testing apparatus 200 further includes a processor 208, wherein the processor 208 is connected to the image acquiring apparatus 206, and is configured to receive the monitoring image sequence from the image acquiring apparatus 206, acquire a last frame image of the signal indicating apparatus 2044 in the valid indicating state and a first frame image of the touch screen 400 displaying the processing result of the touch operation in the monitoring image sequence, and determine the response time of the touch screen 400 to the user operation based on the last frame image and the first frame image and a preset monitoring image capturing frame rate.
Fig. 3 shows a block diagram of a test information acquisition apparatus according to an embodiment of the present invention.
As shown in fig. 3, a test information acquisition apparatus 300 according to an embodiment of the present invention includes: a monitoring image sequence obtaining unit 302, configured to obtain a monitoring image sequence for testing a touch screen, where the monitoring image sequence includes multiple monitoring images arranged in sequence according to shooting time, a touch screen is shot in each monitoring image, and a signal indicating device connected in series with a switch of a touch piece and an external circuit of the touch piece is shot; a designated image obtaining unit 304, configured to obtain, in the monitored image sequence, a last frame image of the signal indication device in an effective indication state and a first frame image of a processing result of the touch operation, where the signal indication device is in the effective indication state in a process that a user performs the touch operation on the touch screen by using the touch control component; a response time determining unit 306, configured to determine a response time of the touch screen for a user operation based on the last frame image, the first frame image, and a preset monitoring image shooting frame rate.
In an embodiment of the present invention, the touch control element includes a touch control pen or a touch control finger sleeve, the switch is a contact point in the touch control pen or the touch control finger sleeve, and when the touch control element is used for performing a touch control operation on a screen, a working circuit in the touch control element is connected through the touch control point.
In an embodiment of the present invention, the designated image obtaining unit 304 is configured to: identifying the signal indicating device in each monitoring image in the monitoring image sequence by a preset image identification mode; detecting a signal indication state of the signal indication device in each monitoring image; and determining the monitoring image with the signal indicating state being in the effective indicating state and the shooting time being the latest as the last frame image with the signal indicating device being in the effective indicating state.
In an embodiment of the present invention, the designated image obtaining unit 304 is configured to: detecting whether the brightness parameter of the signal indicating device in each monitoring image is in a specified brightness parameter range, wherein if the brightness parameter of the signal indicating device in the monitoring image is in the specified brightness parameter range, the signal indicating device is determined to be in an effective indicating state; or detecting whether the display information of the signal indicating device in each monitoring image is appointed indication information, wherein if the display information of the signal indicating device in the monitoring image is the appointed indication information, the signal indicating device is determined to be in an effective indication state.
In an embodiment of the present invention, the designated image obtaining unit 304 is configured to: determining a plurality of target images matched with preset images in the monitoring image sequence, and determining a first frame image in the plurality of target images as a first frame image of a processing result of the touch operation displayed by the touch screen; or detecting whether each monitoring image in the monitoring image sequence is matched with the preset image according to the sequence of shooting time, and determining the first detected monitoring image as a first frame image of a processing result of the touch operation displayed on the touch screen when the monitoring image matched with the preset image is detected for the first time, wherein the preset image comprises the touch screen displaying the processing result of the touch operation.
In an embodiment of the present invention, the response time determination unit 306 is configured to: acquiring the difference frame number of the first frame image and the last frame image; and determining the product of the reciprocal of the preset monitoring image shooting frame rate and the difference frame number as the response time of the touch screen to the user operation.
The test information obtaining apparatus 300 uses the solution described in any of the above embodiments, and therefore, has all the technical effects described above, and is not described herein again.
The electronic device of one embodiment of the invention includes at least one memory. And a processor communicatively coupled to the at least one memory. Wherein the memory stores instructions executable by the at least one processor, the instructions being arranged to perform the scheme of any of the embodiments described above. Therefore, the electronic device has the same technical effects as any of the above embodiments, and is not described herein again.
The electronic device of embodiments of the present invention exists in a variety of forms, including but not limited to:
(1) Mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
In addition, an embodiment of the present invention provides a computer-readable storage medium, which stores computer-executable instructions for executing the method flow described in any of the above embodiments.
The technical scheme of the invention is described in detail in combination with the drawings, and by the technical scheme of the invention, the detection difficulty of the touch screen on the response time of the user operation is reduced, a more accurate detection result can be obtained, and the convenience and the accuracy of the response time detection are improved.
The word "if," as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection," depending on context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A test information acquisition method is characterized by comprising the following steps:
acquiring a monitoring image sequence for testing a touch screen, wherein the monitoring image sequence comprises a plurality of monitoring images which are arranged in sequence according to shooting time, a touch screen is shot in each monitoring image, and a signal indicating device which is connected with a switch of a touch piece in series and is arranged on a peripheral circuit of the touch piece is shot;
in the monitoring image sequence, acquiring a last frame image of the signal indicating device in an effective indicating state and a first frame image of a processing result of the touch operation displayed by the touch screen, wherein the signal indicating device is in the effective indicating state in the process that a user uses the touch control to perform the touch operation on the touch screen;
and determining the response time of the touch screen to the user operation based on the last frame image, the first frame image and a preset monitoring image shooting frame rate.
2. The test information acquisition method according to claim 1,
the touch control piece comprises a touch pen or a touch finger sleeve, the switch is a contact point in the touch pen or the touch finger sleeve, and when the touch control piece is used for performing touch operation on a screen, a working circuit in the touch control piece is communicated through the touch point.
3. The test information acquisition method according to claim 1, wherein the step of acquiring the last frame image in which the signal indication device is in the valid indication state includes:
identifying the signal indicating device in each monitoring image in the monitoring image sequence by a preset image identification mode;
detecting a signal indication state of the signal indication device in each monitoring image;
and determining the monitoring image with the signal indicating state being in the effective indicating state and the shooting time being the latest as the last frame image with the signal indicating device being in the effective indicating state.
4. The test information acquisition method according to claim 3, wherein the detecting a signal indicating state of the signal indicating device in each of the monitor images includes:
detecting whether the brightness parameter of the signal indicating device in each monitoring image is in a specified brightness parameter range, wherein if the brightness parameter of the signal indicating device in the monitoring image is in the specified brightness parameter range, the signal indicating device is determined to be in an effective indicating state; or alternatively
And detecting whether the display information of the signal indicating device in each monitoring image is appointed indicating information, wherein if the display information of the signal indicating device in the monitoring image is the appointed indicating information, the signal indicating device is determined to be in an effective indicating state.
5. The method according to claim 1, wherein the step of acquiring the first frame image of the touch screen displaying the processing result of the touch operation includes:
determining a plurality of target images matched with preset images in the monitoring image sequence, and determining a first frame image in the plurality of target images as a first frame image of a processing result of the touch operation displayed by the touch screen; or
Detecting whether each monitoring image in the monitoring image sequence is matched with the preset image according to the sequence of shooting time, determining the monitoring image detected for the first time as a first frame image of a processing result of the touch operation displayed on the touch screen when the monitoring image matched with the preset image is detected for the first time,
the preset image comprises the touch screen displaying a processing result of the touch operation.
6. The method according to any one of claims 1 to 5, wherein the determining the response time of the touch screen to the user operation based on the last frame image and the first frame image and a preset monitoring image capturing frame rate includes:
acquiring the difference frame number of the first frame image and the last frame image;
and determining the product of the reciprocal of the preset monitoring image shooting frame rate and the difference frame number as the response time of the touch screen to the user operation.
7. A test information acquisition apparatus characterized by comprising:
the monitoring image sequence acquisition unit is used for acquiring a monitoring image sequence for testing the touch screen, wherein the monitoring image sequence comprises a plurality of monitoring images which are arranged in sequence according to shooting time, a touch screen is shot in each monitoring image, and a signal indicating device which is connected with a switch of the touch piece in series and is arranged on an external circuit of the touch piece is shot;
a designated image obtaining unit, configured to obtain, in the monitored image sequence, a last frame image of the signal indicating device in an effective indication state and a first frame image of a processing result of the touch operation displayed on the touch screen, where the signal indicating device is in the effective indication state in a process in which a user performs the touch operation on the touch screen using the touch control;
and the response time determining unit is used for determining the response time of the touch screen to the user operation based on the last frame image, the first frame image and a preset monitoring image shooting frame rate.
8. A touch screen testing device, comprising:
the touch control piece is provided with a switch, and the switch jumps to a closed state when the touch control piece touches the touch control screen;
the touch control piece peripheral circuit comprises a power supply device and a signal indicating device, wherein the power supply device, the signal indicating device and a switch of the touch control piece are connected in series, and when the switch is in a closed state, the touch control piece peripheral circuit is closed, so that the signal indicating device is in an effective indicating state;
the image acquisition device is used for periodically shooting monitoring images of a test process of the touch screen, the touch screen and the signal indicating device are shot in the monitoring images, and a monitoring image sequence is formed by a plurality of monitoring images;
and the processor is connected with the image acquisition device and used for receiving the monitoring image sequence from the image acquisition device, acquiring a last frame image of the signal indication device in an effective indication state and a first frame image of a processing result of the touch operation displayed by the touch screen in the monitoring image sequence, and determining the response time of the touch screen to the user operation based on the last frame image, the first frame image and a preset monitoring image shooting frame rate.
9. An electronic device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor and arranged to perform the method of any of claims 1 to 7.
10. A computer-readable storage medium having stored thereon computer-executable instructions for performing the method flow of any of claims 1-7.
CN202211570664.2A 2022-12-07 2022-12-07 Test information acquisition method and device, test device, electronic device, and medium Pending CN115904845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211570664.2A CN115904845A (en) 2022-12-07 2022-12-07 Test information acquisition method and device, test device, electronic device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211570664.2A CN115904845A (en) 2022-12-07 2022-12-07 Test information acquisition method and device, test device, electronic device, and medium

Publications (1)

Publication Number Publication Date
CN115904845A true CN115904845A (en) 2023-04-04

Family

ID=86489509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211570664.2A Pending CN115904845A (en) 2022-12-07 2022-12-07 Test information acquisition method and device, test device, electronic device, and medium

Country Status (1)

Country Link
CN (1) CN115904845A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117116172A (en) * 2023-10-18 2023-11-24 深圳市富越机电设备有限公司 Touch screen testing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117116172A (en) * 2023-10-18 2023-11-24 深圳市富越机电设备有限公司 Touch screen testing method and device
CN117116172B (en) * 2023-10-18 2024-01-16 深圳市富越机电设备有限公司 Touch screen testing method and device

Similar Documents

Publication Publication Date Title
CN104995581B (en) The gestures detection management of electronic equipment
US9329714B2 (en) Input device, input assistance method, and program
US20060178235A1 (en) Apparatus and method for determining participant contact with a sports object
EP3673480A1 (en) Display latency measurement system using available hardware
CN106528389A (en) Performance evaluation method and device for system smoothness and terminal
US20190018054A1 (en) Key detecting method and apparatus
CN111722113A (en) Battery detection method and equipment
CN115904845A (en) Test information acquisition method and device, test device, electronic device, and medium
CN107566627B (en) Auxiliary reminding system and method for bad use habits of users
KR102466526B1 (en) Electronic device for tagging event on sports play video and operating method thereof
CN110442263A (en) Touching display screen processing method, device, storage medium and electronic equipment
EP3196738A1 (en) Method for controlling blank screen gesture processing and terminal
KR20200137460A (en) Electronic device for providing exercise information according to exercise environment
CN113495609A (en) Sleep state judgment method and system, wearable device and storage medium
CN107562205B (en) Projection keyboard of intelligent terminal and operation method of projection keyboard
CN104007928B (en) Information processing method and electronic equipment
CN114579421A (en) Method and device for testing stuck-in state
WO2017126320A1 (en) Information processing device, information processing method, and program
CN108491067B (en) Intelligent fan control method, intelligent fan and computer readable storage medium
CN107632266B (en) Mobile terminal, test system and test method of mobile terminal
CN114288638A (en) Score data acquisition method and device of virtual game and electronic equipment
CN111879334B (en) Step counting method, step counting device and computer readable storage medium
CN111522447B (en) Display switching method, display terminal, electronic device and storage medium
WO2018170658A1 (en) Fingerprint recognition method and apparatus
CN111167105B (en) Shooting detection method, device, equipment, system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination