CN109918247B - Method and device for detecting abnormal jumping points of touch screen and electronic equipment - Google Patents

Method and device for detecting abnormal jumping points of touch screen and electronic equipment Download PDF

Info

Publication number
CN109918247B
CN109918247B CN201910164430.XA CN201910164430A CN109918247B CN 109918247 B CN109918247 B CN 109918247B CN 201910164430 A CN201910164430 A CN 201910164430A CN 109918247 B CN109918247 B CN 109918247B
Authority
CN
China
Prior art keywords
touch
point
touch point
abnormal
coordinates
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
CN201910164430.XA
Other languages
Chinese (zh)
Other versions
CN109918247A (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 Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201910164430.XA priority Critical patent/CN109918247B/en
Publication of CN109918247A publication Critical patent/CN109918247A/en
Application granted granted Critical
Publication of CN109918247B publication Critical patent/CN109918247B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a method and a device for detecting abnormal jumping points of a touch screen and electronic equipment, wherein the method for detecting the abnormal jumping points of the touch screen comprises the following steps: acquiring touch point data of a touch screen; analyzing the touch point data to obtain the coordinates of the touch point; determining whether the touch point is an abnormal jumping point according to the coordinates of the touch point; and when the touch point is an abnormal jumping point, reporting the abnormal event of the touch point. According to the method and the device, the abnormal jumping points in the touch screen can be detected, and then the problem of abnormal touch when the traditional laminating process is applied to a large-size capacitive screen can be solved.

Description

Method and device for detecting abnormal jumping points of touch screen and electronic equipment
[ technical field ] A method for producing a semiconductor device
The present disclosure relates to the field of touch sensor technologies, and in particular, to a method and an apparatus for detecting an abnormal jumping point of a touch screen, and an electronic device.
[ background of the invention ]
With the development of touch screen technology, capacitive touch screens are widely applied to portable devices such as mobile phones and tablet computers.
In the prior art, when a conventional bonding process is applied to a large-sized capacitive screen, a problem of abnormal touch (i.e., abnormal jumping points) often occurs, and the problem is generally caused by the following two factors:
1. the bonding gap between a Touch Panel (TP) and a Liquid Crystal Display (LCD) is not uniform;
2. binding (bonding) results in poor signal.
Although the problem of nonuniform bonding gaps between the TP and the LCD can be solved by adopting a full bonding technology, the production cost is greatly increased by adopting the scheme, and the problem of poor signals caused by binding cannot be solved by adopting the scheme.
[ summary of the invention ]
In view of this, the embodiment of the application provides a method and a device for detecting an abnormal jumping point of a touch screen, and an electronic device, so as to detect the abnormal jumping point in the touch screen, and further solve the problem of abnormal touch when a conventional bonding process is applied to a large-size capacitive screen.
On one hand, the embodiment of the application provides a method for detecting abnormal jumping points of a touch screen, and the method comprises the steps of obtaining touch point data of the touch screen; analyzing the touch point data to obtain the coordinates of the touch point; determining whether the touch point is an abnormal jumping point according to the coordinates of the touch point; and when the touch point is an abnormal jumping point, reporting an event that the touch point is abnormal.
In one possible implementation manner, the determining whether the touch point is an abnormal jumping point according to the coordinates of the touch point includes: comparing the coordinates of the touch point with the coordinates of the reference point; if the deviation of the coordinates of the touch point and the reference point is smaller than a preset threshold value and the report point interval of the touch point and the reference point is smaller than a preset interval threshold value, determining that the touch point is an abnormal jumping point when the duration of the touch point is up to the preset duration; wherein the touching of the touch point for a predetermined duration comprises: the touch point is continuously touched within the preset duration; or, within the preset duration, the touch points are touched at intervals, but the time interval between two adjacent touches is less than the preset duration.
In one possible implementation manner, the comparing the coordinates of the touch point with the coordinates of the reference point includes: comparing the abscissa of the touch point with the abscissa of the reference point; the deviation of the touch point from the coordinates of the reference point being less than a predetermined threshold comprises: a deviation of the touch point from an abscissa of the reference point is less than a first threshold; the reporting the event that the touch point is abnormal comprises: and reporting the abnormal event of the vertical line indicated by the abscissa of the touch point.
In one possible implementation manner, after reporting the event that the vertical line indicated by the abscissa of the touch point is abnormal, the method further includes: and shielding signals of the vertical lines indicated by the abscissa of the touch point.
In one possible implementation manner, after comparing the abscissa of the touch point with the abscissa of the reference point, the method further includes: comparing the ordinate of the touch point with the ordinate of the reference point if the deviation of the touch point from the abscissa of the reference point is greater than or equal to the first threshold; if the deviation of the touch point from the ordinate of the reference point is smaller than a second threshold value, and the report point interval between the touch point and the reference point is smaller than a preset interval threshold value, determining that the touch point is an abnormal skip point when the duration of the touch point is up to the preset duration; and when the touch point is an abnormal jumping point, reporting an event that the horizontal line indicated by the vertical coordinate of the touch point is abnormal.
In one possible implementation manner, after reporting the event that the horizontal line indicated by the ordinate of the touch point is abnormal, the method further includes: and shielding signals of horizontal lines indicated by the ordinate of the touch point.
In one possible implementation manner, the comparing the coordinates of the touch point with the coordinates of the reference point includes: comparing the abscissa of the touch point with the abscissa of the reference point and comparing the ordinate of the touch point with the ordinate of the reference point; the deviation of the touch point from the coordinates of the reference point being less than a predetermined threshold comprises: a deviation of the touch point from an abscissa of the reference point is less than a third threshold, and a deviation of the touch point from an ordinate of the reference point is less than a fourth threshold; the reporting the event that the touch point is abnormal comprises: and reporting the abnormal event of the area where the touch point is located.
In one possible implementation manner, after reporting the event that the area where the touch point is located is abnormal, the method further includes: resetting the background baseline of the touch screen.
In one possible implementation manner, after comparing the coordinates of the touch point with the coordinates of the reference point, the method further includes: and if the deviation of the coordinates of the touch point and the reference point is greater than or equal to a preset threshold value, or the touch point and the reference point have a point report interval greater than or equal to a preset interval threshold value, taking the touch point as a new reference point.
In one possible implementation manner, before determining whether the touch point is an abnormal skip point according to the coordinates of the touch point, the method further includes: judging whether the obtained coordinates of the touch points comprise coordinates of touch points which are more than or equal to a preset number; the determining whether the touch point is an abnormal jumping point according to the coordinates of the touch point comprises: when the acquired coordinates of the touch points comprise coordinates of touch points which are more than or equal to a preset number, determining whether a touch abnormal event occurs according to the coordinates of the touch points, wherein the touch abnormal event comprises that the touch points on the same horizontal line or vertical line are more than or equal to the preset number, and the maximum offset between the touch points is more than or equal to a preset offset threshold; if the touch abnormal event occurs, storing coordinates of the horizontal lines or the vertical lines in which the touch points with the number larger than or equal to the preset number are located as abnormal coordinates; and when the duration of the touch abnormal event reaches a preset duration threshold, determining that the touch points which are greater than or equal to the preset number and are positioned on the same horizontal line or vertical line are abnormal jumping points.
In one possible implementation manner, the reporting the event that the touch point is abnormal includes: and reporting the abnormal event of the horizontal lines or the vertical lines where the touch points with the number larger than or equal to the preset number are located.
In one possible implementation manner, after determining whether the obtained coordinates of the touch points include coordinates of touch points greater than or equal to a predetermined number, the method further includes: and if the number of the touch points included in the acquired coordinates of the touch points is less than the preset number, deleting the saved abnormal coordinates.
On the other hand, the embodiment of the present application further provides a device for detecting an abnormal jumping point of a touch screen, including: the acquisition module is used for acquiring touch point data of the touch screen; the analysis module is used for analyzing the touch point data obtained by the obtaining module and obtaining the coordinates of the touch point; the determining module is used for determining whether the touch point is an abnormal jumping point according to the coordinate of the touch point acquired by the analyzing module; and the reporting module is used for reporting the event that the touch point is abnormal when the determining module determines that the touch point is an abnormal jumping point.
In one possible implementation manner, the determining module includes: the comparison submodule is used for comparing the coordinates of the touch point with the coordinates of the reference point; the abnormal jumping point determining submodule is used for determining that the touch point is an abnormal jumping point if the duration of the touch point is up to the preset duration when the deviation of the coordinates of the touch point and the reference point is smaller than the preset threshold and the report interval of the touch point and the reference point is smaller than the preset interval threshold; wherein the touching of the touch point for a predetermined duration comprises: the touch point is continuously touched within the preset duration; or, within the preset duration, the touch points are touched at intervals, but the time interval between two adjacent touches is less than the preset duration.
In one possible implementation manner, the comparison sub-module is specifically configured to compare an abscissa of the touch point with an abscissa of the reference point; the deviation of the touch point from the coordinates of the reference point being less than a predetermined threshold comprises: a deviation of the touch point from an abscissa of the reference point is less than a first threshold; the reporting module is specifically configured to report an event that the vertical line indicated by the abscissa of the touch point is abnormal.
In one possible implementation manner, the apparatus further includes: and the shielding module is used for shielding the signal of the vertical line indicated by the abscissa of the touch point after the reporting module reports the abnormal event of the vertical line indicated by the abscissa of the touch point.
In one possible implementation manner, the comparison sub-module is further configured to, after comparing the abscissa of the touch point with the abscissa of the reference point, compare the ordinate of the touch point with the ordinate of the reference point if a deviation of the abscissa of the touch point from the reference point is greater than or equal to the first threshold; the abnormal jumping point determining submodule is further configured to determine that the touch point is an abnormal jumping point if the duration of the touch point reaches a predetermined duration when the deviation of the touch point from the ordinate of the reference point is smaller than a second threshold and the report interval of the touch point from the reference point is smaller than a predetermined interval threshold; the reporting module is further configured to report an event that the horizontal line indicated by the vertical coordinate of the touch point is abnormal.
In one possible implementation manner, the apparatus further includes: and the shielding module is used for shielding the signal of the horizontal line indicated by the vertical coordinate of the touch point after the reporting module reports the abnormal event of the horizontal line indicated by the vertical coordinate of the touch point.
In one possible implementation manner, the comparison sub-module is specifically configured to compare an abscissa of the touch point with an abscissa of the reference point, and compare a ordinate of the touch point with an ordinate of the reference point; the deviation of the touch point from the coordinates of the reference point being less than a predetermined threshold comprises: a deviation of the touch point from an abscissa of the reference point is less than a third threshold, and a deviation of the touch point from an ordinate of the reference point is less than a fourth threshold; the reporting module is specifically configured to report an event that an abnormality occurs in an area where the touch point is located.
In one possible implementation manner, the apparatus further includes: and the resetting module is used for resetting the background baseline of the touch screen after the reporting module reports the abnormal event of the area where the touch point is located.
In one possible implementation manner, the determining module includes: the quantity judgment submodule is used for judging whether the obtained coordinates of the touch points comprise coordinates of the touch points which are more than or equal to the preset quantity; the event determining submodule is used for determining whether a touch abnormal event occurs according to the coordinates of the touch points when the acquired coordinates of the touch points comprise coordinates of touch points which are larger than or equal to a preset number, wherein the touch abnormal event comprises that the touch points on the same horizontal line or vertical line are larger than or equal to the preset number, and the maximum offset between the touch points is larger than or equal to a preset offset threshold; the coordinate storage submodule is used for storing the coordinates of the horizontal lines or the vertical lines where the touch points which are more than or equal to the preset number are positioned as abnormal coordinates when the event determining submodule determines that the touch abnormal event occurs; and the abnormal jumping point determining submodule is used for determining that the touch points which are greater than or equal to the preset number and are positioned on the same horizontal line or vertical line are abnormal jumping points when the duration of the touch abnormal event reaches a preset duration threshold.
In one possible implementation manner, the reporting module is specifically configured to report an event that the horizontal lines or the vertical lines where the touch points greater than or equal to the predetermined number are located are abnormal.
In one possible implementation manner, the determining module further includes: and the coordinate deleting submodule is used for deleting the abnormal coordinates saved by the coordinate saving submodule when the quantity judging submodule determines that the quantity of the touch points included in the acquired coordinates of the touch points is less than the preset quantity.
In another aspect, an embodiment of the present application provides an electronic device, which includes a touch screen, a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the method is implemented as described above.
In yet another aspect, embodiments of the present application provide a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method as described above.
In the technical scheme, after touch point data of the touch screen is obtained, the touch point data is analyzed, coordinates of the touch point are obtained, whether the touch point is an abnormal jumping point or not is determined according to the coordinates of the touch point, and when the touch point is the abnormal jumping point, an abnormal event of the touch point is reported, so that the abnormal jumping point in the touch screen can be detected, and the problem of abnormal touch when the traditional laminating process is applied to a large-size capacitive screen can be solved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present application, 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 application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a flowchart illustrating an embodiment of a method for detecting an abnormal jumping point of a touch screen according to the present application;
FIG. 2 is a flowchart illustrating another embodiment of a method for detecting an abnormal jumping point of a touch screen according to the present application;
FIG. 3 is a flowchart illustrating a method for detecting an abnormal skip point of a touch screen according to still another embodiment of the present disclosure;
FIG. 4 is a flowchart illustrating a method for detecting an abnormal skip point of a touch screen according to still another embodiment of the present disclosure;
FIG. 5 is a flowchart illustrating a method for detecting an abnormal skip point of a touch screen according to still another embodiment of the present disclosure;
FIG. 6 is a flowchart illustrating a method for detecting an abnormal jumping point of a touch screen according to another embodiment of the present disclosure;
FIG. 7 is a schematic structural diagram of an embodiment of a device for detecting an abnormal jumping point of a touch screen according to the present application;
FIG. 8 is a schematic structural diagram of another embodiment of a device for detecting an abnormal jumping point of a touch screen according to the present application;
fig. 9 is a schematic structural diagram of an embodiment of an electronic device of the present application.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present application, the following detailed descriptions of the embodiments of the present application are provided with reference to the accompanying drawings.
It should be understood that the embodiments described are only a few embodiments of the present application, 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 application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of this application 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.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the 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.
Fig. 1 is a flowchart of an embodiment of a method for detecting an abnormal skip point of a touch screen according to the present application, and as shown in fig. 1, the method for detecting an abnormal skip point of a touch screen may include:
step 101, obtaining touch point data of the touch screen.
The touch screen may be a capacitive screen or other types of touch screens, which is not limited in this embodiment, and the embodiment takes the touch screen as a capacitive screen as an example for description.
And 102, analyzing the touch point data to obtain the coordinates of the touch point.
The touch point data may include all information of the touch point, including a touch point state (Down/Move/Up), coordinates (x, y) of the touch point, and an area (w, h) of the touch point.
Specifically, in the above touch point state, Down represents "Move to touch from off", Move represents "Move", and Up represents "Move to off" respectively; in the coordinates of the touch points, "x" represents an abscissa of the touch point, "y" represents an ordinate of the touch point, an origin of coordinates of a coordinate system is a point at an upper left corner of the touch screen, an x-axis of the coordinate system is an axis extending from the upper left corner in a horizontal direction, and a y-axis is an axis extending from the upper left corner in a vertical direction; the area of the touch point is the area of a touch area of the touch point, the touch area is rectangular, w is the width of the touch area, and h is the height of the touch area.
Therefore, in this embodiment, after the touch point data is obtained, the coordinates of the touch point can be obtained by analyzing the touch point data.
And 103, determining whether the touch point is an abnormal jumping point according to the coordinates of the touch point.
And 104, reporting an event that the touch point is abnormal when the touch point is an abnormal jumping point.
In the method for detecting the abnormal jumping points of the touch screen, after the touch point data of the touch screen is obtained, the touch point data is analyzed, the coordinates of the touch point are obtained, whether the touch point is the abnormal jumping point or not is determined according to the coordinates of the touch point, and when the touch point is the abnormal jumping point, the abnormal event of the touch point is reported, so that the abnormal jumping points in the touch screen can be detected, and the problem of the abnormal touch when the traditional laminating process is applied to a large-size capacitive screen can be solved.
Fig. 2 is a flowchart of another embodiment of the method for detecting an abnormal skip point of a touch screen according to the present application, as shown in fig. 2, in the embodiment shown in fig. 1 of the present application, step 103 may be:
step 201, comparing the coordinates of the touch point with the coordinates of the reference point.
Step 202, if the deviation between the coordinates of the touch point and the reference point is smaller than a predetermined threshold value, and the touch point report interval of the reference point are smaller than a predetermined interval threshold value, determining that the touch point is an abnormal jumping point when the duration of the touch point being touched reaches a predetermined duration.
The duration of the touch point being touched may reach a predetermined duration as follows: the touch point is continuously touched within the preset duration; or, within the predetermined duration, the touch points are touched at intervals, but the time interval between two adjacent touches is less than a predetermined duration, where the predetermined duration may be set by itself when the implementation is implemented, for example: the predetermined time period may be 1 second.
In this step, the size of the predetermined threshold may be set according to system performance and/or implementation requirements during specific implementation, and the size of the predetermined threshold is not limited in this embodiment;
the predetermined interval threshold may be set according to system performance and/or implementation requirements during specific implementation, and the size of the predetermined interval threshold is not limited in this embodiment, for example, the predetermined interval threshold may be 1.5 seconds;
the predetermined duration may be set according to system performance and/or implementation requirements, and the predetermined duration is greater than the predetermined interval threshold, and the size of the predetermined duration is not limited in this embodiment, for example, the predetermined duration may be 14 seconds.
Further, after step 201, the method may further include:
step 203, if the deviation between the touch point and the coordinate of the reference point is greater than or equal to a predetermined threshold value, or the touch point and the touch point report interval of the reference point are greater than or equal to a predetermined interval threshold value, then the touch point is used as a new reference point.
Fig. 3 is a flowchart of another embodiment of the method for detecting an abnormal skip point of a touch screen according to the present application, as shown in fig. 3, in the embodiment shown in fig. 2 according to the present application, step 201 may be:
step 301, comparing the abscissa of the touch point with the abscissa of the reference point.
In this case, the deviation between the touch point and the coordinates of the reference point being smaller than the predetermined threshold may be: a deviation of the touch point from an abscissa of the reference point is smaller than a first threshold; the size of the first threshold may be set according to system performance and/or implementation requirements during specific implementation, and the size of the first threshold is not limited in this embodiment, for example, the first threshold may be 1 banding width, and in a 75-inch or 86-inch capacitive screen, 1 banding width is 72 units.
In this embodiment, step 104 may be:
and 302, reporting an event that the vertical line indicated by the abscissa of the touch point is abnormal when the touch point is an abnormal jumping point.
Further, after the step 302, the method may further include:
and step 303, shielding the signal of the vertical line indicated by the abscissa of the touch point.
According to the embodiment, the abnormal jumping points in the touch screen can be detected through a software method, and then the abnormal lines are reported, so that the signals of the abnormal lines can be shielded, and the problem of touch abnormality when the traditional laminating process is applied to a large-size capacitive screen is solved.
Fig. 4 is a flowchart of a method for detecting an abnormal skip point of a touch screen according to still another embodiment of the present application, as shown in fig. 4, in the embodiment shown in fig. 3 of the present application, after step 301, the method may further include:
step 401, if the deviation between the touch point and the abscissa of the reference point is greater than or equal to the first threshold, comparing the ordinate of the touch point with the ordinate of the reference point.
Step 402, if the deviation between the touch point and the ordinate of the reference point is smaller than a second threshold, and the touch point and the time interval of the reference point are smaller than a predetermined interval threshold, determining that the touch point is an abnormal jumping point when the duration of the touch point being touched reaches a predetermined duration.
The size of the second threshold may be set according to system performance and/or implementation requirements during specific implementation, and the second threshold may be equal to or different from the first threshold, and the size of the second threshold is not limited in this embodiment, for example, the second threshold may be 1 bundling width, and in a 75 inch or 86 inch capacitive screen, 1 bundling width is 72 units.
And step 403, reporting an event that the horizontal line indicated by the ordinate of the touch point is abnormal when the touch point is an abnormal jumping point.
Further, after step 403, the method may further include:
and step 404, shielding the signal of the horizontal line indicated by the ordinate of the touch point.
According to the embodiment, the abnormal jumping points in the touch screen can be detected through a software method, and then the abnormal lines are reported, so that the signals of the abnormal lines can be shielded, and the problem of touch abnormality when the traditional laminating process is applied to a large-size capacitive screen is solved.
Fig. 5 is a flowchart of another embodiment of the method for detecting an abnormal skip point of a touch screen according to the present application, as shown in fig. 5, in the embodiment shown in fig. 2 according to the present application, step 201 may be:
step 501, comparing the abscissa of the touch point with the abscissa of the reference point, and comparing the ordinate of the touch point with the ordinate of the reference point.
In this case, the deviation between the touch point and the coordinates of the reference point being smaller than the predetermined threshold may be: a deviation of the touch point from an abscissa of the reference point is smaller than a third threshold, and a deviation of the touch point from an ordinate of the reference point is smaller than a fourth threshold; the third threshold and the fourth threshold may be set according to system performance and/or implementation requirements during specific implementation, and the third threshold may be equal to or different from the fourth threshold, and the size of the third threshold and the size of the fourth threshold are not limited in this embodiment, for example, the third threshold may be an 1/8 area, that is, the x axis of the touch screen is divided into 8 equal parts, and the third threshold is 1/8 length of the x axis; similarly, the fourth threshold may also be an 1/8 area, that is, the y-axis of the touch screen is divided into 8 equal parts, and the fourth threshold is 1/8 length of the y-axis.
In this embodiment, step 104 may be:
and 502, reporting an event that the area where the touch point is positioned is abnormal when the touch point is an abnormal jumping point.
Further, after step 502, the method may further include:
and 503, resetting the background baseline of the touch screen.
According to the embodiment, the abnormal jumping points in the touch screen can be detected by adopting a software method, when the touch abnormality is found to be the abnormality of the area where the touch point is located, the abnormal event in the area where the touch point is located is reported, then the background baseline of the touch screen can be reset, and the problem of the touch abnormality when the traditional attaching process is applied to the large-size capacitive screen is solved.
Fig. 6 is a flowchart of another embodiment of the method for detecting an abnormal jumping point of a touch screen according to the present application, as shown in fig. 6, in the embodiment shown in fig. 1 of the present application, before step 103, the method may further include:
step 601, judging whether the acquired coordinates of the touch points include coordinates of touch points which are greater than or equal to a preset number.
The predetermined number may be set according to system performance and/or implementation requirements during specific implementation, and the size of the predetermined number is not limited in this embodiment, for example, the predetermined number may be 5.
At this time, step 103 may include:
step 602, when the obtained coordinates of the touch points include coordinates of touch points greater than or equal to a predetermined number, determining whether a touch abnormal event occurs according to the coordinates of the touch points.
The touch abnormal event comprises that touch points on the same horizontal line or the same vertical line are greater than or equal to the preset number, and the maximum offset between the touch points is greater than or equal to a preset offset threshold.
The predetermined offset threshold may be set according to system performance and/or implementation requirements during specific implementation, and the size of the predetermined offset threshold is not limited in this embodiment, for example, the predetermined offset threshold may be 2 banding widths, and in a 75-inch or 86-inch capacitive screen, 2 banding widths are 2 × 72 units.
When the touch points on the same horizontal line are greater than or equal to a preset number, the maximum offset between the touch points is the deviation between the abscissas of the touch points; and when the touch points on the same vertical line are greater than or equal to the preset number, the maximum offset between the touch points is the deviation between the vertical coordinates of the touch points.
Step 603, if the touch abnormal event occurs, saving the coordinates of the horizontal lines or the vertical lines where the touch points greater than or equal to the predetermined number are located as abnormal coordinates.
Step 604, when the duration of the touch abnormal event reaches a predetermined duration threshold, determining that the touch points located on the same horizontal line or vertical line and greater than or equal to the predetermined number are abnormal jumping points.
The predetermined duration threshold may be set according to system performance and/or implementation requirements during specific implementation, and the size of the predetermined duration threshold is not limited in this embodiment, for example, the predetermined duration threshold may be 1 second.
In this embodiment, step 104 may be:
step 605, reporting an event that the horizontal line or the vertical line where the touch points are located is abnormal, where the touch points are greater than or equal to the predetermined number when the touch points are abnormal jumping points.
In this embodiment, after reporting the event that the horizontal lines or the vertical lines where the touch points are located are more than or equal to the predetermined number are abnormal, the signals of the horizontal lines or the vertical lines can be also shielded, so as to improve the problem of touch abnormality when the conventional bonding process is applied to a large-size capacitive screen.
Further, after step 601, the method may further include:
step 606, if the number of touch points included in the acquired coordinates of the touch points is less than the preset number, deleting the saved abnormal coordinates.
Based on the method for detecting the abnormal jumping point of the touch screen provided by the embodiment, the embodiment of the application further provides an embodiment of a device for implementing the embodiment of the method.
Fig. 7 is a schematic structural diagram of an embodiment of a detection apparatus for an abnormal jumping point of a touch screen according to the present application, where the detection apparatus for an abnormal jumping point of a touch screen in the present embodiment may implement the detection method for an abnormal jumping point of a touch screen according to the present application. As shown in fig. 7, the apparatus for detecting an abnormal jumping point of a touch screen may include: an acquisition module 71, an analysis module 72, a determination module 73 and a reporting module 74;
the acquiring module 71 is configured to acquire touch point data of the touch screen;
the touch screen may be a capacitive screen or other types of touch screens, which is not limited in this embodiment, and the embodiment takes the touch screen as a capacitive screen as an example for description.
And the analyzing module 72 is configured to analyze the touch point data obtained by the obtaining module 71, and obtain coordinates of the touch point.
The touch point data may include all information of the touch point, including a touch point state (Down/Move/Up), coordinates (x, y) of the touch point, and an area (w, h) of the touch point.
Specifically, in the above touch point state, Down represents "Move to touch from off", Move represents "Move", and Up represents "Move to off" respectively; in the coordinates of the touch points, "x" represents an abscissa of the touch point, "y" represents an ordinate of the touch point, an origin of coordinates of a coordinate system is a point at an upper left corner of the touch screen, an x-axis of the coordinate system is an axis extending from the upper left corner in a horizontal direction, and a y-axis is an axis extending from the upper left corner in a vertical direction; the area of the touch point is the area of a touch area of the touch point, the touch area is rectangular, w is the width of the touch area, and h is the height of the touch area.
Therefore, in this embodiment, after the obtaining module 71 obtains the touch point data, the analyzing module 72 analyzes the touch point data, that is, obtains the coordinates of the touch point.
A determining module 73, configured to determine whether the touch point is an abnormal skip point according to the coordinate of the touch point obtained by the analyzing module 72;
and a reporting module 74, configured to report, when the determining module 73 determines that the touch point is an abnormal jumping point, an event that the touch point is abnormal.
In the device for detecting the abnormal jumping point of the touch screen, after the acquisition module 71 acquires the touch point data of the touch screen, the analysis module 72 analyzes the touch point data to acquire the coordinate of the touch point, then the determination module 73 determines whether the touch point is the abnormal jumping point according to the coordinate of the touch point, and when the touch point is the abnormal jumping point, the reporting module 74 reports the event that the touch point is abnormal, so that the abnormal jumping point in the touch screen can be detected, and the problem of the abnormal touch when the traditional laminating process is applied to a large-size capacitive screen can be solved.
Fig. 8 is a schematic structural diagram of another embodiment of the apparatus for detecting an abnormal trip point of a touch screen according to the present application, and compared with the apparatus for detecting an abnormal trip point of a touch screen shown in fig. 7, the difference is that in the apparatus for detecting an abnormal trip point of a touch screen shown in fig. 8, the determining module 73 may include: comparing sub-module 731 with abnormal trip point determining sub-module 732;
the comparison submodule 731 is configured to compare the coordinates of the touch point with the coordinates of the reference point;
an abnormal jumping point determining sub-module 732, configured to determine that the touch point is an abnormal jumping point if a duration of the touch point being touched reaches a predetermined duration when a deviation of the coordinates of the touch point from the reference point is smaller than a predetermined threshold and a report interval between the touch point and the reference point is smaller than a predetermined interval threshold.
The duration of the touch point being touched may reach a predetermined duration as follows: the touch point is continuously touched within the preset duration; or, within the predetermined duration, the touch points are touched at intervals, but the time interval between two adjacent touches is less than a predetermined duration, where the predetermined duration may be set by itself when the implementation is implemented, for example: the predetermined time period may be 1 second.
In this step, the size of the predetermined threshold may be set according to system performance and/or implementation requirements during specific implementation, and the size of the predetermined threshold is not limited in this embodiment;
the predetermined interval threshold may be set according to system performance and/or implementation requirements during specific implementation, and the size of the predetermined interval threshold is not limited in this embodiment, for example, the predetermined interval threshold may be 1.5 seconds;
the predetermined duration may be set according to system performance and/or implementation requirements, and the predetermined duration is greater than the predetermined interval threshold, and the size of the predetermined duration is not limited in this embodiment, for example, the predetermined duration may be 14 seconds.
In an implementation manner of this embodiment, the comparison sub-module 731 is specifically configured to compare the abscissa of the touch point with the abscissa of the reference point;
the deviation of the coordinates of the touch point from the reference point being smaller than the predetermined threshold may be: a deviation of the touch point from an abscissa of the reference point is smaller than a first threshold; the size of the first threshold may be set according to system performance and/or implementation requirements during specific implementation, and the size of the first threshold is not limited in this embodiment, for example, the first threshold may be 1 banding width, and in a 75-inch or 86-inch capacitive screen, 1 banding width is 72 units.
The reporting module 74 is specifically configured to report an event that the vertical line indicated by the abscissa of the touch point is abnormal.
Further, the device for detecting an abnormal jumping point of a touch screen may further include: a shielding module 75;
the shielding module 75 is configured to shield the signal of the vertical line indicated by the abscissa of the touch point after the reporting module 74 reports the event that the vertical line indicated by the abscissa of the touch point is abnormal.
In another implementation manner of this embodiment, the comparison sub-module 731 is further configured to, after comparing the abscissa of the touch point with the abscissa of the reference point, compare the ordinate of the touch point with the ordinate of the reference point if the deviation between the touch point and the abscissa of the reference point is greater than or equal to a first threshold;
an abnormal skip point determining sub-module 732, configured to determine, when a deviation between the touch point and the ordinate of the reference point is smaller than a second threshold and a report interval between the touch point and the reference point is smaller than a predetermined interval threshold, that the touch point is an abnormal skip point if a duration of the touch point reaches a predetermined duration; the size of the second threshold may be set according to system performance and/or implementation requirements during specific implementation, and the second threshold may be equal to or different from the first threshold, and the size of the second threshold is not limited in this embodiment, for example, the second threshold may be 1 bundling width, and in a 75 inch or 86 inch capacitive screen, 1 bundling width is 72 units.
The reporting module 74 is further configured to report an event that the horizontal line indicated by the ordinate of the touch point is abnormal.
Further, the device for detecting an abnormal jumping point of a touch screen may further include: a shielding module 75;
the shielding module 75 is configured to shield a signal of the horizontal line indicated by the ordinate of the touch point after the reporting module 74 reports the event that the horizontal line indicated by the ordinate of the touch point is abnormal.
In yet another implementation manner of this embodiment, the comparison sub-module 731 is specifically configured to compare an abscissa of the touch point with an abscissa of the reference point, and compare a ordinate of the touch point with an ordinate of the reference point;
in this case, the deviation between the touch point and the coordinates of the reference point being smaller than the predetermined threshold may be: a deviation of the touch point from an abscissa of the reference point is smaller than a third threshold, and a deviation of the touch point from an ordinate of the reference point is smaller than a fourth threshold; the third threshold and the fourth threshold may be set according to system performance and/or implementation requirements during specific implementation, and the third threshold may be equal to or different from the fourth threshold, and the size of the third threshold and the size of the fourth threshold are not limited in this embodiment, for example, the third threshold may be an 1/8 area, that is, the x axis of the touch screen is divided into 8 equal parts, and the third threshold is 1/8 length of the x axis; similarly, the fourth threshold may also be an 1/8 area, that is, the y-axis of the touch screen is divided into 8 equal parts, and the fourth threshold is 1/8 length of the y-axis.
At this time, the reporting module 74 is specifically configured to report an event that the area where the touch point is located is abnormal.
Further, the device for detecting an abnormal jumping point of a touch screen may further include: a reset module 76;
a resetting module 76, configured to reset the background baseline of the touch screen after the reporting module 74 reports the event that the area where the touch point is located is abnormal.
In yet another implementation manner of this embodiment, the determining module 73 may include: a quantity judgment sub-module 733, an event determination sub-module 734, a coordinate saving sub-module 735, and an abnormal skip point determination sub-module 732;
the number determination sub-module 733 is configured to determine whether the obtained coordinates of the touch points include coordinates of touch points that are greater than or equal to a predetermined number; the predetermined number may be set according to system performance and/or implementation requirements during specific implementation, and the size of the predetermined number is not limited in this embodiment, for example, the predetermined number may be 5.
An event determining sub-module 734, configured to determine whether a touch abnormal event occurs according to the coordinates of the touch points when the obtained coordinates of the touch points include coordinates of touch points greater than or equal to a predetermined number, where the touch abnormal event includes touch points located on the same horizontal line or vertical line greater than or equal to the predetermined number, and a maximum offset between the touch points is greater than or equal to a predetermined offset threshold; the touch abnormal event comprises that touch points on the same horizontal line or the same vertical line are greater than or equal to the preset number, and the maximum offset between the touch points is greater than or equal to a preset offset threshold.
The predetermined offset threshold may be set according to system performance and/or implementation requirements during specific implementation, and the size of the predetermined offset threshold is not limited in this embodiment, for example, the predetermined offset threshold may be 2 banding widths, and in a 75-inch or 86-inch capacitive screen, 2 banding widths are 2 × 72 units.
When the touch points on the same horizontal line are greater than or equal to a preset number, the maximum offset between the touch points is the deviation between the abscissas of the touch points; and when the touch points on the same vertical line are greater than or equal to the preset number, the maximum offset between the touch points is the deviation between the vertical coordinates of the touch points.
A coordinate saving sub-module 735, configured to save, as an abnormal coordinate, a coordinate of a horizontal line or a vertical line where the touch points greater than or equal to the predetermined number are located when the event determining sub-module 734 determines that the touch abnormal event occurs;
the abnormal jumping point determining submodule 732 is configured to determine, when the duration of the touch abnormal event reaches a predetermined duration threshold, that the touch points located on the same horizontal line or vertical line and greater than or equal to the predetermined number are abnormal jumping points.
The predetermined duration threshold may be set according to system performance and/or implementation requirements during specific implementation, and the size of the predetermined duration threshold is not limited in this embodiment, for example, the predetermined duration threshold may be 1 second.
At this time, the reporting module 74 is specifically configured to report an event that the horizontal line or the vertical line where the touch points are located is abnormal, where the touch points are greater than or equal to the predetermined number.
Further, the determining module 73 may further include: coordinate deletion submodule 736;
the coordinate deleting sub-module 736 is configured to delete the abnormal coordinates already saved by the coordinate saving sub-module 735 when the number determination sub-module 733 determines that the number of touch points included in the acquired coordinates of the touch points is smaller than the predetermined number.
Fig. 9 is a schematic structural diagram of an embodiment of an electronic device of the present application, and as shown in fig. 9, the electronic device may include: a memory, a processor and a computer program stored on the memory and operable on the processor; the processor is used for acquiring touch point data of the touch screen when executing the computer program; analyzing the touch point data to obtain the coordinates of the touch point; and determining whether the touch point is an abnormal jumping point according to the coordinates of the touch point, and reporting an event that the touch point is abnormal when the touch point is the abnormal jumping point.
FIG. 9 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present application. The electronic device 12 shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 9, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system Memory 28 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 30 and/or cache Memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 9, and commonly referred to as a "hard drive"). Although not shown in FIG. 9, a disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), a Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally perform the functions and/or methodologies of the embodiments described herein.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) via the Network adapter 20. As shown in FIG. 9, the network adapter 20 communicates with the other modules of the electronic device 12 via the bus 18. It should be appreciated that although not shown in FIG. 9, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the method for detecting an abnormal jumping point of a touch screen provided in the embodiment of the present application.
The embodiment of the present application further provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method for detecting an abnormal jumping point of a touch screen according to the embodiment of the present application may be implemented.
The non-transitory computer readable storage medium described above may take any combination of one or more computer readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having 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), a 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. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of Network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (23)

1. A method for detecting abnormal jumping points of a touch screen is characterized by comprising the following steps:
acquiring touch point data of a touch screen;
analyzing the touch point data to obtain the coordinates of the touch point;
determining whether the touch point is an abnormal jumping point according to the coordinates of the touch point;
when the touch point is an abnormal jumping point, reporting an event that the touch point is abnormal;
before determining whether the touch point is an abnormal jumping point according to the coordinates of the touch point, the method further includes:
judging whether the obtained coordinates of the touch points comprise coordinates of touch points which are more than or equal to a preset number;
the determining whether the touch point is an abnormal jumping point according to the coordinates of the touch point comprises:
when the acquired coordinates of the touch points comprise coordinates of touch points which are more than or equal to a preset number, determining whether a touch abnormal event occurs according to the coordinates of the touch points, wherein the touch abnormal event comprises that the touch points on the same horizontal line or vertical line are more than or equal to the preset number, and the maximum offset between the touch points is more than or equal to a preset offset threshold;
if the touch abnormal event occurs, storing the coordinates of the horizontal lines or the vertical lines where the touch points which are more than or equal to the preset number are located as abnormal coordinates;
and when the duration of the touch abnormal event reaches a preset duration threshold, determining that the touch points which are greater than or equal to the preset number and are positioned on the same horizontal line or vertical line are abnormal jumping points.
2. The method of claim 1, wherein determining whether the touch point is an abnormal jumping point according to the coordinates of the touch point comprises:
comparing the coordinates of the touch point with the coordinates of a reference point;
if the deviation of the coordinates of the touch point and the reference point is smaller than a preset threshold value and the report point interval of the touch point and the reference point is smaller than a preset interval threshold value, determining that the touch point is an abnormal jumping point when the duration of the touch point is up to the preset duration;
wherein the touching of the touch point for a predetermined duration comprises: the touch point is continuously touched within the preset duration; or, within the preset duration, the touch points are touched at intervals, but the time interval between two adjacent touches is less than the preset duration.
3. The method of claim 2, wherein comparing the coordinates of the touch point to the coordinates of the reference point comprises:
comparing the abscissa of the touch point with the abscissa of the reference point;
the deviation of the touch point from the coordinates of the reference point being less than a predetermined threshold comprises: a deviation of the touch point from an abscissa of the reference point is less than a first threshold;
the reporting the event that the touch point is abnormal comprises:
and reporting the abnormal event of the vertical line indicated by the abscissa of the touch point.
4. The method according to claim 3, wherein after reporting the event that the vertical line indicated by the abscissa of the touch point is abnormal, the method further comprises:
and shielding signals of the vertical lines indicated by the abscissa of the touch point.
5. The method of claim 3, wherein after comparing the abscissa of the touch point to the abscissa of the reference point, further comprising:
if the deviation of the touch point from the abscissa of the reference point is greater than or equal to the first threshold, comparing the ordinate of the touch point with the ordinate of the reference point;
if the deviation of the touch point from the ordinate of the reference point is smaller than a second threshold value, and the report point interval between the touch point and the reference point is smaller than a preset interval threshold value, determining that the touch point is an abnormal skip point when the duration of the touch point is up to the preset duration;
and when the touch point is an abnormal jumping point, reporting an event that the horizontal line indicated by the vertical coordinate of the touch point is abnormal.
6. The method according to claim 5, after reporting the event that the horizontal line indicated by the ordinate of the touch point is abnormal, further comprising:
and shielding signals of horizontal lines indicated by the ordinate of the touch point.
7. The method of claim 2, wherein comparing the coordinates of the touch point to the coordinates of the reference point comprises:
comparing the abscissa of the touch point with the abscissa of the reference point and comparing the ordinate of the touch point with the ordinate of the reference point;
the deviation of the touch point from the coordinates of the reference point being less than a predetermined threshold comprises:
a deviation of the touch point from an abscissa of the reference point is less than a third threshold, and a deviation of the touch point from an ordinate of the reference point is less than a fourth threshold;
the reporting the event that the touch point is abnormal comprises:
and reporting the abnormal event of the area where the touch point is located.
8. The method according to claim 7, wherein after reporting the event that the area where the touch point is located is abnormal, the method further comprises:
resetting the background baseline of the touch screen.
9. The method of claim 2, wherein after comparing the coordinates of the touch point with the coordinates of the reference point, further comprising:
and if the deviation of the coordinates of the touch point and the reference point is greater than or equal to a preset threshold value, or the touch point and the reference point have a point report interval greater than or equal to a preset interval threshold value, taking the touch point as a new reference point.
10. The method of claim 1, wherein reporting the event that the touch point is abnormal comprises:
and reporting the abnormal event of the horizontal lines or the vertical lines where the touch points with the number larger than or equal to the preset number are located.
11. The method of claim 1, wherein after determining whether the obtained coordinates of the touch points include coordinates greater than or equal to a predetermined number of touch points, the method further comprises:
and if the number of the touch points included in the acquired coordinates of the touch points is less than the preset number, deleting the saved abnormal coordinates.
12. A detection device for detecting abnormal jumping points of a touch screen is characterized by comprising:
the acquisition module is used for acquiring touch point data of the touch screen;
the analysis module is used for analyzing the touch point data acquired by the acquisition module to acquire the coordinates of the touch point;
the determining module is used for determining whether the touch point is an abnormal jumping point according to the coordinate of the touch point acquired by the analyzing module;
the reporting module is used for reporting the event that the touch point is abnormal when the determining module determines that the touch point is an abnormal jumping point;
wherein the determining module comprises:
the quantity judgment submodule is used for judging whether the obtained coordinates of the touch points comprise coordinates of the touch points which are more than or equal to the preset quantity;
the event determining submodule is used for determining whether a touch abnormal event occurs according to the coordinates of the touch points when the acquired coordinates of the touch points comprise coordinates of touch points which are larger than or equal to a preset number, wherein the touch abnormal event comprises that the touch points on the same horizontal line or vertical line are larger than or equal to the preset number, and the maximum offset between the touch points is larger than or equal to a preset offset threshold;
the coordinate storage submodule is used for storing the coordinates of the horizontal lines or the vertical lines where the touch points which are more than or equal to the preset number are positioned as abnormal coordinates when the event determining submodule determines that the touch abnormal event occurs;
and the abnormal jumping point determining submodule is used for determining that the touch points which are greater than or equal to the preset number and are positioned on the same horizontal line or vertical line are abnormal jumping points when the duration of the touch abnormal event reaches a preset duration threshold.
13. The apparatus of claim 12, wherein the determining module comprises:
the comparison submodule is used for comparing the coordinates of the touch point with the coordinates of a reference point;
the abnormal jumping point determining submodule is used for determining that the touch point is an abnormal jumping point if the duration of the touch point is up to the preset duration when the deviation of the coordinates of the touch point and the reference point is smaller than the preset threshold and the report interval of the touch point and the reference point is smaller than the preset interval threshold;
wherein the touching of the touch point for a predetermined duration comprises: the touch point is continuously touched within the preset duration; or, within the preset duration, the touch points are touched at intervals, but the time interval between two adjacent touches is less than the preset duration.
14. The apparatus of claim 13,
the comparison submodule is specifically used for comparing the abscissa of the touch point with the abscissa of the reference point;
the deviation of the touch point from the coordinates of the reference point being less than a predetermined threshold comprises: a deviation of the touch point from an abscissa of the reference point is less than a first threshold;
the reporting module is specifically configured to report an event that the vertical line indicated by the abscissa of the touch point is abnormal.
15. The apparatus of claim 14, further comprising:
and the shielding module is used for shielding the signal of the vertical line indicated by the abscissa of the touch point after the reporting module reports the abnormal event of the vertical line indicated by the abscissa of the touch point.
16. The apparatus of claim 14,
the comparison sub-module is further configured to compare the ordinate of the touch point with the ordinate of the reference point if a deviation between the abscissa of the touch point and the abscissa of the reference point is greater than or equal to the first threshold after comparing the abscissa of the touch point with the abscissa of the reference point;
the abnormal jumping point determining submodule is further configured to determine that the touch point is an abnormal jumping point if the duration of the touch point reaches a predetermined duration when the deviation of the touch point from the ordinate of the reference point is smaller than a second threshold and the report interval of the touch point from the reference point is smaller than a predetermined interval threshold;
the reporting module is further configured to report an event that the horizontal line indicated by the vertical coordinate of the touch point is abnormal.
17. The apparatus of claim 16, further comprising:
and the shielding module is used for shielding the signal of the horizontal line indicated by the vertical coordinate of the touch point after the reporting module reports the abnormal event of the horizontal line indicated by the vertical coordinate of the touch point.
18. The apparatus of claim 13,
the comparison submodule is specifically configured to compare the abscissa of the touch point with the abscissa of the reference point, and compare the ordinate of the touch point with the ordinate of the reference point;
the deviation of the touch point from the coordinates of the reference point being less than a predetermined threshold comprises:
a deviation of the touch point from an abscissa of the reference point is less than a third threshold, and a deviation of the touch point from an ordinate of the reference point is less than a fourth threshold;
the reporting module is specifically configured to report an event that an abnormality occurs in an area where the touch point is located.
19. The apparatus of claim 18, further comprising:
and the resetting module is used for resetting the background baseline of the touch screen after the reporting module reports the abnormal event of the area where the touch point is located.
20. The apparatus of claim 12,
the reporting module is specifically configured to report an event that the horizontal lines or the vertical lines where the touch points greater than or equal to the predetermined number are located are abnormal.
21. The apparatus of claim 12, wherein the determining module further comprises:
and the coordinate deleting submodule is used for deleting the abnormal coordinates saved by the coordinate saving submodule when the quantity judging submodule determines that the quantity of the touch points included in the acquired coordinates of the touch points is less than the preset quantity.
22. An electronic device comprising a touch screen, a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any one of claims 1-11 when executing the computer program.
23. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the method of any one of claims 1-11.
CN201910164430.XA 2019-03-05 2019-03-05 Method and device for detecting abnormal jumping points of touch screen and electronic equipment Active CN109918247B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910164430.XA CN109918247B (en) 2019-03-05 2019-03-05 Method and device for detecting abnormal jumping points of touch screen and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910164430.XA CN109918247B (en) 2019-03-05 2019-03-05 Method and device for detecting abnormal jumping points of touch screen and electronic equipment

Publications (2)

Publication Number Publication Date
CN109918247A CN109918247A (en) 2019-06-21
CN109918247B true CN109918247B (en) 2022-08-09

Family

ID=66963396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910164430.XA Active CN109918247B (en) 2019-03-05 2019-03-05 Method and device for detecting abnormal jumping points of touch screen and electronic equipment

Country Status (1)

Country Link
CN (1) CN109918247B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112394825A (en) * 2019-08-19 2021-02-23 北京小米移动软件有限公司 Method and device for calibrating capacitive touch module and storage medium
CN110703942B (en) * 2019-09-27 2020-08-11 珠海格力电器股份有限公司 Touch signal processing method and device, main chip terminal and touch display panel
CN111352529B (en) * 2020-02-20 2022-11-08 Oppo(重庆)智能科技有限公司 Method, device, terminal and storage medium for reporting touch event
CN113325966A (en) * 2020-02-28 2021-08-31 北京小米移动软件有限公司 Point reporting processing method, point reporting processing device and storage medium
CN113360015A (en) * 2020-03-06 2021-09-07 北京小米移动软件有限公司 Ghost point detection method and device and storage medium
CN111459335A (en) * 2020-04-07 2020-07-28 深圳回收宝科技有限公司 Touch screen detection method and device for electronic product
CN112432308B (en) * 2020-11-20 2022-07-08 珠海格力电器股份有限公司 Touch interaction device, control method and device thereof and air conditioning unit
CN112445380B (en) * 2020-12-08 2022-04-01 安徽鸿程光电有限公司 Infrared touch control method, device and all-in-one machine
CN112967418B (en) * 2021-01-29 2023-01-06 惠州市大圣和乘科技有限公司 Vehicle-mounted data record display method and device, computer equipment and storage medium
CN115617191A (en) * 2022-06-08 2023-01-17 荣耀终端有限公司 Touch anomaly suppression method, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573916A (en) * 2016-01-29 2016-05-11 努比亚技术有限公司 Fault detection method and mobile terminal
CN107003758A (en) * 2015-06-16 2017-08-01 华为技术有限公司 ghost point processing method and user equipment
CN107239166A (en) * 2017-05-31 2017-10-10 厦门美图移动科技有限公司 It is a kind of to adjust method and the mobile terminal that interface of mobile terminal is shown
CN107506073A (en) * 2017-08-08 2017-12-22 维沃移动通信有限公司 Detection method of touch screen, device, mobile terminal and computer-readable recording medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10261611B2 (en) * 2012-12-03 2019-04-16 Apkudo, Llc System and method for objectively measuring user experience of touch screen based devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107003758A (en) * 2015-06-16 2017-08-01 华为技术有限公司 ghost point processing method and user equipment
CN105573916A (en) * 2016-01-29 2016-05-11 努比亚技术有限公司 Fault detection method and mobile terminal
CN107239166A (en) * 2017-05-31 2017-10-10 厦门美图移动科技有限公司 It is a kind of to adjust method and the mobile terminal that interface of mobile terminal is shown
CN107506073A (en) * 2017-08-08 2017-12-22 维沃移动通信有限公司 Detection method of touch screen, device, mobile terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN109918247A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN109918247B (en) Method and device for detecting abnormal jumping points of touch screen and electronic equipment
US8898590B2 (en) Information input device, on-screen arrangement method thereof, and computer-executable program
US8847904B2 (en) Gesture recognition method and touch system incorporating the same
CN108595220B (en) Application component processing method and device and computer readable storage medium
US20160196034A1 (en) Touchscreen Control Method and Terminal Device
CN103902074A (en) False-touch prevention system and method
US10983625B2 (en) Systems and methods for measurement of unsupported user interface actions
CN104407798A (en) Virtual key control method and device as well as terminal
US20220335943A1 (en) Human-computer interaction method, apparatus, and system
CN105183231A (en) Information processing method applied to touch screen device and touch screen device
CN112650433A (en) Interface screenshot method and device and electronic equipment
US9495332B2 (en) Detection and repositioning of pop-up dialogs
CN110781063B (en) Method, device, equipment and storage medium for measuring first screen time of web page
CN104035714A (en) Event processing method, device and equipment based on Android system
CN110489041B (en) Method, device, equipment and medium for automatically aligning small program dragging elements
WO2017067165A1 (en) Method and apparatus for recognising multi-finger sliding gesture and terminal device
CN111414098B (en) Touch screen control method and device, electronic equipment and computer readable storage medium
WO2018205392A1 (en) Control response area display control method, electronic apparatus, and storage medium
CN110941549B (en) Memory leak detection method, device, medium and electronic equipment
CN109582269B (en) Physical splicing screen display method and device and terminal equipment
CN108520063B (en) Event log processing method and device and terminal equipment
CN110737417A (en) demonstration equipment and display control method and device of marking line thereof
EP3051401B1 (en) Image display apparatus, image enlargement method, and image enlargement program
CN113780163A (en) Page loading time detection method and device, electronic equipment and medium
CN114490265A (en) Data acquisition method, device, 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