Headphone control method, headphone, and computer-readable storage medium

By integrating sensor modules in the headsets, collecting and analyzing the user's head movement data, the problem that existing headsets cannot measure the health of the cervical spine is solved, and the measurement and health assessment of the cervical spine mobility is realized, and the application scenarios of the headset are expanded.

CN119316761BActive Publication Date: 2025-08-08SUUNTO SPORTS TECHNOLOGY (DONGGUAN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411216511.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2025-08-08
Estimated Expiration
2044-08-30

AI Technical Summary

Technical Problem

The existing headphones have fewer functions and cannot measure the user's cervical spine health, which limits the application scenarios of headphones.

Method used

By integrating a sensor module into the headset, including an accelerometer and a gyroscope, collecting three-axis acceleration and three-axis angular velocity data, combining preset state thresholds, determining the user's head status, and obtaining the cervical mobility parameters based on the head status and detection data, the measurement of the health of the cervical spine can be achieved.

Benefits of technology

The function of the headset is added, which can measure the user's cervical spine health, expand the use scenarios of the headset, especially recording the user's activity trajectory and status information during exercise and rest.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119316761B_ABST
    Figure CN119316761B_ABST
Patent Text Reader

Abstract

The present application discloses a method for controlling headphones, headphones, and a computer-readable storage medium. Relating to the field of headphone control technology, the method for controlling headphones includes: receiving an action instruction, the action instruction being used to guide a user wearing the headphones to move their cervical spine; obtaining detection data collected by a sensor module in the headphones; obtaining a head state of the user wearing the headphones based on the detection data and a preset state threshold, the head state including a first state and a second state, the movement amplitude of the user's head in the first state being greater than the movement amplitude of the user's head; and obtaining a range of motion parameter of the user's cervical spine based on the head state and the detection data. The present application increases the functionality of headphones and expands the use scenarios of headphones.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of earphone control technology, and more specifically, to an earphone control method, earphone, and computer-readable storage medium. Background Art

[0002] As a new type of smart device, headphones accompany users in many activities, such as exercise and rest, and can effectively record users' activity tracks and activity status information. However, current headphones have limited functions and cannot measure users' cervical spine health, which limits their application scenarios. Summary of the Invention

[0003] Embodiments of the present application provide a method for controlling an earphone, an earphone, and a computer-readable storage medium.

[0004] A method for controlling an earphone according to an embodiment of the present application includes: receiving an action instruction, the action instruction being used to guide a user wearing the earphone to move the cervical spine; obtaining detection data collected by a sensor module in the earphone; obtaining a head state of the user wearing the earphone based on the detection data and a preset state threshold, the head state including a first state and a second state, the movement amplitude of the user's head in the first state being greater than the movement amplitude of the user's head; and obtaining a range of motion parameter of the user's cervical spine based on the head state and the detection data.

[0005] In some embodiments, the sensor module includes an accelerometer and a gyroscope, the detection data includes three-axis acceleration detected by the accelerometer and three-axis angular velocity detected by the gyroscope, and the preset state threshold includes a preset acceleration difference threshold and a preset angular velocity difference threshold; obtaining the head state of the user wearing the headset based on the detection data and the preset state threshold includes: determining the head state of the user wearing the headset based on the three-axis acceleration, the three-axis angular velocity, the acceleration difference threshold and the angular velocity difference threshold within a preset time window.

[0006] In some embodiments, determining the head state of the user wearing the headset based on the three-axis acceleration, the three-axis angular velocity, the acceleration difference threshold and the angular velocity difference threshold within a preset time window includes: fusing the three-axis acceleration at multiple predetermined moments in the preset time window to obtain multiple fused acceleration values corresponding to the multiple predetermined moments, and fusing the three-axis angular velocities at multiple predetermined moments in the preset time window to obtain multiple fused angular velocity values corresponding to the multiple predetermined moments; screening out the maximum fused acceleration value and the minimum fused acceleration value from the multiple fused acceleration values, and screening out the maximum fused angular velocity value and the minimum fused angular velocity value from the multiple fused angular velocity values; and obtaining the head state based on the maximum fused acceleration value, the minimum fused acceleration value, the maximum fused angular velocity value, the minimum fused angular velocity value, and the preset state threshold.

[0007] In certain embodiments, when the action instruction is used to guide a user wearing the headset to turn the cervical spine left or right, the preset state threshold includes a first angular velocity threshold, a second angular velocity threshold, and an angular velocity difference threshold; obtaining the head state based on the maximum fusion acceleration, the minimum fusion acceleration, the maximum fusion angular velocity, the minimum fusion angular velocity, and the preset state threshold includes: when the maximum fusion acceleration is greater than the first angular velocity threshold, or the minimum fusion acceleration is less than the second angular velocity threshold, determining that the head state is the first state; and obtaining the angular velocity difference based on the maximum fusion angular velocity and the minimum fusion angular velocity; and, when the angular velocity difference is less than the angular velocity difference threshold, determining that the head state is the second state.

[0008] In certain embodiments, when the action instruction is used to guide a user wearing the headset to tilt the cervical spine to the left, right, forward, or backward, the preset state threshold includes an acceleration difference threshold; obtaining the head state based on the maximum fusion acceleration, the minimum fusion acceleration, the maximum fusion angular velocity, the minimum fusion angular velocity, and the preset state threshold includes: obtaining the acceleration difference based on the maximum fusion acceleration and the minimum fusion acceleration; when the acceleration difference is greater than the acceleration difference threshold, determining that the head state is the first state; and when the acceleration difference is less than the acceleration difference threshold, determining that the head state is the second state.

[0009] In some embodiments, the sensor module includes an accelerometer and a gyroscope, and the detection data includes three-axis acceleration detected by the accelerometer and three-axis angular velocity detected by the gyroscope; obtaining the activity parameters of the user's cervical spine based on the head state and the detection data includes: filtering the three-axis acceleration and the three-axis angular velocity at multiple predetermined moments within a preset time window; fusing the filtered multiple three-axis accelerations to obtain multiple fused acceleration values corresponding to the multiple predetermined moments, and fusing the filtered multiple three-axis angular velocities to obtain multiple fused angular velocity values corresponding to the multiple predetermined moments; converting the multiple fused acceleration values and the multiple fused angular velocity values into quaternion data; solving the quaternion data to obtain the posture angle of the headset; and determining the activity parameters based on the head state and the posture angle.

[0010] In some embodiments, the sensor module includes an accelerometer and a gyroscope, and the detection data includes three-axis acceleration detected by the accelerometer and three-axis angular velocity detected by the gyroscope; obtaining the activity parameters of the user's cervical spine based on the head state and the detection data includes: fusing the three-axis accelerations at multiple predetermined moments within a preset time window to obtain multiple fused acceleration values corresponding to the multiple predetermined moments, and fusing the three-axis angular velocities at multiple predetermined moments within a preset time window to obtain multiple fused angular velocity values corresponding to the multiple predetermined moments; converting the multiple fused acceleration values and the multiple fused angular velocity values into quaternion data; solving the quaternion data to obtain the posture angle of the headset; and determining the activity parameters based on the head state and the posture angle.

[0011] In some embodiments, determining the activity parameter based on the head state and the posture angle includes: within the preset time window, the head state changes to first being in the first state and then in the second state, and the posture angle is within a preset posture angle threshold range, determining the posture angle as the activity parameter.

[0012] In some embodiments, the control method further includes: issuing a prompt message if, within the preset time window, the change in the head state is not first in the first state and then in the second state, or if the posture angle is not within the preset posture angle threshold range.

[0013] In some embodiments, the control method further includes: determining a standard value and a warning value based on the mean value and standard deviation of the activity parameters corresponding to people of different ages stored in a database, wherein the standard value is greater than the warning value; and providing a cervical spine status evaluation based on the standard value, the warning value and the activity parameters.

[0014] In some embodiments, providing a cervical vertebra status evaluation based on the standard value, the warning value and the activity parameter includes: providing first cervical vertebra status evaluation information when the activity parameter is less than the standard parameter and greater than the warning parameter; and providing second cervical vertebra status evaluation information when the activity parameter is less than the warning parameter.

[0015] In some embodiments, the mobility parameters include a left turn angle, a right turn angle, a left tilt angle, and a right tilt angle. 06: Providing a cervical vertebra status evaluation based on the mobility parameters also includes: obtaining a rotation angle difference between the left turn angle and the right turn angle, and an inclination angle difference between the left tilt angle and the right tilt angle based on the mobility parameters; and comparing the rotation angle difference with a preset first symmetry angle threshold, and comparing the inclination angle difference with a preset second symmetry angle threshold, to provide third cervical vertebra status evaluation information.

[0016] In some embodiments, the control method further includes: providing a first cervical vertebra movement suggestion based on the cervical vertebra status evaluation.

[0017] In some embodiments, the control method further includes: storing the user's historical activity parameters in the user's personal database; obtaining a change trend of the user's cervical spine activity based on the user's current activity parameters and the historical activity parameters; and providing a second cervical spine movement recommendation when the user's current activity parameter is less than the average value of the historical activity parameters and the activity difference between the user's current activity parameter and the average value of the historical activity parameters is greater than a preset activity parameter threshold.

[0018] The present application also provides an earphone, which includes a sensor module and a control module; the sensor module is used to collect detection data; the control module is communicatively connected to the sensor module and is used to execute the control method described in any one of the above embodiments.

[0019] In some embodiments, the earphones in the above embodiments are bone conduction earphones or air conduction earphones.

[0020] The present application also provides a computer-readable storage medium having a program stored thereon, and when the program is executed by a processor, the control method described in any one of the above embodiments is implemented.

[0021] In the earphone control method, earphones, and computer-readable storage medium provided in the present application, after receiving an action instruction, the head state of the user wearing the earphones is obtained based on the detection data collected by the sensor module, and the mobility parameters of the user's cervical spine are obtained based on the head state and the detection data, thereby realizing the measurement of the user's cervical spine health level, increasing the function of the earphones, and expanding the usage scenarios of the earphones.

[0022] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become obvious from the description below, or will be learned through practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0024] Figure 1 is a flowchart of a method for controlling headphones in some embodiments of the present application;

[0025] Figure 2 is a schematic structural diagram of headphones according to some embodiments of the present application;

[0026] Figure 3 is a flowchart of a method for controlling headphones according to other embodiments of the present application;

[0027] Figure 4 is a schematic structural diagram of headphones according to other embodiments of the present application;

[0028] Figure 5 This is a flowchart of determining the head state of a user wearing the headset based on three-axis acceleration, three-axis angular velocity, acceleration difference threshold, and angular velocity difference threshold within a preset time window in a headset control method according to certain embodiments of the present application;

[0029] Figure 6 This is a flow chart of obtaining the head state based on the maximum value of the fused acceleration, the minimum value of the fused acceleration, the maximum value of the fused angular velocity, the minimum value of the fused angular velocity, and a preset state threshold in the headphone control method of certain embodiments of the present application;

[0030] Figure 7 This is a flow chart of obtaining the user's cervical vertebrae mobility parameters based on the head state and detection data in the headset control method of certain embodiments of the present application;

[0031] Figure 8 This is a flow chart of providing cervical vertebra status evaluation based on standard values, warning values, and activity parameters in a headset control method according to certain embodiments of the present application;

[0032] Figure 9 This is a schematic diagram of the connection status of a computer-readable storage medium and a processor in certain embodiments of the present application.

[0033] Description of main component symbols:

[0034] Headphones 10;

[0035] Control module 11; sensor module 12; gyroscope 121; accelerometer 122;

[0036] Processor 20;

[0037] Computer readable storage medium 200 ; computer program 202 . DETAILED DESCRIPTION

[0038] The embodiments of the present application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and should not be understood as limiting the embodiments of the present application.

[0039] With the popularization and development of portable electronic products and smart terminals, headphones, as a new type of smart terminal, will accompany many activities of users, such as exercise and rest, and can effectively record the user's exercise data, activity trajectory and activity status information. However, current headphones have fewer functions and cannot measure the health of the user's cervical spine, which limits the application scenarios of headphones. How to solve the problem of being unable to measure the health of the user's cervical spine due to the lack of headphone functions has become a difficult problem that those skilled in the art urgently need to solve. In order to solve this problem, the present application provides a method for controlling headphones (such as Figure 1 and Figure 3 As shown), earphones 10 (as Figure 2 and Figure 4 ) and computer readable storage medium 200 (as shown Figure 9 shown).

[0040] See also Figure 1 and Figure 2 The method for controlling the earphones according to the embodiment of the present application includes:

[0041] 01: Receive an action instruction, which is used to guide the user wearing the headset 10 to move the cervical spine;

[0042] 02: Obtain detection data collected by the sensor module 12 in the headset 10;

[0043] 03: Obtaining a head state of the user wearing the headset 10 according to the detection data and a preset state threshold, where the head state includes a first state and a second state, and in the first state, the movement amplitude of the user's head is greater than the movement amplitude of the user's head;

[0044] 04: Obtain the user's cervical spine mobility parameters based on the head state and detection data.

[0045] The above-mentioned earphone control method can be applied to the earphone 10. The earphone 10 of the embodiment of the present application includes a control module 11 and a sensor module 12, wherein the control module 11 is used to receive action instructions, and the action instructions are used to guide the user wearing the earphone 10 to move the cervical spine; obtain the detection data collected by the sensor module 12 in the earphone 10; obtain the head state of the user wearing the earphone 10 according to the detection data and the preset state threshold, the head state includes a first state and a second state, and the movement amplitude of the user's head in the first state is greater than the movement amplitude of the user's head; obtain the activity parameters of the user's cervical spine according to the head state and the detection data.

[0046] Headphones 10 are an audio device primarily used for sound-to-electricity conversion, for example, converting audio signals into sound so that the user can listen to music, movies, games, or other audio content, or converting sound into electrical signals. Headphones 10 are designed to provide a private listening environment, allowing the user to enjoy audio content alone without disturbing those around them. In this application, headphones 10 have been enhanced with the ability to measure the user's head position and, based on the head position and detection data, obtain the user's cervical spine mobility parameters, thereby measuring the health of the user's cervical spine. To this end, headphones 10 also need to be able to monitor and record various data when the user's cervical spine moves. The headphones 10 in this application can be bone conduction headphones or air conduction headphones. Bone conduction headphones use human bones to conduct sound, rather than traditional headphones that transmit sound waves through the air. Bone conduction headphones do not block the ears when worn by the user. Compared to in-ear headphones, bone conduction headphones can prevent hearing damage caused by prolonged use. At the same time, they ensure that the user can hear external sounds while using them, improving the safety of users during outdoor activities. Air conduction headphones utilize air vibrations to transmit sound directly to the user's ears. Air conduction headphones do not require direct contact with the ears through earplugs or earmuffs, nor do they require the headphones to be inserted into the ear canal or placed against the head. Compared to in-ear headphones, air conduction headphones offer similar advantages to bone conduction headphones, both preventing hearing loss from prolonged use. Furthermore, they ensure that users can hear external sounds while using them, improving safety during outdoor activities. Therefore, in this application, the headphones 10 may also be bone conduction headphones or air conduction headphones containing a storage module.

[0047] Specifically, the earphone 10 includes a control module 11 and a sensor module 12. The control module 11 and the sensor module 12 can be connected by a wired communication formed by a data line, or by a wireless communication connection formed by a wireless signal. In the control method of the earphone provided in this application, steps 01, 02, 03 and 04 are all performed by the control module 11. The control module 11 is a module inside the earphone 10 that is responsible for processing various data and coordinating various functions (including but not limited to audio processing, connecting devices, power management, user interaction and other functions). In this application, the control module 11 is used to receive action instructions for guiding the user wearing the earphone 10 to move the cervical vertebra, and obtain the head state of the user wearing the earphone 10 based on the detection data collected by the sensor module 12 and the preset state threshold, and then obtain the activity parameters of the user's cervical vertebra based on the head state and the detection data. The sensor module 12 provides additional functional support for the earphone 10 and is a module in the earphone 10 that obtains external information. The sensor module 12 can be an accelerometer (for detecting the three-axis acceleration of the headset 10), a gyroscope (for detecting the three-axis angular velocity of the headset 10), a magnetometer (also known as a compass sensor, used to detect the direction of the earth's magnetic field, helping the headset 10 determine its own orientation, which is very important for the positioning and navigation applications of the headset 10), a heart rate sensor (measures the user's heart rate through skin contact), and a pressure sensor (used to detect the pressure of the user on the headset when wearing the headset, which can be used for functions such as adjusting the volume, controlling playback or answering calls). In this application, the sensor module 12 is used to collect various types of data when the user wearing the headset 10 moves the cervical spine, thereby helping the control module 11 obtain the user's head status and cervical spine mobility parameters.

[0048] Specifically, please combine Figure 2 The earphones 10 further include a battery box 117 for placing batteries and / or a control box 119 with control functions. The control box 119 can be used to control the power on and off of the earphones 10 and adjust the volume of the earphones 10. Specifically, the control box 119 includes a first box body, a control module 11, and a sensor module 12. The control module 11 and the sensor module 12 can be installed in the first box body. The battery box 117 includes a second box body and batteries. The batteries are loaded in the second box body and are used to power the earphones 10 so that the earphones 10 can operate normally.

[0049] Specifically, the earphone 10 also includes a part to be connected 13, and the part to be connected 13 includes an ear hook 137 and / or a back hook 139. When the user wears the earphone 10, the back hook 139 of the earphone 10 is worn on the head, and the ear hook 137 of the earphone 10 is worn behind the ear, thereby improving the wearing stability of the earphone 10, and the earphone 10 is not easy to fall off when the user is outdoors or exercising. The back hook 139 is used to connect the battery box 117 and the control box 119. The earphone 10 also includes a transducer component 30, and the ear hook 137 is used to connect the battery box 117 and the transducer component 30, and to connect the control box 119 and the transducer component 30. The transducer component 30 is used to fit against the skin of the human body. When the earphone 10 is in use, the transducer component 30 can vibrate mechanically to enable the user to hear the sound.

[0050] Specifically, in step 01, motion instructions for guiding the user wearing the headset 10 to perform cervical spine movements are typically sent from various terminals, such as the user's mobile phone, tablet computer, or laptop computer. The user can send motion instructions to the headset 10 by installing a corresponding application on the terminal. These motion instructions typically include turning the head left, turning the head right, tilting the head forward, tilting the head backward, tilting the head left, tilting the head right, etc. After receiving these control instructions, the control module 11 guides the user wearing the headset 10 to complete these motion instructions. When the user completes these motion instructions, the user's cervical spine will rotate left, right, tilt forward, tilt backward, tilt left, tilt right, etc., thereby performing different forms of cervical spine movement. In step 02, the control module 11 completes detection data collection via the sensor module 12 in the headset 10. In step 03, the control module 11 obtains the head state of the user wearing the headset 10 based on the detection data and a preset state threshold. The head state of the user wearing the headset 10 includes a first state and a second state. In the first state, the amplitude of the user's head movement is greater than the amplitude of the user's head movement. For example, the first state is typically a moving state, and the second state is typically a static state. Among them, the movement amplitude in the motion state is greater than the preset first movement amplitude threshold, and the movement amplitude in the static state is less than the preset second movement amplitude threshold, the first movement amplitude threshold> the second movement amplitude threshold, and the second movement amplitude threshold can be zero or a smaller value greater than zero. In addition, the movement amplitude can refer to the displacement on the three axes (X, Y and Z), or it can be the rotation angle around the three axes (X, Y and Z). In step 04, the control module 11 obtains the mobility parameters of the user's cervical spine based on the head state and detection data, thereby realizing quantitative measurement of the user's cervical spine health, thereby increasing the function of the headset 10 and expanding the usage scenarios of the headset 10.

[0051] In some embodiments, please combine Figure 4The sensor module 12 includes an accelerometer 122 and a gyroscope 121. The detection data includes the three-axis acceleration detected by the accelerometer 122 and the three-axis angular velocity detected by the gyroscope 121. The preset state threshold includes a preset acceleration difference threshold and a preset angular velocity difference threshold. Step 03 includes:

[0052] 031: Determine the head state of the user wearing the headset 10 based on the three-axis acceleration, the three-axis angular velocity, the acceleration difference threshold, and the angular velocity difference threshold within a preset time window.

[0053] The above-mentioned earphone control method can be applied to the earphone 10, and the control module 11 is further used to determine the head state of the user wearing the earphone 10 based on the three-axis acceleration, three-axis angular velocity, acceleration difference threshold and angular velocity difference threshold within a preset time window.

[0054] Specifically, in step 031, the preset time window is a time window set in advance by the user, or a time window preset based on empirical values before the headset 10 leaves the factory. During this time window, the control module 11 uses the accelerometer 122 and gyroscope 121 to collect three-axis acceleration and three-axis angular velocity. This is combined with the acceleration difference threshold and the angular velocity difference threshold to determine the head state of the user wearing the headset 10, thereby determining whether the user wearing the headset 10 is moving the cervical spine in accordance with the action command. Step 031 is described in more detail below.

[0055] In certain embodiments, see Figure 4 and Figure 5 , step 031 includes:

[0056] 0311: Fusing the three-axis accelerations at multiple predetermined moments within a preset time window to obtain multiple fused acceleration values corresponding to the multiple predetermined moments, and fusing the three-axis angular velocities at multiple predetermined moments within the preset time window to obtain multiple fused angular velocity values corresponding to the multiple predetermined moments;

[0057] 0313: selecting a maximum fused acceleration value and a minimum fused acceleration value from a plurality of fused acceleration values, and selecting a maximum fused angular velocity value and a minimum fused angular velocity value from a plurality of fused angular velocity values; and

[0058] 0315: Get the head state based on the maximum value of the fused acceleration, the minimum value of the fused acceleration, the maximum value of the fused angular velocity, the minimum value of the fused angular velocity, and the preset state threshold.

[0059] The above-mentioned earphone control method can be applied to the earphone 10, and the control module 11 is also used to fuse the three-axis accelerations at multiple predetermined moments in a preset time window to obtain multiple fused acceleration values corresponding to the multiple predetermined moments, and to fuse the three-axis angular velocities at multiple predetermined moments in the preset time window to obtain multiple fused angular velocity values corresponding to the multiple predetermined moments; to filter out the maximum fused acceleration value and the minimum fused acceleration value from the multiple fused acceleration values, and to filter out the maximum fused angular velocity value and the minimum fused angular velocity value from the multiple fused angular velocity values; and to obtain the head state according to the maximum fused acceleration value, the minimum fused acceleration value, the maximum fused angular velocity value, the minimum fused angular velocity value, and the preset state threshold.

[0060] Specifically, in step 0311, after the sensor module 12 completes data collection, the control module 11 first fuses the three-axis accelerations at multiple predetermined moments within a preset time window to obtain a fused acceleration at the preset moment. Compared to the acceleration of a single axis, the fused acceleration can more accurately reflect the posture of the headset 10. Simultaneously, the control module 11 also fuses the three-axis angular velocities at multiple predetermined moments within the preset time window to obtain a fused angular velocity at the preset moment. Compared to the angular velocity of a single axis, the fused angular velocity can also more accurately reflect the posture of the headset 10. In steps 0313 and 0315, the control module 11 selects the maximum and minimum values of the fused acceleration and the maximum and minimum values of the fused angular velocity from the fused accelerations and fused angular velocities at the multiple predetermined moments within the preset time window. The control module 11 then determines the head state based on the maximum and minimum values of the fused acceleration, the maximum and minimum values of the fused angular velocity, and a preset state threshold, thereby determining whether the user wearing the headset 10 is moving their cervical spine in accordance with the motion command.

[0061] Since action instructions can be mainly divided into two categories: rotation actions and non-rotation actions, in this application, left turn action instructions and right turn action instructions are classified into one category, and forward leaning action instructions, backward leaning action instructions, left leaning action instructions and right leaning action instructions are classified into one category. Based on these two categories of action instructions, step 0315 is further explained below.

[0062] See also Figure 4 and Figure 6 In some embodiments, when the motion instruction is used to guide a user wearing headphones to turn the cervical spine left or right, the preset state thresholds include a first angular velocity threshold, a second angular velocity threshold, and an angular velocity difference threshold. Step 0315 includes:

[0063] 03151: when the maximum value of the fused angular velocity is greater than the first angular velocity threshold, or the minimum value of the fused angular velocity is less than the second angular velocity threshold, determining that the head state is the first state; and

[0064] 03153: Obtain an angular velocity difference according to the maximum fused angular velocity and the minimum fused angular velocity; and, when the angular velocity difference is less than an angular velocity difference threshold, determine that the head state is the second state.

[0065] The above-mentioned earphone control method can be applied to the earphone 10, and the control module 11 is also used to: determine that the head state is the first state when the maximum value of the fused angular velocity is greater than the first angular velocity threshold, or the minimum value of the fused angular velocity is less than the second angular velocity threshold; obtain the angular velocity difference based on the maximum value of the fused angular velocity and the minimum value of the fused angular velocity; and, when the angular velocity difference is less than the angular velocity difference threshold, determine that the head state is the second state.

[0066] Specifically, in step 03151, if the maximum fused angular velocity is greater than the first angular velocity threshold, it indicates that the head of the user wearing the headset 10 is rotating at high speed. If the minimum fused angular velocity is less than the second angular velocity threshold, it indicates that the head of the user wearing the headset 10 has just stopped rotating at high speed. Therefore, the control module 11 determines that the head state is the first state, for example, determining that the head of the user wearing the headset 10 is in motion. In step 03153, the angular velocity difference is obtained based on the maximum fused angular velocity and the minimum fused angular velocity. If the angular velocity difference is less than the angular velocity difference threshold, that is, if the head of the user wearing the headset 10 has barely rotated, the control module 11 determines that the head state is the second state, for example, determining that the head of the user wearing the headset 10 is stationary.

[0067] See also Figure 4 and Figure 6 In some embodiments, when the motion instruction is used to guide the user wearing the headset to tilt the cervical spine to the left, right, forward, or backward, the preset state threshold includes an acceleration difference threshold, and step 0315 further includes:

[0068] 03155: Obtain the acceleration difference based on the maximum and minimum fusion acceleration values;

[0069] 03157: when the acceleration difference is greater than the acceleration difference threshold, determining that the head state is the first state; and

[0070] 03159: When the acceleration difference is less than the acceleration difference threshold, determine that the head state is the second state.

[0071] The above-mentioned earphone control method can be applied to earphone 10, and the control module 11 is also used to: obtain the acceleration difference based on the maximum value of the fused acceleration and the minimum value of the fused acceleration; when the acceleration difference is greater than the acceleration difference threshold, determine that the head state is the first state; and when the acceleration difference is less than the acceleration difference threshold, determine that the head state is the second state.

[0072] Specifically, in steps 03155 and 03157, the control module 11 first obtains the acceleration difference based on the maximum and minimum fused acceleration values, thereby determining the movement of the head of the user wearing the headset 10. If the acceleration difference is greater than the acceleration difference threshold, it indicates that the head of the user wearing the headset 10 has just moved at high speed. Therefore, the control module 11 determines that the head state is the first state, for example, determining that the head of the user wearing the headset 10 is in motion. In step 03159, if the acceleration difference is less than the acceleration difference threshold, that is, if the head of the user wearing the headset 10 has barely moved, the control module 11 determines that the head state is the second state, for example, determining that the head of the user wearing the headset 10 is at rest.

[0073] See also Figure 4 and Figure 7 In some embodiments, the sensor module 12 includes an accelerometer 122 and a gyroscope 121, and the detection data includes three-axis acceleration detected by the accelerometer and three-axis angular velocity detected by the gyroscope. Step 04 includes:

[0074] 041: Filtering the three-axis accelerations and three-axis angular velocities at multiple predetermined moments within a preset time window;

[0075] 042: Fusing the filtered multiple three-axis accelerations to obtain multiple fused acceleration values corresponding to multiple predetermined moments, and fusing the filtered multiple three-axis angular velocities to obtain multiple fused angular velocity values corresponding to multiple predetermined moments.

[0076] 043: Convert multiple fused acceleration values and multiple fused angular velocity values into quaternion data;

[0077] 044: Calculate the quaternion data to obtain the attitude angle of the headset 10; and

[0078] 045: Determine the activity parameters based on the head state and posture angle.

[0079] The above-mentioned earphone control method can be applied to the earphone 10, and the control module 11 is also used to: filter the three-axis acceleration and three-axis angular velocity at multiple predetermined moments within a preset time window; fuse the filtered multiple three-axis accelerations to obtain multiple fused acceleration values corresponding to the multiple predetermined moments, and fuse the filtered multiple three-axis angular velocities to obtain multiple fused angular velocity values corresponding to the multiple predetermined moments; convert the multiple fused acceleration values and the multiple fused angular velocity values into quaternion data; solve the quaternion data to obtain the posture angle of the earphone 10; and determine the activity parameter according to the head state and the posture angle.

[0080] Specifically, in steps 041 and 042, the control module 11 filters and fuses the three-axis acceleration and three-axis angular velocity. This filtering eliminates noise from the signals, further ensuring the accuracy of the three-axis acceleration and three-axis angular velocity. The three-axis acceleration and three-axis angular velocity are then fused to produce a fused acceleration and fused angular velocity. Compared to single-axis acceleration or single-axis angular velocity, the fused acceleration and fused angular velocity can more comprehensively reflect the posture of the headset 10. In conjunction with step 043, the control module 11 also converts the multiple fused acceleration values and multiple fused angular velocity values into quaternion data. A quaternion consists of a real part and three imaginary parts and can be used to represent the mathematical concepts of rotation and direction in three-dimensional space. In step 044, the control module 11 solves the quaternion data to obtain an attitude angle signal reflecting the posture of the headset 10. Furthermore, in step 045, the mobility parameter of the user's cervical spine is determined based on the head position of the user wearing the headset 10 and the attitude angle of the headset 10.

[0081] See also Figure 4 and Figure 7 In some embodiments, the sensor module 12 includes an accelerometer 122 and a gyroscope 121, and the detection data includes three-axis acceleration detected by the accelerometer and three-axis angular velocity detected by the gyroscope. Step 04 includes:

[0082] 046: Fusing the three-axis accelerations at multiple predetermined moments within a preset time window to obtain multiple fused acceleration values corresponding to the multiple predetermined moments, and fusing the three-axis angular velocities at multiple predetermined moments within the preset time window to obtain multiple fused angular velocity values corresponding to the multiple predetermined moments;

[0083] 043: Convert multiple fused acceleration values and multiple fused angular velocity values into quaternion data;

[0084] 044: Calculate the quaternion data to obtain the attitude angle of the headset 10; and

[0085] 045: Determine the activity parameters based on the head state and posture angle.

[0086] The above-mentioned earphone control method can be applied to the earphone 10, and the control module 11 is also used to: fuse the three-axis accelerations at multiple predetermined moments within a preset time window to obtain multiple fused acceleration values corresponding to the multiple predetermined moments, and fuse the three-axis angular velocities at multiple predetermined moments within the preset time window to obtain multiple fused angular velocity values corresponding to the multiple predetermined moments; convert the multiple fused acceleration values and the multiple fused angular velocity values into quaternion data; solve the quaternion data to obtain the posture angle of the earphone 10; and determine the activity parameter according to the head state and the posture angle.

[0087] It is understood that in step 046, if the sensor module 12 captures high quality data, the three-axis acceleration and three-axis angular velocity can be used directly without filtering. Specifically, the control module 11 directly fuses the three-axis accelerations at multiple predetermined moments within a preset time window to obtain multiple fused acceleration values corresponding to the multiple predetermined moments. Simultaneously, the control module 11 fuses the three-axis angular velocities at multiple predetermined moments within the preset time window to obtain multiple fused angular velocity values corresponding to the multiple predetermined moments. In conjunction with step 043, the control module 11 also converts the multiple fused acceleration and angular velocity values into quaternion data. A quaternion consists of a real part and three imaginary parts and can be used to represent the mathematical concepts of rotation and direction in three-dimensional space. In step 044, the control module 11 solves the quaternion data to obtain an attitude angle signal reflecting the posture of the headset 10. Furthermore, in step 045, the mobility parameter of the user's cervical spine is determined based on the head position of the user wearing the headset 10 and the attitude angle of the headset 10.

[0088] Please combine Figure 4 In some embodiments, step 04 includes:

[0089] 0451: Within a preset time window, if the head state changes from a first state to a second state, and the posture angle is within a preset posture angle threshold range, the posture angle is determined as the activity parameter.

[0090] The above-mentioned earphone control method can be applied to earphone 10, and the control module 11 is also used to: within a preset time window, when the head state changes from the first state to the second state, and the posture angle is within the preset posture angle threshold range, determine the posture angle as the activity parameter.

[0091] Specifically, in step 0451, if the change in the head state is first in the first state and then in the second state, that is, the change in the head state is first in motion and then in a static state, it indicates that the user wearing the headset 10 has completed an action according to the action instruction, and the user's cervical spine has also performed an activity accordingly. If the posture angle is within the preset posture angle threshold range, it indicates that the head posture of the user wearing the headset 10 is basically in a posture of looking forward. At this time, the control module 11 can determine the posture angle as the mobility parameter of the user's cervical spine.

[0092] See also Figure 4 and Figure 7 In some embodiments, step 04 further includes:

[0093] 047: If the head state does not change from the first state to the second state within the preset time window, or the posture angle is not within the preset posture angle threshold range, a prompt message is issued.

[0094] The above-mentioned earphone control method can be applied to earphone 10, and the control module 11 is also used to: within a preset time window, if the change in the head state is not first in the first state and then in the second state, or if the posture angle is not within the preset posture angle threshold range, issue a prompt message.

[0095] Specifically, if the change in head state is not first in the first state and then in the second state, that is, the change in head state is not first in motion and then in a stationary state, it indicates that the user wearing the headset 10 has not completed the action according to the action instruction, and the user's cervical spine has not moved according to the action instruction. At this time, the control module 11 will issue a prompt message to remind the user that the current test has failed and guide the user to perform the next test. If the posture angle is not within the preset posture angle threshold range, it indicates that the head posture of the user wearing the headset 10 is not in a posture of looking forward. If the control module 11 determines the posture angle as the mobility parameter of the user's cervical spine at this time, a large error will occur, affecting the subsequent evaluation of the user's cervical spine status.

[0096] See also Figure 3 and Figure 4 In certain embodiments, the control method of the present application further includes:

[0097] 05: Determine a standard value and a warning value based on the average value and standard deviation of the activity parameters corresponding to people of different ages stored in the database, wherein the standard value is greater than the warning value; and

[0098] 06: Provide cervical spine status evaluation based on standard values, warning values and mobility parameters.

[0099] The above-mentioned earphone control method can be applied to earphone 10, and the control module 11 is also used to: determine the standard value and warning value based on the average value and standard deviation of the activity parameters corresponding to people of different ages stored in the database, where the standard value is greater than the warning value; and provide cervical spine status evaluation based on the standard value, warning value and activity parameters.

[0100] Specifically, the database is a database containing the average value and standard deviation of the activity parameters of the cervical vertebrae corresponding to people of different ages. The control module 11 determines the standard value and warning value of the activity parameters of the cervical vertebrae based on the average value and standard deviation of the activity parameters of the cervical vertebrae of people of different ages in the database, wherein the standard value represents the average value of the activity parameters of the cervical vertebrae of people of different ages, and the warning value is determined based on the average value of the activity parameters of the cervical vertebrae of people of different ages and the standard deviation of the activity parameters of the cervical vertebrae of people of different ages. For example, if the activity parameter of the user's cervical vertebrae is less than the warning value, it indicates that the activity parameter of the user's cervical vertebrae is significantly lower than the average value of the activity parameters of the cervical vertebrae of people of corresponding age. Compared with an unhealthy cervical vertebra, a healthy cervical vertebra has greater mobility, and thus the standard value is greater than the warning value. The control module 11 provides a cervical vertebrae status evaluation based on the standard value, the warning value, and the activity parameters of the user wearing the headset 10.

[0101] See also Figure 4 and Figure 8 In some embodiments, step 06 includes:

[0102] 061: When the range of motion parameter is less than the standard value and greater than the warning value, provide the first cervical vertebra status evaluation information; and

[0103] 062: When the activity parameter is less than the warning value, provide the second cervical vertebra status evaluation information.

[0104] The above-mentioned earphone control method can be applied to earphone 10, and the control module 11 is also used to: provide first cervical vertebra status evaluation information when the activity parameter is less than the standard value and greater than the warning value; provide second cervical vertebra status evaluation information when the activity parameter is less than the warning value.

[0105] Specifically, if the mobility parameter of the cervical spine of the user wearing the headset 10 is less than the standard value and greater than the warning value, it indicates that although the user's cervical spine is not in an ideal health state, it is still relatively close to an ideal health state. At this time, the control module 11 provides first cervical spine status evaluation information to ensure that the user pays attention to the health of their cervical spine, for example, it is recommended that the user regularly move the cervical spine in multiple directions every day and improve their daily sitting posture. If the mobility parameter of the cervical spine of the user wearing the headset 10 is less than the warning value, it indicates that the user's cervical spine is in an unhealthy state. The control module 11 provides second cervical spine status evaluation information to warn the user to pay attention to the health of their cervical spine, for example, it is recommended that the user go to the hospital for further examination of their cervical spine.

[0106] See also Figure 4 and Figure 8 In some embodiments, the activity parameters include a left turn angle, a right turn angle, a left lean angle, and a right lean angle. Step 06 further includes:

[0107] 063: According to the activity parameter, obtain the rotation angle difference between the left turn angle and the right turn angle, and the tilt angle difference between the left tilt angle and the right tilt angle; and

[0108] 064: Compare the rotation angle difference with the preset first symmetry angle threshold, and compare the tilt angle difference with the preset second symmetry angle threshold, and provide third cervical vertebra status evaluation information.

[0109] The above-mentioned earphone control method can be applied to earphone 10, and the control module 11 is also used to: obtain the rotation angle difference between the left turn angle and the right turn angle, and the inclination angle difference between the left tilt angle and the right tilt angle according to the activity parameters; and compare the rotation angle difference with the preset first symmetry angle threshold, and compare the inclination angle difference with the preset second symmetry angle threshold to provide third cervical vertebra status evaluation information.

[0110] Specifically, when the mobility parameters include a left turn angle, a right turn angle, a left tilt angle, and a right tilt angle, the control module 11 will obtain the rotation angle difference between the left turn angle and the right turn angle, and the tilt angle difference between the left tilt angle and the right tilt angle based on the mobility parameters. In step 064, the control module 11 compares the tilt angle difference with a preset second symmetry angle threshold value to determine the symmetrical mobility of the cervical spine of the user wearing the headset 10, so as to further quantitatively measure the health status of the user's cervical spine, and provide third cervical spine status evaluation information based on the comparison result. More specifically, when the tilt angle difference is greater than the preset second symmetry angle threshold value, it is determined that the symmetrical mobility of the cervical spine of the user wearing the headset 10 is poor, and the control module 11 prompts the user to perform left turn, right turn, left tilt, and right tilt stretching and relaxation exercises regularly every day to enhance the symmetrical mobility of the cervical spine. When the tilt angle difference is less than the preset second symmetry angle threshold, it is determined that the cervical spine of the user wearing the headset 10 has good symmetrical activity. The control module 11 prompts the user to perform a small amount of left turn, right turn, left tilt and right tilt stretching and relaxation movements every day to maintain the symmetrical activity of the cervical spine.

[0111] See also Figure 3 and Figure 4 In certain embodiments, the control method of the present application further includes:

[0112] 07: Provide first cervical vertebra exercise suggestions based on cervical vertebra status evaluation;

[0113] 08: Store the user's historical activity parameters in the user's personal database;

[0114] 091: Obtaining a change trend of the user's cervical spine mobility based on the user's current mobility parameters and historical mobility parameters; and

[0115] 092: Provide a second cervical vertebra movement suggestion when the user's current activity parameter is less than the average value of the historical activity parameters, and the activity difference between the user's current activity parameter and the average value of the historical activity parameters is greater than a preset activity parameter threshold.

[0116] The above-mentioned earphone control method can be applied to earphone 10, and the control module 11 is also used to: provide a first cervical spine movement suggestion based on the cervical spine status evaluation; store the user's historical activity parameters in the user's personal database; obtain the changing trend of the user's cervical spine activity based on the user's current activity parameters and historical activity parameters; provide a second cervical spine movement suggestion when the user's current activity parameter is less than the average value of the historical activity parameters, and the activity difference between the user's current activity parameter and the average value of the historical activity parameters is greater than a preset activity parameter threshold.

[0117] Specifically, in step 07, the control module 11 will also provide a first cervical vertebra movement suggestion based on the cervical vertebra status evaluation. The first cervical vertebra movement suggestion includes regular and quantitative head movements such as turning left, turning right, leaning left, leaning right, leaning forward, and leaning back every day. The first cervical vertebra movement suggestion may be stored in the headset 10 in advance or downloaded online through networking or other means. In steps 08 and 091, the control module 11 stores the user's historical activity parameters in the user's personal database. When the user subsequently performs head movements according to the action instructions, the control module 11 will compare the user's current activity parameters with the historical activity parameters to obtain the changing trend of the user's cervical vertebra activity. In step 093, when the user's current activity parameter is less than the average value of the historical activity parameters, and the activity difference between the user's current activity parameter and the average value of the historical activity parameters is greater than the preset activity parameter threshold, the control module 11 will provide a second cervical spine movement suggestion. For example, when the user's current activity parameter is significantly lower than the average value of the historical activity parameters, the control module 11 will prompt the user that the risk of shoulder and neck discomfort / pain is increased, and recommend corresponding stretching and relaxation exercises, and adjustment of daily work and life habits.

[0118] In summary, in the control method of the earphones provided in the present application, after receiving the action instruction, the head state of the user wearing the earphones 10 is obtained according to the detection data collected by the sensor module 12, and the mobility parameters of the user's cervical spine are obtained according to the head state and the detection data, thereby realizing the measurement of the health of the user's cervical spine, increasing the function of the earphones 10, and expanding the usage scenarios of the earphones 10.

[0119] See also Figure 2 、 Figure 3 and Figure 9 In some embodiments, the present application further provides a computer-readable storage medium 200 on which a computer program 202 is stored. When the program is executed by a processor, the control method in any of the above embodiments is implemented.

[0120] For example, when the computer program 202 is executed by the processor 20, the following control method is implemented:

[0121] 01: Receive an action instruction, which is used to guide the user wearing the headset 10 to move the cervical spine;

[0122] 02: Obtain detection data collected by the sensor module 12 in the headset 10;

[0123] 03: Obtaining a head state of the user wearing the headset 10 according to the detection data and a preset state threshold, where the head state includes a first state and a second state, and in the first state, the movement amplitude of the user's head is greater than the movement amplitude of the user's head;

[0124] 04: Obtain the user's cervical spine mobility parameters based on the head state and detection data.

[0125] For another example, when the computer program 202 is executed by the processor 20, the following control method is implemented:

[0126] 031: Determine the head state of the user wearing the headset 10 based on the three-axis acceleration, the three-axis angular velocity, the acceleration difference threshold, and the angular velocity difference threshold within a preset time window.

[0127] For another example, when the computer program 202 is executed by the processor 20, it can also implement the control methods in 0311, 0313, 0315, 03151, 03153, 03155, 03157, 03159, 041, 042, 043, 044, 045, 0451, 046, 047, 06, 061, 062, 063, 064, 07, 08, 091 and 092.

[0128] In the computer-readable storage medium 200 in the present application, after receiving the action instruction, the head state of the user wearing the headset 10 is obtained according to the detection data collected by the sensor module 12, and the mobility parameters of the user's cervical spine are obtained according to the head state and the detection data, thereby realizing the measurement of the user's cervical spine health level, increasing the function of the headset 10, and expanding the usage scenarios of the headset 10.

[0129] In the description of this specification, the reference terms "certain embodiments", "in an example", "exemplarily", etc. mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are mutually inconsistent.

[0130] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present application belong.

[0131] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for controlling headphones, characterized in that: include: receiving an action instruction, wherein the action instruction is used to guide a user wearing the headset to move the cervical spine; Acquire detection data collected by a sensor module in the headset, where the sensor module includes an accelerometer and a gyroscope, and the detection data includes three-axis acceleration detected by the accelerometer and three-axis angular velocity detected by the gyroscope; fusing the three-axis accelerations at multiple predetermined moments within a preset time window to obtain multiple fused acceleration values corresponding to the multiple predetermined moments, and fusing the three-axis angular velocities at multiple predetermined moments within the preset time window to obtain multiple fused angular velocity values corresponding to the multiple predetermined moments; screening out a maximum fused acceleration value and a minimum fused acceleration value from the plurality of fused acceleration values, and screening out a maximum fused angular velocity value and a minimum fused angular velocity value from the plurality of fused angular velocity values; acquiring a head state according to the maximum value of the fused acceleration, the minimum value of the fused acceleration, the maximum value of the fused angular velocity, the minimum value of the fused angular velocity, and a preset state threshold, wherein the head state includes a first state and a second state, and the movement amplitude of the user's head in the first state is greater than the movement amplitude of the user's head in the second state; and The activity parameters of the user's cervical spine are obtained according to the head state and the detection data.

2. The control method according to claim 1, characterized in that: The preset state threshold includes a preset acceleration difference threshold and a preset angular velocity difference threshold.

3. The control method according to claim 2, characterized in that: In a case where the action instruction is used to guide a user wearing the headset to turn the cervical spine left or right, the preset state threshold includes a first angular velocity threshold, a second angular velocity threshold, and an angular velocity difference threshold; and obtaining the head state according to the maximum fused acceleration, the minimum fused acceleration, the maximum fused angular velocity, the minimum fused angular velocity, and the preset state threshold includes: When the maximum value of the fused angular velocity is greater than the first angular velocity threshold, or when the minimum value of the fused angular velocity is less than the second angular velocity threshold, determining that the head state is the first state; and An angular velocity difference is obtained according to the maximum fused angular velocity and the minimum fused angular velocity; and when the angular velocity difference is less than the angular velocity difference threshold, the head state is determined to be the second state.

4. The control method according to claim 2, characterized in that: When the action instruction is used to guide a user wearing the headset to tilt the cervical spine to the left, right, forward, or backward, the preset state threshold includes an acceleration difference threshold; and obtaining the head state according to the maximum fused acceleration, the minimum fused acceleration, the maximum fused angular velocity, the minimum fused angular velocity, and the preset state threshold includes: Obtaining an acceleration difference according to the maximum value of the fused acceleration and the minimum value of the fused acceleration; When the acceleration difference is greater than the acceleration difference threshold, determining that the head state is the first state; and When the acceleration difference is less than the acceleration difference threshold, the head state is determined to be the second state.

5. The control method according to claim 1, characterized in that: The sensor module includes an accelerometer and a gyroscope, and the detection data includes three-axis acceleration detected by the accelerometer and three-axis angular velocity detected by the gyroscope; The obtaining of the activity parameter of the user's cervical vertebra according to the head state and the detection data includes: performing filtering processing on the three-axis accelerations and the three-axis angular velocities at a plurality of predetermined moments within a preset time window; fusing the filtered multiple three-axis accelerations to obtain multiple fused acceleration values corresponding to the multiple predetermined moments, and fusing the filtered multiple three-axis angular velocities to obtain multiple fused angular velocity values corresponding to the multiple predetermined moments; Converting the plurality of fused acceleration values and the plurality of fused angular velocity values into quaternion data; Solving the quaternion data to obtain the attitude angle of the headset; and The activity parameter is determined according to the head state and the posture angle.

6. The control method according to claim 1, characterized in that: The sensor module includes an accelerometer and a gyroscope, and the detection data includes three-axis acceleration detected by the accelerometer and three-axis angular velocity detected by the gyroscope; The obtaining of the activity parameter of the user's cervical vertebra according to the head state and the detection data includes: fusing the three-axis accelerations at multiple predetermined moments within a preset time window to obtain a plurality of fused acceleration values corresponding to the multiple predetermined moments, and fusing the three-axis angular velocities at multiple predetermined moments within the preset time window to obtain a plurality of fused angular velocity values corresponding to the multiple predetermined moments; Converting the plurality of fused acceleration values and the plurality of fused angular velocity values into quaternion data; Solving the quaternion data to obtain the attitude angle of the headset; and The activity parameter is determined according to the head state and the posture angle.

7. The control method according to claim 5 or 6, characterized in that: The determining of the activity parameter according to the head state and the posture angle includes: If, within the preset time window, the head state changes from the first state to the second state, and the posture angle is within a preset posture angle threshold range, the posture angle is determined to be the activity parameter.

8. The control method according to claim 5 or 6, characterized in that: Also includes: If, within the preset time window, the head state does not change from the first state to the second state, or the posture angle is not within the preset posture angle threshold range, a prompt message is issued.

9. The control method according to claim 1, characterized in that: The control method further includes: Determining a standard value and a warning value based on the average value and standard deviation of the activity parameter corresponding to people of different ages stored in a database, wherein the standard value is greater than the warning value; and A cervical spine status evaluation is provided based on the standard value, the warning value and the activity parameter.

10. The control method according to claim 9, characterized in that: Providing cervical vertebra status evaluation based on the standard value, the warning value, and the activity parameter includes: providing first cervical vertebra status evaluation information when the activity parameter is less than the standard value and greater than the warning value; and When the activity parameter is less than the warning value, second cervical vertebra status evaluation information is provided.

11. The control method according to claim 9, characterized in that: The range of motion parameters include left turn angle, right turn angle, left lean angle, and right lean angle. The method of providing cervical vertebra status evaluation based on the range of motion parameters further includes: According to the activity parameter, a rotation angle difference between the left turn angle and the right turn angle, and a tilt angle difference between the left tilt angle and the right tilt angle are obtained; and The rotation angle difference is compared with a preset first symmetry angle threshold, and the tilt angle difference is compared with a preset second symmetry angle threshold to provide third cervical vertebra state evaluation information.

12. The control method according to claim 9, characterized in that: The control method further includes: A first cervical vertebra movement suggestion is provided based on the cervical vertebra status evaluation.

13. The control method according to claim 9, characterized in that: The control method further includes: storing the user's historical activity parameters in a personal database of the user; Obtaining a change trend of the user's cervical vertebrae mobility according to the user's current mobility parameters and historical mobility parameters; and When the user's current activity parameter is less than the historical average of the activity parameters, and the activity difference between the user's current activity parameter and the historical average of the activity parameters is greater than a preset activity parameter threshold, a second cervical vertebra movement suggestion is provided.

14. A headset, characterized in that: The earphones include: A sensor module for collecting detection data; and A control module is communicatively connected to the sensor module and is used to execute the control method described in any one of claims 1-13.

15. The earphone according to claim 14, characterized in that The earphones are bone conduction earphones or air conduction earphones.

16. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the control method described in any one of claims 1 to 13 is implemented.

Citation Information

Patent Citations

  • Wearable spine health quantitative evaluation device and measurement method thereof

    CN111657958A

  • Exercise reminding method and electronic equipment

    CN116416769A