Touch sensitivity adjustment method and mobile device using the same
It uses audio analysis to identify wearing gloves and automatically switches touch sensitivity, which solves the problem of inconvenient operation of mobile devices when wearing gloves and improves the user experience and convenience.
Patent Information
- Application Number
- CN202010053289.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-12-31
- Filing Date
- 2020-01-17
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-01-17
AI Technical Summary
With existing mobile devices, it is difficult to switch the touch sensitivity through traditional methods when the user wears gloves, resulting in inconvenient operation. Especially in low-temperature environments or when wearing masks, it is difficult to establish a voice command database, which affects the user experience.
By analyzing the sound generated by the user tapping the device body, it identifies whether gloves are worn, automatically switches the touch sensitivity mode, uses the radio device to receive audio data, and the processor determines that the audio parameters match the pre-stored parameters, and adjusts the sensitivity of the touch input interface.
It realizes convenient touch sensitivity switching, improves the user's operational convenience and experience, solves the shortcomings of traditional switching methods, and adapts to different environments and wearing situations.
Smart Images

Figure CN113126798B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a touch sensitivity adjustment method and a mobile device using the method, and in particular to an adjustment method for switching touch sensitivity modes through audio analysis and a mobile device using the method. Background Art
[0002] The touch screen is one of the important input components of mobile devices (such as handheld smartphones). Most users operate the touch screen by touching it with their fingers. However, users in some places need to wear work gloves, such as factories or warehouses. If the parameters of finger contact with the touch screen are used as the setting of touch sensitivity, users wearing gloves will find it difficult to operate the mobile device, or even unable to operate the mobile device.
[0003] Although some mobile devices can provide two modes (such as normal mode and glove mode) for users to switch through menus, using menus to switch touch sensitivity can cause inconvenience in some situations. For example, when the touch sensitivity is in normal mode and the user wants to switch to glove mode while wearing gloves, the touch screen has low sensitivity, making it difficult for the user wearing gloves to operate the touch screen. In this case, the user must take off the gloves first and put them back on after switching the touch sensitivity. This causes inconvenience in the user's operation.
[0004] In addition, many mobile devices currently support voice commands, but voice commands not only take time to build a voice database, but also different languages require different voice databases, so it will inevitably consume a lot of development time to build voice databases for various languages. Furthermore, users often wear masks to keep warm in certain environments (such as low temperature environments), and the voice of users wearing masks will obviously change, which will increase the difficulty of building a voice database. Summary of the invention
[0005] In view of this, the present invention proposes a touch sensitivity adjustment method and a mobile device using the method, which identifies whether the user is wearing gloves by analyzing the sound generated by the user tapping the device body, so as to automatically switch to the corresponding touch sensitivity mode, thereby improving the user's convenience and usage experience.
[0006] According to the present invention, a method for adjusting touch sensitivity is disclosed, comprising the following steps: a method for adjusting touch sensitivity, comprising enabling a sound receiving device to receive one or more original audio data (original sound signals), determining whether an audio parameter of at least one original audio data among the one or more original audio data meets at least one pre-stored audio parameter, and in response to the audio parameter of the at least one original audio data meeting at least one pre-stored audio parameter, adjusting the touch sensitivity of a touch input interface to a pre-stored touch sensitivity corresponding to the at least one pre-stored audio parameter.
[0007] According to the present invention, a mobile device is disclosed, comprising a sound receiving device, a touch input interface, a memory and a processor. The processor is connected to the sound receiving device, the touch input interface and the memory. The sound receiving device is used to receive one or more original audio signals. The touch sensitivity of the touch input interface is adjustable. The memory has a database for storing at least one pre-stored audio parameter. The processor is configured to enable the sound receiving device to receive the one or more original audio signals; determine whether the audio parameters of at least one original audio data among the one or more original audio data meet the at least one pre-stored audio parameter; and in response to the audio parameters of the at least one original audio data meeting the at least one pre-stored audio parameter, adjust the touch sensitivity of the touch input interface to a pre-stored touch sensitivity corresponding to the at least one pre-stored audio parameter.
[0008] In summary, in the touch sensitivity adjustment method proposed in the present invention and the mobile device using the method, audio analysis is mainly performed on the user's tapping sound to identify whether the user is wearing gloves, and the touch sensitivity of the device is automatically switched using a background program. In this way, the touch sensitivity of the touch input interface can be accurately set to the mode required by the user, solving the shortcomings of the traditional touch sensitivity switching method, thereby improving the convenience and user experience of the user.
[0009] The above description of the disclosed content and the following description of the implementation modes are used to demonstrate and explain the spirit and principle of the present invention, and to provide a further explanation of the scope of the patent application of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 is a schematic diagram of the appearance of a mobile device according to an embodiment of the present invention.
[0011] Figure 2 is a functional block diagram of a mobile device according to an embodiment of the present invention.
[0012] Figure 3A is a flow chart of a method for adjusting touch sensitivity according to an embodiment of the present invention.
[0013] Figure 3B is a flow chart of a method for adjusting touch sensitivity according to another embodiment of the present invention.
[0014] Figure 4 is a flow chart of a method for adjusting touch sensitivity according to another embodiment of the present invention.
[0015] Figure 5A It is a real-time sound spectrum diagram of tapping while wearing gloves according to an embodiment of the present invention.
[0016] Figure 5B It is a real-time sound spectrum diagram of tapping without wearing gloves according to an embodiment of the present invention.
[0017] Figure 6 is a flow chart of a method for adjusting touch sensitivity according to another embodiment of the present invention.
[0018] Figure 7 is a flow chart of a method for adjusting touch sensitivity according to another embodiment of the present invention.
[0019] Explanation of symbols
[0020] 1 Mobile device
[0021] 10 Radio
[0022] 11 Touch input interface
[0023] 12 Processor
[0024] 13 Memory
[0025] P1, P2 maximum resonance peak DETAILED DESCRIPTION
[0026] The detailed features and advantages of the present invention are described in detail in the following embodiments, and the contents are sufficient to enable any person skilled in the relevant art to understand the technical content of the present invention and implement it accordingly, and according to the contents disclosed in this specification, the scope of the patent application and the drawings, any person skilled in the relevant art can easily understand the relevant purposes and advantages of the present invention. The following examples are to further illustrate the viewpoints of the present invention in detail, but are not intended to limit the scope of the present invention in any viewpoint.
[0027] Please refer to Figure 1 and Figure 2 , Figure 1 is a schematic diagram of the appearance of a mobile device according to an embodiment of the present invention. Figure 2 FIG. 1 is a functional block diagram of a mobile device according to an embodiment of the present invention. Figure 1 and Figure 2As shown, the mobile device 1 includes a sound receiving device 10, a touch input interface 11, a processor 12 and a memory 13. The processor 12 is connected to the sound receiving device 10, the touch input interface 11 and the memory 13, wherein the touch input interface 11 is, for example, a touch pad, a touch mouse, a touch screen or a touch panel. In the present embodiment, the sound receiving device 10 of the mobile device 1 includes upper / lower sound receiving microphones, that is, the mobile device 1 can support dual microphones, one of which can be used to collect environmental noise for subsequent noise reduction after sound reception, but the present invention is not limited thereto. The mobile device 1 can also support a single microphone, that is, the sound receiving device 10 only includes one of the upper / lower sound receiving microphones. The touch sensitivity of the touch input interface 11 can be adjusted by the processor 12 so that the touch sensitivity has a variety of different modes, such as a low sensitivity mode or a high sensitivity mode. The memory 13 stores a database, which stores a plurality of pre-stored audio parameters.
[0028] Please refer to further Figure 3A , Figure 3A FIG. 1 is a flow chart of a method for adjusting touch sensitivity according to an embodiment of the present invention. Figure 1 and Figure 2 The mobile device 1 shown is used to perform the above operation. Figure 3A As shown, in step S1, the processor 12 enables the sound receiving device 10 to receive one or more original audio data. In step S2, the processor 12 determines whether the audio parameter of at least one of the one or more original audio data meets at least one pre-stored audio parameter. In step S3, in response to the audio parameter of the at least one original audio data meeting the at least one pre-stored audio parameter, the processor 12 adjusts the touch sensitivity of the touch input interface 11 to the pre-stored touch sensitivity corresponding to the at least one pre-stored audio parameter.
[0029] In one embodiment, the step of using the processor 12 to enable the sound receiving device to receive the one or more original audio data includes: comparing the volume value of the one or more original audio data with a set value to select the at least one original audio data, wherein the volume value of the selected at least one original audio data is greater than the set value. Figure 3B The touch sensitivity adjustment method proposed by the present invention is described in detail.
[0030] Please refer to Figure 1 , Figure 2 and Figure 3B , Figure 3B is a flow chart of a method for adjusting touch sensitivity according to another embodiment of the present invention. The method can be performed by Figure 1 and Figure 2 The mobile device 1 shown is used to perform the above operation. Figure 3BAs shown, in step SA1, the processor 12 enables the sound receiving device 10 to receive the original audio signal (also referred to as raw data). In practice, if the mobile device 1 is initially in a dormant state, the user may first press the power button of the mobile device 1 to wake up the touch input interface 11. At the same time, the background application in the mobile device 1 will also be opened, and the sound receiving device 10 will be opened at the same time. In another embodiment, the user may also open the sound receiving device 10 through operation. At this time, the processor 12 will generate an operation instruction and enable the sound receiving device 10 according to the operation instruction. When the background program is running, the enabled sound receiving device 10 may, for example, receive the sound generated by the user tapping the body of the mobile device 1 as a sampled original audio signal within a period of time (e.g., 1 minute) and store the sampled original audio signal in the memory 13.
[0031] In step SA2, the processor 12 analyzes the original audio signal to obtain multiple original audio data. Specifically, assuming that the user knocks on the body (for example, knocks three times), the sound receiving device 10 collects the knocking sound as a sampled original audio signal and stores the sampled original audio signal in the memory 13. The processor 12 can obtain the original audio signal by reading the memory 13, and decompose the original audio signal into three original audio data corresponding to the three knocking sounds, wherein each original audio data corresponds to a frame. In practice, each frame can have the same size. The processor 12 further converts each original audio data into a frequency domain form. In practice, the processor 12 can convert each original audio data from a time domain form to a frequency domain form by Fourier Transform. That is, the processor 12 can convert the original audio data into amplitudes and phases corresponding to different frequencies.
[0032] In step SA3, the processor 12 records the audio parameters of each original audio data. In the present embodiment, the audio parameters may include the frequency and / or volume value of the maximum resonance peak of the original audio data. In step SA4, the processor 12 selects at least a portion of the original audio data from the original audio data as a plurality of input audio data based on the audio parameters. In one embodiment, as described above, the audio parameters may include a volume value, and the processor compares the volume value of each original audio data with a set value to select a portion of the original audio data, wherein the volume value of the selected portion of the original audio data is greater than the set value.
[0033] In detail, the processor 12 can select to filter out part of the original audio data (such as noise or interference, etc.) according to the volume value of each original audio data, and retain the remaining original audio data as input audio data. For example, assuming the setting value is -50dB, the processor 12 will filter out the original audio data with a volume value less than -50dB, and retain the original audio data with a volume value greater than -50dB as input audio data for subsequent audio analysis. In this way, it can be avoided that the audio related to human error or environmental noise / interference is read into the processor 12, which leads to an increase in the amount of calculation or a misjudgment of the touch sensitivity switch.
[0034] Please go back Figure 3B In step SA5, the processor 12 compares the audio parameters of the input audio data (i.e., the selected original audio data) with a plurality of pre-stored audio parameters in the database to generate a comparison result. In step SA6, the processor 12 switches the touch sensitivity from the first mode to the second mode according to the comparison result, or maintains the touch sensitivity in the first mode, wherein the first mode may be, for example, a low sensitivity mode (i.e., the corresponding pre-stored touch sensitivity is low sensitivity), and the second mode may be, for example, a high sensitivity mode (i.e., the corresponding pre-stored touch sensitivity is high sensitivity). That is, the processor 12 compares the audio parameters of the selected original audio data with the pre-stored audio parameters in the database, and then determines the touch sensitivity mode of the touch input interface 11 according to the comparison result, wherein each mode corresponds to a pre-stored touch sensitivity. In practice, if the touch sensitivity mode determined by the processor 12 is the same as the current mode of the touch sensitivity, the current mode of the touch sensitivity is maintained. On the contrary, if they are not the same, the current mode of the touch sensitivity is switched to the determined mode.
[0035] In this embodiment, the first mode and the second mode are associated with the aforementioned multiple pre-stored audio parameters. In detail, each pre-stored audio parameter corresponds to a touch sensitivity mode, and each touch sensitivity mode corresponds to a pre-stored touch sensitivity. When the processor 12 determines that the audio parameter of the selected original audio data meets a pre-stored audio parameter in the database, the processor 12 determines the touch sensitivity mode of the touch input interface 11 to be the mode corresponding to the pre-stored audio parameter, such as the first mode. For example, the processor 12 determines that the best touch sensitivity mode in the current user's environment is the first mode based on the comparison of the audio parameters. At this time, if the current mode of touch sensitivity is the first mode, the processor 12 maintains the current mode of touch sensitivity, that is, does not adjust the touch sensitivity. Conversely, if the current mode of touch sensitivity (such as the second mode) is not the first mode, the processor 12 switches the current mode of touch sensitivity to the first mode to provide the user with the best touch sensitivity mode in the current environment.
[0036] In practice, in execution Figure 3A Prior to the implementation, multiple pre-stored audio parameters need to be stored in the database before they can be executed. Figure 3A The database can be from a large data database on the Internet, or it can be pre-established before the device leaves the factory, or it can be established by the user after obtaining the device. The following will explain the process of the user establishing the database. Please refer to Figure 4 , Figure 4 is a flow chart of a method for adjusting touch sensitivity according to another embodiment of the present invention. Figure 3A , Figure 4 It also includes steps A1 to A5 of establishing a database. Figure 4 As shown, in step A1, the processor 12 controls the sound receiving device 10 to collect multiple test audio signals. In detail, taking the mobile device 1 as an example that the touch sensitivity of the touch input interface 11 can be adjusted according to whether the user wears gloves, the sound receiving device 10 needs to first collect the sound of knocking with gloves and knocking without gloves as test audio signals to establish a database of subsequent sound features. For example, the user can wear gloves and knock on the body of the mobile device 1 several times (for example, 10 times), which is the first test audio signal. In addition, the user does not wear gloves and directly knocks the body of the mobile device 1 several times (for example, 10 times) with the fingertips, which is the second test audio signal. Even more can be collected that the user wears gloves of another material or uses the belly of the finger to knock on the body of the mobile device 1 several times (for example, 10 times), as the third test audio signal, but the following description is only described by two test audio signals as an example. In practice, the user can knock on the housing position near the receiving device 10 to avoid accidentally touching the device APP or confusing it with other existing gesture functions. However, the present invention is not limited to the above. In other embodiments, the user may choose to tap other locations on the housing or directly tap the display screen.
[0037] In step A2, the processor 12 analyzes each test audio signal to obtain a plurality of test audio data. That is, the processor 12 may decompose each test audio signal into a plurality of test audio data, each test audio data corresponding to a frame. In practice, each frame may have the same size. Taking the above example, since the user taps the body of the mobile device 1 10 times while wearing gloves, the processor 12 may decompose the first test audio signal into ten test audio data, which correspond to ten frames. On the other hand, the user taps the body of the mobile device 1 10 times without wearing gloves, so the processor 12 may decompose the second test audio signal into ten test audio data, which correspond to ten frames. In practice, the processor 12 may determine how many test audio data (frames) to decompose the test audio signal into based on the number of sound bursts or the number of times the touch input interface detects being touched.
[0038] Next, in step A3, the processor 12 records an audio parameter corresponding to each test audio data, and in step A4, the processor 12 marks a label name for each test audio data. That is, the processor 12 records the audio parameters of each test audio data, and the audio parameters may be, for example, the frequency and / or volume value of the maximum resonance peak. In practice, step A3 and step A4 are interchangeable, that is, in other embodiments, the processor 12 may first mark the label name of each test audio data, and then record the audio parameters corresponding to each test audio data. In one embodiment, the audio parameters include the frequency and / or volume value of the maximum resonance peak, so the processor 12 records the frequency and / or volume value of the maximum resonance peak corresponding to each test audio data, and in step A5, the processor 12 stores the label name and audio parameters in the memory 13. Figure 4 In an embodiment, after executing the aforementioned steps A1 to A5 for establishing a database, steps S1 to S3 may be executed to adjust the touch sensitivity. Specifically, in step S1, the processor 12 enables the sound receiving device 10 to receive one or more original audio data. In step S2, the processor 12 determines whether the audio parameters of at least one of the one or more original audio data meet at least one pre-stored audio parameter. In step S3, in response to the audio parameters of the at least one original audio data meeting the at least one pre-stored audio parameter, the processor 12 adjusts the touch sensitivity of the touch input interface 11 to the pre-stored touch sensitivity corresponding to the at least one pre-stored audio parameter. Figure 4 Steps S1 to S3 of the embodiment are similar to Figure 3A The detailed operation of steps S1 to S3 can be referred to above. Figure 3A The paragraph will not be repeated here.
[0039] Please refer to further Figure 5A and Figure 5BTo further illustrate how to obtain audio parameters. Figure 5A is a real-time sound spectrum diagram of tapping while wearing gloves according to an embodiment of the present invention, and Figure 5B : is a real-time sound spectrum diagram of tapping without wearing gloves according to an embodiment of the present invention. Figure 5A and Figure 5B As shown, the input audio data has different peaks at different frequencies, most of which may be environmental noise or vibrations generated by knocking. In the embodiment of the present invention, the audio parameters of the original audio data or the test audio data of this embodiment mainly refer to the frequency and volume of the maximum formant. Figure 5A In the embodiment, the frequency of the maximum resonance peak P1 of the tapping with gloves is about 70 Hz and the volume is about -42 dB. Figure 5B As shown in FIG. 1 , the frequency of the maximum resonance peak P2 of the tapping without gloves is about 123 Hz and the volume is about -29 dB. This embodiment uses the full decibel scale (Decibels Full Scale) representation method, and its reference number is 0dBFS as the maximum value, so all detected values will be less than the maximum value 0dB, so Figure 5A and Figure 5B The volume is represented by negative values.
[0040] In practice, during the sampling phase of the test audio data, the frequency of the maximum resonance peak obtained by the user wearing gloves (assuming industrial gloves) and performing multiple tapping may be slightly different, for example, the frequency of the maximum resonance peak obtained may be 69Hz, 70Hz, 71Hz, etc. Similarly, the volume of the maximum resonance peak obtained by the user wearing gloves (assuming industrial gloves) and performing multiple tapping may also be slightly different, for example, the volume obtained may be -41dB, -42dB, -43dB, etc. In addition, the situation where the user does not wear gloves and performs multiple tapping is similar, for example, the frequency of the maximum resonance peak obtained may be 122Hz, 123Hz, 124Hz, etc., and the volume of the maximum resonance peak obtained may be -28dB, -29dB, -30dB, etc.
[0041] In addition to recording audio parameters, on the other hand, the processor 12 will label each test audio data with a label name, and the label name may be, for example, "not wearing gloves, tapping with fingernails", "wearing rubber gloves" or "wearing industrial gloves". More specifically, in the sampling stage of the test audio data, if the user first taps without wearing gloves, the processor 12 will label the collected test audio data as "not wearing gloves, tapping with fingernails". After collecting the relevant test audio data of tapping without wearing gloves, the user can then tap while wearing gloves (assuming they are industrial gloves), and the processor 12 will label the collected test audio data as "wearing industrial gloves", and so on. In practice, the user can choose to sample the audio data for the situation of wearing gloves or not wearing gloves first, and the present invention is not limited to the above embodiments. In another embodiment, the mobile device 1 may display a usage interface in the touch input interface 11, and the user may set the label name through the usage interface. For example, the user may first set label names such as "not wearing gloves, tapping with fingernails", "wearing rubber gloves" or "wearing industrial gloves", and then further perform corresponding test audio data collection for each of the set label names to obtain the audio parameters of each label name.
[0042] After collecting the above-mentioned information such as the tag names and audio parameters, in step A5, the processor 12 stores the tag names and the audio parameters in a database in the memory 13, wherein the tag names correspond to a plurality of pre-stored touch sensitivities. More specifically, the processor 12 uses the obtained tag names and the audio parameters to establish a database about sound features. Table 1 below is a sound feature table of a database shown in an embodiment of the present invention, wherein the audio parameters of the test audio data obtained in step A3 are used as pre-stored audio parameters.
[0043] Table 1
[0044] Tag Name Pre-stored audio parameters (frequency) Without wearing gloves, tapping with fingernails 122Hz~124Hz Wear rubber gloves 115Hz~117Hz Wear industrial gloves 69Hz~71Hz
[0045] The pre-stored audio parameter of the sound feature table of the database shown in Table 1 is the frequency of the maximum formant. However, in another embodiment, as shown in Table 2 below, the audio parameter of the sound feature table in the database may include the frequency and volume of the maximum formant.
[0046] Table 2
[0047] Tag Name Pre-stored audio parameters (frequency) Pre-stored audio parameters (volume) Without wearing gloves, tapping with fingernails 122Hz~124Hz -28dB~-30dB Wear rubber gloves 115Hz~117Hz -35dB~-37dB Wear industrial gloves 69Hz~71Hz -41dB~-43dB
[0048] In one embodiment, each label name corresponds to a mode of touch sensitivity. For example, "without gloves, tapping with fingernails", "with rubber gloves", and "with industrial gloves" shown in Table 1 and Table 2 may correspond to a low sensitivity mode (first mode), a medium sensitivity mode (second mode), and a high sensitivity mode (third mode), respectively. In another embodiment, "without gloves, tapping with fingernails" shown in Table 1 and Table 2 corresponds to a low sensitivity mode (first mode), while "with rubber gloves" and "with industrial gloves" both correspond to a high sensitivity mode (second mode). Although Table 1 and Table 2 both illustrate three label names and their corresponding pre-stored audio parameters, in other embodiments, Table 1 and Table 2 may only include two label names and their corresponding pre-stored audio parameters, such as "without gloves, tapping with fingernails" and "with industrial gloves", wherein "without gloves, tapping with fingernails" corresponds to a low sensitivity mode (first mode), and "with industrial gloves" corresponds to a high sensitivity mode (second mode). The text of the above label names is only for example, and the label names may also be only codes corresponding to a certain touch sensitivity.
[0049] Please refer to Figure 2 and Figure 6 , Figure 6 is a flow chart of a method for adjusting touch sensitivity according to another embodiment of the present invention. Figure 3A The main difference is Figure 6 The method further includes steps S1a, S1b, and S2a, wherein step S2 includes step S21, and step S3 includes steps S31 to S33. Specifically, in one embodiment, the method further includes, in step S1a, recording the timestamps of the plurality of original audio data by the processor 12, wherein the timestamps are the time information when the sound receiving device 10 collects and obtains the original audio data.
[0050] In step S1b, the processor 12 determines whether the interval between the timestamps of any two of the original audio data is less than a predetermined value. When the interval between the timestamps of any two of the original audio data is less than a predetermined value (for example, 2 seconds), step S21 is performed. In the following embodiment description, the sound feature table of the database shown in Table 1 above will be used for description. That is, each pre-stored audio parameter of the sound feature table in the database is a predetermined frequency range, and each predetermined frequency range corresponds to a label name. In step S21, the processor 12 determines whether the frequency of the maximum resonance peak of the original audio data falls into one of the predetermined frequency ranges. Then, in step S2a, in response to the frequency of the maximum resonance peak of the original audio data falling into the predetermined frequency range, the processor 12 records the label name corresponding to the predetermined frequency range.
[0051] In detail, the processor 12 will determine whether the frequency of the maximum resonance peak of the collected original audio data falls within a predetermined frequency range in the database. If the frequency of the maximum resonance peak of a part of the original audio data falls within a predetermined frequency range in the database, the processor 12 will record the timestamp of this part of the original audio data as the selected timestamp. In addition, the processor 12 will also record the label name corresponding to this predetermined frequency range as the selected label name. For example, assuming that the frequencies of the maximum resonance peaks of two original audio data among multiple original audio data are 122Hz and 123Hz respectively, the processor 12 determines that it falls within the predetermined frequency range (122Hz~124Hz) and records the timestamps of the two original audio data, and records the label name "not wearing gloves, tapping with fingernails" corresponding to the predetermined frequency range (122Hz~124Hz).
[0052] When the processor 12 obtains the timestamps and label names of the original audio data, a comparison result can be obtained. Please refer to Table 3 below, which is a reference table of comparison results according to an embodiment of the present invention, and the reference table includes the label names and timestamps.
[0053] Table 3
[0054] Select Tag Name Selected timestamp Without wearing gloves, tapping with fingernails 15:21:07 Without wearing gloves, tapping with fingernails 15:21:08
[0055] After obtaining the tag name as described above in step S2a, corresponding to the recorded tag name, the processor 12 will timely adjust the touch sensitivity mode of the touch input interface 11 to the pre-stored touch sensitivity corresponding to the pre-stored audio parameter, such as shown in step S3. In one embodiment, step S3 includes steps S31 to S33. In step S31, the processor 12 determines whether the pre-stored touch sensitivity mode corresponding to the tag name corresponds to the first mode. In response to the pre-stored touch sensitivity corresponding to the tag name corresponding to the first mode, in step S32, the processor 12 maintains the touch sensitivity in the first mode. On the contrary, in response to the pre-stored touch sensitivity corresponding to the tag name not corresponding to the first mode, in step S33, the processor 12 switches the touch sensitivity from the first mode to the second mode corresponding to the pre-stored touch sensitivity. In this embodiment, the first mode can be understood as the current mode of touch sensitivity, that is, the initial state of the touch sensitivity is the first mode (low touch sensitivity). When the pre-stored touch sensitivity corresponding to the tag name does not correspond to the first mode, the processor 12 switches from the first mode (low touch sensitivity) to the second mode (high touch sensitivity).
[0056] In another embodiment, the initial state of the touch sensitivity is the second mode (high touch sensitivity). When the pre-stored touch sensitivity corresponding to the label name does not correspond to the second mode, the processor 12 switches from the second mode (high touch sensitivity) to the first mode (low touch sensitivity). Although the above example uses the pre-stored touch sensitivity corresponding to the first mode as low touch sensitivity, and the pre-stored touch sensitivity corresponding to the second mode as high touch sensitivity. However, in practice, conversely, the pre-stored touch sensitivity corresponding to the first mode may be high touch sensitivity, and the pre-stored touch sensitivity corresponding to the second mode may be low touch sensitivity. The present invention is not limited to the above embodiments. The present invention is also not limited to the above two modes. In another embodiment, in addition to the first and second modes, the touch sensitivity of the touch input interface 11 may also include a third mode (for example, the corresponding pre-stored touch sensitivity is "medium touch sensitivity"), or further include more other modes (for example, the fourth, fifth...mode).
[0057] Table 3 is used to illustrate that since the interval between the two timestamps is 1 second, the processor 12 determines that the interval between the two timestamps is less than a predetermined value (e.g., 2 seconds), so the processor 12 can determine that the two input audio data are continuous tapping, which means that the user does have the need to set the touch sensitivity. In this embodiment, the touch sensitivity adjustment function is enabled by tapping twice in a row. In another embodiment, depending on the actual design requirements, it can also be set to enable the touch sensitivity adjustment function by tapping three times in a row, or the touch sensitivity adjustment function is enabled by tapping only once. The present invention is not limited to the number of tappings. Since the label name is "tap with fingernails without wearing gloves", it means that the user wants to operate the touch input interface 11 in the first mode (low touch sensitivity). Assuming that the current touch sensitivity is the first mode, at this time, the processor 12 determines that the selected label name does correspond to the first mode, so the processor 12 controls the touch input interface 11 to remain in the first mode without switching. Conversely, assuming that the current touch sensitivity is also the first mode, and the label name is "wearing industrial gloves", it means that the user wants to operate the touch input interface 11 in the second mode (high touch sensitivity). At this time, the processor 12 determines that the label name does not correspond to the first mode, and therefore switches the current touch sensitivity from the first mode to the second mode.
[0058] Please refer to Figure 7 , Figure 7 is a flow chart of a method for switching touch sensitivity according to another embodiment of the present invention. Figure 3A The main difference is Figure 7 The step S2 further comprises a step S22. Figure 7As shown, in step S22, the processor 12 determines whether the frequency of the maximum resonance peak of at least one original audio data among the multiple original audio data falls within a predetermined frequency range, and determines whether the volume value of the maximum resonance peak of the at least one original audio data falls within a predetermined volume range.
[0059] In step S2b, in response to the frequency of the maximum resonance peak of the at least one original audio data falling into a predetermined frequency range and in response to the volume value of the maximum resonance peak of the at least one original audio data falling into a predetermined volume range, the processor 12 records the label name corresponding to the predetermined frequency range and the predetermined volume range.
[0060] For example, assuming that the frequencies of the maximum resonance peaks of two input audio data among the plurality of input audio data are 122 Hz and 123 Hz respectively, the processor 12 determines that they fall within the predetermined frequency range (122 Hz to 124 Hz). In addition, the volume values of the maximum resonance peaks of the two input audio data are -28 dB and -29 dB respectively, and the processor 12 further determines that they fall within the predetermined volume range (-28 dB to -30 dB). At this time, the processor 12 records the timestamps of the two input audio data as the selected timestamps, and records the label name "not wearing gloves, tapping with fingernails" corresponding to the predetermined frequency range (122 Hz to 124 Hz) and the predetermined volume range (-28 dB to -30 dB) as the selected label name.
[0061] In short, in Figure 7 In the embodiment, in addition to comparing whether the frequency of the maximum formant falls within the predetermined frequency range, the processor 12 further compares whether the volume value of the maximum formant falls within the predetermined volume range. In practice, the double comparison of frequency and volume can more accurately confirm the label name of the input audio data. In one case, the two predetermined frequency ranges may have overlapping parts, so by further comparing the volume, the label name can be accurately identified.
[0062] In summary, in the touch sensitivity adjustment method proposed in the present invention and the mobile device using the method, audio analysis is mainly performed on the user's tapping sound to identify whether the user is wearing gloves, and the touch sensitivity of the device is automatically switched using a background program. In this way, the touch sensitivity of the touch input interface can be accurately set to the mode required by the user, solving the shortcomings of the traditional touch sensitivity switching method, thereby improving the convenience and user experience of the user.
[0063] Although the present invention is disclosed in the above embodiments, it is not intended to limit the present invention. Without departing from the spirit and scope of the present invention, all changes and modifications are within the scope of patent protection of the present invention. Please refer to the scope of the attached claims for the scope of protection defined by the present invention.
Claims
1. A method for adjusting touch sensitivity, characterized in that: include: Activating a sound receiving device to receive one or more original audio data, wherein the original audio data includes: audio data decomposed from an original audio signal obtained by a user knocking on the housing; Determining whether an audio parameter of at least one original audio data among the one or more original audio data meets at least one pre-stored audio parameter; and In response to an audio parameter of the at least one original audio data being consistent with the at least one pre-stored audio parameter, adjusting a touch sensitivity of a touch input interface to a pre-stored touch sensitivity corresponding to the at least one pre-stored audio parameter; The audio parameter of the at least one original audio data includes a frequency and a volume value of a maximum formant, and the at least one pre-stored audio parameter includes a predetermined frequency range and a predetermined volume range, and determining whether the audio parameter of the at least one original audio data meets the at least one pre-stored audio parameter further includes: Determine whether the frequency of the maximum formant of the at least one original audio data falls within the predetermined frequency range, and determine whether the volume value of the maximum formant of the at least one original audio data falls within the predetermined volume range; The adjustment method further comprises: in response to the frequency of the maximum resonance peak of the at least one original audio data falling into the predetermined frequency range and in response to the volume value of the maximum resonance peak of the at least one original audio data falling into the predetermined volume range, recording a label name corresponding to the predetermined frequency range and the predetermined volume range; The touch sensitivity adjustment method further includes: Recording the timestamp of the original audio data; and Determine whether the interval between the timestamps of any two of the original audio data is less than a predetermined value, and if so, determine the tapping operations corresponding to the two original audio data less than the predetermined value as continuous tapping operations, and determine whether to enable the touch sensitivity adjustment function according to the number of continuous tapping operations; The enabling of a sound receiving device to receive one or more original audio data includes: simultaneously enabling the sound receiving device and a background application, and when the background application is running, the enabled sound receiving device receives the original audio signal within a preset time period.
2. The touch sensitivity adjustment method according to claim 1, characterized in that: The audio parameters of the one or more original audio data include a volume value, and the step of enabling the sound receiving device to receive the one or more original audio data includes: The volume value of the one or more original audio data is compared with a setting value to select the at least one original audio data, wherein the volume value of the selected at least one original audio data is greater than the setting value.
3. The touch sensitivity adjustment method according to claim 1, characterized in that: The audio parameter of the at least one original audio data is a frequency of a maximum formant, and the at least one pre-stored audio parameter is a predetermined frequency range, and determining whether the audio parameter of the at least one original audio data meets the at least one pre-stored audio parameter comprises: Determining whether the frequency of the maximum resonance peak of the at least one original audio data falls within the predetermined frequency range; The adjustment method further includes: in response to the frequency of the maximum resonance peak of the at least one original audio data falling into the predetermined frequency range, recording a label name corresponding to the predetermined frequency range, wherein the label name corresponds to the pre-stored touch sensitivity.
4. The touch sensitivity adjustment method according to claim 3, characterized in that: The touch sensitivity of the touch input interface has multiple modes, and the modes correspond to the multiple pre-stored touch sensitivities respectively. When the sound receiving device is enabled to receive the original audio data, the touch sensitivity of the touch input interface is a first mode among the modes. Adjusting the touch sensitivity of the touch input interface to the pre-stored touch sensitivity corresponding to the at least one pre-stored audio parameter includes: Determining whether the pre-stored touch sensitivity corresponding to the tag name corresponds to the first mode; In response to the pre-stored touch sensitivity corresponding to the tag name corresponding to the first mode, maintaining the touch sensitivity in the first mode; and In response to the pre-stored touch sensitivity corresponding to the tag name not corresponding to the first mode, the touch sensitivity is switched from the first mode to a second mode corresponding to the pre-stored touch sensitivity.
5. The touch sensitivity adjustment method according to claim 1, characterized in that: Before enabling the sound receiving device to receive the one or more original audio data, the adjustment method further includes: Controlling the sound receiving device to collect a plurality of test audio signals; analyzing each test audio signal to obtain a plurality of test audio data; Recording an audio parameter corresponding to each test audio data; A tag name for marking each test audio data; and The tag name and the audio parameter are stored, wherein the tag name corresponds to a plurality of the pre-stored touch sensitivities respectively.
6. The touch sensitivity adjustment method according to claim 5, characterized in that: Recording the audio parameter corresponding to each test audio data includes: recording at least one of a frequency and a volume value of a maximum resonance peak corresponding to each test audio data.
7. The touch sensitivity adjustment method according to claim 1, characterized in that: The at least one original audio data is associated with a knocking sound of a mobile device.
8. A mobile device, characterized in that: include: A sound receiving device, for receiving one or more original audio data, wherein the original audio data includes: audio data decomposed from an original audio signal obtained by a user knocking on the housing, wherein the sound receiving device and a background application are simultaneously started, and the sound receiving device is used to receive the original audio signal within a preset time period when the background application is running; a touch input interface, wherein a touch sensitivity of the touch input interface is adjustable; a memory including a database for storing at least one pre-stored audio parameter; and a processor connected to the sound receiving device, the touch input interface and the memory, the processor being configured to: Enable the sound receiving device to receive the one or more original audio data; Determining whether an audio parameter of at least one original audio data among the one or more original audio data meets at least one pre-stored audio parameter; and In response to an audio parameter of the at least one original audio data being consistent with the at least one pre-stored audio parameter, adjusting the touch sensitivity of the touch input interface to a pre-stored touch sensitivity corresponding to the at least one pre-stored audio parameter; The audio parameter of the at least one original audio data includes a frequency and a volume value of a maximum resonance peak, and the at least one pre-stored audio parameter includes a predetermined frequency range and a predetermined volume range, the processor determines whether the frequency of the maximum resonance peak of the at least one original audio data falls within the predetermined frequency range, and determines whether the volume value of the maximum resonance peak of the at least one original audio data falls within the predetermined volume range; in response to the frequency of the maximum resonance peak of the at least one original audio data falling within the predetermined frequency range and in response to the volume value of the maximum resonance peak of the at least one original audio data falling within the predetermined volume range, the processor records a label name corresponding to the predetermined frequency range and the predetermined volume range; The processor records the timestamp of the original audio data and determines whether the interval between the timestamps of any two of the original audio data is less than a predetermined value. If so, the tapping operation corresponding to the two original audio data less than the predetermined value is determined as a continuous tapping operation, and whether to enable the touch sensitivity adjustment function is determined based on the number of continuous tapping operations.
9. The mobile device according to claim 8, characterized in that: The processor compares the volume value of the one or more original audio data with a setting value to select the at least one original audio data, wherein the volume value of the selected at least one original audio data is greater than the setting value.
10. The mobile device according to claim 8, characterized in that The audio parameters of the at least one original audio data include a frequency of a maximum resonance peak, and the at least one pre-stored audio parameter includes a predetermined frequency range, the processor determines whether the frequency of the maximum resonance peak of the at least one original audio data falls within the predetermined frequency range, and in response to the frequency of the maximum resonance peak of the at least one original audio data falling within the predetermined frequency range, the processor records a tag name corresponding to the predetermined frequency range, wherein the tag name corresponds to the pre-stored touch sensitivity.
11. The mobile device according to claim 10, characterized in that: The touch sensitivity of the touch input interface has multiple modes, and the modes correspond to the multiple pre-stored touch sensitivities respectively. When the sound receiving device is enabled to receive the original audio data, the touch sensitivity of the touch input interface is a first mode among the modes, and the processor determines whether the pre-stored touch sensitivity corresponding to the tag name corresponds to the first mode, and in response to the pre-stored touch sensitivity corresponding to the tag name corresponding to the first mode, the processor maintains the touch sensitivity as the first mode; In response to the pre-stored touch sensitivity corresponding to the tag name not corresponding to the first mode, the processor switches the touch sensitivity from the first mode to a second mode corresponding to the pre-stored touch sensitivity.
12. The mobile device according to claim 8, characterized in that The sound receiving device is further used to collect multiple test audio signals, the processor analyzes each test audio signal to obtain multiple test audio data, and the processor records an audio parameter corresponding to each test audio data and marks a label name for each test audio data, and stores the label name and the audio parameter, wherein the label name corresponds to multiple pre-stored touch sensitivities respectively.
13. The mobile device according to claim 12, characterized in that: The audio parameter of each of the test audio data includes at least one of a frequency and a volume value of a maximum formant of the test audio data.
14. The mobile device according to claim 8, characterized in that The at least one original audio data is a knocking sound associated with the mobile device.
