Touch area correction method and device, electronic equipment and storage medium

By acquiring and analyzing the capacitance data of the touch area, determining and applying compensation offsets to correct the touch area, the screen jitter and point drift problems during multi-finger operation are solved, and the accuracy of the touch area is improved.

CN119645247APending Publication Date: 2025-03-18VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411695324.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-25
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

When multi-finger sliding operation, especially when it is coaxial, the screen of the electronic device will experience screen jitter, point drift, etc.

Method used

By obtaining the capacitance data corresponding to the touch area on the screen, when the first touch area and the second touch area meet the signal interference conditions, the target compensation offset is determined based on the capacitance value and the preset correspondence relationship of the first touch area, and the first touch area is corrected to obtain the target touch area.

Benefits of technology

It effectively avoids screen jitter, point drift and other phenomena during multi-finger operation, and improves the accuracy of touch area determination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119645247A_ABST
    Figure CN119645247A_ABST
Patent Text Reader

Abstract

The invention discloses a touch area correction method and device, electronic equipment and a storage medium, and belongs to the technical field of touch. The method comprises the following steps: acquiring capacitance data corresponding to touch areas on a screen, wherein the screen has a plurality of touch areas; determining a target compensation offset corresponding to a first capacitance value according to the first capacitance value corresponding to the first touch control area and a preset corresponding relation under the condition that the first touch control area and the second touch control area meet the signal interference condition; according to the target compensation offset, correcting the first touch area to obtain a target touch area; wherein the first touch control area is one touch control area in the plurality of touch control areas, and the second touch control area is another touch control area, except the first touch control area, in the plurality of touch control areas; the preset corresponding relation represents the corresponding relation between the capacitance data and the compensation offset.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of touch technology, and specifically relates to a touch area correction method, device, electronic device and storage medium. Background Art

[0002] With the continuous development of high-tech science and technology, the performance of electronic devices such as smart phones has been enhanced, making terminal games a mainstream application scenario. Terminal games require the terminal's processor performance to be very good, and the touch feedback is also very sensitive, the timing is stable when moving, more responsive to the hand, and the game screen has no jitter.

[0003] In order to achieve a better gaming experience, the touch performance in the game scene is extremely important, and it needs to be optimized and considered in multiple ways to achieve the best touch performance in the game scene. However, when multiple fingers are operated at the same time, especially when they are on the same axis, the screen will shake, the reporting point will drift, etc. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a touch area correction method that can solve the problem in the prior art that when a user performs a multi-finger sliding operation, especially when the fingers are coaxial, the electronic device screen may experience screen jitter, point drift, etc.

[0005] In a first aspect, an embodiment of the present application provides a touch area correction method, the method comprising:

[0006] Acquire capacitance data corresponding to a touch area on the screen, where there are multiple touch areas on the screen;

[0007] When it is determined that the first touch area and the second touch area meet the signal interference condition, determining a target compensation offset corresponding to the first capacitance value according to a first capacitance value corresponding to the first touch area and a preset corresponding relationship;

[0008] Correcting the first touch area according to the target compensation offset to obtain a target touch area;

[0009] The first touch area is one of the multiple touch areas, and the second touch area is another touch area among the multiple touch areas except the first touch area; the preset corresponding relationship represents the corresponding relationship between the capacitance data and the compensation offset.

[0010] In a second aspect, an embodiment of the present application provides a touch area correction device, the device comprising:

[0011] A first acquisition module is used to acquire capacitance data corresponding to a touch area on the screen, where there are multiple touch areas on the screen;

[0012] A first determination module, configured to determine a target compensation offset corresponding to the first capacitance value according to a first capacitance value corresponding to the first touch area and a preset corresponding relationship when it is determined that the first touch area and the second touch area meet a signal interference condition;

[0013] A correction module, configured to correct the first touch area according to the target compensation offset to obtain a target touch area;

[0014] The first touch area is one of the multiple touch areas, and the second touch area is another touch area among the multiple touch areas except the first touch area; the preset corresponding relationship represents the corresponding relationship between the capacitance data and the compensation offset.

[0015] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0016] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0017] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0018] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0019] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0020] By acquiring capacitance data corresponding to a touch area on the screen, there are multiple touch areas on the screen; when it is determined that the first touch area and the second touch area meet the signal interference condition, the target compensation offset corresponding to the first capacitance value is determined according to the first capacitance value corresponding to the first touch area and the preset corresponding relationship; the first touch area is corrected according to the target compensation offset to obtain the target touch area; wherein the first touch area is one of the multiple touch areas, and the second touch area is another touch area in the multiple touch areas except the first touch area; the preset corresponding relationship represents the corresponding relationship between capacitance data and compensation offset. In this way, when signal interference occurs between the first touch area and the second touch area, according to the first capacitance value corresponding to the first touch area, the first capacitance value is offset compensated by using the target compensation offset through the preset corresponding relationship, so that the target touch area after offset compensation can be more closely matched to the real touch area actually touched by the user, avoiding screen jitter, point drift and other phenomena during multi-finger operation, and improving the accuracy of touch area determination. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 is a schematic diagram of a screen operation scenario provided by an embodiment of the present application;

[0022] Figure 2 is a schematic diagram of a screen multi-finger operation scenario provided by an embodiment of the present application;

[0023] Figure 3 is a capacitance value curve diagram of screen touch position deviation provided by an embodiment of the present application;

[0024] Figure 4 is a flow chart of a touch area correction method provided by an embodiment of the present application;

[0025] Figure 5 is a schematic diagram of a touch channel of a screen touch area provided in an embodiment of the present application;

[0026] Figure 6 is a schematic diagram of a circuit model provided in an embodiment of the present application;

[0027] Figure 7 It is a capacitance schematic diagram of screen touch position offset provided by an embodiment of the present application;

[0028] Figure 8 It is another capacitance schematic diagram of screen touch position offset provided by an embodiment of the present application;

[0029] Fig. 9 is a schematic diagram of offset compensation provided by an embodiment of the present application;

[0030] Fig.10 is a schematic diagram of a touch area provided in an embodiment of the present application;

[0031] Fig.11 is a flow chart of another touch area correction method provided by an embodiment of the present application;

[0032] Fig.12 is based on Figure 4 The illustrated embodiment provides a flow chart of step S103;

[0033] Fig.13 is based on Figure 4 The illustrated embodiment provides a flow chart of step S102;

[0034] Fig.14 This is a curve diagram of a preset corresponding relationship provided by an embodiment of the present application;

[0035] Fig.15 is based on Figure 4 A flowchart of another touch area correction method provided by the illustrated embodiment;

[0036] Fig.16 It is another capacitance schematic diagram of screen touch position offset provided by an embodiment of the present application;

[0037] Fig.17 is another offset compensation schematic diagram provided in an embodiment of the present application;

[0038] Fig.18 is a block diagram of a touch area correction device provided in an embodiment of the present application;

[0039] Fig.19 is a block diagram of an electronic device provided in an embodiment of the present application;

[0040] Fig. 20 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0042] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0043] Before introducing the touch area correction method, device, electronic device and storage medium provided by the present disclosure, the application scenarios involved in each embodiment of the present disclosure are first introduced. The present disclosure can be applied to the touch scene of the device screen, and the touch area correction method provided by the embodiment of the present disclosure can be applied to an electronic device with a touch screen. Among them, the touch screen can be an organic light emitting display (Organic Electroluminesence Display, OLED) or a liquid crystal display (Liquid Crystal Display, LCD).

[0044] At present, consumer electronic products cover an increasingly wide range of user groups. In addition to daily normal communication functions, additional entertainment functions are also popular among consumers, such as short videos and electronic games. Among them, electronic game operations require multi-finger simultaneous touch functions, such as Figure 1 As shown in the figure, the lower left area is generally used to control the game character to move in different directions, and the corresponding lower right area is generally used to control the game character to make related actions. In the actual game process, the left and right areas need to work closely together, requiring both hands to operate at the same time to achieve good performance in the game.

[0045] However, in the related art, the screen usually adopts mutual capacitance touch technology. In a weak grounding state, such as Figure 2 As shown in the figure, if multiple fingers touch simultaneously in the horizontal or vertical direction, the effective touch capacitance value of the corresponding position area will be reduced, causing the touch position area to shift, as shown below Figure 3 As shown, for example, in game mode, especially in scenes with high touch requirements such as competitive games, sudden touch position deviation may cause sniper aiming jitter, character movement deviation, wrong skill pressing, etc., which may affect the game results and lead to poor user experience.

[0046] In order to solve the above problems, the present disclosure provides a touch area correction method, device, electronic device and storage medium. When signal interference occurs between the first touch area and the second touch area, the first capacitance value corresponding to the first touch area can be offset compensated by using a target compensation offset through a preset correspondence relationship. The target touch area after offset compensation can be made to fit the real touch area actually touched by the user, avoiding screen jitter, point drift and the like during multi-finger operation, and improving the accuracy of touch area determination.

[0047] The touch area correction method provided by the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0048] Figure 4 is a flow chart of a touch area correction method provided by an embodiment of the present application. Figure 4 As shown, the method is applied to a terminal device.

[0049] Considering that the touch screen of the electronic device mostly uses a mutual capacitance detection architecture during touch detection, the touch sensing layer can be touched by a finger, and according to the principle of mutual capacitance, the existence of a touch area on the screen can be determined. However, in a weakly grounded state, the suspension effect is enhanced, and the change in capacitance caused by the finger becomes smaller. In particular, when there are more fingers and the area is larger, the suspension effect is stronger. In this way, the touch signal generated when clicking the touch screen of the electronic device is unstable and jitter may occur. Therefore, before using the embodiment of the present disclosure to correct the touch area, it is possible to first determine whether the electronic device applying the scheme of the present disclosure is in a weakly grounded state, and when it is determined that the electronic device is in a weakly grounded state, the scheme of the present disclosure is applied to correct the touch area. In this way, the efficiency of touch area determination can be further improved while improving the accuracy of touch area determination, and it is avoided that the scheme is still implemented when the electronic device is in normal grounding, which leads to waste of resource overhead of the electronic device.

[0050] Therefore, in some embodiments, it can be determined whether the electronic device to which the disclosed solution is applied is in a weak grounding state by the following method:

[0051] Method 1: When the electronic device does not have a metal frame and / or it is determined that the electronic device has a protective cover, it is determined that the electronic device is in a weak grounding state.

[0052] Specifically, when the product shell of the electronic device is not provided with a metal frame, or there is no metal frame grounding design, the electronic device will not be able to be grounded through the metal, resulting in poor grounding. At this time, the suspension effect will be enhanced, which will cause different fingers to show reduced or negative values ​​when touching the screen, thereby causing problems such as disappearance of points, removal of points, and jitter; similarly, when the user is accustomed to using a protective cover for the electronic device, the electronic device will also be unable to be grounded, resulting in problems such as disappearance of points, removal of points, and jitter.

[0053] Therefore, when a user uses an electronic device, when the electronic device detects a user input operation for the first time, a prompt message can be output, and the prompt message is used to prompt the user to input device grounding information. The electronic device can determine whether the electronic device is in a weak grounding state based on the device grounding information.

[0054] For example, when the electronic device detects a user input operation for the first time, the electronic device may output a prompt message in the form of a pop-up window, and the window may first display a display box with the words "Does this machine have a metal frame?" and a selection box used to indicate yes and no, and when the user selects no, it is determined that the electronic device is in a weakly grounded state; or when the user selects yes, the display box may continue to display the words "Does this machine have a protective cover?" and a selection box used to indicate yes and no, and when the user selects yes, it is determined that the electronic device is in a weakly grounded state.

[0055] Method 2: when it is determined that the electronic device is in a charging state, it is determined that the electronic device is not in a weak grounding state.

[0056] This is because, when the electronic device is in a charging state, the common grounding effect between the electronic device and the human body is high, which can improve the weak grounding state of the electronic device. Therefore, in this case, the use of this solution can be directly exited.

[0057] The method may include the following steps.

[0058] In step S101, capacitance data corresponding to a touch area on the screen is obtained.

[0059] There are multiple touch areas on the screen.

[0060] In the present disclosure, the embodiments of the present application can be applied to electronic devices with touch screens, wherein the electronic devices can be mobile terminals, smart watches and other devices. For a capacitive touch screen, the touch screen includes a capacitive node, and when a conductive material contacts the screen, the capacitance value of the capacitive node of the touch screen changes. The conductive material can be a stylus, a finger, etc., and the present disclosure does not limit this.

[0061] In this embodiment, the screen may include a plurality of touch points distributed in an array, and the capacitance values ​​of the plurality of touch points on the screen may be acquired by a sensor for detecting capacitance values.

[0062] For example, when the electronic device detects a touch operation, multiple touch points on the screen can be scanned and acquired in a certain order. For example, in a touch module implemented based on an AMOLED (Active-matrix organic light-emitting diode) architecture, multiple touch points are arranged in an array, and the system can acquire the capacitance value of each column of touch points in a certain order (such as from left to right) at a certain interval.

[0063] Then, the capacitance change of the touch point can be determined based on the difference between the capacitance value after the touch point changes and the original capacitance value of the touch point. The electronic device can determine the touch area of ​​the conductive material by detecting the capacitance change of the touch point.

[0064] Finally, the capacitance values ​​corresponding to the multiple touch points in the touch area on the screen may be used as the capacitance data of the touch area.

[0065] In step S102, when it is determined that the first touch area and the second touch area meet the signal interference condition, a target compensation offset corresponding to the first capacitance value is determined according to a first capacitance value corresponding to the first touch area and a preset corresponding relationship.

[0066] The first touch area is one of the multiple touch areas, the second touch area is another touch area among the multiple touch areas except the first touch area; and the preset corresponding relationship represents the corresponding relationship between the capacitance data and the compensation offset.

[0067] In this step, it may be first determined whether the first touch area and the second touch area satisfy a signal interference condition.

[0068] Optionally, any two touch areas can be selected from the multiple touch areas existing on the screen, and a touch point can be selected from any one of the multiple touch points of each of the selected touch areas to obtain a first capacitance value corresponding to the first touch area and a second capacitance value corresponding to the second touch area. When it is detected that the first capacitance value includes a negative capacitance value and / or when it is detected that the second capacitance value includes a negative capacitance value, it is determined that the first touch area and the second touch area meet the signal interference condition.

[0069] For example, Figure 5As shown, the touch channels on the screen are arranged in an array along the x and y directions. When any two touch areas are selected, when the "touch point 1" and "touch point 2" position areas are touched at the same time, the intersection points on the x and y directions of the respective channels involved in the coordinate calculation of "touch point 1" and "touch point 2" will have negative values, which are referred to as "interference point 1'" and "interference point 2'". The size of the negative value is related to the grounding conditions of "touch point 1" and "touch point 2", such as Figure 6 As shown, according to Figure 6 The circuit model shown in the figure calculates that the magnitude of the negative △C is:

[0070] △C=(Cftx*Cfrx) / (Chg+Cftx+Cfrx);

[0071] Among them, Cftx and Cfrx are the parasitic capacitances between the finger and the touch channel in the x and y directions. This capacitance value is only related to the size of the finger. Chg refers to the capacitance between the human body and the system ground. The weaker the finger grounding, the smaller the value. When the grounding is good, Chg=∞.

[0072] Therefore, there are multiple touch areas on the screen, and the channels participating in the coordinate calculation in the first touch area and the second touch area have the same channel in the x or y direction, resulting in that when it is detected that the first capacitance value includes a negative capacitance value, and / or when it is detected that the second capacitance value includes a negative capacitance value, it is determined that the first touch area and the second touch area meet the signal interference condition.

[0073] For example, the position coordinates of the touch point in the first touch area and the touch point in the second touch area are as follows: Figure 7 When shown, Figure 7 The corresponding pure black filled area in represents the effective signal of the actual touch area. Figure 7 The corresponding gray filled area except pure black represents the interference signal generated by the signal interference of another actual touch area, and the area with the same horizontal axis coordinate as the actual touch area and the same vertical axis coordinate as another actual touch area will generate an interference signal due to the signal interference of another actual touch area, wherein the capacitance change trends of the interference signal area and the actual touch area are opposite. Similarly, Figure 8 It is used to represent the situation that the longitudinal axis positions of the first touch area and the second touch area are closer. The capacitance change is consistent with the above description and will not be described again.

[0074] Then, when it is determined that the first touch area and the second touch area meet the signal interference condition, the target compensation offset corresponding to the first capacitance value can be determined from the preset corresponding relationship according to the first capacitance value corresponding to the first touch area.

[0075] The target compensation offset may be a compensation capacitance value used to compensate the first capacitance value.

[0076] It should be noted that both the first touch area and the second touch area meet the signal interference conditions. Therefore, the present disclosure only describes the algorithm compensation of the first touch area in detail. The steps of algorithm compensation for the second touch area are consistent with the steps of algorithm compensation for the first touch area, and the present disclosure will not repeat them here.

[0077] In step S103, the first touch area is corrected according to the target compensation offset to obtain a target touch area.

[0078] In this step, when the first touch area is corrected, the first capacitance value in the first touch area can be compensated by using the compensation capacitance value corresponding to the target compensation offset. Fig. 9 As shown, Fig. 9 The curve shown by the solid line is a schematic diagram of the capacitance corresponding to the first touch area. Fig. 9 The curve shown by the middle dotted line is a schematic diagram of the capacitance corresponding to the target touch area obtained after the first touch area is corrected.

[0079] It should be noted that, in the related art, when the touch area is determined according to the capacitance value corresponding to the touch point, it is usually determined according to the difference between the capacitance values ​​of multiple touch points, such as Fig.10 As shown, when it is determined that there are more than a preset number of touch points in a certain area, and the capacitance values ​​corresponding to these touch points are all greater than the preset capacitance threshold, the area can be used as a touch area. For example, Fig.10 The shaded area in the image is used as the touch area.

[0080] Therefore, by Fig. 9 It can be seen from the capacitance diagram corresponding to the first touch area in the figure that when the touch area is determined by the difference between the capacitance values ​​of multiple touch points, due to simultaneous multi-finger touch in a weak grounding scenario, the touch points that are coaxial in the horizontal or vertical direction are affected by weak grounding, and there is a deviation between the physical position of the touch area calculated based on the touch data and the actual touch area. In the actual use of the user, due to the deviation, the screen will have a touch position offset, which will cause sniper aiming jitter, character movement deviation, wrong skill pressing, etc., which may affect the game results and lead to a poor user experience. However, when the first touch area is corrected to obtain the target touch area, Fig. 9 As can be seen from the capacitance diagram corresponding to the target touch area, when there are differences between the capacitance values ​​of multiple touch points, the corrected touch area will correct the calculated deviation caused by the negative capacitance value, thereby avoiding the problem of touch position offset.

[0081] The above technical solution is adopted, by obtaining the capacitance data corresponding to the touch area on the screen, there are multiple touch areas on the screen; when it is determined that the first touch area and the second touch area meet the signal interference condition, according to the first capacitance value corresponding to the first touch area and the preset corresponding relationship, the target compensation offset corresponding to the first capacitance value is determined; according to the target compensation offset, the first touch area is corrected to obtain the target touch area; wherein, the first touch area is one of the multiple touch areas, and the second touch area is another touch area in the multiple touch areas except the first touch area; the preset corresponding relationship represents the corresponding relationship between the capacitance data and the compensation offset. In this way, when signal interference occurs between the first touch area and the second touch area, according to the first capacitance value corresponding to the first touch area, the first capacitance value is offset compensated by using the target compensation offset through the preset corresponding relationship, so that the target touch area after the offset compensation can be more closely matched to the real touch area actually touched by the user, avoiding screen jitter, point drift and other phenomena during multi-finger operation, and improving the accuracy of touch area determination.

[0082] In some embodiments, Fig.11 As shown, the touch area can be corrected by using the solution of the present application through the following steps:

[0083] S1. Receive first scene information input by a user.

[0084] The first scene information is used to represent information input by the user on whether to enter the game mode.

[0085] For example, a menu bar may be displayed on the homepage display interface of the mobile device, and the menu bar may include an option for representing the game mode. When the user triggers the option, information indicating that the user has input the game mode may be represented.

[0086] S2. Output the first prompt information.

[0087] The first prompt information is used to prompt the user to input information about whether the electronic device has a metal frame.

[0088] For example, when the user inputs the first scene information, the electronic device can output prompt information in the form of a pop-up window. The window can first display a display box with the words "Does this machine have a metal frame?" and a selection box for indicating yes and no. When the user selects no, step S4 is executed; or, when the user selects yes, step S3 is executed.

[0089] S3. Output the second prompt information.

[0090] The second prompt information is used to prompt the user to input information about whether the electronic device has a protective cover.

[0091] For example, when the user inputs information that the electronic device has a metal frame, the display box can continue to display the words "Does this machine have a protective cover?" and selection boxes for indicating yes and no, and when the user selects no, it is determined that the electronic device is not in a weakly grounded state. In this case, it can be determined that the electronic device does not need to be turned on to implement the present solution; or when the user selects yes, step S4 is executed.

[0092] S4. Determine whether the electronic device is in a charging state.

[0093] When it is determined that the electronic device is in a charging state, a prompt message may be output in the form of a pop-up window on the display interface of the electronic device to prompt the user to disconnect the charging;

[0094] Alternatively, if it is determined that the electronic device is not in a charging state, executing step S5;

[0095] S5. Obtain capacitance data corresponding to the touch area on the screen.

[0096] S6. When it is determined that the first touch area and the second touch area satisfy the signal interference condition, determine a target compensation offset corresponding to the first capacitance value according to the first capacitance value corresponding to the first touch area and a preset corresponding relationship.

[0097] S7. Correct the first touch area according to the target compensation offset to obtain a target touch area.

[0098] And, when it is determined that the modified target touch area does not meet the user's needs, continue to perform steps S5-S7 until it is determined that the modified target touch area meets the user's needs.

[0099] In this way, when the touch area is corrected by adopting the solution of the present application, it is first determined whether the electronic device to which the solution of the present disclosure is applied is in a weak grounding state, and when it is determined that the electronic device is in a weak grounding state, the touch area is corrected by applying the solution of the present disclosure. This can further improve the efficiency of touch area determination while improving the accuracy of touch area determination, and avoid implementing this solution when the electronic device is in normal grounding, which leads to a waste of resource overhead of the electronic device.

[0100] In some embodiments, the touch area includes a plurality of touch points, and the capacitance data includes capacitance values ​​generated by the touch points in the touch area; the method may further include the following steps.

[0101] In step S104, the first capacitance value of each first touch point in the first touch area is divided into a corresponding capacitance value set according to the position coordinates of each first touch point in the first touch area.

[0102] Among them, each capacitance value set corresponds to a coordinate interval on the second coordinate axis of the screen, and different capacitance value sets correspond to different coordinate intervals; when signal interference occurs, the first touch position and the second touch position have the same touch channel in the same coordinate axis direction, and the first coordinate axis is perpendicular to the second coordinate axis.

[0103] In this step, a coordinate system can be established according to the multiple touch points arranged in an array in the screen, wherein when signal interference occurs, the first coordinate axis of the coordinate system can be established according to the horizontal direction of the screen, and the second coordinate axis of the coordinate system can be established according to the direction perpendicular to the first coordinate axis. In this way, each first touch point in the first touch area can use (xi, yi) to represent the position coordinates.

[0104] Then, the first capacitance value of each first touch point in the first touch area may be divided into a corresponding capacitance value set according to the position coordinates of each first touch point in the first touch area.

[0105] Optionally, first touch points with the same horizontal coordinates can be divided into the same capacitance value set according to the position coordinates (xi, yi) of each first touch point. For example, capacitance value set A may include touch points at positions (x1, y1), (x1, y2), (x1, y3)...(x1, yn); capacitance value set B may include touch points at positions (x2, y1), (x2, y2), (x2, y3)...(x2, yn), and so on.

[0106] In some embodiments, when the first capacitance value of each of the first touch points is divided into corresponding capacitance value sets, such as Fig.12 As shown, the above step S103 may include the following steps.

[0107] In step S1031, offset compensation is performed on a first capacitance value in the capacitance value set according to the target compensation offset to obtain a target capacitance value set after offset compensation.

[0108] In this step, considering that multiple fingers are touching simultaneously in a weak grounding scenario, the touch points that are coaxial in the horizontal or vertical direction are affected by weak grounding, and there is a deviation between the physical position of the touch area calculated based on the touch data and the actual touch area. Therefore, the positive capacitance value and the negative capacitance value in the capacitance value set can be added to offset the deviation of the touch area caused by the negative capacitance value.

[0109] Therefore, in the case of performing offset compensation on multiple first capacitance values ​​in the first touch area, the first capacitance values ​​in the capacitance value set can be first divided into a first category and a second category; wherein the first capacitance values ​​in the first category include positive values, and the first capacitance values ​​in the second category include negative values; then, according to the position coordinates of the first touch point and in the direction of the second coordinate axis, the first capacitance values ​​in the first category and the first capacitance values ​​in the second category can be matched one by one, and added in pairs to obtain the summed capacitance value, and when the capacitance sum value is greater than or equal to a preset threshold value, the first capacitance values ​​in the second category are corrected to the capacitance sum value. After the correction is completed, a corrected capacitance value set is obtained, and then the first capacitance values ​​in the corrected capacitance value set can be offset compensated according to the target compensation offset to obtain a target capacitance value set after offset compensation.

[0110] For example, the target compensation offset can be expressed as a compensation capacitance value. When offset compensation is performed on the first capacitance value in the corrected capacitance value set, each first capacitance value in the corrected capacitance value set can be added with the compensation capacitance value to obtain the target capacitance value set after offset compensation.

[0111] In step S1032, the target position coordinates corresponding to each target capacitance value in the target capacitance value set are used as the target touch position.

[0112] The target capacitance value is a capacitance value greater than or equal to a capacitance reference value. The capacitance reference value may be an experimental value, for example, may be set to 50.

[0113] In this embodiment, the first capacitance value whose capacitance value is greater than or equal to the capacitance reference value can be used as the target capacitance value, so that the touch points with higher capacitance value differences can be re-determined from the target capacitance value set after offset compensation, further improving the accuracy of touch point determination.

[0114] In step S1033, the regions corresponding to the target touch positions are used as the target touch regions.

[0115] By adopting the above technical solution, the first capacitance value in each capacitance value set can be offset compensated by the target compensation offset to obtain the target touch position, and then the target touch area can be determined according to the multiple areas corresponding to the target touch positions. In this way, the target touch area after offset compensation can be more closely aligned with the real touch area actually touched by the user, avoiding screen jitter, point drift and other phenomena during multi-finger operation, and improving the accuracy of touch area determination.

[0116] In some embodiments, when the first capacitance value of each of the first touch points is divided into corresponding capacitance value sets, such as Fig.13 As shown, the above step S102 may include the following steps.

[0117] In step S1021, the first capacitance value in the capacitance value set is divided into a first category and a second category.

[0118] The first capacitance value in the first category includes a positive value, and the first capacitance value in the second category includes a negative value.

[0119] In step S1022, a first distance and a second distance are determined according to a plurality of first capacitance values ​​in the capacitance value set.

[0120] The first distance is the maximum distance from the maximum capacitance value to the minimum capacitance value in the first category, and the second distance is the maximum distance from the maximum capacitance value to the minimum capacitance value in the second category.

[0121] In this step, the first distance is determined by the first capacitance value which is a positive value in the first category, and the second distance is determined by the first capacitance value which is a negative value in the second category; wherein, the first capacitance value which is a positive value is caused by a real touch of the screen, and the first capacitance value which is a negative value is caused by signal interference existing in the screen.

[0122] In step S1023, the sum of the first distance and the second distance is used as the interference distance corresponding to the capacitance value set.

[0123] In step S1024, a target compensation offset corresponding to each capacitance value set is determined according to the interference distance and the preset corresponding relationship.

[0124] The preset corresponding relationship includes an interference distance determined by the capacitance data and a compensation offset corresponding to the interference distance.

[0125] In a possible implementation, the preset corresponding relationship may be determined by the following steps:

[0126] S1. Obtain multiple area groups.

[0127] Among them, each of the area groups includes a first designated touch area, a second designated touch area, and a first sample touch area, the first designated touch area and the second designated touch area meet the signal interference condition, and the first sample touch area is a touch area obtained by offsetting the first designated touch area due to signal interference; the first sample touch area includes multiple sample touch points, and each of the sample touch points has a corresponding sample capacitance value.

[0128] S2. For each of the area groups, determine the sample interference distance of the first sample touch area in the area group, and add a compensation capacitance value to the sample capacitance value corresponding to each of the sample touch points, until it is determined that the first sample touch area overlaps with the first designated touch area, and use the compensation capacitance value as the corresponding sample compensation offset.

[0129] The sample interference distance is used to reflect the degree of signal interference of the first sample touch area by the first designated touch area.

[0130] Optionally, the sample capacitance value of each sample touch point in the first sample touch area may be first divided into a corresponding sample capacitance value set according to the position coordinates of each sample touch point; and then the sample capacitance values ​​in the sample capacitance value set may be divided into a first sample category and a second sample category.

[0131] The capacitance values ​​of the samples in the first sample category are positive values, and the capacitance values ​​of the samples in the second sample category are negative values.

[0132] Secondly, a first sample distance and a second sample distance may be determined according to a plurality of sample capacitance values ​​in the sample capacitance value set, and a sum of the first sample distance and the second sample distance may be used as a sample interference distance corresponding to the sample capacitance value set.

[0133] The first sample distance is the maximum distance from the maximum capacitance value to the minimum capacitance value in the first sample category, and the second sample distance is the maximum distance from the maximum capacitance value to the minimum capacitance value in the second sample category.

[0134] Furthermore, each of the sample capacitance value sets corresponds to a coordinate interval on the second coordinate axis of the screen, and different capacitance value sets correspond to different coordinate intervals; when signal interference occurs, the first designated touch area and the second designated touch area have the same touch channel in the same coordinate axis direction, and the first coordinate axis is perpendicular to the second coordinate axis.

[0135] S3. For each of the area groups, a preset corresponding relationship between the sample interference distance and the sample compensation offset is established.

[0136] For example, the curve diagram between the interference distance and the compensation offset in the preset corresponding relationship can be as follows: Fig.14 shown.

[0137] By adopting the above technical solution, a corresponding preset correspondence relationship can be established for each area group, and the corresponding compensation offset can be determined according to the interference distance of different capacitance value sets in the first touch area. In this way, the corresponding compensation offset can be flexibly determined for the touch points at different position coordinates, and different offset compensation can be performed on different touch points more accurately, thereby improving the accuracy of touch area correction.

[0138] It should be noted that when the user uses a conductive material to touch the screen, the actual touch area of ​​the conductive material will also affect the effective touch capacitance value of the position area. For example, when users of different ages use their fingers to touch the screen, the area of ​​contact between the fingers of adults and children is different, which will also affect the compensation offset.

[0139] Therefore, in some embodiments, Fig.15 As shown, the method may further include the following steps.

[0140] In step S105, a touch area of ​​the first touch region is determined according to the first capacitance value.

[0141] Each touch area is associated with a corresponding preset correspondence; different preset correspondences correspond to different touch areas.

[0142] In this step, when a plurality of first capacitance values ​​of the first touch region are obtained, the touch area of ​​the first touch region can be calculated according to the position coordinates respectively corresponding to a plurality of touch points in the first touch region.

[0143] In step S106, a preset corresponding relationship matching the touch area of ​​the first touch region is determined.

[0144] Since each touch area is associated with a corresponding preset correspondence, the preset correspondence corresponding to the touch area of ​​the first touch region can be determined from the preset correspondences corresponding to different touch areas.

[0145] By adopting the above technical solution, the preset corresponding relationship corresponding to the touch area of ​​the first touch area can be determined from the preset corresponding relationships corresponding to different touch areas. This can avoid the influence of the actual touch area of ​​the conductive material on the compensation offset corresponding to the position area, and can improve the accuracy of touch area correction.

[0146] It should be noted that, when the first touch area and the second touch area are completely located in the same coordinate axis direction, although the first touch area and the second touch area still generate signal interference, Fig.16 As shown, Fig.16The capacitance values ​​corresponding to the first touch area in the graph are all positive values, without any interference from negative values. However, it can be seen from the capacitance curve graph corresponding to the first touch area that there are still two vertices in the curve, which may lead to the problem of "split points". In order to avoid this problem, the capacitance values ​​corresponding to the first touch area can be directly calculated based on Fig.17 The compensation curve shown compensates the capacitance value corresponding to the first touch area.

[0147] The touch area correction method provided in the embodiment of the present application can be executed by a touch area correction device. In the embodiment of the present application, the touch area correction method performed by the touch area correction device is taken as an example to illustrate the touch area correction device provided in the embodiment of the present application.

[0148] Fig.18 is a block diagram of a touch area correction device provided in an embodiment of the present application, such as Fig.18 As shown, the device 200 includes:

[0149] A first acquisition module 201 is used to acquire capacitance data corresponding to a touch area on a screen, where there are multiple touch areas on the screen;

[0150] A first determination module 202 is used to determine a target compensation offset corresponding to the first capacitance value according to a first capacitance value corresponding to the first touch area and a preset corresponding relationship when it is determined that the first touch area and the second touch area meet the signal interference condition;

[0151] A correction module 203, configured to correct the first touch area according to the target compensation offset to obtain a target touch area;

[0152] The first touch area is one of the multiple touch areas, and the second touch area is another touch area of ​​the multiple touch areas except the first touch area; the preset corresponding relationship represents the corresponding relationship between the capacitance data and the compensation offset.

[0153] Optionally, the touch area includes a plurality of touch points, and the capacitance data includes capacitance values ​​generated by the touch points in the touch area; the device further includes:

[0154] A division module, configured to divide the first capacitance value of each first touch point in the first touch area into a corresponding capacitance value set according to the position coordinates of each first touch point in the first touch area;

[0155] Among them, each capacitance value set corresponds to a coordinate interval on the second coordinate axis of the screen, and different capacitance value sets correspond to different coordinate intervals; when signal interference occurs, the first touch position and the second touch position have the same touch channel in the same coordinate axis direction, and the first coordinate axis is perpendicular to the second coordinate axis.

[0156] Optionally, the correction module 203 includes:

[0157] a compensation submodule, configured to perform offset compensation on a first capacitance value in the capacitance value set according to the target compensation offset, so as to obtain a target capacitance value set after the offset compensation;

[0158] A first determination submodule is used to use the target position coordinates corresponding to the target capacitance value in each target capacitance value set as the target touch position, wherein the target capacitance value is a capacitance value greater than or equal to the capacitance reference value;

[0159] The second determining submodule is used to use the areas corresponding to the multiple target touch positions as the target touch area.

[0160] Optionally, the compensation submodule is used to divide the first capacitance value in the capacitance value set into a first category and a second category; the first capacitance value in the first category includes a positive value, and the first capacitance value in the second category includes a negative value; according to the position coordinates of the first touch point, in the direction of the second coordinate axis, the first capacitance value in the first category and the first capacitance value in the second category are matched one by one, and added in pairs to obtain the summed capacitance value; when the capacitance sum value is greater than or equal to a preset threshold value, the first capacitance value in the second category is corrected to the capacitance sum value, and after the correction is completed, a corrected capacitance value set is obtained; the first capacitance value in the corrected capacitance value set is offset compensated according to the target compensation offset to obtain a target capacitance value set after offset compensation.

[0161] Optionally, the first determining module 201 includes:

[0162] A first division submodule, configured to divide the first capacitance value in the capacitance value set into a first category and a second category; the first capacitance value in the first category includes a positive value, and the first capacitance value in the second category includes a negative value;

[0163] A third determination submodule is used to determine a first distance and a second distance according to a plurality of first capacitance values ​​in the capacitance value set, wherein the first distance is a maximum distance length from a maximum capacitance value to a minimum capacitance value in the first category, and the second distance is a maximum distance length from a maximum capacitance value to a minimum capacitance value in the second category;

[0164] The fourth determination submodule is configured to use the sum of the first distance and the second distance as the interference distance corresponding to the capacitance value set:

[0165] The fifth determination submodule is used to determine the target compensation offset corresponding to each capacitance value set according to the interference distance and the preset corresponding relationship, wherein the preset corresponding relationship includes the interference distance determined by the capacitance data and the compensation offset corresponding to the interference distance.

[0166] Optionally, the first determining module 201 further includes:

[0167] A first acquisition submodule is used to acquire a plurality of area groups, each of which includes a first designated touch area, a second designated touch area, and a first sample touch area, the first designated touch area and the second designated touch area satisfy the signal interference condition, and the first sample touch area is a touch area obtained by offsetting the first designated touch area due to signal interference; the first sample touch area includes a plurality of sample touch points, each of which has a corresponding sample capacitance value;

[0168] a sixth determination submodule, for determining, for each of the area groups, a sample interference distance of a first sample touch area in the area group, and adding a compensation capacitance value to the sample capacitance value corresponding to each of the sample touch points, until it is determined that the first sample touch area overlaps with the first designated touch area, and using the compensation capacitance value as the corresponding sample compensation offset; the sample interference distance is used to reflect the degree of signal interference of the first designated touch area on the first sample touch area;

[0169] The establishing submodule is used to establish a preset corresponding relationship between the sample interference distance and the sample compensation offset for each of the area groups.

[0170] Optionally, the sixth determination submodule is used to divide the sample capacitance value of each sample touch point into a corresponding sample capacitance value set according to the position coordinates of each sample touch point in the first sample touch area; divide the sample capacitance values ​​in the sample capacitance value set into a first sample category and a second sample category; the sample capacitance values ​​in the first sample category are positive values, and the sample capacitance values ​​in the second sample category are negative values; determine a first sample distance and a second sample distance according to multiple sample capacitance values ​​in the sample capacitance value set, the first sample distance being the maximum distance length from the maximum capacitance value to the minimum capacitance value in the first sample category, and the second sample distance being the maximum distance length from the maximum capacitance value to the minimum capacitance value in the second sample category; the sum of the first sample distance and the second sample distance is used as the sample interference distance corresponding to the sample capacitance value set; wherein each of the sample capacitance value sets corresponds to a coordinate interval on the second coordinate axis of the screen, and different capacitance value sets correspond to different coordinate intervals; when signal interference occurs, the first designated touch area and the second designated touch area have the same touch channel in the same coordinate axis direction, and the first coordinate axis is perpendicular to the second coordinate axis.

[0171] Optionally, the device further comprises:

[0172] A second determination module is used to determine the touch area of ​​the first touch region according to the first capacitance value; each touch area is associated with a corresponding preset correspondence; different preset correspondences correspond to different touch areas;

[0173] The third determining module is used to determine a preset corresponding relationship that matches the touch area of ​​the first touch region.

[0174] Optionally, the device further comprises:

[0175] A second acquisition module, used to acquire a second capacitance value corresponding to the second touch area;

[0176] The fourth determination module is used to determine whether the first touch area and the second touch area meet the signal interference condition when it is detected that the first capacitance value includes a negative capacitance value and / or when it is detected that the second capacitance value includes a negative capacitance value.

[0177] By adopting the above-mentioned device, when signal interference occurs between the first touch area and the second touch area, the first capacitance value corresponding to the first touch area can be offset compensated by using a target compensation offset through a preset corresponding relationship. This can make the target touch area after offset compensation more closely fit the real touch area actually touched by the user, avoid screen jitter, point drift and the like during multi-finger operation, and improve the accuracy of touch area determination.

[0178] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0179] The touch area correction device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not make specific limitations.

[0180] The touch area correction device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0181] Alternatively, if Fig.19 As shown, an embodiment of the present application further provides an electronic device 300, including a processor 301 and a memory 302, wherein the memory 302 stores programs or instructions that can be executed on the processor 301, and when the program or instructions are executed by the processor 301, the various steps of the above-mentioned touch area correction method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0182] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices described above.

[0183] Fig. 20 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0184] The electronic device 400 includes but is not limited to components such as a radio frequency unit 401 , a network module 402 , an audio output unit 403 , an input unit 404 , a sensor 405 , a display unit 406 , a user input unit 407 , an interface unit 408 , a memory 409 , and a processor 410 .

[0185] Those skilled in the art will appreciate that the electronic device 400 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 410 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.19 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0186] Among them, the processor 410 is used to obtain capacitance data corresponding to a touch area on the screen, where there are multiple touch areas on the screen; when it is determined that the first touch area and the second touch area meet the signal interference condition, the target compensation offset corresponding to the first capacitance value is determined according to the first capacitance value corresponding to the first touch area and a preset correspondence relationship; according to the target compensation offset, the first touch area is corrected to obtain a target touch area; wherein the first touch area is one of the multiple touch areas, and the second touch area is another touch area among the multiple touch areas except the first touch area; the preset correspondence relationship represents the correspondence between the capacitance data and the compensation offset.

[0187] In the embodiment of the present application, by obtaining the capacitance data corresponding to the touch area on the screen, there are multiple touch areas on the screen; when it is determined that the first touch area and the second touch area meet the signal interference condition, according to the first capacitance value corresponding to the first touch area and the preset corresponding relationship, the target compensation offset corresponding to the first capacitance value is determined; according to the target compensation offset, the first touch area is corrected to obtain the target touch area; wherein the first touch area is one of the multiple touch areas, and the second touch area is another touch area in the multiple touch areas except the first touch area; the preset corresponding relationship represents the corresponding relationship between the capacitance data and the compensation offset. In this way, when the first touch area and the second touch area have signal interference, according to the first capacitance value corresponding to the first touch area, the first capacitance value is offset compensated by using the target compensation offset through the preset corresponding relationship, so that the target touch area after the offset compensation can be more closely matched to the real touch area actually touched by the user, avoiding screen jitter, point drift and other phenomena during multi-finger operation, and improving the accuracy of touch area determination.

[0188] It should be understood that in the embodiment of the present application, the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042, and the graphics processor 4041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 407 includes a touch panel 4071 and at least one of other input devices 4072. The touch panel 4071 is also called a touch screen. The touch panel 4071 may include two parts: a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0189] The memory 409 can be used to store software programs and various data. The memory 409 can mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area can store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 409 can include a volatile memory or a non-volatile memory, or the memory x09 can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 409 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0190] The processor 410 may include one or more processing units; optionally, the processor 410 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 410.

[0191] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned touch area correction method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0192] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0193] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned touch area correction method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0194] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0195] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned touch area correction method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0196] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0197] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0198] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A touch area correction method, characterized in that: The method comprises: Acquire capacitance data corresponding to a touch area on the screen, where there are multiple touch areas on the screen; When it is determined that the first touch area and the second touch area meet the signal interference condition, determining a target compensation offset corresponding to the first capacitance value according to a first capacitance value corresponding to the first touch area and a preset corresponding relationship; Correcting the first touch area according to the target compensation offset to obtain a target touch area; The first touch area is one of the multiple touch areas, and the second touch area is another touch area among the multiple touch areas except the first touch area; the preset corresponding relationship represents the corresponding relationship between the capacitance data and the compensation offset.

2. The method according to claim 1, characterized in that: The touch area includes a plurality of touch points, and the capacitance data includes capacitance values ​​generated by the touch points in the touch area; the method further includes: According to the position coordinates of each first touch point in the first touch area, dividing the first capacitance value of each first touch point into a corresponding capacitance value set; Among them, each of the capacitance value sets corresponds to a coordinate interval on the second coordinate axis of the screen, and different capacitance value sets correspond to different coordinate intervals; when signal interference occurs, the first touch position and the second touch position have the same touch channel in the same coordinate axis direction, and the first coordinate axis is perpendicular to the second coordinate axis.

3. The method according to claim 2, characterized in that The step of correcting the first touch area according to the target compensation offset to obtain a target touch area includes: Performing offset compensation on a first capacitance value in the capacitance value set according to the target compensation offset to obtain a target capacitance value set after offset compensation; Using the target position coordinates corresponding to the target capacitance values ​​in each target capacitance value set as the target touch position, wherein the target capacitance value is a capacitance value greater than or equal to the capacitance reference value; The areas corresponding to the multiple target touch positions are used as the target touch areas.

4. The method according to claim 3, characterized in that The performing offset compensation on the first capacitance value in the capacitance value set according to the target compensation offset to obtain the target capacitance value set after the offset compensation comprises: Dividing the first capacitance values ​​in the capacitance value set into a first category and a second category; the first capacitance values ​​in the first category include positive values, and the first capacitance values ​​in the second category include negative values; According to the position coordinates of the first touch point, in the direction of the second coordinate axis, the first capacitance values ​​in the first category are matched head to tail with the first capacitance values ​​in the second category, and are added in pairs to obtain a sum of the capacitances; When the capacitance sum is greater than or equal to a preset threshold, the first capacitance value in the second category is corrected to the capacitance sum, and after the correction is completed, a corrected capacitance value set is obtained; Offset compensation is performed on a first capacitance value in the corrected capacitance value set according to the target compensation offset to obtain a target capacitance value set after offset compensation.

5. The method according to claim 2, characterized in that: The determining, according to the first capacitance value corresponding to the first touch control area and the preset corresponding relationship, a target compensation offset corresponding to the first capacitance value comprises: Dividing the first capacitance values ​​in the capacitance value set into a first category and a second category; the first capacitance values ​​in the first category include positive values, and the first capacitance values ​​in the second category include negative values; Determine a first distance and a second distance according to a plurality of first capacitance values ​​in the capacitance value set, wherein the first distance is a maximum distance length from a maximum capacitance value to a minimum capacitance value in the first category, and the second distance is a maximum distance length from a maximum capacitance value to a minimum capacitance value in the second category; The sum of the first distance and the second distance is used as the interference distance corresponding to the capacitance value set: A target compensation offset corresponding to each of the capacitance value sets is determined according to the interference distance and the preset corresponding relationship, wherein the preset corresponding relationship includes an interference distance determined by the capacitance data and a compensation offset corresponding to the interference distance.

6. The method according to claim 5, characterized in that The method further comprises: Acquire multiple area groups, each of the area groups includes a first designated touch area, a second designated touch area, and a first sample touch area, the first designated touch area and the second designated touch area satisfy the signal interference condition, the first sample touch area is a touch area obtained by offsetting the first designated touch area due to signal interference; the first sample touch area includes multiple sample touch points, each of the sample touch points has a corresponding sample capacitance value; For each of the area groups, a sample interference distance of a first sample touch area in the area group is determined, and a compensation capacitance value is added to the sample capacitance value corresponding to each of the sample touch points, until it is determined that the first sample touch area overlaps with the first designated touch area, and the compensation capacitance value is used as the corresponding sample compensation offset; the sample interference distance is used to reflect the degree of signal interference of the first designated touch area on the first sample touch area; For each of the area groups, a preset corresponding relationship between the sample interference distance and the sample compensation offset is established.

7. The method according to claim 6, characterized in that The determining the sample interference distance of the first sample touch area comprises: According to the position coordinates of each sample touch point in the first sample touch area, the sample capacitance value of each sample touch point is divided into a corresponding sample capacitance value set; Dividing the sample capacitance values ​​in the sample capacitance value set into a first sample category and a second sample category; the sample capacitance values ​​in the first sample category are positive values, and the sample capacitance values ​​in the second sample category are negative values; Determine a first sample distance and a second sample distance according to a plurality of sample capacitance values ​​in the sample capacitance value set, wherein the first sample distance is a maximum distance length from a maximum capacitance value to a minimum capacitance value in the first sample classification, and the second sample distance is a maximum distance length from a maximum capacitance value to a minimum capacitance value in the second sample classification; Taking the sum of the first sample distance and the second sample distance as the sample interference distance corresponding to the sample capacitance value set; Among them, each of the sample capacitance value sets corresponds to a coordinate interval on the second coordinate axis of the screen, and different capacitance value sets correspond to different coordinate intervals; when signal interference occurs, the first designated touch area and the second designated touch area have the same touch channel in the same coordinate axis direction, and the first coordinate axis is perpendicular to the second coordinate axis.

8. The method according to claim 1, characterized in that: The method further comprises: Determine the touch area of ​​the first touch region according to the first capacitance value; each touch area is associated with a corresponding preset correspondence; different preset correspondences correspond to different touch areas; A preset corresponding relationship matching the touch area of ​​the first touch region is determined.

9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: Acquire a second capacitance value corresponding to the second touch area; When it is detected that the first capacitance value includes a negative capacitance value and / or when it is detected that the second capacitance value includes a negative capacitance value, it is determined that the first touch control area and the second touch control area meet a signal interference condition.

10. A touch area correction device, characterized in that: The device comprises: A first acquisition module is used to acquire capacitance data corresponding to a touch area on the screen, where there are multiple touch areas on the screen; A first determination module, configured to determine a target compensation offset corresponding to the first capacitance value according to a first capacitance value corresponding to the first touch area and a preset corresponding relationship when it is determined that the first touch area and the second touch area meet a signal interference condition; A correction module, configured to correct the first touch area according to the target compensation offset to obtain a target touch area; The first touch area is one of the multiple touch areas, and the second touch area is another touch area among the multiple touch areas except the first touch area; the preset corresponding relationship represents the corresponding relationship between the capacitance data and the compensation offset.

11. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method according to any one of claims 1 to 9.

12. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.