Head-mounted device control method, head-mounted device, electronic device and storage medium

By collecting and matching user head action data in Bluetooth headsets, double confirmation of user actions is achieved, error execution problems caused by misoperation are solved, and the convenience of the device is improved.

CN119148848APending Publication Date: 2024-12-17SHENZHEN BASEUS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411137635.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

During use, existing Bluetooth headsets are prone to incorrect execution of control commands due to user misoperation, which affects the convenience of use.

Method used

By collecting the user's head action data, determine the corresponding head action instructions, and collect data again within the preset time period to match. If it matches, execute the instructions to achieve double confirmation of the user's head action and avoid accidentally triggering errors. implement.

Benefits of technology

It effectively avoids incorrect execution caused by user accidental triggering of head movements, and improves the convenience of using the headset.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119148848A_ABST
    Figure CN119148848A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a head-mounted device control method, a head-mounted device, an electronic device and a computer storage medium, and the method comprises the steps: determining a first head motion instruction corresponding to head motion data when the head motion data of a user is collected; if the head action data of the user is collected again within the preset time period, determining a second head action instruction corresponding to the head action data collected again; whether the second head action instruction is matched with the first head action instruction or not is judged, and if yes, control operation corresponding to the first head action instruction is executed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of head-mounted devices, and in particular to a control method for a head-mounted device, a head-mounted device, an electronic device, and a computer storage medium. Background Art

[0002] With the continuous advancement of technology, various smart wearable devices have developed rapidly. Among them, the popularity of head-mounted devices such as Bluetooth headsets is also increasing, and they have become an indispensable part of people's daily life.

[0003] In the related art, in order to facilitate users to easily operate Bluetooth headsets, some Bluetooth headsets that support head posture recognition are provided. Such Bluetooth headsets recognize the user's head posture, determine the corresponding control instructions and then implement the control function; however, such Bluetooth headsets are prone to erroneous execution of control instructions due to user misoperation during use, affecting the convenience of using the Bluetooth headsets. Summary of the invention

[0004] Embodiments of the present application provide a control method for a head-mounted device, a head-mounted device, an electronic device, and a computer storage medium.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] The present application provides a method for controlling a head mounted device, the method comprising:

[0007] When the head movement data of the user is collected, determining a first head movement instruction corresponding to the head movement data;

[0008] If the head motion data of the user is collected again within the preset time period, determining a second head motion instruction corresponding to the head motion data collected again;

[0009] Determine whether the second head motion instruction matches the first head motion instruction, and if they match, execute the control operation corresponding to the first head motion instruction.

[0010] Exemplarily, when the head movement data of the user is collected, after determining the first head movement instruction corresponding to the head movement data, the method further includes:

[0011] Sending a confirmation reminder message including the first head movement instruction;

[0012] If the head movement data of the user is collected again within the preset time period, the step includes:

[0013] If the user's head movement data is collected again within a preset time period after the confirmation reminder message is sent.

[0014] Exemplarily, the issuing of the confirmation reminder message including the first head movement instruction includes:

[0015] Determining whether a current state of the head mounted device satisfies a preset precondition for executing a control operation corresponding to the first head motion instruction;

[0016] If the answer is yes, a confirmation reminder message including the first head movement instruction is issued.

[0017] Exemplarily, the determining the first head movement instruction corresponding to the head movement data includes:

[0018] A first head movement instruction corresponding to the head movement data is determined according to a preset corresponding relationship; the preset corresponding relationship includes a corresponding relationship between multiple preset head movement data and multiple preset head movement instructions.

[0019] Exemplarily, the determining the first head movement instruction corresponding to the head movement data further includes:

[0020] If the first head movement instruction corresponding to the head movement data cannot be determined according to the preset corresponding relationship, determining whether the user is in a sleeping state;

[0021] If you are not in a sleeping state, a sedentary reminder message will be sent.

[0022] Exemplarily, after determining whether the user is in a sleeping state, the method further includes:

[0023] If the user is in a sleeping state, the head mounted device is controlled to enter a setting mode; the setting mode includes one of a sleeping aid mode, a standby mode and a shutdown mode.

[0024] An embodiment of the present application provides a head mounted device, the head mounted device comprising a head posture recognition module and a control module;

[0025] The head posture recognition module is used to, when collecting the head movement data of the user, determine the first head movement instruction corresponding to the head movement data; if the head movement data of the user is collected again within a preset time period, determine the second head movement instruction corresponding to the head movement data collected again;

[0026] The control module is used to determine whether the second head movement instruction matches the first head movement instruction, and if the two match, execute the control operation corresponding to the first head movement instruction.

[0027] Exemplarily, the head mounted device further includes a voice reminder module;

[0028] The voice reminder module is used to issue a confirmation reminder message including the first head movement instruction;

[0029] The head posture recognition module is further used to determine a second head movement instruction corresponding to the re-collected head movement data if the user's head movement data is collected again within a preset time period after the confirmation reminder information is issued.

[0030] An embodiment of the present application provides an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for controlling a head-mounted device provided by one or more of the aforementioned technical solutions is implemented.

[0031] An embodiment of the present application provides a computer-readable storage medium on which one or more programs are stored. The one or more programs can be executed by one or more processors to implement the control method of the head-mounted device provided by one or more of the aforementioned technical solutions.

[0032] An embodiment of the present application provides a control method for a head-mounted device, a head-mounted device, an electronic device and a computer storage medium. The method includes: when head movement data of a user is collected, determining a first head movement instruction corresponding to the head movement data; if the head movement data of the user is collected again within a preset time period, determining a second head movement instruction corresponding to the head movement data collected again; judging whether the second head movement instruction matches the first head movement instruction, and if the two match, executing a control operation corresponding to the first head movement instruction.

[0033] It can be seen that in the embodiment of the present application, after the head-mounted device determines the corresponding head movement instruction based on the collected head movement data of the user, it will not immediately execute the control operation corresponding to the head movement instruction, but will determine that the user's head movement data is collected again within the preset time period, and the head movement instruction corresponding to the head movement data is the same as the head movement instruction determined last time, that is, the user will trigger the same head movement again within the preset time period before the control operation corresponding to the head movement instruction is executed. In this way, double confirmation of the user's head movement can be achieved, effectively avoiding the erroneous execution of the corresponding action instruction due to the user's mistaken triggering of the head movement, thereby improving the convenience of use of the head-mounted device. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 An application scenario diagram of a method for controlling a head mounted device provided in an embodiment of the present application;

[0035] Figure 2 A flowchart of a method for controlling a head mounted device provided in an embodiment of the present application;

[0036] Figure 3 A flowchart of another method for controlling a head mounted device provided in an embodiment of the present application;

[0037] Figure 4 A flowchart of another method for controlling a head mounted device provided in an embodiment of the present application;

[0038] Figure 5 A schematic diagram of the structure of a head mounted device provided in an embodiment of the present application;

[0039] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0041] It should be understood that some embodiments described herein are only used to explain the technical solution of the present application, and are not used to limit the technical scope of the present application.

[0042] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, rather than to describe a specific order or precedence. It should be understood that the structures used in this way can be interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type.

[0043] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0044] Figure 1 An application scenario diagram of a control method for a head mounted device provided in an embodiment of the present application, such as Figure 1 As shown, the head mounted device 10 can establish a wireless connection with the terminal device 11 via a Bluetooth connection.

[0045] Exemplarily, the head-mounted device 10 can detect whether it is in a wearing state while or after establishing a wireless connection with the terminal device 11. If it is determined that it is in a wearing state, a control method for the head-mounted device is executed. The method may include: when the user's head movement data is collected, determining a first head movement instruction corresponding to the head movement data; if the user's head movement data is collected again within a preset time period, determining a second head movement instruction corresponding to the head movement data collected again; judging whether the second head movement instruction matches the first head movement instruction, and if the two match, executing the control operation corresponding to the first head movement instruction.

[0046] It should be noted that the control method of the head-mounted device can be executed after determining that the device is in a wearing state, or the control method of the head-mounted device can be executed directly, and when executing the control method of the head-mounted device, it is first determined whether the device is in a wearing state. The method may include: detecting whether the head-mounted device is in a wearing state, and if the head-mounted device is in a wearing state, collecting the user's head movement data; when the user's head movement data is collected, determining a first head movement instruction corresponding to the head movement data; if the user's head movement data is collected again within a preset time period, determining a second head movement instruction corresponding to the head movement data collected again; judging whether the second head movement instruction matches the first head movement instruction, and if the two match, executing the control operation corresponding to the first head movement instruction.

[0047] In an embodiment of the present application, the head-mounted device can detect whether it is in a wearing state through an internal wearing detection module; wherein the wearing state is relative to the not-wearing state, the wearing state refers to the state where the head-mounted device is worn by the user, at which time the head-mounted device will follow the head movements, and the not-wearing state refers to the state where the head-mounted device is not worn by the user, at which time the head-mounted device does not follow the head movements.

[0048] Exemplarily, the wearing detection module may include a sensor capable of detecting whether the head mounted device is in a wearing state. Here, the type of the sensor is not specifically limited; for example, it may be a temperature sensor, a distance sensor, an infrared sensor, or a pressure sensor.

[0049] Exemplarily, when the wearing detection module includes a temperature sensor, the temperature of the part in contact with the head-mounted device can be determined through the temperature sensor. If the temperature is close to the human body temperature, it is determined that the head-mounted device is in a worn state. Otherwise, it is determined that the head-mounted device is in a not-worn state. When the wearing detection module includes a distance sensor, the distance sensor can be used to detect the contour of the user's ear canal to determine whether the head-mounted device is in a worn state, etc. When the wearing detection module includes a temperature sensor and a distance sensor, it can be comprehensively determined whether the head-mounted device is in a worn state based on the detection results of the two sensors, which will not be repeated here.

[0050] It should be noted that, in addition to the wearing detection module, the internal modules of the head-mounted device also include a head posture recognition module and a voice reminder module; if the head-mounted device determines that it is in a wearing state through the detection result of the wearing detection module, it will execute the subsequent steps. At this time, internal modules such as the head posture recognition module and the voice reminder module are in a working state; conversely, if the head-mounted device determines that it is not in a wearing state through the detection result of the wearing detection module, the internal modules such as the head posture recognition module and the voice reminder module are controlled to be in a standby state to reduce the power consumption of the head-mounted device and achieve the purpose of power saving.

[0051] In the embodiments of the present application, the type of head-mounted device is not specifically limited, and the head-mounted device can be a device worn on the eyes, top of the head, ears, neck, etc., and the devices worn on these parts can sense the head movement or follow the head movement. For example, the head-mounted device can include but is not limited to Bluetooth headsets, wired headsets, headsets, and virtual reality (VR) glasses, etc., wherein the Bluetooth headset can include but is not limited to headset Bluetooth headsets, in-ear Bluetooth headsets, semi-in-ear Bluetooth headsets, and open Bluetooth headsets, etc.

[0052] Exemplarily, when the head mounted device 10 enters the power-on state, the internal modules in the head mounted device 10 begin to be initialized. For example, in the case where the head mounted device 10 is a Bluetooth headset, the Bluetooth headset can be used after the charging compartment is fully charged; accordingly, the user opens the charging compartment to take out the Bluetooth headset, and the Bluetooth headset enters the power-on state, at which time, the internal modules in the Bluetooth headset begin to be initialized.

[0053] Furthermore, after each internal module of the head mounted device 10 completes initialization, the head mounted device 10 enters a pairing mode, and after selecting a terminal device 11 to which a connection needs to be established, the head mounted device 10 will establish a wireless connection with the terminal device 11 via a Bluetooth connection.

[0054] In the embodiment of the present application, the terminal device 11 refers to a device with an audio playback function or a call function. Here, there is no limitation on the type of the terminal device. For example, the terminal device can be a mobile phone, a computer, or a car-mounted device.

[0055] It should be noted that after the head mounted device 10 executes the control operation corresponding to the first head movement instruction, it will send the head movement instruction to the terminal device 11, so that the terminal device 11 also executes the control operation corresponding to the first head movement instruction. Alternatively, it is determined whether the second head movement instruction matches the first head movement instruction. If the two match, the terminal device 11 sends an instruction to control the head mounted device 10 to execute the control operation corresponding to the first head movement instruction. The control operation may be, for example, switching songs, adjusting the volume, and making calls.

[0056] In the embodiment of the present application, the control method of the head mounted device can be applied to the head mounted device 10; Figure 1 Based on Figure 2 The process of the control method of the head mounted device is exemplified.

[0057] Figure 2 A flowchart of a method for controlling a head mounted device provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the method includes:

[0058] Step 201: When the user's head movement data is collected, a first head movement instruction corresponding to the head movement data is determined.

[0059] Exemplarily, the head mounted device may collect the user's head movement data in real time through an internal head gesture recognition module; exemplary, the head gesture recognition module may include a posture sensor.

[0060] Here, the type of the posture sensor is not specifically limited; for example, it may be a six-axis posture sensor, or other sensors capable of collecting head motion data.

[0061] In an embodiment of the present application, when the posture sensor is a six-axis posture sensor, the head motion data may include the acceleration and angle parameters of the head-mounted device itself in the X-axis, Y-axis and Z-axis directions, etc.; it can be understood that since the head motion data is collected when the head-mounted device is in a wearing state, the head motion data is also equivalent to the acceleration and angle parameters of the user's head in the X-axis, Y-axis and Z-axis directions, etc.

[0062] In an embodiment of the present application, after collecting the user's head movement data, a first head movement instruction corresponding to the head movement data can be further determined. The process may include: determining the first head movement instruction corresponding to the head movement data according to a preset corresponding relationship.

[0063] Exemplarily, the head posture recognition module may use a posture detection algorithm to fuse the collected head movement data to obtain a posture angle corresponding to the user's head, and then identify the posture angle to determine whether the user's head movement is recognized.

[0064] Exemplarily, the user's head movement may include the user's nodding movement, turning the head to the left, or turning the head to the right; wherein the nodding movement refers to the movement of moving the head toward the chest, the turning head to the left refers to the movement of rotating the head to the left with the neck as the axis, and the turning head to the right refers to the movement of rotating the head to the right with the neck as the axis.

[0065] Here, the posture angle may include a pitch angle, a yaw angle, and a rotation angle; for example, by identifying the pitch angle, it can be determined whether the user's head movement is a nodding movement; by identifying the yaw angle, it can be determined whether the user's head movement is a left turn or a right turn.

[0066] For example, when a user wearing a head mounted device triggers a head movement according to his or her own intention, the head gesture recognition module will collect the corresponding head movement data, and by identifying the head movement data, it can be determined whether the user's head movement is recognized.

[0067] Further, when it is determined that the user's head movement is recognized, a first head movement instruction corresponding to the head movement data can be determined according to a preset corresponding relationship.

[0068] In an embodiment of the present application, the user can set a one-to-one correspondence between different head movement data and head movement instructions on the terminal device in advance according to their own usage habits, that is, a preset correspondence; wherein the preset correspondence may include a correspondence between multiple preset head movement data and multiple preset head movement instructions.

[0069] Exemplarily, the first head movement instruction is one of a plurality of preset head movement instructions; wherein, the preset head movement instructions may include but are not limited to: a control instruction for switching to the previous song, a control instruction for switching to the next song, a control instruction for switching to the ambient sound mode, a control instruction for pausing playback, a control instruction for starting playback, a control instruction for answering a call, and a control instruction for rejecting a call.

[0070] It can be seen that in the embodiment of the present application, for different head movements triggered by the user himself, the head posture recognition module can search for corresponding head movement instructions from the preset relationship table stored in the terminal device according to the collected head movement data, thereby realizing different functional operations.

[0071] Step 202: If the user's head motion data is collected again within a preset time period, a second head motion instruction corresponding to the re-collected head motion data is determined.

[0072] In an embodiment of the present application, the timing can be started when the user's head motion data is collected to determine whether the user's head motion data is collected again within a preset time period. The preset time period is a pre-set time period, such as 1S, 2S, 3S, etc. Here, the preset time period refers to a preset time period after the user's head motion data is collected, such as within 1S, 2 seconds, or 3S after the user's head motion data is collected.

[0073] In an embodiment of the present application, after determining the first head movement instruction corresponding to the user's head movement data, the head-mounted device can generate a confirmation reminder message containing the first head movement instruction, send the confirmation reminder message through the voice reminder module, and determine through the head posture recognition module whether the user's head movement data is collected again within a preset time period after the confirmation reminder message is sent; if it is determined that the user's head movement data is collected again within the preset time period after the confirmation reminder message is sent, then determine the second head movement instruction corresponding to the head movement data collected again. Here, the preset time period refers to the preset time period after the voice reminder module sends the confirmation reminder message.

[0074] Exemplarily, after the voice reminder module sends a confirmation reminder message, the user can hear the confirmation reminder message, and then determine whether it is necessary to trigger the head action again based on the confirmation reminder message; here, the content of the confirmation reminder message is not specifically limited. For example, in the case where the first head action instruction is a control instruction to switch to the previous song, the confirmation reminder message can be: Please confirm whether to switch to the previous song.

[0075] In some embodiments, issuing a confirmation reminder message including a first head movement instruction may include: determining whether the current state of the head-mounted device meets a preset prerequisite for executing a control operation corresponding to the first head movement instruction; if it is determined to be yes, issuing a confirmation reminder message including the first head movement instruction.

[0076] Exemplarily, the preset precondition may be a precondition set in advance by the user on the terminal device for the execution of the first head movement instruction; that is, the preset precondition is related to the first head movement instruction; for example, when the head-mounted device is a Bluetooth headset, and the first head movement instruction is a control instruction for switching to the previous song or a control instruction for switching to the next song, the corresponding preset precondition may be that the Bluetooth headset is in an audio playback state; that is, if the current state of the Bluetooth headset is an audio playback state, it is determined that the current state of the Bluetooth headset meets the preset precondition for executing the control operation corresponding to the first head movement instruction; conversely, if the current state of the Bluetooth headset is not an audio playback state, for example, it is a call answering state, it is determined that the current state of the Bluetooth headset does not meet the preset precondition for executing the control operation corresponding to the first head movement instruction.

[0077] In an embodiment of the present application, if the head-mounted device determines that its current state meets the preset prerequisites for executing the control operation corresponding to the first head movement instruction, it sends a confirmation reminder message containing the head movement instruction to the user through the voice reminder module. At this time, the user can receive the confirmation reminder message; if the head-mounted device determines that its current state does not meet the preset prerequisites for executing the control operation corresponding to the first head movement instruction, it will not send a confirmation reminder message to the user.

[0078] It can be understood that after receiving the confirmation reminder information sent by the voice reminder module, if the user determines that the first head movement instruction is not the instruction that he wants the head-mounted device to execute this time, he can ignore the confirmation reminder information or trigger other head movements; if he determines that the first head movement instruction is the action instruction that he wants the head-mounted device to execute this time, he can trigger the same head movement again. At this time, the head posture recognition module will collect the user's head movement data again.

[0079] In an embodiment of the present application, in order to ensure the validity of the head movement data, it can be determined whether the head posture recognition module collects the user's head movement data again within a preset time period after the confirmation reminder message is sent; here, the length of the preset time period can be set according to the actual situation, and is not specifically limited here. For example, the preset time period can be 2s or 3s after the confirmation reminder message is sent.

[0080] Exemplarily, if the head-mounted device determines that the head posture recognition module collects the user's head movement data again within a preset time period, it will determine the second head movement instruction corresponding to the re-collected head movement data; this determination process is similar to the above-mentioned determination process of the first head movement instruction, and will not be repeated here to avoid repeated description.

[0081] Step 203: Determine whether the second head motion instruction matches the first head motion instruction, and if they match, execute the control operation corresponding to the first head motion instruction.

[0082] In an embodiment of the present application, after the head-mounted device determines the second head movement instruction through the head posture recognition module, it can match the second head movement instruction with the first head movement instruction determined last time to obtain a matching result, and then determine whether to execute the control operation corresponding to the first head movement instruction based on the matching result.

[0083] Exemplarily, matching the second head movement instruction with the first head movement instruction is equivalent to comparing the second head movement instruction with the first head movement instruction; if the matching result shows that the second head movement instruction matches the first head movement instruction, it means that the first head movement instruction and the second head movement instruction are the same, and the head-mounted device determines that the first head movement instruction is a valid action instruction. At this time, the head-mounted device controls itself to execute the control operation corresponding to the first head movement instruction; conversely, if the matching result shows that the second head movement instruction does not match the first head movement instruction, it means that the first head movement instruction and the second head movement instruction are not the same, and the head-mounted device determines that the first head movement instruction is an invalid action instruction. At this time, the head-mounted device will not execute the control operation corresponding to the action instruction.

[0084] It can be seen that in the embodiment of the present application, after the head-mounted device recognizes the user's head movement, it will determine the head movement instruction corresponding to the head movement, but will not immediately execute the control operation corresponding to the head movement instruction. Instead, it will determine that the user has triggered the same head movement again within a preset time period before executing the control operation corresponding to the head movement instruction. In this way, double confirmation of the user's head movement can be achieved, effectively avoiding the erroneous execution of the corresponding action instruction due to the user's mistaken triggering of the head movement, thereby improving the convenience of using the head-mounted device.

[0085] In some embodiments, determining the first head movement instruction corresponding to the head movement data also includes: if the first head movement instruction corresponding to the head movement data cannot be determined according to the preset correspondence relationship, judging whether the user is in a sleeping state; if not in a sleeping state, issuing a sedentary reminder message.

[0086] Exemplarily, if the head-mounted device cannot determine the first head movement instruction corresponding to the head movement data according to the above preset correspondence, it means that the user may not have triggered the head movement or may have triggered an invalid head movement; at this time, it can be further determined whether the user is in a sleeping state.

[0087] Exemplarily, the head-mounted device may also include a timer; if the head-mounted device cannot determine the first head movement instruction corresponding to the head movement data according to the above-mentioned preset correspondence, the timer is started to start timing, and the timing duration of the first head movement instruction that cannot be determined is obtained, and the timing duration is compared with the target timing value to determine whether the timing duration reaches the target timing value. If it is determined to be yes, it is determined whether the user is in a sleep state.

[0088] Here, the value of the target timing value can be set according to actual conditions, and the embodiment of the present application does not limit this; for example, the value of the target timing value can be 1 hour or 2 hours, etc.

[0089] It is understandable that if it is determined that the timing duration reaches the target timing value, it means that the user may be in a sleeping state or may not be in a sleeping state, for example, in a sedentary state. In order to accurately determine whether the user is in a sleeping state, the head-mounted device may also include a sleep detection sensor, which is used to determine whether the user is in a sleeping state when the timing duration reaches the target timing value. If it is determined that the timing duration reaches the target timing value, the above steps 202 to 203 are continued to be executed, and no further description is given here.

[0090] Here, the type of sleep detection sensor is not limited. For example, it can be a related sensor that can detect sleep sign data such as the user's heart rate, breathing rate, or temperature.

[0091] For example, if the sleep detection sensor determines that the user is not in a sleeping state, it means that the user is likely to be in a sedentary state, and a sedentary reminder message can be sent through the voice reminder module. If the sleep detection sensor determines that the user is in a sleeping state, the head mounted device is controlled to enter a setting mode.

[0092] Exemplarily, the setting mode may include one of a sleep aid mode, a standby mode, and a shutdown mode. It should be noted that the user can also pre-set the setting mode corresponding to the sleep state on the terminal device according to their own needs.

[0093] It can be seen that in the embodiment of the present application, the head-mounted device can send a sedentary reminder message through the voice reminder module when the user is in a sedentary state, so as to remind the user to get up and move around, avoid the user being in a sedentary state for a long time, and improve the use effect of the head-mounted device; it can also control itself to enter the sleep-aid mode, standby mode or shutdown mode when the user is in a sleeping state, so as to avoid disturbing the user. In this way, the use effect of the head-mounted device can be further improved.

[0094] In order to better reflect the purpose of this application, based on the above embodiments of this application, a head-mounted device is taken as a Bluetooth headset as an example for further explanation.

[0095] Figure 3 FIG. 1 is a flow chart of another method for controlling a head mounted device according to an embodiment of the present application. The method can be applied to a Bluetooth headset, such as Figure 3 As shown, the method comprises the following steps:

[0096] Step 300: Open the charging case and turn on the Bluetooth headset.

[0097] Exemplarily, the user opens the charging case and takes out the Bluetooth headset, and the Bluetooth headset enters the power-on state.

[0098] Step 301: Initialize the wearing detection module, head posture recognition module and voice reminder module.

[0099] Exemplarily, after the Bluetooth headset enters the power-on state, internal modules such as the wearing detection module, the head posture recognition module and the voice reminder module in the Bluetooth headset begin to initialize.

[0100] Step 302: The wearing detection module enters a real-time detection state.

[0101] Step 303: Is the wearable device in the wearable state? If yes, go to step 304; if no, go to step 305 and return to step 302.

[0102] Exemplarily, whether the Bluetooth headset is in a wearing state is detected in real time through the wearing detection module.

[0103] Step 304: The head posture recognition module and the voice prompt module enter a real-time detection state.

[0104] Step 305: The head posture recognition module and the voice reminder module enter a standby state.

[0105] Exemplarily, if the Bluetooth headset determines that it is not being worn, the head posture recognition module and the voice reminder module are controlled to enter a standby state to reduce the power consumption of the Bluetooth headset and achieve power saving.

[0106] Step 306: Whether the head movement is triggered. If so, execute step 307; if not, return to execute step 303.

[0107] Exemplarily, the head gesture recognition module collects the user's head movement data in real time and recognizes the collected user's head data to determine whether the user has triggered the head movement. If the user's head movement is recognized, it is determined that the user has triggered the head movement; otherwise, it is determined that the user has not triggered the head movement.

[0108] Step 307: Determine the head movement instruction corresponding to the head movement data.

[0109] Exemplarily, if the head posture recognition module determines that the user triggers a head movement, the head movement instruction corresponding to the head movement data can be determined according to a preset corresponding relationship.

[0110] Step 308: Check whether the preset precondition is met. If yes, execute step 309; if not, return to execute step 303.

[0111] Exemplarily, the head posture recognition module is used to determine whether the current state of the Bluetooth headset meets the preset preconditions for executing the control operation corresponding to the head movement instruction.

[0112] Step 309: The voice reminder module sends a confirmation reminder message.

[0113] Exemplarily, a confirmation reminder message including a head movement instruction is sent to the user through a voice reminder module.

[0114] Step 310: Whether the same head movement is triggered; if so, execute step 311; if not, return to execute step 303.

[0115] Exemplarily, if the user triggers the same head movement within a preset time period, the head posture recognition module will collect the user's head movement data again, and the head movement instruction corresponding to the head movement data will be matched with the head movement instruction determined last time to determine whether the user has triggered the same head movement within the preset time period.

[0116] Step 311: Execute the control operation corresponding to the head movement instruction.

[0117] It should be noted that the above embodiments have already described the processing procedures of various internal modules such as the wearing detection module, the head posture recognition module and the voice reminder module. To avoid repeated description, they will not be repeated here.

[0118] Figure 4 FIG. 1 is a flow chart of another method for controlling a head mounted device according to an embodiment of the present application. The method can be applied to a Bluetooth headset, such as Figure 4 As shown, the method comprises the following steps:

[0119] Step 300: Open the charging case and turn on the Bluetooth headset.

[0120] Step 301: Initialize the wearing detection module, head posture recognition module and voice reminder module.

[0121] Step 302: The wearing detection module enters a real-time detection state.

[0122] Step 303: Is the wearable device in the wearable state? If yes, go to step 304; if no, go to step 305 and return to step 302.

[0123] Step 304: The head posture recognition module and the voice prompt module enter a real-time detection state.

[0124] Step 305: The head posture recognition module and the voice reminder module enter a standby state.

[0125] Step 312: Whether the head movement instruction can be determined. If not, execute step 313; if yes, execute the above steps 308 to 310. Figure 4 Not shown in FIG.

[0126] Exemplarily, the head movement data of the user is collected in real time by the head posture recognition module, and it is determined whether the head movement instruction corresponding to the head movement data can be determined, corresponding to the above-mentioned first head movement instruction.

[0127] Step 313: Is the device in sleep mode? If yes, go to step 314; if no, go to step 315.

[0128] Step 314: Control the Bluetooth headset to enter a setting mode.

[0129] Step 315: Sending a sedentary reminder message through the voice reminder module.

[0130] Exemplarily, the implementation process of step 313 to step 315 has been described in the above embodiment, and will not be repeated here to avoid repetition.

[0131] It can be seen that in the embodiment of the present application, when the Bluetooth headset determines that the user is in a sedentary state, the voice reminder module can send a sedentary reminder message to remind the user to get up and move around to avoid the user being in a sedentary state for a long time; when it is determined that the user is in a sleeping state, the user will not be disturbed. In this way, the use effect of the Bluetooth headset can be effectively improved.

[0132] Figure 5 A schematic diagram of the structure of a head mounted device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the head mounted device includes: a head posture recognition module 401 and a control module 402, wherein:

[0133] The head posture recognition module 401 is used to determine the first head movement instruction corresponding to the head movement data when the head movement data of the user is collected; if the head movement data of the user is collected again within a preset time period, determine the second head movement instruction corresponding to the head movement data collected again;

[0134] The control module 402 is used to determine whether the second head motion instruction matches the first head motion instruction, and if the two match, execute the control operation corresponding to the first head motion instruction.

[0135] Exemplarily, the head mounted device further includes a voice reminder module;

[0136] A voice reminder module, used for issuing a confirmation reminder message including a first head movement instruction;

[0137] The head posture recognition module 401 is further used to determine a second head movement instruction corresponding to the re-collected head movement data if the user's head movement data is collected again within a preset time period after the confirmation reminder information is sent.

[0138] Exemplarily, the head posture recognition module 401 is further used for:

[0139] Determining whether a current state of the head mounted device satisfies a preset precondition for executing a control operation corresponding to the first head motion instruction;

[0140] The voice reminder module is also used to issue a confirmation reminder message including a first head movement instruction when the answer is yes.

[0141] Exemplarily, the head posture recognition module 401 is further used for:

[0142] A first head movement instruction corresponding to the head movement data is determined according to a preset corresponding relationship; the preset corresponding relationship includes a corresponding relationship between multiple preset head movement data and multiple preset head movement instructions.

[0143] Exemplarily, the control module 402 is further configured to:

[0144] If the first head movement instruction corresponding to the head movement data cannot be determined according to the preset corresponding relationship, determining whether the user is in a sleeping state;

[0145] The voice reminder module is also used to send a sedentary reminder message if the user is not in a sleeping state.

[0146] Exemplarily, the control module 402 is further configured to:

[0147] If the device is in sleep mode, the head mounted device is controlled to enter a setting mode; the setting mode includes one of a sleep aid mode, a standby mode and a shutdown mode.

[0148] In practical applications, the head posture recognition module 401, the control module 402 and the voice reminder module can be implemented using a processor in an electronic device; the above-mentioned processor can be at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor.

[0149] In addition, each functional module in this embodiment can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or software functional modules.

[0150] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the method of this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0151] Specifically, the computer program instructions corresponding to a control method of a head-mounted device in this embodiment can be stored on a storage medium such as a CD, a hard disk, or a USB flash drive. When the computer program instructions corresponding to a control method of a head-mounted device in the storage medium are read or executed by an electronic device, any head-mounted device control method of the aforementioned embodiments is implemented.

[0152] Based on the same technical concept as the above embodiments, see Figure 6, which shows an electronic device 500 provided in an embodiment of the present application, which may include: a memory 501 and a processor 502; wherein,

[0153] Memory 501, used for storing computer programs and data;

[0154] The processor 502 is used to execute the computer program stored in the memory to implement any one of the head mounted device control methods of the foregoing embodiments.

[0155] In practical applications, the memory 501 may be a volatile memory, such as RAM; or a non-volatile memory, such as ROM, flash memory, hard disk drive (HDD) or solid-state drive (SSD); or a combination of the above types of memory, and provide instructions and data to the processor 502.

[0156] The processor 502 may be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor. It is understandable that for different types of head mounted devices, the electronic device used to implement the processor function may also be other, which is not specifically limited in the embodiments of the present application.

[0157] Exemplarily, the functions or modules included in the device provided in the embodiments of the present application can be used to execute the method described in the above method embodiments. The specific implementation thereof can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0158] The above description of the various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other. For the sake of brevity, this article will not repeat them.

[0159] The methods disclosed in the various method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0160] The features disclosed in the various product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0161] The features disclosed in the various method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0162] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0163] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0164] In addition, all functional units in the embodiments of the present application may be integrated into one processing module, or each unit may be separately configured as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0165] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above method embodiment.

[0166] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for controlling a head mounted device, characterized in that: The method comprises: When the head movement data of the user is collected, determining a first head movement instruction corresponding to the head movement data; If the head motion data of the user is collected again within the preset time period, determining a second head motion instruction corresponding to the head motion data collected again; Determine whether the second head motion instruction matches the first head motion instruction, and if they match, execute the control operation corresponding to the first head motion instruction.

2. The method according to claim 1, characterized in that When the head movement data of the user is collected, after determining the first head movement instruction corresponding to the head movement data, the method further includes: Sending a confirmation reminder message including the first head movement instruction; If the head movement data of the user is collected again within the preset time period, the step includes: If the user's head movement data is collected again within a preset time period after the confirmation reminder message is sent.

3. The method according to claim 2, characterized in that The sending of the confirmation reminder information including the first head movement instruction includes: Determining whether a current state of the head mounted device satisfies a preset precondition for executing a control operation corresponding to the first head motion instruction; If the answer is yes, a confirmation reminder message including the first head movement instruction is issued.

4. The method according to any one of claims 1 to 3, characterized in that: The determining a first head movement instruction corresponding to the head movement data includes: A first head movement instruction corresponding to the head movement data is determined according to a preset corresponding relationship; the preset corresponding relationship includes a corresponding relationship between multiple preset head movement data and multiple preset head movement instructions.

5. The method according to claim 4, characterized in that The determining of the first head movement instruction corresponding to the head movement data further includes: If the first head movement instruction corresponding to the head movement data cannot be determined according to the preset corresponding relationship, determining whether the user is in a sleeping state; If you are not in a sleeping state, a sedentary reminder message will be sent.

6. The method according to claim 5, characterized in that After determining whether the user is in a sleeping state, the method further includes: If the user is in a sleeping state, the head mounted device is controlled to enter a setting mode; the setting mode includes one of a sleeping aid mode, a standby mode and a shutdown mode.

7. A head mounted device, characterized in that: The head mounted device comprises a head posture recognition module and a control module; The head gesture recognition module is used to determine a first head gesture instruction corresponding to the head gesture data when the head gesture data of the user is collected; If the head motion data of the user is collected again within the preset time period, determining a second head motion instruction corresponding to the head motion data collected again; The control module is used to determine whether the second head movement instruction matches the first head movement instruction, and if the two match, execute the control operation corresponding to the first head movement instruction.

8. The head mounted device according to claim 7, characterized in that: The head mounted device also includes a voice reminder module; The voice reminder module is used to issue a confirmation reminder message including the first head movement instruction; The head posture recognition module is further used to determine a second head movement instruction corresponding to the re-collected head movement data if the user's head movement data is collected again within a preset time period after the confirmation reminder information is issued.

9. An electronic device, characterized in that: The electronic device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the control method of the head mounted device according to any one of claims 1 to 6 when executing the program.

10. A computer storage medium having one or more programs stored thereon, wherein the one or more programs can be executed by one or more processors to implement the control method of the head mounted device according to any one of claims 1 to 6.