Palm touch identification method and device, storage medium and touch equipment
By obtaining data frames of multiple recognition points from the capacitance module of the touch control device, determining and modifying the recognition type, the problem of misjudgment of palm recognition is solved, and the accuracy of palm recognition is improved.
Patent Information
- Application Number
- CN202311110293.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-30
- Publication Date
- 2025-02-28
AI Technical Summary
The prior art may lead to coexistence of fingers and palms when the palm is pressed on the touchpad, resulting in misjudgment of palm recognition.
By obtaining data frames of multiple recognition points from the capacitance module of the touch control device, it is determined whether the recognition point containing the non-palm type has been misidentified. After confirming that the misidentification occurs, the recognition type of the recognition point is modified to the palm. The touch object is recognized as the palm until all recognition points only contain the palm type.
Improves the accuracy of palm recognition, reduces the situation of palm misidentification, and ensures that it is only recognized when all recognition points are palms.
Smart Images

Figure CN119536537A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to touch technology, and more particularly to a palm touch recognition method, device, storage medium and touch device. Background Art
[0002] When a palm is pressed on the touchpad, the recognition result of the touch object may include both the finger and the palm, thus causing misjudgment of the palm. Summary of the invention
[0003] The present application provides a palm touch recognition method, apparatus, storage medium and touch device, which can improve the accuracy of palm recognition.
[0004] The present application provides a palm touch recognition method, comprising:
[0005] Acquire a data frame including a plurality of identification points of a touch object from a capacitive module of the touch device, wherein information of each identification point includes: an identification type;
[0006] When the identification types of the plurality of identification points include palm and non-palm, determining whether the identification point including the non-palm type has been misidentified, and modifying the identification type included in the identification point to palm after determining that misidentification has occurred;
[0007] When, after the modification, it is determined that the identification types among the plurality of identification points only include the palm, the touch object is identified as the palm.
[0008] Exemplarily, the information of each identification point also includes: identification area, identification position;
[0009] The determining whether misidentification occurs at the identification point containing the non-palm type includes:
[0010] Choose any of the following methods to determine:
[0011] When the identification area included in the identification point of the non-palm type is greater than or equal to the area threshold, it is determined that the identification point of the non-palm type has been misidentified;
[0012] When the distance between the recognition position included in the recognition point containing the non-palm type and the recognition position included in the recognition point containing the palm type is less than or equal to the distance threshold, it is determined that the recognition point containing the non-palm type has been misrecognized;
[0013] When the recognition position included in the recognition point containing the non-palm type is located within the area formed by the recognition positions included in all the recognition points containing the palm type, it is determined that the recognition point containing the non-palm type has been misrecognized.
[0014] Exemplarily, the method for determining the area range composed of the identification positions included in all identification points containing the palm type includes:
[0015] Determine the x-coordinate range of the area by the x-coordinates of all the identification points containing the palm type;
[0016] The y coordinate range of the area is determined by the y coordinates of all the recognition points containing the palm type.
[0017] Exemplarily, the method further includes:
[0018] In addition to acquiring a data frame including a plurality of identification points of a touch object from a capacitance module of the touch device, an elastic wave signal is also acquired from an elastic wave sensor module of the touch device;
[0019] The information of each identification point also includes: identification area and identification position;
[0020] The determining whether misidentification occurs at the recognition point containing the non-palm type includes:
[0021] Choose any of the following methods to determine:
[0022] When the identification area included in the identification point of the non-palm type is greater than or equal to the area threshold, it is determined that the identification point of the non-palm type is misidentified;
[0023] When the distance between the recognition position included in the recognition point containing the non-palm type and the recognition position included in the recognition point containing the palm type is less than or equal to a distance threshold, it is determined that the recognition point containing the non-palm type is misrecognized;
[0024] When the recognition position included in the recognition point containing the non-palm type is located within the area formed by the recognition positions included in all the recognition points containing the palm type, it is determined that the recognition point containing the non-palm type is misrecognized;
[0025] Determine the maximum amplitude and minimum amplitude of the elastic wave signal corresponding to the data frame containing the non-palm type identification point and a preset number of data frames thereafter; calculate the slope of the line connecting the maximum amplitude and the minimum amplitude, and when the slope is less than or equal to a slope threshold, determine that the identification point containing the non-palm type is misidentified.
[0026] Exemplarily, the method further includes:
[0027] After it is determined that misrecognition has occurred and the identification type contained in the identification point is changed to palm, if there are still identification points containing non-palm types among the multiple identification points, continue to select any different method from the above-mentioned multiple methods to determine whether misrecognition has occurred at the identification point containing the non-palm type, and after it is determined that misrecognition has occurred, the identification type contained in the identification point is changed to palm, and the process stops after the preset conditions are met.
[0028] Exemplarily, the preset condition includes any one of the following:
[0029] The various methods described have been selected;
[0030] It is determined that the number of misidentifications reaches a preset number.
[0031] Exemplarily, the method further includes:
[0032] After the touch object is identified as a palm, the identification type of multiple identification points included in the subsequent data frame obtained from the capacitive module of the touch device is locked as a palm state until the touch object is lifted off the touch panel and then unlocked.
[0033] The computer-readable storage medium provided in an embodiment of the present application stores one or more programs, and the one or more programs can be executed by one or more processors to implement the method described in any of the previous embodiments.
[0034] The palm touch recognition device provided in the embodiment of the present application includes a memory and a processor. The memory stores a program. When the program is read and executed by the processor, the method described in any of the previous embodiments is implemented.
[0035] The touch device provided in the embodiment of the present application includes the palm touch recognition device as described above.
[0036] Compared with the related art, the palm touch recognition scheme recorded in the embodiment of the present application, after obtaining multiple recognition points containing a touch object, if the recognition types contained in the multiple recognition points include not only palm but also non-palm, continues to recognize the recognition points containing non-palm types to determine whether the palm is mistakenly recognized as a non-palm, thereby reducing the occurrence of misrecognition of the palm; and only when the multiple recognition points contain only palm types, is the touch object type finally determined to be a palm, thereby ensuring the accuracy of palm recognition.
[0037] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by implementing the present application. Other advantages of the present application can be realized and obtained by the schemes described in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings are used to provide an understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.
[0039] Figure 1 A flow chart of the palm touch recognition method provided in an embodiment of the present application;
[0040] Figure 2 A schematic diagram of a data frame obtained from a capacitive module of a touch control device according to an embodiment of the present application;
[0041] Figure 3 A module diagram of a palm touch recognition device provided in an embodiment of the present application;
[0042] Figure 4 This is a structural diagram of a touch device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] The present application describes multiple embodiments, but the description is exemplary rather than restrictive, and it is obvious to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described in the present application. Although many possible feature combinations are shown in the drawings and discussed in the specific embodiments, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with any other feature or element in any other embodiment, or may replace any other feature or element in any other embodiment.
[0044] The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in the present application may also be combined with any conventional features or elements to form a unique invention scheme defined by the claims. Any features or elements of any embodiment may also be combined with features or elements from other invention schemes to form another unique invention scheme defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in the present application may be implemented individually or in any appropriate combination. Therefore, except for the limitations made according to the attached claims and their equivalents, the embodiments are not subject to other restrictions. In addition, various modifications and changes may be made within the scope of protection of the attached claims.
[0045] In addition, when describing representative embodiments, the specification may have presented the method and / or process as a specific sequence of steps. However, to the extent that the method or process does not rely on the specific order of the steps described herein, the method or process should not be limited to the steps of the specific order described. As will be understood by those of ordinary skill in the art, other sequences of steps are also possible. Therefore, the specific sequence of the steps set forth in the specification should not be interpreted as a limitation to the claims. In addition, the claims for the method and / or process should not be limited to the steps of performing them in the order written, and those skilled in the art can easily understand that these sequences can be changed and still remain within the spirit and scope of the embodiments of the present application.
[0046] The present application embodiment provides a palm touch recognition method, such as Figure 1 As shown, the method includes:
[0047] Step S101: acquiring a data frame including a plurality of identification points of a touch object from a capacitive module of a touch device;
[0048] The information of each identification point may include: identification type;
[0049] Step S102: when it is determined that the identification types of the plurality of identification points include palm and non-palm, determining whether the identification point including the non-palm type has been misidentified, and changing the identification type included in the identification point to palm after determining that misidentification has occurred;
[0050] For palm touch, the non-palm types identified by the capacitive module are mostly fingers;
[0051] If the identification type among the obtained multiple identification points only includes the palm, the touch object can be directly identified as the palm;
[0052] Step S103: After the modification, when it is determined that the identification types of the plurality of identification points only include the palm, the touch object is identified as the palm.
[0053] The palm touch recognition scheme recorded in the embodiment of the present application, after obtaining multiple recognition points containing a touch object, if the recognition types contained in the multiple recognition points include non-palm in addition to palm, the recognition points containing non-palm types continue to be recognized to determine whether the palm is mistakenly recognized as a non-palm, thereby reducing the occurrence of misrecognition of the palm; and only when the multiple recognition points contain only the palm type, the touch object type is finally determined to be a palm, thereby ensuring the accuracy of palm recognition.
[0054] In an exemplary embodiment, the information of each identification point may also include: identification area, identification position;
[0055] Figure 2Schematic diagram of a data frame obtained from a capacitive module of a touch device. In the figure, each frame of data contains 5 identification points, each of which has a unique ID. Figure 2 ID1, ID2, ID3, ID4 and ID5 shown; the information of each identification point includes X-coordinate information, Y-coordinate information, area information, finger identification, and palm identification; when the identified type is a finger, the finger identification is set to 1, otherwise, the finger identification is set to 0; when the identified type is a palm, the palm identification is set to 1, otherwise, the palm identification is set to 0.
[0056] In an exemplary embodiment, the determining whether misidentification occurs at the recognition point containing the non-palm type includes:
[0057] Choose any of the following methods to determine:
[0058] When the identification area included in the identification point of the non-palm type is greater than or equal to the area threshold, it is determined that the identification point of the non-palm type is misidentified;
[0059] When the distance between the recognition position included in the recognition point containing the non-palm type and the recognition position included in the recognition point containing the palm type is less than or equal to a distance threshold, it is determined that the recognition point containing the non-palm type is misrecognized;
[0060] When the recognition position included in the recognition point containing the non-palm type is located within the area formed by the recognition positions included in all the recognition points containing the palm type, it is determined that the recognition point containing the non-palm type is misrecognized.
[0061] In an exemplary embodiment, the distance between two identified locations may be calculated using Euclidean distance.
[0062] In an exemplary embodiment, the method of determining the area range consisting of the identification positions included in all identification points containing the palm type includes:
[0063] The x-coordinate range of the region is determined by the x-coordinates of all the identification points containing the palm type; illustratively, the x-coordinates of each identification point containing the palm type are listed respectively, and the minimum and maximum values therein are selected as the boundary values of the x-coordinate range of the region;
[0064] The y-coordinate range of the area is determined by the y-coordinates of all identification points containing the palm type; exemplarily, the y-coordinates of each identification point containing the palm type are listed separately, and the minimum and maximum values therein are selected as the boundary values of the y-coordinate range of the area.
[0065] In an exemplary embodiment, the method of determining that the recognition position included in the recognition point containing the non-palm type is located within the range of the area formed by the recognition positions included in all the recognition points containing the palm type includes:
[0066] When the x-coordinates of the recognition points containing the non-palm type are within the x-coordinate range of the area, and the y-coordinates of the recognition points containing the non-palm type are within the y-coordinate range of the area, it is determined that the recognition positions of the recognition points containing the non-palm type are within the area range composed of the recognition positions of all the recognition points containing the palm type.
[0067] The palm touch recognition method described in the above embodiment is described below with a specific example.
[0068] Step 1: Obtain a data frame containing five identification points (ID1 to ID5) of a touch object from a capacitance module of a touch device; Figure 2 Take a data frame (the data frame framed in the figure) as an example, where the identification type contained in ID1 is palm, the identification type contained in ID2 is finger, and ID3-ID4 do not contain identification data;
[0069] Step 2: Determine whether ID2 has been misidentified, and the determination method includes:
[0070] Determining that the identification area included in ID2 is greater than or equal to the preset area threshold, it is determined that ID2 has been misidentified, and the type included in ID2 is changed from finger to palm; or
[0071] The distance value is calculated based on the (x, y) coordinates contained in ID2 and the (x, y) coordinates contained in ID1. When the distance value is less than or equal to the preset distance threshold, it means that the detection point corresponding to ID1 and the detection point corresponding to ID2 are adjacent in space. When the type identified by ID1 is a palm, it is determined that ID2 has been misidentified, and the type contained in ID2 is changed from finger to palm.
[0072] Considering that all the identification points where misidentification occurs cannot be identified by using any of the above methods, in order to further reduce the occurrence of misidentification of the palm, in an exemplary embodiment, the method further includes:
[0073] After determining that a misidentification has occurred, the identification type included in the identification point is modified to palm, if there is still an identification point including a non-palm type among the multiple identification points, continue to select any different method from the above multiple methods to determine whether the identification point including the non-palm type has been misidentified, and after determining that a misidentification has occurred, modify the identification type included in the identification point to palm until a preset condition is met and stop. The preset condition may include: all of the above multiple methods have been selected, or it is determined that the number of misidentifications has reached a preset number.
[0074] Taking the preset condition that all the multiple modes have been selected as an example, if after executing the condition that the recognition area included in the recognition point including the non-palm type is greater than or equal to the area threshold, it is determined that the recognition point including the non-palm type has been misrecognized, it is found that there is still a recognition point including the non-palm type among the multiple recognition points, and then the condition is executed based on whether the distance between the recognition position included in the recognition point including the non-palm type and the recognition position included in the recognition point including the palm type is less than or equal to the distance threshold to determine whether the recognition point including the non-palm type has been misrecognized; after determining that the recognition point including the non-palm type has been misrecognized, if it is found that there is still a recognition point including the non-palm type among the multiple recognition points, it is executed based on whether the recognition position included in the recognition point including the non-palm type is located within the area composed of the recognition positions included in all the recognition points including the palm type to determine whether the recognition point including the non-palm type has been misrecognized, at this point, all the multiple modes have been selected, and it is no longer determined whether the recognition point including the non-palm type has been misrecognized.
[0075] Taking determining that the number of misidentifications has reached a preset number as an example, assuming that the preset number is 2 times, if after determining that the recognition point containing the non-palm type has been misidentified based on the condition that the recognition area contained in the recognition point containing the non-palm type is greater than or equal to the area threshold, it is found that there are still recognition points containing non-palm types among the multiple recognition points, and then the condition of whether the distance between the recognition position contained in the recognition point containing the non-palm type and the recognition position contained in the recognition point containing the palm type is less than or equal to the distance threshold is executed to determine whether the recognition point containing the non-palm type has been misidentified, so far the number of misidentifications has reached 2 times, and it is no longer determined whether the recognition point containing the non-palm type has been misidentified.
[0076] In addition to the palm recognition based on the identification points obtained from the capacitive module of the touch device, the palm recognition can also be performed based on the elastic wave signal obtained from the elastic wave sensor module of the touch device. Therefore, in an exemplary embodiment, the method may further include: in addition to obtaining a data frame containing a plurality of identification points of the touch object from the capacitive module of the touch device, obtaining an elastic wave signal from the elastic wave sensor module of the touch device;
[0077] The determining whether misidentification occurs at the recognition point containing the non-palm type includes:
[0078] Choose any of the following methods to determine:
[0079] When the identification area included in the identification point of the non-palm type is greater than or equal to the area threshold, it is determined that the identification point of the non-palm type is misidentified;
[0080] When the distance between the recognition position included in the recognition point containing the non-palm type and the recognition position included in the recognition point containing the palm type is less than or equal to a distance threshold, it is determined that the recognition point containing the non-palm type is misrecognized;
[0081] When the recognition position included in the recognition point containing the non-palm type is located within the area formed by the recognition positions included in all the recognition points containing the palm type, it is determined that the recognition point containing the non-palm type is misrecognized;
[0082] Determine the maximum amplitude and minimum amplitude of the elastic wave signal corresponding to the data frame containing the non-palm type identification point and a preset number of data frames thereafter; calculate the slope of the line connecting the maximum amplitude and the minimum amplitude, and when the slope is less than or equal to a slope threshold, determine that the identification point containing the non-palm type is misidentified.
[0083] In an exemplary embodiment, considering that it is not possible to identify all the misidentified identification points by any of the above methods, therefore, in order to further reduce the occurrence of misidentification of palms, in an exemplary embodiment, the method further includes: after determining that misidentification has occurred, the identification type contained in the identification point is modified to palm, if there are still identification points containing non-palm types among the multiple identification points, continue to select a different method from the above multiple methods to determine whether the identification point containing non-palm types has been misidentified, and after determining that misidentification has occurred, modify the identification type contained in the identification point to palm, until the preset conditions are met and stop. The preset conditions may include: all of the above multiple methods have been selected, or it is determined that the number of misidentifications has reached a preset number.
[0084] In an exemplary embodiment, the method further comprises:
[0085] After the touch object is identified as a palm, the identification type of multiple identification points included in the subsequent data frame obtained from the capacitive module of the touch device is locked as a palm state until the touch object is lifted off the touch panel and then unlocked.
[0086] This solution can ensure that after the palm is recognized, before the palm is lifted off the touchpad, the recognition result is stable, and the step of continuing palm recognition is omitted.
[0087] In an exemplary embodiment, the method of locking the recognition type in the recognition point to the palm state includes: locking the recognition point, at which time the information contained in the recognition point does not change, thereby achieving palm state locking; or locking the state information contained in the recognition point, thereby also achieving palm state locking.
[0088] An embodiment of the present application further provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the method described in any of the previous embodiments.
[0089] The present application also provides a palm touch recognition device, such as Figure 3 As shown, the device includes a memory 301 and a processor 302, wherein the memory 301 stores a program, and when the program is read and executed by the processor 302, the method described in any of the previous embodiments is implemented.
[0090] The palm touch recognition device has the technical effects of the palm touch recognition method described in any of the previous embodiments.
[0091] The present application also provides a touch device, such as Figure 4 As shown, it includes the palm touch recognition device 401 as described in the previous embodiment.
[0092] The touch control device has the same technical effect as the previous palm touch control recognition device.
[0093] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
Claims
1. A palm touch recognition method, comprising: Acquire a data frame including a plurality of identification points of a touch object from a capacitive module of the touch device, wherein information of each identification point includes: an identification type; When the identification types of the plurality of identification points include palm and non-palm, determining whether the identification point including the non-palm type has been misidentified, and modifying the identification type included in the identification point to palm after determining that misidentification has occurred; When, after the modification, it is determined that the identification types among the plurality of identification points only include the palm, the touch object is identified as the palm.
2. The method according to claim 1, characterized in that The information of each identification point also includes: identification area and identification position; The determining whether misidentification occurs at the identification point containing the non-palm type includes: Choose any of the following methods to determine: When the identification area included in the identification point of the non-palm type is greater than or equal to the area threshold, it is determined that the identification point of the non-palm type has been misidentified; When the distance between the recognition position included in the recognition point containing the non-palm type and the recognition position included in the recognition point containing the palm type is less than or equal to the distance threshold, it is determined that the recognition point containing the non-palm type has been misrecognized; When the recognition position included in the recognition point containing the non-palm type is located within the area formed by the recognition positions included in all the recognition points containing the palm type, it is determined that the recognition point containing the non-palm type has been misrecognized.
3. The method according to claim 2, characterized in that The method for determining the range of the area consisting of the identification positions included in all identification points containing the palm type includes: Determine the x-coordinate range of the area by the x-coordinates of all the identification points containing the palm type; The y coordinate range of the area is determined by the y coordinates of all the recognition points containing the palm type.
4. The method according to claim 1, characterized in that: The method further comprises: In addition to acquiring a data frame including a plurality of identification points of a touch object from a capacitance module of the touch device, an elastic wave signal is also acquired from an elastic wave sensor module of the touch device; The information of each identification point also includes: identification area and identification position; The determining whether misidentification occurs at the recognition point containing the non-palm type includes: Choose any of the following methods to determine: When the identification area included in the identification point of the non-palm type is greater than or equal to the area threshold, it is determined that the identification point of the non-palm type is misidentified; When the distance between the recognition position included in the recognition point containing the non-palm type and the recognition position included in the recognition point containing the palm type is less than or equal to a distance threshold, it is determined that the recognition point containing the non-palm type is misrecognized; When the recognition position included in the recognition point containing the non-palm type is located within the area formed by the recognition positions included in all the recognition points containing the palm type, it is determined that the recognition point containing the non-palm type is misrecognized; Determine the maximum amplitude and minimum amplitude of the elastic wave signal corresponding to the data frame containing the non-palm type identification point and a preset number of data frames thereafter; calculate the slope of the line connecting the maximum amplitude and the minimum amplitude, and when the slope is less than or equal to a slope threshold, determine that the identification point containing the non-palm type is misidentified.
5. The method according to claim 2 or 4, characterized in that: The method further comprises: After it is determined that misrecognition has occurred and the identification type contained in the identification point is changed to palm, if there are still identification points containing non-palm types among the multiple identification points, continue to select any different method from the above-mentioned multiple methods to determine whether misrecognition has occurred at the identification point containing the non-palm type, and after it is determined that misrecognition has occurred, the identification type contained in the identification point is changed to palm, and the process stops after the preset conditions are met.
6. The method according to claim 5, characterized in that The preset condition includes any one of the following: The various methods described have been selected; It is determined that the number of misidentifications reaches a preset number.
7. The method according to claim 1, characterized in that The method further comprises: After the touch object is identified as a palm, the identification type of multiple identification points included in the subsequent data frame obtained from the capacitive module of the touch device is locked as a palm state until the touch object is lifted off the touch panel and then unlocked.
8. A computer-readable storage medium storing one or more programs, wherein the one or more programs can be executed by one or more processors to implement the method according to any one of claims 1 to 7.
9. A palm touch recognition device, characterized in that: The device includes a memory and a processor, wherein the memory stores a program, and when the program is read and executed by the processor, the method according to any one of claims 1 to 7 is implemented.
10. A touch device, characterized in that: It comprises the palm touch recognition device as claimed in claim 9.