A touch function recognition method, device, system and storage medium

CN116795225BActive Publication Date: 2026-10-23BEIJING TAIFANG TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210249487.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-14
Publication Date
2026-10-23
Estimated Expiration
2042-03-14

AI Technical Summary

Technical Problem

大尺寸红外触摸屏可用手指、笔或任何可阻挡光线的物体来触摸,但如果用户想要切换触摸轨迹的颜色或者切换触控功能,需要去触摸屏幕指定位置以完成切换操作,操作不便利

Benefits of technology

[0045]激励信号产生模块;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116795225B_ABST
    Figure CN116795225B_ABST
Patent Text Reader

Abstract

A touch function recognition method, device, system and storage medium, wherein the method comprises: receiving an excitation signal emitted by a stylus in contact with a touch panel, collected by one or more elastic wave sensors connected to the touch panel; obtaining a feature of the collected excitation signal, the feature comprising a time domain feature and a frequency domain feature; determining a preset touch function corresponding to the excitation signal according to one or more of the time domain feature and the frequency domain feature of the excitation signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This article relates to touch technology, and more particularly to a touch function recognition method, device, system and storage medium. Background Technology

[0002] With the development of touch technology, increasingly convenient human-computer interaction modes have been developed. Large-size infrared touchscreens can be touched with fingers, pens, or any object that can block light, but if users want to change the color of the touch track or switch touch functions, they need to touch a specific location on the screen to complete the switching operation, which is inconvenient. Summary of the Invention

[0003] This application provides a touch function recognition method, device, system, and storage medium, which can avoid manually touching the corresponding position on the touch screen and improve the convenience of operation.

[0004] This application provides a touch function recognition method, including:

[0005] Receives excitation signals emitted by a stylus that comes into contact with the touch panel, collected by one or more elastic wave sensors connected to the touch panel;

[0006] The characteristics of the acquired excitation signal are obtained, including time-domain characteristics and frequency-domain characteristics;

[0007] The preset touch function corresponding to the excitation signal is determined based on one or more of the time-domain and frequency-domain characteristics of the excitation signal.

[0008] As an exemplary embodiment, acquiring the frequency domain characteristics of the acquired excitation signal includes acquiring one or more of the following: a first frequency domain characteristic and a second frequency domain characteristic of the excitation signal:

[0009] Based on the spectrum of the excitation signal collected by the i-th elastic wave sensor, determine the maximum peak point f. i峰值 and located in the f i峰值 Both sides and with the f i峰值 Adjacent maxima f i左极值 and f i右极值 ;Will and As the first frequency domain feature of the excitation signal;

[0010] Based on the spectrum of the excitation signal collected by the i-th elastic wave sensor, determine m minimum points f within a preset frequency domain range. i1 f i2 ... f im ;Will This serves as the second frequency domain feature of the excitation signal;

[0011] Where n represents the total number of elastic wave sensors connected to the touch panel, α i This represents the weight of the i-th elastic wave sensor.

[0012] As an exemplary embodiment, acquiring the time-domain characteristics of the acquired excitation signal includes acquiring one or more of the following: a first time-domain characteristic and a second time-domain characteristic of the excitation signal:

[0013] Based on the time-domain envelope of the excitation signal acquired by the i-th elastic wave sensor, determine the number Q of extreme values ​​that satisfy the preset conditions. i ,Will As the first time-domain feature of the excitation signal; the extreme value that satisfies the preset condition includes: the extreme value is greater than a preset value R, the preset value R is less than the maximum value; and the time difference between the extreme point of the extreme value and its adjacent extreme point is greater than a preset time threshold.

[0014] The signal skewness S is determined based on the time-domain envelope of the excitation signal acquired by the i-th elastic wave sensor. i ,Will As a second time-domain feature of the excitation signal;

[0015] Where n represents the total number of elastic wave sensors connected to the touch panel, α i This represents the weight of the i-th elastic wave sensor.

[0016] As an exemplary embodiment, the weight α of the i-th elastic wave sensor i The methods for determining this include:

[0017]

[0018] Among them, y i The root mean square value of the excitation signal acquired by the i-th elastic wave sensor within a preset window length.

[0019] As an exemplary embodiment, determining a preset touch function corresponding to the excitation signal based on the frequency domain characteristics of the excitation signal includes:

[0020] When the frequency domain feature is the first frequency domain feature, and When the time is right, the determined touch function is the touch function corresponding to the excitation signal of the preset frequency;

[0021] When the frequency domain feature is the second frequency domain feature, and When K is determined, the touch function is the touch function corresponding to the excitation signal of the preset frequency, where K is an integer greater than 1;

[0022] When the frequency domain feature is a first frequency domain feature and a second frequency domain feature, and When the specified frequency is reached, the determined touch function is the touch function corresponding to the excitation signal of the preset frequency.

[0023] As an exemplary embodiment, determining a preset touch function corresponding to the excitation signal based on the time-domain characteristics of the excitation signal includes:

[0024] When the time-domain feature is the first time-domain feature, according to The extreme value characteristics of the excitation signal are determined, and the determined touch function is a preset touch function corresponding to the excitation signal having the extreme value characteristics;

[0025] When the time-domain feature is the second time-domain feature, according to The skewness characteristics of the excitation signal are determined, and the determined touch function is a preset touch function corresponding to the excitation signal having the skewness characteristics.

[0026] When the time-domain feature is a first time-domain feature and a second time-domain feature, according to Determine the extreme value characteristics of the excitation signal, and based on... The skewness characteristics of the excitation signal are determined, and the determined touch function is a preset touch function corresponding to the excitation signal having the extreme value characteristics and the skewness characteristics.

[0027] As an exemplary embodiment, the method further includes:

[0028] After acquiring the characteristics of the collected excitation signal, before determining the preset touch function corresponding to the excitation signal based on one or more of the time-domain and frequency-domain characteristics of the excitation signal, it is determined whether the excitation signal is an excitation signal emitted by a stylus based on the frequency-domain characteristics of the collected excitation signal. If it is an excitation signal emitted by a stylus, the preset touch function corresponding to the excitation signal is then determined based on one or more of the time-domain and frequency-domain characteristics of the excitation signal.

[0029] The step of determining whether the excitation signal is an excitation signal emitted by the stylus based on the frequency domain characteristics of the collected excitation signal includes:

[0030] judge and Whether all frequencies are equal to the preset frequency of the excitation signal; if all frequencies are equal, then the excitation signal is determined to be the excitation signal emitted by the stylus.

[0031] or

[0032] judge Whether all frequencies are equal to K times the preset frequency of the excitation signal, where K is an integer greater than 1, if all frequencies are equal, then the excitation signal is determined to be the excitation signal emitted by the stylus.

[0033] As an exemplary embodiment, the method further includes:

[0034] After acquiring the characteristics of the collected excitation signal, before determining the preset touch function corresponding to the excitation signal based on one or more of the time-domain and frequency-domain characteristics of the excitation signal, it is determined whether the excitation signal is an excitation signal emitted by a stylus based on the time-domain characteristics of the collected excitation signal; if it is an excitation signal emitted by a stylus, the preset touch function corresponding to the excitation signal is then determined based on one or more of the time-domain and frequency-domain characteristics of the excitation signal.

[0035] The step of determining whether the excitation signal is an excitation signal emitted by the stylus based on the time-domain characteristics of the collected excitation signal includes:

[0036] judge If the value is greater than 0, then the excitation signal is determined to be the excitation signal emitted by the stylus.

[0037] This application also provides a computer-readable storage medium storing one or more programs that can be executed by one or more processors to implement the methods described in any of the preceding embodiments.

[0038] This application also provides a touch function recognition device, including a memory and a processor. The memory stores a program, which, when read and executed by the processor, implements the method described in any of the previous embodiments.

[0039] This application embodiment also provides a touch function recognition system, the system comprising:

[0040] The stylus is configured to emit excitation signals, which correspond to the touch function.

[0041] Touch panel;

[0042] One or more elastic wave sensors connected to the touch panel are configured to collect excitation signals emitted by a stylus that comes into contact with the touch panel;

[0043] The touch function recognition device as described in the previous embodiment.

[0044] As an exemplary embodiment, the stylus includes:

[0045] Excitation signal generation module;

[0046] The piezoelectric signal transmitting module connected to the excitation signal generating module is configured to convert the electrical signal generated by the excitation signal generating module into a vibration signal and then transmit it.

[0047] In this embodiment, the touch function is bound to the excitation signal. It is not necessary to wait for the operator to send a touch command by clicking the corresponding position on the touch screen before knowing the touch function to be executed. The touch function is identified directly by recognizing the excitation signal, which improves the touch efficiency.

[0048] Other features and advantages of this application will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the application. Other advantages of this application can be realized and obtained by means of the solutions described in the description and the accompanying drawings. Attached Figure Description

[0049] The accompanying drawings are used to provide an understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.

[0050] Figure 1 A flowchart illustrating the touch function recognition method provided in this application embodiment;

[0051] Figure 2 A schematic diagram of the first frequency domain features provided in an embodiment of this application;

[0052] Figure 3 This is a schematic diagram of the second frequency domain features provided in an embodiment of this application;

[0053] Figure 4 A schematic diagram of three types of temporal envelopes provided in the embodiments of this application;

[0054] Figure 5 This is a block diagram of a touch function recognition device provided in an embodiment of this application;

[0055] Figure 6 This is a diagram illustrating the composition of a touch function recognition system provided in an embodiment of this application.

[0056] Figure 7 This is a schematic diagram of the stylus components provided in an embodiment of this application;

[0057] Figure 8 This is a schematic diagram of another stylus component module provided in an embodiment of this application. Detailed Implementation

[0058] This application describes several embodiments, but these descriptions are exemplary and not restrictive, and it will be apparent to those skilled in the art that many more embodiments and implementations are possible within the scope of the embodiments described herein. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, 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, or may replace, any feature or element of any other embodiment.

[0059] This application includes and contemplates combinations of features and elements known to those skilled in the art. The embodiments, features, and elements disclosed in this application may also be combined with any conventional features or elements to form a unique inventive scheme as defined by the claims. Any feature or element of any embodiment may also be combined with features or elements from other inventive schemes to form another unique inventive scheme as defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in this application may be implemented individually or in any suitable combination. Therefore, the embodiments are not limited except by the limitations imposed by the appended claims and their equivalents. Furthermore, various modifications and changes may be made within the scope of the appended claims.

[0060] Furthermore, in describing representative embodiments, the specification may have presented methods and / or processes as a specific sequence of steps. However, the method or process should not be limited to the specific order of steps described herein, to the extent that it does not depend on such a specific order. As will be understood by those skilled in the art, other sequences of steps are also possible. Therefore, the specific order of steps set forth in the specification should not be construed as a limitation of the claims. Moreover, the claims concerning the method and / or process should not be limited to the steps performed in the written order, and those skilled in the art will readily understand that these orders can be varied and still remain within the spirit and scope of the embodiments of this application.

[0061] This application provides a method for recognizing touch functions, such as... Figure 1 As shown, the method includes:

[0062] Step S101 receives excitation signals emitted by a stylus that comes into contact with the touch panel, collected by one or more elastic wave sensors connected to the touch panel.

[0063] The embodiments of this application can emit excitation signals of different frequencies but the same type, such as sine wave signals of different frequencies, through a stylus; they can also emit excitation signals of the same frequency but different types, such as sine waves and square waves of the same frequency, through a stylus; and they can also emit excitation signals of different frequencies and different types, such as sine waves and square waves of different frequencies.

[0064] Step S102 acquires the features of the collected excitation signal, the features including time-domain features and frequency-domain features;

[0065] Step S103 determines a preset touch function corresponding to the excitation signal based on one or more of the time-domain and frequency-domain characteristics of the excitation signal;

[0066] Different excitation signals can correspond to different touch functions.

[0067] In this embodiment, the touch function is bound to the excitation signal. It is not necessary to wait for the operator to send a touch command by clicking the corresponding position on the touch screen before knowing the touch function to be executed. The touch function is identified directly by recognizing the excitation signal, which improves the touch efficiency.

[0068] As an exemplary embodiment, acquiring the frequency domain characteristics of the acquired excitation signal includes acquiring one or more of the following: a first frequency domain characteristic and a second frequency domain characteristic of the excitation signal:

[0069] Based on the spectrum of the excitation signal collected by the i-th elastic wave sensor, determine the maximum peak point f. i峰值 and located in the f i峰值 Both sides and with the f i峰值 Adjacent maxima f i左极值 and f i右极值 ;Will As the first frequency domain feature of the excitation signal; Figure 2 A schematic diagram of the first frequency domain characteristics is given; where Figure A is the original excitation signal, Figure B is a sampled diagram of the original excitation signal, and Figure C is the frequency domain diagram of the sampled signal after time-frequency transformation, where f represents the maximum peak point in Figure C. 左 and f 右 Indicates the maximum point;

[0070] Based on the spectrum of the excitation signal collected by the i-th elastic wave sensor, determine m minimum points f within a preset frequency domain range. i1 f i2 ... f im ;Will This serves as the second frequency domain feature of the excitation signal; Figure 3A schematic diagram of the second frequency domain characteristics is given; wherein, Figure A is the original excitation signal, Figure B is the sampled image of the original excitation signal, and Figure C is the frequency domain image of the sampled signal after time-frequency transformation, where f1, f2, f3 and f4 represent local minima in Figure C;

[0071] Where n represents the total number of elastic wave sensors connected to the touch panel, α i This represents the weight of the i-th elastic wave sensor.

[0072] As an exemplary embodiment, the weight α of the i-th elastic wave sensor i The methods for determining this include:

[0073]

[0074] Among them, y i The root mean square value of the excitation signal acquired by the i-th elastic wave sensor within a preset window length.

[0075] In this embodiment, the larger the root mean square of the excitation signal collected by the elastic wave sensor within the preset window length, the more effective signals the corresponding elastic wave sensor collects, and the greater the weight assigned to the corresponding elastic wave sensor.

[0076] In an exemplary embodiment, determining a preset touch function corresponding to the excitation signal based on the frequency domain characteristics of the excitation signal includes:

[0077] When the frequency domain feature is the first frequency domain feature, and When the time is right, the determined touch function is the touch function corresponding to the excitation signal of the preset frequency;

[0078] For example, the excitation signal emitted by the stylus has two frequencies: 125Hz and 500Hz. When the signal is active, the determined touch function is the preset first touch function corresponding to the 125Hz excitation signal; when... When the first touch function is set, the determined touch function is the preset second touch function corresponding to the 500Hz excitation signal; the first touch function can be a writing function, and the second touch function can be an eraser function; or, the first touch function can be a red pen writing function, and the second touch function can be a blue pen writing function; the correspondence between the touch function and the excitation signal can be set.

[0079] When the frequency domain feature is the second frequency domain feature, and When K is determined, the touch function is the touch function corresponding to the excitation signal of the preset frequency, where K is an integer greater than 1;

[0080] When the frequency domain feature is a first frequency domain feature and a second frequency domain feature, and When the specified frequency is reached, the determined touch function is the touch function corresponding to the excitation signal of the preset frequency.

[0081] In one exemplary embodiment, acquiring the time-domain characteristics of the acquired excitation signal includes acquiring one or more of the following: a first time-domain characteristic and a second time-domain characteristic of the excitation signal:

[0082] Based on the time-domain envelope of the excitation signal acquired by the i-th elastic wave sensor, determine the number Q of extreme values ​​that satisfy the preset conditions. i ,Will As the first time-domain feature of the excitation signal; the extreme value that satisfies the preset conditions includes: the extreme value is greater than a preset value R, the preset value R is less than the maximum value; and the time difference between the extreme point of the extreme value and its adjacent extreme points is greater than a preset time threshold; the preset value R and the preset time threshold can be determined according to the actual waveform; optionally, R = 1 / 2 * maximum value;

[0083] The signal skewness S is determined based on the time-domain envelope of the excitation signal acquired by the i-th elastic wave sensor. i ,Will As a second time-domain feature of the excitation signal;

[0084] Where n represents the total number of elastic wave sensors connected to the touch panel, α i α represents the weight of the i-th elastic wave sensor; i The calculation method can be the same as that described in the previous embodiment.

[0085] For each elastic wave sensor, the signal skewness S, determined based on the time-domain envelope of the excitation signal it acquires, can be calculated using the following formula:

[0086] in It is the average value of the time-domain envelope x, where m is the data length of the time-domain envelope, and x j It is the value at time j in the time domain envelope x.

[0087] Figure 4Three schematic diagrams of time-domain envelopes are given. Among them, the time-domain envelope with a positive skewness distribution has a skewness greater than 0, the time-domain envelope with a normal distribution has a skewness equal to 0, and the time-domain envelope with a negative skewness distribution has a skewness less than 0. The inventors of this application have found that since the excitation signal emitted by the stylus acts directly and quickly on the touch panel, the excitation signal is mainly concentrated at the beginning position and then slowly released. Therefore, the time-domain envelope of the excitation signal usually satisfies a positive skewness, and its signal skewness is >0. On the other hand, external interference signals mostly follow a normal distribution or are signals that are far away from the elastic wave sensor, and their skewness is ≤0.

[0088] In an exemplary embodiment, determining a preset touch function corresponding to the excitation signal based on the time-domain characteristics of the excitation signal includes:

[0089] When the time-domain feature is the first time-domain feature, according to The extreme value characteristics of the excitation signal are determined, and the determined touch function is a preset touch function corresponding to the excitation signal with the extreme value characteristics. For example, there are multiple excitation signals that can be emitted by a stylus. Different excitation signals have first time domain characteristics that fall into different value ranges. Then, by judging the specific value range into which the first time domain characteristics of the received excitation signal fall, the excitation signal corresponding to that value range and the preset touch function corresponding to that excitation signal can be determined.

[0090] When the time-domain feature is the second time-domain feature, according to The skewness characteristics of the excitation signal are determined, and the determined touch function is a preset touch function corresponding to the excitation signal with the said skewness characteristics; for example, there are multiple excitation signals that can be emitted by a stylus, and different excitation signals correspond to different numbers of times the skewness is greater than 0 (e.g., Figure 2 The number of times the signal skewness is greater than 0, as shown in B, is 2. Figure 3 The number of times the signal skewness is greater than 0 shown in B is 4. Then, the excitation signal and the preset touch function corresponding to the excitation signal can be determined by judging the number of times the received excitation signal skewness is greater than 0.

[0091] When the time-domain feature is a first time-domain feature and a second time-domain feature, according to Determine the extreme value characteristics of the excitation signal, and based on... The skewness characteristics of the excitation signal are determined, and the determined touch function is a preset touch function corresponding to the excitation signal having the extreme value characteristics and the skewness characteristics.

[0092] In an exemplary embodiment, determining a preset touch function corresponding to the excitation signal based on the frequency domain characteristics and time domain characteristics of the excitation signal includes:

[0093] The touch function determined based on the frequency domain and time domain characteristics of the excitation signal is a preset touch function corresponding to the excitation signal having the frequency domain and time domain characteristics.

[0094] In one exemplary embodiment, the method further includes:

[0095] After acquiring the characteristics of the collected excitation signal, before determining the preset touch function corresponding to the excitation signal based on one or more of the time-domain and frequency-domain characteristics of the excitation signal, it is determined whether the excitation signal is an excitation signal emitted by a stylus based on the frequency-domain characteristics of the collected excitation signal; if it is an excitation signal emitted by a stylus, the preset touch function corresponding to the excitation signal is then determined based on one or more of the time-domain and frequency-domain characteristics of the excitation signal.

[0096] This application embodiment determines whether the excitation signal is emitted by the stylus, avoiding touch judgment based on interference signals. This not only improves the efficiency of touch judgment but also the accuracy of touch judgment.

[0097] In an exemplary embodiment, determining whether the excitation signal is an excitation signal emitted by a stylus based on the frequency domain characteristics of the acquired excitation signal includes:

[0098] judge Whether all frequencies are equal to the preset frequency of the excitation signal; if all frequencies are equal, then the excitation signal is determined to be the excitation signal emitted by the stylus.

[0099] or

[0100] judge Whether all frequencies are equal to K times the preset frequency of the excitation signal, where K is an integer greater than 1, if all frequencies are equal, then the excitation signal is determined to be the excitation signal emitted by the stylus.

[0101] In one exemplary embodiment, the method further includes:

[0102] After acquiring the characteristics of the collected excitation signal, before determining the preset touch function corresponding to the excitation signal based on one or more of the time-domain and frequency-domain characteristics of the excitation signal, it is determined whether the excitation signal is an excitation signal emitted by a stylus based on the time-domain characteristics of the collected excitation signal; if it is an excitation signal emitted by a stylus, the preset touch function corresponding to the excitation signal is then determined based on one or more of the time-domain and frequency-domain characteristics of the excitation signal.

[0103] In an exemplary embodiment, determining whether the excitation signal is an excitation signal emitted by a stylus based on the temporal characteristics of the acquired excitation signal includes:

[0104] judge If the value is greater than 0, then the excitation signal is determined to be the excitation signal emitted by the stylus.

[0105] In one exemplary embodiment, the method further includes:

[0106] After acquiring the characteristics of the collected excitation signal, before determining the preset touch function corresponding to the excitation signal based on one or more of the time-domain and frequency-domain characteristics of the excitation signal, it is determined whether the excitation signal is an excitation signal emitted by a stylus based on the frequency-domain and time-domain characteristics of the collected excitation signal; if it is an excitation signal emitted by a stylus, the preset touch function corresponding to the excitation signal is then determined based on one or more of the time-domain and frequency-domain characteristics of the excitation signal.

[0107] The embodiments of this application combine frequency domain features and time domain features to jointly determine whether the excitation signal is an excitation signal emitted by the stylus, thereby improving accuracy.

[0108] This application also provides a computer-readable storage medium storing one or more programs that can be executed by one or more processors to implement the methods described in any of the preceding embodiments.

[0109] This application also provides a touch function recognition device, such as... Figure 5 As shown, it includes a memory 501 and a processor 502. The memory 501 stores a program, which, when read and executed by the processor 502, implements the method described in any of the previous embodiments.

[0110] This application also provides a touch function recognition system, such as... Figure 6 As shown, the system includes:

[0111] The stylus 601 is configured to emit an excitation signal, the excitation signal corresponding to the touch function;

[0112] Touch panel 602;

[0113] One or more elastic wave sensors 603 connected to the touch panel 602 are configured to collect excitation signals emitted by the stylus 601 that comes into contact with the touch panel 602.

[0114] The touch function recognition device as described in the previous embodiment (not shown in the figure).

[0115] In this embodiment, the touch function is bound to the excitation signal. It is not necessary to wait for the operator to send a touch command by clicking the corresponding position on the touch screen before knowing the touch function to be executed. The touch function is identified directly by recognizing the excitation signal, which improves the touch efficiency.

[0116] In one exemplary embodiment, such as Figure 7 As shown, the stylus 601 includes:

[0117] Excitation signal generation module 6011;

[0118] The piezoelectric signal transmitting module 6012, which is connected to the excitation signal generating module 6011, is configured to convert the electrical signal generated by the excitation signal generating module 6011 into a vibration signal and then transmit it.

[0119] In one exemplary embodiment, such as Figure 8 As shown, the stylus 601 also includes:

[0120] The power amplifier module 6013 is configured to amplify the electrical signal generated by the excitation signal generation module 6011 before sending it to the piezoelectric signal transmission module 6012.

[0121] The embodiments of this application amplify the electrical signal, which facilitates the subsequent reception of the excitation signal generated by the stylus by the elastic wave sensor.

[0122] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned above 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 collaboratively by several physical components. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media 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 technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

Claims

1. A touch function recognition method, comprising: Receives excitation signals emitted by a stylus that comes into contact with the touch panel, collected by one or more elastic wave sensors connected to the touch panel; The characteristics of the acquired excitation signal are obtained, including time-domain characteristics and frequency-domain characteristics; The preset touch function corresponding to the excitation signal is determined based on one or more of the time-domain and frequency-domain characteristics of the excitation signal; The acquisition of frequency domain characteristics of the collected excitation signal includes acquiring one or more of the following: first frequency domain characteristics and second frequency domain characteristics of the excitation signal: The maximum peak point is determined based on the spectrum of the excitation signal collected by the i-th elastic wave sensor. and located in the Both sides and with the Adjacent maxima and ;Will and The first frequency domain feature of the excitation signal is used as the basis for determining m minimum points within a preset frequency domain range based on the spectrum of the excitation signal acquired by the i-th elastic wave sensor. , … ;Will , … This serves as the second frequency domain feature of the excitation signal; Acquiring the time-domain characteristics of the acquired excitation signal includes acquiring one or more of the following: first time-domain characteristics and second time-domain characteristics of the excitation signal: Based on the time-domain envelope of the excitation signal acquired by the i-th elastic wave sensor, determine the number Q of extreme values ​​that satisfy the preset conditions. i ,Will The first time-domain feature of the excitation signal; the extreme values ​​satisfying the preset conditions include: the extreme value is greater than a preset value R, the preset value R is less than the maximum value; and the time difference between the extreme point of the extreme value and its adjacent extreme points is greater than a preset time threshold; the signal skewness S is determined based on the time-domain envelope of the excitation signal acquired by the i-th elastic wave sensor. i ,Will As a second time-domain feature of the excitation signal; Where n represents the total number of elastic wave sensors connected to the touch panel. .

2. The method according to claim 1, characterized in that, The weight of the i-th elastic wave sensor in, The root mean square value of the excitation signal acquired by the i-th elastic wave sensor within a preset window length.

3. The method according to claim 1, characterized in that, Determine a preset touch function corresponding to the excitation signal based on the frequency domain characteristics of the excitation signal, including: When the frequency domain feature is the first frequency domain feature, and = When the excitation signal is at a preset frequency, the determined touch function is the touch function corresponding to the excitation signal at the preset frequency. When the frequency domain feature is the second frequency domain feature, and When the frequency of the excitation signal is K times the preset frequency, the determined touch function is the touch function corresponding to the excitation signal of the preset frequency, where K is an integer greater than 1; When the frequency domain feature is a first frequency domain feature and a second frequency domain feature, and = =The preset frequency of the excitation signal, When the frequency of the excitation signal is K times the preset frequency, the determined touch function is the touch function corresponding to the excitation signal at the preset frequency.

4. The method according to claim 1, characterized in that, Determine a preset touch function corresponding to the excitation signal based on the time-domain characteristics of the excitation signal, including: When the time-domain feature is the first time-domain feature, according to The extreme value characteristics of the excitation signal are determined, and the determined touch function is a preset touch function corresponding to the excitation signal having the extreme value characteristics; When the time-domain feature is the second time-domain feature, according to The skewness characteristics of the excitation signal are determined, and the determined touch function is a preset touch function corresponding to the excitation signal having the skewness characteristics. When the time-domain feature is a first time-domain feature and a second time-domain feature, according to Determine the extreme value characteristics of the excitation signal, and based on... The skewness characteristics of the excitation signal are determined, and the determined touch function is a preset touch function corresponding to the excitation signal having the extreme value characteristics and the skewness characteristics.

5. The method according to claim 1, characterized in that, The method further includes: After acquiring the characteristics of the collected excitation signal, before determining the preset touch function corresponding to the excitation signal based on one or more of the time-domain and frequency-domain characteristics of the excitation signal, it is determined whether the excitation signal is an excitation signal emitted by a stylus based on the frequency-domain characteristics of the collected excitation signal. If it is an excitation signal emitted by a stylus, the preset touch function corresponding to the excitation signal is then determined based on one or more of the time-domain and frequency-domain characteristics of the excitation signal. The step of determining whether the excitation signal is an excitation signal emitted by the stylus based on the frequency domain characteristics of the collected excitation signal includes: judge Whether all frequencies are equal to the preset frequency of the excitation signal; if all frequencies are equal, then the excitation signal is determined to be the excitation signal emitted by the stylus. or judge Whether all frequencies are equal to K times the preset frequency of the excitation signal, where K is an integer greater than 1, if all frequencies are equal, then the excitation signal is determined to be the excitation signal emitted by the stylus.

6. The method according to claim 1, characterized in that, The method further includes: After acquiring the characteristics of the collected excitation signal, before determining the preset touch function corresponding to the excitation signal based on one or more of the time-domain and frequency-domain characteristics of the excitation signal, it is determined whether the excitation signal is an excitation signal emitted by a stylus based on the time-domain characteristics of the collected excitation signal; if it is an excitation signal emitted by a stylus, the preset touch function corresponding to the excitation signal is then determined based on one or more of the time-domain and frequency-domain characteristics of the excitation signal. The step of determining whether the excitation signal is an excitation signal emitted by the stylus based on the time-domain characteristics of the collected excitation signal includes: judge If the value is greater than 0, then the excitation signal is determined to be the excitation signal emitted by the stylus.

7. A computer-readable storage medium storing one or more programs that can be executed by one or more processors to implement the method as claimed in any one of claims 1 to 6.

8. A touch function recognition device, comprising a memory and a processor, wherein the memory stores a program, and the program, when read and executed by the processor, implements the method as described in any one of claims 1 to 6.

9. A touch function recognition system, characterized in that, The system includes: The stylus is configured to emit excitation signals, which correspond to the touch function. Touch panel; One or more elastic wave sensors connected to the touch panel are configured to collect excitation signals emitted by a stylus that comes into contact with the touch panel; The touch function recognition device as described in claim 8.

10. The system according to claim 9, characterized in that, The stylus includes: Excitation signal generation module; The piezoelectric signal transmitting module connected to the excitation signal generating module is configured to convert the electrical signal generated by the excitation signal generating module into a vibration signal and then transmit it.

Citation Information

Patent Citations

  • Electronic equipment control method and device

    CN112015291A

  • Stylus for zero force activation

    CN113692565A

  • Touch control method and touch control system

    CN113721786A