Mode switching method, apparatus, device, and storage medium
By incorporating a posture acquisition component into Bluetooth headsets to collect head posture data in real time and automatically switching control modes, the limitation of manual operation in existing Bluetooth headsets is resolved, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GOERTEK INC
- Filing Date
- 2026-02-28
- Publication Date
- 2026-06-09
AI Technical Summary
Existing Bluetooth headsets rely on manual operation for mode switching, which makes it difficult to switch modes smoothly when hands are restricted or wet, thus affecting the user experience.
By setting up a posture acquisition component in the Bluetooth headset, the device can collect the user's head posture data in real time and automatically switch control modes according to preset switching conditions, including touch control mode and voice control mode.
It enables automatic switching of control modes under different conditions, avoiding the problem of being unable to switch smoothly due to limitations in manual operation, and improving the user experience.
Smart Images

Figure CN122179700A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of headphone technology, and in particular to mode switching methods, devices, equipment, and storage media. Background Technology
[0002] With the rapid development of wireless communication technology and smart wearable devices, Bluetooth headsets, with their portability and wireless advantages, have become an important peripheral for smartphones, tablets, and other smart terminals, and are widely used in various scenarios such as daily communication, audio-visual entertainment, and sports and fitness. Currently, Bluetooth headsets typically feature multiple user interaction modes, such as touch control and voice control, to meet the operational needs of different scenarios. Therefore, the ability to flexibly switch between touch control and voice control modes is becoming increasingly important.
[0003] Currently, the control mode switching of existing Bluetooth headsets relies on manual operation by the user. Users need to actively trigger mode switching through physical buttons or specific touch gestures. However, this manual switching process not only increases the user's operational burden, but also makes it difficult to complete the mode switching smoothly when the user's hands are restricted or wet, thus affecting the user experience. Summary of the Invention
[0004] The main objective of this application is to provide a mode switching method, apparatus, device, and storage medium, which aims to solve the technical problem that existing Bluetooth headsets that rely on manual user control for mode switching are prone to failure to switch modes smoothly due to operational limitations.
[0005] To achieve the above objectives, this application proposes a mode switching method, which is applied to a smart headset with an attitude acquisition component. The smart headset has at least two control modes with different control methods. The method includes: The posture acquisition component collects the wearer's current head posture data in real time. When the current head posture data meets the corresponding preset switching conditions, the target control mode corresponding to the preset switching conditions is determined, wherein different control modes are provided with different preset switching conditions. Switch the current control mode to the target control mode.
[0006] In one embodiment, the step of determining the target control mode corresponding to the preset switching condition when the current head posture data meets the corresponding preset switching condition includes: Determine the head posture axis to be monitored and the corresponding head posture parameter thresholds for the head posture axis to be monitored. The current value of the axis of the head posture to be monitored is determined based on the current head posture data, and a corresponding preset switching condition is constructed based on the head posture parameter threshold. If the current value meets the corresponding preset switching condition, the target control mode corresponding to the preset switching condition is determined.
[0007] In one embodiment, the step of determining the current value of the axis of the head posture to be monitored based on the current head posture data, and constructing corresponding preset switching conditions based on the head posture parameter threshold, includes: Obtain the mode switching offset parameter corresponding to the axis of the head posture to be monitored. The mode switching offset parameter is used to characterize the buffer amount that needs to be delayed when switching control modes. The head posture parameter threshold is adjusted by the mode switching offset parameter, and a corresponding preset switching condition is constructed based on the adjusted head posture parameter threshold.
[0008] In one embodiment, the mode switching offset parameter includes a positive offset threshold; The step of adjusting the corresponding head pose parameter threshold using the mode switching offset parameter and constructing the corresponding preset switching condition based on the adjusted head pose parameter threshold includes: The head posture parameter threshold is adjusted based on the positive offset threshold to obtain the first head posture parameter threshold; Construct corresponding preset switching conditions based on the first head posture parameter threshold; The step of determining the target control mode corresponding to the preset switching condition when the current value satisfies the corresponding preset switching condition includes: If the current head posture parameter value meets the preset switching condition, the target control mode corresponding to the preset switching condition will be determined as the voice control mode.
[0009] In one embodiment, the mode switching offset parameter further includes a reverse offset threshold; The step of adjusting the corresponding head pose parameter threshold using the mode switching offset parameter and constructing the corresponding preset switching condition based on the adjusted head pose parameter threshold includes: The head posture parameter threshold is adjusted based on the reverse offset threshold to obtain a second head posture parameter threshold. Construct corresponding preset switching conditions based on the second head posture parameter threshold; The step of determining the target control mode corresponding to the preset switching condition when the current value satisfies the corresponding preset switching condition includes: If the current head posture parameter value meets the preset switching condition, the target control mode corresponding to the preset switching condition will be determined as the touch control mode.
[0010] In one embodiment, before the step of acquiring the wearer's current head posture data in real time through the posture acquisition component, the method further includes: Obtain the head posture parameter configuration information of the wearer based on the current application scenario; The step of determining the axis of the head posture to be monitored and the corresponding threshold of the head posture parameters includes: The head posture axis to be monitored and the corresponding head posture parameter threshold are determined based on the head posture parameter configuration information.
[0011] In one embodiment, the step of switching the current control mode to the target control mode includes: The duration for which the current head posture data satisfies the corresponding preset switching conditions is obtained; If the duration reaches the preset duration, the current control mode will be switched to the target control mode.
[0012] Furthermore, to achieve the above objectives, this application also proposes a mode switching device, the device comprising: The data acquisition module is used to collect the wearer's current head posture data in real time through the posture acquisition component; The mode determination module is used to determine the target control mode corresponding to the preset switching condition when the current head posture data meets the corresponding preset switching condition. Different control modes are provided with different preset switching conditions. The mode switching module is used to switch the current control mode to the target control mode.
[0013] In addition, to achieve the above objectives, this application also proposes a mode switching device, the device comprising: a smart headset, the smart headset having at least two control modes with different control methods; The device further includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the mode switching method as described above.
[0014] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and which, when executed by a processor, implements the steps of the mode switching method described above.
[0015] This application provides a mode switching method, apparatus, device, and storage medium. The method is applied to a smart earphone with a posture acquisition component, wherein the smart earphone has at least two control modes with different control methods. The method includes: acquiring the current head posture data of the user in real time through the posture acquisition component; determining the target control mode corresponding to the preset switching condition when the current head posture data meets the corresponding preset switching condition, wherein different control modes are provided with different preset switching conditions; and switching the current control mode to the target control mode.
[0016] This application's smart earphones feature at least two control modes with different control methods. During actual use, the Bluetooth earphones can collect the user's current head posture data in real time via a posture acquisition component. When the current head posture data meets the corresponding preset switching conditions, the control mode is determined to be the target control mode corresponding to those conditions. Compared to existing Bluetooth earphones where mode switching relies on manual operation by the user, which can easily lead to difficulties in switching modes due to operational limitations, this application avoids the problem of being unable to switch modes smoothly due to manual operation limitations by implementing control mode switching based on real-time head posture data collected by the posture acquisition component. This improves the user experience. Attached Figure Description
[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a schematic diagram of the mode switching device structure of the hardware operating environment involved in the embodiments of this application; Figure 2 This is a flowchart illustrating the first embodiment of the mode switching method of this application; Figure 3 This is a flowchart illustrating the second embodiment of the mode switching method of this application; Figure 4 This is a flowchart illustrating the third embodiment of the mode switching method of this application; Figure 5 This is a schematic diagram illustrating the overall process of the mode switching method in this application; Figure 6 This is a structural block diagram of the mode switching device of this application.
[0020] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0021] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0022] Reference Figure 1 , Figure 1 This is a schematic diagram of the mode switching device structure of the hardware operating environment involved in the embodiments of this application.
[0023] like Figure 1 As shown, the mode switching device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may be connected to a display screen; optionally, the user interface 1003 may include a standard wired interface or a wireless interface. In this application, the wired interface of the user interface 1003 may be a USB interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or non-volatile memory (NVM), such as a disk storage device. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0024] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the mode switching device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0025] like Figure 1 As shown, the memory 1005, which is identified as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a mode switching program.
[0026] exist Figure 1In the mode switching device shown, the network interface 1004 is mainly used to connect to the backend server and communicate with the backend server; the user interface 1003 is mainly used to connect to the user equipment; the mode switching device calls the mode switching program stored in the memory 1005 through the processor 1001 and executes the steps of the mode switching method provided in the embodiments of this application.
[0027] It's worth noting that with the rapid development of wireless communication technology and smart wearable devices, Bluetooth headsets, with their portability and wireless advantages, have become an important peripheral for smartphones, tablets, and other smart terminals, widely used in various scenarios such as daily communication, audio-visual entertainment, and sports and fitness. Currently, Bluetooth headsets typically feature multiple user interaction modes, such as touch control and voice control, to meet the operational needs of different scenarios. Therefore, the ability to flexibly switch between touch control and voice control modes is becoming increasingly important.
[0028] Currently, the control mode switching of existing Bluetooth headsets relies on manual operation by the user. Users need to actively trigger mode switching through physical buttons or specific touch gestures. However, this manual switching process not only increases the user's operational burden, but also makes it difficult to complete the mode switching smoothly when the user's hands are restricted or wet, thus affecting the user experience.
[0029] Therefore, to address the aforementioned shortcomings, this embodiment provides a mode switching method, apparatus, device, and storage medium. The method is applied to a smart earphone with an attitude acquisition component, wherein the smart earphone has at least two control modes with different control methods. The method includes: acquiring the current head posture data of the user in real time through the attitude acquisition component; determining the target control mode corresponding to the preset switching condition when the current head posture data meets the corresponding preset switching condition, wherein different control modes have different preset switching conditions; and switching the current control mode to the target control mode.
[0030] This application's smart earphones feature at least two control modes with different control methods. During actual use, the Bluetooth earphones can collect the user's current head posture data in real time via a posture acquisition component. When the current head posture data meets the corresponding preset switching conditions, the control mode is determined to be the target control mode corresponding to those conditions. Compared to existing Bluetooth earphones where mode switching relies on manual operation by the user, which can easily lead to difficulties in switching modes due to operational limitations, this application avoids the problem of being unable to switch modes smoothly due to manual operation limitations by implementing control mode switching based on real-time head posture data collected by the posture acquisition component. This improves the user experience.
[0031] For ease of understanding, the following is combined with Figures 2 to 5 The mode switching method provided in the embodiments of this application will be described in detail.
[0032] Reference Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the mode switching method of this application. The first embodiment of the mode switching method of this application is presented as follows: Figure 2 As shown, in this embodiment, the method is applied to a smart headset with an attitude acquisition component. The smart headset has at least two control modes with different control methods. The specific method includes: Step S10: The posture acquisition component collects the current head posture data of the wearer in real time.
[0033] It is understood that the method of this embodiment can be applied to the aforementioned smart headphones, which can be any headphone device with data processing, program execution, and data acquisition functions, such as Bluetooth headphones, wired headphones, etc. The execution subject of this method embodiment can be a Bluetooth headphone to illustrate this embodiment and the following embodiments.
[0034] It is also understood that the smart earphone in this embodiment is equipped with an attitude acquisition component, which can be a sensor component, such as a gyroscope, used to collect spatial attitude data of the Bluetooth earphone. In this embodiment, the attitude acquisition component can monitor the rotation angle data (including X-axis, Y-axis, and Z-axis) of the Bluetooth earphone in three-dimensional space, thereby determining the user's head posture (such as lying on their side, looking up, looking down, etc.), and thus providing a basis for the Bluetooth earphone to switch control modes. Specifically, the gyroscope can output the real-time angle values of the Bluetooth earphone on the X-axis, Y-axis, and Z-axis. These angle values can reflect the changes in the earphone's posture, such as tilting and rotation. For example, if the user's head tilts to the left, the Y-axis angle changes; if the user looks up, the X-axis angle changes; if the user lies on their side, the multi-axis combination changes.
[0035] It should be noted that the aforementioned control method can be a way for the user to interact with the headphones. It can determine which control mode the user uses to operate the headphones, such as touch control or voice control. Correspondingly, the control mode corresponding to the control method can be the mode currently used by the Bluetooth headphones to interact with the user. In this embodiment, the control modes of the smart headphones can at least include touch control and voice control. Touch control mode can be a mode where the user interacts with the headphones by touching the headphone surface (e.g., single tap, double tap, swipe, etc.); voice control mode can be a mode where the user interacts with the headphones by using voice commands.
[0036] It should be understood that the aforementioned user can be any user wearing the aforementioned smart headphones. In this embodiment, the user's head posture data (such as lying on their side, tilting their head back, tilting their head down, etc.) can be collected by a gyroscope and used as a condition for triggering the control mode switching.
[0037] It should be noted that the aforementioned current head posture data can be the angle values of the Bluetooth headset along different axes, collected in real time by the posture acquisition component. In this embodiment, the current head posture data may include the angle values of the Bluetooth headset along at least one of the X, Y, and Z axes. These angle values can be used to reflect the spatial posture of the Bluetooth headset at the current moment. Specifically, the X-axis angle value can be used to characterize the angle of the user's head tilting left and right, thereby determining whether the user's head is tilting to the left or right; the Y-axis angle value can be used to characterize the angle of the user's head tilting forward and backward, thereby determining whether the user is lying flat or on their side; and the Z-axis angle value can be used to characterize the angle of the user's head rotating horizontally, thereby determining the user's head direction.
[0038] In practical use, users can pre-select which axis's angle data the Bluetooth headset will collect, i.e., which axis's data will be effective, based on personal habits or usage scenarios. For example, they can select the Y-axis, or a combination of the X and Y axes. This embodiment does not impose any restrictions on this. When a user wears the Bluetooth headset, the gyroscope in the headset can begin collecting angle data from the effective axes of the X, Y, and Z axes at a fixed frequency (e.g., 50Hz), thereby obtaining the user's current head posture data.
[0039] Step S20: When the current head posture data meets the corresponding preset switching conditions, determine the target control mode corresponding to the preset switching conditions, wherein different control modes are provided with different preset switching conditions.
[0040] It should be noted that the aforementioned preset switching conditions can be conditions that must be met when the control mode of the Bluetooth headset is switched. In this embodiment, different control modes have different preset switching conditions, that is, the Bluetooth headset switches from touch control mode to voice control mode, and from voice control mode to touch control mode, respectively, with different switching conditions.
[0041] In this embodiment, the user can pre-set corresponding axial thresholds for the X, Y, and Z axes of the Bluetooth headset as reference points for switching control modes. Specifically, the Bluetooth headset can use the condition that the value of the effective axis (such as the Y axis, or a combination of the X and Y axes) in the user's current head posture data is greater than the corresponding axial threshold as the switching condition for switching from touch control mode to voice control mode, and the condition that the value of the effective axis in the current head posture data is less than the corresponding axial threshold as the switching condition for switching from voice control mode to touch control mode. In actual use, when the value of the effective axis in the user's current head posture data is greater than the corresponding axial threshold, the Bluetooth headset can determine the target control mode as voice control mode and switch to voice control mode; when the value of the effective axis in the user's current head posture data is less than the corresponding axial threshold, the target control mode can be determined as touch control mode and switched to touch control mode.
[0042] It should also be noted that if only an axial threshold is set as the switching condition for the control mode of the Bluetooth headset, the headset's control mode may switch frequently due to the frequent fluctuation of the user's axial posture data around the threshold boundary. Therefore, to improve the accuracy and stability of the headset's control mode switching, this embodiment can also add corresponding offset values (such as a positive offset threshold and a negative offset threshold) to the axial threshold to jointly construct the switching condition, thereby avoiding frequent control mode switching by the Bluetooth headset. In actual use, when the Bluetooth headset detects that the value of the effective axis (such as the Y-axis, or a combination of the X-axis and Y-axis) in the user's current head posture data is greater than the sum of the axial threshold and the positive offset threshold, it can determine the target control mode as voice control mode and switch to voice control mode; when the value of the effective axis in the user's current head posture data is less than the difference between the axial threshold and the negative offset threshold, it can determine the target control mode as touch control mode and switch to touch control mode.
[0043] Step S30: Switch the current control mode to the target control mode.
[0044] It should be understood that the aforementioned target control mode can be a new control mode that the Bluetooth headset is about to switch to. In this embodiment, the target control mode can be determined by the Bluetooth headset's current control mode and the preset switching conditions met, wherein the current control mode can be the interaction mode that the Bluetooth headset is in at the current moment. In actual use, if the Bluetooth headset's current control mode is touch control mode, and the user's current head posture data meets the switching conditions for switching from touch control mode to voice control mode, then the target control mode can be voice control mode; if the Bluetooth headset's current control mode is voice control mode, and the user's current head posture data meets the switching conditions for switching from voice control mode to touch control mode, then the target control mode can be touch control mode. After determining the target control mode, the Bluetooth headset can switch its current control mode to the determined target control mode.
[0045] Further, step S30 includes: obtaining the duration for which the current head posture data satisfies the corresponding preset switching condition; and, when the duration reaches the preset duration, switching the current control mode to the target control mode.
[0046] Understandably, the aforementioned duration can be the length of time during which the user's current head posture data continuously meets the preset switching conditions, reflecting the stable time the user maintains a certain head posture. Correspondingly, the aforementioned preset duration can be a time threshold (e.g., 3 seconds) preset by the user on the smart terminal. In this embodiment, the Bluetooth headset can use the preset duration as a criterion for determining whether to trigger mode switching. Specifically, if the duration for which the user's current head posture data meets the corresponding preset switching conditions reaches the preset duration, mode switching can be performed; if the duration for which the user's current head posture data meets the corresponding preset switching conditions does not reach the preset duration, mode switching cannot be performed.
[0047] It is also understandable that the Bluetooth headset switches the current control mode to the target control mode when the current head posture data meets the corresponding preset switching conditions for a preset duration. This means that the control mode switch is only triggered when the user's head posture data continuously meets the preset switching conditions for a duration that reaches or exceeds the user's preset threshold. This avoids frequent switching of control modes due to the user's instantaneous actions (such as turning the head quickly), thereby reducing unnecessary mode switching and maintaining interaction stability.
[0048] In this embodiment, the smart earphone has at least two control modes with different control methods. During actual use, the Bluetooth earphone can collect the user's current head posture data in real time through a posture acquisition component. When the current head posture data meets the corresponding preset switching conditions, the control mode is determined to be the target control mode corresponding to the preset switching conditions. Compared to existing Bluetooth earphones where control mode switching relies on manual operation by the user, which can easily lead to difficulties in switching modes due to operational limitations, this embodiment can achieve control mode switching based on real-time head posture data collected by the posture acquisition component. This avoids the problem of difficulty in switching modes due to manual operation limitations, thereby improving the user experience.
[0049] Reference Figure 3 , Figure 3 This is a flowchart illustrating the second embodiment of the mode switching method of this application. Based on the first embodiment described above, a second embodiment of the mode switching method of this application is proposed.
[0050] Considering that users' postures vary in different usage scenarios, controlling mode switching by monitoring posture data along a single axis often fails to meet diverse needs. Therefore, to adapt Bluetooth headsets to different user preferences and usage scenarios, the step of determining the target control mode corresponding to the preset switching conditions when the current head posture data meets the corresponding preset switching conditions includes: Step S21: Determine the axis of the head posture to be monitored and the threshold values of the head posture parameters corresponding to the axis of the head posture to be monitored.
[0051] It should be noted that the aforementioned head posture axis to be monitored can be a gyroscope coordinate axis selected by the user as the basis for determining the control mode switching of the Bluetooth headset, such as at least one of the X, Y, and Z axes. This axis can be used to determine which direction of the Bluetooth headset's posture change should trigger the control mode switching. In this embodiment, the user can select single-axis or multi-axis combination activation through the smart terminal settings interface. If the user selects single-axis activation, the head posture axis to be monitored is the single axis selected by the user. In this case, monitoring the single activated axis can determine whether a control mode switching is needed. If the user selects multi-axis combination activation, the head posture axis to be monitored is the combined axis selected by the user (such as the X and Y axes). Subsequent control mode switching will only be triggered when all selected axes meet the switching conditions. Furthermore, the user can also select any axis to activate, meaning that any selected axis meeting the conditions will trigger the control mode switching.
[0052] It should also be noted that the aforementioned head posture parameter thresholds can be basic angle values set by the user for each axis to be monitored, which can serve as a reference point for determining whether to trigger mode switching. In actual use, users can pre-set the corresponding thresholds for each axis on the smart terminal, such as setting the head posture parameter thresholds for the X-axis, Y-axis, and Z-axis to 50°.
[0053] Step S22: Determine the current value of the axis of the head posture to be monitored based on the current head posture data, and construct the corresponding preset switching conditions based on the head posture parameter threshold.
[0054] Understandably, the aforementioned current value can be the angle value along the axis of the head posture to be monitored, which is collected in real time by the posture acquisition component in the Bluetooth headset. For example, if the axis of the head posture to be monitored is the X-axis, then the current value is the value of the Bluetooth headset on the X-axis collected by the gyroscope; if the axis of the head posture to be monitored is a combination of the X-axis and the Y-axis, then the current value is the value of the Bluetooth headset on the X-axis and the Y-axis collected by the gyroscope.
[0055] In practical applications, Bluetooth headsets can determine the gyroscope axis to be monitored and the threshold values set for each gyroscope axis based on information configured by the user in the smart terminal or preset by the user in the Bluetooth headset. This determines the head posture axis to be monitored and the corresponding head posture parameter thresholds. Then, the Bluetooth headset can read the current value of the head posture axis from the gyroscope sensor and construct corresponding preset switching conditions based on the head posture parameter thresholds and the current control mode. Specifically, if the current control mode of the Bluetooth headset is touch control mode, switching conditions for switching from touch control mode to voice control mode can be constructed, such as the current value of the head posture axis to be monitored needing to be greater than the head posture parameter threshold, and this state needing to be maintained for a preset duration (e.g., 3 seconds). If the current control mode of the Bluetooth headset is voice control mode, switching conditions for switching from voice control mode to touch control mode can be constructed, such as the current value of the head posture axis to be monitored needing to be less than the head posture parameter threshold, and this state needing to be maintained for a preset duration (e.g., 3 seconds).
[0056] Step S23: If the current value satisfies the corresponding preset switching condition, determine the target control mode corresponding to the preset switching condition.
[0057] In this embodiment, when the current value of the head posture axis to be monitored meets the corresponding preset switching conditions, the Bluetooth headset can determine the target control mode based on the switching conditions met by the current value. Specifically, if the current value meets the switching conditions for switching from touch control mode to voice control mode, the target control mode can be determined as voice control mode; if the current value meets the switching conditions for switching from voice control mode to touch control mode, the target control mode can be determined as touch control mode.
[0058] Furthermore, before step S10, the method further includes: obtaining head posture parameter configuration information configured by the user based on the current application scenario.
[0059] It should be noted that the above-mentioned current application scenario can be the scenario in which the user is currently using the Bluetooth headset. In this embodiment, the user can select or customize the corresponding usage scenario on the smart terminal according to their actual environment and behavioral habits when using the Bluetooth headset, such as sports scenario, sleep scenario, office scenario, etc., and this embodiment does not impose any restrictions on this.
[0060] It should also be noted that the head posture parameter configuration information mentioned above can be all the parameter information that the user sets for switching the control mode of the Bluetooth headset in a specific application scenario. This can include axis selection, basic thresholds for each axis, time parameters, etc. This embodiment does not limit this.
[0061] In practical use, users can configure corresponding parameters for different application scenarios, eliminating the need to manually adjust all parameters each time. Instead, they only need to select the application scenario to load the corresponding configuration information, thus simplifying user operations and improving user experience. For example, in a sports scenario, the axis of the head posture to be monitored can be configured as the Y-axis to monitor the user's forward and backward pitch angles, with a base threshold set to 50 and a duration of 3 seconds. In a sleep scenario, the axis of the head posture to be monitored can be configured as both the Y-axis and X-axis to monitor the user's forward and backward pitch angles and left and right tilt angles, with a base threshold set to 40 and a duration of 2 seconds. In an office scenario, the axis of the head posture to be monitored can be configured as the Y-axis to monitor the user's forward and backward pitch angles, with a base threshold set to 55 and a duration of 3.5 seconds, etc. This embodiment does not impose any limitations on these settings.
[0062] Step S21 includes: determining the head posture axis to be monitored and the head posture parameter threshold corresponding to the head posture axis to be monitored based on the head posture parameter configuration information.
[0063] In this embodiment, after the Bluetooth headset obtains the head posture parameter configuration information configured by the user in the current application scenario, it can directly extract the head posture axis to be monitored and the head posture parameter threshold corresponding to the head posture axis to be monitored from the head posture parameter configuration information, thereby improving the efficiency of control mode switching.
[0064] Reference Figure 4 , Figure 4 This is a flowchart illustrating the third embodiment of the mode switching method of this application. Based on the above embodiments, a third embodiment of the mode switching method of this application is proposed.
[0065] Considering that if the Bluetooth headset only sets a single fixed threshold as the criterion for controlling mode switching, frequent switching of the control mode may occur due to fluctuations in the threshold boundary, in order to improve the stability of the Bluetooth headset control mode, step S22 includes: Step S221: Obtain the mode switching offset parameter corresponding to the axis of the head posture to be monitored. The mode switching offset parameter is used to characterize the buffer amount that needs to be delayed when switching control modes.
[0066] It should be noted that the aforementioned mode switching offset parameter can be a buffer amount that requires delay when the Bluetooth headset switches control modes. This embodiment, by introducing a mode switching offset parameter, can prevent the headset from frequently and rapidly switching back and forth near a threshold boundary. In this embodiment, the mode switching offset parameter can include a positive offset threshold and a negative offset threshold. The positive offset threshold can refer to a hysteresis coefficient, which can be a value used to increase the threshold for the Bluetooth headset to switch from touch control mode to voice control mode, i.e., a buffer upper limit to prevent the Bluetooth headset from frequently switching control modes. The negative offset threshold can refer to an offset coefficient, which can be a value used to decrease the threshold for the Bluetooth headset to switch from voice control mode to touch control mode, i.e., a buffer lower limit to prevent the Bluetooth headset from frequently switching control modes.
[0067] It should also be noted that if the Bluetooth headset determines whether to switch control modes based solely on a single basic threshold, even slight user movements can cause frequent mode switching. Therefore, this embodiment introduces a mode switching offset parameter, creating a switching backlash between the Bluetooth headset's touch control mode and voice control mode. This prevents the headset from frequently and rapidly switching back and forth near the threshold boundary, thereby improving the stability of control mode switching.
[0068] Step S222: Adjust the corresponding head posture parameter threshold using the mode switching offset parameter, and construct the corresponding preset switching condition based on the adjusted head posture parameter threshold.
[0069] In practical applications, users can pre-set mode switching offset parameters in their smart devices and send them to Bluetooth headsets via Bluetooth communication. Upon receiving the mode switching offset parameters, the Bluetooth headsets can adjust the head posture parameter thresholds using these parameters to obtain the adjusted threshold values, i.e., the adjusted head posture parameter thresholds. Based on these adjusted head posture parameter thresholds, the headsets can then construct the corresponding preset switching conditions.
[0070] Furthermore, the mode switching offset parameter includes a positive offset threshold; Step S222 includes: adjusting the head posture parameter threshold based on the positive offset threshold to obtain a first head posture parameter threshold; and constructing a corresponding preset switching condition based on the first head posture parameter threshold. It should be noted that the aforementioned positive offset threshold can be a value used to increase the threshold for Bluetooth headsets to switch from touch control mode to voice control mode.
[0071] It should also be noted that the aforementioned first head posture parameter threshold can be a new threshold value obtained after adjusting the positive offset threshold, which can be used to determine whether the Bluetooth headset needs to switch from touch control mode to voice control mode.
[0072] In this embodiment, the Bluetooth headset can superimpose a positive offset threshold on the head posture parameter threshold to form an adjusted threshold. At this point, the first head posture parameter threshold = head posture parameter threshold + positive offset threshold. For example, if the head posture parameter threshold is 50° and the positive offset threshold is 10°, then the first head posture parameter threshold = 50° + 10° = 60°. This embodiment adjusts the head posture parameter threshold using the positive offset threshold, ensuring that the threshold for switching the Bluetooth headset from touch control mode to voice control mode is higher than the base threshold. This prevents accidental switching of the Bluetooth headset's control mode due to minor user movements, thereby improving the accuracy of control mode switching.
[0073] Step S23 includes: when the current head posture parameter value meets the preset switching condition, determining the target control mode corresponding to the preset switching condition as the voice control mode.
[0074] In practical use, after obtaining the first head posture parameter threshold, the Bluetooth headset can construct corresponding preset switching conditions based on this threshold. These preset switching conditions can be conditions for switching from touch control mode to voice control mode. For example, the preset switching conditions could be that the current head posture parameter value must be greater than the first head posture parameter threshold, and the duration must be greater than or equal to 3 seconds. Subsequently, if the Bluetooth headset detects that the current head posture parameter value meets the preset switching conditions, it can determine the target control mode corresponding to the preset switching conditions as voice control mode and switch the control mode to voice control mode.
[0075] Furthermore, the mode switching offset parameter also includes a reverse offset threshold; Step S222 includes: adjusting the head posture parameter threshold based on the reverse offset threshold to obtain a second head posture parameter threshold; and constructing a corresponding preset switching condition based on the second head posture parameter threshold. It should be noted that the aforementioned reverse offset threshold can be a value used to reduce the threshold for Bluetooth headsets to switch from voice control mode to touch control mode.
[0076] It should also be noted that the aforementioned second head posture parameter threshold can be a new threshold value obtained after adjusting the reverse offset threshold, which can be used to determine whether the Bluetooth headset needs to switch from voice control mode to touch control mode.
[0077] In this embodiment, the Bluetooth headset can superimpose a reverse offset threshold on the head posture parameter threshold to form a lowered threshold. At this point, the second head posture parameter threshold = head posture parameter threshold - reverse offset threshold. For example, if the head posture parameter threshold is 50° and the reverse offset threshold is 5°, then the second head posture parameter threshold = 50° - 5° = 45°. This embodiment adjusts the head posture parameter threshold using the reverse offset threshold, ensuring that the threshold for switching the Bluetooth headset from voice control mode to touch control mode is lower than the basic threshold. This prevents accidental switching of the control mode due to minor user movements, thereby improving the accuracy of control mode switching.
[0078] Step S23 includes: when the current head posture parameter value meets the preset switching condition, determining the target control mode corresponding to the preset switching condition as the touch control mode.
[0079] In actual use, after obtaining the second head pose parameter threshold, the Bluetooth headset can construct a corresponding preset switching condition based on the second head pose parameter threshold. This preset switching condition can be a switching condition for switching from the voice control mode to the touch control mode. For example, the preset switching condition can be that the current head pose parameter value needs to be less than the second head pose parameter threshold, and the duration needs to be greater than or equal to 3s. Subsequently, if the Bluetooth headset detects that the current head pose parameter value meets the preset switching condition, it can determine the target control mode corresponding to the preset switching condition as the touch control mode and switch the control mode to the touch control mode.
[0080] In a specific implementation, refer to Figure 5 , Figure 5 which is the overall flowchart of the mode switching method of this application. As Figure 5 shown, the user can first enable the Bluetooth connection function of the smart terminal and find the name of the Bluetooth headset in the connection list to complete the pairing between the smart terminal and the Bluetooth headset. After the pairing between the smart terminal and the Bluetooth headset is completed, the user can open the settings interface of the Bluetooth headset of the smart terminal and set the parameters of the X-axis, Y-axis, and Z-axis of the gyroscope through the settings interface to complete the threshold setting to meet the applications in different scenarios. Among them, the user can select the single-axis or combined-axis activation of the X-axis, Y-axis, and Z-axis according to personal usage habits and preferences. In addition, to avoid frequent switching between the touch control mode and the voice control mode of the Bluetooth headset, the user can additionally set the hysteresis coefficient (Hysteresis) and offset coefficient (offset) parameters, as well as the duration parameter (time) that the condition needs to be satisfied. After the setting is completed, the user can click the save button on the interface and wait for the Bluetooth data communication system to synchronize the data before monitoring the head pose data collected by the gyroscope in real time. Subsequently, after the Bluetooth headset detects that the head pose data collected by the gyroscope meets the switching conditions corresponding to different control modes, it can automatically switch between the touch control mode and the voice control mode. For example, if the user selects the Y-axis to be activated, sets the threshold corresponding to the Y-axis to 50, the hysteresis coefficient to 10, the offset coefficient to 5, and the condition duration to 3s, and subsequently the Bluetooth headset detects that the Y-axis parameter collected by the gyroscope > the Y-axis set threshold + hysteresis coefficient 0, and the condition duration > 3s, at this time the Bluetooth headset can automatically switch the initial touch control mode to the voice control mode, otherwise continue to maintain the touch control mode. In addition, if the Y-axis parameter collected by the gyroscope < the Y-axis set threshold - offset coefficient, and the condition duration > 3s, at this time the Bluetooth headset can switch the voice control mode to the touch control mode, otherwise continue to maintain the voice control mode.
[0081] In addition, an embodiment of this application also proposes a mode switching device, where the device includes: a motor and a humanoid eye component, and the motor is used to drive the humanoid eye component to rotate; The device further includes: a memory, a processor, and a mode switching program stored in the memory and executable on the processor, wherein the mode switching program, when executed by the processor, implements the steps of the mode switching method as described above.
[0082] Furthermore, this application also proposes a storage medium storing a mode switching program, which, when executed by a processor, implements the steps of the mode switching method described above.
[0083] In addition, refer to Figure 6 , Figure 6 This is a structural block diagram of the mode switching device of this application. Figure 6 As shown in the embodiments of this application, a mode switching device is also proposed, which includes: The data acquisition module 601 is used to collect the current head posture data of the wearer in real time through the posture acquisition component; The mode determination module 602 is used to determine the target control mode corresponding to the preset switching condition when the current head posture data meets the corresponding preset switching condition, wherein different control modes are provided with different preset switching conditions. The mode switching module 603 is used to switch the current control mode to the target control mode.
[0084] In this embodiment, the smart earphone has at least two control modes with different control methods. During actual use, the Bluetooth earphone can collect the user's current head posture data in real time through a posture acquisition component. When the current head posture data meets the corresponding preset switching conditions, the control mode is determined to be the target control mode corresponding to the preset switching conditions. Compared to existing Bluetooth earphones where control mode switching relies on manual operation by the user, which can easily lead to difficulties in switching modes due to operational limitations, this embodiment can achieve control mode switching based on real-time head posture data collected by the posture acquisition component. This avoids the problem of difficulty in switching modes due to manual operation limitations, thereby improving the user experience.
[0085] Other embodiments or specific implementations of the mode switching device described in this application can be found in the above-described method embodiments, and will not be repeated here.
[0086] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0087] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0088] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as a read-only memory image (ROM) / random access memory (RAM), magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0089] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A mode switching method, characterized in that, The method is applied to a smart headset with an attitude acquisition component, wherein the smart headset has at least two control modes with different control methods, and the method includes: The posture acquisition component collects the wearer's current head posture data in real time. When the current head posture data meets the corresponding preset switching conditions, the target control mode corresponding to the preset switching conditions is determined, wherein different control modes are provided with different preset switching conditions. Switch the current control mode to the target control mode.
2. The method as described in claim 1, characterized in that, The step of determining the target control mode corresponding to the preset switching condition when the current head posture data meets the corresponding preset switching condition includes: Determine the head posture axis to be monitored and the corresponding head posture parameter thresholds for the head posture axis to be monitored. The current value of the axis of the head posture to be monitored is determined based on the current head posture data, and a corresponding preset switching condition is constructed based on the head posture parameter threshold. If the current value meets the corresponding preset switching condition, the target control mode corresponding to the preset switching condition is determined.
3. The method as described in claim 2, characterized in that, The step of determining the current value of the axis of the head posture to be monitored based on the current head posture data, and constructing corresponding preset switching conditions based on the head posture parameter threshold, includes: Obtain the mode switching offset parameter corresponding to the axis of the head posture to be monitored. The mode switching offset parameter is used to characterize the buffer amount that needs to be delayed when switching control modes. The head posture parameter threshold is adjusted by the mode switching offset parameter, and a corresponding preset switching condition is constructed based on the adjusted head posture parameter threshold.
4. The method as described in claim 3, characterized in that, The mode switching offset parameter includes a positive offset threshold; The step of adjusting the corresponding head pose parameter threshold using the mode switching offset parameter and constructing the corresponding preset switching condition based on the adjusted head pose parameter threshold includes: The head posture parameter threshold is adjusted based on the positive offset threshold to obtain the first head posture parameter threshold; Construct corresponding preset switching conditions based on the first head posture parameter threshold; The step of determining the target control mode corresponding to the preset switching condition when the current value satisfies the corresponding preset switching condition includes: If the current head posture parameter value meets the preset switching condition, the target control mode corresponding to the preset switching condition will be determined as the voice control mode.
5. The method as described in claim 3, characterized in that, The mode switching offset parameter also includes a reverse offset threshold; The step of adjusting the corresponding head pose parameter threshold using the mode switching offset parameter and constructing the corresponding preset switching condition based on the adjusted head pose parameter threshold includes: The head posture parameter threshold is adjusted based on the reverse offset threshold to obtain a second head posture parameter threshold. Construct corresponding preset switching conditions based on the second head posture parameter threshold; The step of determining the target control mode corresponding to the preset switching condition when the current value satisfies the corresponding preset switching condition includes: If the current head posture parameter value meets the preset switching condition, the target control mode corresponding to the preset switching condition will be determined as the touch control mode.
6. The method according to any one of claims 2 to 5, characterized in that, Before the step of acquiring the wearer's current head posture data in real time through the posture acquisition component, the method further includes: Obtain the head posture parameter configuration information of the wearer based on the current application scenario; The step of determining the axis of the head posture to be monitored and the corresponding threshold of the head posture parameters includes: The head posture axis to be monitored and the corresponding head posture parameter threshold are determined based on the head posture parameter configuration information.
7. The method according to any one of claims 1 to 5, characterized in that, The step of switching the current control mode to the target control mode includes: The duration for which the current head posture data satisfies the corresponding preset switching conditions is obtained; If the duration reaches the preset duration, the current control mode will be switched to the target control mode.
8. A mode switching device, characterized in that, The device includes: The data acquisition module is used to collect the wearer's current head posture data in real time through the posture acquisition component; The mode determination module is used to determine the target control mode corresponding to the preset switching condition when the current head posture data meets the corresponding preset switching condition. Different control modes are provided with different preset switching conditions. The mode switching module is used to switch the current control mode to the target control mode.
9. A mode switching device, characterized in that, The device includes: smart earphones, which have at least two control modes with different control methods; The device further includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the mode switching method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the mode switching method as described in any one of claims 1 to 7.