CN112230794B - Detection method and device, storage medium and electronic equipment - Google Patents

Detection method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112230794B
CN112230794B CN202011078438.3A CN202011078438A CN112230794B CN 112230794 B CN112230794 B CN 112230794B CN 202011078438 A CN202011078438 A CN 202011078438A CN 112230794 B CN112230794 B CN 112230794B
Authority
CN
China
Prior art keywords
value
touch sensor
span
span value
touch
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
CN202011078438.3A
Other languages
Chinese (zh)
Other versions
CN112230794A (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.)
BOE Technology Group Co Ltd
Mianyang BOE Optoelectronics Technology Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Mianyang BOE Optoelectronics 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 BOE Technology Group Co Ltd, Mianyang BOE Optoelectronics Technology Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202011078438.3A priority Critical patent/CN112230794B/en
Publication of CN112230794A publication Critical patent/CN112230794A/en
Application granted granted Critical
Publication of CN112230794B publication Critical patent/CN112230794B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

The disclosure provides a detection method, a device, a storage medium and an electronic device, wherein the detection method comprises the following steps: acquiring a first test value of a first touch sensor and a second test value of a second touch sensor from a touch sensor to be detected, wherein the first touch sensor and the second touch sensor are adjacent in a touch display panel; determining a first span value based on the first test value and the second test value, wherein the span value is used for indicating the difference degree of the first test value and the second test value; and determining abnormal conditions of the first touch sensor and the second touch sensor based on the first span value. The method and the device can effectively detect whether larger difference exists between the adjacent touch sensors, avoid the condition that the touch screen is abnormal (such as touch dislocation/touch incapability of sensing) due to the larger difference exists between the adjacent touch sensors, and further improve the accuracy of detection of the touch sensors.

Description

Detection method and device, storage medium and electronic equipment
Technical Field
The disclosure relates to the technical field of equipment detection, and in particular relates to a detection method, a detection device, a storage medium and electronic equipment.
Background
Touch screens are widely used in various fields, such as mobile phones, flat display screens, and bank self-service teller machines. In order to ensure that the function of the touch screen can be normally implemented, the touch screen needs to be tested after being produced and before being assembled to form the device.
The existing touch detection mode is that a reference value is determined in advance based on a normal touch screen or a product containing the touch screen, specifically, a test signal is transmitted to each touch sensor contained in the touch screen, feedback signals generated by each touch sensor aiming at the test signal are converted into numerical values, all the numerical values are subjected to average calculation, and the obtained average value is the reference value; and then, when testing is carried out, transmitting a test signal to each touch sensor in the touch screen, converting a feedback signal generated by each touch sensor aiming at the test signal into a detection value, judging whether the detection value falls into a limited range corresponding to a reference value, if not, determining that the touch sensor is abnormal, and further determining that the touch screen to which the touch sensor belongs is abnormal.
However, the existing detection method only performs independent detection on the touch sensors, and cannot effectively detect whether a large difference exists between adjacent touch sensors, that is, cannot avoid the situation that the touch screen is abnormal (for example, touch dislocation/touch cannot be sensed) due to the large difference exists between the adjacent touch sensors, and the accuracy of the detection result is still low.
Disclosure of Invention
In view of the above, the present disclosure is directed to a detection method, a device, a storage medium, and an electronic apparatus, which can solve the problem that the accuracy of the detection result is still low when the existing detection method only detects the touch sensors individually and cannot detect whether there is a large difference between adjacent touch sensors effectively.
In a first aspect, the present disclosure provides a detection method, including:
acquiring a first test value of a first touch sensor and a second test value of a second touch sensor from a touch sensor to be detected, wherein the first touch sensor and the second touch sensor are adjacent in a touch display panel;
determining a first span value based on the first test value and the second test value, wherein the span value is used for indicating the difference degree of the first test value and the second test value;
And determining abnormal conditions of the first touch sensor and the second touch sensor based on the first span value.
In one possible implementation, the determining the first span value based on the first test value and the second test value includes:
determining an absolute value of the difference between the first test value and the second test value;
a first span value is determined based on a ratio of an absolute value of the difference to the first test value.
In one possible implementation, the determining an abnormal condition of the first touch sensor and the second touch sensor based on the first span value includes:
detecting whether the first span value is greater than a predetermined span value;
and determining that the first touch sensor and the second touch sensor are abnormal under the condition that the first span value is larger than the preset span value.
In one possible embodiment, the detection method further includes:
a second span value is determined based on a ratio of the absolute value of the difference to the second test value.
In one possible implementation, the determining an abnormal condition of the first touch sensor and the second touch sensor based on the first span value includes:
Detecting whether the first span value is greater than a predetermined span value and detecting whether the second span value is greater than the predetermined span value;
and determining that the first touch sensor and the second touch sensor are abnormal under the condition that the first span value and the second span value are both larger than the preset span value.
In one possible embodiment, the detection method further includes:
marking the first touch sensor and the second touch sensor which are in abnormal states, and displaying the marked first touch sensor and/or second touch sensor.
In a possible implementation manner, the touch sensor to be detected is a touch sensor that meets a predetermined condition, where the predetermined condition includes: the touch sensor obtains a test value within a predetermined range based on the test signal.
In a second aspect, the present disclosure further provides a detection apparatus, including:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a first test value of a first touch sensor and a second test value of a second touch sensor from a touch sensor to be detected, and the first touch sensor and the second touch sensor are adjacent in a touch display panel;
A first determining module, configured to determine a first span value based on the first test value and the second test value, where the span value is used to indicate a degree of difference between the first test value and the second test value;
and the second determining module is used for determining abnormal conditions of the first touch sensor and the second touch sensor based on the first span value.
In one possible implementation manner, the first determining module includes:
a first determining unit configured to determine an absolute value of a difference between the first test value and the second test value;
and a second determining unit, configured to determine a first span value based on a ratio of the absolute value of the difference value to the first test value.
In one possible implementation manner, the second determining module includes:
a first detecting unit configured to detect whether the first span value is greater than a predetermined span value;
and a third determining unit, configured to determine that an abnormality exists between the first touch sensor and the second touch sensor when the first span value is greater than the predetermined span value.
In one possible implementation manner, the first determining module further includes:
and a fourth determining unit configured to determine a second span value based on a ratio of the absolute value of the difference value to the second test value.
In one possible implementation manner, the second determining module further includes:
a second detecting unit, configured to detect whether the first span value is greater than a predetermined span value, and detect whether the second span value is greater than the predetermined span value;
and a fifth determining unit, configured to determine that an anomaly exists between the first touch sensor and the second touch sensor when the first span value and the second span value are both greater than the predetermined span value.
In one possible embodiment, the detection device further comprises:
the marking module is used for marking the first touch sensor and the second touch sensor which are in abnormal states and displaying the marked first touch sensor and/or second touch sensor.
In a third aspect, the present disclosure also provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the detection method as described.
In a fourth aspect, the present disclosure further provides an electronic device, including: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating over the bus when the electronic device is running, said machine readable instructions when executed by said processor performing the steps of the detection method as described.
The method and the device can effectively detect whether larger difference exists between the adjacent touch sensors, avoid the condition that the touch screen is abnormal (such as touch dislocation/touch incapability of sensing) due to the larger difference exists between the adjacent touch sensors, and further improve the accuracy of detection of the touch sensors.
The foregoing objects, features and advantages of the disclosure will be more readily apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions of the present disclosure or the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present disclosure, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
FIG. 1 illustrates a flow chart of one detection method provided by the present disclosure;
FIG. 2 is a flow chart illustrating a method of determining a first span value based on a first test value and a second test value in one method of detection provided by the present disclosure;
FIG. 3 shows a distribution diagram of test values corresponding to a touch sensor in the detection method provided by the present disclosure;
FIG. 4 is a flow chart illustrating an abnormal condition of determining a first touch sensor and a second touch sensor based on a first span value in a detection method provided by the present disclosure;
FIG. 5 illustrates a flow chart of another detection method provided by the present disclosure;
FIG. 6 is a schematic diagram of a first touch sensor and a second touch sensor in the detection method provided by the present disclosure;
FIG. 7 is a schematic diagram of another first touch sensor and a second touch sensor in the detection method provided by the present disclosure;
FIG. 8 illustrates a schematic representation of a touch sensor provided by the present disclosure;
FIG. 9 illustrates a schematic representation of another touch sensor provided by the present disclosure;
FIG. 10 is a schematic diagram showing the structure of a detection device provided by the present disclosure;
fig. 11 shows a schematic structural diagram of an electronic device provided by the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present disclosure more apparent, the technical solutions of the present disclosure will be clearly and completely described below with reference to the accompanying drawings of the present disclosure. It will be apparent that the described embodiments are some, but not all, of the embodiments of the present disclosure. All other embodiments, which can be made by one of ordinary skill in the art without the need for inventive faculty, are within the scope of the present disclosure, based on the described embodiments of the present disclosure.
Unless defined otherwise, technical or scientific terms used in this disclosure should be given the ordinary meaning as understood by one of ordinary skill in the art to which this disclosure belongs. The terms "first," "second," and the like, as used in this disclosure, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", etc. are used merely to indicate relative positional relationships, which may also be changed when the absolute position of the object to be described is changed.
In order to keep the following description of the present disclosure clear and concise, detailed descriptions of known functions and known components are omitted from the present disclosure.
For ease of understanding the present disclosure, a detailed description of one of the detection methods disclosed in the present disclosure is first provided.
The first aspect of the present disclosure provides a detection method, and fig. 1 shows a flowchart of the detection method, and specific steps include the following S101 to S103:
s101, acquiring a first test value of a first touch sensor and a second test value of a second touch sensor from the touch sensors to be detected, wherein the first touch sensor and the second touch sensor are adjacent in the touch display panel.
In a specific detection process, a test signal is transmitted to a touch screen to be detected through the touch integrated circuit, and specifically transmitted to each touch sensor to be detected, which is included in the touch screen to be detected, wherein the test signal comprises preset current, preset voltage, and the like. Each touch sensor to be detected feeds back a test signal, and the feedback signal is returned to the touch integrated circuit; the touch integrated circuit then transmits the received feedback signals to a converter, which converts each received feedback signal to a decimal test value and transmits each test value to a processor or processing device or the like.
Here, the touch sensor to be detected is a touch sensor satisfying predetermined conditions, wherein the predetermined conditions include: the touch sensor obtains a test value within a predetermined range based on the test signal. Specifically, the above-described detection process is performed in advance for a normal touch sensor to obtain a test value corresponding to the normal touch sensor, a reference value is determined based on the test values corresponding to the normal touch sensors, for example, an average value of the test values corresponding to the normal touch sensors is taken as a reference value or the like, and a predetermined range is determined based on the reference value, for example, the determined reference value is 5, and the predetermined range corresponding to the reference value is determined to be [4.5,5.5] or the like. On the basis, executing the detection process on all the touch sensors to be detected, screening test values in a preset range after obtaining the test value corresponding to each touch sensor to be detected, and taking the touch sensor corresponding to the test value in the preset range as the touch sensor to be detected; then, the touch sensor to be detected is detected by using the detection method disclosed by the invention, namely, the touch sensor in the touch screen to be detected is detected secondarily, so that the detection accuracy is improved.
S102, determining a first span value based on the first test value and the second test value.
After the first test value and the second test value are obtained, the first test value and the second test value are calculated to obtain a first span value.
The span value is used for indicating the difference degree of the first test value and the second test value, and further the difference degree of the first touch sensor and the second touch sensor can be determined.
Specifically, the specific step of determining the first span value based on the first test value and the second test value may refer to fig. 2, specifically including:
s201, determining an absolute value of a difference value between the first test value and the second test value.
S202, determining a first span value based on the ratio of the absolute value of the difference value to the first test value.
Fig. 3 shows a test value corresponding to each touch sensor in the touch screen to be detected, and a distribution of the test values corresponds to a distribution of the touch sensors. It should be noted that the test values shown in fig. 3 are only used to assist those skilled in the art in understanding the embodiments of the present disclosure, and are not values obtained by actually converting the feedback signal by the converter.
For example, in fig. 3, 4 is a first test value, 6 is a second test value, and then 4 corresponds to a first touch sensor and 6 corresponds to a second touch sensor. Firstly, calculating the absolute value of the difference between the first test value and the second test value, namely, the absolute value of the difference between 4 and 6 is 2; then, determining a first span value based on the ratio of the absolute value of the difference value to the first test value, specifically, taking the absolute value of the difference value as a dividend, taking the first test value as a divisor, and calculating to obtain a quotient as the first span value, namely, obtaining 0.5 by 2/4, wherein the first span value is 0.5; the absolute value of the difference may also be used as a dividend, the first test value may be used as a divisor, and the percentage of the quotient conversion calculated and obtained may be used as a first span value, that is, 2/4×100% may obtain 50%, where the first span value is 50%, and the embodiment of the disclosure is not limited in this way.
Of course, 6 may be used as the first test value, and 4 may be used as the second test value, where 6 corresponds to the first touch sensor and 4 corresponds to the second touch sensor.
S103, determining abnormal conditions of the first touch sensor and the second touch sensor based on the first span value.
After the first span value is determined, whether the first touch sensor and the second touch sensor are abnormal or not is determined according to the first span value. Specifically, fig. 4 illustrates a method for determining an abnormal situation of the first touch sensor and the second touch sensor based on the first span value, wherein the specific steps are as follows:
s401, detecting whether the first span value is larger than a preset span value.
S402, determining that the first touch sensor and the second touch sensor are abnormal under the condition that the first span value is larger than a preset span value.
When the difference degree of two adjacent touch sensors is large, the situations that a user has touch dislocation, cannot sense touch and the like in the process of using the touch screen are caused, so that the difference degree of the two adjacent touch sensors needs to be limited within a certain range, and the situations that the touch screen has touch dislocation, cannot sense touch and the like are avoided. Specifically, a predetermined span value is determined based on historical test data, and when two adjacent touch sensors have different degrees corresponding to the predetermined span value, the conditions that touch dislocation, touch incapability of sensing and the like of a touch screen are not caused.
Further, after the first span value is determined, the first span value is compared with a preset span value, and if the first span value is larger than the preset span value, the first touch sensor and the second touch sensor are determined to be abnormal.
Here, considering that there may be an inaccurate detection result in the case of performing only the first span value calculation, for example, in the case where the predetermined span value is 35%, when 6 is taken as the first test value and 4 is taken as the second test value, the calculated first span value is [ (6-4|/6 |/100% ] =33.33%; when 4 is taken as a first test value and 6 is taken as a second test value, the calculated first span value is [ (4-6|/4 × 100% ] =50%; at this time, it may result in determining a normal touch sensor as abnormal. Therefore, the embodiment of the present disclosure further provides the detection method shown in fig. 5 to further improve the accuracy of detection, where the detection method in fig. 5 includes steps S501-S505, specifically as follows:
s501, a first test value of a first touch sensor and a second test value of a second touch sensor are obtained from the touch sensors to be detected.
And in the same way as the process of S101, a first test value of a first touch sensor and a second test value of a second touch sensor in the touch sensors to be detected adjacently are obtained.
S502, determining a first span value based on the first test value and the second test value.
In the same way as S102, after the first test value and the second test value are obtained, the first test value and the second test value are calculated to obtain the first span value.
S503, determining a second span value based on the ratio of the absolute value of the difference value to the second test value.
After the first span value is calculated, a second span value is further determined based on the ratio of the absolute value of the difference value between the first test value and the second test value to the second test value, the absolute value of the difference value can be used as a dividend, the second test value can be used as a divisor, and the quotient can be calculated to be used as the second span value; the absolute value of the difference may also be used as a dividend, the second test value as a divisor, the percentage of the quotient transition calculated as a second span value, etc., as long as it is consistent with the type of the first span value.
For example, using 6 as the first test value and 4 as the second test value, the calculated first span value is [ (6-4|/6 × 100% ] =33.33%, and the calculated second span value is [ (4-6|/4 × 100% ] =50%). Of course, if 4 is taken as the first test value and 6 is taken as the second test value, the calculated first span value is [ (4-6|/4 × 100% ] =50%, and the calculated second span value is [ (6-4|/6 × 100% ] =33.33%).
S504, detecting whether the first span value is larger than a preset span value, and detecting whether the second span value is larger than the preset span value.
After the first span value and the second span value are determined, comparing the first span value with a preset span value, and judging whether the first span value is larger than the preset span value or not; and comparing the second span value with a preset span value, and judging whether the second span value is larger than the preset span value.
S505, determining that the first touch sensor and the second touch sensor are abnormal under the condition that the first span value and the second span value are both larger than the preset span value.
Here, when the first span value and the second span value are both greater than the predetermined span value, it is determined that the first touch sensor and the second touch sensor are both abnormal, which is higher in accuracy than when the first span value is greater than the predetermined span value.
Of course, when the abnormal conditions of the first touch sensor and the second touch sensor are actually determined, the abnormal conditions of the first touch sensor and the second touch sensor may be determined according to the above-described manner, that is, when the first span value is greater than the predetermined span value, the abnormal conditions of the first touch sensor and the second touch sensor are determined; or determining that the first touch sensor and the second touch sensor are abnormal under the condition that the first span value and the second span value are both larger than the preset span value. Here, considering that there is only one of the first span value and the second span value that is greater than the predetermined span value, at this time, it may also be set that the first touch sensor is determined to be normal and the second touch sensor is determined to be abnormal in a case where the first span value is greater than the predetermined span value and the second span value is less than the predetermined span value; and determining that the first touch sensor is abnormal and the second touch sensor is normal when the first span value is smaller than the predetermined span value and the second span value is larger than the predetermined span value. Thus, the accuracy of detection can be improved.
In a specific implementation, multiple touch sensors may also be detected simultaneously, for example, a first test value of a first touch sensor and a second test value of multiple second touch sensors are obtained, where each second touch sensor is adjacent to the first touch sensor, as shown in fig. 6, a identifies the first touch sensor, B, C, D, E identifies the second touch sensor; as further shown in the "back" figure of fig. 7, a identifies the first touch sensor, B, C, D, E, F, G, H, I identifies the second touch sensor, etc.; as long as the first touch sensor is adjacent to the second touch sensor.
After all touch sensors in the whole touch screen to be detected are detected, determining the abnormal condition of the touch screen based on the number, the positions and the like of the abnormal touch sensors; for example, if the number of abnormal touch sensors is greater than a preset threshold, determining that the touch screen is abnormal; determining that the touch screen is abnormal and the like under the condition that the position of the abnormal touch sensor is in a preset range; the embodiments of the present disclosure are not particularly limited thereto.
Further, after determining the abnormal conditions of all the touch sensors in the touch screen to be detected, the first touch sensor and the second touch sensor in abnormal states may be marked. As shown in fig. 8, it is determined that the touch sensors corresponding to the test values 4 and 6 are abnormal based on the above-mentioned detection method, so that the areas corresponding to the test values 4 and 6 can be filled with colors to be distinguished from other areas, so that an observer can easily distinguish between a normal touch sensor and an abnormal touch sensor when the marked first touch sensor and/or second touch sensor are displayed.
It should be noted that, in fig. 8, the color filled in the region corresponding to 4 and the color filled in the region corresponding to 6 are different, and of course, the filling may be the same when the marking is actually performed; in addition, as shown in fig. 9, when it is determined that the touch sensor corresponding to 6 is abnormal, the mark "(1)" or the like may be marked in the area corresponding to 6, so long as the normal touch sensor can be distinguished from the abnormal touch sensor.
The method and the device can effectively detect whether larger difference exists between the adjacent touch sensors, avoid the condition that the touch screen is abnormal (such as touch dislocation/touch incapability of sensing) due to the larger difference exists between the adjacent touch sensors, and further improve the accuracy of detection of the touch sensors.
Based on the same inventive concept, the second aspect of the present disclosure further provides a detection device corresponding to the detection method, and since the principle of solving the problem by the device in the present disclosure is similar to that of the detection method in the present disclosure, the implementation of the device may refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 10, the detection device includes:
The obtaining module 1001 is configured to obtain, from the touch sensors to be detected, a first test value of a first touch sensor and a second test value of a second touch sensor, where the first touch sensor and the second touch sensor are adjacent in the touch display panel.
In a specific detection process, a test signal is transmitted to a touch screen to be detected through the touch integrated circuit, and specifically transmitted to each touch sensor to be detected, which is included in the touch screen to be detected, wherein the test signal comprises preset current, preset voltage, and the like. Each touch sensor to be detected feeds back a test signal, and the feedback signal is returned to the touch integrated circuit; the touch integrated circuit then transmits the received feedback signals to a converter, which converts each received feedback signal to a decimal test value and transmits each test value to a processor or processing device or the like.
Here, the touch sensor to be detected is a touch sensor satisfying predetermined conditions, wherein the predetermined conditions include: the touch sensor obtains a test value within a predetermined range based on the test signal. Specifically, the above-described detection process is performed in advance for a normal touch sensor to obtain a test value corresponding to the normal touch sensor, a reference value is determined based on the test values corresponding to the normal touch sensors, for example, an average value of the test values corresponding to the normal touch sensors is taken as a reference value or the like, and a predetermined range is determined based on the reference value, for example, the determined reference value is 5, and the predetermined range corresponding to the reference value is determined to be [4.5,5.5] or the like. On the basis, executing the detection process on all the touch sensors to be detected, screening test values in a preset range after obtaining the test value corresponding to each touch sensor to be detected, and taking the touch sensor corresponding to the test value in the preset range as the touch sensor to be detected; then, the touch sensor to be detected is detected by using the detection method disclosed by the invention, namely, the touch sensor in the touch screen to be detected is detected secondarily, so that the detection accuracy is improved.
The first determining module 1002 is configured to determine a first span value based on the first test value and the second test value.
After the first test value and the second test value are obtained, the first test value and the second test value are calculated to obtain a first span value.
The span value is used for indicating the difference degree of the first test value and the second test value, and further the difference degree of the first touch sensor and the second touch sensor can be determined.
The second determining module 1003 is configured to determine an abnormal situation of the first touch sensor and the second touch sensor based on the first span value.
After the first span value is determined, whether the first touch sensor and the second touch sensor are abnormal or not is determined according to the first span value.
In yet another embodiment, the first determining module 1002 includes:
a first determining unit configured to determine an absolute value of a difference between the first test value and the second test value;
and the second determining unit is used for determining the first span value based on the ratio of the absolute value of the difference value to the first test value.
For example, if 4 is a first test value and 6 is a second test value, then 4 corresponds to the first touch sensor and 6 corresponds to the second touch sensor. Firstly, calculating the absolute value of the difference between the first test value and the second test value, namely, the absolute value of the difference between 4 and 6 is 2; then, determining a first span value based on the ratio of the absolute value of the difference value to the first test value, specifically, taking the absolute value of the difference value as a dividend, taking the first test value as a divisor, and calculating to obtain a quotient as the first span value, namely, obtaining 0.5 by 2/4, wherein the first span value is 0.5; the absolute value of the difference may also be used as a dividend, the first test value may be used as a divisor, and the percentage of the quotient conversion calculated and obtained may be used as a first span value, that is, 2/4×100% may obtain 50%, where the first span value is 50%, and the embodiment of the disclosure is not limited in this way. Of course, 6 may be used as the first test value, and 4 may be used as the second test value, where 6 corresponds to the first touch sensor and 4 corresponds to the second touch sensor.
In yet another embodiment, the second determining module 1003 includes:
a first detection unit configured to detect whether the first span value is greater than a predetermined span value;
and the third determining unit is used for determining that the first touch sensor and the second touch sensor are abnormal under the condition that the first span value is larger than the preset span value.
When the difference degree of two adjacent touch sensors is large, the situations that a user has touch dislocation, cannot sense touch and the like in the process of using the touch screen are caused, so that the difference degree of the two adjacent touch sensors needs to be limited within a certain range, and the situations that the touch screen has touch dislocation, cannot sense touch and the like are avoided. Specifically, a predetermined span value is determined based on historical test data, and when two adjacent touch sensors have different degrees corresponding to the predetermined span value, the conditions that touch dislocation, touch incapability of sensing and the like of a touch screen are not caused.
Further, after the first span value is determined, the first span value is compared with a preset span value, and if the first span value is larger than the preset span value, the first touch sensor and the second touch sensor are determined to be abnormal.
In yet another embodiment, the first determining module 1002 further comprises:
And a fourth determining unit for determining a second span value based on a ratio of the absolute value of the difference value to the second test value.
After the first span value is calculated, a second span value is further determined based on the ratio of the absolute value of the difference value between the first test value and the second test value to the second test value, the absolute value of the difference value can be used as a dividend, the second test value can be used as a divisor, and the quotient can be calculated to be used as the second span value; the absolute value of the difference may also be used as a dividend, the second test value as a divisor, the percentage of the quotient transition calculated as a second span value, etc., as long as it is consistent with the type of the first span value.
For example, using 6 as the first test value and 4 as the second test value, the calculated first span value is [ (6-4|/6 × 100% ] =33.33%, and the calculated second span value is [ (4-6|/4 × 100% ] =50%). Of course, if 4 is taken as the first test value and 6 is taken as the second test value, the calculated first span value is [ (4-6|/4 × 100% ] =50%, and the calculated second span value is [ (6-4|/6 × 100% ] =33.33%).
In yet another embodiment, the second determining module 1003 further includes:
And the second detection unit is used for detecting whether the first span value is larger than a preset span value or not and detecting whether the second span value is larger than the preset span value or not.
After the first span value and the second span value are determined, comparing the first span value with a preset span value, and judging whether the first span value is larger than the preset span value or not; and comparing the second span value with a preset span value, and judging whether the second span value is larger than the preset span value.
And the fifth determining unit is used for determining that the first touch sensor and the second touch sensor are abnormal under the condition that the first span value and the second span value are both larger than the preset span value.
Here, when the first span value and the second span value are both greater than the predetermined span value, it is determined that the first touch sensor and the second touch sensor are both abnormal, which is higher in accuracy than when the first span value is greater than the predetermined span value.
Of course, when the abnormal conditions of the first touch sensor and the second touch sensor are actually determined, the abnormal conditions of the first touch sensor and the second touch sensor may be determined according to the above-described manner, that is, when the first span value is greater than the predetermined span value, the abnormal conditions of the first touch sensor and the second touch sensor are determined; or determining that the first touch sensor and the second touch sensor are abnormal under the condition that the first span value and the second span value are both larger than the preset span value. Here, considering that there is only one of the first span value and the second span value that is greater than the predetermined span value, at this time, it may also be set that the first touch sensor is determined to be normal and the second touch sensor is determined to be abnormal in a case where the first span value is greater than the predetermined span value and the second span value is less than the predetermined span value; and determining that the first touch sensor is abnormal and the second touch sensor is normal when the first span value is smaller than the predetermined span value and the second span value is larger than the predetermined span value. Thus, the accuracy of detection can be improved.
In a specific implementation, multiple touch sensors may also be detected simultaneously, for example, a first test value of a first touch sensor and a second test value of multiple second touch sensors are obtained, where each second touch sensor is adjacent to the first touch sensor, such as a "cross" shape, such as a "return" shape, and so on; as long as the first touch sensor is adjacent to the second touch sensor.
In yet another embodiment, the detection device further comprises:
the marking module 1004 is configured to mark the first touch sensor and the second touch sensor in an abnormal state, and display the marked first touch sensor and/or second touch sensor.
After all touch sensors in the whole touch screen to be detected are detected, determining the abnormal condition of the touch screen based on the number, the positions and the like of the abnormal touch sensors; for example, if the number of abnormal touch sensors is greater than a preset threshold, determining that the touch screen is abnormal; determining that the touch screen is abnormal and the like under the condition that the position of the abnormal touch sensor is in a preset range; the embodiments of the present disclosure are not particularly limited thereto.
Further, after determining the abnormal conditions of all the touch sensors in the touch screen to be detected, the first touch sensor and the second touch sensor in abnormal states may be marked. For example, when the second determining module 1003 determines that the touch sensors corresponding to the test values 4 and 6 are abnormal, the areas corresponding to the test values 4 and 6 may be filled with colors to be distinguished from other areas, so that when the marked first touch sensor and/or second touch sensor are displayed, the observer can easily distinguish between the normal touch sensor and the abnormal touch sensor.
It should be noted that the color filled in the region corresponding to 4 and the region corresponding to 6 may be the same or different; of course, the marking may be performed by other means, for example, when it is determined that the touch sensor corresponding to 6 is abnormal, marking "(1)" or the like in the area corresponding to 6 is performed as long as the normal touch sensor can be distinguished from the abnormal touch sensor, which is not particularly limited in the embodiment of the present disclosure.
The method and the device can effectively detect whether larger difference exists between the adjacent touch sensors, avoid the condition that the touch screen is abnormal (such as touch dislocation/touch incapability of sensing) due to the larger difference exists between the adjacent touch sensors, and further improve the accuracy of detection of the touch sensors.
The third aspect of the present disclosure also provides a storage medium, which is a computer readable medium storing a computer program, which when executed by a processor implements the method provided by any embodiment of the present disclosure, comprising the steps of:
s11, acquiring a first test value of a first touch sensor and a second test value of a second touch sensor from a touch sensor to be detected, wherein the first touch sensor and the second touch sensor are adjacent in a touch display panel;
s12, determining a first span value based on the first test value and the second test value, wherein the span value is used for indicating the difference degree of the first test value and the second test value;
s13, determining abnormal conditions of the first touch sensor and the second touch sensor based on the first span value.
The computer program is executed by the processor to determine a first span value based on the first test value and the second test value, and specifically the processor performs the steps of: determining an absolute value of the difference between the first test value and the second test value; a first span value is determined based on a ratio of an absolute value of the difference value to the first test value.
When the computer program is executed by the processor and the abnormal conditions of the first touch sensor and the second touch sensor are determined based on the first span value, the processor specifically executes the following steps: detecting whether the first span value is greater than a predetermined span value; and under the condition that the first span value is larger than the preset span value, determining that the first touch sensor and the second touch sensor are abnormal.
The computer program is further executed by the processor when the processor executes the judgment detection method, and the following steps are executed by the processor: a second span value is determined based on a ratio of the absolute value of the difference to the second test value.
The computer program is executed by the processor to determine an abnormal condition of the first touch sensor and the second touch sensor based on the first span value, and the processor further executes the following steps: detecting whether the first span value is greater than a predetermined span value and detecting whether the second span value is greater than the predetermined span value; and under the condition that the first span value and the second span value are both larger than the preset span value, determining that the first touch sensor and the second touch sensor are abnormal.
The computer program is further executed by the processor when the processor executes the judgment detection method, and the following steps are executed by the processor: the first touch sensor and the second touch sensor which are in abnormal states are marked, and the marked first touch sensor and/or second touch sensor are/is displayed.
The method and the device can effectively detect whether larger difference exists between the adjacent touch sensors, avoid the condition that the touch screen is abnormal (such as touch dislocation/touch incapability of sensing) due to the larger difference exists between the adjacent touch sensors, and further improve the accuracy of detection of the touch sensors.
It should be noted that the storage medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: 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 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. In the context of this disclosure, 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. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. 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 of the foregoing. A computer readable signal medium may also be any storage 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 storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The fourth aspect of the present disclosure further provides an electronic device, as shown in fig. 11, where the electronic device includes at least a memory 1101 and a processor 1102, and the memory 1101 stores a computer program, and the processor 1102 implements the method provided by any embodiment of the present disclosure when executing the computer program on the memory 1101. The method performed by the electronic device computer program is exemplified as follows:
s21, acquiring a first test value of a first touch sensor and a second test value of a second touch sensor from a touch sensor to be detected, wherein the first touch sensor and the second touch sensor are adjacent in a touch display panel;
s22, determining a first span value based on the first test value and the second test value, wherein the span value is used for indicating the difference degree of the first test value and the second test value;
s23, determining abnormal conditions of the first touch sensor and the second touch sensor based on the first span value.
The processor, when executing the first span value stored on the memory based on the first test value and the second test value, further executes the computer program of: determining an absolute value of the difference between the first test value and the second test value; a first span value is determined based on a ratio of an absolute value of the difference value to the first test value.
The processor, when executing the first span value stored on the memory to determine an anomaly of the first touch sensor and the second touch sensor, further executes the following computer program: detecting whether the first span value is greater than a predetermined span value; and under the condition that the first span value is larger than the preset span value, determining that the first touch sensor and the second touch sensor are abnormal.
The processor, when executing the detection method stored on the memory, also executes the following computer program: a second span value is determined based on a ratio of the absolute value of the difference to the second test value.
The processor, when executing the first span value stored on the memory to determine an anomaly of the first touch sensor and the second touch sensor, further executes the following computer program: detecting whether the first span value is greater than a predetermined span value and detecting whether the second span value is greater than the predetermined span value; and under the condition that the first span value and the second span value are both larger than the preset span value, determining that the first touch sensor and the second touch sensor are abnormal.
The processor, when executing the detection method stored on the memory, also executes the following computer program: the first touch sensor and the second touch sensor which are in abnormal states are marked, and the marked first touch sensor and/or second touch sensor are/is displayed.
The method and the device can effectively detect whether larger difference exists between the adjacent touch sensors, avoid the condition that the touch screen is abnormal (such as touch dislocation/touch incapability of sensing) due to the larger difference exists between the adjacent touch sensors, and further improve the accuracy of detection of the touch sensors.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combination of features described above, but encompasses other embodiments in which features described above or their equivalents may be combined in any way without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.
While various embodiments of the present disclosure have been described in detail, the present disclosure is not limited to these specific embodiments, and various modifications and embodiments can be made by those skilled in the art based on the concepts of the present disclosure, which modifications and modifications are intended to fall within the scope of the present disclosure.

Claims (10)

1. A method of detection comprising:
acquiring a first test value of a first touch sensor and a second test value of a second touch sensor from a touch sensor to be detected, wherein the first touch sensor and the second touch sensor are adjacent in a touch display panel;
determining a first span value based on the first test value and the second test value, wherein the span value is used for indicating the difference degree of the first test value and the second test value;
And determining abnormal conditions of the first touch sensor and the second touch sensor based on the first span value.
2. The method of detecting according to claim 1, wherein the determining a first span value based on the first test value and the second test value comprises:
determining an absolute value of the difference between the first test value and the second test value;
a first span value is determined based on a ratio of an absolute value of the difference to the first test value.
3. The method of detecting according to claim 2, wherein the determining an abnormal condition of the first touch sensor and the second touch sensor based on the first span value includes:
detecting whether the first span value is greater than a predetermined span value;
and determining that the first touch sensor and the second touch sensor are abnormal under the condition that the first span value is larger than the preset span value.
4. The method of detecting according to claim 2, further comprising:
a second span value is determined based on a ratio of the absolute value of the difference to the second test value.
5. The method of detecting according to claim 4, wherein the determining an abnormal condition of the first touch sensor and the second touch sensor based on the first span value comprises:
Detecting whether the first span value is greater than a predetermined span value and detecting whether the second span value is greater than the predetermined span value;
and determining that the first touch sensor and the second touch sensor are abnormal under the condition that the first span value and the second span value are both larger than the preset span value.
6. The method of detecting according to claim 1, further comprising:
marking the first touch sensor and the second touch sensor which are in abnormal states, and displaying the marked first touch sensor and/or second touch sensor.
7. The detection method according to any one of claims 1 to 6, wherein the touch sensor to be detected is a touch sensor satisfying a predetermined condition, wherein the predetermined condition includes: the touch sensor obtains a test value within a predetermined range based on the test signal.
8. A detection apparatus, characterized by comprising:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a first test value of a first touch sensor and a second test value of a second touch sensor from a touch sensor to be detected, and the first touch sensor and the second touch sensor are adjacent in a touch display panel;
A first determining module, configured to determine a first span value based on the first test value and the second test value, where the span value is used to indicate a degree of difference between the first test value and the second test value;
and the second determining module is used for determining abnormal conditions of the first touch sensor and the second touch sensor based on the first span value.
9. A storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the detection method according to any of claims 1 to 7.
10. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine readable instructions executable by the processor, the processor and the memory in communication via the bus when the electronic device is running, the machine readable instructions when executed by the processor performing the steps of the detection method according to any one of claims 1 to 7.
CN202011078438.3A 2020-10-10 2020-10-10 Detection method and device, storage medium and electronic equipment Active CN112230794B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011078438.3A CN112230794B (en) 2020-10-10 2020-10-10 Detection method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011078438.3A CN112230794B (en) 2020-10-10 2020-10-10 Detection method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112230794A CN112230794A (en) 2021-01-15
CN112230794B true CN112230794B (en) 2024-04-09

Family

ID=74113111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011078438.3A Active CN112230794B (en) 2020-10-10 2020-10-10 Detection method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112230794B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101727069B1 (en) * 2015-11-18 2017-04-14 크루셜텍 (주) Touch detecting apparatus and circuit failure detecting method thereof
CN109151317A (en) * 2018-09-27 2019-01-04 惠州Tcl移动通信有限公司 Mobile terminal camera image data processing method, mobile terminal and storage medium
CN109643200A (en) * 2017-07-04 2019-04-16 深圳市汇顶科技股份有限公司 The update method of a reference value of electronic equipment, touch detection circuit and touch screen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6025528B2 (en) * 2012-11-29 2016-11-16 三菱電機株式会社 Touch panel device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101727069B1 (en) * 2015-11-18 2017-04-14 크루셜텍 (주) Touch detecting apparatus and circuit failure detecting method thereof
CN109643200A (en) * 2017-07-04 2019-04-16 深圳市汇顶科技股份有限公司 The update method of a reference value of electronic equipment, touch detection circuit and touch screen
CN109151317A (en) * 2018-09-27 2019-01-04 惠州Tcl移动通信有限公司 Mobile terminal camera image data processing method, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN112230794A (en) 2021-01-15

Similar Documents

Publication Publication Date Title
EP1933228B1 (en) Coordinate input apparatus
EP2103957A1 (en) Construction of evidence grid from multiple sensor measurements
US8704740B2 (en) Method of establishing a gamma table
CN106796752B (en) Measuring device and control method thereof, management device and control method thereof, and measuring system
CN110602490B (en) Method and device for automatically testing reproduction rate and readable storage medium
US20190034072A1 (en) Electronic device, method and system for detecting fingers and non-transitory computer-readable medium
CN114201069A (en) Touch processing device, system and method
CN105243662A (en) Terminal position determining method and terminal equipment
EP3370074B1 (en) Method for detecting background noise of sensor, and device thereof
CN112230794B (en) Detection method and device, storage medium and electronic equipment
US10773728B2 (en) Signal processing system and signal processing method for sensors of vehicle
CN106919247A (en) Virtual image methods of exhibiting and device
KR101486493B1 (en) Touch sensing apparatus using hybrid capacitance sensing operation and method thereof
US20240248562A1 (en) Method and apparatus for determining position of touch point, electronic device and non-transitory computer-readable storage medium
CN114139622A (en) State monitoring method and device, electronic equipment and readable storage medium
CN111981966B (en) Underground cable positioning method and device
CN212134943U (en) Ship classification detection system based on radar images
CN107748389A (en) Method and device for detection cable abnormal state
GB2601022A (en) Method, apparatus, storage medium and terminal equipment for estimating the impedance of battery
CN103914180A (en) Touch screen, method for locating touch point in touch screen and driving device
US9746961B2 (en) Background signal processing system and background signal processing method
CN108154321A (en) Package warehousing method and related equipment, article weighing method and related equipment
CN113836199A (en) Vehicle sensing data processing method and device, electronic equipment and storage medium
CN114550466A (en) Parking space state detection method and device and electronic equipment
US9569033B2 (en) Background signal processing system and background signal processing method

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