Continuous click recognition method and device and storage medium

By combining the signals of elastic wave sensors and capacitive sensors to identify effective wave peaks and troughs, and combining the contact area change signals, the problem of misjudgment in the existing technology is solved and the accuracy of combo recognition is improved.

CN118535033APending Publication Date: 2024-08-23BEIJING TAIFANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310154500.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing combo recognition technology is prone to misjudgments, especially when unconscious finger shaking is misjudged as combo clicks, resulting in low recognition accuracy.

Method used

Click action recognition is performed by combining the signals of the elastic wave sensor and the capacitive sensor. By identifying the effective peaks and troughs, and combining the contact area change signal to determine whether it is an intentional combo action, the preset threshold is adjusted to improve the recognition accuracy.

Benefits of technology

It effectively avoids the misrecognition of combos, improves the accuracy of combo recognition, and ensures accurate judgment of each click action.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535033A
    Figure CN118535033A
Patent Text Reader

Abstract

The invention discloses a continuous click recognition method and device and a storage medium, and the method comprises the steps: carrying out the recognition of a click action according to a signal collected by an elastic wave sensor and a signal collected by a capacitive sensor, and judging whether the click action is a click action in an intentional continuous click or not; and when the click action is determined to be the click action in the intentional click continuous click, carrying out continuous click counting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to combo recognition technology, and more particularly to a combo recognition method, device and storage medium. Background Art

[0002] Existing combo recognition often results in misjudgment, such as misjudgment of unconscious shaking when a person long presses the touchpad as a combo click action. Summary of the invention

[0003] The present application provides a combo recognition method, device and storage medium, which can improve the accuracy of combo recognition.

[0004] The combo recognition method provided by this application includes:

[0005] Recognize the click action according to the signal collected by the elastic wave sensor and the signal collected by the capacitive sensor, and determine whether the click action is an intentional click action in a combo;

[0006] When it is determined that the click action is a click action in an intentional click combo, a combo count is performed.

[0007] In an exemplary embodiment, the method further comprises:

[0008] Before performing click action recognition, select elastic wave sensors, and select n elastic wave sensors;

[0009] The determining whether the click action is an intentional click action in a combo includes:

[0010] Identify whether there are effective wave peaks and effective wave troughs in the signals collected by n elastic wave sensors;

[0011] When valid peaks and valid troughs are identified in the signals collected by the n elastic wave sensors, it is determined whether the click action is an intentional combo based on the valid troughs in the identified signals collected by the n elastic wave sensors and the contact area change signal collected by the capacitive sensor.

[0012] In an exemplary embodiment, identifying whether there are effective wave peaks and effective wave troughs in the signals collected by n elastic wave sensors includes:

[0013] Determine whether there is a peak in the signal that meets the preset conditions. If so, the peak is a valid peak. The peak of the preset conditions is: the time point of the peak is closest to the current time, the left slope of the peak is positive, the right slope is negative, and the difference between the peak value of the peak and the initial value of the signal generated by this action set according to the preset rules is greater than or equal to the preset amplitude threshold;

[0014] After the effective peak is identified, it is determined whether there is a trough that meets the preset conditions in the signal. If so, the trough is a valid trough. The trough of the preset conditions is: the time difference between the time point of the trough and the effective peak is less than or equal to the preset time threshold, and the height difference between the effective peak and the trough is greater than or equal to k times the peak value of the effective peak, 0 <k<1。

[0015] In an exemplary embodiment, setting the initial value of the signal generated by this action according to a preset rule includes:

[0016] The initial value of the signal generated by this action is set to the amplitude of the effective trough in the signal generated by the previous action, wherein the initial value of the signal generated by the first action is determined according to the signal value collected by the elastic wave sensor before the action is performed.

[0017] In an exemplary embodiment, the preset amplitude threshold value decreases as the number of combo counts increases;

[0018] The method further comprises:

[0019] After the combo count is performed, the preset amplitude threshold is adjusted according to the number of combo counts, including:

[0020] threshold new =max(threshold old -count*downValue,minThd)

[0021] Among them, threshold old is the preset amplitude threshold used in the previous action, threshold new is the preset amplitude threshold used in this action, count is the number of combo counts, downValue is the decrease amplitude of the preset amplitude threshold, and minThd is the minimum preset amplitude threshold.

[0022] In an exemplary embodiment, judging whether it is a click action in an intentional combo according to the effective troughs existing in the identified n elastic wave sensor collected signals and the contact area change signal collected by the capacitive sensor includes:

[0023] When the maximum time difference between the time points of n effective troughs in the signals collected by n elastic wave sensors is less than or equal to the preset time difference threshold, and the maximum increase in contact area is greater than or equal to the preset area increase threshold, the rise time of the contact area change signal is less than or equal to the preset rise time threshold, the average rising slope of the contact area change signal is greater than or equal to the preset slope positive threshold, the falling time of the contact area change signal is less than or equal to the preset falling time threshold, and the average falling slope of the contact area change signal is less than or equal to the preset slope negative threshold, it is determined to be an intentional click action in a combo.

[0024] In an exemplary embodiment, the setting method of the preset time difference threshold includes:

[0025]

[0026] Among them, Tnew is the preset time difference threshold after adjustment, Told is the preset time difference threshold before adjustment, Δs is the maximum increase in the contact area, Δu is the rise time, Δd is the fall time, and w is the weight used to limit the range of the preset time difference threshold.

[0027] In an exemplary embodiment, the n elastic wave sensors are selected by:

[0028] Calculating the touch position of the action according to the signal collected by the capacitive sensor;

[0029] According to the touch position and a preset elastic wave sensor selection rule determined according to the touch position, m elastic wave sensors are selected, where m≥n;

[0030] According to the signal-to-noise ratio of the signal collected by each of the m elastic wave sensors, n elastic wave sensors having a signal-to-noise ratio greater than a preset signal-to-noise ratio threshold are selected from the m elastic wave sensors.

[0031] An embodiment of the present application further provides a computer-readable and writable storage medium, wherein the medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the steps of the combo recognition method as described in any of the previous embodiments are implemented.

[0032] The embodiment of the present application also provides a combo recognition device, including:

[0033] A memory for storing computer executable instructions;

[0034] The processor is used to execute the computer executable instructions to implement the steps of the combo recognition method as described in any of the previous embodiments.

[0035] Compared with the related art, the embodiment of the present application combines the signal collected by the elastic wave sensor and the signal collected by the capacitive sensor for each click action to determine whether the click action is an intentional click action in a combo, effectively avoiding the situation of misidentifying combos and improving the accuracy of combo recognition.

[0036] 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

[0037] 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.

[0038] Figure 1 A flow chart of a combo recognition method provided in an embodiment of the present application;

[0039] Figure 2 A schematic diagram of signals collected by an elastic wave sensor under an intentional continuous tapping operation provided in an embodiment of the present application;

[0040] Figure 3 A schematic diagram of signals collected by an elastic wave sensor under unconscious finger shaking operation provided in an embodiment of the present application;

[0041] Figure 4 A schematic diagram of signals collected by four elastic wave sensors under an intentional combo operation provided in an embodiment of the present application;

[0042] Figure 5 This is a structural diagram of the combo recognition 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 combo recognition method, such as Figure 1 As shown, the method includes:

[0047] Step S101: performing click action recognition based on the signal collected by the elastic wave sensor and the signal collected by the capacitive sensor, and determining whether the click action is an intentional click action in a series of clicks; if it is determined to be an intentional click action in a series of clicks, executing step S102;

[0048] The method of identifying the click action may include:

[0049] Determine whether the amplitude of the signal collected by the elastic wave sensor is greater than a preset amplitude, and determine whether the change in the contact position is less than a preset change threshold based on the signal collected by the capacitive sensor. If the amplitude of the signal is greater than the preset amplitude and the change in the position is less than the preset change threshold, it is determined that a click action is detected;

[0050] Step S102 counts the number of consecutive hits.

[0051] For each click action, the embodiment of the present application combines the signal collected by the elastic wave sensor and the signal collected by the capacitive sensor to determine whether the click action is a click action in an intentional combo, thereby effectively avoiding the situation of misidentifying combos and improving the accuracy of combo recognition.

[0052] In an exemplary embodiment, the method further comprises:

[0053] Before performing click action recognition, elastic wave sensors are selected, and n elastic wave sensors are selected.

[0054] In an exemplary embodiment, the n elastic wave sensors are selected by:

[0055] Calculating the touch position of the action according to the signal collected by the capacitive sensor;

[0056] According to the touch position and a preset elastic wave sensor selection rule determined according to the touch position, m elastic wave sensors are selected, where m≥n; the elastic wave sensor selection rule determined according to the touch position may include: selecting an elastic wave sensor whose distance from the touch position is less than a preset distance;

[0057] According to the signal-to-noise ratio of the signal collected by each of the m elastic wave sensors, n elastic wave sensors having a signal-to-noise ratio greater than a preset signal-to-noise ratio threshold are selected from the m elastic wave sensors.

[0058] In an exemplary embodiment, the signal-to-noise ratio of the signal collected by the elastic wave sensor may be calculated as follows:

[0059] The signal-to-noise ratio of the signal collected by the elastic wave sensor = the absolute value of the real-time signal amplitude obtained after the action is performed / the noise level obtained before the action is performed;

[0060] The noise level obtained before executing the action may be an average value u of the noise positive amplitude obtained within a preset time period, or a combined value of the average value u and the standard deviation σ, such as u+3σ.

[0061] In an exemplary embodiment, judging whether the click action is an intentional click action in a combo according to the signal collected by the elastic wave sensor and the signal collected by the capacitive sensor includes:

[0062] Identify whether there are effective wave peaks and effective wave troughs in the signals collected by n elastic wave sensors;

[0063] When valid peaks and valid troughs are identified in the signals collected by the n elastic wave sensors, it is determined whether the click action is an intentional combo based on the valid troughs in the identified signals collected by the n elastic wave sensors and the contact area change signal collected by the capacitive sensor.

[0064] In an exemplary embodiment, identifying whether there are effective wave peaks and effective wave troughs in the signals collected by n elastic wave sensors includes:

[0065] It is determined whether there is a peak in the signal that meets the preset conditions. If there is, the peak is a valid peak. The peak of the preset conditions is: the time point of the peak is closest to the current time (this is to take into account that multiple peaks may be generated due to factors such as finger shaking and hesitation), the left slope of the peak is positive, the right slope is negative, and the difference between the peak value of the peak and the initial value of the signal generated by this action set according to the preset rules is greater than or equal to the preset amplitude threshold; for example, the amplitude of the time series signal collected by the elastic wave sensor is [x t-2 ,x t-1 ,x t ], if x t-1 Satisfy(x t-1 -x t-2 )>0、(x t -x t-1 )<0 and (x t-1 -base)>threshold, then it can be determined that x t-1 is the peak value of the effective wave peak, where base represents the initial value of the signal generated by this action, and threshold represents the preset amplitude threshold;

[0066] After the effective peak is identified, it is determined whether there is a trough that meets the preset conditions in the signal. If so, the trough is a valid trough. The trough of the preset conditions is: the time difference between the time point of the trough and the effective peak is less than or equal to the preset time threshold, and the height difference between the effective peak and the trough is greater than or equal to k times the peak value of the effective peak, 0 <k<1。

[0067] Since each click action in the intentional continuous click operation involves pressing and lifting, there are effective peaks (peaks appearing during the pressing process) and effective troughs (troughs appearing during the lifting process) in the signal collected by the elastic wave sensor. Figure 2 The figure shows the schematic diagram of elastic wave sensor collecting signals under intentional continuous operation. Figure 2 In the signal collected by the elastic wave sensor, an effective peak is followed by an effective trough, and multiple effective peaks and effective troughs appear continuously. Δt represents the time difference between the peak and the trough. However, unconscious finger shaking does not cause effective peaks and effective troughs to appear in the signal collected by the elastic wave sensor. Figure 3 The figure shows the schematic diagram of the elastic wave sensor signal acquisition under the unconscious finger shaking operation. When an effective peak appears, there is no effective trough ( Figure 3 The trough shown in the figure, which is different from the peak by time Δt, is not a valid trough).

[0068] Due to user habits or unconscious operations, the next press may begin before the force is completely released when the finger is lifted; in addition, there is a drift phenomenon in the signal collected by the elastic wave sensor (for example, the signal amplitude collected by the elastic wave sensor may drop below 0 after multiple clicks). In order to reduce the impact of these factors on the accuracy of effective peak judgment, in an exemplary embodiment, the initial value of the signal generated by each action can be dynamically adjusted.

[0069] In an exemplary embodiment, setting the initial value of the signal generated by this action according to a preset rule includes:

[0070] Set the initial value of the signal generated by this action to the amplitude of the effective trough in the signal generated by the previous action. Figure 2 , for example, the initial value of the signal generated by the second action is the effective trough value in the first action;

[0071] The initial value of the signal generated by the first action is determined based on the signal value collected by the elastic wave sensor before the action is performed, such as taking the average value of the signal amplitude collected by the elastic wave sensor in a preset time period before the action is performed as the initial value of the signal generated by the first action.

[0072] In order to accommodate the situation where the pressing force becomes smaller and smaller after multiple consecutive clicks due to user habits or unconscious operations, in an exemplary embodiment, the preset amplitude threshold can be reduced as the number of consecutive click counts increases.

[0073] In an exemplary embodiment, the method further comprises:

[0074] After the combo count is performed, the preset amplitude threshold is adjusted according to the number of combo counts, including:

[0075] threshold new =max(threshold old -count*downValue,minThd)

[0076] Among them, threshold old is the preset amplitude threshold used in the previous action, threshold new is the preset amplitude threshold used in this action, count is the number of combo counts, downValue is the decrease of the preset amplitude threshold, minThd is the minimum preset amplitude threshold, where downValue and minThd can be determined based on the sensitivity of the elastic wave sensor and user experience.

[0077] In an exemplary embodiment, judging whether it is a click action in an intentional combo according to the effective troughs existing in the identified n elastic wave sensor collected signals and the contact area change signal collected by the capacitive sensor includes:

[0078] Determine whether the maximum time difference between the time points of n effective troughs existing in the n elastic wave sensor acquisition signals is less than or equal to a preset time difference threshold; Figure 4 The four elastic wave sensor acquisition signal diagrams shown illustrate the maximum time difference between the time points of the four effective wave troughs. Figure 4 The acquisition signal diagram shown in includes two consecutive clicks. During the first click, the effective trough times obtained by the four elastic wave sensors are [38, 37, 38, 37], respectively. Therefore, the maximum time difference between the time points of the four effective troughs is 1. During the second click, the effective trough times obtained by the four elastic wave sensors are [69, 69, 69, 69], respectively. Therefore, the maximum time difference between the time points of the four effective troughs is 0.

[0079] If it is less than or equal to the preset time difference threshold, and it is judged that the maximum increase in contact area is greater than or equal to the preset area increase threshold, the rise time of the contact area change signal is less than or equal to the preset rise time threshold, the average rising slope of the contact area change signal is greater than or equal to the preset slope positive threshold, the falling time of the contact area change signal is less than or equal to the preset falling time threshold, and the average falling slope of the contact area change signal is less than or equal to the preset slope negative threshold, then it is determined to be an intentional click action in a combo.

[0080] Considering that each click action in a combo is shorter in duration than a single click action, the embodiment of the present application uses a contact area change signal collected by a capacitive sensor to identify click actions of short duration, thereby improving the accuracy of combo recognition.

[0081] Since the size of the contact area change value and the duration of the click action will affect the time difference between multiple piezoelectric sensor signals, in an exemplary embodiment, a method for adjusting the preset time difference threshold is also proposed, including:

[0082]

[0083] Among them, Tnew is the preset time difference threshold after adjustment, Told is the preset time difference threshold before adjustment, Δs is the maximum increase in the contact area, Δu is the rise time, Δd is the fall time, and w is the weight used to limit the range of the preset time difference threshold.

[0084] An embodiment of the present application further provides a computer-readable and writable storage medium, characterized in that the medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the steps of the combo recognition method described in any of the previous embodiments are implemented.

[0085] The present application also provides a combo recognition device, such as Figure 5 As shown, including:

[0086] Memory 501, used for storing computer executable instructions;

[0087] The processor 502 is used to execute the computer executable instructions to implement the steps of the combo recognition method as described in any of the previous embodiments.

[0088] 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 combo recognition method, include: Recognize the click action according to the signal collected by the elastic wave sensor and the signal collected by the capacitive sensor, and determine whether the click action is an intentional click action in a combo; When it is determined that the click action is a click action in an intentional click combo, a combo count is performed.

2. The method according to claim 1, It is characterized in that The method further comprises: Before performing click action recognition, select elastic wave sensors, and select n elastic wave sensors; The determining whether the click action is an intentional click action in a combo includes: Identify whether there are effective wave peaks and effective wave troughs in the signals collected by n elastic wave sensors; When valid peaks and valid troughs are identified in the signals collected by the n elastic wave sensors, it is determined whether the click action is an intentional combo based on the valid troughs in the identified signals collected by the n elastic wave sensors and the contact area change signal collected by the capacitive sensor.

3. The method according to claim 2, It is characterized in that Identify whether there are effective peaks and effective troughs in the signals collected by n elastic wave sensors, including: Determine whether there is a peak in the signal that meets the preset conditions. If so, the peak is a valid peak. The peak of the preset conditions is: the time point of the peak is closest to the current time, the left slope of the peak is positive, the right slope is negative, and the difference between the peak value of the peak and the initial value of the signal generated by this action set according to the preset rules is greater than or equal to the preset amplitude threshold; After the effective peak is identified, it is determined whether there is a trough that meets the preset conditions in the signal. If so, the trough is a valid trough. The trough of the preset conditions is: the time difference between the time point of the trough and the effective peak is less than or equal to the preset time threshold, and the height difference between the effective peak and the trough is greater than or equal to k times the peak value of the effective peak, 0 <k<1。 4. The method according to claim 3, It is characterized in that Set the initial value of the signal generated by this action according to the preset rules, including: The initial value of the signal generated by this action is set to the amplitude of the effective trough in the signal generated by the previous action, wherein the initial value of the signal generated by the first action is determined according to the signal value collected by the elastic wave sensor before the action is performed.

5. The method according to claim 3, It is characterized in that The preset amplitude threshold value decreases as the number of consecutive hit counts increases; The method further comprises: After the combo count is performed, the preset amplitude threshold is adjusted according to the number of combo counts, including: threshold new =max(threshold old -count*downValue,minThd) Among them, threshold old is the preset amplitude threshold used in the previous action, threshold new is the preset amplitude threshold used in this action, count is the number of combo counts, downValue is the decrease amplitude of the preset amplitude threshold, and minThd is the minimum preset amplitude threshold.

6. The method according to any one of claims 2 to 5, It is characterized in that Judging whether the click action is an intentional combo according to the effective troughs existing in the n elastic wave sensor acquisition signals and the contact area change signal acquired by the capacitive sensor, includes: When the maximum time difference between the time points of n effective troughs in the signals collected by n elastic wave sensors is less than or equal to the preset time difference threshold, and the maximum increase in contact area is greater than or equal to the preset area increase threshold, the rise time of the contact area change signal is less than or equal to the preset rise time threshold, the average rising slope of the contact area change signal is greater than or equal to the preset slope positive threshold, the falling time of the contact area change signal is less than or equal to the preset falling time threshold, and the average falling slope of the contact area change signal is less than or equal to the preset slope negative threshold, it is determined to be an intentional click action in a combo.

7. The method according to claim 6, It is characterized in that The method for setting the preset time difference threshold includes: Among them, Tnew is the preset time difference threshold after adjustment, Told is the preset time difference threshold before adjustment, Δs is the maximum increase in the contact area, Δu is the rise time, Δd is the fall time, and w is the weight used to limit the range of the preset time difference threshold.

8. The method according to claim 2, It is characterized in that The selection method of the n elastic wave sensors includes: Calculating the touch position of the action according to the signal collected by the capacitive sensor; According to the touch position and a preset elastic wave sensor selection rule determined according to the touch position, m elastic wave sensors are selected, where m≥n; According to the signal-to-noise ratio of the signal collected by each of the m elastic wave sensors, n elastic wave sensors having a signal-to-noise ratio greater than a preset signal-to-noise ratio threshold are selected from the m elastic wave sensors.

9. A computer-readable and writable storage medium, It is characterized in that The medium stores computer executable instructions, and when the computer executable instructions are executed by a processor, the steps of the combo recognition method according to any one of claims 1 to 8 are implemented.

10. A combo recognition device, It is characterized in that include: A memory for storing computer executable instructions; A processor is used to execute the computer executable instructions to implement the steps of the combo recognition method as described in any one of claims 1 to 8.