CN108363507B - Touch screen dead zone compensation method and device, electronic equipment and storage medium - Google Patents

Touch screen dead zone compensation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN108363507B
CN108363507B CN201810026985.3A CN201810026985A CN108363507B CN 108363507 B CN108363507 B CN 108363507B CN 201810026985 A CN201810026985 A CN 201810026985A CN 108363507 B CN108363507 B CN 108363507B
Authority
CN
China
Prior art keywords
touch
dead zone
touched
capacitance value
report point
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
CN201810026985.3A
Other languages
Chinese (zh)
Other versions
CN108363507A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810026985.3A priority Critical patent/CN108363507B/en
Publication of CN108363507A publication Critical patent/CN108363507A/en
Application granted granted Critical
Publication of CN108363507B publication Critical patent/CN108363507B/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
    • 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/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

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)

Abstract

The invention discloses a method, a device, equipment and a storage medium for compensating a dead zone of a touch screen. The touch screen is a capacitive touch screen, the capacitive touch screen comprises a plurality of touch units, and the method comprises the following steps: when touch operation on the touch screen is monitored, touch data of a touch area corresponding to the touch operation are obtained, wherein the touch data comprise position coordinates of a plurality of touched touch units and capacitance values of the plurality of touched touch units; judging whether a dead zone exists in the touch area according to the touch data; if so, performing dead zone compensation according to the touch data to simulate a report point position, and performing report point output on the report point position obtained by simulation; if not, determining a target report point position from the touch area according to the touch data, and reporting the target report point position for outputting. The method can ensure the touch function of the touch screen without replacing the touch screen, and avoids the problems that the expense of a user and the use cost of the electronic equipment are increased due to the replacement of the touch screen.

Description

Touch screen dead zone compensation method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a method and an apparatus for compensating a dead zone of a touch screen, an electronic device, and a computer-readable storage medium.
Background
With the development of the technology, the popularization rate of electronic devices such as mobile phones and tablet computers is higher and higher, and the touch screen is used as a main component of the electronic device, and the quality of the touch performance directly affects the operation of a user on the screen of the electronic device.
At present, after a dead zone (which is a damaged area where a touch screen has no function) occurs on a touch screen, the dead zone cannot respond to a touch operation of a user, so that a touch screen IC cannot receive a report of the dead zone, and further, an electronic device cannot perform a corresponding response according to the touch operation of the user acting on the dead zone, thereby affecting the touch use of the user. In the prior art, aiming at the problems, a user can only ensure the touch performance of the screen of the electronic equipment by replacing the touch screen, and then the use experience of the user is met. However, this method of replacing the touch screen whenever the dead zone occurs on the touch screen increases the user's expenditure and increases the use cost of the electronic device.
Disclosure of Invention
The object of the present invention is to solve at least to some extent one of the above mentioned technical problems.
To this end, a first object of the present invention is to provide a method for compensating a dead zone of a touch screen. The method can enable the touch operation acting on the dead zone to be received by the system, so that the system can make corresponding response according to the touch operation, the touch function of the touch screen can be guaranteed without replacing the touch screen, and the problems that the expense of a user and the use cost of the electronic equipment are increased due to replacement of the touch screen are solved.
The second purpose of the invention is to provide a compensation device for dead zone of a touch screen.
A third object of the invention is to propose an electronic device.
A fourth object of the invention is to propose a computer-readable storage medium.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a method for compensating a dead zone of a touch screen, where the touch screen is a capacitive touch screen, and the capacitive touch screen includes a plurality of touch units, and the method includes: when touch operation on the touch screen is monitored, touch data of a touch area corresponding to the touch operation are acquired, wherein the touch data comprise position coordinates of a plurality of touched touch units and capacitance values of the plurality of touched touch units; judging whether a dead zone exists in the touch area according to the touch data, wherein the dead zone is used for indicating a damaged area without functions touched by the touch screen; if the touch area has dead zones, performing dead zone compensation according to the touch data to simulate a report point position, and outputting report points of the report point position obtained by simulation; and if the touch area does not have the dead zone, determining a target report point position from the touch area according to the touch data, and reporting the target report point position for outputting.
In order to achieve the above object, an embodiment of a second aspect of the present invention provides an apparatus for compensating a dead zone of a touch screen, where the touch screen is a capacitive touch screen, and the capacitive touch screen includes a plurality of touch units, the apparatus includes: the touch control device comprises an acquisition module, a detection module and a display module, wherein the acquisition module is used for acquiring touch data of a touch area corresponding to touch operation when the touch operation on the touch screen is monitored, and the touch data comprises position coordinates of a plurality of touched touch control units and capacitance values of the plurality of touched touch control units; the judging module is used for judging whether a dead zone exists in the touch area according to the touch data, wherein the dead zone is used for indicating a damaged area without functions touched by the touch screen; the dead zone compensation module is used for performing dead zone compensation according to the touch data when a dead zone exists in the touch area so as to simulate a report point position; the report point output module is used for carrying out report point output on the report point position obtained by simulation; the determining module is used for determining a target report point position from the touch area according to the touch data when the dead zone does not exist in the touch area; and the report point output module is also used for carrying out report point output on the target report point position.
In order to achieve the above object, an electronic device according to an embodiment of a third aspect of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method for compensating the dead zone of the touch screen according to the embodiment of the first aspect of the present invention when executing the computer program.
To achieve the above object, a non-transitory computer-readable storage medium according to a fourth embodiment of the present invention stores thereon a computer program, which when executed by a processor implements a method for compensating a dead zone of a touch screen according to the first embodiment of the present invention.
According to the method and device for compensating the dead zone of the touch screen, the electronic equipment and the storage medium, when the touch operation on the touch screen is monitored, touch data of a touch area corresponding to the touch operation are obtained, whether the dead zone exists in the touch area is judged according to the touch data, if yes, dead zone compensation is carried out according to the touch data to simulate a point reporting position, the point reporting position obtained through simulation is output, and if not, a target point reporting position is determined from the touch area according to the touch data, and the point reporting position is output. After the touch screen has the dead zone, the dead zone report point can be compensated according to the capacitance change of the touch units around the dead zone, the real touch position in the touch zone can be determined and output as the report point, and thus, the touch operation acting on the dead zone can be received by the system, the system can make corresponding response according to the touch operation, the touch function of the touch screen can be guaranteed without replacing the touch screen, the problem that the expense of a user and the use cost of electronic equipment are increased due to the replacement of the touch screen is avoided, and the use experience of the user is greatly improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow diagram of a method of compensating for a dead zone of a touch screen according to one embodiment of the invention;
FIG. 2 is a flow chart of dead zone compensation from touch data to simulate a touch point location according to an embodiment of the present invention;
FIG. 3 is a flow diagram of simulating a location of a touch point in a touch area, according to one embodiment of the invention;
fig. 4(a) is an exemplary diagram of touch screen data when there is a touch operation on a normal touch screen;
FIG. 4(b) is an exemplary diagram of touch screen data when there is a touch operation on a touch screen where there is a dead zone in accordance with one embodiment of the present invention;
FIG. 4(c) is an exemplary diagram of touch screen data when there is a touch operation on a touch screen where a dead zone exists according to another embodiment of the present invention;
FIG. 5 is a flow diagram of simulating a location of a touch point in a touch area according to another embodiment of the invention;
FIGS. 6(a) and 6(b) are exemplary diagrams of touch screen data during a touch operation after a column on the touch screen has become a dead zone, respectively;
FIGS. 7(a) and 7(b) are exemplary diagrams of touch screen data during a touch operation after a line on the touch screen becomes a dead zone, respectively;
FIG. 8 is a schematic diagram of a compensation apparatus for dead zones of a touch screen according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of an apparatus for compensating for a dead zone of a touch screen according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A method, an apparatus, an electronic device, and a computer-readable storage medium for compensating a dead zone of a touch screen according to embodiments of the present invention are described below with reference to the accompanying drawings.
FIG. 1 is a flow chart of a method of compensating for a dead zone of a touch screen according to one embodiment of the invention. It should be noted that the method for compensating the dead zone of the touch screen according to the embodiment of the present invention may be applied to the apparatus for compensating the dead zone of the touch screen according to the embodiment of the present invention, and the apparatus for compensating the dead zone of the touch screen may be configured on the electronic device according to the embodiment of the present invention. The electronic device may be a mobile terminal, for example, the mobile terminal may be a hardware device with various operating systems, such as a mobile phone, a tablet computer, and a personal digital assistant.
As shown in fig. 1, the method for compensating the dead zone of the touch screen may include:
s110, when a touch operation on the touch screen is monitored, touch data of a touch area corresponding to the touch operation are obtained, wherein the touch data comprise position coordinates of a plurality of touched touch units and capacitance values of the plurality of touched touch units.
It should be noted that, in the embodiment of the present invention, the touch screen may be a capacitive touch screen, and the capacitive touch screen may include a plurality of touch units. Therefore, whether touch operation exists on the touch screen can be judged by detecting whether the capacitance value of the touch unit changes. When the capacitance values of a plurality of touch units in the capacitive touch screen are judged to be changed, the touch operation on the touch screen can be monitored, and at the moment, the touch data of a touch area corresponding to the touch operation can be acquired.
And S120, judging whether a dead zone exists in the touch area according to the touch data, wherein the dead zone is used for indicating that the touch screen touches a damaged area without functions.
As an example, it may be determined whether there is a touch unit with unchanged capacitance value in the touch area according to the touch data, and if not, it is determined that there is no dead zone in the touch area; and if so, judging that the dead zone exists in the touch area.
That is to say, it can be determined whether the capacitance value of the touched touch unit in the touch area has not changed according to the touch data, if so, it can be determined that a dead zone exists in the touch area, otherwise, it can be determined that no dead zone exists in the touch area. The dead zone is understood to mean that when a user touches the area, the capacitance value of the area does not change, so that the system of the electronic device cannot feel the touch operation of the user through the area.
And S130, if the touch area has the dead zone, performing dead zone compensation according to the touch data to simulate the report point position, and outputting the report point position obtained by simulation.
Optionally, when it is determined that the touch area has the dead zone, the capacitance variation of the touch unit at the dead zone position may be simulated according to the capacitance variation of the touched touch unit around the dead zone in the touch data, so as to obtain a real touch position, and the touch position obtained through the simulation is used as a touch point position to perform touch point output.
As an example, as shown in fig. 2, the specific implementation of performing dead zone compensation according to touch data to simulate a report point position may include:
s210, determining the touched touch control unit with unchanged capacitance value according to the touch data; that is, it can be determined from the touch data which touched touch units have unchanged capacitance values.
S220, determining dead zones and non-dead zones in the touch area according to the touched touch unit with unchanged capacitance value;
optionally, a region of the touch region, where the capacitance value is unchanged, formed by the touched touch unit is used as a dead zone, and other regions of the touch region are used as non-dead zones.
S230, determining the shape of the dead zone;
that is, the shape of the dead zone may be determined according to the number of touched touch units in the dead zone and the distribution in the touch area. For example, the dead zone may be formed by a touched touch unit with unchanged capacitance; for another example, the dead zone is a row or a column of a plurality of touched touch units with unchanged capacitance values.
S240, simulating a report point position in the touch area according to the shape of the dead zone and the capacitance value of the touched touch unit in the non-dead zone.
Alternatively, the true touch position may be determined from the touch area according to the shape of the dead zone and the capacitance of the touched touch unit in the non-dead zone. In the embodiment of the present invention, the dead zone breakpoint compensation method may be different according to the shape of the dead zone. Referring to fig. 3 and 5 below, two different examples will be given to show how the location of a touch point in the touch area can be modeled according to the shape of a dead zone and the capacitance value of the touched touch unit in the non-dead zone.
As an example, as shown in fig. 3, the simulating the touch location in the touch area according to the shape of the dead zone and the capacitance value of the touched touch unit in the non-dead zone may include:
s2411, when the dead zone is formed by a touched touch unit with unchanged capacitance value, acquiring the maximum value and the second maximum value of the capacitance in the non-dead zone;
it can be understood that when a touch operation is performed on the touch screen, the capacitance value of the touch unit on the touch screen changes, and the touch screen IC can determine the specific position of the touch according to the magnitude of the change in the capacitance value of the touch unit, for example, the position of the touch unit with the largest change in capacitance value is generally taken as a touch point position, as shown in fig. 4(a), 20 × 18 touch screen data is obtained, the position where the capacitance value changes in the touch screen data is caused by the touch operation, and it can be known from the figure that the position (13, 8) of the touch unit corresponding to the capacitance value "399" is the actual touch position (i.e., the touch point position). However, when a touch screen fails and a certain touch unit becomes a dead zone, a specific touch position cannot be detected, and a correct touch position cannot be identified.
In this step, when the dead zone is formed by a touched touch unit with unchanged capacitance value, the maximum capacitance value and the second maximum capacitance value in the non-dead zone may be obtained first. For example, as shown in fig. 4(b) and 4(c), the touch unit with a capacitance value of 0 in the touch area in the figure is the dead zone (e.g., the circle area in the figure), and at this time, the maximum capacitance value and the second maximum capacitance value of the non-dead zone in the touch area may be obtained. For example, as shown in fig. 4(b), the maximum value and the second maximum value of the capacitance of the non-dead zone are "399" and "381", respectively, and as shown in fig. 4(c), the maximum value and the second maximum value of the capacitance of the non-dead zone are "381" and "318", respectively.
S2412, judging whether the touched touch control unit corresponding to the maximum capacitance value and the touched touch control unit corresponding to the second maximum capacitance value are in the same row or the same column;
s2413, if so, taking the position coordinate of the touched touch unit corresponding to the maximum capacitance value as a report point position;
that is, when the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second maximum capacitance value are in the same row or the same column, it can be considered that the dead zone is not the center of the touch area.
For example, as shown in fig. 4(a), when there is a touch operation on the touch screen, in the capacitance variation data of the normal touch unit, the capacitance variation at the center point (e.g., the position of coordinates (13, 8)) is the largest, and the peripheral capacitance variation decreases sequentially outward. When a touch screen fails to work and a certain touch unit becomes a dead zone, as shown in fig. 4(b), the touch unit at coordinates (12, 8) is a dead zone, and at this time, the touched touch unit corresponding to the maximum capacitance value ("399") in the non-dead zone and the touched touch unit corresponding to the second maximum capacitance value ("381") are in the same column, and at this time, the position of the touched touch unit corresponding to the maximum capacitance value may be a real touch position, and the position coordinate is taken as a touch point position.
S2414, if not, taking the position coordinates of the touched touch control unit corresponding to the dead zone as the report point position.
That is, when the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second maximum capacitance value are not in the same row and/or the same column, the position coordinate of the touched touch unit corresponding to the dead zone can be used as the report point position.
For example, as shown in fig. 4(c), the touch unit at coordinates (13, 8) is a dead zone, and at this time, the touched touch unit corresponding to the maximum capacitance value ("381") in the non-dead zone and the touched touch unit corresponding to the second largest capacitance value ("318") are in different columns and different rows, and at this time, the position of the touched touch unit corresponding to the dead zone can be taken as the real touch position, and the touch position coordinate can be taken as the touch point position.
Therefore, the real touch point position in the touch area is determined by judging whether the touched touch unit corresponding to the maximum capacitance value in the non-dead zone and the touched touch unit corresponding to the second maximum capacitance value are in the same row or the same column, so that even if the dead zone appears on the touch screen, the touch screen can output the report point on the dead zone to a system of the electronic equipment, the touch operation acting on the dead zone can not be influenced, and the touch function of the touch screen is ensured.
As another example, as shown in fig. 5, the specific implementation of simulating the touch location in the touch area according to the shape of the dead zone and the capacitance value of the touched touch unit in the non-dead zone may include:
s2421, when the dead zone is a row or a column formed by a plurality of touched touch units with unchanged capacitance values, acquiring the maximum capacitance value and the second maximum capacitance value in the non-dead zone;
for example, as shown in fig. 6(a) and 6(b), the dead zone is a column composed of a plurality of touch-touched units with unchanged capacitance values, and as shown in fig. 7(a) and 7(b), the dead zone is a row composed of a plurality of touch-touched units with unchanged capacitance values. At this time, the dead zone divides the touch area into three parts, namely: a dead zone and two non-dead zones, where the maximum and next maximum values of capacitance in these non-dead zones can be obtained. For example, as shown in fig. 6(a), the maximum value of capacitance and the second maximum value of capacitance in the non-dead zone are "399" and "381" in this order; as shown in fig. 6(b), the capacitance maximum value and the capacitance next largest value in the non-dead zone are "381" and "281" in this order; as shown in fig. 7(a), the maximum value of capacitance and the second maximum value of capacitance in the dead zone are "399" and "318" in this order; as shown in fig. 7(b), the capacitance maximum value and the capacitance next largest value in the dead zone are "381" and "272" in this order.
S2422, judging whether the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second maximum capacitance value are in the same non-dead zone;
s2423, if yes, taking the position coordinate of the touched touch unit corresponding to the maximum capacitance value as a report point position;
for example, taking the dead zone as a row of touched touch units with unchanged capacitance values as an example, as shown in fig. 6(a), it can be determined that the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second largest capacitance value are in the same non-dead zone, and at this time, the position coordinate of the touched touch unit corresponding to the maximum capacitance value can be used as the touch point position, that is, the position coordinate (13, 8) of the touch unit corresponding to the capacitance value "399" can be used as the touch point position.
For another example, taking the dead zone as a row composed of a plurality of touched touch units with unchanged capacitance values as an example, as shown in fig. 7(a), it can be determined that the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second largest capacitance value are in the same non-dead zone, and at this time, the position coordinate of the touched touch unit corresponding to the maximum capacitance value can be used as the touch point position, that is, the position coordinate (13, 8) of the touch unit corresponding to the capacitance value "399" can be used as the touch point position.
And S2424, if not, determining the report point position in the touch area according to the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second maximum capacitance value.
Optionally, when it is determined that the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second maximum capacitance value are not in the same non-dead zone, at this time, the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second maximum capacitance value may be used, and a position coordinate of the touch unit between the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second maximum capacitance value may be used as a touch point position of the touch area.
For example, taking the dead zone as a row of touched touch units with unchanged capacitance values as an example, as shown in fig. 6(b), the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second largest capacitance value can be determined to be in different non-dead zones, and in this case, the position coordinates (13, 8) of the touch units between the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second largest capacitance value can be used as the touch point position.
For another example, taking the dead zone as a row composed of a plurality of touched touch units with unchanged capacitance values as an example, as shown in fig. 7(b), it can be determined that the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the next largest capacitance value are in different non-dead zones, and at this time, the position coordinates (13, 8) of the touch units between the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the next largest capacitance value can be taken as the touch point position.
Therefore, the real touch point position in the touch area is determined by judging whether the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second maximum capacitance value in the touch data are in the same non-dead zone, so that even if a certain column or a certain row on the touch screen becomes a dead zone, the touch screen can output a report point on the dead zone to a system of the electronic equipment, the touch operation acting on the dead zone can not be influenced, and the touch function of the touch screen is ensured.
And S140, if the touch area does not have the dead zone, determining a target report point position from the touch area according to the touch data, and reporting the target report point position for outputting.
As an example, the touched touch unit with the largest capacitance value may be obtained from the touch data, and the position coordinate of the touched touch unit with the largest capacitance value may be determined as the target report point position. That is, when there is no dead zone in the touch area, it is considered that the capacitance value in the touch area changes normally, and in this case, the position coordinates of the touch unit corresponding to the maximum value of the capacitance in the touch area may be output as the hit point position of the touch area.
According to the compensation method for the dead zone of the touch screen, when the touch operation on the touch screen is monitored, touch data of a touch area corresponding to the touch operation are obtained, whether the dead zone exists in the touch area is judged according to the touch data, if yes, the dead zone compensation is carried out according to the touch data, a report point position is simulated, report point output is carried out on the report point position obtained through simulation, and if not, a target report point position is determined from the touch area according to the touch data, and the report point output is carried out on the target report point position. After the touch screen has the dead zone, the dead zone report point can be compensated according to the capacitance change of the touch units around the dead zone, the real touch position in the touch zone can be determined and output as the report point, and thus, the touch operation acting on the dead zone can be received by the system, the system can make corresponding response according to the touch operation, the touch function of the touch screen can be guaranteed without replacing the touch screen, the problem that the expense of a user and the use cost of electronic equipment are increased due to the replacement of the touch screen is avoided, and the use experience of the user is greatly improved.
Corresponding to the methods for compensating the dead zone of the touch screen provided in the foregoing embodiments, an embodiment of the present invention further provides a device for compensating the dead zone of the touch screen, and since the device for compensating the dead zone of the touch screen provided in the embodiment of the present invention corresponds to the methods for compensating the dead zone of the touch screen provided in the foregoing embodiments, the embodiments of the method for compensating the dead zone of the touch screen are also applicable to the device for compensating the dead zone of the touch screen provided in the present embodiment, and will not be described in detail in the present embodiment. Fig. 8 is a schematic structural diagram of an apparatus for compensating a dead zone of a touch screen according to an embodiment of the present invention. It should be noted that the compensation apparatus for the dead zone of the touch screen according to the embodiment of the present invention may be configured on the electronic device according to the embodiment of the present invention. The electronic device may be a mobile terminal, for example, the mobile terminal may be a hardware device with various operating systems, such as a mobile phone, a tablet computer, and a personal digital assistant. In addition, the touch screen may be a capacitive touch screen, which may include a plurality of touch units.
As shown in fig. 8, the apparatus 800 for compensating the dead zone of the touch screen may include: the system comprises an acquisition module 810, a determination module 820, a dead zone compensation module 830, a report output module 840, and a determination module 850.
Specifically, the obtaining module 810 may be configured to obtain touch data of a touch area corresponding to a touch operation when the touch operation on the touch screen is monitored, where the touch data includes position coordinates of a plurality of touched touch units and capacitance values of the plurality of touched touch units.
The judging module 820 is configured to judge whether a dead zone exists in the touch area according to the touch data, where the dead zone is used to indicate that the touch screen touches a damaged area without functions. As an example, the determining module 820 may determine whether there is a touch unit with unchanged capacitance value in the touch area according to the touch data, and if not, determine that there is no dead zone in the touch area; and if so, judging that the dead zone exists in the touch area.
The dead zone compensation module 830 is configured to perform dead zone compensation according to the touch data when a dead zone exists in the touch area, so as to simulate a touch point position. As an example, as shown in fig. 9, the dead zone compensation module 830 may include: a first determining unit 831, a second determining unit 832, a third determining unit 833 and a hit simulating unit 834. The first determining unit 831 is configured to determine, according to the touch data, a touched touch unit whose capacitance value is unchanged; the second determining unit 832 is configured to determine a dead zone and a non-dead zone in the touch area according to the touched touch unit with unchanged capacitance value; the third determination unit 833 is used to determine the shape of the dead zone; the touch point simulation unit 834 is configured to simulate a touch point position in the touch area according to the shape of the dead zone and the capacitance of the touched touch unit in the non-dead zone.
In the embodiment of the present invention, the dead zone breakpoint compensation method may be different according to the shape of the dead zone. Two different examples will be given below to show how the touch location in the touch area can be modeled according to the shape of the dead zone, and the capacitance value of the touched touch unit in the non-dead zone.
As an example, when the dead zone is formed by a touched touch unit with unchanged capacitance value, the touch point reporting simulation unit 834 acquires a maximum capacitance value and a second maximum capacitance value in a non-dead zone, and determines whether the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second maximum capacitance value are in the same row or the same column, if yes, the position coordinate of the touched touch unit corresponding to the maximum capacitance value is taken as the touch point reporting position; and if not, taking the position coordinate of the touched touch unit corresponding to the dead zone as the report point position.
As another example, when the dead zone is a row or a column composed of a plurality of touched touch units with unchanged capacitance values, the touch point reporting simulation unit 834 acquires a maximum capacitance value and a second maximum capacitance value in a non-dead zone, and determines whether the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second maximum capacitance value are in the same non-dead zone, if so, the position coordinate of the touched touch unit corresponding to the maximum capacitance value is taken as a touch point reporting position; if not, determining the report point position in the touch area according to the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second maximum capacitance value.
The report output module 840 is configured to perform report output on the report position obtained through simulation.
The determining module 850 is configured to determine a target hit point position from the touch area according to the touch data when there is no dead zone in the touch area. As an example, the determining module 850 obtains the touched touch unit with the largest capacitance value from the touch data, and determines the position coordinate of the touched touch unit with the largest capacitance value as the target report point position.
In an embodiment of the present invention, the report output module 840 is further configured to output a report of the target report position.
According to the compensation device for the dead zone of the touch screen, disclosed by the embodiment of the invention, when the touch operation on the touch screen is monitored by the acquisition module, the touch data of the touch area corresponding to the touch operation is acquired, the judgment module judges whether the dead zone exists in the touch area according to the touch data, if so, the dead zone compensation module performs dead zone compensation according to the touch data so as to simulate a report point position, the report point output module performs report point output on the report point position obtained by simulation, if not, the determination module determines a target report point position from the touch area according to the touch data, and the report point output module performs report point output on the target report point position. After the touch screen has the dead zone, the dead zone report point can be compensated according to the capacitance change of the touch units around the dead zone, the real touch position in the touch zone can be determined and output as the report point, and thus, the touch operation acting on the dead zone can be received by the system, the system can make corresponding response according to the touch operation, the touch function of the touch screen can be guaranteed without replacing the touch screen, the problem that the expense of a user and the use cost of electronic equipment are increased due to the replacement of the touch screen is avoided, and the use experience of the user is greatly improved.
In order to implement the above embodiments, the present invention further provides an electronic device.
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the invention. As shown in fig. 10, the electronic device 1000 may include: the memory 1010, the processor 1020, and the computer program 1030 stored in the memory 1010 and operable on the processor 1020, when the processor 1020 executes the program 1030, the method for compensating the dead zone of the touch screen according to any of the above-mentioned embodiments of the present invention is implemented.
In order to implement the above embodiments, the present invention further proposes a non-transitory computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method for compensating a dead zone of a touch screen according to any of the above embodiments of the present invention.
In the description of the present invention, it is to be understood that the terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A method for compensating a dead zone of a touch screen, wherein the touch screen is a capacitive touch screen comprising a plurality of touch units, the method comprising:
when touch operation on the touch screen is monitored, touch data of a touch area corresponding to the touch operation are acquired, wherein the touch data comprise position coordinates of a plurality of touched touch units and capacitance values of the plurality of touched touch units;
judging whether a dead zone exists in the touch area according to the touch data, wherein the dead zone is used for indicating a damaged area without functions touched by the touch screen;
if the touch area has dead zones, performing dead zone compensation according to the touch data to simulate a report point position, and outputting report points of the report point position obtained by simulation; wherein, the dead zone compensation is carried out according to the touch data to simulate the report point position, including:
determining the touched touch control unit with unchanged capacitance value according to the touch data;
determining dead zones and non-dead zones in the touch area according to the touched touch unit with unchanged capacitance value;
determining a shape of the dead zone;
simulating a report point position in the touch area according to the shape of the dead zone and the capacitance value of the touched touch unit in the non-dead zone; wherein the simulating a touch location in the touch area according to the shape of the dead zone and the capacitance of the touched touch unit in the non-dead zone comprises:
when the dead zone is formed by the touched touch unit of which the capacitance value is not changed, acquiring the maximum value and the second maximum value of the capacitance in the non-dead zone;
judging whether the touched touch control unit corresponding to the maximum capacitance value and the touched touch control unit corresponding to the second maximum capacitance value are in the same row or the same column;
if so, taking the position coordinate of the touched touch control unit corresponding to the maximum capacitance value as the report point position;
if not, taking the position coordinate of the touched touch control unit corresponding to the dead zone as the report point position;
and if the touch area does not have the dead zone, determining a target report point position from the touch area according to the touch data, and reporting the target report point position for outputting.
2. The method of claim 1, wherein the determining whether a dead zone exists in the touch area based on the touch data comprises:
judging whether a touch unit with unchanged capacitance value exists in the touch area according to the touch data;
if not, judging that no dead zone exists in the touch area;
and if so, judging that the dead zone exists in the touch area.
3. The method of claim 1, wherein simulating the location of the touch point in the touch area according to the shape of the dead zone and the capacitance of the touched touch unit in the non-dead zone comprises:
when the dead zone is a row or a column formed by a plurality of touched touch units with unchanged capacitance values, acquiring a maximum capacitance value and a second maximum capacitance value in the non-dead zone;
judging whether the touched touch control unit corresponding to the maximum capacitance value and the touched touch control unit corresponding to the second maximum capacitance value are in the same non-dead zone;
if so, taking the position coordinate of the touched touch control unit corresponding to the maximum capacitance value as the report point position;
if not, determining the report point position in the touch area according to the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second maximum capacitance value.
4. The method of claim 1, wherein determining a target touch point location from the touch area based on the touch data comprises:
acquiring the touched touch control unit with the largest capacitance value from the touch data;
determining the position coordinate of the touched touch control unit with the maximum capacitance value;
and determining the position coordinate of the touched touch control unit with the maximum capacitance value as the target report point position.
5. A compensation arrangement for a dead zone of a touch screen, the touch screen being a capacitive touch screen comprising a plurality of touch cells, the arrangement comprising:
the touch control device comprises an acquisition module, a detection module and a display module, wherein the acquisition module is used for acquiring touch data of a touch area corresponding to touch operation when the touch operation on the touch screen is monitored, and the touch data comprises position coordinates of a plurality of touched touch control units and capacitance values of the plurality of touched touch control units;
the judging module is used for judging whether a dead zone exists in the touch area according to the touch data, wherein the dead zone is used for indicating a damaged area without functions touched by the touch screen;
the dead zone compensation module is used for performing dead zone compensation according to the touch data when a dead zone exists in the touch area so as to simulate a report point position; wherein the dead band compensation module comprises:
the first determining unit is used for determining the touched touch control unit with unchanged capacitance value according to the touch data;
the second determining unit is used for determining dead zones and non-dead zones in the touch area according to the touched touch unit with unchanged capacitance value;
a third determination unit for determining a shape of the dead zone;
a touch area simulation unit for simulating a touch area; wherein, the report point simulation unit is specifically configured to:
when the dead zone is formed by the touched touch unit of which the capacitance value is not changed, acquiring the maximum value and the second maximum value of the capacitance in the non-dead zone;
judging whether the touched touch control unit corresponding to the maximum capacitance value and the touched touch control unit corresponding to the second maximum capacitance value are in the same row or the same column;
if so, taking the position coordinate of the touched touch control unit corresponding to the maximum capacitance value as the report point position;
if not, taking the position coordinate of the touched touch control unit corresponding to the dead zone as the report point position;
the report point output module is used for carrying out report point output on the report point position obtained by simulation;
the determining module is used for determining a target report point position from the touch area according to the touch data when the dead zone does not exist in the touch area;
and the report point output module is also used for carrying out report point output on the target report point position.
6. The apparatus of claim 5, wherein the determining module is specifically configured to:
judging whether a touch unit with unchanged capacitance value exists in the touch area according to the touch data;
if not, judging that no dead zone exists in the touch area;
and if so, judging that the dead zone exists in the touch area.
7. The apparatus of claim 5, wherein the reward point simulation unit is specifically configured to:
when the dead zone is a row or a column formed by a plurality of touched touch units with unchanged capacitance values, acquiring a maximum capacitance value and a second maximum capacitance value in the non-dead zone;
judging whether the touched touch control unit corresponding to the maximum capacitance value and the touched touch control unit corresponding to the second maximum capacitance value are in the same non-dead zone;
if so, taking the position coordinate of the touched touch control unit corresponding to the maximum capacitance value as the report point position;
if not, determining the report point position in the touch area according to the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second maximum capacitance value.
8. The apparatus of claim 5, wherein the determination module is specifically configured to:
acquiring the touched touch control unit with the largest capacitance value from the touch data;
determining the position coordinate of the touched touch control unit with the maximum capacitance value;
and determining the position coordinate of the touched touch control unit with the maximum capacitance value as the target report point position.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the program, implements a method of compensating for a dead zone of a touch screen as claimed in any one of claims 1 to 4.
10. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements a method of compensating for a dead zone of a touch screen as recited in any of claims 1 to 4.
CN201810026985.3A 2018-01-11 2018-01-11 Touch screen dead zone compensation method and device, electronic equipment and storage medium Active CN108363507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810026985.3A CN108363507B (en) 2018-01-11 2018-01-11 Touch screen dead zone compensation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810026985.3A CN108363507B (en) 2018-01-11 2018-01-11 Touch screen dead zone compensation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108363507A CN108363507A (en) 2018-08-03
CN108363507B true CN108363507B (en) 2020-06-05

Family

ID=63010984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810026985.3A Active CN108363507B (en) 2018-01-11 2018-01-11 Touch screen dead zone compensation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108363507B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112394825A (en) * 2019-08-19 2021-02-23 北京小米移动软件有限公司 Method and device for calibrating capacitive touch module and storage medium
CN110737357A (en) * 2019-09-02 2020-01-31 Oppo(重庆)智能科技有限公司 touch screen point reporting method, terminal and storage medium
CN112099663B (en) * 2020-08-25 2023-08-08 无锡小天鹅电器有限公司 Touch screen control method, touch screen, storage medium and household appliance
CN114461090B (en) * 2021-07-23 2023-01-06 荣耀终端有限公司 Touch data processing method, keyboard, equipment, chip and readable storage medium
CN117742531B (en) * 2024-02-20 2024-05-07 广东视安通实业有限公司 High-precision multi-touch capacitive touch screen and etching process thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103608755A (en) * 2011-06-16 2014-02-26 索尼公司 Information processing device, information processing method, and program
CN104063097A (en) * 2013-03-21 2014-09-24 联咏科技股份有限公司 Touch-control device and touch-control detecting method thereof
CN104102374A (en) * 2013-04-12 2014-10-15 义隆电子股份有限公司 Touch device and edge nonlinear compensation method thereof
US9386259B2 (en) * 2010-09-15 2016-07-05 Seiko Epson Corporation Projection display apparatus and method of controlling the same
CN106951132A (en) * 2017-02-27 2017-07-14 合肥京东方光电科技有限公司 Report point determination method, device, touch-screen and the terminal of capacitive touch screen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9874974B2 (en) * 2016-04-08 2018-01-23 Stmicroelectronics Asia Pacific Pte Ltd Dead zone compensation for touch screens

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9386259B2 (en) * 2010-09-15 2016-07-05 Seiko Epson Corporation Projection display apparatus and method of controlling the same
CN103608755A (en) * 2011-06-16 2014-02-26 索尼公司 Information processing device, information processing method, and program
CN104063097A (en) * 2013-03-21 2014-09-24 联咏科技股份有限公司 Touch-control device and touch-control detecting method thereof
CN104102374A (en) * 2013-04-12 2014-10-15 义隆电子股份有限公司 Touch device and edge nonlinear compensation method thereof
CN106951132A (en) * 2017-02-27 2017-07-14 合肥京东方光电科技有限公司 Report point determination method, device, touch-screen and the terminal of capacitive touch screen

Also Published As

Publication number Publication date
CN108363507A (en) 2018-08-03

Similar Documents

Publication Publication Date Title
CN108363507B (en) Touch screen dead zone compensation method and device, electronic equipment and storage medium
CN107506073B (en) Touch screen detection method and device, mobile terminal and computer readable storage medium
CN108089813B (en) Touch screen scribing operation processing method and device, electronic equipment and storage medium
CN107832190B (en) Diagnosis method for power consumption abnormity, mobile terminal and storage medium
CN106250257B (en) Static recovery method and mobile terminal
CN105339877A (en) Finger detection on touch screens for mobile devices
US10712870B2 (en) Method for improving fault tolerance of touchscreen and touchscreen terminal
CN103577658A (en) Method and system for evaluating intelligent terminal hardware
CN113253878B (en) Touch screen report point determining method and device, electronic equipment and storage medium
CN107317853B (en) Method, device and system for displaying dynamic effect of message popup window
CN111083271B (en) Wearing detection method, system, equipment and computer readable storage medium
CN107562473B (en) Application program display method and mobile terminal
CN106325699B (en) Application program starting method and device
CN111596802A (en) Touch screen calibration method and device and computer readable storage medium
US10228792B2 (en) Touch determining device and method, and display device
CN108759892A (en) Sensor calibrating method, electronic device and computer readable storage medium
CN111080544B (en) Face distortion correction method and device based on image and electronic equipment
US20140368438A1 (en) Test system and method for testing keys of virtual keypad
CN107506067B (en) Method and device for debugging working frequency of touch screen and terminal equipment
CN105045484B (en) Operation processing method and electronic equipment
CN110658935A (en) Data detection method and device, storage medium and touch device
CN111629266B (en) Playing progress display method and device, electronic equipment and storage medium
CN106980402B (en) Method and device for judging reset calibration and terminal
CN109408179B (en) Method and device for determining comprehensive screen of terminal equipment
KR20210014992A (en) Electronic device for predicting faulty and method for controlling electronic device thereof

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant