Touch operation response method and device and electronic equipment

By obtaining the characterization value of the touch screen capacitance data and tilt state, the touch operation response method is optimized, and the operation failure caused by traditional anti-touch solutions is solved, which improves the user experience.

CN120335635APending Publication Date: 2025-07-18GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410065227.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-16
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

The anti-touch solution of traditional touch screens can easily lead to mistaken interception of real finger presses, affecting the operating experience.

Method used

By acquiring the capacitance data of the touch screen, determining the touch area, and obtaining the characterization value according to the tilt state of the touch area, confirming whether it is responding to the touch operation, and optimizing the large-area suppression function.

Benefits of technology

Effectively distinguish between real and effective touch, avoid failure of large fingers or heavier presses, and improve user touch experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120335635A_ABST
    Figure CN120335635A_ABST
Patent Text Reader

Abstract

The invention relates to a touch operation response method and device and electronic equipment. The method comprises the steps of obtaining capacitance data of a touch screen in response to a touch operation for the touch screen; determining a touch area corresponding to the touch operation according to the capacitance data; according to the touch area, a characterization value used for characterizing the inclination state of the touch operation is obtained, and whether the touch operation is responded or not is determined based on the characterization value. The characterization value is obtained based on the touch area, real and effective touch is distinguished by judging the inclination state of the touch operation, the problem that normal touch is intercepted and disappeared can be optimized, the problem that big finger or heavy pressing fails is effectively solved, and the touch experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of touch technology, and in particular, to a touch operation response method, device, and electronic device. Background Art

[0002] With the development of science and technology, mobile terminals are used more and more widely and have more and more functions, and have become one of the necessities in people's daily lives. Moreover, as users' usage requirements are getting higher and higher, in order to better apply touch screens, anti-misoperation technologies for touch screens have been proposed. However, traditional anti-misoperation solutions are prone to problems that affect operations, and the user experience is poor. Summary of the Invention

[0003] Based on this, it is necessary to provide a touch operation response method, device, and electronic device that can avoid affecting operations for the above technical problems.

[0004] In a first aspect, this application provides a touch operation response method, and the method includes:

[0005] In response to a touch operation on a touch screen, obtain capacitance data of the touch screen;

[0006] Determine a touch area corresponding to the touch operation according to the capacitance data;

[0007] Obtain a characterization value for characterizing the tilt state of the touch operation according to the touch area, and confirm whether to respond to the touch operation based on the characterization value.

[0008] In one embodiment, confirming whether to respond to the touch operation based on the characterization value includes:

[0009] If it is determined according to the characterization value that the touch area is a valid touch area, then respond to the touch operation and turn off the large-area suppression function, where the large-area suppression function is used to not respond to the touch operation when the touch area is larger than a preset area;

[0010] If it is determined according to the characterization value that the touch area is not a valid touch area, then do not respond to the touch operation and keep the large-area suppression function in an on state.

[0011] In one embodiment, the capacitance data includes full-screen data of the touch screen;

[0012] Determining a touch area corresponding to the touch operation according to the capacitance data includes:

[0013] Perform area search for the maximum value in the full-screen data to obtain the touch area.

[0014] In one embodiment, performing area search for the maximum value in the full-screen data to obtain the touch area includes:

[0015] Find the neighborhood regions near the region where the maximum value is located that meet the region inclusion conditions; the region inclusion conditions include that the data difference corresponding to the neighborhood region is greater than the corresponding inclusion threshold; the data difference is the difference between the sampled data of the neighborhood region and the reference data;

[0016] Determine the region where the maximum value is located and the neighborhood regions that meet the region inclusion conditions as the touch region.

[0017] In one embodiment, the inclusion threshold includes multiple sub-thresholds; the sub-thresholds corresponding to each neighborhood region in the touch region gradually decrease in the direction from the inside to the outside;

[0018] Finding the neighborhood regions near the region where the maximum value is located that meet the region inclusion conditions includes:

[0019] Find the neighborhood regions near the region where the maximum value is located where the data difference is greater than the largest sub-threshold;

[0020] Find the neighborhood regions near the neighborhood regions where the data difference is greater than the largest sub-threshold where the data difference is greater than the second largest sub-threshold, and stop searching until the neighborhood regions where the data difference is less than the smallest sub-threshold are found.

[0021] In one embodiment, the characterization value includes the tilt angle of the touch region;

[0022] According to the touch region, obtain the characterization value used to characterize the tilt state of the touch operation, including:

[0023] Obtain the absolute distance between each touch sub-region in the touch region;

[0024] When it is determined based on each absolute distance that there is exactly one pair of touch sub-regions that are the farthest apart, obtain the region coordinates corresponding to the touch sub-regions that are the farthest apart;

[0025] Obtain the tilt angle according to the region coordinates.

[0026] In one embodiment, obtaining the absolute distance between each touch sub-region in the touch region includes:

[0027] Obtain the position information of the touch sub-region according to the channel number;

[0028] Based on the position information, calculate the Euclidean distance between each touch sub-region.

[0029] In one embodiment, obtaining the tilt angle according to the region coordinates includes:

[0030] Taking any region coordinate as the origin of the rectangular coordinate system, calculate the included angle between the other region coordinate and the horizontal coordinate axis of the rectangular coordinate system, and take the included angle as the tilt angle.

[0031] In one embodiment, the method further includes:

[0032] When the tilt angle is greater than a preset threshold, it is determined that the touch operation is in a tilted state, and the touch area is confirmed as a valid touch area;

[0033] When the tilt angle is less than or equal to the preset threshold, it is determined that the touch area is not a valid touch area.

[0034] In one embodiment, the method further includes:

[0035] When there are multiple pairs of touch sub-regions that are farthest apart, it is determined that the touch area is not a valid touch area.

[0036] In one embodiment, the characterization value includes the shape information of the touch area;

[0037] Obtaining a characterization value for characterizing the tilted state of the touch operation according to the touch area includes:

[0038] Taking the aspect ratio of the length and width of the touch area as the shape information of the touch area.

[0039] In one embodiment, the method further includes:

[0040] When the aspect ratio is greater than a first ratio threshold, it is determined that the touch operation is in a tilted state, and the touch area is confirmed as a valid touch area;

[0041] When the aspect ratio is less than or equal to the first ratio threshold, it is determined that the touch area is not a valid touch area.

[0042] In one embodiment, the characterization value includes the target area ratio;

[0043] Obtaining a characterization value for characterizing the tilted state of the touch operation according to the touch area includes:

[0044] Determining a rectangular area obtained by boundary statistics of the touch area;

[0045] According to the sampling data of the rectangular area, confirming the target area in the rectangular area; the target area is the area where the difference between the sampling data and the reference data is greater than the area threshold;

[0046] Taking the ratio of the number of target areas to the number of sub-areas of the rectangular area as the target area ratio.

[0047] In one embodiment, the area threshold is the product of the maximum value in the sampling data of the rectangular area and a preset coefficient.

[0048] In one embodiment, the method further includes:

[0049] When the target area ratio is less than the second ratio threshold, it is determined that the touch operation is in an inclined state, and the touch area is confirmed as a valid touch area;

[0050] When the target area ratio is greater than or equal to the second ratio threshold, it is determined that the touch area is not a valid touch area.

[0051] In a second aspect, the present application further provides a touch operation response device, which includes:

[0052] A capacitance data acquisition module, configured to acquire capacitance data of the touch screen in response to a touch operation on the touch screen;

[0053] A touch area determination module, configured to determine a touch area corresponding to the touch operation according to the capacitance data;

[0054] An operation response module, configured to obtain a characterization value for characterizing the inclined state of the touch operation according to the touch area, and confirm whether to respond to the touch operation based on the characterization value.

[0055] In a third aspect, the present application further provides an electronic device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the steps of the above method are implemented.

[0056] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0057] In a fifth aspect, the present application further provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0058] For the above touch operation response method, device and electronic device, in response to a touch operation on the touch screen, capacitance data of the touch screen is acquired, and according to the capacitance data, a touch area corresponding to the touch operation is determined. Furthermore, according to the touch area, a characterization value for characterizing the inclined state of the touch operation is obtained, and whether to respond to the touch operation is confirmed based on the characterization value. The present application obtains the characterization value based on the touch area, and distinguishes real and valid touches by determining the inclined state of the touch operation, which can optimize the problem of normal touches being intercepted and eliminated, effectively solve the problem of ineffective touches by large fingers or heavy presses, and improve the user's touch experience. Description of the Drawings

[0059] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0060] Figure 1 It is an application environment diagram of the touch operation response method in an embodiment;

[0061] Figure 2 It is a schematic flowchart of the touch operation response method in an embodiment;

[0062] Figure 3 It is a schematic flowchart of the touch area determination step in an embodiment;

[0063] Figure 4 It is a schematic flowchart of the area search step in an embodiment;

[0064] Figure 5 It is a schematic flowchart of the area search step in an embodiment;

[0065] Figure 6 It is a schematic flowchart of the process of obtaining the tilt angle in an embodiment;

[0066] Figure 7 It is a schematic diagram of multiple pairs of nodes with the largest distance in an embodiment;

[0067] Figure 8 It is a schematic flowchart of the step of obtaining the Euclidean distance in an embodiment;

[0068] Figure 9 It is a schematic diagram of calculating the distance between two nodes through the absolute distance in an embodiment;

[0069] Figure 10 It is a schematic diagram of calculating the tilt angle in an embodiment;

[0070] Figure 11 It is a schematic flowchart of large-area suppression optimization through the tilt angle in an embodiment;

[0071] Figure 12 It is a schematic flowchart of determining the target area ratio in an embodiment;

[0072] Figure 13 It is a schematic diagram of the effective pressing area ratio of the touch area in an embodiment;

[0073] Figure 14 It is a structural block diagram of the touch operation response device in an embodiment;

[0074] Figure 15 It is an internal structure diagram of an electronic device in an embodiment. Detailed implementation manners

[0075] In order to make the objectives, technical solutions and advantages of the present application more clear and understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0076] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0077] It can be understood that terms such as "first" and "second" in this application are only used to distinguish similar objects and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. The "connection" that appears in the embodiments of this application refers to various connection methods such as direct connection or indirect connection. It can be understood that if there is an electrical signal or data transmission between the connected circuits, modules, units, etc., it should be understood as "electrical connection", "communication connection", etc.

[0078] It can be understood that "at least one" means one or more, and "a plurality" means two or more.

[0079] As used herein, the singular forms "a", "an" and "the" may also include the plural forms unless the context clearly dictates otherwise. It should also be understood that the terms "comprises / comprising" or "has / including" etc. specify the presence of the stated features, wholes, steps, operations, components, parts or combinations thereof, but do not preclude the presence or addition of one or more other features, wholes, steps, operations, components, parts or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the related listed items.

[0080] In the traditional technology, it is determined whether to enter a large area by the size of the touch area. After entering the large area, all target touch coordinates on the full screen are eliminated and the reporting is suppressed. However, in the traditional method of determining whether to enter a large area by the size of the touch area, it is easy to cause some real finger presses to be misintercepted as large area elimination, resulting in the problem that the touch has no response (touch failure).

[0081] To solve the above problems, the present application proposes a touch operation response method, device and electronic device. First, some technical terms or technical concepts applicable to the present application are introduced.

[0082] TpAlgo: Touch panel algorithm, the touch control algorithm module.

[0083] Base: The base. During the touch detection of a capacitive touch screen, the touch control chip first samples the original data through an ADC (Analog-to-Digital Converter) to obtain the original value, and then establishes a base based on the original value to obtain the base value.

[0084] DiffData: The capacitance value data of the capacitive touch screen. Subtract the original value from the base value to obtain the difference value, and the coordinate value can be calculated from the difference value. In order to obtain the correct difference value, a correct base needs to be maintained, that is, the original value used to establish the base should be the original value sampled when the capacitive touch screen is in a stable state. The stable state means the state when there are no objects such as fingers, styli, water droplets, etc. on the capacitive touch screen that can change the size of the original value.

[0085] Mutual capacitance: The mutual capacitance type touch screen is a new type of capacitive touch technology. The touch panel contains a grid, like an array, which consists of a baseline array of X by Y, forming a capacitance of X*Y units. It forms mutual capacitance between the elements of columns and rows, and the controller measures each node separately, changing the distortion of the electric field on the touch position. Therefore, when a finger approaches or touches the screen, the capacitance will decrease; the mutual capacitance has matrix data signals.

[0086] Self-capacitance: The self-capacitance of a capacitive touch screen refers to the capacitance between the surface of the touch screen and the inside of the touch screen. When a finger or other conductor touches the surface of the touch screen, an electric field will be formed between the surface of the touch screen and the inside of the touch screen, thus generating capacitance. This capacitance is the self-capacitance. The size of the self-capacitance depends on factors such as the geometry, material, and surface state of the touch screen. In a capacitive touch screen, the self-capacitance can be used to detect touch events on the surface of the touch screen, thereby realizing the interactive function of the touch screen. The scanning method of the self-capacitance is equivalent to projecting the touch points on the touch screen onto the X-axis and Y-axis directions respectively, then calculating the coordinates in the X-axis and Y-axis directions respectively, and finally combining them into the coordinates of the touch point. The self-capacitance has only 2 data signals.

[0087] Maximum value: It refers to the largest numerical value in a set of data. In mathematics and statistics, the maximum value can be used to describe the maximum value of a random variable. In optimization problems, the maximum value can be used to find the optimal solution.

[0088] The touch operation response method provided by the embodiments of the present application can be applied to an application environment as Figure 1 shown. The electronic device 10 is configured with a touch screen 102. Optionally, the touch screen 102 can be a capacitive touch screen. Among them, in the case where the user's finger is relatively large or the pressing force is relatively heavy, the electronic device 10 determines it as a large-area press, and then enables the large-area suppression function, determining the touch area as a large-area region for suppression operation, resulting in inability to operate, while the present application can achieve large-area suppression optimization.

[0089] Exemplarily, the electronic device 102 may be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers, Internet of Things devices, and portable wearable devices. The Internet of Things devices may be smart speakers, smart TVs, smart air conditioners, in-vehicle devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. Optionally, taking the electronic device 102 as a mobile terminal as an example, in the embodiments of the present application, by using the feature of the characterization value representing the tilt state of the touch operation, the touch area is judged, which optimizes the situation where a large area is suppressed and cannot be manipulated when the user's finger is large or the touch is heavy, effectively solves the problem of ineffective pressing of large fingers or heavy pressing, such as the situation where the thumb presses and accidentally enters a large area of suppression in a game scenario, avoids touch failure, and improves the user's touch experience. Hereinafter, taking the electronic device as a mobile terminal as an example, the specific process of the embodiments of the present application will be described.

[0090] In an exemplary embodiment, as Figure 2 shown, a touch operation response method is provided. Taking the method applied to the Figure 1 electronic device therein as an example for description, it includes the following steps 202 to step 206. Wherein:

[0091] Step 202, in response to a touch operation on the touch screen, obtain the capacitance data of the touch screen.

[0092] Among them, when the electronic device detects a touch operation acting on the touch screen, it can obtain the capacitance data collected by the touch screen, such as the capacitance data collected for the entire screen. Exemplarily, the capacitance data includes the full-screen data of the touch screen; taking the touch screen as a capacitive touch screen as an example, the capacitance data may be the full-screen data of the capacitive touch screen. Optionally, the capacitance data may be mutual capacitance data.

[0093] Furthermore, the touch operation may be a long press or a short press; exemplarily, the touch operation may be a continuous action, that is, pressing and swiping are performed simultaneously, or it may be a separate action, such as first inputting a press sub-operation and then inputting a swipe sub-operation, or first inputting a swipe sub-operation and then inputting a press sub-operation. It should be understood that the pressing type in the embodiments of the present application may include heavy pressing.

[0094] Step 204, according to the capacitance data, determine the touch area corresponding to the touch operation.

[0095] Specifically, the electronic device may determine the touch area corresponding to the touch operation according to the capacitance data. Among them, the touch area may refer to the finger touch area.

[0096] Exemplarily, for the touch area corresponding to the touch operation in the embodiments of the present application, the electronic device can perform a large-area determination, and then determine whether to enable the large-area suppression function. Among them, through the touch operation response method in the embodiments of the present application, the large-area suppression function can be optimized to ensure the effectiveness of the real touch operation. Taking the electronic device as a mobile terminal as an example, in the embodiments of the present application, the mobile terminal can preset and store the large-area suppression function, where the large-area suppression function is used to not respond to the touch operation when the touch area corresponding to the touch operation acting on the touch screen is greater than the preset area.

[0097] Specifically, if the mobile terminal enables the large-area suppression function, the mobile terminal can detect the touch operation acting on the touch screen, obtain the touch area corresponding to the touch operation, and compare the touch area corresponding to the touch operation with the preset area to determine whether the touch area corresponding to the touch operation is greater than the preset area. Among them, when the comparison result indicates that the touch area corresponding to the touch operation is greater than the preset area, the touch operation is not responded to. When the comparison result indicates that the touch area corresponding to the touch operation is not greater than the preset area, the touch operation is normally responded to. If the mobile terminal disables the large-area suppression function, the mobile terminal can detect the touch operation acting on the touch screen and respond to the touch operation when the touch operation is detected. In some embodiments, the preset area can be set by default by the mobile terminal or can be automatically set by the user according to needs. For example, it can be manually set according to the size of the user's finger, etc., and is not limited here.

[0098] In an exemplary embodiment, the capacitance data includes the full-screen data of the touch screen; determining the touch area corresponding to the touch operation according to the capacitance data may include:

[0099] Performing a region search for the maximum value in the full-screen data to obtain the touch area.

[0100] Specifically, the electronic device can perform a region search for the full-screen data of the touch screen, and then determine the touch area; the touch area may refer to the touch area corresponding to the mutual capacitance data of the touch screen in the case of a touch operation. Exemplarily, the touch area may refer to the surrounding area of the maximum value.

[0101] Further, taking the touch area as the finger touch area as an example, the electronic device searches for the maximum value (the maximum value is the local maximum value) of the capacitance data collected full-screen, and then performs a region search for each maximum value to obtain the finger touch area.

[0102] In an exemplary embodiment, performing a region search for the maximum value in the full-screen data to obtain the touch area includes steps 302 to 304. Among them:

[0103] Step 302: Locate the neighborhood regions near the region where the maximum value lies and that meet the region inclusion criteria. The region inclusion criteria include that the data difference corresponding to the neighborhood region is greater than the corresponding inclusion threshold. The data difference is the difference between the sampled data of the neighborhood region and the reference data.

[0104] Specifically, the electronic device can search outward along the region where the maximum value lies to continuously find the neighborhood regions that meet the region inclusion criteria. The region where the maximum value lies can be called the maximum value node, and the neighborhood regions that meet the region inclusion criteria can be called the diffusion nodes. Among them, taking the full-screen data as the mutual capacitance data as an example, the mutual capacitance data has many negative and positive values. Regarding the negative and positive values, for the sampled data (i.e., the original sampled data rawdata) obtained by the capacitive touch screen, the capacitive touch screen can calculate the data difference (diffdata) based on the sampled data and the reference data (refdata). This difference is either negative or positive (where the region where the negative value lies can be called the negative value node, and the region where the positive value lies can be called the positive value node). The neighborhood regions in the embodiments of the present application can be positive value nodes.

[0105] Exemplarily, the electronic device can find the neighborhood regions through the region inclusion criteria, which include that the data difference corresponding to the neighborhood region is greater than the corresponding inclusion threshold. If this condition is met, it is included in the touch region. Through the region search based on numerical values in the embodiments of the present application, the region information of the finger touch can be found.

[0106] Optionally, the inclusion threshold can be determined according to the operation type and pressing type of the touch operation to ensure the accuracy and effectiveness of obtaining the finger touch region information.

[0107] Step 304: Determine the region where the maximum value lies and the neighborhood regions that meet the region inclusion criteria as the touch region.

[0108] Specifically, for each region where the maximum value lies, after the electronic device finds the neighborhood regions that meet the conditions, it can determine the region where the maximum value lies and the neighborhood regions that meet the region inclusion criteria as the touch region, thereby ensuring the accuracy of the touch region. Cooperating with the subsequent steps, it can be determined whether the touch region is a real touch region (effective touch region).

[0109] In one of the embodiments, the inclusion threshold includes multiple sub-thresholds; the sub-thresholds corresponding to each neighborhood region in the touch region gradually decrease in the direction from the inside to the outside; as Figure 4 shown, Step 302 includes Step 402 to Step 404. Among them:

[0110] Step 402: Locate the neighborhood regions near the region where the maximum value lies and where the data difference is greater than the sub-threshold with the largest value.

[0111] Specifically, the inclusion threshold in the present application may include multiple sub-thresholds. Among them, the sub-thresholds corresponding to each neighborhood area in the touch area gradually decrease in the direction from the inside to the outside. Based on the multiple sub-thresholds in the inclusion threshold, embodiments of the present application can quantify the touch change amount. In the peripheral area of the maximum value, the touch area can be found by searching for the area with the numerical value.

[0112] Among them, the electronic device can first search for the neighborhood area near the area where the maximum value is located, where the data difference is greater than the sub-threshold with the largest value. Taking the sub-threshold with the largest value as 100 as an example, as Figure 5 shown, it can search outward along the 8-neighborhood of the node with the maximum value of 1252, and if it is determined that one of the nodes is greater than 100, it is included in the diffusion node.

[0113] Step 404: Search for the neighborhood area near the neighborhood area where the data difference is greater than the sub-threshold with the largest value, where the data difference is greater than the sub-threshold with the second largest value, until the neighborhood area where the data difference is less than the sub-threshold with the smallest value is found, and then stop the search.

[0114] Specifically, after obtaining the neighborhood area where the data difference is greater than the sub-threshold with the largest value, the electronic device can search for the neighborhood area where the data difference is greater than the sub-threshold with the second largest value along the neighborhood area where the data difference is greater than the sub-threshold with the largest value, until the neighborhood area where the data difference is less than the sub-threshold with the smallest value is found, and then stop the search.

[0115] Taking the sub-threshold with the largest value as 100 and the sub-threshold with the smallest value as 22.5 as an example, as Figure 5 shown, the electronic device can continuously search outward along the node with the maximum value of 1252 for nodes greater than 22.5. Among them, it searches outward along the 8-neighborhood of the node with the maximum value of 1252, and if it is determined that one of the nodes is greater than 100, it is included in the diffusion node, and then continues to search outward along the 8-neighborhood of the diffusion node, and continuously searches outward to obtain all the surrounding capacitance nodes that finally exceed 22.5, as Figure 5 shown in the gray area part, and then obtain the peripheral area of the maximum value, that is, the finger touch area.

[0116] In the embodiments of the present application, the finger touch change amount reflects the finger touch area, and the information of the finger touch area can be found by searching for the area with the numerical value. As above, the electronic device determines the touch area corresponding to the touch operation through the capacitance data, and then can obtain the characterization value representing the tilt state of the touch operation.

[0117] Step 206: Obtain the characterization value used to represent the tilt state of the touch operation according to the touch area, and confirm whether to respond to the touch operation based on the characterization value.

[0118] Specifically, in the present application, it is possible to determine whether a touch is tilted through a characterization value, and then determine whether the touch area is a valid touch area; when the touch area is not a valid touch area, the touch operation is not responded to; when the touch area is a valid touch area, the touch operation is responded to, thus avoiding touch failure.

[0119] In an exemplary embodiment, determining whether to respond to a touch operation based on a characterization value includes:

[0120] If it is determined according to the characterization value that the touch area is a valid touch area, then respond to the touch operation and turn off the large-area suppression function, where the large-area suppression function is used to not respond to the touch operation when the touch area is larger than a preset area;

[0121] If it is determined according to the characterization value that the touch area is not a valid touch area, then do not respond to the touch operation and keep the large-area suppression function in the on state.

[0122] Specifically, in the present application, the tilt state of the touch operation is determined through the characterization value, thereby optimizing the problem that a normal touch is intercepted and eliminated as a large-area region; among them, when it is determined according to the characterization value that the touch operation is not in a tilted state, it is determined that the touch area is not a valid touch area, and thus the touch operation is not responded to, and the original large-area suppression determination is maintained during the large-area suppression process, that is, the large-area suppression function is kept in the on state.

[0123] When the characterization value determines that the touch operation is in a tilted state, then respond to the touch operation, do not perform a suppression operation when making a large-area determination, and determine that the touch area is a valid touch area (that is, determine the touch area as a normal pressing touch), that is, turn off the large-area suppression function, ensuring that a real touch operation is not suppressed by the large-area condition, thereby solving the problem that it is impossible to control when the user's finger is large or the pressing is heavy, and improving the user's touch experience.

[0124] The above touch operation response method can be applied to the optimization processing of finger large-area suppression of a mobile terminal, and can distinguish real and valid touches through the characterization value, ensuring that real touch operations are not suppressed by the large-area condition, thereby solving the problem that it is impossible to control when the user's finger is large or the pressing is heavy, and improving the user's touch experience; when the present application optimizes large-area mis-suppression, it can effectively solve the problem that the thumb pressing in a game scenario accidentally enters large-area suppression.

[0125] In an exemplary embodiment, the characterization value includes the tilt angle of the touch area; as Figure 6 shown, step 206 includes steps 502 to 506. Among them:

[0126] Step 502, obtain the absolute distance between each touch sub-area in the touch area;

[0127] Specifically, each touch sub-region in the touch area can be referred to as a node in the touch area. After obtaining the touch area, the electronic device can search for two nodes at the farthest positions within the area for each touch area. Among them, the electronic device can obtain the absolute distance between each node in the touch area, and then determine the distance between two nodes through the absolute distance.

[0128] Step 504, when it is determined based on the absolute distances that there is only one pair of touch sub-regions that are the farthest apart, obtain the area coordinates corresponding to the touch sub-regions that are the farthest apart;

[0129] Specifically, after obtaining the absolute distances between each node, the electronic device can determine whether there is only one pair of nodes with the farthest distance within the same touch area, that is, determine whether there is only one pair of touch sub-regions that are the farthest apart. If there is only a unique pair of nodes with the farthest distance, the electronic device can obtain the area coordinates corresponding to the two nodes that are the farthest apart, and then calculate the tilt angle through these two nodes that are the farthest apart.

[0130] In the embodiments of the present application, by counting that there is only one pair of nodes with the largest distance within the same touch area, it is determined that the touch area has a tilt angle, and then it can be accurately determined whether the touch area is a real and effective touch, so as not to be suppressed in a large area, effectively solving the problem of the failure of large fingers or heavy presses.

[0131] In an exemplary embodiment, the method may further include:

[0132] When there are multiple pairs of touch sub-regions that are the farthest apart, determine that the touch area is not a valid touch area.

[0133] Specifically, if there are multiple pairs of touch sub-regions that are the farthest apart, that is, there are multiple pairs of nodes with the farthest distance, the electronic device can determine that the touch area is not a valid touch area, and then does not respond to the touch operation and keeps the large-area suppression function in an on state. Exemplarily, as Figure 7 shown, if there are multiple pairs of nodes with the farthest distance, then when making a large-area determination, the condition of the tilt angle is not referred to, and only the determination and suppression processing are performed according to the existing conditions of the large-area suppression function.

[0134] Step 506, obtain the tilt angle according to the area coordinates.

[0135] Specifically, the electronic device calculates the tilt angle of the touch area through the area coordinates corresponding to these two nodes that are the farthest apart. Among them, the tilt angle of the touch area can be used to characterize whether the touch operation is in a tilted state, and then determine whether the touch area is a valid touch area, which can optimize the problem that normal touches are intercepted and eliminated as large-area regions, and ensure the accurate determination of real touch operations.

[0136] Exemplarily, the tilt angle of the touch area can be the included angle between the area coordinates and the coordinate axes of the coordinate system where the area coordinates are located. In the embodiments of the present application, the true and effective touch is distinguished by the tilt angle of the touch area, ensuring that the true touch operation is not suppressed by the large-area condition, and can be applied to the optimization process of large-area suppression of fingers on a mobile terminal, thereby solving the problem that it cannot be manipulated when the user's finger is large or the pressing force is heavy, and improving the user's touch experience.

[0137] In an exemplary embodiment, as Figure 8 shown, step 502 includes steps 602 to 604. Among them:

[0138] Step 602, obtaining the position information of the touch sub-area according to the channel number;

[0139] Specifically, the position information of the touch sub-area may refer to the node position in the touch area. The electronic device can determine the node position in the touch area based on the channel number; exemplarily, the node position may be composed of the X-axis channel number and the Y-axis channel number. For example, (1, 1) is the node of the first channel of the X-axis and the first channel of the Y-axis.

[0140] Step 604, calculating the Euclidean distance between each touch sub-area based on the position information.

[0141] Specifically, after obtaining the position information, the electronic device can calculate the Euclidean distance between each touch sub-area, that is, taking the Euclidean distance between each node as the absolute distance. The electronic device can calculate the distance between two nodes through the positions of the nodes themselves.

[0142] As Figure 9 shown, taking the two nodes with the farthest distance inside the touch area as node A (Ax, Ay) and node B (Bx, By) as an example, where the position information of node A (Ax, Ay) is (x1, x2), and the position information of node B (Bx, By) is (y1, y2), the distance calculation formula can be:

[0143]

[0144] Among them, is the Euclidean distance between the position (x1, x2) and the position (y1, y2).

[0145] In an exemplary embodiment, step 506 may include:

[0146] Taking any area coordinate as the origin of the rectangular coordinate system, calculating the included angle between the other area coordinate and the horizontal coordinate axis of the rectangular coordinate system, and taking the included angle as the tilt angle.

[0147] Specifically, when the electronic device obtains the area coordinates of the two nodes with the farthest distance inside the touch area, it can use any area coordinate as the origin of the rectangular coordinate system, calculate the angle between the other area coordinate and the horizontal axis of the rectangular coordinate system, and then use the angle as the tilt angle.

[0148] It should be noted that the embodiment of the present application has no requirement for the tilt direction of the tilt angle, and the tilt angle of the touch area can also be the angle between the other area coordinate and the vertical axis of the rectangular coordinate system.

[0149] Exemplarily, as Figure 10 shown, taking the two nodes with the farthest distance inside the touch area as node M and node N as an example, the present application can use node N as the center (origin) of the coordinate system, calculate the angle between node M and the X-axis, and since the position information of node M is known, the angle can be calculated by the cosine theorem:

[0150] cos A = (b² + c² - a²) / 2bc, where ABC represents the angle, and abc are the sides opposite the angles. It should be noted that it can also use node M as the center of the coordinate system, as long as the angle can be calculated as the tilt angle.

[0151] In an exemplary embodiment, the method may further include:

[0152] When the tilt angle is greater than the preset threshold, it is determined that the touch operation is in a tilted state, and the touch area is confirmed as a valid touch area;

[0153] When the tilt angle is less than or equal to the preset threshold, it is determined that the touch area is not a valid touch area.

[0154] Specifically, after calculating the tilt angle of the touch area, the electronic device can use the tilt angle to make a determination with the preset threshold. When it exceeds the preset threshold, it is determined that the touch operation is in a tilted state, and the touch area is confirmed as a valid touch area. Then, when making a large-area determination, no suppression operation is performed, that is, the touch area is determined as a normal press touch. If the tilt angle is less than or equal to the preset threshold, it can be determined that the touch area is not a valid touch area. Then, during the large-area suppression process, the tilt angle is not referred to, and the original large-area suppression determination is maintained.

[0155] To further illustrate the solution of the present application, a specific example is given below. As Figure 11 shown, taking the electronic device as a mobile terminal as an example, the embodiment of the present application can judge the touch area through the tilt angle. When the tilt angle is larger than the preset threshold, during the large-area determination, this area is not determined as a large-area area for suppression operation. Thus, it can optimize the problem that when the user's finger is large or the touch is heavy, the area is suppressed and cannot be manipulated in the large area.

[0156] Among them, the mobile terminal performs a maximum value search on the capacitance data collected in the full screen, and then performs a regional search for each maximum value to obtain the touch area; after obtaining the touch area, the mobile terminal searches for two nodes at the farthest positions within the area for each touch area, and then determines whether there is only a pair of nodes at the farthest distance within the same touch area. If there are multiple pairs of nodes at the farthest distance, the tilt angle is not referred to during the large area determination, and only the suppression process is determined according to the conditions of the large area suppression function. If there is only a unique pair of nodes at the farthest distance, the mobile terminal calculates the tilt angle through the two nodes at the farthest distance. After calculating the tilt angle of the touch area, the mobile terminal uses the tilt angle to make a determination with a preset threshold. When the preset threshold is exceeded, no suppression operation is performed during the large area determination, and the touch area is determined to be a normal press touch. If the tilt angle is less than the preset threshold, the tilt angle is not referred to during the large area suppression process, and the original large area suppression determination is maintained.

[0157] The above touch operation response method proposes to optimize the problem that normal touches are intercepted and cancelled as large area regions through the determination of the tilt angle of the touch area. Among them, regarding the calculation of the tilt angle of the touch area, by statistically finding the pair of nodes with the largest Euclidean distance within the same touch area, it is determined that the touch area has a tilt angle, and then the tilt angle of the touch area is calculated through the cosine theorem; further, when the tilt angle of the touch area exceeds the preset threshold, it is determined as a real and effective touch, so that it is not suppressed by the large area, effectively solving the problem of ineffective operation of large fingers or heavy presses.

[0158] The embodiment of this application is applied to the optimization processing of large area suppression of fingers on a mobile terminal, and can distinguish real and effective touches through the tilt angle of the touch area, ensuring that real touch operations are not suppressed by the large area conditions, and further solving the problem that users cannot operate when their fingers are larger or the presses are heavier, improving the user's touch experience; in the case of optimizing large area mis-suppression in this application, it can effectively solve the problem of mis-entering large area suppression when pressing the thumb in a game scenario.

[0159] As above, the embodiment of this application proposes to determine whether the touch area is a real press according to the tilt angle of the touch area. Further, it can be extended to other determination conditions to determine whether the touch area is an effective touch area, so as not to be eliminated by the large area suppression conditions and avoid touch failure.

[0160] In an exemplary embodiment, the characterization value includes the shape information of the touch area; step 206 may include:

[0161] Taking the aspect ratio of the length and width of the touch area as the shape information of the touch area.

[0162] Specifically, the electronic device can determine whether the touch area is a valid touch area according to the shape information of the touch area, such as the aspect ratio information. Exemplarily, if the aspect ratio is relatively large, it is considered that the elliptical shape is more obvious, which further indicates that the touch is inclined, and it is determined that the touch area is a valid touch area.

[0163] In an exemplary embodiment, the method may further include:

[0164] When the aspect ratio is greater than the first ratio threshold, it is determined that the touch operation is in an inclined state, and the touch area is confirmed as a valid touch area;

[0165] When the aspect ratio is less than or equal to the first ratio threshold, it is determined that the touch area is not a valid touch area.

[0166] Specifically, the electronic device can quantify the shape information of the touch area through the first ratio threshold. Among them, when the aspect ratio is greater than the first ratio threshold, that is, when the aspect ratio is relatively large, it is considered that the elliptical shape is more obvious, and the touch area can be confirmed as a valid touch area, which is not eliminated by the large-area suppression condition, avoiding touch failure. When the aspect ratio is less than or equal to the first ratio threshold, it is determined that the touch area is not a valid touch area, and the large-area suppression function can be used subsequently to determine whether to respond to the touch operation.

[0167] In an exemplary embodiment, the characterization value includes the target area ratio; as Figure 12 shown, step 206 may include steps 702 to 706. Among them:

[0168] Step 702, determining the rectangular area obtained by boundary statistics of the touch area;

[0169] Specifically, the electronic device can statistically obtain the boundary positions of the capacitance data of the touch area, that is, determine the rectangular area obtained by boundary statistics of the touch area.

[0170] Step 704, according to the sampling data of the rectangular area, confirming the target area in the rectangular area; the target area is the area where the difference between the sampling data and the reference data is greater than the area threshold;

[0171] Specifically, the difference between the sampling data and the reference data of the target area is greater than the area threshold. Exemplarily, the area threshold is the product of the maximum value in the sampling data of the rectangular area (the maximum value in the touch area, that is, the maximum value of the difference) and a preset coefficient, where the preset coefficient can be 0.1, or other coefficients, such as 0.2 to 0.15, etc. Optionally, the electronic device can obtain the number of nodes in the rectangular frame formed by the touch area that exceed 0.1 times the maximum value.

[0172] Step 706: Use the ratio of the number of target regions to the number of sub-regions of the rectangular region as the target region ratio.

[0173] Specifically, the electronic device uses the ratio of the number of target regions to the number of sub-regions of the rectangular region as the target region ratio, and this target region ratio can be represented by the effective pressing region ratio.

[0174] In an exemplary embodiment, the method may further include:

[0175] When the target region ratio is less than the second ratio threshold, it is determined that the touch operation is in an inclined state, and the touch region is confirmed as a valid touch region;

[0176] When the target region ratio is greater than or equal to the second ratio threshold, it is determined that the touch region is not a valid touch region.

[0177] Specifically, the electronic device can quantify the target region ratio through the second ratio threshold.

[0178] Exemplarily, the electronic device can determine whether the touch region is a real press according to the ratio of the number of nodes exceeding 0.1 of the maximum value inside the rectangular frame formed by the touch region to the total number of nodes of the rectangular frame, that is, the effective pressing region ratio. When the effective pressing region ratio is relatively small, as Figure 13 shown, the effective pressing region ratio of the touch region is small, indicating that the touch is inclined. By the small effective pressing region ratio, it is determined that the touch region is a valid touch region, which is not eliminated by the large-area suppression condition, avoiding touch control failure.

[0179] It should be noted that the premise for using the above other determination conditions such as shape information and target region ratio can also be that there is only one pair of nodes with the farthest distance inside the same touch region, so as to further improve the accuracy of valid touch region determination.

[0180] As above, this application is applied to the optimization processing of large-area suppression of fingers on mobile terminals, which can distinguish real and valid touches through the characterization value, ensure that real touch operations are not suppressed by large-area conditions, and then solve the problem that users cannot operate when their fingers are relatively large or the pressing is relatively heavy, improving the user's touch experience; in the case of optimizing large-area mis-suppression in this application, it can effectively solve the problem that the thumb presses by mistake and enters large-area suppression in the game scenario.

[0181] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown according to the indications of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise clearly stated in this article, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.

[0182] Based on the same inventive concept, an embodiment of the present application further provides a touch operation response device for implementing the touch operation response method described above. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the touch operation response device provided below can refer to the limitations on the touch operation response method in the above text, and will not be repeated here.

[0183] In an exemplary embodiment, as Figure 14 shown, a touch operation response device is provided, including:

[0184] A capacitance data acquisition module 901, configured to acquire capacitance data of the touch screen in response to a touch operation on the touch screen;

[0185] A touch area determination module 902, configured to determine a touch area corresponding to the touch operation according to the capacitance data;

[0186] An operation response module 903, configured to obtain a characterization value for characterizing the tilt state of the touch operation according to the touch area, and confirm whether to respond to the touch operation based on the characterization value.

[0187] In one of the embodiments, the operation response module 903 includes:

[0188] A suppression function closing module, configured to respond to the touch operation and close the large-area suppression function if it is determined according to the characterization value that the touch area is a valid touch area, where the large-area suppression function is used to not respond to the touch operation when the touch area is greater than a preset area;

[0189] A suppression function opening module, configured to not respond to the touch operation and keep the large-area suppression function in an open state if it is determined according to the characterization value that the touch area is not a valid touch area.

[0190] In one of the embodiments, the capacitance data includes full-screen data of the touch screen;

[0191] A touch area determination module 902, configured to perform area search for maximum values in full-screen data to obtain a touch area.

[0192] In one embodiment, the touch area determination module 902 includes:

[0193] A neighborhood search module, configured to search for a neighborhood area near the area where the maximum value is located and meeting the area inclusion condition; the area inclusion condition includes that the data difference corresponding to the neighborhood area is greater than a corresponding inclusion threshold; the data difference is the difference between the sampled data of the neighborhood area and the reference data;

[0194] An area confirmation module, configured to determine the area where the maximum value is located and the neighborhood areas meeting the area inclusion condition as the touch area.

[0195] In one embodiment, the inclusion threshold includes a plurality of sub-thresholds; the sub-thresholds corresponding to the neighborhood areas in the touch area gradually decrease in the direction from the inside to the outside;

[0196] The neighborhood search module is configured to search for a neighborhood area near the area where the maximum value is located and having a data difference greater than the largest sub-threshold value; and search for a neighborhood area near the neighborhood area having a data difference greater than the largest sub-threshold value and having a data difference greater than the second largest sub-threshold value, until a neighborhood area having a data difference less than the smallest sub-threshold value is found, and then stop the search.

[0197] In one embodiment, the characterization value includes the tilt angle of the touch area;

[0198] The operation response module 903 includes:

[0199] An absolute distance acquisition module, configured to acquire the absolute distance between each touch sub-area in the touch area;

[0200] An area coordinate acquisition module, configured to, when it is determined based on the absolute distances that there is only one pair of touch sub-areas that are the farthest apart, acquire the area coordinates corresponding to the touch sub-areas that are the farthest apart;

[0201] A tilt angle acquisition module, configured to obtain the tilt angle according to the area coordinates.

[0202] In one embodiment, the absolute distance acquisition module includes:

[0203] A position information acquisition module, configured to acquire the position information of the touch sub-area according to the channel number;

[0204] A Euclidean distance acquisition module, configured to calculate the Euclidean distance between each touch sub-area based on the position information.

[0205] In one embodiment, an inclination angle acquisition module is configured to use the coordinates of any region as the origin of a rectangular coordinate system, calculate the angle between the coordinates of another region and the horizontal coordinate axis of the rectangular coordinate system, and use the angle as the inclination angle.

[0206] In one embodiment, the device further includes:

[0207] A valid region confirmation module is configured to determine that the touch operation is in an inclined state and confirm the touch region as a valid touch region when the inclination angle is greater than a preset threshold; and determine that the touch region is not a valid touch region when the inclination angle is less than or equal to the preset threshold.

[0208] In one embodiment, the device further includes:

[0209] A valid region confirmation module is configured to determine that the touch region is not a valid touch region when there are multiple pairs of touch sub-regions with the farthest distance.

[0210] In one embodiment, the characterization value includes the shape information of the touch region;

[0211] An operation response module 903 is configured to use the aspect ratio of the touch region as the shape information of the touch region.

[0212] In one embodiment, the device further includes:

[0213] A valid region confirmation module is configured to determine that the touch operation is in an inclined state and confirm the touch region as a valid touch region when the aspect ratio is greater than a first ratio threshold; and determine that the touch region is not a valid touch region when the aspect ratio is less than or equal to the first ratio threshold.

[0214] In one embodiment, the characterization value includes a target region ratio; the operation response module 903 includes:

[0215] A rectangular region acquisition module is configured to determine a rectangular region obtained by boundary statistics of the touch region;

[0216] A target region confirmation module is configured to confirm a target region in the rectangular region according to the sampling data of the rectangular region; the target region is a region where the difference between the sampling data and the reference data is greater than a region threshold;

[0217] A ratio acquisition module is configured to use the ratio of the number of target regions to the number of sub-regions of the rectangular region as the target region ratio.

[0218] In one embodiment, the region threshold is the product of the maximum value in the sampling data of the rectangular region and a preset coefficient.

[0219] In one embodiment, the device further includes:

[0220] An effective area confirmation module is configured to determine that the touch operation is in an inclined state and confirm the touch area as an effective touch area when the target area ratio is less than the second ratio threshold; and determine that the touch area is not an effective touch area when the target area ratio is greater than or equal to the second ratio threshold.

[0221] Each module in the above touch operation response device can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or stored in a memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0222] In an exemplary embodiment, an electronic device is provided. The electronic device can be a terminal, and its internal structure diagram can be as Figure 15 shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and external devices. The communication interface of the electronic device is used to communicate with external terminals in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a touch operation response method. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the electronic device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the electronic device, or an external keyboard, touchpad, or mouse, etc.

[0223] Those skilled in the art can understand that Figure 15 the structure shown in

[0224] In an exemplary embodiment, an electronic device is provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps of the above-mentioned touch operation response method are implemented.

[0225] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned touch operation response method are implemented.

[0226] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps of the above-mentioned touch operation response method are implemented.

[0227] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.

[0228] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.

[0229] The above-described embodiments merely represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the patent of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims

1. A touch operation response method, characterized in that, The method includes: In response to a touch operation on the touch screen, obtaining capacitance data of the touch screen; Determining a touch area corresponding to the touch operation according to the capacitance data; Obtaining a characterization value for characterizing the tilt state of the touch operation according to the touch area, and confirming whether to respond to the touch operation based on the characterization value.

2. The method according to claim 1, wherein The confirming whether to respond to the touch operation based on the characterization value includes: If it is determined according to the characterization value that the touch area is a valid touch area, then respond to the touch operation and turn off the large area suppression function, where the large area suppression function is used to not respond to the touch operation when the touch area is larger than a preset area; If it is determined according to the characterization value that the touch area is not a valid touch area, then do not respond to the touch operation and keep the large area suppression function in an on state.

3. The method according to claim 1, characterized in that, The capacitance data includes full screen data of the touch screen; The determining a touch area corresponding to the touch operation according to the capacitance data includes: Performing area search for the maximum value in the full screen data to obtain the touch area.

4. The method according to claim 3, characterized in that, The performing area search for the maximum value in the full screen data to obtain the touch area includes: Searching for a neighborhood area near the area where the maximum value is located that satisfies the area inclusion condition; the area inclusion condition includes that the data difference corresponding to the neighborhood area is greater than a corresponding inclusion threshold; the data difference is the difference between the sampled data of the neighborhood area and the reference data; Determining the area where the maximum value is located and the neighborhood area that satisfies the area inclusion condition as the touch area.

5. The method according to claim 4, wherein The inclusion threshold includes multiple sub-thresholds; the sub-thresholds corresponding to each neighborhood area in the touch area gradually decrease in the direction from the inside to the outside; The searching for a neighborhood area near the area where the maximum value is located that satisfies the area inclusion condition includes: Searching for a neighborhood area near the area where the maximum value is located where the data difference is greater than the largest sub-threshold; Searching for a neighborhood area near the neighborhood area where the data difference is greater than the largest sub-threshold where the data difference is greater than the second largest sub-threshold, until a neighborhood area where the data difference is less than the smallest sub-threshold is found, and then stop searching.

6. The method according to any one of claims 1 to 5, characterized in that The characterization value includes the tilt angle of the touch area; The obtaining a characterization value for characterizing the tilt state of the touch operation according to the touch area includes: Obtaining the absolute distance between each touch sub-area in the touch area; When it is determined based on each of the absolute distances that there is and only one pair of touch sub-areas that are the farthest apart, obtaining the area coordinates corresponding to the touch sub-areas that are the farthest apart; Obtaining the tilt angle according to the area coordinates.

7. The method according to claim 6, characterized in that, The obtaining the absolute distance between each touch sub-area in the touch area includes: Obtaining the position information of the touch sub-area according to the channel number; Calculating the Euclidean distance between each touch sub-area based on the position information.

8. The method according to claim 6, wherein The obtaining the tilt angle according to the area coordinates includes: Taking any one of the region coordinates as the origin of a rectangular coordinate system, calculate the angle between the other region coordinate and the horizontal axis of the rectangular coordinate system, and use this angle as the tilt angle.

9. The method according to claim 6, wherein The method further includes: When the tilt angle is greater than a preset threshold, determine that the touch operation is in a tilted state, and confirm the touch area as a valid touch area; When the tilt angle is less than or equal to the preset threshold, determine that the touch area is not a valid touch area.

10. The method according to claim 6, wherein The method further includes: When there are multiple pairs of touch sub-regions that are the farthest apart, determine that the touch area is not a valid touch area.

11. The method according to any one of claims 1 to 5, characterized in that The characterization value includes the shape information of the touch area; The obtaining, according to the touch area, a characterization value for characterizing the tilted state of the touch operation includes: Taking the aspect ratio of the length and width of the touch area as the shape information of the touch area.

12. The method according to claim 11, wherein The method further includes: When the aspect ratio is greater than a first ratio threshold, determine that the touch operation is in a tilted state, and confirm the touch area as a valid touch area; When the aspect ratio is less than or equal to the first ratio threshold, determine that the touch area is not a valid touch area.

13. The method according to any one of claims 1 to 5, characterized in that, The characterization value includes the target area ratio; The obtaining, according to the touch area, a characterization value for characterizing the tilted state of the touch operation includes: Determine the rectangular area obtained by boundary statistics of the touch area; According to the sampling data of the rectangular area, confirm the target area in the rectangular area; the target area is the area where the difference between the sampling data and the reference data is greater than the area threshold; Taking the ratio of the number of target areas to the number of sub-areas of the rectangular area as the target area ratio.

14. The method according to claim 13, wherein The area threshold is the product of the maximum value in the sampling data of the rectangular area and a preset coefficient.

15. The method according to claim 13, wherein The method further includes: When the target area ratio is less than a second ratio threshold, determine that the touch operation is in a tilted state, and confirm the touch area as a valid touch area; When the target area ratio is greater than or equal to the second ratio threshold, determine that the touch area is not a valid touch area.

16. A touch operation response device, characterized in that, The device includes: A capacitance data acquisition module, configured to acquire capacitance data of the touch screen in response to a touch operation on the touch screen; A touch area determination module, configured to determine the touch area corresponding to the touch operation according to the capacitance data; An operation response module, configured to obtain a characterization value for characterizing the tilted state of the touch operation according to the touch area, and confirm whether to respond to the touch operation based on the characterization value.

17. An electronic device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 15.

18. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 15.

19. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 15.