Tws bluetooth earphone, touch control method and system thereof, and computer storage medium
By monitoring and iteratively updating the touch action trigger time of TWS Bluetooth earbuds in real time, the problem of high accidental touch rate due to fixed touch action time has been solved, resulting in a better user experience and adaptability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- DONGGUAN ALPHA ELECTRONICS TECH CO LED
- Filing Date
- 2022-10-19
- Publication Date
- 2026-06-26
AI Technical Summary
The fixed touch action time of existing TWS Bluetooth earbuds leads to a high rate of accidental touches, making it unable to adapt to the usage habits of different users and affecting the user experience.
By monitoring touch actions in real time, the system obtains the trigger time of each touch action and iteratively updates the trigger time based on these moments, dynamically adjusting the user's trigger time to adapt to the user's usage habits.
It reduces the false trigger rate, improves the user experience, and adapts to the personalized needs of different users.
Smart Images

Figure CN115767340B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of touch control technology for Bluetooth headsets, and in particular to a TWS Bluetooth headset and its touch control method, system and computer storage medium. Background Technology
[0002] Most TWS (True Wireless Stereo) Bluetooth earphones use capacitive touch buttons. Due to the size limitations of the earphones, the buttons are usually operated by long press, single click, double click, triple click, etc.
[0003] Existing TWS Bluetooth earbuds have touch gesture hold and trigger times pre-set at the factory, which users cannot customize. However, since different users have different touch habits, the completely uniform time settings often lead to accidental triggering of events due to users not having enough time to react or reacting too quickly, resulting in a high accidental touch rate that seriously affects the user experience. Furthermore, as users' touch habits are constantly changing, the fixed trigger times of existing TWS Bluetooth earbuds cannot be dynamically updated to adapt to these changes, further impacting the user experience. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to provide a TWS Bluetooth headset and its touch control method, system and computer storage medium to solve the problems of high false touch rate caused by fixed trigger time, incompatibility with user habits and poor user experience in the prior art.
[0005] To achieve the above objectives, a first aspect of the present invention provides a touch control method for TWS Bluetooth earphones, comprising the following steps:
[0006] Real-time monitoring of touch actions applied to the Bluetooth headset, and acquisition of the first trigger moment of the touch action when the touch action is detected;
[0007] Determine whether the touch action is detected again within the first event trigger time starting from the first trigger time. If so, obtain the second trigger time of the current touch action; otherwise, trigger the first event when the first event trigger time ends.
[0008] The first event trigger time and / or the second event trigger time are iteratively updated based on the first trigger time and the second trigger time.
[0009] Furthermore, before the step of real-time monitoring of touch actions on the Bluetooth headset and obtaining the first trigger moment of the touch action upon detection, the following steps are also included:
[0010] Determine whether a first event trigger time exists. If it exists, obtain the first event trigger time; otherwise, initialize the Bluetooth headset, obtain the first event preset trigger time, and configure the first event preset trigger time as the first event trigger time, wherein the first event preset trigger time is greater than or equal to the first event trigger time.
[0011] Furthermore, after the step of determining whether the touch action is detected again within the first event trigger time from the first trigger time, and if so, obtaining the second trigger time of the current touch action, the following steps are also included:
[0012] Determine whether the touch action is detected again within the second event trigger time. If no touch action is detected, trigger the second event at the end of the second event trigger time; otherwise, trigger the third event.
[0013] Furthermore, the step of iteratively updating the first event trigger time and / or the second event trigger time based on the first trigger time and the second trigger time includes the following sub-steps:
[0014] Calculate the real-time effective trigger time from the first trigger time to the second trigger time;
[0015] Filter the maximum effective trigger time of Bluetooth headphones;
[0016] Determine whether the maximum effective trigger time is greater than the preset trigger time of the first event. If so, update the first event trigger time with the preset trigger time of the first event; otherwise, update the first event trigger time with the maximum effective trigger time.
[0017] Furthermore, in the step of filtering and obtaining the maximum effective trigger time, the specific method is as follows:
[0018] Set the filtering range and obtain the historical and real-time effective trigger times of the Bluetooth headsets within the filtering range to form a data list;
[0019] Set the trigger time correction value;
[0020] The maximum value in the data list is determined, and the maximum effective trigger time is obtained by correcting the maximum value with the trigger time correction value.
[0021] Furthermore, the touch action is recognized based on a touch chip integrated into the Bluetooth headset. The specific method for recognizing the touch action is as follows:
[0022] The touch signal applied to the touch chip is collected in real time, and it is determined whether the touch signal meets the preset conditions. If so, the touch action is identified.
[0023] A second aspect of the present invention provides a touch control system for TWS Bluetooth earphones, comprising:
[0024] A touch action monitoring module is used to monitor touch actions applied to the Bluetooth headset in real time, and generate a first acquisition command when the touch action is detected;
[0025] The trigger time determination module is used to determine whether the touch action is detected again within the first event trigger time. If the touch action is detected again, a second acquisition instruction is generated; otherwise, a first trigger instruction is generated.
[0026] The event triggering module is used to trigger the first event when the first event triggering time ends, according to the first triggering instruction;
[0027] The trigger time acquisition module is used to acquire the first trigger time and the second trigger time according to the first acquisition instruction and the second acquisition instruction, respectively; and
[0028] The trigger time iteration update module is used to iteratively update the first event trigger time and / or the second event trigger time based on the first trigger time and the second trigger time.
[0029] Furthermore, the trigger time update module includes:
[0030] The time calculation submodule is used to calculate the real-time effective trigger time based on the first trigger time and the second trigger time.
[0031] The time filtering submodule is used to obtain the historical and real-time valid trigger times of Bluetooth headsets within the set filtering range, and to filter the maximum valid trigger time of Bluetooth headsets.
[0032] The time determination submodule is used to determine whether the maximum effective trigger time is greater than the preset trigger time of the first event. If so, a first update instruction is generated; otherwise, a second update instruction is generated.
[0033] The time update submodule is used to update the trigger time of the first event according to the first update instruction with the preset trigger time of the first event, and to update the trigger time of the first event according to the second update instruction with the maximum effective trigger time.
[0034] A third aspect of the present invention provides a TWS Bluetooth headset, comprising:
[0035] A storage module is used to store the mapping relationship between events and touch actions and their trigger times, wherein the events include at least a first event, a second event, or a third event;
[0036] A timing module is used to time the triggering time of the event based on the triggering time of the touch action; and
[0037] The Bluetooth headset is used to monitor touch actions applied to it in real time, and to trigger a first event, a second event, or a third event according to the mapping relationship between the event and the touch action and its trigger time. It also iteratively updates the mapping relationship between the corresponding event and the touch action and its trigger time in the storage module according to the trigger time of the current event.
[0038] A fourth aspect of the present invention provides a computer storage medium, characterized in that, when the computer program is executed by a processor, it implements the touch control method for TWS Bluetooth earphones as described above.
[0039] This invention iteratively updates the trigger time of the first event each time it is triggered, using this updated trigger time as the basis for determining the trigger time during multiple touches. This dynamically adjusts the trigger times of the first, second, and third events based on user habits, enabling the Bluetooth headset to adapt to different user preferences, avoiding accidental triggering, and thus improving the user experience. Furthermore, during the iterative update of the first event trigger time, it updates the trigger time within a preset range of historical first event trigger times to adapt to dynamic user habits, further preventing accidental triggering and enhancing the user experience. Attached Figure Description
[0040] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0041] Figure 1 This is a structural block diagram of the TWS Bluetooth earphone according to Embodiment 1 of the present invention.
[0042] Figure 2 This is a flowchart of the touch control method for a TWS Bluetooth headset according to Embodiment 2 of the present invention.
[0043] Figure 3 for Figure 2 The flowchart for step S8.
[0044] Figure 4 This is a structural block diagram of the touch control system of the TWS Bluetooth headset according to Embodiment 3 of the present invention.
[0045] Figure 5 for Figure 4The structural diagram of the time update submodule. Detailed Implementation
[0046] The following detailed description illustrates the specific implementation methods:
[0047] Example 1
[0048] When using TWS Bluetooth earbuds, users typically interact with the earbuds by touching a designated touch area. The system recognizes touch actions and determines the triggered event based on the time interval between each touch. In this embodiment, the event includes a first event, a second event, or a third event. The first event is a single-click event, where the earbuds recognize one touch action within a set time period. The second event is a double-click event, where the earbuds recognize two touch actions within a set time period, and the time interval between the two touch actions meets a corresponding preset condition. The third event is a triple-click event, where the earbuds recognize three touch actions within a set time period, and the time interval between two adjacent touch actions meets a corresponding preset condition. This embodiment uses typical Bluetooth earbud usage as an example, typically including single-click, double-click, and triple-click events. However, in other embodiments, other events involving multiple touches of the touch area may also be included, triggered in a similar manner to double-click or triple-click events.
[0049] When a single click event is triggered on the Bluetooth headset, the corresponding function associated with the first event is executed, such as playing or pausing music in a music playback scenario, or answering or hanging up a phone call in a phone call scenario. When a double click event is triggered, the Bluetooth headset executes the corresponding function associated with the second event, such as playing the next track. When a triple click event is triggered, the Bluetooth headset executes the corresponding function associated with the third event, such as playing the previous track. The functions associated with the first, second, and third events can be preset or customized by the user.
[0050] like Figure 1 The diagram shown is a structural block diagram of a TWS Bluetooth earphone according to this embodiment. The TWS Bluetooth earphone of this embodiment includes a storage module 101, a timing module 102, and a Bluetooth earphone 103; of course, the TWS Bluetooth earphone may also include a charging case 104 for placing and charging the Bluetooth earphone 103, the charging case being capable of charging the Bluetooth earphone.
[0051] The storage module 101 pre-stores the trigger times of the first, second, and third events, as well as historical valid trigger times used for iteratively updating the trigger times of the first and second events. Specifically, when the Bluetooth headset 103 detects a touch action within the first event trigger time, it is mapped to triggering the first event; when the Bluetooth headset 103 detects two touch actions within the first event trigger time and does not detect another touch action within the second event trigger time, it is mapped to triggering the second event; when the Bluetooth headset 103 detects two touch actions within the first event trigger time and detects another touch action within the second event trigger time, it is mapped to triggering the third event. This establishes the mapping relationship between each event, touch action, and its trigger time, so that the Bluetooth headset 103 can respond to the first, second, or third event accordingly.
[0052] In this embodiment, assuming that the time interval between two consecutive touches is regular (i.e., equal), the second event trigger time is set to twice the first event trigger time. This maximizes the user's reaction time while ensuring response speed, thereby improving the user experience. Understandably, in other embodiments, the second event trigger time can be other durations, such as 1.5 times or three times the first event trigger time, depending on the touch rhythm of different users during continuous touches.
[0053] The timing module 102 can time the trigger time of the event based on the trigger time of the touch action. Specifically, when the Bluetooth headset 103 detects a touch action, the timing module 102 is activated, obtains the system time of the touch action, and starts timing. In this embodiment, when the Bluetooth headset 103 detects the first touch action, the timing module 102 is activated, obtains the current system time as the first trigger time, and starts timing with the first event trigger time. If no second touch action occurs after the first event trigger time has elapsed, the first trigger time is cleared. If a second touch action occurs before the first event trigger time has elapsed, the current system time is obtained as the second trigger time, so that the Bluetooth headset 103 can update the first event trigger time and / or the second event trigger time using the first and second trigger times.
[0054] The Bluetooth headset 103 monitors touch actions applied to it in real time. In this embodiment, the Bluetooth headset 103 monitors touch signals applied to the touch chip integrated on the Bluetooth headset 103 in real time and determines whether the touch signal meets preset conditions. If the preset conditions are met, the Bluetooth headset 103 determines that a touch action has been recognized; otherwise, it is determined to be a false trigger. In this embodiment, the touch chip is a capacitive touch chip, the touch signal is a capacitance change signal, and the preset conditions are whether the capacitance change signal recognized by the touch chip is within a preset range. If it is, the touch action is determined to have occurred; otherwise, it is considered a false trigger, and no operation is performed. Preferably, to further improve the accuracy of touch action recognition and reduce the false trigger rate, after the Bluetooth headset 103 recognizes that the capacitance change signal is within the preset range, a determination of the duration of the touch signal can be added, that is, whether the capacitance change signal is maintained for a certain period of time. Only when the capacitance change signal is within the preset range and maintained for a certain period of time is the touch action determined to have occurred; otherwise, even if the capacitance change signal is within the preset range, it is determined to be a false trigger.
[0055] When the Bluetooth headset 103 detects the first touch action, it triggers the timing module 102 to start timing, and retrieves the first event trigger time from the storage module 101 and the first trigger moment from the timing module 102. Then, it determines whether a second touch action has been detected from the first trigger moment until the end of the first event trigger time. If no second touch action is detected, the first event is triggered when the first event trigger time ends. If a second touch action is detected from the first trigger moment until the end of the first event trigger time, it retrieves the second event trigger time from the storage module 101 and the second trigger moment from the timing module 102. Next, it determines whether a third touch action has been detected from the second trigger moment until the end of the second event trigger time. If no third touch action is detected, the second event is triggered when the second event trigger time ends. If a third touch action is detected, the third event is triggered when the third touch action is detected. Simultaneously, when the Bluetooth headset 103 obtains the second trigger moment from the timing module 102, it calculates the time difference between the second trigger moment and the first trigger moment, records it as the current valid trigger time, and obtains the historical valid trigger time from the storage module 101. It then filters out the maximum value between the current valid trigger time and the historical valid trigger time, and corrects the maximum value with a pre-set correction value to obtain the maximum valid trigger time. Finally, it updates the first event trigger time stored in the storage module 101 with the maximum valid trigger time, using it as the first event trigger time for the next trigger of the first event. Since the second event trigger time is set based on the first event trigger time, when the first event trigger time is updated, the second event trigger time stored in the storage module 101 will also be updated accordingly. This allows for dynamic updates of the first and second event trigger times based on user habits, thereby adapting to user preferences.
[0056] In this embodiment, to reduce the false touch rate while improving the response speed of the Bluetooth headset 103, the Bluetooth headset 103 is also configured with a first event preset trigger time. The first event preset trigger time is the longest waiting time for the Bluetooth headset 103 when triggering the first event, and it is pre-configured in the Bluetooth headset 103 at the factory. When the Bluetooth headset 103 updates the first event trigger time and the second event trigger time, after filtering to obtain the maximum effective trigger time, it will also compare the maximum effective trigger time with the first event preset trigger time to determine whether the maximum effective trigger time is greater than the first event preset trigger time. If it is greater, the first event trigger time and the second event trigger time will be updated with the first event preset trigger time; otherwise, the first event trigger time and the second event trigger time will still be updated with the maximum effective trigger time. The purpose of this is to avoid the waiting time when the first event is triggered being too long, which would reduce the sensitivity of the Bluetooth headset 103, thereby further improving the user experience.
[0057] When setting the preset trigger time for the first event, it is important to avoid setting it too long. While a longer preset trigger time can effectively reduce the false trigger rate, it also results in a longer trigger time for the first event, leading to lower sensitivity of the Bluetooth headset 103 and affecting the user experience. Conversely, a preset trigger time that is too short should also be avoided. Although a shorter preset trigger time can effectively improve the sensitivity of the Bluetooth headset 103, it also means the user doesn't have enough time to react, easily causing false triggers and similarly reducing the user experience. The preset trigger time for the first event is 500-700ms, preferably 600ms.
[0058] As a preferred embodiment, when the Bluetooth headset 103 acquires historical valid trigger times, it can also acquire historical valid trigger times according to a preset range. For example, it can acquire the valid trigger times of the ten most recent trigger times of the first event, including the current valid trigger time, determine the maximum value among the ten historical valid trigger times and the current valid trigger time, and obtain the maximum valid trigger time after correcting the maximum value. In this way, the trigger time of the first event and the trigger time of the second event can be iteratively updated according to the user's recent usage habits to adapt to the user's constantly changing usage habits.
[0059] In this embodiment, the storage module 101 and the timing module 102 can be built into the Bluetooth headset 103 to improve the speed and stability of the Bluetooth headset 103 in acquiring the first event trigger event, the second event trigger time, and the historical valid trigger time stored in the storage module 101, as well as the first trigger moment and the second trigger moment generated by the timing module 102. It is understood that in other embodiments, to reduce the size of the Bluetooth headset 103 and simplify its internal structure, the storage module 101 and the timing module 102 can also be integrated into the terminal device that has been successfully paired and connected to the Bluetooth headset 103. This is only required that the Bluetooth headset 103, upon recognizing a touch action, can acquire the first event trigger event, the second event trigger time, and the historical valid trigger time stored in the storage module 101, as well as the first trigger moment and the second trigger moment generated by the timing module 102.
[0060] In this embodiment, the TWS Bluetooth earphone uses a storage module 101 to store the trigger times of each event and the historical valid trigger times of the Bluetooth earphone 103 during the triggering process. A timing module 102 is used to time the occurrence of each touch action and the interval between adjacent touch actions. This allows the Bluetooth earphone 103 to trigger the timing module 102 based on touch actions during use. The maximum valid trigger time is calculated based on the first and second trigger times and used as the event trigger time for the next use. This achieves dynamic updates to the event trigger time, adapting to the usage habits of different users and the usage habits of the same user at different stages, thereby reducing false triggers and improving the user experience.
[0061] Example 2
[0062] like Figure 2 The diagram shows a flowchart of the touch control method for a TWS Bluetooth headset according to this embodiment. This embodiment's touch control method is based on the TWS Bluetooth headset of Embodiment 1, and includes a storage module 101, a timing module 102, a Bluetooth headset 103, and a charging case 104 with the same or similar structure or function as Embodiment 1. It dynamically updates the first event trigger time and the second event trigger time of the Bluetooth headset according to the user's usage habits. Specifically, this embodiment includes the following steps:
[0063] S1: Initialize Bluetooth headset 103 and obtain the first event trigger time.
[0064] First, when the Bluetooth headset 103 is in use (the Bluetooth headset 103 is considered to be in use when it is taken out of the charging case), it is determined whether a first event trigger time exists in the storage module 101. If a first event trigger time exists, it means that the Bluetooth headset 103 is not being used for the first time. In this case, the Bluetooth headset 103 retrieves the first event trigger time from the storage module 101 and uses this first event trigger time as the waiting time for triggering the first event during the current use period. If the first event trigger time does not exist in the storage module 101, it means that the Bluetooth headset 103 is being used for the first time, and the Bluetooth headset 103 is initialized. Specifically, the preset first event trigger time configured at the factory is retrieved, and the preset first event trigger time is configured as the first event trigger time, which is used as the waiting time for triggering the first event when the Bluetooth headset 103 is used for the first time.
[0065] In this embodiment, the preset trigger time of the first event is greater than or equal to the preset trigger time of the first event, and the preset trigger time of the first event is 500-700ms, preferably 600ms. Since the preset trigger time of the first event is the longest waiting time for the Bluetooth headset 103 when triggering the first event, a preset trigger time greater than or equal to the preset trigger time of the first event can avoid the Bluetooth headset 103 from having low sensitivity due to an excessively long waiting time when triggering the first event, thus affecting the user experience.
[0066] S2: Real-time monitoring of touch actions and acquisition of the first trigger moment.
[0067] The system monitors touch actions on the Bluetooth headset 103 in real time and obtains the first trigger moment when the first touch action is detected. In this embodiment, the Bluetooth headset 103 collects touch signals from the integrated touch chip in real time and determines whether the touch signal meets preset conditions. If so, it is determined that a touch action has occurred on the Bluetooth headset 103. When the touch chip detects the first touch action, it triggers the timing module 102 to obtain the current system time as the first trigger moment. The Bluetooth headset 103 obtains the first trigger moment when the first touch action occurs from the timing module 102. Otherwise, it is determined to be a false trigger and no operation is performed.
[0068] In this embodiment, the touch chip is a capacitive touch chip, the touch signal is a capacitance change signal, and the preset condition is whether the capacitance change signal detected by the touch chip is within a preset range. If it is, the touch action is determined to have occurred; otherwise, it is considered a false trigger and no operation is performed. Preferably, to further improve the accuracy of touch action recognition and reduce the false trigger rate, after the Bluetooth headset 103 detects that the capacitance change signal is within the preset range, a determination of the duration of the touch signal can be added, that is, whether the capacitance change signal is maintained for a certain period of time. Only when the capacitance change signal is within the preset range and maintained for a certain period of time is the touch action determined to have occurred; otherwise, even if the capacitance change signal is within the preset range, it is determined to be a false trigger.
[0069] S3: Determine if there is a second touch action within the time frame of the first event trigger.
[0070] When the Bluetooth headset 103 detects the first touch action, it retrieves the first event trigger time from the storage module 101. At the same time, the timing module 102 starts timing from the first trigger time.
[0071] Specifically, the Bluetooth headset 103 continues to monitor the touch actions applied to it and determines whether a second touch action is detected before the timing module 102 ends its first event trigger time (i.e., within the first event trigger time). If no second trigger action is detected within the first event trigger time, then step S3 is executed. If a second touch action is detected within the first event trigger time, then when the Bluetooth headset 103 detects the second touch action, it obtains the second trigger time of the current touch action, triggers the timing module 102 to obtain the current system time as the second trigger time, and the Bluetooth headset 103 jumps to execute step S5 after obtaining the second trigger time of the second touch action from the timing module 102.
[0072] S4: Trigger the first event.
[0073] If the Bluetooth headset 103 does not recognize a second touch action within the first trigger time, the first event is triggered at the end of the first event trigger time.
[0074] S5: Determine if there is a third touch action within the time frame of the second event trigger.
[0075] When the Bluetooth headset 103 detects the second touch action, it retrieves the second event trigger time from the storage module 101. At the same time, the timing module 102 starts timing based on the second event trigger time (when timing the second event trigger time, the starting time is still the first trigger moment).
[0076] Specifically, the Bluetooth headset 103 continues to monitor the touch actions applied to it and determines whether a third touch action is detected before the timing module 102 ends its second event trigger time (i.e., within the second event trigger time). If a third trigger action is not detected within the second event trigger time, the process jumps to step S6; otherwise, it jumps to step S7.
[0077] S6: Trigger the second event.
[0078] If the Bluetooth headset 103 does not recognize a third touch action within the second event trigger time, the second event is triggered at the end of the second event trigger time.
[0079] S7: Trigger the third event.
[0080] When the Bluetooth headset 103 detects a third touch action within the second event trigger time, it triggers a third event upon detecting the third touch action.
[0081] S8: Iterative update first trigger time.
[0082] The Bluetooth headset 103 iteratively updates the first event trigger time and / or the second event trigger time based on the first trigger time and the second trigger time obtained from the timing module 102, so as to update the first event trigger time and / or the second event trigger time in real time, and then dynamically adjust the first event trigger time and / or the second trigger time according to the user's usage habits.
[0083] like Figure 3 As shown, step S8 includes the following steps:
[0084] S801: Calculate the real-time effective trigger time.
[0085] The first trigger time and the second trigger time are obtained, and the time difference between the first trigger time and the second trigger time is calculated to obtain the time interval between the first touch action and the second touch action during the current use period. This time interval is the maximum waiting time to trigger the first event without triggering the second event during the current use period. Thus, the real-time effective trigger time of the first event is obtained according to the user's usage habits during the current use period.
[0086] S802: Filter for the maximum effective trigger time.
[0087] The system obtains historical and real-time valid trigger times, filters out the maximum value, and then corrects this maximum value to obtain the maximum valid trigger time. In this embodiment, the specific method for filtering the maximum valid trigger time is as follows:
[0088] First, a filter range for the maximum effective trigger time is set, and the historical and real-time effective trigger times of the Bluetooth headset 103 within the filter range are obtained to form a data list. In this embodiment, the filter range is set to include the effective trigger times of the ten most recent triggers of the first event, including the real-time effective trigger time, to form the data list. The purpose is to iteratively update the first event trigger time and / or the second event trigger time according to the user's recent usage habits, thereby adapting to the user's constantly changing usage habits.
[0089] Understandably, in some other embodiments, the filtering range may also be set to all historical valid trigger times and real-time valid trigger times stored in the storage module 101, so as to update the first event trigger time and / or the second event trigger time based on the overall usage habits.
[0090] Then, a trigger time correction value is set to correct the effective trigger time. Since the time interval between two adjacent touches of the Bluetooth headset 103 is almost never the same each time, to avoid the updated first event trigger time and / or second event trigger time being too short due to some short time intervals, and to prevent users from accidentally triggering the device due to short time intervals, the effective trigger time needs to be corrected before determining it. In this embodiment, the trigger time correction value is 100-200ms, and preferably 100ms.
[0091] Finally, the maximum value in the data list is determined, and the maximum effective trigger time is obtained by correcting the maximum value with the trigger time correction value. In this embodiment, the maximum effective trigger time is the sum of the maximum value and the trigger time correction value.
[0092] Understandably, in some other embodiments, the average value of each effective trigger time can be determined by averaging the data in the data list, and the maximum effective trigger time can be obtained by correcting the average value with the trigger time correction value.
[0093] S803: Update the first event trigger time.
[0094] Specifically, the system obtains the first event preset trigger time configured when the Bluetooth headset 103 is manufactured, and determines whether the maximum effective trigger time is greater than the first event preset trigger time.
[0095] If the time is greater than the preset trigger time of the first event, the trigger time of the first event and the trigger time of the second event will be updated. Otherwise, the trigger time of the first event and the trigger time of the second event will still be updated with the maximum effective trigger time. After the trigger time of the first event is updated, the trigger time of the second event will be updated with the updated trigger time of the first event. The purpose of this is to avoid the Bluetooth headset 103 from becoming less sensitive due to the long waiting time when the first event is triggered, thereby further improving the user experience.
[0096] Steps S1-S8 above are the execution steps of the Bluetooth headset 103 in this embodiment when it is configured with three types of events (i.e., the first event corresponding to a single click, the second event corresponding to a double click, and the third event corresponding to a triple click). In some cases, if the Bluetooth headset 103 is only configured with the first event, this embodiment only needs to execute steps S1-S4 in specific implementation. In this case, since the Bluetooth headset 103 cannot obtain the second trigger time, the trigger time of the first event is not dynamically updated. In this case, the trigger time of the first event can be a fixed value or a user-defined appropriate value. If the Bluetooth headset 103 is configured with... In the case of the first and second events, in this embodiment, after executing steps S1-S4, step S8 is also required to update the trigger time of the first event. If the Bluetooth headset 103 is configured with more than three types of events (such as four types), before the third event is triggered, the third trigger time of the third touch action is determined by another preset third event trigger time, so as to determine whether a fourth touch action has occurred within the third event trigger time. Based on the determination result, it is determined whether the third event or the fourth event is triggered, and the trigger time of the first to third events is dynamically updated after the corresponding event is triggered, and so on.
[0097] The touch control method for TWS Bluetooth earphones in this embodiment monitors touch actions on the Bluetooth earphone 103 in real time during use. When a monitored touch action meets a set condition, a corresponding event is triggered. Simultaneously, after the event is triggered, the interval between each touch action is calculated and judged. The trigger time of the first event is dynamically updated based on the preset trigger time of the first event. The trigger times of other events are also updated synchronously based on the trigger time of the first event to better adapt to the usage habits of different users, reduce false triggers, and thus improve the user experience.
[0098] Example 3
[0099] like Figure 4The diagram shown is a structural block diagram of the touch control system of the TWS Bluetooth headset in this embodiment. The touch control system of the TWS Bluetooth headset in this embodiment can be built into the Bluetooth headset 103 of Embodiment 1 to implement the touch control method of Embodiment 2. Specifically, the touch control system of the TWS Bluetooth headset in this embodiment includes a touch action monitoring module 301, a trigger time judgment module 302, an event triggering module 303, a trigger time acquisition module 304, and a trigger time iteration update module 305; wherein:
[0100] The touch action monitoring module 301 is used to monitor touch actions performed on the Bluetooth headset in real time, and generates a first acquisition command when the touch action is detected. In this embodiment, the touch action monitoring module 301 monitors touch actions based on a touch chip integrated on the Bluetooth headset; specifically, it collects touch signals from the touch chip in real time and determines whether the touch signal meets preset conditions. If so, it determines that a touch action has been performed on the Bluetooth headset, and generates a first acquisition command when the touch chip detects the first touch action; otherwise, it is determined to be a false trigger and no operation is performed.
[0101] The trigger time determination module 302 is used to acquire a first event trigger time when the first touch action is detected, and to determine whether the touch action monitoring module 301 detects a second touch action again within the first event trigger time. If the second touch action is detected again, a second acquisition instruction is generated; otherwise, a first trigger instruction is generated. The trigger time determination module 302 is also used to acquire a second event trigger time when the second touch action is detected again, and to determine whether the touch action monitoring module 301 detects a third touch action again within the second event trigger time. If the third touch action is not detected again, a second trigger instruction is generated; otherwise, a third trigger instruction is generated.
[0102] The event triggering module 303 is used to receive a first triggering instruction, a second triggering instruction, and a third triggering instruction from the triggering time judgment module 302, and to trigger a first event when the first event triggering time ends according to the first triggering instruction, to trigger a second event when the second event triggering time ends according to the second triggering instruction, and to trigger a third event when a third triggering action is detected according to the third triggering instruction.
[0103] The trigger time acquisition module 304 is used to receive a first acquisition instruction from the touch action monitoring module 301 and a second acquisition instruction from the trigger time judgment module 302, and acquire a first trigger time according to the first acquisition instruction and acquire a second trigger time according to the second acquisition instruction.
[0104] The trigger time iteration update module 305 is used to iteratively update the first event trigger time and / or the second event trigger time based on the first trigger time and the second trigger time.
[0105] like Figure 5 As shown, the trigger time iteration update module 305 includes a time calculation submodule 3051, a time filtering submodule 3052, a time judgment submodule 3053, and a time update submodule 3054; wherein:
[0106] The time calculation submodule 3051 is used to calculate the time difference between the first trigger time and the second trigger time based on the first trigger time and the second trigger time to obtain the time interval between the first touch action and the second touch action during the current use period. This time interval is the maximum waiting time for triggering the first event without triggering the second event during the current use period. Thus, the real-time effective trigger time for actually triggering the first event according to the user's usage habits during the current use period is obtained.
[0107] The time filtering submodule 3052 is used to obtain the historical effective trigger time and real-time effective trigger time of the Bluetooth headset within the set filtering range to form a data list, determine the maximum value in the data list, set a trigger time correction value, and correct the maximum value with the trigger time correction value to obtain the maximum effective trigger time.
[0108] The time determination submodule 3053 is used to obtain the first event preset trigger time configured when the Bluetooth headset leaves the factory, and determine whether the maximum effective trigger time is greater than the first event preset trigger time. If the maximum effective trigger time is greater than the first event preset trigger time, a first update instruction is generated; otherwise, a second update instruction is generated.
[0109] The time update submodule 3054 is used to receive the first update instruction and the second update instruction, update the first event trigger time according to the first update instruction with the first event preset trigger time, update the first event trigger time according to the second update instruction with the maximum effective trigger time, and update the second event trigger time with the updated first event trigger time after the first event trigger time is updated.
[0110] The touch control system of the TWS Bluetooth headset in this embodiment, by setting a touch action monitoring module, a trigger time judgment module 302, an event triggering module 303, a trigger time acquisition module 304, and a trigger time iteration update module 305, can monitor the touch actions on the Bluetooth headset in real time during use. When the monitored touch actions meet the set conditions, the system can dynamically update the event trigger time of each event by judging the interval time between touch actions. This can well adapt to the usage habits of different users, reduce false triggers, and thus improve the user experience.
[0111] As another embodiment of the present invention, a computer storage medium is also provided, wherein an executable computer program is stored on the computer storage medium, and when the computer executable instructions are called and executed by a processor, the computer executable instructions cause the processor to implement the touch control method of the TWS Bluetooth headset as described in 1.
Claims
1. A touch control method for TWS Bluetooth earphones, characterized in that, Includes the following steps: Real-time monitoring of touch actions applied to the Bluetooth headset, and acquisition of the first trigger moment of the touch action when the touch action is detected; Determine whether a first event trigger time exists. If it exists, obtain the first event trigger time. Otherwise, initialize the Bluetooth headset, obtain the first event preset trigger time, and configure the first event preset trigger time as the first event trigger time. The first event preset trigger time is greater than or equal to the first event trigger time. Determine whether the touch action is detected again within the first event trigger time starting from the first trigger time. If so, obtain the second trigger time of the current touch action; otherwise, trigger the first event when the first event trigger time ends. The first event trigger time and / or the second event trigger time are iteratively updated based on the first trigger time and the second trigger time; wherein: Calculate the real-time effective trigger time from the first trigger time to the second trigger time; Filter the maximum effective trigger time of Bluetooth headphones; Determine whether the maximum effective trigger time is greater than the preset trigger time of the first event. If so, update the first event trigger time with the preset trigger time of the first event; otherwise, update the first event trigger time with the maximum effective trigger time.
2. The touch control method for TWS Bluetooth earphones according to claim 1, characterized in that, After the step of determining whether the touch action is detected again within the first event trigger time from the first trigger time, and if so, obtaining the second trigger time of the current touch action, the following steps are also included: Determine whether the touch action is detected again within the second event trigger time. If no touch action is detected, trigger the second event at the end of the second event trigger time; otherwise, trigger the third event.
3. The touch control method for TWS Bluetooth earphones according to claim 1, characterized in that, The specific method for filtering and obtaining the maximum effective trigger time is as follows: Set the filtering range and obtain the historical and real-time effective trigger times of the Bluetooth headsets within the filtering range to form a data list; Set the trigger time correction value; The maximum value in the data list is determined, and the maximum effective trigger time is obtained by correcting the maximum value with the trigger time correction value.
4. The touch control method for TWS Bluetooth earphones according to any one of claims 1-3, characterized in that, The touch action is recognized based on a touch chip integrated into the Bluetooth headset. The specific method for recognizing the touch action is as follows: The touch signal applied to the touch chip is collected in real time, and it is determined whether the touch signal meets the preset conditions. If so, the touch action is identified.
5. A touch control system for TWS Bluetooth earphones, characterized in that, include: A touch action monitoring module is used to monitor touch actions applied to the Bluetooth headset in real time, and generate a first acquisition command when the touch action is detected; The first event trigger time configuration module is used to determine whether a first event trigger time exists. If it exists, the first event trigger time is obtained; otherwise, the Bluetooth headset is initialized, a first event preset trigger time is obtained, and the first event preset trigger time is configured as the first event trigger time. The first event preset trigger time is greater than or equal to the first event trigger time. The trigger time determination module is used to determine whether the touch action is detected again within the first event trigger time. If the touch action is detected again, a second acquisition instruction is generated; otherwise, a first trigger instruction is generated. The event triggering module is used to trigger the first event when the first event triggering time ends, according to the first triggering instruction; The trigger time acquisition module is used to acquire the first trigger time and the second trigger time according to the first acquisition instruction and the second acquisition instruction, respectively; and A trigger time iteration update module is used to iteratively update the first event trigger time and / or the second event trigger time based on the first trigger time and the second trigger time; wherein, the trigger time iteration update module includes: The time calculation submodule is used to calculate the real-time effective trigger time based on the first trigger time and the second trigger time. The time filtering submodule is used to obtain the historical and real-time valid trigger times of Bluetooth headsets within the set filtering range, and to filter the maximum valid trigger time of Bluetooth headsets. The time determination submodule is used to determine whether the maximum effective trigger time is greater than the preset trigger time of the first event. If so, a first update instruction is generated; otherwise, a second update instruction is generated. The time update submodule is used to update the trigger time of the first event according to the first update instruction with the preset trigger time of the first event, and to update the trigger time of the first event according to the second update instruction with the maximum effective trigger time.
6. A TWS Bluetooth headset, used for touch control based on the touch control system of claim 5, characterized in that, include: A storage module is used to store the mapping relationship between events and touch actions and their trigger times, wherein the events include at least a first event, a second event, or a third event; A timing module is used to time the triggering time of the event based on the triggering time of the touch action; and The Bluetooth headset is used to monitor touch actions applied to it in real time, and to trigger a first event, a second event, or a third event according to the mapping relationship between the event and the touch action and its trigger time. It also iteratively updates the mapping relationship between the corresponding event and the touch action and its trigger time in the storage module according to the trigger time of the current event.
7. A computer storage medium having an executable computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the touch control method for TWS Bluetooth headsets as described in any one of claims 1-4.