[go: up one dir, main page]

CN108363507B - Compensation method, device, electronic device and storage medium for touch screen dead zone - Google Patents

Compensation method, device, electronic device and storage medium for touch screen dead zone 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
capacitance 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.)
Expired - Fee Related
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
Expired - Fee Related 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

本发明公开了一种触摸屏死区的补偿方法、装置、设备和存储介质。其中,该触摸屏为电容式触摸屏,所述电容式触摸屏包括多个触控单,该方法包括:当监测到触摸屏上有触摸操作时,获取触摸操作对应的触摸区域的触摸数据,其中,触摸数据包括多个被触摸触控单元的位置坐标和多个被触摸触控单元的电容值;根据触摸数据判断触摸区域中是否存在有死区;若是,则根据触摸数据进行死区补偿,以模拟出报点位置,并将模拟得到的报点位置进行报点输出;若否,则根据触摸数据从触摸区域中确定目标报点位置,并将目标报点位置进行报点输出。该方法无需更换该触摸屏也可保障触摸屏的触摸功能,避免了更换触摸屏而增大用户的支出和电子设备的使用成本的问题。

Figure 201810026985

The invention discloses a compensation method, device, equipment and storage medium for the dead zone of a touch screen. The touch screen is a capacitive touch screen, and the capacitive touch screen includes a plurality of touch panels. The method includes: when a touch operation is detected on the touch screen, acquiring touch data of a touch area corresponding to the touch operation, wherein the touch data Including the position coordinates of the multiple touched touch units and the capacitance values of the multiple touched touch units; according to the touch data, it is judged whether there is a dead zone in the touch area; if so, the dead zone compensation is performed according to the touch data to simulate the report point position, and report the point point position obtained by simulation; if not, determine the target point point position from the touch area according to the touch data, and output the target point point position. The method can also ensure the touch function of the touch screen without replacing the touch screen, and avoids the problem of increasing the user's expenditure and the use cost of the electronic equipment due to the replacement of the touch screen.

Figure 201810026985

Description

触摸屏死区的补偿方法、装置、电子设备和存储介质Compensation method, device, electronic device and storage medium for touch screen dead zone

技术领域technical field

本发明涉及电子设备技术领域,尤其涉及一种触摸屏死区的补偿方法、装置、电子设备和计算机可读存储介质。The present invention relates to the technical field of electronic devices, and in particular, to a compensation method, device, electronic device and computer-readable storage medium for a dead zone of a touch screen.

背景技术Background technique

随着技术的发展,手机、平板电脑等电子设备的普及率越来越高,触摸屏作为电子设备的主要部件,其触摸性能的好坏直接影响用户对电子设备的屏幕的操作。With the development of technology, the penetration rate of electronic devices such as mobile phones and tablet computers is getting higher and higher. As the main component of electronic devices, touch screens directly affect the user's operation on the screen of electronic devices.

目前,在触摸屏出现死区(是指触摸屏触摸没有功能的损坏区域)之后,该死区无法响应用户的触摸操作,使得触摸屏IC无法接收到该死区的报点,进而使得电子设备无法根据用户作用在该死区的触摸操作进行相应的响应,从而影响用户的触摸使用。现有技术中,针对上述问题,用户仅能通过更换触摸屏的方式来保证电子设备屏幕的触摸性能,进而满足用户自身的使用体验。然而,这种每当触摸屏出现死区就要更换触摸屏的方式,会增大用户的支出,提高电子设备的使用成本。At present, after the touch screen has a dead zone (meaning that the touch screen touches a damaged area that has no function), the dead zone cannot respond to the user's touch operation, so that the touch screen IC cannot receive the report of the dead zone. The touch operation in the dead zone responds accordingly, thereby affecting the user's touch usage. In the prior art, in view of the above problems, the user can only ensure the touch performance of the screen of the electronic device by replacing the touch screen, thereby satisfying the user's own use experience. However, this method of replacing the touch screen whenever a dead zone occurs on the touch screen will increase the user's expenditure and increase the use cost of the electronic device.

发明内容SUMMARY OF THE INVENTION

本发明的目的旨在至少在一定程度上解决上述的技术问题之一。The purpose of the present invention is to solve one of the above-mentioned technical problems at least to a certain extent.

为此,本发明的第一个目的在于提出一种触摸屏死区的补偿方法。该方法可以使得作用在死区的触摸操作也可被系统接收到,进而系统可以根据该触摸操作做出相应的响应,无需更换该触摸屏也可保障触摸屏的触摸功能,避免了更换触摸屏而增大用户的支出和电子设备的使用成本的问题。Therefore, the first objective of the present invention is to provide a compensation method for the dead zone of a touch screen. The method can make the touch operation acting on the dead zone also received by the system, and then the system can make a corresponding response according to the touch operation, the touch function of the touch screen can be guaranteed without replacing the touch screen, and the increase of the touch screen can be avoided by replacing the touch screen. The problem of user expenditure and the use cost of electronic equipment.

本发明的第二个目的在于提出一种触摸屏死区的补偿装置。The second object of the present invention is to provide a compensation device for a dead zone of a touch screen.

本发明的第三个目的在于提出一种电子设备。The third object of the present invention is to provide an electronic device.

本发明的第四个目的在于提出一种计算机可读存储介质。A fourth object of the present invention is to provide a computer-readable storage medium.

为达到上述目的,本发明第一方面实施例提出的触摸屏死区的补偿方法,所述触摸屏为电容式触摸屏,所述电容式触摸屏包括多个触控单元,所述方法包括:当监测到所述触摸屏上有触摸操作时,获取所述触摸操作对应的触摸区域的触摸数据,其中,所述触摸数据包括多个被触摸触控单元的位置坐标和所述多个被触摸触控单元的电容值;根据所述触摸数据判断所述触摸区域中是否存在有死区,其中,所述死区用于指示触摸屏触摸没有功能的损坏区域;如果所述触摸区域中存在有死区,则根据所述触摸数据进行死区补偿,以模拟出报点位置,并将模拟得到的报点位置进行报点输出;如果所述触摸区域中不存在有死区,则根据所述触摸数据从所述触摸区域中确定目标报点位置,并将所述目标报点位置进行报点输出。In order to achieve the above object, a method for compensating a dead zone of a touch screen proposed by an embodiment of the first aspect of the present invention, the touch screen is a capacitive touch screen, and the capacitive touch screen includes a plurality of touch units, and the method includes: when monitoring all When there is a touch operation on the touch screen, the touch data of the touch area corresponding to the touch operation is acquired, wherein the touch data includes the position coordinates of a plurality of touched touch units and capacitances of the plurality of touched touch units value; according to the touch data, determine whether there is a dead zone in the touch area, where the dead zone is used to indicate that the touch screen touches a damaged area with no function; if there is a dead zone in the touch area, according to the The touch data carries out dead zone compensation to simulate the reported point position, and the reported point position obtained by simulation is reported and output; if there is no dead zone in the touch area, then according to the touch data from the touch In the area, the target report point position is determined, and the target report point position is reported and output.

为达到上述目的,本发明第二方面实施例提出的触摸屏死区的补偿装置,所述触摸屏为电容式触摸屏,所述电容式触摸屏包括多个触控单元,所述装置包括:获取模块,用于在监测到所述触摸屏上有触摸操作时,获取所述触摸操作对应的触摸区域的触摸数据,其中,所述触摸数据包括多个被触摸触控单元的位置坐标和所述多个被触摸触控单元的电容值;判断模块,用于根据所述触摸数据判断所述触摸区域中是否存在有死区,其中,所述死区用于指示触摸屏触摸没有功能的损坏区域;死区补偿模块,用于在所述触摸区域中存在有死区时,根据所述触摸数据进行死区补偿,以模拟出报点位置;报点输出模块,用于将模拟得到的报点位置进行报点输出;确定模块,用于在所述触摸区域中不存在有死区时,根据所述触摸数据从所述触摸区域中确定目标报点位置;其中,所述报点输出模块,还用于将所述目标报点位置进行报点输出。In order to achieve the above object, the touch screen dead zone compensation device proposed by the embodiment of the second aspect of the present invention is a capacitive touch screen, and the capacitive touch screen includes a plurality of touch units, and the device includes: an acquisition module for When a touch operation is detected on the touch screen, touch data of the touch area corresponding to the touch operation is acquired, wherein the touch data includes the position coordinates of a plurality of touched touch units and the plurality of touched touch units. The capacitance value of the touch unit; the judgment module is used for judging whether there is a dead zone in the touch area according to the touch data, wherein the dead zone is used to indicate that the touch screen touches a damaged area with no function; the dead zone compensation module , for when there is a dead zone in the touch area, dead zone compensation is performed according to the touch data to simulate the reported point position; the reported point output module is used to report the point output from the simulated reported point position A determination module for determining a target report point position from the touch area according to the touch data when there is no dead zone in the touch area; wherein, the report point output module is also used for According to the target report point position, report point output.

为达到上述目的,本发明第三方面实施例提出的电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时,实现本发明第一方面实施例所述的触摸屏死区的补偿方法。In order to achieve the above purpose, the electronic device proposed by the embodiment of the third aspect of the present invention includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor executes the program , the compensation method for the dead zone of the touch screen according to the embodiment of the first aspect of the present invention is implemented.

为达到上述目的,本发明第四方面实施例提出的非临时性计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现本发明第一方面实施例所述的触摸屏死区的补偿方法。In order to achieve the above purpose, the non-transitory computer-readable storage medium proposed by the embodiment of the fourth aspect of the present invention stores a computer program thereon, and when the program is executed by the processor, the touch screen according to the embodiment of the first aspect of the present invention is implemented Compensation method for dead zone.

根据本发明实施例的触摸屏死区的补偿方法、装置、电子设备和存储介质,在监测到触摸屏上有触摸操作时,获取触摸操作对应的触摸区域的触摸数据,并根据触摸数据判断触摸区域中是否存在有死区,若是,则根据触摸数据进行死区补偿,以模拟出报点位置,并将模拟得到的报点位置进行报点输出,若否,则根据触摸数据从触摸区域中确定目标报点位置,并将目标报点位置进行报点输出。即在触摸屏出现死区之后,可根据死区周围的触控单元电容变化来对该死区报点进行补偿,可以确定出该触摸区域中的真实触摸位置并作为报点进行输出,这样,使得作用在该死区的触摸操作也可被系统接收到,进而系统可以根据该触摸操作做出相应的响应,无需更换该触摸屏也可保障触摸屏的触摸功能,避免了更换触摸屏而增大用户的支出和电子设备的使用成本的问题,大大提升了用户的使用体验。According to the method, device, electronic device and storage medium for compensating the dead zone of the touch screen according to the embodiments of the present invention, when a touch operation is detected on the touch screen, the touch data of the touch area corresponding to the touch operation is acquired, and the touch area in the touch area is determined according to the touch data. Whether there is a dead zone, if so, perform dead zone compensation according to the touch data to simulate the position of the report point, and output the point of the report point obtained by the simulation; if not, determine the target from the touch area according to the touch data Report the point position, and report the target point position and output it. That is, after a dead zone occurs on the touch screen, the dead zone report point can be compensated according to the capacitance change of the touch unit around the dead zone, and the real touch position in the touch area can be determined and output as a report point, so that the effect of The touch operation in the dead zone can also be received by the system, and then the system can respond accordingly according to the touch operation, the touch function of the touch screen can be guaranteed without replacing the touch screen, and the user's expenditure and electronic The cost of using the equipment greatly improves the user experience.

本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the present invention will be set forth, in part, from the following description, and in part will be apparent from the following description, or may be learned by practice of the invention.

附图说明Description of drawings

本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of embodiments taken in conjunction with the accompanying drawings, wherein:

图1是根据本发明一个实施例的触摸屏死区的补偿方法的流程图;1 is a flowchart of a compensation method for a dead zone of a touch screen according to an embodiment of the present invention;

图2是根据本发明实施例的根据触摸数据进行死区补偿以模拟出报点位置的流程图;FIG. 2 is a flow chart of performing dead zone compensation according to touch data to simulate the position of an alarm point according to an embodiment of the present invention;

图3是根据本发明一个实施例的模拟触摸区域中的报点位置的流程图;FIG. 3 is a flow chart of announcing point positions in a simulated touch area according to an embodiment of the present invention;

图4(a)是正常触摸屏上存在有触摸操作时的触摸屏数据的示例图;Figure 4(a) is an example diagram of touch screen data when there is a touch operation on a normal touch screen;

图4(b)是根据本发明一个实施例的存在有死区的触摸屏上有触摸操作时的触摸屏数据的示例图;FIG. 4(b) is an exemplary diagram of touch screen data when there is a touch operation on a touch screen with a dead zone according to an embodiment of the present invention;

图4(c)是根据本发明另一个实施例的存在有死区的触摸屏上有触摸操作时的触摸屏数据的示例图;4(c) is an exemplary diagram of touch screen data when there is a touch operation on a touch screen with dead zone according to another embodiment of the present invention;

图5是根据本发明另一个实施例的模拟触摸区域中的报点位置的流程图;5 is a flow chart of announcing point positions in a simulated touch area according to another embodiment of the present invention;

图6(a)和图6(b)分别是触摸屏上某一列变成死区后触摸操作时的触摸屏数据的示例图;Fig. 6 (a) and Fig. 6 (b) are respectively the example diagrams of the touch screen data when a certain column on the touch screen becomes a dead zone when a touch operation is performed;

图7(a)和图7(b)分别是触摸屏上某一行变成死区后触摸操作时的触摸屏数据的示例图;Fig. 7 (a) and Fig. 7 (b) are respectively the example diagrams of the touch screen data when a certain row on the touch screen becomes a dead zone when a touch operation is performed;

图8是根据本发明一个实施例的触摸屏死区的补偿装置的结构示意图;8 is a schematic structural diagram of a device for compensating a dead zone of a touch screen according to an embodiment of the present invention;

图9是根据本发明一个具体实施例的触摸屏死区的补偿装置的结构示意图;9 is a schematic structural diagram of a device for compensating a dead zone of a touch screen according to a specific embodiment of the present invention;

图10是根据本发明一个实施例的电子设备的结构示意图。FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。The following describes in detail the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to explain the present invention and should not be construed as limiting the present invention.

下面参考附图描述本发明实施例的触摸屏死区的补偿方法、装置、电子设备和计算机可读存储介质。The following describes a method, an apparatus, an electronic device, and a computer-readable storage medium for compensating for a dead zone of a touch screen according to the embodiments of the present invention with reference to the accompanying drawings.

图1是根据本发明一个实施例的触摸屏死区的补偿方法的流程图。需要说明的是,本发明实施例的触摸屏死区的补偿方法可应用于本发明实施例的触摸屏死区的补偿装置,该触摸屏死区的补偿装置可被配置于本发明实施例的电子设备上。其中,该电子设备可以是移动终端,例如,该移动终端可以是手机、平板电脑、个人数字助理等具有各种操作系统的硬件设备。FIG. 1 is a flowchart of a compensation method for a dead zone of a touch screen according to an embodiment of the present 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 can 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 can be configured on the electronic device of 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.

如图1所示,该触摸屏死区的补偿方法可以包括:As shown in FIG. 1 , the compensation method for the dead zone of the touch screen may include:

S110,当监测到触摸屏上有触摸操作时,获取触摸操作对应的触摸区域的触摸数据,其中,触摸数据包括多个被触摸触控单元的位置坐标和多个被触摸触控单元的电容值。S110, when a touch operation is detected on the touch screen, acquire touch data of a touch area corresponding to the touch operation, wherein the touch data includes position coordinates of multiple touched touch units and capacitance values of multiple 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. In this way, it can be determined whether there is a touch operation on the touch screen by detecting whether the capacitance value of the touch unit changes. When it is determined that the capacitance values of multiple touch units in the capacitive touch screen have changed, it can be monitored that there is a touch operation on the touch screen, and at this time, the touch data of the touch area corresponding to the touch operation can be acquired.

S120,根据触摸数据判断触摸区域中是否存在有死区,其中,死区用于指示触摸屏触摸没有功能的损坏区域。S120: Determine whether there is a dead zone 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 with no function.

作为一种示例,可根据所述触摸数据判断所述触摸区域中是否存在有电容值未发生变化的触控单元,若不存在,则判定所述触摸区域中不存在有死区;若存在,则判定所述触摸区域中存在有死区。As an example, it can be determined whether there is a touch unit whose capacitance value has not changed 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; Then it is determined that there is a dead zone in the touch area.

也就是说,可根据所述触摸数据来判断该触摸区域中是否存在有被触摸触控单元的电容值未发生变化,若存在,则可判定该触摸区域中存在有死区,否则可判定该触摸区域中不存在有死区。其中,该死区即可理解为用户触摸在该区域时,该区域的电容值不会发生变化,导致电子设备的系统不能通过该区域感受到用户的触摸操作。That is to say, according to the touch data, it can be judged whether there is a capacitance value of the touched touch unit in the touch area that has not changed. If so, it can be judged that there is a dead zone in the touch area; There is no dead zone in the touch area. The dead zone can be understood as the capacitance value of the area will not change when the user touches the area, so that the system of the electronic device cannot sense the user's touch operation through the area.

S130,如果触摸区域中存在有死区,则根据触摸数据进行死区补偿,以模拟出报点位置,并将模拟得到的报点位置进行报点输出。S130 , if there is a dead zone in the touch area, perform dead zone compensation according to the touch data to simulate the reported point position, and output the reported point position obtained by the simulation.

可选地,在判断所述触摸区域中存在有死区时,可根据所述触摸数据中死区周围的被触摸触控单元电容值变化,来模拟出死区位置的触控单元的电容变化量,从而得到真实的触摸位置,并将该模拟得到的触摸位置作为报点位置进行报点输出。Optionally, when it is determined that there is a dead zone in the touch area, the capacitance change of the touch unit at the dead zone position can be simulated according to the change in the capacitance value of the touched touch unit around the dead zone in the touch data. The real touch position is obtained, and the touch position obtained by the simulation is used as the reported point position for reporting point output.

作为一种示例,如图2所示,所述根据触摸数据进行死区补偿,以模拟出报点位置的具体实现方式可包括:As an example, as shown in FIG. 2 , a specific implementation manner of performing dead zone compensation according to touch data to simulate the position of the reported point may include:

S210,根据所述触摸数据,确定出电容值未发生变化的所述被触摸触控单元;也就是说,可从所述触摸数据中,确定出哪些被触摸触控单元的电容值未发生变化。S210 , according to the touch data, determine the touched touch units whose capacitance values have not changed; that is, from the touch data, it can be determined that the capacitance values of the touched touch units have not changed. .

S220,根据所述电容值未发生变化的所述被触摸触控单元,确定出所述触摸区域中的死区和非死区;S220: Determine a dead zone and a non-dead zone in the touch area according to the touched touch unit whose capacitance value does not change;

可选地,将所述触摸区域中,所述电容值未发生变化的所述被触摸触控单元所组成的区域作为死区,并将所述触摸区域的其他区域作为非死区。Optionally, in the touch area, the area formed by the touched touch-control units where the capacitance value does not change is used as a dead area, and other areas of the touch area are used as a non-dead area.

S230,确定所述死区的形状;S230, determine the shape of the dead zone;

也就是说,可根据死区中的被触摸触控单元的个数以及在所述触摸区域中的分布情况,来确定该死区的形状。例如,死区可由一个电容值未发生变化的被触摸触控单元构成;又如,死区是由多个电容值未发生变化的被触摸触控单元组成的一行或一列。That is to say, the shape of the dead zone can 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 whose capacitance value does not change; in another example, the dead zone may be a row or a column formed by a plurality of touched touch units whose capacitance value does not change.

S240,根据所述死区的形状、和所述非死区中的所述被触摸触控单元的电容值,模拟出所述触摸区域中的报点位置。S240, according to the shape of the dead zone and the capacitance value of the touched touch unit in the non-dead zone, simulate the position of announcing point in the touch area.

可选地,可根据该死区的形状、和该非死区中被触摸触控单元的电容值,从该触摸区域中确定出真实的触摸位置。在本发明的实施例中,可根据死区的形状的不同,所采用的死区报点补偿的方式也会不同。参见下面图3和图5所示,将给出两个不同的示例以示出如何根据死区的形状、和所述非死区中的所述被触摸触控单元的电容值,模拟出所述触摸区域中的报点位置。Optionally, the real touch position can be determined from 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. In the embodiment of the present invention, according to the different shapes of the dead zone, the adopted dead zone reporting compensation methods are also different. Referring to Figures 3 and 5 below, two different examples will be given to show how to simulate the shape of the dead zone and the capacitance value of the touched touch unit in the non-dead zone. Announcement position in the touch area described above.

作为一种示例,如图3所示,所述根据死区的形状、和所述非死区中的所述被触摸触控单元的电容值,模拟出所述触摸区域中的报点位置的具体实现方式可包括:As an example, as shown in FIG. 3 , according to the shape of the dead zone and the capacitance value of the touched touch unit in the non-dead zone, simulate the position of the reported point in the touch area. Specific implementations may include:

S2411,当死区是由一个电容值未发生变化的被触摸触控单元构成时,获取非死区中的电容最大值和电容次大值;S2411, when the dead zone is formed by a touched touch unit whose capacitance value has not changed, obtain the maximum value of the capacitance and the second maximum value of the capacitance in the non-dead zone;

可以理解,在触摸屏上有触摸操作时,触摸屏上的触控单元的电容值会发生变化,触摸屏IC可根据触控单元电容值变化大小来确定触摸的具体位置,例如,一般取电容值变化最大的触控单元的位置作为报点位置,如图4(a)所示,为一个20*18的触摸屏数据,该触摸屏数据中电容值发生变化的地方即为由于触摸操作导致的,由图可知,电容值“399”所对应的触控单元的位置(13,8)即为真实的触摸位置(即为报点位置)。但是,当触摸屏发生故障,导致某个触控单元变成死区时,无法检测到触摸的具体位置,此时无法识别正确的触摸位置。It can be understood that when there is a touch operation on the touch screen, the capacitance value of the touch unit on the touch screen will change, and the touch screen IC can determine the specific position of the touch according to the change in the capacitance value of the touch unit. For example, generally take the capacitance value with the largest change. The position of the touch unit is used as the reporting point position, as shown in Figure 4(a), which is a 20*18 touch screen data. The place where the capacitance value changes in the touch screen data is caused by the touch operation. As can be seen from the figure , the position (13, 8) of the touch unit corresponding to the capacitance value "399" is the real touch position (ie, the reported point position). However, when the touch screen fails, causing a certain touch unit to become a dead zone, the specific position of the touch cannot be detected, and the correct touch position cannot be identified at this time.

在本步骤中,当该死区是由一个电容值未发生变化的被触摸触控单元构成时,可先获取非死区中的电容最大值和电容次大值。例如,如图4(b)和图4(c)所示,图中触摸区域中电容值为0的触控单元即为死区(如图中的圆圈区域),此时,可获取该触摸区域中非死区的电容最大值和电容次大值。比如,如图4(b)所示,该图中非死区的电容最大值和电容次大值分别为“399”、“381”,如图4(c)所示,该图中非死区的电容最大值和电容次大值分别为“381”、“318”。In this step, when the dead zone is formed by a touched touch unit whose capacitance value does not change, the maximum value of the capacitance and the second maximum value of the capacitance in the non-dead zone can be obtained first. For example, as shown in Figure 4(b) and Figure 4(c), the touch unit with a capacitance value of 0 in the touch area in the figure is the dead zone (the circle area in the figure). At this time, the touch can be acquired The maximum value of capacitance and the second largest value of capacitance in the non-dead zone in the region. For example, as shown in Figure 4(b), the maximum value of the capacitance and the second maximum value of the capacitance in the non-dead zone in this figure are "399" and "381" respectively. As shown in Figure 4(c), the non-dead zone in this figure is The maximum value of capacitance and the second maximum value of capacitance in the area are "381" and "318", respectively.

S2412,判断电容最大值对应的被触摸触控单元和电容次大值对应的被触摸触控单元,是否处于同一行或同一列;S2412, determine whether 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 row or column;

S2413,若是,则将电容最大值对应的被触摸触控单元的位置坐标作为报点位置;S2413, if yes, use the position coordinate of the touched touch unit corresponding to the maximum capacitance value as the reported point position;

也就是说,当电容最大值对应的被触摸触控单元和电容次大值对应的被触摸触控单元处于同一行或同一列时,可认为该死区并非是该触摸区域的中心位置。That is to say, when the touched touch unit corresponding to the largest capacitance value and the touched touch unit corresponding to the next largest capacitance value are in the same row or column, it can be considered that the dead zone is not the center of the touch area.

例如,如图4(a)所示,当触摸屏上有触摸操作时,在正常触控单元的电容变化数据中,中心点位置(如坐标(13,8)的位置)的电容值变化量最大,外围电容变化量会向外依次减小。当触摸屏发生故障,导致某个触控单元变成死区时,如图4(b)所示,坐标(12,8)处的触控单元为死区,此时,该非死区中的电容最大值(“399”)对应的被触摸触控单元和电容次大值(“381”)对应的被触摸触控单元处于同一列,此时,可将该电容最大值对应的被触摸触控单元的位置即为真实的触摸位置,并将该位置坐标作为报点位置。For example, as shown in Figure 4(a), when there is a touch operation on the touch screen, in the capacitance change data of the normal touch unit, the capacitance value of the center point position (such as the position of coordinates (13, 8)) has the largest change in capacitance , the peripheral capacitance changes will decrease in turn outward. When the touch screen fails, causing a touch unit to become a dead zone, as shown in Figure 4(b), the touch unit at coordinates (12, 8) is a dead zone. At this time, the touch unit in the non-dead zone The touched touch unit corresponding to the maximum capacitance value (“399”) and the touched touch unit corresponding to the next largest capacitance value (“381”) are in the same column. At this time, the touched touch unit corresponding to the capacitance maximum value can be The position of the control unit is the real touch position, and the position coordinates are used as the reported point position.

S2414,若否,则将死区对应的被触摸触控单元的位置坐标作为报点位置。S2414, if not, use the position coordinates of the touched touch unit corresponding to the dead zone as the reported point position.

也就是说,当电容最大值对应的被触摸触控单元和电容次大值对应的被触摸触控单元未处于同一行和/或同一列时,可将该死区对应的被触摸触控单元的位置坐标作为报点位置。That is to say, when the touched touch unit corresponding to the largest capacitance value and the touched touch unit corresponding to the next largest capacitance value are not located in the same row and/or the same column, the touch sensitive unit corresponding to the dead zone can be touched. The position coordinates are used as the reported point position.

例如,如图4(c)所示,坐标(13,8)处的触控单元为死区,此时,该非死区中的电容最大值(“381”)对应的被触摸触控单元和电容次大值(“318”)对应的被触摸触控单元处于不同列和不同行,此时,可将该死区对应的被触摸触控单元的位置作为真实的触摸位置,并将该触摸位置坐标作为报点位置。For example, as shown in Figure 4(c), the touch unit at coordinates (13, 8) is a dead zone. At this time, the touch unit corresponding to the maximum capacitance value (“381”) in the non-dead zone corresponds to the touch unit being touched. The touched touch unit corresponding to the next largest capacitance value (“318”) is in a different column and row. At this time, the position of the touched touch unit corresponding to the dead zone can be regarded as the real touch position, and the touch The position coordinates are used as the reported point position.

由此,通过判断非死区中电容最大值对应的被触摸触控单元和电容次大值对应的被触摸触控单元,是否处于同一行或同一列,来确定出该触摸区域中的真实的触摸点位置,这样,即使触摸屏上出现死区后,触摸屏也可向电子设备的系统输出该死区上的报点,可以使得作用在该死区上的触摸操作不受影响,保障了触摸屏的触摸功能。Therefore, by judging whether the touched touch unit corresponding to the largest capacitance value in the non-dead area and the touched touch unit corresponding to the next largest capacitance value are in the same row or column, the real touch area in the touch area is determined. Touch the position of the point, so that even after a dead zone appears on the touch screen, the touch screen can output the report point on the dead zone to the system of the electronic device, so that the touch operation acting on the dead zone is not affected, and the touch function of the touch screen is guaranteed. .

作为另一种示例,如图5所示,所述根据死区的形状、和所述非死区中的所述被触摸触控单元的电容值,模拟出所述触摸区域中的报点位置的具体实现方式可包括:As another example, as shown in FIG. 5 , according to the shape of the dead zone and the capacitance value of the touched touch unit in the non-dead zone, the position of the reporting point in the touch area is simulated The specific implementation can include:

S2421,当死区是由多个电容值未发生变化的被触摸触控单元组成的一行或一列时,获取非死区中的电容最大值和电容次大值;S2421, when the dead zone is a row or a column composed of a plurality of touched touch units whose capacitance values have not changed, obtain the maximum value of the capacitance and the second maximum value of the capacitance in the non-dead zone;

例如,如图6(a)和图6(b)所示,为该死区是由多个电容值未发生变化的被触摸触控单元组成的一列,如图7(a)和图7(b)所示,分别为该死区是由多个电容值未发生变化的被触摸触控单元组成的一行。此时,该死区会将该触摸区域分成三个部分,即:一个死区和两个非死区,此时可获取这些非死区中的电容最大值和电容次大值。比如,如图6(a)所示,该非死区中的电容最大值和电容次大值依次为“399”和“381”;如图6(b)所示,该非死区中的电容最大值和电容次大值依次为“381”和“281”;如图7(a)所示,该死区中的电容最大值和电容次大值依次为“399”和“318”;如图7(b)所示,该死区中的电容最大值和电容次大值依次为“381”和“272”。For example, as shown in Fig. 6(a) and Fig. 6(b), the dead zone is a column composed of a plurality of touched touch units whose capacitance values do not change, as shown in Fig. 7(a) and Fig. 7(b) ), respectively, the dead zone is a row composed of a plurality of touched touch units whose capacitance values do not change. At this time, the dead zone will divide the touch area into three parts, namely: one dead zone and two non-dead zones, and at this time, the maximum value of capacitance and the next largest value 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 sequence; as shown in Fig. 6(b), The maximum value of capacitance and the second maximum value of capacitance are "381" and "281" in turn; as shown in Figure 7(a), the maximum value of capacitance and the second maximum value of capacitance in this dead zone are "399" and "318" in turn; As shown in Fig. 7(b), the maximum value of the capacitance and the second maximum value of the capacitance in the dead zone are "381" and "272" in turn.

S2422,判断电容最大值对应的被触摸触控单元和电容次大值对应的被触摸触控单元,是否处于同一个非死区;S2422, determine whether the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the next largest capacitance value are in the same non-dead zone;

S2423,若是,则将电容最大值对应的被触摸触控单元的位置坐标作为报点位置;S2423, if yes, use the position coordinate of the touched touch unit corresponding to the maximum capacitance value as the reported point position;

例如,以死区是由多个电容值未发生变化的被触摸触控单元组成的一列为例,如图6(a)所示,可判断该电容最大值对应的被触摸触控单元和电容次大值对应的被触摸触控单元处于同一个非死区,此时,可将该电容最大值对应的被触摸触控单元的位置坐标作为报点位置,即可将电容值“399”对应的触控单元的位置坐标(13,8)作为所述报点位置。For example, taking the dead zone as an example of a row composed of a plurality of touched touch units whose capacitance values have not changed, as shown in Figure 6(a), it can be determined that the touched touch unit and the capacitance corresponding to the maximum capacitance value The touched touch unit corresponding to the next largest value is in the same non-dead zone. At this time, the position coordinate of the touched touch unit corresponding to the maximum capacitance value can be used as the reported point position, and the capacitance value "399" can be corresponding to The position coordinates (13, 8) of the touch control unit are used as the reported point position.

又如,以死区是由多个电容值未发生变化的被触摸触控单元组成的一行为例,如图7(a)所示,可判断该电容最大值对应的被触摸触控单元和电容次大值对应的被触摸触控单元处于同一个非死区,此时,可将该电容最大值对应的被触摸触控单元的位置坐标作为报点位置,即可将电容值“399”对应的触控单元的位置坐标(13,8)作为所述报点位置。For another example, taking the dead zone as an example of a row composed of a plurality of touched touch units whose capacitance values have not changed, as shown in Figure 7(a), it can be determined that the touched touch unit corresponding to the maximum capacitance value is the same as the touch unit. The touched touch unit corresponding to the second largest value of the capacitance is in the same non-dead zone. At this time, the position coordinate of the touched touch unit corresponding to the largest value of the capacitance can be used as the reported point position, and the capacitance value can be set to "399" The position coordinates (13, 8) of the corresponding touch unit are used as the reported point position.

S2424,若否,则根据电容最大值对应的被触摸触控单元和电容次大值对应的被触摸触控单元,确定出触摸区域中的报点位置。S2424 , if not, determine the reported 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 next largest 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 next largest capacitance value are not in the same non-dead zone, at this time, the touch control unit corresponding to the maximum capacitance value can be determined. The touch control unit and the touched touch unit corresponding to the second largest capacitance value are touched, and the position coordinates of the touch unit between the two are used as the reported point position of the touch area.

例如,以死区是由多个电容值未发生变化的被触摸触控单元组成的一列为例,如图6(b)所示,可判断该电容最大值对应的被触摸触控单元和电容次大值对应的被触摸触控单元处于不同非死区,此时,可将该电容最大值对应的被触摸触控单元和电容次大值对应的被触摸触控单元,之间的触控单元的位置坐标(13,8)作为所述报点位置。For example, taking the dead zone as an example of a column composed of a plurality of touched touch units whose capacitance values have not changed, as shown in Figure 6(b), it can be determined that the touched touch unit and the capacitance corresponding to the maximum capacitance value The touched touch unit corresponding to the second largest value is in a different non-dead zone. In this case, the touch touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second largest value of the capacitance can be touched. The position coordinates (13, 8) of the unit are used as the reported point position.

又如,以死区是由多个电容值未发生变化的被触摸触控单元组成的一行为例,如图7(b)所示,可判断该电容最大值对应的被触摸触控单元和电容次大值对应的被触摸触控单元处于不同非死区,此时,可将该电容最大值对应的被触摸触控单元和电容次大值对应的被触摸触控单元,之间的触控单元的位置坐标(13,8)作为所述报点位置。For another example, taking the dead zone as an example of a row consisting of a plurality of touched touch units whose capacitance values have not changed, as shown in Figure 7(b), it can be determined that the touched touch unit corresponding to the maximum capacitance value and the The touched touch unit corresponding to the second largest capacitance value is in a different non-dead zone. In this case, the touch touch unit corresponding to the largest capacitance value and the touched touch unit corresponding to the next largest capacitance value can be touched. The position coordinates (13, 8) of the control unit are used as the reported point position.

由此,通过判断触摸数据中电容最大值对应的被触摸触控单元和电容次大值对应的被触摸触控单元,是否处于同一个非死区,来确定出该触摸区域中的真实的触摸点位置,这样,即使触摸屏上某列或某行变成死区之后,触摸屏也可向电子设备的系统输出该死区上的报点,可以使得作用在该死区上的触摸操作不受影响,保障了触摸屏的触摸功能。Therefore, the real touch in the touch area is determined by judging whether the touched touch unit corresponding to the largest capacitance value in the touch data and the touched touch unit corresponding to the next largest capacitance value are in the same non-dead zone. In this way, even after a certain column or row on the touch screen becomes a dead zone, the touch screen can output the report point on the dead zone to the system of the electronic device, so that the touch operation acting on the dead zone is not affected, ensuring that The touch function of the touch screen is enabled.

S140,如果触摸区域中不存在有死区,则根据触摸数据从触摸区域中确定目标报点位置,并将目标报点位置进行报点输出。S140, if there is no dead zone in the touch area, determine the target report point position from the touch area according to the touch data, and output the target report point position.

作为一种示例,可从所述触摸数据中,获取电容值最大的所述被触摸触控单元,并确定所述电容值最大的所述被触摸触控单元的位置坐标,并将所述电容值最大的所述被触摸触控单元的位置坐标,确定为所述目标报点位置。也就是说,在所述触摸区域中不存在有死区时,可认为该触摸区域中的电容值变化正常,此时,可将该触摸区域中的电容最大值对应的触摸触控单元的位置坐标,作为该触摸区域的报点位置进行输出。As an example, the touched touch unit with the largest capacitance value may be obtained from the touch data, the position coordinates of the touched touch unit with the largest capacitance value may be determined, and the capacitance The position coordinate of the touched touch unit with the largest value is determined as the target reporting point position. That is to say, when there is no dead zone in the touch area, it can be considered that the capacitance value in the touch area changes normally, and at this time, the position of the touch unit corresponding to the maximum capacitance in the touch area can be touched. The coordinates are output as the reported point position of the touch area.

根据本发明实施例的触摸屏死区的补偿方法,在监测到触摸屏上有触摸操作时,获取触摸操作对应的触摸区域的触摸数据,并根据触摸数据判断触摸区域中是否存在有死区,若是,则根据触摸数据进行死区补偿,以模拟出报点位置,并将模拟得到的报点位置进行报点输出,若否,则根据触摸数据从触摸区域中确定目标报点位置,并将目标报点位置进行报点输出。即在触摸屏出现死区之后,可根据死区周围的触控单元电容变化来对该死区报点进行补偿,可以确定出该触摸区域中的真实触摸位置并作为报点进行输出,这样,使得作用在该死区的触摸操作也可被系统接收到,进而系统可以根据该触摸操作做出相应的响应,无需更换该触摸屏也可保障触摸屏的触摸功能,避免了更换触摸屏而增大用户的支出和电子设备的使用成本的问题,大大提升了用户的使用体验。According to the compensation method for the dead zone of the touch screen according to the embodiment of the present invention, when a touch operation is detected on the touch screen, the touch data of the touch area corresponding to the touch operation is obtained, and whether there is a dead zone in the touch area is judged according to the touch data, and if so, Then carry out dead zone compensation according to the touch data to simulate the position of the reported point, and output the reported point obtained by the simulation. Point position for reporting point output. That is, after a dead zone occurs on the touch screen, the dead zone report point can be compensated according to the capacitance change of the touch unit around the dead zone, and the real touch position in the touch area can be determined and output as a report point, so that the effect of The touch operation in the dead zone can also be received by the system, and then the system can respond accordingly according to the touch operation, the touch function of the touch screen can be guaranteed without replacing the touch screen, and the user's expenditure and electronic The cost of using the equipment greatly improves the user experience.

与上述几种实施例提供的触摸屏死区的补偿方法相对应,本发明的一种实施例还提供一种触摸屏死区的补偿装置,由于本发明实施例提供的触摸屏死区的补偿装置与上述几种实施例提供的触摸屏死区的补偿方法相对应,因此在前述触摸屏死区的补偿方法的实施方式也适用于本实施例提供的触摸屏死区的补偿装置,在本实施例中不再详细描述。图8是根据本发明一个实施例的触摸屏死区的补偿装置的结构示意图。需要说明的是,本发明实施例的触摸屏死区的补偿装置可被配置于本发明实施例的电子设备上。其中,该电子设备可以是移动终端,例如,该移动终端可以是手机、平板电脑、个人数字助理等具有各种操作系统的硬件设备。此外,所述触摸屏可为电容式触摸屏,该电容式触摸屏可包括多个触控单元。Corresponding to the compensation methods for the dead zone of the touch screen provided by the above-mentioned embodiments, an embodiment of the present invention further provides a compensation device for the dead zone of the touch screen. The compensation methods for the dead zone of the touch screen provided in several embodiments correspond to each other. Therefore, the foregoing embodiments of the compensation method for the dead zone of the touch screen are also applicable to the compensation device for the dead zone of the touch screen provided in this embodiment, which is not detailed in this embodiment. describe. FIG. 8 is a schematic structural diagram of a device for compensating dead zones of a touch screen according to an embodiment of the present invention. It should be noted that the device for compensating the dead zone of the touch screen in the embodiment of the present invention may be configured on the electronic device in 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, and the capacitive touch screen may include a plurality of touch units.

如图8所示,该触摸屏死区的补偿装置800可以包括:获取模块810、判断模块820、死区补偿模块830、报点输出模块840和确定模块850。As shown in FIG. 8 , the touch screen dead zone compensation device 800 may include: an acquisition module 810 , a judgment module 820 , a dead zone compensation module 830 , a report point output module 840 and a determination module 850 .

具体地,获取模块810可用于在监测到触摸屏上有触摸操作时,获取触摸操作对应的触摸区域的触摸数据,其中,触摸数据包括多个被触摸触控单元的位置坐标和多个被触摸触控单元的电容值。Specifically, the acquisition module 810 can be configured to acquire touch data of the touch area corresponding to the touch operation when a touch operation is detected on the touch screen, wherein the touch data includes the position coordinates of a plurality of touched touch units and a plurality of touched touch units. Capacitance value of the control unit.

判断模块820用于根据触摸数据判断触摸区域中是否存在有死区,其中,所述死区用于指示触摸屏触摸没有功能的损坏区域。作为一种示例,判断模块820可根据所述触摸数据判断所述触摸区域中是否存在有电容值未发生变化的触控单元,若不存在,则判定所述触摸区域中不存在有死区;若存在,则判定所述触摸区域中存在有死区。The judgment module 820 is configured to judge whether there is a dead zone in the touch area according to the touch data, wherein the dead zone is used to indicate that the touch screen touches a damaged area with no function. As an example, the determination module 820 may determine whether there is a touch unit whose capacitance value does not change in the touch area according to the touch data, and if not, determine that there is no dead zone in the touch area; If there is, it is determined that there is a dead zone in the touch area.

死区补偿模块830用于在触摸区域中存在有死区时,根据触摸数据进行死区补偿,以模拟出报点位置。作为一种示例,如图9所示,死区补偿模块830可包括:第一确定单元831、第二确定单元832、第三确定单元833和报点模拟单元834。其中,第一确定单元831用于根据触摸数据,确定出电容值未发生变化的被触摸触控单元;第二确定单元832用于根据电容值未发生变化的被触摸触控单元,确定出触摸区域中的死区和非死区;第三确定单元833用于确定死区的形状;报点模拟单元834用于根据死区的形状、和非死区中的被触摸触控单元的电容值,模拟出触摸区域中的报点位置。The dead zone compensation module 830 is configured to perform dead zone compensation according to the touch data when there is a dead zone in the touch area, so as to simulate the position of the reporting point. As an example, as shown in FIG. 9 , the dead zone compensation module 830 may include: a first determination unit 831 , a second determination unit 832 , a third determination unit 833 , and an alarm point simulation unit 834 . Wherein, the first determination unit 831 is used to determine the touched touch unit whose capacitance value has not changed according to the touch data; the second determination unit 832 is used to determine the touched touch unit whose capacitance value has not changed according to the touch touch unit. Dead zone and non-dead zone in the area; the third determination unit 833 is used to determine the shape of the dead zone; the reporting point simulation unit 834 is used to determine the shape of the dead zone and the capacitance value of the touched touch unit in the non-dead zone , simulating the position of announcing point in the touch area.

在本发明的实施例中,可根据死区的形状的不同,所采用的死区报点补偿的方式也会不同。下面将给出两个不同的示例以示出如何根据死区的形状、和所述非死区中的所述被触摸触控单元的电容值,模拟出所述触摸区域中的报点位置。In the embodiment of the present invention, according to the different shapes of the dead zone, the adopted dead zone reporting compensation methods are also different. Two different examples will be given below to illustrate how to simulate the position of the touch point 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.

作为一种示例,报点模拟单元834在死区是由一个电容值未发生变化的被触摸触控单元构成时,获取非死区中的电容最大值和电容次大值,并判断电容最大值对应的被触摸触控单元和电容次大值对应的被触摸触控单元,是否处于同一行或同一列,若是,则将电容最大值对应的被触摸触控单元的位置坐标作为报点位置;若否,则将死区对应的被触摸触控单元的位置坐标作为报点位置。As an example, when the dead zone is formed by a touched touch unit whose capacitance value does not change, the alarm point simulation unit 834 obtains the maximum value of the capacitance and the next largest value of the capacitance in the non-dead zone, and determines the maximum value of the capacitance Whether the corresponding touched touch unit and the touched touch unit corresponding to the second largest capacitance value are in the same row or the same column, if so, use the position coordinates of the touched touch unit corresponding to the maximum capacitance value as the reported point position; If not, the position coordinate of the touched touch unit corresponding to the dead zone is used as the reported point position.

作为另一种示例,报点模拟单元834在死区是由多个电容值未发生变化的被触摸触控单元组成的一行或一列时,获取非死区中的电容最大值和电容次大值,并判断电容最大值对应的被触摸触控单元和电容次大值对应的被触摸触控单元,是否处于同一个非死区,若是,则将电容最大值对应的被触摸触控单元的位置坐标作为报点位置;若否,则根据电容最大值对应的被触摸触控单元和电容次大值对应的被触摸触控单元,确定出触摸区域中的报点位置。As another example, when the dead zone is a row or a column composed of a plurality of touched touch units whose capacitance values have not changed, the alarm point simulation unit 834 obtains the maximum value of the capacitance and the next largest value of the capacitance in the non-dead zone , and determine whether the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the next largest capacitance value are in the same non-dead zone, and if so, determine the position of the touched touch unit corresponding to the maximum capacitance value The coordinates are used as the reported point position; if not, the reported point position in the touch area is determined according to the touched touch unit corresponding to the maximum capacitance value and the touched touch unit corresponding to the second largest capacitance value.

报点输出模块840用于将模拟得到的报点位置进行报点输出。The reporting point output module 840 is used for reporting the point reporting position obtained by the simulation.

确定模块850用于在触摸区域中不存在有死区时,根据触摸数据从触摸区域中确定目标报点位置。作为一种示例,确定模块850从触摸数据中,获取电容值最大的被触摸触控单元,并确定电容值最大的被触摸触控单元的位置坐标,并将电容值最大的被触摸触控单元的位置坐标,确定为目标报点位置。The determining module 850 is configured to determine the position of the target reporting point 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, determines the position coordinates of the touched touch unit with the largest capacitance value, and assigns the touched touch unit with the largest capacitance value The position coordinates are determined as the target reporting point position.

其中,在本发明的实施例中,报点输出模块840还用于将目标报点位置进行报点输出。Wherein, in the embodiment of the present invention, the reporting point output module 840 is further configured to perform reporting point outputting of the target reporting point position.

根据本发明实施例的触摸屏死区的补偿装置,可通过获取模块在监测到触摸屏上有触摸操作时,获取触摸操作对应的触摸区域的触摸数据,判断模块根据触摸数据判断触摸区域中是否存在有死区,若是,死区补偿模块则根据触摸数据进行死区补偿,以模拟出报点位置,报点输出模块将模拟得到的报点位置进行报点输出,若否,确定模块则根据触摸数据从触摸区域中确定目标报点位置,报点输出模块将目标报点位置进行报点输出。即在触摸屏出现死区之后,可根据死区周围的触控单元电容变化来对该死区报点进行补偿,可以确定出该触摸区域中的真实触摸位置并作为报点进行输出,这样,使得作用在该死区的触摸操作也可被系统接收到,进而系统可以根据该触摸操作做出相应的响应,无需更换该触摸屏也可保障触摸屏的触摸功能,避免了更换触摸屏而增大用户的支出和电子设备的使用成本的问题,大大提升了用户的使用体验。According to the device for compensating the dead zone of the touch screen according to the embodiment of the present invention, when a touch operation is detected on the touch screen, the acquisition module can acquire the touch data of the touch area corresponding to the touch operation, and the judgment module can judge whether there is a touch area in the touch area according to the touch data. Dead zone, if it is, the dead zone compensation module will perform dead zone compensation according to the touch data to simulate the position of the report point, and the report point output module will output the signal point position obtained by the simulation, if not, determine the module according to the touch data. The position of the target report point is determined from the touch area, and the report point output module outputs the target report point position. That is, after a dead zone occurs on the touch screen, the dead zone report point can be compensated according to the capacitance change of the touch unit around the dead zone, and the real touch position in the touch area can be determined and output as a report point, so that the effect of The touch operation in the dead zone can also be received by the system, and then the system can respond accordingly according to the touch operation, the touch function of the touch screen can be guaranteed without replacing the touch screen, and the user's expenditure and electronic The cost of using the equipment greatly improves the user experience.

为了实现上述实施例,本发明还提出了一种电子设备。In order to realize the above embodiments, the present invention also provides an electronic device.

图10是根据本发明一个实施例的电子设备的结构示意图。如图10所示,该电子设备1000可以包括:存储器1010、处理器1020及存储在存储器1010上并可在处理器1020上运行的计算机程序1030,处理器1020执行所述程序1030时,实现本发明上述任一个实施例所述的触摸屏死区的补偿方法。FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 10 , the electronic device 1000 may include: a memory 1010, a processor 1020, and a computer program 1030 stored in the memory 1010 and running on the processor 1020. When the processor 1020 executes the program 1030, the present invention is realized. The compensation method for the dead zone of the touch screen according to any one of the above embodiments is invented.

为了实现上述实施例,本发明还提出了一种非临时性计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现本发明上述任一个实施例所述的触摸屏死区的补偿方法。In order to realize the above embodiments, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the touch screen dead described in any of the above embodiments of the present invention is realized. area compensation method.

在本发明的描述中,需要理解的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In the description of the present invention, it should be understood that the terms "first" and "second" are only used for description purposes, and cannot be interpreted as indicating or implying relative importance or the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically defined.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed 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, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any description of a process or method in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing a specified logical function or step of the process , and the scope of the preferred embodiments of the invention includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present invention belong.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in flowcharts or otherwise described herein, for example, may be considered an ordered listing of executable instructions for implementing the logical functions, may be embodied in any computer-readable medium, For use with, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from and execute instructions from an instruction execution system, apparatus, or apparatus) or equipment. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport the program for use by or in conjunction with an instruction execution system, apparatus, or apparatus. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections with one or more wiring (electronic devices), portable computer disk cartridges (magnetic devices), random access memory (RAM), Read Only Memory (ROM), Erasable Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program may be printed, as the paper or other medium may be optically scanned, for example, followed by editing, interpretation, or other suitable medium as necessary process to obtain the program electronically and then store it in computer memory.

应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention may be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, 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, it can be implemented by any one or a combination of the following techniques known in the art: Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those skilled in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the program can be stored in a computer-readable storage medium. When executed, one or a combination of the steps of the method embodiment is included.

此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically alone, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present invention have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and should not be construed as limiting the present invention. Embodiments are subject to variations, modifications, substitutions and variations.

Claims (10)

1.一种触摸屏死区的补偿方法,所述触摸屏为电容式触摸屏,所述电容式触摸屏包括多个触控单元,其特征在于,所述方法包括:1. A compensation method for a dead zone of a touch screen, wherein the touch screen is a capacitive touch screen, and the capacitive touch screen comprises a plurality of touch units, wherein the method comprises: 当监测到所述触摸屏上有触摸操作时,获取所述触摸操作对应的触摸区域的触摸数据,其中,所述触摸数据包括多个被触摸触控单元的位置坐标和所述多个被触摸触控单元的电容值;When a touch operation is detected on the touch screen, touch data of the touch area corresponding to the touch operation is acquired, wherein the touch data includes the position coordinates of a plurality of touched touch units and the plurality of touched touch units. Capacitance value of the control unit; 根据所述触摸数据判断所述触摸区域中是否存在有死区,其中,所述死区用于指示触摸屏触摸没有功能的损坏区域;Determine whether there is a dead zone in the touch area according to the touch data, wherein the dead zone is used to indicate that the touch screen touches a damaged area with no function; 如果所述触摸区域中存在有死区,则根据所述触摸数据进行死区补偿,以模拟出报点位置,并将模拟得到的报点位置进行报点输出;其中,所述根据触摸数据进行死区补偿,以模拟出报点位置,包括:If there is a dead zone in the touch area, the dead zone compensation is performed according to the touch data to simulate the position of the reported point, and the simulated position of the reported point is outputted; Dead-band compensation to simulate callout positions, including: 根据所述触摸数据,确定出电容值未发生变化的所述被触摸触控单元;According to the touch data, determine the touched touch unit whose capacitance value has not changed; 根据所述电容值未发生变化的所述被触摸触控单元,确定出所述触摸区域中的死区和非死区;determining a dead zone and a non-dead zone in the touch area according to the touched touch unit whose capacitance value does not change; 确定所述死区的形状;determining the shape of the dead zone; 根据所述死区的形状、和所述非死区中的所述被触摸触控单元的电容值,模拟出所述触摸区域中的报点位置;其中,所述根据所述死区的形状、和所述非死区中的所述被触摸触控单元的电容值,模拟出所述触摸区域中的报点位置,包括:According to the shape of the dead zone and the capacitance value of the touched touch unit in the non-dead zone, simulate the position of announcing point in the touch area; wherein, according to the shape of the dead zone , and the capacitance value of the touched touch unit in the non-dead zone to simulate the reported point position in the touch area, including: 当所述死区是由一个所述电容值未发生变化的所述被触摸触控单元构成时,获取所述非死区中的电容最大值和电容次大值;When the dead zone is formed by one of the touched touch units whose capacitance value does not change, obtain the maximum value of the capacitance and the second maximum value of the capacitance in the non-dead zone; 判断所述电容最大值对应的被触摸触控单元和所述电容次大值对应的被触摸触控单元,是否处于同一行或同一列;Determine whether 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 row or column; 若是,则将所述电容最大值对应的被触摸触控单元的位置坐标作为所述报点位置;If so, the position coordinate of the touched touch unit corresponding to the maximum capacitance value is used as the reported point position; 若否,则将所述死区对应的被触摸触控单元的位置坐标作为所述报点位置;If not, use the position coordinates of the touched touch unit corresponding to the dead zone as the reported point position; 如果所述触摸区域中不存在有死区,则根据所述触摸数据从所述触摸区域中确定目标报点位置,并将所述目标报点位置进行报点输出。If there is no dead zone in the touch area, a target report point position is determined from the touch area according to the touch data, and the target report point position is reported and output. 2.如权利要求1所述的方法,其特征在于,所述根据触摸数据判断所述触摸区域中是否存在有死区,包括:2 . The method of claim 1 , wherein the determining whether there is a dead zone in the touch area according to touch data comprises: 2 . 根据所述触摸数据判断所述触摸区域中是否存在有电容值未发生变化的触控单元;Determine whether there is a touch unit whose capacitance value does not change in the touch area according to the touch data; 若不存在,则判定所述触摸区域中不存在有死区;If it does not exist, it is determined that there is no dead zone in the touch area; 若存在,则判定所述触摸区域中存在有死区。If there is, it is determined that there is a dead zone in the touch area. 3.如权利要求1所述的方法,其特征在于,所述根据所述死区的形状、和所述非死区中的所述被触摸触控单元的电容值,模拟出所述触摸区域中的报点位置,包括:3 . The method according to claim 1 , wherein the touch area is simulated according to the shape of the dead zone and the capacitance value of the touched touch unit in the non-dead zone. 4 . Announcement locations in , including: 当所述死区是由多个所述电容值未发生变化的所述被触摸触控单元组成的一行或一列时,获取所述非死区中的电容最大值和电容次大值;When the dead zone is a row or a column composed of a plurality of the touched touch units whose capacitance values do not change, acquiring the maximum value of the capacitance and the second maximum value of the capacitance in the non-dead zone; 判断所述电容最大值对应的被触摸触控单元和所述电容次大值对应的被触摸触控单元,是否处于同一个非死区;Determine whether the touched touch unit corresponding to the maximum value of the capacitance and the touched touch unit corresponding to the second largest value of the capacitance are in the same non-dead zone; 若是,则将所述电容最大值对应的被触摸触控单元的位置坐标作为所述报点位置;If so, the position coordinate of the touched touch unit corresponding to the maximum capacitance value is used as the reported point position; 若否,则根据所述电容最大值对应的被触摸触控单元和所述电容次大值对应的被触摸触控单元,确定出所述触摸区域中的报点位置。If not, according to the touched touch unit corresponding to the maximum value of the capacitance and the touched touch unit corresponding to the second largest value of the capacitance, determine the position of the reported point in the touch area. 4.如权利要求1所述的方法,其特征在于,所述根据触摸数据从所述触摸区域中确定目标报点位置,包括:4. The method according to claim 1, wherein the determining the position of the target announcement point from the touch area according to the touch data comprises: 从所述触摸数据中,获取电容值最大的所述被触摸触控单元;From the touch data, obtain the touched touch unit with the largest capacitance value; 确定所述电容值最大的所述被触摸触控单元的位置坐标;determining the position coordinates of the touched touch unit with the largest capacitance value; 将所述电容值最大的所述被触摸触控单元的位置坐标,确定为所述目标报点位置。The position coordinates of the touched touch unit with the largest capacitance value are determined as the target reporting point position. 5.一种触摸屏死区的补偿装置,所述触摸屏为电容式触摸屏,所述电容式触摸屏包括多个触控单元,其特征在于,所述装置包括:5. A device for compensating a dead zone of a touch screen, wherein the touch screen is a capacitive touch screen, and the capacitive touch screen comprises a plurality of touch units, wherein the device comprises: 获取模块,用于在监测到所述触摸屏上有触摸操作时,获取所述触摸操作对应的触摸区域的触摸数据,其中,所述触摸数据包括多个被触摸触控单元的位置坐标和所述多个被触摸触控单元的电容值;an acquisition module, configured to acquire touch data of the touch area corresponding to the touch operation when a touch operation is detected on the touch screen, wherein the touch data includes the position coordinates of a plurality of touched touch units and the Capacitance values of multiple touched touch units; 判断模块,用于根据所述触摸数据判断所述触摸区域中是否存在有死区,其中,所述死区用于指示触摸屏触摸没有功能的损坏区域;a judgment module, configured to judge whether there is a dead zone in the touch area according to the touch data, wherein the dead zone is used to indicate that the touch screen touches a damaged area with no function; 死区补偿模块,用于在所述触摸区域中存在有死区时,根据所述触摸数据进行死区补偿,以模拟出报点位置;其中,所述死区补偿模块包括:A dead zone compensation module, configured to perform dead zone compensation according to the touch data when there is a dead zone in the touch area, so as to simulate a report point position; wherein, the dead zone compensation module includes: 第一确定单元,用于根据所述触摸数据,确定出电容值未发生变化的所述被触摸触控单元;a first determining unit, configured to determine the touched touch unit whose capacitance value has not changed according to the touch data; 第二确定单元,用于根据所述电容值未发生变化的所述被触摸触控单元,确定出所述触摸区域中的死区和非死区;a second determining unit, configured to determine a dead zone and a non-dead zone in the touch area according to the touched touch unit whose capacitance value does not change; 第三确定单元,用于确定所述死区的形状;a third determining unit, configured to determine the shape of the dead zone; 报点模拟单元,用于根据所述死区的形状、和所述非死区中的所述被触摸触控单元的电容值,模拟出所述触摸区域中的报点位置;其中,所述报点模拟单元具体用于:An announcement point simulation unit, configured to simulate the announcement 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 The reporting point simulation unit is specifically used for: 当所述死区是由一个所述电容值未发生变化的所述被触摸触控单元构成时,获取所述非死区中的电容最大值和电容次大值;When the dead zone is formed by one of the touched touch units whose capacitance value does not change, obtain the maximum value of the capacitance and the next maximum value of the capacitance in the non-dead zone; 判断所述电容最大值对应的被触摸触控单元和所述电容次大值对应的被触摸触控单元,是否处于同一行或同一列;Determine whether 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 row or column; 若是,则将所述电容最大值对应的被触摸触控单元的位置坐标作为所述报点位置;If so, the position coordinate of the touched touch unit corresponding to the maximum capacitance value is used as the reported point position; 若否,则将所述死区对应的被触摸触控单元的位置坐标作为所述报点位置;If not, use the position coordinates of the touched touch unit corresponding to the dead zone as the reported point position; 报点输出模块,用于将模拟得到的报点位置进行报点输出;The reporting point output module is used to report the point reporting position obtained by the simulation; 确定模块,用于在所述触摸区域中不存在有死区时,根据所述触摸数据从所述触摸区域中确定目标报点位置;a determining module, configured to determine a target reporting point position from the touch area according to the touch data when there is no dead zone in the touch area; 其中,所述报点输出模块,还用于将所述目标报点位置进行报点输出。Wherein, the reporting point output module is further configured to perform reporting point outputting of the target reporting point position. 6.如权利要求5所述的装置,其特征在于,所述判断模块具体用于:6. The device according to claim 5, wherein the judgment module is specifically used for: 根据所述触摸数据判断所述触摸区域中是否存在有电容值未发生变化的触控单元;Determine whether there is a touch unit whose capacitance value does not change in the touch area according to the touch data; 若不存在,则判定所述触摸区域中不存在有死区;If it does not exist, it is determined that there is no dead zone in the touch area; 若存在,则判定所述触摸区域中存在有死区。If there is, it is determined that there is a dead zone in the touch area. 7.如权利要求5所述的装置,其特征在于,所述报点模拟单元具体用于:7. device as claimed in claim 5, is characterized in that, described reporting point simulation unit is specially used for: 当所述死区是由多个所述电容值未发生变化的所述被触摸触控单元组成的一行或一列时,获取所述非死区中的电容最大值和电容次大值;When the dead zone is a row or a column composed of a plurality of the touched touch units whose capacitance values do not change, acquiring the maximum value of the capacitance and the second maximum value of the capacitance in the non-dead zone; 判断所述电容最大值对应的被触摸触控单元和所述电容次大值对应的被触摸触控单元,是否处于同一个非死区;Determine whether the touched touch unit corresponding to the maximum value of the capacitance and the touched touch unit corresponding to the second largest value of the capacitance are in the same non-dead zone; 若是,则将所述电容最大值对应的被触摸触控单元的位置坐标作为所述报点位置;If so, the position coordinate of the touched touch unit corresponding to the maximum capacitance value is used as the reported point position; 若否,则根据所述电容最大值对应的被触摸触控单元和所述电容次大值对应的被触摸触控单元,确定出所述触摸区域中的报点位置。If not, according to the touched touch unit corresponding to the maximum value of the capacitance and the touched touch unit corresponding to the second largest value of the capacitance, determine the position of the reported point in the touch area. 8.如权利要求5所述的装置,其特征在于,所述确定模块具体用于:8. The apparatus of claim 5, wherein the determining module is specifically configured to: 从所述触摸数据中,获取电容值最大的所述被触摸触控单元;From the touch data, obtain the touched touch unit with the largest capacitance value; 确定所述电容值最大的所述被触摸触控单元的位置坐标;determining the position coordinates of the touched touch unit with the largest capacitance value; 将所述电容值最大的所述被触摸触控单元的位置坐标,确定为所述目标报点位置。The position coordinates of the touched touch unit with the largest capacitance value are determined as the target reporting point position. 9.一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时,实现如权利要求1至4中任一项所述的触摸屏死区的补偿方法。9. An electronic device, comprising a memory, a processor and a computer program stored on the memory and running on the processor, characterized in that, when the processor executes the program, the process as claimed in the claims The compensation method for the dead zone of the touch screen according to any one of 1 to 4. 10.一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现如权利要求1至4中任一项所述的触摸屏死区的补偿方法。10. A non-transitory computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the dead zone of the touch screen according to any one of claims 1 to 4 is implemented. compensation method.
CN201810026985.3A 2018-01-11 2018-01-11 Compensation method, device, electronic device and storage medium for touch screen dead zone Expired - Fee Related CN108363507B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

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 Expired - Fee Related CN108363507B (en) 2018-01-11 2018-01-11 Compensation method, device, electronic device and storage medium for touch screen dead zone

Country Status (1)

Country Link
CN (1) CN108363507B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112394825B (en) * 2019-08-19 2024-07-02 北京小米移动软件有限公司 Method, device and storage medium for calibrating capacitive touch module
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, device, chip and readable storage medium
CN113625898B (en) * 2021-08-02 2025-03-28 维沃移动通信有限公司 Touch area determination method and electronic device
CN114780013B (en) * 2022-05-06 2024-06-25 北斗星通智联科技有限责任公司 Touch screen operation recognition method, device, terminal equipment and 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 device and touch detection 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 device and touch detection 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) Compensation method, device, electronic device and storage medium for touch screen dead zone
CN108073519B (en) Test case generation method and device
CN105959461B (en) Screen sensing control method, device and terminal device
US10101827B2 (en) Method and apparatus for controlling a touch-screen based application ported in a smart device
CN103677452A (en) Capacitive touch screen calibration method and capacitive touch device
JP5692414B2 (en) Detection device, detection program, and detection method
CN110658935B (en) Data detection method and device, storage medium and touch device
CN113253878B (en) Touch screen report point determining method and device, electronic equipment and storage medium
US20130328823A1 (en) Touch device and operating method thereof
CN105446864A (en) Method and device for verifying influence of deletion of cache file and mobile terminal
CN108089813A (en) Processing method, device, electronic equipment and the storage medium of touch screen drawing operation
CN111639018B (en) Memory leakage detection 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
CN109510896B (en) Proximity sensor selection method and device, storage medium and electronic device
US10156936B2 (en) Electronic system, host and method thereof for determining correspondences between multiple display processing apparatuses and multiple touch sensitive processing apparatuses
CN107085532B (en) task monitoring method and device
CN111338495B (en) Method and device for determining touch point
US20160179160A1 (en) Design structure for reducing power consumption for memory device
CN110851193A (en) Plug-in loading method for software platform of monitoring equipment, plug-in operation system and monitor
US10126869B2 (en) Electronic device and method for preventing touch input error
CN115510782B (en) Method for locating verification errors, electronic device and storage medium
CN110674050A (en) Memory out-of-range detection method and device, electronic equipment and computer storage medium
CN110007811A (en) A kind of method, apparatus, computer storage medium and terminal handling touch information
CN110874723B (en) Electronic red envelope detection method, electronic red envelope detection device and mobile terminal

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200605

CF01 Termination of patent right due to non-payment of annual fee