CN117193566B - Touch screen detection method and device, electronic equipment and storage medium - Google Patents

Touch screen detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117193566B
CN117193566B CN202311446830.2A CN202311446830A CN117193566B CN 117193566 B CN117193566 B CN 117193566B CN 202311446830 A CN202311446830 A CN 202311446830A CN 117193566 B CN117193566 B CN 117193566B
Authority
CN
China
Prior art keywords
track
test
writing
touch screen
precision
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.)
Active
Application number
CN202311446830.2A
Other languages
Chinese (zh)
Other versions
CN117193566A (en
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.)
Guangzhou Zhongyuan Intelligent Technology Co ltd
Original Assignee
Guangzhou Zhongyuan Intelligent 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 Guangzhou Zhongyuan Intelligent Technology Co ltd filed Critical Guangzhou Zhongyuan Intelligent Technology Co ltd
Priority to CN202311446830.2A priority Critical patent/CN117193566B/en
Publication of CN117193566A publication Critical patent/CN117193566A/en
Application granted granted Critical
Publication of CN117193566B publication Critical patent/CN117193566B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The disclosure provides a touch screen detection method, a touch screen detection device, electronic equipment and a storage medium, relates to the technical field of display, and particularly relates to the field of touch detection. The specific implementation scheme is as follows: controlling a touch pen to write on the touch screen based on a test track of an ith test point in m test points in the touch screen to obtain a writing track detected by the touch screen, wherein i is a positive integer, m is a positive integer, and i is less than or equal to m; determining the deviation degree of each writing track point in the writing track relative to the test track based on the test track and the writing track; determining the precision of an ith test point based on the deviation degree of each writing track point relative to the test track; and determining the touch control precision of the touch control screen based on the precision of the m test points. By adopting the technical scheme disclosed by the invention, the touch precision of the touch screen can be accurately detected.

Description

Touch screen detection method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the field of display technologies, and in particular, to the field of touch detection. The disclosure relates to a touch screen detection method, a touch screen detection device, electronic equipment and a storage medium.
Background
For an infrared touch screen, an infrared emission lamp and an infrared receiving lamp are arranged on the frame of the infrared touch screen. The infrared light emitted by the infrared emission lamp propagates above the glass of the infrared touch screen, and when a touch finger touches the surface of the glass, the infrared light is detected to be blocked, so that the occurrence of a touch event is detected.
In the process, when the touch screen detects a touch finger, the touch screen reports the touch position of the touch finger. And then, calculating the distance between the reporting position and the actual touch position of the touch finger to obtain the accuracy of the touch screen. However, the accuracy of this measurement method is not high, and the effect at the time of actual writing cannot be simulated.
Disclosure of Invention
The disclosure provides a touch screen detection method, a touch screen detection device, electronic equipment and a storage medium.
According to an aspect of the present disclosure, there is provided a touch screen detection method, including:
controlling a touch pen to write on the touch screen based on a test track of an ith test point in m test points in the touch screen to obtain a writing track detected by the touch screen, wherein i is a positive integer, m is a positive integer, and i is less than or equal to m;
determining the deviation degree of each writing track point in the writing track relative to the test track based on the test track and the writing track;
determining the precision of the ith test point based on the deviation degree of each writing track point relative to the test track;
and determining the touch control precision of the touch control screen based on the precision of the m test points.
According to an aspect of the present disclosure, there is provided a touch screen detection apparatus, including:
the writing test module is used for controlling a touch pen to write on the touch screen based on the test track of the ith test point in m test points in the touch screen to obtain the writing track detected by the touch screen, wherein i is a positive integer, m is a positive integer, and i is less than or equal to m;
the track comparison module is used for determining the deviation degree of each writing track point in the writing track relative to the test track based on the test track and the writing track;
the track precision determining module is used for determining the precision of the ith test point based on the deviation degree of each writing track point relative to the test track;
and the screen precision determining module is used for determining the touch precision of the touch screen based on the precision of the m test points.
According to another aspect of the present disclosure, there is provided 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 to enable the at least one processor to perform any one of the touch screen detection methods of the embodiments of the present disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform any one of the touch screen detection methods according to the embodiments of the present disclosure.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements a touch screen detection method according to any of the embodiments of the present disclosure.
According to the technology disclosed by the invention, a plurality of test points are arranged on a touch screen, aiming at any test point, a touch pen is controlled to write on a touch screen according to the test track of the test point, so that the writing track detected by the touch screen is obtained, and the precision of the test point is determined by utilizing the deviation degree of each writing track point in the writing track relative to the test track, so that the touch precision of the touch screen is determined based on the precision of each test point. The accuracy of the test points is detected by simulating the actual writing track, and the screen accuracy is determined by utilizing the accuracy of each test point, so that the detection accuracy of the screen control accuracy can be improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a flow chart of a touch screen detection method according to an embodiment of the disclosure;
FIG. 2 is a diagram illustrating distribution of test points on a touch screen according to an embodiment of the disclosure;
FIG. 3 is a schematic illustration of a test trace of an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a thermodynamic diagram of an embodiment of the present disclosure;
FIG. 5 is a schematic illustration of a thermodynamic diagram of another embodiment of the present disclosure;
FIG. 6 is a flowchart of a touch screen detection method according to another embodiment of the present disclosure;
FIG. 7 is a block diagram of a touch screen detection device according to an embodiment of the present disclosure;
fig. 8 is a block diagram of an electronic device for implementing a touch screen detection method of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In some technologies, for the accuracy of the touch device, the detection scheme is as follows:
1. a plurality of test points are selected on the touch screen.
2. And aiming at any test point, using automatic test equipment to move the touch pen to the position of the test point, and clicking the test point to obtain the point reporting position detected by the touch equipment. And subtracting the actual clicking position of the touch pen from the point of the message provided by the touch equipment to obtain an offset value. And aiming at the same test point, performing multi-click test to obtain a plurality of offset values, and calculating the average value and standard deviation of the plurality of offset values to obtain the precision of the test point.
3. And calculating the average value and the standard deviation by using the precision of each test point, and then calculating the average value and the standard deviation to obtain the touch precision of the touch screen.
The above scheme has the following problems, specifically as follows:
1. for larger sized screens, the automated test equipment needs to move continuously at multiple points and maintain the accuracy of movement of each point, which is difficult for the automated test equipment to achieve. Thus, the touch accuracy of the detected touch screen is also reduced.
2. The accuracy of the test point is determined by adopting the offset between the real position of the test point and the point position of the test point, which cannot simulate the screen touch accuracy in the real writing state.
Based on this, the disclosure provides a touch screen detection method, which can solve the above problems.
Fig. 1 is a flowchart of a touch screen detection method according to an embodiment of the disclosure.
As shown in fig. 1, the touch screen detection method may include:
s110, based on the test track of the ith test point in m test points in the touch screen, controlling a touch pen to write on the touch screen to obtain a writing track detected by the touch screen, wherein i is a positive integer, m is a positive integer, and i is less than or equal to m;
s120, determining the deviation degree of each writing track point in the writing track relative to the test track based on the test track and the writing track;
s130, determining the precision of an ith test point based on the deviation degree of each writing track point relative to the test track;
and S140, determining the touch control precision of the touch control screen based on the precision of the m test points.
As shown in fig. 2, m test points are uniformly selected on the touch screen. This is merely an example and the test points may in fact be selected randomly.
It will be appreciated that the test track may be preset or may be selected based on historical accuracy information of the test points. The test track can be a circle taking the test point as the center of a circle, or a polygon taking the test point as the center point, or a straight line or a curve taking the test point as the center point. Alternatively still, the test track may be a plurality of circular or polygonal shaped graphical tracks of the same centroid.
Illustratively, controlling a touch pen to perform click test on a test point to obtain a point reporting position provided by a touch screen, and determining initial detection accuracy of the test point based on a difference value between a real position of the test point and the point reporting position provided by the touch screen; and selecting a corresponding test track according to the section where the primary detection precision is located.
In one example, if the initial inspection accuracy is low, a test track that is a low distance from the test point may be selected, and if the initial inspection accuracy is high, a test track that is a high distance from the test point may be selected.
In an example, the test track is a circle with the test point as the center of the circle, if the initial detection precision is low, a test track with a smaller radius can be selected, and if the initial detection precision is high, a test track with a larger radius can be selected.
In an example, if the initial detection precision is low, a straight line or a curve taking the test point as a center point is selected, and if the initial detection precision is high, a polygon taking the test point as the center point or a circle taking the test point as a center point is selected.
Illustratively, determining the degree of deviation of each writing track point in the writing track relative to the test track based on the test track and the writing track may include: and determining the deviation degree of the writing track point relative to the test track by utilizing the deviation value between the writing track point and the corresponding test track point in the test track aiming at any writing track point in the writing track.
Illustratively, determining the accuracy of the ith test point based on the degree of deviation of the respective writing trace points from the test trace may include: and determining the precision of the ith test point by using one or more of the maximum value, the minimum value, the average value, the median, the standard deviation and the like in the deviation degree of each writing track point relative to the test track.
Illustratively, determining the touch accuracy of the touch screen based on the accuracy of the m test points may include: and determining the touch control precision of the touch control screen by using one or more of the maximum value, the minimum value, the average value, the median, the standard deviation and the like in the precision of the m test points.
According to the embodiment, the plurality of test points are arranged on the touch screen, for any one test point, the touch pen is controlled to write on the touch screen according to the test track of the test point, the writing track detected by the touch screen is obtained, and the precision of the test point is determined by utilizing the deviation degree of each writing track point in the writing track relative to the test track, so that the touch precision of the touch screen is determined based on the precision of each test point. The accuracy of the test points is detected by simulating the actual writing track, and the screen accuracy is determined by utilizing the accuracy of each test point, so that the detection accuracy of the screen control accuracy can be improved.
In an exemplary embodiment, the test track is a circular track, and determining a deviation degree of each writing track point in the writing track relative to the test track based on the test track and the writing track includes: determining the distance between the writing track point and the circle center of the test track aiming at any writing track point in the writing track; the degree of deviation of the writing track point relative to the test track is determined based on the difference between the distance and the radius of the circular track.
It will be appreciated that the test points lie within a circular locus. For example, the test point may or may not be the center of the circular track.
In an exemplary embodiment, the test track includes N circular test tracks with the same center, the writing track includes N circular writing tracks corresponding to the N circular test tracks one to one, and determining, based on the test track and the writing track, a degree of deviation of each writing track point in the writing track with respect to the test track includes: determining the distance between each writing track point in the j-th circular writing track and the circle center of the j-th circular testing track aiming at the j-th circular writing track; and determining the deviation degree of each writing track point in the j-th circular writing track relative to the j-th circular testing track based on the difference value between each distance and the radius of the j-th circular testing track, wherein j is a positive integer, N is a positive integer larger than 1, and j is less than or equal to N.
Illustratively, as shown in FIG. 3, taking N as 2 as an example, the circular track includes a test inner circle and a test outer circle, and the writing track includes a writing inner circle and a writing outer circle. The circle centers of the test inner circle and the test outer circle can be the same or different. The test points are located in the test circles. For any one of the inner circle track points in the writing inner circle, determining a first distance between the inner circle track point and the circle center of the testing inner circle, and determining the deviation degree of the inner circle track point relative to the testing inner circle based on a difference value between the first distance and the radius of the testing inner circle. For any one of the outer circle track points in the writing outer circle, determining a second distance between the outer circle track point and the circle center of the testing outer circle, and determining the deviation degree of the outer circle track point relative to the testing outer circle based on a difference value between the second distance and the radius of the testing outer circle.
The circular track may also comprise, for example, more than two test circles, which circles may overlap each other and the test points are located in the overlapping area. The writing track comprises more than two writing circles. For any track point of each writing circle, the deviation degree of each track point relative to the corresponding test circle can be determined according to the calculation mode of the deviation degree of the writing track point relative to the test track.
According to the embodiment, the touch pen can be controlled to test the test point by utilizing the plurality of circular test tracks to obtain the circular writing tracks, so that the deviation degree of each writing track point relative to the corresponding circular test track can be obtained by utilizing the difference value between the distance between each writing track point in each circular writing track and the circle center of the test track and the radius of the test track, and the detection accuracy of the test point precision is further improved.
In one exemplary embodiment, determining the accuracy of the ith test point based on the degree of deviation of each writing trace point from the test trace includes: determining an average value and a standard deviation of the deviation degree based on the deviation degree of each writing track point relative to the test track; and determining the precision of the ith test point based on the average value and the standard deviation of the deviation degree.
In one exemplary embodiment, determining the accuracy of the ith test point based on the degree of deviation of each writing trace point from the test trace includes: for any circular writing track, determining an average value and a standard deviation of the deviation degree of the circular writing track based on the deviation degree of each writing track point in the circular writing track relative to the corresponding circular test track; and determining the precision of the ith test point based on the average value and standard deviation of the deviation degree of each circular writing track.
For example, for a test point, the test track includes a plurality of test circles, and the writing track includes a plurality of writing circles, in which case, for any writing circle, an average value and a standard deviation of the degree of deviation of the writing circle are determined based on the degree of deviation of each writing track point in the writing circle with respect to the test track. And then, obtaining the precision of the ith test point by using the average value and standard deviation of the deviation degree of each writing circle.
Illustratively, the accuracy of the ith test point is determined using the average and standard deviation of the degree of deviation of each written circle, and the weight value of each written circle. For example, the accuracy S of the ith test point is calculated according to the following formula i
Wherein a is j Weight value representing j-th writing circle, D j Mean value sigma representing deviation degree of each track point in jth writing circle relative to jth testing circle j Standard deviation, beta, representing the degree of deviation of each trace point of the jth writing circle from the jth test circle j A coefficient indicating a standard deviation of each trace point of the jth writing circle with respect to the jth test circle, n indicating the total number of writing circles
For example, the weight value may be different for different writing circles. For example, the weight value of the writing circle may be determined by the radius of the writing circle and the distance between the center of the writing circle and the corresponding test point. For another example, the farther the distance between the center of the written circle and the test point, the smaller the weight value of the written circle, the larger the radius of the written circle, and the smaller the weight value of the written circle.
For example, the coefficients of the standard deviation corresponding to different writing circles may be different or the same. For example, for all written circles, the coefficient of the corresponding standard deviation may be unified to be a value of 3. Or determining the coefficient of the standard deviation corresponding to the writing circle by utilizing the radius of the writing circle and the distance between the center of the writing circle and the corresponding test point. For example, the farther the distance between the center of the written circle and the test point, the larger the coefficient of the standard deviation corresponding to the written circle, the larger the radius of the written circle, and the larger the coefficient of the standard deviation corresponding to the written circle. The coefficient of the standard deviation may be a positive integer.
According to the embodiment, the accuracy of the ith test point is calculated by using the average value and the standard deviation of the deviation degree of each writing track point relative to the test track, so that the detection accuracy of the test point accuracy can be improved.
In an exemplary embodiment, determining the accuracy of the ith test point based on the mean and standard deviation of the degree of deviation of each circular writing trace includes: determining the precision of each circular writing track based on the average value and standard deviation of the deviation degree of each circular writing track; the accuracy of the ith test point is determined based on the accuracy of each circular writing trace.
The precision calculation process of each circular writing track can be as follows: determining a first numerical value based on a product of a standard deviation of the degree of deviation of the circular writing track and a first coefficient; the accuracy of the ith test point is determined based on the sum of the first value and the average of the degree of deviation.
Illustratively, the accuracy of the ith test point is calculated according to the following formula:
S i =D+3*σ
wherein D and sigma are respectively the average value and standard deviation of the deviation degree of each track point in the circular writing track relative to the circular test track, which are obtained by detecting the ith test point.
According to the above embodiment, the product of the standard deviation of all the deviation degrees for the test points and the set first coefficient is summed with the average value of all the deviation degrees for the test points, thereby accurately calculating the accuracy of the test points.
And detecting touch accuracy of the m test points according to the method to obtain the accuracy of the m test points. Then, based on the precision of the m test points, the touch precision of the touch screen is determined.
In an exemplary embodiment, determining the touch accuracy of the touch screen based on the accuracy of the m test points includes: interpolating the precision of the m test points based on the position information of the m test points on the touch screen to obtain a precision distribution diagram of the touch screen, wherein the precision distribution diagram comprises the precision of each touch point on the touch screen; and determining the touch precision of the touch screen based on the precision distribution diagram of the touch screen.
For example, the accuracy of two adjacent test points is interpolated to obtain the accuracy of the touch point located between the two test points on the touch screen. And so on, the accuracy distribution diagram of the touch screen can be obtained.
In an example, determining the touch accuracy of the touch screen based on the accuracy profile of the touch screen may include: based on the precision of each touch point on the touch screen, calculating the precision mean value and the precision standard deviation of the touch point of the touch screen, and based on the precision mean value and the precision standard deviation, calculating the touch precision of the touch screen.
In an example, calculating the touch accuracy of the touch screen based on the accuracy mean and the accuracy standard deviation includes: determining a second value based on the product of the standard deviation of precision and the second coefficient; and determining the touch control precision of the touch control screen based on the sum of the second numerical value and the precision mean value.
Illustratively, the touch accuracy of the touch screen is calculated according to the following formula:
S all =S D +3*S σ
wherein S is all Representing touch accuracy of a touch screen, S D Mean value of accuracy of touch points on touch screen is represented, S σ And representing the standard deviation of the precision of the touch point on the touch screen.
According to the embodiment, the product of the standard deviation of the precision of all the touch points on the touch screen and the second coefficient is summed with the average value of the precision of all the touch points on the touch screen, so that the touch precision of the touch screen is accurately obtained.
Of course, in some embodiments, an average value or a median of the accuracy of the m test points may be used as the touch accuracy of the touch screen.
Illustratively, the above method may further comprise: repeatedly executing a test track based on an ith test point in m test points in the touch screen, and controlling a touch pen to write on the touch screen to obtain writing tracks detected by the touch screen so as to obtain a plurality of writing tracks of the ith test point; carrying out gray level superposition on a plurality of writing tracks of the ith test point to obtain a gray level diagram of the ith test point; determining a thermodynamic diagram of the ith test point based on the gray level diagram of the ith test point; displaying the thermodynamic diagram on the touch screen.
The writing tracks are two concentric circles taking the test point as the center of a circle, fig. 4 shows a thermodynamic diagram after the superposition of multiple writing tracks of one test point, and fig. 5 shows a thermodynamic diagram after the superposition of multiple writing tracks of another test point. As can be seen from fig. 4 and 5, the trace in the thermodynamic diagram of fig. 4 is thicker than the trace in the thermodynamic diagram of fig. 5, and the touch accuracy of the test point in fig. 4 is higher than that of the test point in fig. 5.
According to the embodiment, the writing track of each test point on the touch screen is displayed in the form of thermodynamic diagram, so that the touch precision of different positions in the same screen can be intuitively displayed, and the touch precision of each screen can also be intuitively displayed.
In an exemplary embodiment, the method may further include: and adjusting the touch detection application program of the touch screen based on the precision of the ith test point and/or the touch precision of the touch screen.
For example, in a case where the accuracy of a certain test point is smaller than the first accuracy, the touch detection application program of the touch screen is adjusted. Or, when the total number of the test points with the precision smaller than the second precision is larger than the set quantity threshold value, adjusting the touch detection application program of the touch screen. Wherein the first precision may be less than or equal to the second precision.
For example, in a case where the touch accuracy of the touch screen is smaller than the third accuracy, the touch detection application of the touch screen is adjusted.
According to the embodiment, the touch control precision of one or more test points on the touch control screen or the touch control precision of the whole touch control screen is accurately detected, so that the touch control detection application program is adjusted by utilizing the touch control precision, and the touch control effect of the touch control screen is improved.
Fig. 6 is a flowchart of a touch screen detection method according to another embodiment of the present disclosure.
As shown in fig. 6, the method comprises the steps of:
s601, selecting m test points on a touch screen. When selecting test points, the edge touch area and the middle touch area are required to be distributed with the test points.
S602, setting a test track. For example, the test track may be a circular or polygonal shaped pattern track centered on the test point. Alternatively, the test track may be concentric circles, concentric polygons, or the like centered on the test point.
S603, selecting a target test point from the untested test points.
S604, controlling the touch pen to write the track on the touch screen according to the test track.
S605, collecting the report points provided by the touch screen, and obtaining the report point track.
S606, the test times of the target test points are accumulated, and whether the test times of the target test points are larger than or equal to n is judged. If yes, step S607 is executed, and if not, step S604 is returned.
S607, calculating the precision of the target test point and generating a thermodynamic diagram of the target test point. The calculation method of the accuracy of the target test point may be performed according to the above embodiment, and will not be described in detail here. And (3) superposing the images of the n tracks, and displaying the superposed images in a thermodynamic diagram mode.
S608, judging whether test points on the touch screen are all tested. If yes, step S609 is executed, and if not, step S603 is returned.
S609, after all the test points are tested, calculating the touch precision of the touch screen, and displaying the thermodynamic diagram of each test point in the touch screen. The calculation manner of the touch accuracy of the touch screen may be calculated according to the above embodiment, which is not described in detail herein. At this time, parameters such as an average value, a maximum value, a minimum value and the like of the precision of all the test points can be counted, and a test report of the touch screen can be formed by combining the thermodynamic diagrams of all the test points.
According to the embodiment, the precision of each test point on the touch screen can be detected according to the simulated real writing state, and the precision difference of each test point can be intuitively displayed in a thermodynamic diagram mode.
Fig. 7 is a block diagram of a touch screen detection device according to an embodiment of the disclosure.
As shown in fig. 7, the touch screen detection device may include:
the writing test module 710 is configured to control a stylus to write on the touch screen based on a test track of an i-th test point in m test points in the touch screen, so as to obtain a writing track detected by the touch screen, where i is a positive integer, and i is less than or equal to m;
a track comparison module 720, configured to determine a degree of deviation of each writing track point in the writing track with respect to the test track based on the test track and the writing track;
a track precision determining module 730, configured to determine the precision of the ith test point based on the deviation degree of each writing track point relative to the test track;
the screen precision determining module 740 is configured to determine a touch precision of the touch screen based on the precision of the m test points.
In an exemplary embodiment, the test track includes N circular test tracks with the same center, the writing track includes N circular writing tracks corresponding to the N circular test tracks one to one, and the track comparison module 720 includes:
the distance calculation unit is used for determining the distance between each writing track point in the j-th circular writing track and the circle center of the j-th circular testing track aiming at the j-th circular writing track;
and the deviation degree calculating unit is used for determining the deviation degree of each writing track point in the j-th circular writing track relative to the j-th circular testing track based on the difference value between each distance and the radius of the j-th circular testing track, wherein j is a positive integer, N is a positive integer greater than 1, and j is less than or equal to N.
In an exemplary embodiment, the track accuracy determining module 730 includes:
the average value and standard deviation calculation unit is used for determining an average value and a standard deviation of the deviation degree of the circular writing track based on the deviation degree of each writing track point in the circular writing track relative to the corresponding circular test track for any circular writing track;
and the test point precision calculation unit is used for determining the precision of the ith test point based on the average value and the standard deviation of the deviation degree of each circular writing track.
In an exemplary embodiment, the test point accuracy calculating unit is specifically configured to:
determining the precision of each circular writing track based on the average value and standard deviation of the deviation degree of each circular writing track;
and determining the precision of the ith test point based on the precision of each circular writing track.
In an exemplary embodiment, the screen precision determining module 740 includes:
the precision interpolation unit is used for interpolating the precision of the m test points based on the position information of the m test points on the touch screen to obtain a precision distribution diagram of the touch screen, wherein the precision distribution diagram comprises the precision corresponding to each position on the touch screen;
and the screen precision calculating unit is used for determining the touch precision of the touch screen based on the precision distribution diagram of the touch screen.
In an exemplary embodiment, the apparatus further comprises:
the repeated execution module is used for repeatedly executing the test track based on the ith test point in the m test points in the touch screen, controlling the touch pen to write on the touch screen, and obtaining the writing track detected by the touch screen so as to obtain a plurality of writing tracks of the ith test point;
the track superposition module is used for carrying out gray superposition on the writing tracks of the ith test point to obtain a gray map of the ith test point;
the thermodynamic diagram determining module is used for determining the thermodynamic diagram of the ith test point based on the gray level diagram of the ith test point;
and the thermodynamic diagram display module is used for displaying the thermodynamic diagram on the touch screen.
In an exemplary embodiment, the apparatus further comprises:
and the program adjusting module is used for adjusting the touch detection application program of the touch screen based on the precision of the ith test point and/or the touch precision of the touch screen.
For descriptions of specific functions and examples of each module and sub-module of the apparatus in the embodiments of the present disclosure, reference may be made to the related descriptions of corresponding steps in the foregoing method embodiments, which are not repeated herein.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the related user personal information all conform to the regulations of related laws and regulations, and the public sequence is not violated.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 8 illustrates a schematic block diagram of an example electronic device 800 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile apparatuses, such as personal digital assistants, cellular telephones, smartphones, wearable devices, and other similar computing apparatuses. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 8, the apparatus 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
Various components in device 800 are connected to I/O interface 805, including: an input unit 806 such as a keyboard, mouse, etc.; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, etc.; and a communication unit 809, such as a network card, modem, wireless communication transceiver, or the like. The communication unit 809 allows the device 800 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 801 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above, such as a touch screen detection method. For example, in some embodiments, a touch screen detection method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 800 via ROM 802 and/or communication unit 809. When a computer program is loaded into RAM 803 and executed by computing unit 801, one or more steps of one touch screen detection method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform a touch screen detection method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed aspects are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions, improvements, etc. that are within the principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (9)

1. The touch screen detection method is characterized by comprising the following steps of:
controlling a touch pen to write on the touch screen based on a test track of an ith test point in m test points in the touch screen to obtain a writing track detected by the touch screen, wherein i is a positive integer, m is a positive integer, i is less than or equal to m, and the test track is a circle taking the ith test point as a circle center;
determining the deviation degree of each writing track point in the writing track relative to the test track based on the test track and the writing track;
determining the precision of the ith test point based on the deviation degree of each writing track point relative to the test track;
based on the precision of the m test points, determining the touch precision of the touch screen;
the test track comprises N circular test tracks with the same circle center, the writing track comprises N circular writing tracks corresponding to the N circular test tracks one by one, and the determining of the deviation degree of each writing track point in the writing track relative to the test track based on the test track and the writing track comprises the following steps:
for a j-th circular writing track, determining the distance between each writing track point in the j-th circular writing track and the circle center of the j-th circular testing track;
and determining the deviation degree of each writing track point in the j-th circular writing track relative to the j-th circular testing track based on the difference value between each distance and the radius of the j-th circular testing track, wherein j is a positive integer, N is a positive integer greater than 1, and j is less than or equal to N.
2. The method of claim 1, wherein determining the accuracy of the ith test point based on the degree of deviation of each of the writing trace points from the test trace comprises:
for any circular writing track, determining an average value and a standard deviation of the deviation degree of the circular writing track based on the deviation degree of each writing track point in the circular writing track relative to the corresponding circular test track;
and determining the precision of the ith test point based on the average value and standard deviation of the deviation degree of each circular writing track.
3. The method of claim 2, wherein determining the accuracy of the ith test point based on the mean and standard deviation of the degree of deviation of each of the circular writing trajectories comprises:
determining the precision of each circular writing track based on the average value and standard deviation of the deviation degree of each circular writing track;
and determining the precision of the ith test point based on the precision of each circular writing track.
4. The method of claim 1, wherein the determining the touch accuracy of the touch screen based on the accuracy of the m test points comprises:
interpolating the precision of the m test points based on the position information of the m test points on the touch screen to obtain a precision distribution diagram of the touch screen, wherein the precision distribution diagram comprises the precision corresponding to each position on the touch screen;
and determining the touch precision of the touch screen based on the precision distribution diagram of the touch screen.
5. The method according to claim 1, wherein the method further comprises:
repeatedly executing the test track based on the ith test point in m test points in the touch screen, and controlling a touch pen to write on the touch screen to obtain the writing track detected by the touch screen so as to obtain a plurality of writing tracks of the ith test point;
carrying out gray level superposition on a plurality of writing tracks of the ith test point to obtain a gray level diagram of the ith test point;
determining a thermodynamic diagram of the ith test point based on the gray level diagram of the ith test point;
and displaying the thermodynamic diagram on the touch screen.
6. The method of any one of claims 1-5, further comprising:
and adjusting the touch detection application program of the touch screen based on the precision of the ith test point and/or the touch precision of the touch screen.
7. A touch screen detection device, comprising:
the writing test module is used for controlling a touch pen to write on the touch screen based on a test track of an ith test point in m test points in the touch screen to obtain a writing track detected by the touch screen, wherein i is a positive integer, m is a positive integer, i is less than or equal to m, and the test track is a circle taking the ith test point as a circle center;
the track comparison module is used for determining the deviation degree of each writing track point in the writing track relative to the test track based on the test track and the writing track;
the track precision determining module is used for determining the precision of the ith test point based on the deviation degree of each writing track point relative to the test track;
the screen precision determining module is used for determining the touch precision of the touch screen based on the precision of the m test points;
the test track comprises N circular test tracks with the same circle center, the writing track comprises N circular writing tracks corresponding to the N circular test tracks one by one, and the track comparison module comprises:
the distance calculation unit is used for determining the distance between each writing track point in the j-th circular writing track and the circle center of the j-th circular testing track aiming at the j-th circular writing track;
and the deviation degree calculating unit is used for determining the deviation degree of each writing track point in the j-th circular writing track relative to the j-th circular testing track based on the difference value between each distance and the radius of the j-th circular testing track, wherein j is a positive integer, N is a positive integer greater than 1, and j is less than or equal to N.
8. 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 to enable the at least one processor to perform the method of any one of claims 1-6.
9. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-6.
CN202311446830.2A 2023-11-02 2023-11-02 Touch screen detection method and device, electronic equipment and storage medium Active CN117193566B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311446830.2A CN117193566B (en) 2023-11-02 2023-11-02 Touch screen detection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311446830.2A CN117193566B (en) 2023-11-02 2023-11-02 Touch screen detection method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN117193566A CN117193566A (en) 2023-12-08
CN117193566B true CN117193566B (en) 2024-03-01

Family

ID=89000136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311446830.2A Active CN117193566B (en) 2023-11-02 2023-11-02 Touch screen detection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117193566B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010287221A (en) * 2009-05-11 2010-12-24 Univ Of Tokyo Haptic device
JP2013206234A (en) * 2012-03-29 2013-10-07 Xacti Corp Writing input device
CN107328784A (en) * 2017-08-17 2017-11-07 歌尔股份有限公司 Wrist strap screen detection means and method
CN111025039A (en) * 2019-10-24 2020-04-17 广州视源电子科技股份有限公司 Method, device, equipment and medium for testing accuracy of touch display screen
CN113986630A (en) * 2021-10-15 2022-01-28 中航华东光电有限公司 Touch performance test method and system of touch screen
CN114792313A (en) * 2022-06-21 2022-07-26 武汉海微科技有限公司 Touch detection method, device, equipment and storage medium
CN114878386A (en) * 2022-04-12 2022-08-09 深圳市泰启光电有限公司 Multi-point testing method for touch screen processing
CN116125176A (en) * 2023-01-30 2023-05-16 武汉海微科技有限公司 Touch precision detection method, device, equipment and storage medium
CN116449127A (en) * 2023-03-30 2023-07-18 通标标准技术服务(上海)有限公司 Test method and equipment for measuring touch screen performance of textile

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130278539A1 (en) * 2012-04-20 2013-10-24 Motorola Mobility, Inc. Method and System for Performance Testing Touch-Sensitive Devices

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010287221A (en) * 2009-05-11 2010-12-24 Univ Of Tokyo Haptic device
JP2013206234A (en) * 2012-03-29 2013-10-07 Xacti Corp Writing input device
CN107328784A (en) * 2017-08-17 2017-11-07 歌尔股份有限公司 Wrist strap screen detection means and method
CN111025039A (en) * 2019-10-24 2020-04-17 广州视源电子科技股份有限公司 Method, device, equipment and medium for testing accuracy of touch display screen
CN113986630A (en) * 2021-10-15 2022-01-28 中航华东光电有限公司 Touch performance test method and system of touch screen
CN114878386A (en) * 2022-04-12 2022-08-09 深圳市泰启光电有限公司 Multi-point testing method for touch screen processing
CN114792313A (en) * 2022-06-21 2022-07-26 武汉海微科技有限公司 Touch detection method, device, equipment and storage medium
CN116125176A (en) * 2023-01-30 2023-05-16 武汉海微科技有限公司 Touch precision detection method, device, equipment and storage medium
CN116449127A (en) * 2023-03-30 2023-07-18 通标标准技术服务(上海)有限公司 Test method and equipment for measuring touch screen performance of textile

Also Published As

Publication number Publication date
CN117193566A (en) 2023-12-08

Similar Documents

Publication Publication Date Title
CN112801164B (en) Training method, device, equipment and storage medium of target detection model
CN108038040B (en) Computer cluster performance index detection method, electronic equipment and storage medium
US9727533B2 (en) Detecting anomalies in a time series
JP7146006B2 (en) DATA PROCESSING METHOD, DATA PROCESSING APPARATUS, ELECTRONIC DEVICE, COMPUTER-READABLE STORAGE MEDIUM AND COMPUTER PROGRAM
CN107766533A (en) Telephone traffic abnormal automatic testing method and system, storage medium, electronic equipment
CN113837596B (en) Fault determination method and device, electronic equipment and storage medium
GB2523514A (en) Data Quality measurement method based on a scatter plot
CN114677653A (en) Model training method, vehicle key point detection method and corresponding devices
CN117193566B (en) Touch screen detection method and device, electronic equipment and storage medium
CN112966199B (en) Page adjustment income determining method and device, electronic equipment and medium
CN115575931A (en) Calibration method, calibration device, electronic equipment and storage medium
CN114707548A (en) Abnormal waveform capturing method and device, electronic equipment and storage medium
CN109436980A (en) The condition detection method and system of elevator components
KR20190123030A (en) An efficient pareto set selection method for optimization of multi-objective systems
CN117193565B (en) Touch screen detection method and device, electronic equipment and storage medium
CN114494818B (en) Image processing method, model training method, related device and electronic equipment
CN112269728B (en) System performance evaluation method, device, equipment and storage medium
CN117471211A (en) Method, device, equipment and storage medium for determining reference neutral point
CN114926447A (en) Method for training model, method and device for detecting target
CN114812576A (en) Map matching method and device and electronic equipment
CN112799913A (en) Container operation abnormity detection method and device
CN116612743A (en) Speech recognition model evaluation method and device, electronic equipment and storage medium
WO2023154316A1 (en) Cybersecurity assurance using 4d threat mapping of critical cyber assets
CN116797579A (en) Defect level determining method and device, electronic equipment and storage medium
CN117575679A (en) User retention prediction method and device, electronic equipment 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
GR01 Patent grant
GR01 Patent grant