A touch processing method, device and medium
By adjusting the palm touch detection conditions according to the application type, the problem of accidental touch on the touch screen is solved, ensuring that multi-finger operation is not misrecognized, timely recognition of palm touch, and improvement of user experience.
Patent Information
- Application Number
- CN202110550831.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-18
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2041-05-18
AI Technical Summary
In existing technologies, touchscreens cannot effectively suppress changes in touchscreen signals when a palm press is detected, leading to accidental touches and unexpected application responses, which affects the user experience.
Adjust palm touch detection conditions according to application type, including setting different thresholds and shape conditions. Set stricter detection conditions for applications that support multi-finger operation and more lenient detection conditions for applications that do not support multi-finger operation. Set specific parameter values for different applications through a mapping table.
It improves the user experience, ensures that multi-finger operation is not misidentified as palm touch, promptly identifies palm touch errors, and adapts to the usage needs of different applications.
Smart Images

Figure CN115373532B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of mobile terminal technology, and in particular to a touch processing method, apparatus and medium. Background Technology
[0002] Preventing accidental palm touches on touchscreens has always been a crucial research issue in the field. When a palm touches the screen, the goal is to suppress the resulting changes in the touchscreen signal to prevent accidental interference with applications. For example, in electronic devices like tablets or mobile phones with styluses, the web of the hand (the area between the thumb and forefinger) can easily touch the screen when writing. If these accidental touches are not prevented, the application's response to these touches may produce unexpected actions, causing inconvenience to the user. Summary of the Invention
[0003] In view of this, the present disclosure provides a touch processing method, apparatus and medium.
[0004] According to a first aspect, embodiments of this disclosure provide a touch processing method, the method comprising:
[0005] Determine the type of the current application;
[0006] When the current application is determined to be a first type that supports multi-finger operation, a first setting is made for the palm touch detection conditions; when the current application is determined to be a second type that does not support multi-finger operation, a second setting is made for the palm touch detection conditions.
[0007] The palm touch detection conditions corresponding to the first setting are higher than those corresponding to the second setting.
[0008] In one embodiment, the palm touch detection condition includes: a first threshold, wherein the first threshold is used to determine whether a signal change at the touch point corresponds to a touch operation;
[0009] The first setting of the palm touch detection conditions includes:
[0010] Set the first threshold to a first value;
[0011] The second setting for the palm touch detection conditions includes:
[0012] Set the first threshold to the second value;
[0013] Wherein, the first value is greater than the second value.
[0014] In one embodiment, the palm touch detection condition includes: a second threshold, wherein the second threshold is used to determine whether the number of consecutive touch points corresponding to the touch operation satisfies palm touch;
[0015] The first setting of the palm touch detection conditions includes:
[0016] Set the second threshold to the third value;
[0017] The second setting for the palm touch detection conditions includes:
[0018] Set the second threshold to the fourth value;
[0019] The third value is greater than the fourth value.
[0020] In one embodiment, the palm touch detection conditions include: a first threshold and a second threshold, wherein the first threshold is used to determine whether a signal change at a touch point corresponds to a touch operation; and the second threshold is used to determine whether the number of consecutive touch points corresponding to a touch operation satisfies palm touch.
[0021] The first setting of the palm touch detection conditions includes:
[0022] Set the first threshold to a first value; set the second threshold to a third value;
[0023] The second setting for the palm touch detection conditions includes:
[0024] Set the first threshold to a second value; set the second threshold to a fourth value;
[0025] Wherein, the first value is greater than the second value; and the third value is greater than the fourth value.
[0026] In one embodiment, the palm touch detection conditions include: shape conditions, wherein the shape conditions are used to define the shape of a first touch area; the first touch area is the region to be determined as a palm touch area;
[0027] The first setting of the palm touch detection conditions includes:
[0028] The shape conditions include limiting conditions that conform to the shape characteristics of a hand.
[0029] The second setting for the palm touch detection conditions includes:
[0030] The shape conditions set do not include limiting conditions that conform to the shape characteristics of a hand.
[0031] In one embodiment, the palm touch detection conditions include: shape conditions, wherein the shape conditions are used to define the shape of a first touch area; the first touch area is the region to be determined as a palm touch area;
[0032] The first setting of the palm touch detection conditions includes:
[0033] The shape conditions are defined by N shape constraints.
[0034] The second setting for the palm touch detection conditions includes:
[0035] The shape conditions are set to include M shape limiting conditions, where M is less than N, and the M shape limiting conditions are a subset of the N shape limiting conditions.
[0036] In one embodiment, the first setting of the palm touch detection conditions includes:
[0037] Query the parameter values corresponding to the current application according to the mapping table;
[0038] The palm touch detection conditions are first set using the parameter values corresponding to the current application.
[0039] The mapping table includes a one-to-one mapping relationship between applications and parameter values, with different applications corresponding to different parameter values;
[0040] The parameter values include:
[0041] A first threshold is used to determine whether a signal change at a touch point corresponds to a touch operation.
[0042] The second threshold is used to determine whether the number of consecutive touch points corresponding to the touch operation meets the requirements of palm touch.
[0043] Alternatively, the parameter values may include:
[0044] A first threshold is used to determine whether a signal change at a touch point corresponds to a touch operation.
[0045] The second threshold is used to determine whether the number of consecutive touch points corresponding to the touch operation meets the requirements of palm touch.
[0046] Shape conditions, which define the shape of the first touch area.
[0047] According to a second aspect, embodiments of this disclosure provide a touch processing device, the device comprising:
[0048] Determine module: Used to determine the type of the current application;
[0049] The settings module is used to: firstly set the palm touch detection conditions when the current application is determined to be a first type that supports multi-finger operation; and secondly set the palm touch detection conditions when the current application is determined to be a second type that does not support multi-finger operation.
[0050] The palm touch detection conditions corresponding to the first setting are higher than those corresponding to the second setting.
[0051] In one embodiment, the palm touch detection condition includes: a first threshold, wherein the first threshold is used to determine whether a signal change at the touch point corresponds to a touch operation;
[0052] The setting module is also used to perform a first setting of the palm touch detection conditions using the following method:
[0053] Set the first threshold to a first value;
[0054] It is also used to perform a second setting of palm touch detection conditions using the following methods:
[0055] Set the first threshold to the second value;
[0056] Wherein, the first value is greater than the second value.
[0057] In one embodiment, the palm touch detection condition includes: a second threshold, wherein the second threshold is used to determine whether the number of consecutive touch points corresponding to the touch operation satisfies palm touch;
[0058] The setting module is also used to perform a first setting of the palm touch detection conditions using the following method:
[0059] Set the second threshold to the third value;
[0060] It is also used to perform a second setting of palm touch detection conditions using the following methods:
[0061] Set the second threshold to the fourth value;
[0062] The third value is greater than the fourth value.
[0063] In one embodiment, the palm touch detection conditions include: a first threshold and a second threshold, wherein the first threshold is used to determine whether a signal change at a touch point corresponds to a touch operation; and the second threshold is used to determine whether the number of consecutive touch points corresponding to a touch operation satisfies palm touch.
[0064] The setting module is also used to perform a first setting of the palm touch detection conditions using the following method:
[0065] Set the first threshold to a first value; set the second threshold to a third value;
[0066] It is also used to perform a second setting of palm touch detection conditions using the following methods:
[0067] Set the first threshold to a second value; set the second threshold to a fourth value;
[0068] Wherein, the first value is greater than the second value; and the third value is greater than the fourth value.
[0069] In one embodiment, the palm touch detection conditions include: shape conditions, wherein the shape conditions are used to define the shape of a first touch area; the first touch area is the region to be determined as a palm touch area;
[0070] The setting module is also used to perform a first setting of the palm touch detection conditions using the following method:
[0071] The shape conditions include limiting conditions that conform to the shape characteristics of a hand.
[0072] It is also used to perform a second setting of palm touch detection conditions using the following methods:
[0073] The shape conditions set do not include limiting conditions that conform to the shape characteristics of a hand.
[0074] In one embodiment, the palm touch detection conditions include: shape conditions, wherein the shape conditions are used to define the shape of a first touch area; the first touch area is the region to be determined as a palm touch area;
[0075] The setting module is also used to perform a first setting of the palm touch detection conditions using the following method:
[0076] The shape conditions are defined by N shape constraints.
[0077] It is also used to perform a second setting of palm touch detection conditions using the following methods, including:
[0078] The shape conditions are set to include M shape limiting conditions, where M is less than N, and the M shape limiting conditions are a subset of the N shape limiting conditions.
[0079] In one embodiment, the setting module includes:
[0080] The query module is used to query the parameter value corresponding to the current application according to the mapping table, wherein the mapping table includes a one-to-one mapping relationship between applications and parameter values, and different applications correspond to different parameter values;
[0081] The execution module is used to perform a first setting of the palm touch detection conditions using the parameter values corresponding to the current application;
[0082] The mapping table includes a one-to-one mapping relationship between applications and parameter values, with different applications corresponding to different parameter values;
[0083] The parameter values include:
[0084] A first threshold is used to determine whether a signal change at a touch point corresponds to a touch operation.
[0085] The second threshold is used to determine whether the number of consecutive touch points corresponding to the touch operation meets the requirements of palm touch.
[0086] Alternatively, the parameter values may include:
[0087] A first threshold is used to determine whether a signal change at a touch point corresponds to a touch operation.
[0088] The second threshold is used to determine whether the number of consecutive touch points corresponding to the touch operation meets the requirements of palm touch.
[0089] Shape conditions, which define the shape of the first touch area.
[0090] According to a third aspect, embodiments of this disclosure provide a computer-readable storage medium storing instructions that, when invoked and executed on a computer, cause the computer to perform the touch processing method.
[0091] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: adjusting the palm touch detection conditions according to different application types, so that different situations of palm touch that are not easy to detect and palm touch that are easy to detect can be applied to the usage needs of different applications, thereby improving the user experience.
[0092] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0093] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0094] Figure 1 This is a flowchart illustrating a touch processing method according to an exemplary embodiment;
[0095] Figure 2This is a structural diagram of a touch processing device according to an exemplary embodiment;
[0096] Figure 3 This is a structural diagram of a touch processing device according to an exemplary embodiment. Detailed Implementation
[0097] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those in this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the embodiments in this disclosure as detailed in the appended claims.
[0098] In relevant palm touch detection technologies, a single palm touch detection condition is set in the terminal. This single palm touch detection condition includes condition 1, used to determine whether a signal change at a touch point corresponds to a touch operation, and condition 2, used to determine whether the number of consecutive touch points corresponding to a touch operation satisfies palm touch. Using this same palm touch detection condition for all applications on the same mobile terminal to determine whether the current touch signal includes palm touch cannot adapt to the different palm detection stringency requirements of different applications.
[0099] This disclosure provides a touch processing method, such as... Figure 1 As shown, the method includes:
[0100] Step S101: Determine the type of the current application.
[0101] Step S102: When the current application is determined to be a first type that supports multi-finger operation, the palm touch detection condition is set in the first way; when the current application is determined to be a second type that does not support multi-finger operation, the palm touch detection condition is set in the second way.
[0102] The palm touch detection conditions corresponding to the first setting are higher than those corresponding to the second setting.
[0103] In one possible implementation, the first type of application that supports multi-finger operation is a game application, a finger touch drawing application, etc.
[0104] In one possible implementation, the second type of application that does not support multi-finger operation is an application that uses a stylus.
[0105] In the processing method provided in this embodiment, it is determined whether the current application is a multi-finger operation application based on its type. If the current application supports multi-finger operation, detection is performed according to a first set palm touch detection condition; if the current application does not support multi-finger operation, detection is performed according to a second set palm touch detection condition. The palm touch detection condition corresponding to the first set is higher than that corresponding to the second set, resulting in a lower success rate for palm touch detection than that corresponding to the second set. In other words, the palm touch detection condition corresponding to the first set is less likely to detect palm touch, while the palm touch detection condition corresponding to the second set is more likely to detect palm touch. Therefore, a stricter palm touch detection condition is set for applications that support multi-finger operation. During the use of applications that support multi-finger operation, when the user performs multi-finger touch, it is less likely to identify multi-finger touch as palm touch and prohibit palm touch, thus not affecting the user's multi-finger touch. For applications that do not support multi-finger operation, relatively lenient palm touch detection conditions are set so that the palm touch can be identified in time when the user performs the operation, thereby ensuring normal use for the user.
[0106] In this embodiment of the disclosure, the palm touch detection conditions are adjusted according to different application types, so that different situations of palm touch that are not easy to detect and palm touch that are easy to detect can be applied to the usage needs of different applications, thereby improving the user experience.
[0107] In a touch processing method provided in this disclosure embodiment, the method includes Figure 1 The method shown, and:
[0108] The palm touch detection conditions include: a first threshold, wherein the first threshold is used to determine whether a signal change at the touch point corresponds to a touch operation;
[0109] The first setting of the palm touch detection conditions includes:
[0110] Set the first threshold to a first value;
[0111] The second setting for the palm touch detection conditions includes:
[0112] Set the first threshold to the second value;
[0113] Wherein, the first value is greater than the second value.
[0114] In one example, the original palm touch detection conditions include a first threshold and a second threshold. The first threshold is used to determine whether a signal change at a touch point corresponds to a touch operation. The second threshold is used to determine whether the number of consecutive touch points corresponding to a touch operation satisfies palm touch detection.
[0115] For game applications that support multi-finger operation, adjust the palm touch detection conditions as follows: the first threshold is a first value (e.g., 400), and the second threshold is 6000.
[0116] For stylus applications that do not support multi-finger operation, adjust the palm touch detection conditions as follows: the first threshold is the second value (e.g., 200), and the second threshold is 6000.
[0117] When using a game application, the user performs normal multi-finger touch; when using a stylus application, the user accidentally touches with their palm.
[0118] Assume that the physical area of multi-finger touch when using the first application is the same as the physical area of accidental palm touch when using the second application, and the number of touch points corresponding to this physical area is 10,000. However, due to different specific values of the first threshold, when the user uses the game application, the larger first threshold of 400 determines that the number of touch points with touch operation is 4,000. When determining whether the touch operation meets the requirements of palm touch, because the number of touch points with touch operation is less than 6,000, it is determined that the current touch is not palm touch, and therefore it is not necessary to block this touch operation, allowing the user's multi-finger unlocking to be executed normally. When the user uses the stylus application, the smaller first threshold of 200 determines that the number of touch points with touch operation is 8,000. When determining whether the touch operation meets the requirements of palm touch, since the number of touch points with touch operation is greater than 6000, it is determined that the current touch is palm touch, accurately identifying palm touch errors, thereby blocking the palm touch operation, so that the user can still use the stylus to complete the corresponding operation even if palm touch is made.
[0119] In this embodiment of the disclosure, the size of the first threshold is adjusted according to different application types, so that the first threshold corresponding to applications that support multi-finger operation is larger, and the first threshold corresponding to applications that do not support multi-finger operation is smaller; so that applications that support multi-finger operation are less likely to detect palm touch, and applications that do not support multi-finger operation are more likely to detect palm touch, thereby adapting to the usage needs of different applications and improving the user experience.
[0120] In a touch processing method provided in this disclosure embodiment, the method includes Figure 1 The method shown, and:
[0121] The palm touch detection conditions include: a second threshold, wherein the second threshold is used to determine whether the number of consecutive touch points corresponding to the touch operation meets the palm touch requirement;
[0122] The first setting of the palm touch detection conditions includes:
[0123] Set the second threshold to the third value;
[0124] The second setting for the palm touch detection conditions includes:
[0125] Set the second threshold to the fourth value;
[0126] The third value is greater than the fourth value.
[0127] In one example, the original palm touch detection conditions include a first threshold and a second threshold. The first threshold is used to determine whether a signal change at a touch point corresponds to a touch operation. The second threshold is used to determine whether the number of consecutive touch points corresponding to a touch operation satisfies palm touch detection.
[0128] For game applications that support multi-finger operation, the palm touch detection conditions are adjusted as follows: the first threshold is 300, and the second threshold is 8000.
[0129] For stylus applications that do not support multi-finger operation, the palm touch detection conditions are adjusted as follows: the first threshold is 300, and the second threshold is 6000.
[0130] When using a game application, the user performs normal multi-finger touch; when using a stylus application, the user accidentally touches with their palm.
[0131] Assume that the physical area of multi-finger touch when using the first application is the same as the physical area of accidental palm touch when using the second application, and the number of touch points corresponding to this physical area is 10,000. However, due to the different specific values of the second threshold, when the user uses the game application, the number of touch points with touch operation determined by the first threshold of 300 is 7,000. When determining whether the touch operation meets the requirements of palm touch, because the number of touch points with touch operation determined is less than the second threshold of 8,000, it is determined that the current touch is not palm touch, and therefore it is not necessary to block this touch operation, allowing the user's multi-finger unlocking to be executed normally. When a user uses a stylus application, the number of touch points with touch operations determined by the first threshold 300 is also 7000. When determining whether the touch operation meets the requirements of palm touch, since the number of touch points with touch operations is greater than the second threshold 6000, it is determined that the current touch is palm touch, accurately identifying palm touch errors, thereby blocking this palm touch operation, so that the user can still use the stylus to complete the corresponding operation even if a palm touch error has occurred.
[0132] In this embodiment, the size of the second threshold is adjusted according to different application types, so that the second threshold corresponding to applications that support multi-finger operation is larger, and the second threshold corresponding to applications that do not support multi-finger operation is smaller; this makes it difficult for applications that support multi-finger operation to detect palm touch, and makes it easy for applications that do not support multi-finger operation to detect palm touch, thereby adapting to the usage needs of different applications and improving the user experience.
[0133] In a touch processing method provided in this disclosure embodiment, the method includes Figure 1 The method shown, and:
[0134] The palm touch detection conditions include: a first threshold and a second threshold, wherein the first threshold is used to determine whether the signal change of the touch point corresponds to a touch operation, and the second threshold is used to determine the number of consecutive touch points corresponding to a touch operation;
[0135] The first setting of the palm touch detection conditions includes:
[0136] Set the first threshold to a first value; set the second threshold to a third value;
[0137] The second setting for the palm touch detection conditions includes:
[0138] Set the first threshold to a second value; set the second threshold to a fourth value;
[0139] Wherein, the first value is greater than the second value, and the third value is greater than the fourth value.
[0140] In one example, the original palm touch detection conditions include a first threshold and a second threshold.
[0141] For game applications that support multi-finger operation, the palm touch detection conditions are adjusted as follows: the first threshold is 400, and the second threshold is 8000.
[0142] For stylus applications that do not support multi-finger operation, the palm touch detection conditions are adjusted as follows: the first threshold is 200, and the second threshold is 6000.
[0143] When using a game application, the user performs normal multi-finger touch; when using a stylus application, the user accidentally touches with their palm.
[0144] Assume that the physical area of multi-finger touch when using the first application is the same as the physical area of accidental palm touch when using the second application, and the number of touch points corresponding to this physical area is 10,000. However, due to the different values of the first and second thresholds, when the user uses the game application, the number of touch points with touch operation determined by the first threshold of 400 is 4,000. When determining whether the touch operation meets the requirements of palm touch, because the number of touch points with touch operation is less than the second threshold of 8,000, it is determined that the current touch is not palm touch, and therefore it is not necessary to block this touch operation, allowing the user's multi-finger unlocking to be executed normally. When a user uses a stylus application, the number of touch points with touch operations determined by the first threshold 200 is 8000. When determining whether the touch operation meets the requirements of palm touch, since the number of touch points with touch operations is greater than the second threshold 6000, it is determined that the current touch is palm touch, accurately identifying palm touch errors, thereby blocking this palm touch operation, so that the user can still use the stylus to complete the corresponding operation even if a palm touch error has occurred.
[0145] In this embodiment, the size of the first threshold and the second threshold are adjusted according to different application types, so that the first threshold and the second threshold corresponding to applications that support multi-finger operation are both larger, and the first threshold and the second threshold corresponding to applications that do not support multi-finger operation are both smaller; this makes it difficult for applications that support multi-finger operation to detect palm touch, and makes it easy for applications that do not support multi-finger operation to detect palm touch, thereby adapting to the usage needs of different applications and improving the user experience.
[0146] In a touch processing method provided in this disclosure embodiment, the method includes Figure 1 The method shown, and:
[0147] The palm touch detection conditions include: shape conditions, wherein the shape conditions are used to define the shape of the first touch area; the first touch area is the area to be determined as a palm touch area;
[0148] The first setting of the palm touch detection conditions includes:
[0149] The shape conditions include limiting conditions that conform to the shape characteristics of a hand.
[0150] The second setting for the palm touch detection conditions includes:
[0151] The shape conditions set do not include limiting conditions that conform to the shape characteristics of a hand.
[0152] In this embodiment of the disclosure, the shape condition in the palm touch detection conditions is set to make the shape condition for applications that support multi-finger operation more stringent, and the shape condition for applications that do not support multi-finger operation more lenient. This makes it difficult for applications that support multi-finger operation to detect palm touch, and easy for applications that do not support multi-finger operation to detect palm touch, thereby adapting to the usage needs of different applications and improving the user experience.
[0153] In a touch processing method provided in this disclosure embodiment, the method includes Figure 1 The method shown, and:
[0154] The palm touch detection conditions include: a first threshold, a second threshold, and a shape condition, wherein the first threshold is used to determine whether the signal change of the touch point corresponds to a touch operation, the second threshold is used to determine the number of consecutive touch points corresponding to a touch operation, and the shape condition is used to define the shape of the first touch area; the first touch area is the area to be determined as a palm touch area.
[0155] The first setting of the palm touch detection conditions includes:
[0156] The first threshold is set to a first value; the second threshold is set to a third value; the shape conditions include limiting conditions that conform to the shape characteristics of a palm.
[0157] The second setting for the palm touch detection conditions includes:
[0158] Set the first threshold to a second value; set the second threshold to a fourth value; set the shape conditions to exclude limiting conditions that conform to the shape characteristics of a palm.
[0159] Wherein, the first value is greater than the second value; and the third value is greater than the fourth value.
[0160] In this embodiment, three factors are simultaneously set in the palm touch detection conditions: a first threshold, a second threshold, and a shape condition. This ensures that the first and second thresholds are both higher for applications supporting multi-finger operation, and the shape condition is more stringent; conversely, the first and second thresholds are both lower for applications not supporting multi-finger operation, and the shape condition is more lenient. This makes it less likely for applications supporting multi-finger operation to detect palm touch, and easier for applications not supporting multi-finger operation to detect palm touch, thus adapting to the usage needs of different applications and improving the user experience.
[0161] In a touch processing method provided in this disclosure embodiment, the method includes Figure 1 The method shown, and:
[0162] The palm touch detection conditions include: a first threshold and a shape condition, wherein the first threshold is used to determine whether a signal change at a touch point corresponds to a touch operation; the shape condition is used to define the shape of a first touch area; the first touch area is the area to be determined as a palm touch area;
[0163] The first setting of the palm touch detection conditions includes:
[0164] The first threshold is set to a first value; the shape conditions include limiting conditions that conform to the shape characteristics of a hand.
[0165] The second setting for the palm touch detection conditions includes:
[0166] The first threshold is set to the second value; the shape conditions are set to exclude the limiting conditions that conform to the shape characteristics of a palm.
[0167] Wherein, the first value is greater than the second value.
[0168] In this embodiment, two factors are simultaneously set in the palm touch detection conditions: a first threshold and a shape condition. This results in a higher first threshold and a stricter shape condition for applications that support multi-finger operation, and a lower first threshold and a more lenient shape condition for applications that do not support multi-finger operation. This makes it less likely for applications that support multi-finger operation to detect palm touch, and easier for applications that do not support multi-finger operation to detect palm touch, thus adapting to the usage needs of different applications and improving the user experience.
[0169] In a touch processing method provided in this disclosure embodiment, the method includes Figure 1 The method shown, and:
[0170] The palm touch detection conditions include: a second threshold and a shape condition, wherein the second threshold is used to determine the number of consecutive touch points corresponding to the touch operation; the shape condition is used to define the shape of the first touch area; the first touch area is the area to be determined as a palm touch area;
[0171] The first setting of the palm touch detection conditions includes:
[0172] The second threshold is set to the third value; the shape conditions include limiting conditions that conform to the shape characteristics of a hand.
[0173] The second setting for the palm touch detection conditions includes:
[0174] The second threshold is set to the fourth value; the shape conditions are set to exclude the limiting conditions that conform to the shape characteristics of a palm.
[0175] The third value is greater than the fourth value.
[0176] In this embodiment, two factors are simultaneously set in the palm touch detection conditions: a second threshold and a shape condition. This results in a larger second threshold and a more stringent shape condition for applications that support multi-finger operation; and a smaller second threshold and a more lenient shape condition for applications that do not support multi-finger operation. This makes it less likely for applications that support multi-finger operation to detect palm touch, and easier for applications that do not support multi-finger operation to detect palm touch, thus adapting to the usage needs of different applications and improving the user experience.
[0177] In a touch processing method provided in this disclosure embodiment, the method includes Figure 1 The method shown, and:
[0178] The palm touch detection conditions include: shape conditions, wherein the shape conditions are used to define the shape of the first touch area; the first touch area is the area to be determined as a palm touch area;
[0179] The first setting of the palm touch detection conditions includes:
[0180] The shape conditions are defined by N shape constraints.
[0181] The second setting for the palm touch detection conditions includes:
[0182] The shape conditions are set to include M shape constraints, where M is less than N, and the M shape constraints are a subset of the N shape constraints.
[0183] In the processing method provided in this embodiment, different numbers of shape conditions are set according to different application types. For example, if the current application is a game application, the number of shape conditions is N under the first setting. If the shape of a certain touch area matches all N shapes, the touch area is considered a false touch area, and the touch area is suppressed. For example, if the current application is a stylus application, the number of shape conditions is M under the second setting. If the shape of a certain touch area matches all M shapes, the touch area is considered a false touch area, and the touch area is suppressed. This makes the palm detection conditions more stringent in applications that support multi-finger touch, making it less likely for users to detect palm touch when using applications that support multi-finger touch. Conversely, it makes the palm detection conditions more lenient in applications that do not support multi-finger touch, making it easier for users to detect palm touch when using applications that do not support multi-finger touch, thereby timely suppressing false palm touch.
[0184] This disclosure also provides a touch processing method for combining a first threshold with the shape condition, or a second threshold with the shape condition, or a combination of the first threshold, the second threshold, and the shape condition, which will not be elaborated here.
[0185] This disclosure also provides a touch processing device, see reference. Figure 2 , Figure 2 This is a structural diagram of a touch processing device according to an exemplary embodiment. Figure 2 As shown, the device is characterized by comprising:
[0186] Determine module 11: Used to determine the type of the current application;
[0187] Setting module 12: When the type of the current application is determined to be a first type that supports multi-finger operation, a first setting is made for the palm touch detection conditions; when the type of the current application is determined to be a second type that does not support multi-finger operation, a second setting is made for the palm touch detection conditions.
[0188] The palm touch detection conditions corresponding to the first setting are higher than those corresponding to the second setting.
[0189] In a touch processing method provided in this disclosure embodiment, the method includes Figure 1 The method shown, and:
[0190] The first setting of the palm touch detection conditions includes:
[0191] Query the parameter values corresponding to the current application according to the mapping table;
[0192] The palm touch detection conditions are first set using the parameter values corresponding to the current application.
[0193] The mapping table includes a one-to-one mapping relationship between applications and parameter values, with different applications corresponding to different parameter values;
[0194] The parameter values include:
[0195] A first threshold is used to determine whether a signal change at a touch point corresponds to a touch operation.
[0196] The second threshold is used to determine whether the number of consecutive touch points corresponding to the touch operation meets the requirements of palm touch.
[0197] Alternatively, the parameter values may include:
[0198] A first threshold is used to determine whether a signal change at a touch point corresponds to a touch operation.
[0199] The second threshold is used to determine whether the number of consecutive touch points corresponding to the touch operation meets the requirements of palm touch.
[0200] Shape conditions, which define the shape of the first touch area.
[0201] In this embodiment of the disclosure, a mapping table is set for each application of the first type that supports multi-finger operation, thereby setting corresponding parameter values for different applications, so that different applications use different conditions to judge palm touch, so as to meet the usage requirements of different applications for different detection strictness.
[0202] This disclosure also provides a touch processing device, the device including... Figure 2 The apparatus shown, and:
[0203] The palm touch detection conditions include: a first threshold, wherein the first threshold is used to determine whether a signal change at the touch point corresponds to a touch operation;
[0204] The setting module is also used to perform a first setting of the palm touch detection conditions using the following method:
[0205] Set the first threshold to a first value;
[0206] It is also used to perform a second setting of palm touch detection conditions using the following methods:
[0207] Set the first threshold to the second value;
[0208] Wherein, the first value is greater than the second value.
[0209] This disclosure also provides a touch processing device, the device including... Figure 2 The apparatus shown, and:
[0210] The palm touch detection conditions include: a second threshold, wherein the second threshold is used to determine whether the number of consecutive touch points corresponding to the touch operation meets the palm touch requirement;
[0211] The setting module is also used to perform a first setting of the palm touch detection conditions using the following method:
[0212] Set the second threshold to the third value;
[0213] It is also used to perform a second setting of palm touch detection conditions using the following methods:
[0214] Set the second threshold to the fourth value;
[0215] The third value is greater than the fourth value.
[0216] This disclosure also provides a touch processing device, the device including... Figure 2 The apparatus shown, and:
[0217] The palm touch detection conditions include: a first threshold and a second threshold, wherein the first threshold is used to determine whether the signal change of the touch point corresponds to a touch operation; the second threshold is used to determine whether the number of consecutive touch points corresponding to the touch operation satisfies palm touch.
[0218] The setting module is also used to perform a first setting of the palm touch detection conditions using the following method:
[0219] Set the first threshold to a first value; set the second threshold to a third value;
[0220] It is also used to perform a second setting of palm touch detection conditions using the following methods:
[0221] Set the first threshold to a second value; set the second threshold to a fourth value;
[0222] Wherein, the first value is greater than the second value; and the third value is greater than the fourth value.
[0223] This disclosure also provides a touch processing device, the device including... Figure 2 The apparatus shown, and:
[0224] The palm touch detection conditions include: shape conditions, wherein the shape conditions are used to define the shape of the first touch area; the first touch area is the area to be determined as a palm touch area;
[0225] The setting module is also used to perform a first setting of the palm touch detection conditions using the following method:
[0226] The shape conditions include limiting conditions that conform to the shape characteristics of a hand.
[0227] It is also used to perform a second setting of palm touch detection conditions using the following methods:
[0228] The shape conditions set do not include limiting conditions that conform to the shape characteristics of a hand.
[0229] This disclosure also provides a touch processing device, the device including... Figure 2 The apparatus shown, and:
[0230] The palm touch detection conditions include: shape conditions, wherein the shape conditions are used to define the shape of the first touch area; the first touch area is the area to be determined as a palm touch area;
[0231] The setting module is also used to perform a first setting of the palm touch detection conditions using the following method:
[0232] The shape conditions are defined by N shape constraints.
[0233] It is also used to perform a second setting of palm touch detection conditions using the following methods, including:
[0234] The shape conditions are set to include M shape constraints, where M is less than N, and the M shape constraints are a subset of the N shape constraints.
[0235] This disclosure also provides a touch processing device, the device including... Figure 2 The apparatus shown, and:
[0236] The settings module includes:
[0237] The query module is used to query the parameter value corresponding to the current application according to the mapping table, wherein the mapping table includes a one-to-one mapping relationship between applications and parameter values, and different applications correspond to different parameter values;
[0238] The execution module is used to perform a first setting of the palm touch detection conditions using the parameter values corresponding to the current application;
[0239] The mapping table includes a one-to-one mapping relationship between applications and parameter values, with different applications corresponding to different parameter values;
[0240] The parameter values include:
[0241] A first threshold is used to determine whether a signal change at a touch point corresponds to a touch operation.
[0242] The second threshold is used to determine whether the number of consecutive touch points corresponding to the touch operation meets the requirements of palm touch.
[0243] Alternatively, the parameter values may include:
[0244] A first threshold is used to determine whether a signal change at a touch point corresponds to a touch operation.
[0245] The second threshold is used to determine whether the number of consecutive touch points corresponding to the touch operation meets the requirements of palm touch.
[0246] Shape conditions, which define the shape of the first touch area.
[0247] Figure 3 This is a block diagram illustrating a touch processing device 800 according to an exemplary embodiment.
[0248] For example, device 300 can be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0249] Reference Figure 3 The device 300 may include one or more of the following components: a processing component 302, a memory 304, a power supply component 306, a multimedia component 308, an audio component 310, an input / output (I / O) interface 312, a sensor component 314, and a communication component 316.
[0250] Processing component 302 typically controls the overall operation of device 300, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 302 may include one or more processors 320 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 302 may include one or more modules to facilitate interaction between processing component 302 and other components. For example, processing component 302 may include a multimedia module to facilitate interaction between multimedia component 308 and processing component 302.
[0251] Memory 304 is configured to store various types of data to support the operation of device 300. Examples of this data include instructions for any application or method operating on device 300, contact data, phonebook data, messages, pictures, videos, etc. Memory 304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0252] Power supply component 306 provides power to various components of device 300. Power supply component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 300.
[0253] Multimedia component 308 includes a screen that provides an output interface between the device 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 308 includes a front-facing camera and / or a rear-facing camera. When the device 300 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0254] Audio component 310 is configured to output and / or input audio signals. For example, audio component 310 includes a microphone (MIC) configured to receive external audio signals when device 300 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 304 or transmitted via communication component 316. In some embodiments, audio component 310 also includes a speaker for outputting audio signals.
[0255] I / O interface 312 provides an interface between processing component 302 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0256] Sensor assembly 314 includes one or more sensors for providing status assessments of various aspects of device 300. For example, sensor assembly 314 may detect the on / off state of device 300, the relative positioning of components such as the display and keypad of device 300, changes in the position of device 300 or a component of device 300, the presence or absence of user contact with device 300, the orientation or acceleration / deceleration of device 300, and temperature changes of device 300. Sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 314 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0257] Communication component 316 is configured to facilitate wired or wireless communication between device 300 and other devices. Device 300 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 316 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 316 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0258] In an exemplary embodiment, the apparatus 300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0259] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 304 including instructions, which can be executed by a processor 320 of the device 300 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0260] This disclosure provides a non-transitory computer-readable storage medium that, when the instructions in the storage medium are executed by the processor of a mobile terminal, enables the mobile terminal to perform the touch processing method.
[0261] Other embodiments of the embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the embodiments of this disclosure that follow the general principles of the embodiments of this disclosure and include common knowledge or customary techniques in the art not disclosed in the embodiments. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of the embodiments of this disclosure are indicated by the following claims.
[0262] It should be understood that the embodiments in this disclosure are not limited to the precise structures described above and shown in the accompanying drawings, and various combinations, substitutions, modifications, and changes can be made to the method steps or device components disclosed in this application without departing from its scope. All such combinations, substitutions, modifications, and changes are considered to be included within the scope of this disclosure. The scope of protection claimed in this disclosure is limited by the appended claims.
Claims
1. A touch processing method, characterized in that, The method comprises: determining a type of a current application; when the type of the current application is determined to be a first type that supports multi-finger operation, setting a palm touch detection condition according to a first setting; when the type of the current application is determined to be a second type that does not support multi-finger operation, setting the palm touch detection condition according to a second setting; wherein the palm touch detection condition corresponding to the first setting is higher than the palm touch detection condition corresponding to the second setting; the palm touch detection condition comprises a first threshold for determining whether a signal change of a touch point corresponds to a touch operation and / or a second threshold for determining whether a number of continuous touch points corresponding to a touch operation meets a palm touch condition; the first setting of the palm touch detection condition comprises: setting the first threshold to a first value; and / or setting the second threshold to a third value; the second setting of the palm touch detection condition comprises: setting the first threshold to a second value; and / or setting the second threshold to a fourth value.
2. The method according to claim 1, wherein: the palm touch detection condition comprises the first threshold; the first setting of the palm touch detection condition comprises: setting the first threshold to the first value; the second setting of the palm touch detection condition comprises: setting the first threshold to the second value; wherein the first value is greater than the second value.
3. The method according to claim 1, wherein: the palm touch detection condition comprises the second threshold; the first setting of the palm touch detection condition comprises: setting the second threshold to the third value; the second setting of the palm touch detection condition comprises: setting the second threshold to the fourth value; wherein the third value is greater than the fourth value.
4. The method according to claim 1, wherein: the palm touch detection condition comprises the first threshold and the second threshold; the first setting of the palm touch detection condition comprises: setting the first threshold to the first value and setting the second threshold to the third value; the second setting of the palm touch detection condition comprises: setting the first threshold to the second value and setting the second threshold to the fourth value; wherein the first value is greater than the second value and the third value is greater than the fourth value.
5. The method according to any one of claims 1 to 4, wherein: the palm touch detection condition comprises a shape condition, wherein the shape condition is used to define a shape of a first touch area, and the first touch area is an area to be determined as a palm touch area; the first setting of the palm touch detection condition comprises: setting the shape condition to include a defined condition that conforms to a palm shape feature, the second setting of the palm touch detection condition comprises: setting the shape condition to not include the defined condition that conforms to the palm shape feature.
6. The method according to any one of claims 1 to 4, wherein: The palm touch detection condition comprises a shape condition, wherein the shape condition is used to define a shape of the first touch area; and the first touch area is an area to be determined whether it is a palm touch area; The first setting of the palm touch detection condition comprises: The setting of the shape condition comprises N shape defining conditions, The second setting of the palm touch detection condition comprises: The setting of the shape condition comprises M shape defining conditions, the M is less than the N, and the M shape defining conditions are part of the N shape defining conditions.
7. The touch processing method of claim 1, wherein The first setting of the palm touch detection condition comprises: querying a parameter value corresponding to the current application according to a mapping table; using the parameter value corresponding to the current application to first set the palm touch detection condition; The mapping table comprises a one-to-one mapping relationship between an application and a parameter value, and different applications correspond to different parameter values; The parameter value comprises: the first threshold value; the second threshold value; Or, the parameter value comprises: the first threshold value; the second threshold value; a shape condition used to define a shape of the first touch area.
8. A touch processing device, comprising: comprises: a determining module configured to determine a type of a current application; a setting module configured to, when the type of the current application is a first type supporting multi-finger operation, first set the palm touch detection condition; and when the type of the current application is a second type not supporting multi-finger operation, second set the palm touch detection condition; The palm touch detection condition comprises a first threshold value used to determine whether a signal change of a touch point corresponds to a touch operation and / or a second threshold value used to determine whether a number of continuous touch points corresponding to a touch operation satisfies palm touch. The setting module is further configured to first set the palm touch detection condition by using the following method: set the first threshold value to a first value; and / or set the second threshold value to a third value; The setting module is further configured to second set the palm touch detection condition by using the following method: set the first threshold value to a second value; and / or set the second threshold value to a fourth value.
9. The touch processing apparatus of claim 8, wherein The palm touch detection condition comprises the first threshold value. The setting module is further configured to first set the palm touch detection condition by using the following method: set the first threshold value to the first value; The setting module is further configured to second set the palm touch detection condition by using the following method: set the first threshold value to the second value; The first value is greater than the second value.
10. The touch processing apparatus of claim 8, wherein The palm touch detection condition comprises the second threshold value. The setting module is further configured to first set the palm touch detection condition by using the following method: set the second threshold value to the third value; The setting module is further configured to second set the palm touch detection condition by using the following method: set the second threshold value to the fourth value; wherein the third value is greater than the fourth value. 11.The touch processing apparatus of claim 8, wherein the palm touch detection condition comprises: the first threshold value and the second threshold value. the setting module is further configured to perform first setting of the palm touch detection condition by using the following method: set the first threshold value to the first value; and set the second threshold value to the third value. the setting module is further configured to perform second setting of the palm touch detection condition by using the following method: set the first threshold value to the second value; and set the second threshold value to the fourth value. wherein the first value is greater than the second value; and the third value is greater than the fourth value. 12.The touch processing apparatus of claim 8, 9 or 10, wherein the palm touch detection condition comprises: a shape condition, wherein the shape condition is used to define a shape of a first touch area; and the first touch area is a region to be determined whether it is a palm touch area. the setting module is further configured to perform first setting of the palm touch detection condition by using the following method: set the shape condition to include a defined condition conforming to a palm shape feature, the setting module is further configured to perform second setting of the palm touch detection condition by using the following method: set the shape condition to not include the defined condition conforming to the palm shape feature. 13.The touch processing apparatus of claim 8, 9 or 10, wherein the palm touch detection condition comprises: a shape condition, wherein the shape condition is used to define a shape of a first touch area; and the first touch area is a region to be determined whether it is a palm touch area. the setting module is further configured to perform first setting of the palm touch detection condition by using the following method: set the shape condition to include N shape defined conditions, the setting module is further configured to perform second setting of the palm touch detection condition by using the following method: set the shape condition to include M shape defined conditions, wherein the M is less than the N, and the M shape defined conditions are a part of the N shape defined conditions. 14.The touch processing apparatus of claim 8, wherein the setting module comprises: a querying module configured to query a parameter value corresponding to the current application according to a mapping table, wherein the mapping table comprises a one-to-one mapping relationship between an application and a parameter value, and different applications correspond to different parameter values; an executing module configured to perform first setting of the palm touch detection condition by using the parameter value corresponding to the current application. wherein the mapping table comprises a one-to-one mapping relationship between an application and a parameter value, and different applications correspond to different parameter values. wherein the parameter value comprises: the first threshold value; the second threshold value; or, the parameter value comprises: the first threshold value; the shape condition used to define a shape of a first touch area. 15.A computer readable storage medium, the computer readable storage medium storing instructions, when the instructions are invoked to execute on a computer, causing the computer to perform the method of any one of claims 1-7.
Citation Information
Patent Citations
Accidental touch recognition method and device
CN104423656A
Terminal control method and device, terminal and computer readable storage medium
CN107562346A