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

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

Info

Publication number
CN112230794A
CN112230794A CN202011078438.3A CN202011078438A CN112230794A CN 112230794 A CN112230794 A CN 112230794A CN 202011078438 A CN202011078438 A CN 202011078438A CN 112230794 A CN112230794 A CN 112230794A
Authority
CN
China
Prior art keywords
value
touch sensor
touch
span
span value
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.)
Granted
Application number
CN202011078438.3A
Other languages
Chinese (zh)
Other versions
CN112230794B (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

Images

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)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure provides a detection method, an apparatus, a storage medium and an electronic device, wherein the detection method comprises: acquiring a first test value of a first touch sensor and a second test value of a second touch sensor from touch sensors 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 the 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 the adjacent touch sensors have large difference, avoid the condition that the touch screen is abnormal (for example, touch dislocation/touch cannot be sensed) due to the large difference between the adjacent touch sensors, and further improve the accuracy of detection of the touch sensors.

Description

Detection method, detection device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of device detection technologies, and in particular, to a detection method, an apparatus, a storage medium, and an electronic device.
Background
The touch screen is widely applied to various fields such as mobile phones, flat panel display screens, and screens of bank self-service teller machines due to the advantages of intelligence and convenience. In order to ensure that the functions of the touch screen can be normally realized, the touch screen needs to be tested after the touch screen is produced and before the touch screen is assembled to form the equipment.
The existing touch detection method is to determine a reference value based on a normal touch screen or a product including the touch screen in advance, specifically, transmit a test signal to each touch sensor included in the touch screen, convert a feedback signal generated by each touch sensor for the test signal into a numerical value, and perform averaging calculation on all the numerical values to obtain an average value, which is the reference value; and then, during testing, 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 limit 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 detects the touch sensors individually, and cannot effectively detect whether there is a large difference between adjacent touch sensors, that is, it is also impossible to avoid the situation that the touch screen is abnormal (e.g., touch misplacement/touch insensible) due to the large difference between adjacent touch sensors, and the accuracy of the detection result is still low.
Disclosure of Invention
In view of the above, an object of the present disclosure is to provide a detection method, an apparatus, a storage medium, and an electronic device, which can solve the problem that the existing detection method only detects touch sensors individually, cannot effectively detect whether there is a large difference between adjacent touch sensors, and has low accuracy of detection results.
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 touch sensors 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;
determining an abnormal condition of the first touch sensor and the second touch sensor based on the first span value.
In a possible implementation, the determining a first span value based on the first test value and the second test value includes:
determining an absolute value of a difference between the first test value and the second test value;
determining a first span value based on a ratio of an absolute value of the difference to the first test value.
In a possible embodiment, the determining the 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 when the first span value is larger than the preset span value.
In one possible embodiment, the detection method further includes:
determining a second span value based on a ratio of an absolute value of the difference to the second test value.
In a possible embodiment, the determining the 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 when 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:
and 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 satisfies a predetermined condition, where the predetermined condition includes: the test value obtained by the touch sensor based on the test signal is within a predetermined range.
In a second aspect, the present disclosure also provides a detection apparatus, including:
the device comprises an acquisition module, a detection 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 touch sensors 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, wherein 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 the abnormal conditions of the first touch sensor and the second touch sensor based on the first span value.
In one possible implementation, the first determining module includes:
a first determination unit configured to determine an absolute value of a difference between the first test value and the second test value;
a second determination unit for determining a first span value based on a ratio of the absolute value of the difference to the first test value.
In one possible implementation, the second determining module includes:
a first detection unit configured to detect whether the first span value is greater than a predetermined span value;
a third determining unit, configured to determine that the first touch sensor and the second touch sensor are abnormal when the first span value is greater than the predetermined span value.
In one possible implementation, the first determining module further includes:
a fourth determination unit for determining a second span value based on a ratio of the absolute value of the difference to the second test value.
In one possible implementation, the second determining module further includes:
a second detection 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;
a fifth determining unit, configured to determine that the first touch sensor and the second touch sensor are abnormal when both the first span value and the second span value are greater than the predetermined span value.
In a possible implementation, the detection device further includes:
and 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, wherein the storage medium has 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 also provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is operating, the machine-readable instructions when executed by the processor performing the steps of the detection method as described.
The method and the device can effectively detect whether the adjacent touch sensors have large difference, avoid the condition that the touch screen is abnormal (for example, touch dislocation/touch cannot be sensed) due to the large difference between the adjacent touch sensors, and further improve the accuracy of detection of the touch sensors.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the present disclosure or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present disclosure, and other drawings can be obtained by those skilled in the art without inventive exercise.
FIG. 1 illustrates a flow chart of a detection method provided by the present disclosure;
FIG. 2 illustrates a flow chart of determining a first span value based on a first test value and a second test value in a detection method provided by the present disclosure;
FIG. 3 is a distribution diagram of test values corresponding to touch sensors in the detection method provided by the present disclosure;
FIG. 4 is a flow chart illustrating a method for detecting an abnormal situation of a first touch sensor and a second touch sensor according to 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 labeling diagram of a touch sensor provided by the present disclosure;
FIG. 9 illustrates a labeling diagram of another touch sensor provided by the present disclosure;
FIG. 10 is a schematic structural diagram 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 described clearly and completely below with reference to the accompanying drawings of the present disclosure. It is to be understood that the described embodiments are only a few embodiments of the present disclosure, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the disclosure without any inventive step, are within the scope of protection of the disclosure.
Unless otherwise defined, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this disclosure belongs. The use of "first," "second," and similar terms in this disclosure is not intended to indicate any order, quantity, or importance, but rather is used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
To maintain 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 the purpose of facilitating an understanding of the present disclosure, a detailed description of one of the detection methods disclosed in the present disclosure will be provided first.
A first aspect of the present disclosure provides a detection method, fig. 1 shows a flowchart of the detection method, and specific steps include the following S101 to S103:
s101, 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, wherein the first touch sensor and the second touch sensor are adjacent in a touch display panel.
In the specific detection process, the test signal is transmitted to the touch screen to be detected through the touch integrated circuit, and specifically transmitted to each touch sensor to be detected included in the touch screen to be detected, wherein the test signal includes a preset current and voltage touch screen and the like. Each touch sensor to be detected feeds back aiming at the test signal and returns the feedback signal to the touch integrated circuit; thereafter, the touch integrated circuit transmits the received feedback signals to a converter, which converts each of the received feedback signals into a decimal test value and transmits each of the test values to a processor or processing device or the like.
Here, the touch sensor to be detected is a touch sensor satisfying a predetermined condition, wherein the predetermined condition includes: the test value obtained by the touch sensor based on the test signal is within a predetermined range. Specifically, the detection process is performed on the normal touch sensors in advance to obtain the test values corresponding to the normal touch sensors, 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 used as a reference value, and a predetermined range is determined based on the reference value, for example, if the determined reference value is 5, the predetermined range corresponding to the reference value is determined to be [4.5, 5.5], and the like. On the basis, the detection process is executed on all the touch sensors to be detected, after a test value corresponding to each touch sensor to be detected is obtained, the test values within a preset range are screened out, and the touch sensors corresponding to the test values within the preset range are used as the touch sensors to be detected; then, the detection method disclosed by the invention is used for detecting the touch sensor to be detected, namely, carrying out secondary detection on the touch sensor in the touch screen to be detected, so as to improve the detection accuracy.
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, so that the difference degree of the first touch sensor and the second touch sensor can be determined.
Specifically, the specific steps of determining the first span value based on the first test value and the second test value may refer to fig. 2, and specifically include:
s201, determining the absolute value of the difference value between the first test value and the second test value.
S202, a first span value is determined 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 the distribution of the test values corresponds to the 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 to understand 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, 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 a ratio of the absolute value of the difference to the first test value, specifically, taking the absolute value of the difference as a dividend, taking the first test value as a divisor, and calculating to obtain a quotient as a first span value, that is, 2/4 obtains 0.5, where the first span value is 0.5; the absolute value of the difference may also be used as a dividend, the first test value is used as a divisor, and the percentage of quotient conversion obtained by calculation is used as a first span value, that is, 2/4 × 100% obtains 50%, and the first span value is 50% at this time, which is not specifically limited in this embodiment of the disclosure.
Of course, 6 may be used as the first test value, 4 may be used as the second test value, and then 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 shows a method for determining an abnormal condition 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 when the first span value is larger than the preset span value.
Considering that the difference degree between two adjacent touch sensors is large, the user may have the situations of touch dislocation, touch insensibility and the like in the process of using the touch screen, and therefore, the difference degree between two adjacent touch sensors needs to be limited within a certain range to avoid the situations of touch dislocation, touch insensibility and the like of the touch screen. Specifically, the predetermined span value is determined based on the historical test data, and the two adjacent touch sensors do not cause the situations of touch dislocation, touch insensibility and the like of the touch screen when the difference degree corresponding to the predetermined span value exists.
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, it is determined that the first touch sensor and the second touch sensor are abnormal.
Here, it is considered that there may be a case where the detection result is inaccurate when only the first span value calculation is performed, for example, when 6 is taken as the first test value and 4 is taken as the second test value in a case where the predetermined span value is 35%, the calculated first span value is [ (| 6-4 |/6) × 100% ] — 33.33%; when 4 is taken as the first test value and 6 as the second test value, the calculated first span value is [ (| 4-6 |/4) × 100% ] -50%; at this time, it may cause a normal touch sensor to be determined as abnormal. Therefore, the embodiment of the present disclosure further provides the detection method shown in fig. 5 to further improve the detection accuracy, where the detection method in fig. 5 includes steps S501 to S505, which are 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.
In the same process as 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.
And S102, after the first test value and the second test value are obtained, calculating the first test value and the second test value to obtain a first span value.
S503, determining a second span value based on a ratio of the absolute value of the difference to the second test value.
After the first span value is obtained through calculation, a second span value is further determined based on a ratio of an absolute value of a 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 is used as a divisor, and a quotient is obtained through calculation and is used as the second span value; the absolute value of the difference value can be used as a dividend, the second test value can be used as a divisor, the percentage of quotient conversion is calculated to be used as a second span value, and the like, as long as the type of the quotient conversion is consistent with that of the first span value.
For example, taking 6 as a first test value and 4 as a second test value, the first span value calculated is [ (| 6-4 |/6) × 100% ] -33.33%, and the second span value calculated is [ (| 4-6 |/4) × 100% ] -50%. Of course, if 4 is taken as the first test value and 6 as the second test value, the first span value calculated is [ (| 4-6 |/4) × 100% ] -50%, and the second span value calculated is [ (| 6-4|/6 × 100% ] -33.33%.
S504, whether the first span value is larger than a preset span value or not is detected, and whether the second span value is larger than the preset span value or not is detected.
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 greater than the preset span value; and comparing the second span value with the preset span value to judge whether the second span value is greater than the preset span value.
And 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 a preset span value.
Here, when both the first span value and the second span value are greater than the predetermined span value, it is determined that both the first touch sensor and the second touch sensor are abnormal, which is higher in accuracy than when the first span value is greater than the predetermined span value, it is determined that both the first touch sensor and the second touch sensor are abnormal.
Of course, when the abnormal conditions of the first touch sensor and the second touch sensor are actually determined, the abnormal conditions can be determined according to the above-mentioned manner, that is, when the first span value is greater than the predetermined span value, it is determined that the first touch sensor and the second touch sensor are abnormal; 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, in consideration of the fact that only one of the first span value and the second span value is greater than the predetermined span value, it may be determined that the first touch sensor is normal and the second touch sensor is abnormal when the first span value is greater than the predetermined span value and the second span value is less than the predetermined span value; and under the condition that the first span value is smaller than the preset span value and the second span value is larger than the preset span value, determining that the first touch sensor is abnormal and the second touch sensor is normal. 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 denotes the first touch sensor, and B, C, D, E denotes the second touch sensor; again, as shown in figure 7, the "return" shape, a identifies the first touch sensor, B, C, D, E, F, G, H, I each identifies the second touch sensor, etc.; as long as it is satisfied that the first touch sensor is adjacent to the second touch sensor.
After all the 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, when the number of the abnormal touch sensors is larger than a preset threshold, it is determined 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 within a preset range; the embodiment of the present disclosure is not particularly limited to this.
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 the abnormal state may be marked. As shown in fig. 8, it is determined that the touch sensors corresponding to the test values 4 and 6 are both abnormal based on the above-mentioned detection method, and therefore, the areas corresponding to 4 and 6 may be filled with colors to be distinguished from other areas, so that an observer can easily distinguish a normal touch sensor from an abnormal touch sensor when the marked first touch sensor and/or second touch sensor is displayed.
It should be noted that, in fig. 8, the color filled in the area corresponding to 4 is different from the color filled in the area corresponding to 6, and of course, the color may be the same when actually performing the marking; note that, as shown in fig. 9, when the touch sensor corresponding to 6 is determined to be abnormal, the area corresponding to 6 may be marked with "r" or the like, as long as the normal touch sensor can be distinguished from the abnormal touch sensor, and the embodiment of the present disclosure is not particularly limited to this.
The method and the device can effectively detect whether the adjacent touch sensors have large difference, avoid the condition that the touch screen is abnormal (for example, touch dislocation/touch cannot be sensed) due to the large difference 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 apparatus corresponding to the detection method, and since the principle of the apparatus in the present disclosure for solving the problem is similar to the detection method in the present disclosure, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not repeated.
Referring to fig. 10, the detecting device includes:
the obtaining module 1001 is configured to obtain a first test value of a first touch sensor and a second test value of a second touch sensor from touch sensors to be detected, where the first touch sensor and the second touch sensor are adjacent to each other in a touch display panel.
In the specific detection process, the test signal is transmitted to the touch screen to be detected through the touch integrated circuit, and specifically transmitted to each touch sensor to be detected included in the touch screen to be detected, wherein the test signal includes a preset current and voltage touch screen and the like. Each touch sensor to be detected feeds back aiming at the test signal and returns the feedback signal to the touch integrated circuit; thereafter, the touch integrated circuit transmits the received feedback signals to a converter, which converts each of the received feedback signals into a decimal test value and transmits each of the test values to a processor or processing device or the like.
Here, the touch sensor to be detected is a touch sensor satisfying a predetermined condition, wherein the predetermined condition includes: the test value obtained by the touch sensor based on the test signal is within a predetermined range. Specifically, the detection process is performed on the normal touch sensors in advance to obtain the test values corresponding to the normal touch sensors, 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 used as a reference value, and a predetermined range is determined based on the reference value, for example, if the determined reference value is 5, the predetermined range corresponding to the reference value is determined to be [4.5, 5.5], and the like. On the basis, the detection process is executed on all the touch sensors to be detected, after a test value corresponding to each touch sensor to be detected is obtained, the test values within a preset range are screened out, and the touch sensors corresponding to the test values within the preset range are used as the touch sensors to be detected; then, the detection method disclosed by the invention is used for detecting the touch sensor to be detected, namely, carrying out secondary detection on the touch sensor in the touch screen to be detected, so as to improve the detection accuracy.
A first determining module 1002, 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, so that the difference degree of the first touch sensor and the second touch sensor can be determined.
A second determining module 1003, configured to determine an abnormal condition 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 determination unit for determining an absolute value of a difference between the first test value and the second test value;
a second determination unit for determining the first span value based on a ratio of the absolute value of the difference to the first test value.
For example, if 4 is the first test value and 6 is the second test value, 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 a ratio of the absolute value of the difference to the first test value, specifically, taking the absolute value of the difference as a dividend, taking the first test value as a divisor, and calculating to obtain a quotient as a first span value, that is, 2/4 obtains 0.5, where the first span value is 0.5; the absolute value of the difference may also be used as a dividend, the first test value is used as a divisor, and the percentage of quotient conversion obtained by calculation is used as a first span value, that is, 2/4 × 100% obtains 50%, and the first span value is 50% at this time, which is not specifically limited in this embodiment of the disclosure. Of course, 6 may be used as the first test value, 4 may be used as the second test value, and then 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 for detecting 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 greater than the preset span value.
Considering that the difference degree between two adjacent touch sensors is large, the user may have the situations of touch dislocation, touch insensibility and the like in the process of using the touch screen, and therefore, the difference degree between two adjacent touch sensors needs to be limited within a certain range to avoid the situations of touch dislocation, touch insensibility and the like of the touch screen. Specifically, the predetermined span value is determined based on the historical test data, and the two adjacent touch sensors do not cause the situations of touch dislocation, touch insensibility and the like of the touch screen when the difference degree corresponding to the predetermined span value exists.
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, it is determined that the first touch sensor and the second touch sensor are abnormal.
In yet another embodiment, the first determining module 1002 further comprises:
a fourth determination unit for determining a second span value based on a ratio of the absolute value of the difference to the second test value.
After the first span value is obtained through calculation, a second span value is further determined based on a ratio of an absolute value of a 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 is used as a divisor, and a quotient is obtained through calculation and is used as the second span value; the absolute value of the difference value can be used as a dividend, the second test value can be used as a divisor, the percentage of quotient conversion is calculated to be used as a second span value, and the like, as long as the type of the quotient conversion is consistent with that of the first span value.
For example, taking 6 as a first test value and 4 as a second test value, the first span value calculated is [ (| 6-4 |/6) × 100% ] -33.33%, and the second span value calculated is [ (| 4-6 |/4) × 100% ] -50%. Of course, if 4 is taken as the first test value and 6 as the second test value, the first span value calculated is [ (| 4-6 |/4) × 100% ] -50%, and the second span value calculated is [ (| 6-4|/6 × 100% ] -33.33%.
In yet another embodiment, the second determining module 1003 further includes:
the second detection unit is used for detecting whether the first span value is larger than the 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 greater than the preset span value; and comparing the second span value with the preset span value to judge whether the second span value is greater 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 both the first span value and the second span value are greater than the predetermined span value, it is determined that both the first touch sensor and the second touch sensor are abnormal, which is higher in accuracy than when the first span value is greater than the predetermined span value, it is determined that both the first touch sensor and the second touch sensor are abnormal.
Of course, when the abnormal conditions of the first touch sensor and the second touch sensor are actually determined, the abnormal conditions can be determined according to the above-mentioned manner, that is, when the first span value is greater than the predetermined span value, it is determined that the first touch sensor and the second touch sensor are abnormal; 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, in consideration of the fact that only one of the first span value and the second span value is greater than the predetermined span value, it may be determined that the first touch sensor is normal and the second touch sensor is abnormal when the first span value is greater than the predetermined span value and the second span value is less than the predetermined span value; and under the condition that the first span value is smaller than the preset span value and the second span value is larger than the preset span value, determining that the first touch sensor is abnormal and the second touch sensor is normal. Thus, the accuracy of detection can be improved.
In a specific implementation, a plurality of touch sensors may be simultaneously detected, for example, a first test value of a first touch sensor and a second test value of a plurality of second touch sensors are obtained, where each second touch sensor is adjacent to the first touch sensor, such as a cross shape, and further such as a return shape, etc.; as long as it is satisfied that the first touch sensor is adjacent to the second touch sensor.
In yet another embodiment, the detection apparatus further comprises:
the marking module 1004 is configured to mark the first touch sensor and the second touch sensor in the abnormal state, and display the marked first touch sensor and/or second touch sensor.
After all the 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, when the number of the abnormal touch sensors is larger than a preset threshold, it is determined 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 within a preset range; the embodiment of the present disclosure is not particularly limited to this.
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 the abnormal state 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 both abnormal, the areas corresponding to 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, an observer can easily distinguish a normal touch sensor from an abnormal touch sensor.
It should be noted that the color filled in the region corresponding to 4 and the color filled in the region corresponding to 6 may be the same or different; of course, other methods may be used for marking, for example, when the touch sensor corresponding to 6 is determined to be abnormal, marking "r" in the area corresponding to 6 is enough as long as the normal touch sensor can be distinguished from the abnormal touch sensor, and this is not particularly limited in the embodiment of the present disclosure.
The method and the device can effectively detect whether the adjacent touch sensors have large difference, avoid the condition that the touch screen is abnormal (for example, touch dislocation/touch cannot be sensed) due to the large difference 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, and when the computer program is executed by a processor, the computer program implements the method provided in any embodiment of the present disclosure, including the following steps:
s11, 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;
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;
and S13, determining the abnormal conditions of the first touch sensor and the second touch sensor based on the first span value.
When the computer program is executed by the processor to determine the first span value based on the first test value and the second test value, the processor specifically executes the following steps: determining the 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 the absolute value of the difference to the first test value.
When the computer program is executed by the processor to determine the abnormal conditions of the first touch sensor and the second touch sensor 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 determining that the first touch sensor and the second touch sensor are abnormal when the first span value is larger than the preset span value.
When the computer program is executed by the processor to judge the detection method, the processor also executes the following steps: a second span value is determined based on a ratio of the absolute value of the difference to the second test value.
When the computer program is executed by the processor to judge that the abnormal conditions of the first touch sensor and the second touch sensor are determined based on the first span value, the processor further executes the following steps: detecting whether the first span value is greater than a preset span value or not, and detecting whether the second span value is greater than the preset span value or not; 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 a preset span value.
When the computer program is executed by the processor to judge the detection method, the processor also executes the following steps: and marking the first touch sensor and the second touch sensor which are in the abnormal state, and displaying the marked first touch sensor and/or second touch sensor.
The method and the device can effectively detect whether the adjacent touch sensors have large difference, avoid the condition that the touch screen is abnormal (for example, touch dislocation/touch cannot be sensed) due to the large difference between the adjacent touch sensors, and further improve the accuracy of detection of the touch sensors.
It should be noted that the storage media described above in this disclosure can be computer readable signal media or computer readable storage media or any combination of the two. 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 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 present 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 contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any storage medium 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, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The fourth aspect of the present disclosure also provides an electronic device, as shown in fig. 11, the electronic device at least includes a memory 1101 and a processor 1102, the memory 1101 stores a computer program, and the processor 1102 realizes the method provided by any embodiment of the present disclosure when executing the computer program on the memory 1101. Illustratively, the method performed by the electronic device computer program is as follows:
s21, 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;
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;
and S23, determining the abnormal conditions of the first touch sensor and the second touch sensor based on the first span value.
The processor, in executing the first span value determined based on the first test value and the second test value stored on the memory, further executes the computer program: determining the 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 the absolute value of the difference to the first test value.
When the processor determines the abnormal condition of the first touch sensor and the second touch sensor based on the first span value, which is stored in the memory, the processor further executes the following computer program: 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 when the first span value is larger than the preset span value.
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.
When the processor determines the abnormal condition of the first touch sensor and the second touch sensor based on the first span value, which is stored in the memory, the processor further executes the following computer program: detecting whether the first span value is greater than a preset span value or not, and detecting whether the second span value is greater than the preset span value or not; 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 a preset span value.
The processor, when executing the detection method stored on the memory, also executes the following computer program: and marking the first touch sensor and the second touch sensor which are in the abnormal state, and displaying the marked first touch sensor and/or second touch sensor.
The method and the device can effectively detect whether the adjacent touch sensors have large difference, avoid the condition that the touch screen is abnormal (for example, touch dislocation/touch cannot be sensed) due to the large difference between the adjacent touch sensors, and further improve the accuracy of detection of the touch sensors.
The flowchart 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 exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by persons skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while 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. Under 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 limitations on the scope of the 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 disclosed as example forms of implementing the claims.
While the present disclosure has been described in detail with reference to the embodiments, the present disclosure is not limited to the specific embodiments, and those skilled in the art can make various modifications and alterations based on the concept of the present disclosure, and the modifications and alterations should fall within the scope of the present disclosure as claimed.

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 touch sensors 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;
determining an abnormal condition of the first touch sensor and the second touch sensor based on the first span value.
2. The detection method according to claim 1, wherein said determining a first span value based on said first test value and said second test value comprises:
determining an absolute value of a difference between the first test value and the second test value;
determining a first span value based on a ratio of an absolute value of the difference to the first test value.
3. The detection method according to claim 2, wherein the determining the 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 determining that the first touch sensor and the second touch sensor are abnormal when the first span value is larger than the preset span value.
4. The detection method according to claim 2, further comprising:
determining a second span value based on a ratio of an absolute value of the difference to the second test value.
5. The detection method according to claim 4, wherein the determining the 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 when the first span value and the second span value are both larger than the preset span value.
6. The detection method according to claim 1, further comprising:
and 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 test value obtained by the touch sensor based on the test signal is within a predetermined range.
8. A detection device, comprising:
the device comprises an acquisition module, a detection 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 touch sensors 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, wherein 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 the abnormal conditions of the first touch sensor and the second touch sensor based on the first span value.
9. A storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, performs the steps of the detection method according to any one 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 communicating via the bus when the electronic device is operating, 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 true CN112230794A (en) 2021-01-15
CN112230794B 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140146008A1 (en) * 2012-11-29 2014-05-29 Mitsubishi Electric Corporation Touch panel device
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140146008A1 (en) * 2012-11-29 2014-05-29 Mitsubishi Electric Corporation Touch panel device
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
CN112230794B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
EP1933228B1 (en) Coordinate input apparatus
EP2103957A1 (en) Construction of evidence grid from multiple sensor measurements
KR101729857B1 (en) Human detecting system and method
US20210116331A1 (en) Anomaly analysis method, program, and system
US20160100826A1 (en) Predicted menstruation start date calculation apparatus, program, and body analysis apparatus
GB2505018A (en) In-vehicle apparatus with plurality of sections each detecting an operation with a distortion detect element and can restrict malfunction caused by vibration.
EP3089107B1 (en) Computer program product and method for determining lesion similarity of medical image
CN110473333A (en) Detection method, detection device and the terminal of note number
CN112230794A (en) Detection method, detection device, storage medium and electronic equipment
US10773728B2 (en) Signal processing system and signal processing method for sensors of vehicle
US20160360418A1 (en) Unauthorized beacon detection
EP3370074B1 (en) Method for detecting background noise of sensor, and device thereof
US11176708B2 (en) Camera and method for checking an alignment of such a camera
US8483079B2 (en) Signal processing system, signal processing apparatus, signal processing program for test measurement
CN114550466B (en) Parking space state detection method and device and electronic equipment
JP2019021031A (en) Sensor system, radio terminal device, management device, management method and management program
CN114139622A (en) State monitoring method and device, electronic equipment and readable storage medium
WO2018061657A1 (en) Management device, management method, program
KR20200145042A (en) System and method for diagnosing safety of facility using rfid communication
JP2013242255A (en) Interference signal detection device and radar device
Mas’od et al. Development of Vehicle Speed Measurement Using Rfid
CN109617599B (en) Detection method and device of optical fiber signal conversion equipment and computer storage medium
JPWO2020059066A1 (en) Ground fault point locating device, ground fault point locating system, ground fault point locating method, program, recording medium
CN115953889B (en) Anti-disassembly function detection method, system, device, equipment and storage medium
CN113686513B (en) Liquid leakage positioning method and device and electronic equipment

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