Earphone control method, earphone and computer readable storage medium

By obtaining the bounce parameters and combining historical data to evaluate the athlete's neuromuscular recovery level when the user wearing the headset performs bounce, the problem that existing equipment cannot directly measure the recovery level and improve the accuracy of the evaluation.

CN120075677APending Publication Date: 2025-05-30SUUNTO SPORTS TECHNOLOGY (DONGGUAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411216550.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The existing smart wearable devices lack the way to directly measure the degree of neuromuscular recovery of athletes, which leads to users being able to evaluate themselves, and the accuracy of the evaluation is low, affecting the formulation of subsequent exercise plans.

Method used

By obtaining the first bounce parameter when the user wearing the headset performs a bounce, the user's neuromuscular recovery degree is obtained based on the first bounce parameter and the second bounce parameter when the bounce is performed pre-stored in the headset.

Benefits of technology

It improves the accuracy of assessment of neuromuscular recovery degree and ensures the accurate formulation of subsequent exercise programs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075677A_ABST
    Figure CN120075677A_ABST
Patent Text Reader

Abstract

The invention discloses an earphone control method, an earphone and a computer readable storage medium. Relates to the technical field of earphone control, and the earphone control method comprises the steps: obtaining a first bounce parameter when a user carries out bounce under the condition that the user wearing the earphone carries out bounce; and according to the first bounce parameter and a second bounce parameter pre-stored in the earphone, obtaining the recovery degree of the neuromuscular of the user, wherein the second bounce parameter is a bounce parameter when the user historically executes bounce. According to the method, the accuracy of evaluation of the neuromuscular recovery degree is improved, and accurate formulation of a subsequent exercise scheme is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of headphone control. More specifically, it relates to a method for controlling a headphone, a headphone, and a computer-readable storage medium. Background Art

[0002] For sports enthusiasts, the short-term recovery level after exercise or the change in the recovery level in the long-term training plan is a guiding indicator for arranging the current exercise content or adjusting the training plan. Currently, the estimation of the recovery level usually relies on the analysis of exercise data recorded by devices. By calculating the exercise intensity and time, the user's own recovery level is calculated. However, existing smart wearable devices lack a way to directly measure the neuromuscular recovery level of the exerciser, which leads to the user having to evaluate their own neuromuscular recovery level by themselves, and the accuracy of the evaluation is relatively low, affecting the formulation of subsequent exercise plans. Summary of the Invention

[0003] Embodiments of this application provide a method for controlling a headphone, a headphone, and a computer-readable storage medium.

[0004] A method for controlling a headphone according to an embodiment of this application includes: when a user wearing the headphone performs a bounce, obtaining a first bounce parameter of the user when performing the bounce; and obtaining the recovery level of the user's neuromuscular according to the first bounce parameter and a second bounce parameter pre-stored in the headphone, where the second bounce parameter is the bounce parameter when the user historically performed a bounce.

[0005] In some embodiments, the headphone includes a sensor module; and further includes: obtaining detection data collected by the sensor module during at least two preset windows; processing the detection data to obtain processed data; and determining whether the user wearing the headphone is currently performing a bounce according to the processed data.

[0006] In some embodiments, the sensor module includes an accelerometer, and the detection data includes the initial three-axis acceleration collected by the accelerometer; the processing the detection data to obtain processed data includes: fusing the three-axis accelerations at each preset moment during the window to obtain the resultant acceleration at the preset moment; calculating the average slope of the resultant accelerations at all the preset moments during the window; and calculating the maximum value and the minimum value of the resultant acceleration during the window.

[0007] In some embodiments, the sensor module includes an accelerometer, and the detection data includes the initial three-axis acceleration collected by the accelerometer; the processing of the detection data to obtain processed data further includes: filtering the initial three-axis acceleration to obtain filtered three-axis acceleration; fusing the filtered three-axis acceleration at each preset moment within the window period to obtain the resultant acceleration at the preset moment; calculating the average slope of the resultant acceleration within the window period; and calculating the maximum and minimum values of the resultant acceleration within the window period.

[0008] In some embodiments, the bounce includes squatting, jumping, leaving the ground, and landing. The squatting, the jumping, and the leaving the ground are within the current window period, and the landing is within the next window period; determining whether the user wearing the earphone is currently performing a bounce based on the processed data includes: performing a squat detection on the user based on the maximum and minimum values of the resultant acceleration within the current window period to output a squat detection result; performing a jump detection on the user based on the maximum and minimum values of the resultant acceleration within the current window period to output a jump detection result; performing a leaving-the-ground detection on the user based on the average slope of the resultant acceleration within the current window period and the minimum value of the resultant acceleration within the current window period to output a leaving-the-ground detection result; performing a landing detection on the user based on the average slope of the resultant acceleration within the current window period, the maximum and minimum values of the resultant acceleration within the next window period to output a landing detection result; and determining whether the user wearing the earphone is currently performing a bounce according to the squat detection result, the jump detection result, the leaving-the-ground detection result, and the landing detection result.

[0009] In some embodiments, the performing a squat detection on the user based on the maximum and minimum values of the resultant acceleration within the current window period to output a squat detection result includes: determining that the squat detection result is "squatting" when the maximum value of the resultant acceleration within the current window period is greater than a preset first maximum limit threshold and the minimum value of the resultant acceleration within the current window period is less than a preset first minimum limit threshold; and determining that the squat detection result is "not squatting" when the maximum value of the resultant acceleration within the current window period is less than the preset first maximum limit threshold or the minimum value of the resultant acceleration within the current window period is greater than the preset first minimum limit threshold.

[0010] In some embodiments, the takeoff detection is performed on the user based on the maximum value and the minimum value of the resultant acceleration during the current window period to output a takeoff detection result, including: when the maximum value of the resultant acceleration during the current window period is greater than a preset second maximum limit threshold and the minimum value of the resultant acceleration during the current window period is less than a preset second minimum limit threshold, determining that the takeoff detection result is "takeoff"; and when the maximum value of the resultant acceleration during the current window period is less than the preset second maximum limit threshold, or the minimum value of the resultant acceleration during the current window period is greater than the preset second minimum limit threshold, determining that the takeoff detection result is "not takeoff".

[0011] In some embodiments, the liftoff detection is performed on the user based on the average slope of the resultant acceleration during the current window period and the minimum value of the resultant acceleration during the current window period to output a liftoff detection result, including: when the average slope of the resultant acceleration during the current window period is within a preset first slope threshold range and the minimum value of the resultant acceleration during the current window period is less than a preset third minimum limit threshold, determining that the liftoff detection result is "liftoff"; and when the average slope of the resultant acceleration during the current window period is outside the preset first slope threshold range, or the minimum value of the resultant acceleration during the current window period is greater than the preset third minimum limit threshold, determining that the liftoff detection result is "not liftoff".

[0012] In some embodiments, the landing detection is performed on the user based on the average slope of the resultant acceleration during the current window period, the maximum value and the minimum value of the resultant acceleration during the next window period to output a landing detection result, including: when the average slope of the resultant acceleration during the current window period is within a preset second slope threshold range, the maximum value of the resultant acceleration during the next window period is greater than a preset third maximum limit threshold, and the minimum value of the resultant acceleration during the next window period is greater than a preset fourth minimum limit threshold, determining that the landing detection result is "landing"; and when the average slope of the resultant acceleration during the current window period is outside the preset second slope threshold range, or the maximum value of the resultant acceleration during the next window period is less than the preset third maximum limit threshold, or the minimum value of the resultant acceleration during the next window period is less than the preset fourth minimum limit threshold, determining that the landing detection result is "not landing".

[0013] In some embodiments, the first bounce parameter includes a first bounce height; obtaining the first bounce parameter when the user performs a bounce includes: obtaining the airborne time when the user performs a bounce, where the airborne time is the interval between the moment the user leaves the ground and the moment the user lands; and obtaining the first bounce height based on the airborne time and the acceleration due to gravity.

[0014] In some embodiments, obtaining the airborne time when the user performs a bounce includes: determining the moment the user leaves the ground during the current bounce based on the average slope of the resultant acceleration during the current window period and the minimum value of the resultant acceleration during the current window period; determining the moment the user lands during the current bounce based on the average slope of the resultant acceleration during the current window period, the maximum value and the minimum value of the resultant acceleration during the next window period; and determining the interval between the landing moment and the leaving-the-ground moment as the airborne time.

[0015] In some embodiments, obtaining the degree of neuromuscular recovery of the user based on the first bounce parameter and a second bounce parameter pre-stored in the earphone includes: obtaining the average value of the bounce parameters when the user historically performed bounces according to the second bounce parameter; calculating the difference between the first bounce parameter and the average value of the bounce parameters; and determining the degree of recovery based on the difference and a preset difference threshold.

[0016] In some embodiments, the first bounce parameter is the bounce parameter when the user performs one bounce; or, the first bounce parameter is the average value of the bounce parameters when the user performs multiple bounces.

[0017] In some embodiments, it further includes: providing exercise suggestions according to the degree of recovery.

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

[0019] In some embodiments, the earphone in the above embodiments is a bone conduction earphone or an air conduction earphone.

[0020] This application also provides a computer-readable storage medium, on which a program is stored, and when the program is executed by a processor, the control method according to any one of the above embodiments is implemented.

[0021] In the headphone control method, headphone, and computer-readable storage medium provided by the present application, when a user wearing the headphones performs a bounce, the first bounce parameter when the user performs the bounce is obtained, and the degree of recovery of the user's neuromuscular is obtained according to the first bounce parameter and the second bounce parameter when the user's historical bounce is pre-stored in the headphones. Since the first bounce parameter can reflect the current neuromuscular state of the user, the current degree of recovery of the user's neuromuscular can be obtained according to the first bounce parameter and the second bounce parameter when the user's historical bounce is performed, thereby improving the accuracy of the evaluation of the degree of recovery of the neuromuscular to ensure the accurate formulation of subsequent exercise programs.

[0022] Additional aspects and advantages of the embodiments of the present application will be given in part in the following description, become apparent in part from the following description, or be learned through the 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 be readily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0024] Figure 1 is a flowchart of a headphone control method according to some embodiments of the present application;

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

[0026] Figure 3 is a flowchart of a headphone control method according to other embodiments of the present application;

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

[0028] Figure 5 is a flowchart of processing detection data to obtain processed data in a headphone control method according to some embodiments of the present application;

[0029] Figure 6 is a flowchart of processing detection data to obtain processed data in a headphone control method according to other embodiments of the present application;

[0030] Figure 7 is a flowchart of determining whether the user wearing the headphones is currently performing a bounce according to the processed data in a headphone control method according to some embodiments of the present application;

[0031] Figure 8 is a flowchart of determining whether the user wearing the headphones is currently performing a bounce according to the processed data in a headphone control method according to other embodiments of the present application;

[0032] Figure 9 It is a schematic flow chart for obtaining the first bounce parameter when a user wearing headphones executes a bounce in the headphone control method of certain embodiments of the present application;

[0033] Figure 10 It is a schematic flow chart for obtaining the airborne time when a user executes a bounce in the headphone control method of certain embodiments of the present application;

[0034] Figure 11 It is a schematic flow chart for obtaining the degree of neuromuscular recovery of a user according to the first bounce parameter and the second bounce parameter pre - stored in the headphones in the headphone control method of certain embodiments of the present application;

[0035] Figure 12 It is a schematic diagram of the connection state between a computer - readable storage medium and a processor in certain embodiments of the present application.

[0036] Main element symbol description:

[0037] Headphones 10;

[0038] Control module 11; Sensor module 12; Accelerometer 121;

[0039] Processor 20;

[0040] Computer - readable storage medium 200; Computer program 202. Detailed implementation manners

[0041] The following details the implementation manners of the present application. The examples of the implementation manners are shown in the accompanying drawings, where the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions throughout. The implementation manners described below with reference to the accompanying drawings are exemplary and are only used to explain the implementation manners of the present application, and should not be construed as a limitation on the implementation manners of the present application.

[0042] With the popularization and development of portable electronic products and smart terminals, as a new type of smart terminal, headphones will accompany users in many activity scenarios, such as exercise and rest. Headphones can effectively record information such as users' exercise data, activity trajectories, and activity states. For sports enthusiasts, the degree of short-term recovery after exercise or the change in the degree of recovery in the long-term training plan is a guiding indicator for arranging the current exercise content or adjusting the training plan. Currently, the estimation of the degree of recovery usually relies on the analysis of exercise data recorded by devices. By calculating the exercise intensity and time, the degree of one's own recovery is calculated. However, existing smart wearable devices lack a way to directly measure the neuromuscular recovery degree of athletes. This leads to users having to evaluate their own neuromuscular recovery degree by themselves, and the accuracy of the evaluation is relatively low, which affects the formulation of subsequent exercise plans. How to solve the problem that existing smart wearable devices have few functions and cannot directly measure the neuromuscular recovery degree of athletes has become a difficult problem that needs to be solved urgently by those skilled in the art. To solve this problem, this application provides a control method for headphones (as shown in Figure 1 and Figure 3 ), headphones 10 (as shown in Figure 2 and Figure 4 ), and a computer-readable storage medium 200 (as shown in Figure 12 ).

[0043] Please refer to Figure 1 and Figure 2 . The control method for headphones in the embodiments of this application includes:

[0044] 05: When the user wearing headphones 10 performs a bounce, obtain the first bounce parameter when the user performs the bounce; and

[0045] 07: Obtain the neuromuscular recovery degree of the user according to the first bounce parameter and the second bounce parameter pre-stored in headphones 10, where the second bounce parameter is the bounce parameter when the user historically performed a bounce.

[0046] The above control method for headphones can be applied to headphones 10. Headphones 10 in the embodiments of this application include a control module 11. The control module 11 is used to obtain the first bounce parameter when the user wearing headphones 10 performs a bounce; and obtain the neuromuscular recovery degree of the user according to the first bounce parameter and the second bounce parameter pre-stored in headphones 10, where the second bounce parameter is the bounce parameter when the user historically performed a bounce.

[0047] The earphone 10 is an audio device mainly used for electroacoustic conversion, for example, converting an audio signal into sound so that users can hear music, movies, games or other audio content, or converting sound into an electrical signal. The earphone 10 is designed to provide a private listening environment, allowing users to enjoy audio content alone without disturbing people around them. In this application, the earphone 10 adds a function of obtaining the degree of recovery of the user's neuromuscular based on the first bounce parameter generated when the user wearing the earphone 10 performs a bounce and the second bounce parameter pre-stored in the earphone. For this purpose, the earphone 10 also needs to have the function of monitoring and recording various data when the user performs a bounce. The earphone 10 in this application can be a bone conduction earphone or an air conduction earphone. Among them, a bone conduction earphone is an earphone that uses the bones of the human body to conduct sound instead of the traditional sound wave transmitted through the air. When worn by the user, the bone conduction earphone does not block the ears. Compared with in-ear earphones, the bone conduction earphone can avoid hearing damage caused by long-term use. At the same time, it ensures that the user can hear the sounds outside during use and improves the safety of the user's outdoor sports. An air conduction earphone is an earphone that uses air vibration to directly transmit sound to the user's ears. The air conduction earphone does not need to directly contact the ears through earplugs or earcups, nor does it need to insert the earphone into the ear canal or close to the head. Compared with in-ear earphones, the air conduction earphone has similar advantages to the bone conduction earphone, and can also avoid hearing damage caused by long-term use of the earphone. At the same time, it can also ensure that the user can hear the sounds outside during use and improve the safety of the user's outdoor sports. Therefore, in this application, the earphone 10 can also be a bone conduction earphone containing a storage module or an air conduction earphone containing a storage module.

[0048] Specifically, the earphone 10 includes a control module 11. In the earphone control method provided in this application, steps 01, 02, 03, and 04 are all executed by the control module 11. The control module 11 is a module inside the earphone 10 responsible for processing various data and coordinating various functions (including but not limited to audio processing, connecting devices, power management, user interaction, etc.). In this application, the control module 11 is used to obtain the first bounce parameter and the second bounce parameter pre-stored in the earphone 10 when the user wearing the earphone 10 performs a bounce, that is, the bounce parameter when the user historically performed a bounce and pre-stored in the earphone 10, and then obtain the degree of recovery of the user's neuromuscular based on the first bounce parameter and the second bounce parameter.

[0049] Specifically, please combine Figure 2, the earphone 10 further includes a battery case 117 for placing a battery and / or a control case 119 with control functions. The control case 119 can be used to control the power on, power off of the earphone 10 and adjust the volume of the earphone 10. Specifically, the control case 119 includes a first case body and a control module 11. The control module 11 can be installed in the first case body. The battery case 117 includes a second case body and a battery. The battery is loaded in the second case body. The battery is used to supply power to the earphone 10 so that the earphone 10 can work properly.

[0050] Specifically, the earphone 10 further includes a to-be-connected member 13. The to-be-connected member 13 includes an ear hook 137 and / or a rear hook 139. When the user wears the earphone 10, the rear hook 139 of the earphone 10 is worn on the head, and the ear hook 137 of the earphone 10 is worn on the back of the ear, thereby improving the wearing stability of the earphone 10. In the case where the user is outdoors or doing sports, the earphone 10 is not easily detached. The rear hook 139 is used to connect the battery case 117 and the control case 119. The earphone 10 further includes a transducer assembly 30. The ear hook 137 is used to connect the battery case 117 and the transducer assembly 30, and is also used to connect the control case 119 and the transducer assembly 30. The transducer assembly 30 is used to fit with the skin of the human body. When the earphone 10 is in use, the transducer assembly 30 can make the user hear sounds through mechanical vibration.

[0051] Specifically, in step 05, when the user wearing the earphone 10 performs a bounce, the control module 11 obtains a first bounce parameter when the user performs the bounce. The first bounce parameter can be used to reflect the specific bounce situation when the user performs the bounce this time, such as bounce height, take-off speed, and air time, etc. Since the values of parameters such as bounce height, take-off speed, and air time are all related to the user's own neuromuscular condition, therefore, the first bounce parameter can be used to reflect the recovery degree of the user's own neuromuscular after strenuous exercise or injury. In step 07, the control module 11 can obtain the recovery degree of the user's neuromuscular according to the first bounce parameter and a second bounce parameter pre-stored in the earphone 10. The second bounce parameter is the bounce parameter when the user historically performed a bounce. The control module 11 determines the recovery degree of the user's neuromuscular by comparing the first bounce parameter with the bounce parameter when the user historically performed a bounce, thereby improving the accuracy of the evaluation of the neuromuscular recovery degree to ensure the accurate formulation of subsequent exercise plans. At the same time, this application also adds a function to the earphone 10 to evaluate the recovery degree of the neuromuscular of the user wearing the earphone 10, further expanding the usage scenarios of the earphone 10.

[0052] In some embodiments, please refer to Figure 2 and Figure 3 , the earphone 10 further includes a sensor module 12. The control method of this application further includes:

[0053] 01: Obtain the detection data collected by the sensor module 12 during at least two preset windows;

[0054] 02: Process the detection data to obtain processed data; and

[0055] 03: Determine whether the user wearing the earphone 10 is currently performing a bounce according to the processed data.

[0056] The above control method of the earphone can be applied to the earphone 10. The earphone 10 in the embodiment of the present application further includes a sensor module 12. The control module 11 is configured to obtain the detection data collected by the sensor module 12 during at least two preset windows; process the detection data to obtain processed data; and determine whether the user wearing the earphone 10 is currently performing a bounce according to the processed data.

[0057] Specifically, in the earphone 10, a wired communication connection formed by a data line or a wireless communication connection formed by a wireless signal can be established between the control module 11 and the sensor module 12. Please refer to Figure 2 , the control box 119 further includes a sensor module 12, and the control module 11 and the sensor module 12 can be installed in the first box body. The sensor module 12 can be an accelerometer (for detecting the three-axis acceleration of the earphone 10), a gyroscope (for detecting the three-axis angular velocity of the earphone 10), a magnetometer (also known as a compass sensor, for detecting the direction of the earth's magnetic field, which helps the earphone 10 determine its own orientation and is very important for the positioning and navigation applications of the earphone 10), a heart rate sensor (for measuring the user's heart rate through skin contact), and a pressure sensor (for detecting the pressure of the user on the earphone when wearing the earphone, which can be used to adjust the volume, control playback, or answer calls, etc.). In the present application, the sensor module 12 is used to collect various types of data of the user wearing the earphone 10 during at least two preset windows, so as to help the control module 11 obtain various types of data that can be used to detect whether the user performs a bounce and the bounce situation of the user.

[0058] More specifically, in steps 01 and 02, the preset window period is a period of time window set in advance by the user, or a period of time window preset according to empirical values before the earphone 10 leaves the factory. The control module 11 processes the detection data collected by the sensor module 12 during at least two preset windows to obtain processed data. The detection of the bounce by the control module 11 is usually divided into two stages: before takeoff and after landing. Therefore, in step 01, the control module 11 needs to first obtain the detection data collected during at least two preset windows. In step 03, the control module 11 determines whether the user wearing the earphone 10 is currently performing a bounce according to the processed data. Steps 02 and 03 will be explained in more detail below.

[0059] In some embodiments, referring to Figure 4 and Figure 5 , the sensor module 12 includes an accelerometer 121, the detected data includes the initial three-axis acceleration collected by the accelerometer 121, and step 02 includes:

[0060] 021: Fusing the three-axis accelerations at each preset moment during the fusion window to obtain the resultant acceleration at the preset moment;

[0061] 022: Calculating the average slope of the resultant accelerations at all preset moments during the window; and

[0062] 023: Calculating the maximum and minimum values of the resultant acceleration during the window.

[0063] The above control method of the earphone can be applied to the earphone 10, and the control module 11 is further configured to fuse the three-axis accelerations at each preset moment during the fusion window to obtain the resultant acceleration at the preset moment; calculate the average slope of the resultant accelerations at all preset moments during the window; and calculate the maximum and minimum values of the resultant acceleration during the window.

[0064] Specifically, in step 021, after the sensor module 12 completes the acquisition of the detected data, the control module 11 needs to first fuse the three-axis accelerations at each preset moment during the fusion window to obtain the resultant acceleration at the preset moment. Compared with the acceleration of a single axis, the resultant acceleration can more accurately reflect the movement of the earphone 10 in the three-dimensional space. In step 023 and step 025, the control module 11 also calculates the average slope of the resultant accelerations at all preset moments during the window and the maximum and minimum values of the resultant acceleration, so as to prepare for detecting whether the user performs a bounce in the subsequent steps.

[0065] In some embodiments, referring to Figure 4 and Figure 6 , the sensor module 12 includes an accelerometer 121, the detected data includes the initial three-axis acceleration collected by the accelerometer 121, and step 02 further includes:

[0066] 024: Filtering the initial three-axis acceleration to obtain the filtered three-axis acceleration;

[0067] 025: Fusing the filtered three-axis accelerations at each preset moment during the fusion window to obtain the resultant acceleration at the preset moment;

[0068] 026: Calculating the average slope of the resultant acceleration during the window; and

[0069] 027: Calculating the maximum and minimum values of the resultant acceleration during the window.

[0070] The control method of the above-mentioned earphone can be applied to earphone 10. The control module 11 is further configured to filter the initial three-axis acceleration to obtain the filtered three-axis acceleration; fuse the filtered three-axis accelerations at each preset moment during the fusion window to obtain the resultant acceleration at the preset moment; calculate the average slope of the resultant acceleration during the calculation window; and calculate the maximum and minimum values of the resultant acceleration during the calculation window.

[0071] Specifically, in step 024, the filtering method can eliminate the noise in the signal. When the detection quality of the sensor module 12 is not accurate enough, by adding the step of filtering the initial three-axis acceleration, the accuracy of the three-axis acceleration can be further ensured. After the sensor module 12 completes the acquisition of the detection data, the control module 11 needs to first filter the initial three-axis acceleration to obtain the filtered three-axis acceleration. Then, the control module 11 fuses the three-axis accelerations at each preset moment during the fusion window to obtain the resultant acceleration at the preset moment. Compared with the acceleration in a single axis, the resultant acceleration can more accurately reflect the movement of the earphone 10 in the three-dimensional space. In steps 023 and 025, the control module 11 also calculates the average slope of the resultant acceleration at all preset moments during the calculation window and the maximum and minimum values of the resultant acceleration, so as to prepare for detecting whether the user performs a bounce in the subsequent steps.

[0072] Please refer to Figure 4 and Figure 7 , in some embodiments, the bounce includes squatting, taking off, leaving the ground, and landing. Squatting, taking off, and leaving the ground are within the current window period, and landing is within the next window period. Step 03 includes:

[0073] 031: Based on the maximum and minimum values of the resultant acceleration during the current window period, perform a squat detection on the user to output a squat detection result;

[0074] 033: Based on the maximum and minimum values of the resultant acceleration during the current window period, perform a take-off detection on the user to output a take-off detection result;

[0075] 035: Based on the average slope of the resultant acceleration during the current window period and the minimum value of the resultant acceleration during the current window period, perform a leave-the-ground detection on the user to output a leave-the-ground detection result;

[0076] 037: Based on the average slope of the resultant acceleration during the current window period, the maximum and minimum values of the resultant acceleration during the next window period, perform a landing detection on the user to output a landing detection result; and

[0077] 039: Determine whether the user wearing the earphone is currently performing a bounce according to the squat detection result, the take-off detection result, the leave-the-ground detection result, and the landing detection result.

[0078] The control method of the above-mentioned earphone can be applied to the earphone 10, and the control module 11 is further configured to: perform a squat detection on the user based on the maximum value and the minimum value of the resultant acceleration during the current window period to output a squat detection result; perform a takeoff detection on the user based on the maximum value and the minimum value of the resultant acceleration during the current window period to output a takeoff detection result; perform a liftoff detection on the user based on the average slope of the resultant acceleration during the current window period and the minimum value of the resultant acceleration during the current window period to output a liftoff detection result; perform a landing detection on the user based on the average slope of the resultant acceleration during the current window period, the maximum value and the minimum value of the resultant acceleration during the next window period to output a landing detection result; and determine whether the user wearing the earphone is currently performing a bounce according to the squat detection result, the takeoff detection result, the liftoff detection result and the landing detection result.

[0079] Specifically, the entire body movement process of the user performing a bounce can be split into four parts, namely, squatting, takeoff, leaving the ground, and landing. In this application, squatting, takeoff, and leaving the ground are classified within the current window period, and landing is classified within the next window period. In step 031, since the user drives the earphone 10 worn by himself / herself to move downward during squatting, the resultant acceleration of the earphone 10 changes as the user squats. The control module 11 performs squat detection on the user based on the maximum value and minimum value of the resultant acceleration within the current window period to output a squat detection result. In step 033, since the user drives the earphone 10 worn by himself / herself to move upward during takeoff, the resultant acceleration of the earphone 10 changes as the user takes off. Therefore, the control module 11 performs takeoff detection on the user based on the maximum value and minimum value of the resultant acceleration within the current window period to output a takeoff detection result. In step 035, since the user drives the earphone 10 worn by himself / herself to move upward during leaving the ground, the resultant acceleration of the earphone 10 changes as the user leaves the ground. At the same time, during the entire landing process, the average slope of the resultant acceleration also changes. Therefore, the control module 11 performs leaving-the-ground detection on the user based on the average slope of the resultant acceleration within the current window period and the minimum value of the resultant acceleration within the current window period to output a leaving-the-ground detection result. In step 037, since the user drives the earphone 10 worn by himself / herself to move downward during landing, the resultant acceleration of the earphone 10 changes as the user lands. At the same time, during the entire landing process, the average slope of the resultant acceleration also changes. Therefore, the control module 11 performs landing detection on the user based on the average slope of the resultant acceleration within the current window period, the maximum value and minimum value of the resultant acceleration within the next window period to output a landing detection result. In step 039, the control module 11 can determine whether the user wearing the earphone is currently performing a bounce according to the squat detection result, takeoff detection result, leaving-the-ground detection result, and landing detection result. The entire detection process will be described in more detail below.

[0080] Please refer to Figure 4 and Figure 8 , in some embodiments, step 031 includes:

[0081] 0311: When the maximum value of the resultant acceleration within the current window period is greater than the preset first maximum limit threshold and the minimum value of the resultant acceleration within the current window period is less than the preset first minimum limit threshold, determine that the squat detection result is "squat"; and

[0082] 0313: When the maximum value of the combined acceleration within the current window period is less than the preset first maximum limit threshold, or when the minimum value of the combined acceleration within the current window period is greater than the preset first minimum limit threshold, it is determined that the squat detection result is "not squatting".

[0083] The above headphone control method can be applied to headphone 10. The control module 11 is further configured to determine that the squat detection result is "squatting" when the maximum value of the combined acceleration within the current window period is greater than the preset first maximum limit threshold and the minimum value of the combined acceleration within the current window period is less than the preset first minimum limit threshold; and to determine that the squat detection result is "not squatting" when the maximum value of the combined acceleration within the current window period is less than the preset first maximum limit threshold, or when the minimum value of the combined acceleration within the current window period is greater than the preset first minimum limit threshold.

[0084] Specifically, if the user wearing the headphone 10 makes a squatting motion, first, the headphone 10 will briefly float and then be subjected to a downward pulling force until the headphone 10 reaches the lowest point of the user's squatting process. Therefore, the fact that the maximum value of the combined acceleration within the current window period is greater than the preset first maximum limit threshold can indicate that the headphone 10 worn by the user is accelerating at a relatively fast speed, and the fact that the minimum value of the combined acceleration within the current window period is less than the preset first minimum limit threshold can indicate that the headphone 10 worn by the user suddenly decelerates after accelerating at a relatively fast speed until the speed becomes zero. At this time, the control module 11 determines that the squat detection result is "squatting". On the contrary, if the combined acceleration does not meet the above conditions, that is, when the maximum value of the combined acceleration within the current window period is less than the preset first maximum limit threshold, or when the minimum value of the combined acceleration within the current window period is greater than the preset first minimum limit threshold, the control module 11 determines that the squat detection result is "not squatting". When the squat detection result is "squatting", the control module 11 will continue with the subsequent detection. If the squat detection result is "not squatting", the control module 11 will end the bounce detection process and wait for step 01 to be executed again.

[0085] Please refer to Figure 4 and Figure 8 , in some embodiments, step 033 includes:

[0086] 0331: When the maximum value of the combined acceleration within the current window period is greater than the preset second maximum limit threshold and the minimum value of the combined acceleration within the current window period is less than the preset second minimum limit threshold, it is determined that the takeoff detection result is "takeoff"; and

[0087] 0333: When the maximum value of the resultant acceleration within the current window period is less than a preset second maximum limit threshold, or when the minimum value of the resultant acceleration within the current window period is greater than a preset second minimum limit threshold, determine that the takeoff detection result is "not takeoff".

[0088] The above headphone control method can be applied to headphone 10. The control module 11 is further configured for 0331: When the maximum value of the resultant acceleration within the current window period is greater than a preset second maximum limit threshold, and when the minimum value of the resultant acceleration within the current window period is less than a preset second minimum limit threshold, determine that the takeoff detection result is "takeoff"; and when the maximum value of the resultant acceleration within the current window period is less than a preset second maximum limit threshold, or when the minimum value of the resultant acceleration within the current window period is greater than a preset second minimum limit threshold, determine that the takeoff detection result is "not takeoff".

[0089] Specifically, if the user wearing the headphone 10 makes a takeoff movement, the headphone 10 will be subjected to an upward pulling force as the user wearing the headphone 10 jumps upward until the user leaves the ground. Therefore, when the maximum value of the resultant acceleration within the current window period is greater than a preset second maximum limit threshold, it can indicate that the headphone 10 worn by the user is accelerating at a relatively fast speed. When the minimum value of the resultant acceleration within the current window period is less than a preset second minimum limit threshold, it can indicate that after the headphone 10 worn by the user has accelerated to a relatively high speed, its own speed has accelerated to a relatively high value, and at the same time the resultant acceleration has rapidly decreased to a very small value. At this time, the resultant acceleration meets the characteristics of the user performing a takeoff, and the control module 11 determines that the takeoff detection result is "takeoff". On the contrary, if the resultant acceleration does not meet the above conditions, that is, when the maximum value of the resultant acceleration within the current window period is less than a preset second maximum limit threshold, or when the minimum value of the resultant acceleration within the current window period is greater than a preset second minimum limit threshold, the control module 11 determines that the takeoff detection result is "not takeoff". When the takeoff detection result is "takeoff", the control module 11 will continue with subsequent detections. If the takeoff detection result is "not takeoff", the control module 11 will end the bounce detection process and wait for step 01 to be executed again.

[0090] Please refer to Figure 4 and Figure 8 , in some embodiments, step 035 includes:

[0091] 0351: When the average slope of the resultant acceleration within the current window period is within a preset first slope threshold range, and when the minimum value of the resultant acceleration within the current window period is less than a preset third minimum limit threshold, determine that the liftoff detection result is "liftoff"; and

[0092] 0353: When the average slope of the resultant acceleration during the current window period is outside the preset first slope threshold range, or when the minimum value of the resultant acceleration during the current window period is greater than the preset third minimum limit threshold, determine that the ground detachment detection result is "not detached from the ground".

[0093] The above-mentioned headphone control method can be applied to headphone 10. The control module 11 is further configured to determine that the ground detachment detection result is "detached from the ground" when the average slope of the resultant acceleration during the current window period is within the preset first slope threshold range and the minimum value of the resultant acceleration during the current window period is less than the preset third minimum limit threshold; and to determine that the ground detachment detection result is "not detached from the ground" when the average slope of the resultant acceleration during the current window period is outside the preset first slope threshold range, or when the minimum value of the resultant acceleration during the current window period is greater than the preset third minimum limit threshold.

[0094] Specifically, if the user wearing the headphone 10 starts in a state of being detached from the ground, the headphone 10 will move upward with the user wearing the headphone 10 until there is no external pulling force. Therefore, when the average slope of the resultant acceleration during the current window period is within the preset first slope threshold range, it can indicate that the resultant acceleration of the headphone 10 worn by the user gradually decreases and remains within a small range. At the same time, when the minimum value of the resultant acceleration during the current window period is less than the preset third minimum limit threshold (the third minimum limit threshold is usually close to zero), it can indicate that the resultant acceleration of the headphone 10 worn by the user decreases to near zero. At this time, the control module 11 determines that the ground detachment detection result is "detached from the ground". On the contrary, if the resultant acceleration does not meet the above conditions, that is, when the average slope of the resultant acceleration during the current window period is outside the preset first slope threshold range, or when the minimum value of the resultant acceleration during the current window period is greater than the preset third minimum limit threshold, the control module 11 determines that the ground detachment detection result is "not detached from the ground". When the ground detachment detection result is "detached from the ground", the control module 11 will continue with subsequent detections. If the ground detachment detection result is "not detached from the ground", the control module 11 will end the bounce detection process and wait for step 01 to be executed again.

[0095] Please refer to Figure 4 and Figure 8 , in some embodiments, step 037 includes:

[0096] 0371: When the average slope of the resultant acceleration during the current window period is within the preset second slope threshold range, the maximum value of the resultant acceleration during the next window period is greater than the preset third maximum limit threshold, and the minimum value of the resultant acceleration during the next window period is greater than the preset fourth minimum limit threshold, determine that the landing detection result is "landed"; and

[0097] 0373: When the average slope of the resultant acceleration during the current window period is outside the preset second slope threshold range, or the maximum value of the resultant acceleration during the next window period is less than the preset third maximum limit threshold, or the minimum value of the resultant acceleration during the next window period is less than the preset fourth minimum limit threshold, it is determined that the landing detection result is "not landed".

[0098] The above headphone control method can be applied to headphone 10. The control module 11 is further configured to determine that the landing detection result is "landed" when the average slope of the resultant acceleration during the current window period is within the preset second slope threshold range, the maximum value of the resultant acceleration during the next window period is greater than the preset third maximum limit threshold, and the minimum value of the resultant acceleration during the next window period is greater than the preset fourth minimum limit threshold; and to determine that the landing detection result is "not landed" when the average slope of the resultant acceleration during the current window period is outside the preset second slope threshold range, or the maximum value of the resultant acceleration during the next window period is less than the preset third maximum limit threshold, or the minimum value of the resultant acceleration during the next window period is less than the preset fourth minimum limit threshold.

[0099] Specifically, if the user wearing the headphone 10 starts in a landing state, the headphone 10 will drop downward with the downward inertia of the user wearing the headphone 10, that is, the headphone 10 suddenly receives a downward pulling force, that is, the resultant acceleration of the headphone 10 is first near zero, and then suddenly increases sharply, that is, the slope of the resultant acceleration suddenly increases. Therefore, when the average slope of the resultant acceleration during the current window period is within the preset second slope threshold range, it can indicate that the resultant acceleration of the headphone 10 worn by the user suddenly increases sharply from near zero and remains within a relatively large range. At the same time, when the maximum value of the resultant acceleration during the current window period is greater than the preset third maximum limit threshold and the minimum value of the resultant acceleration during the next window period is greater than the preset fourth minimum limit threshold, it can indicate that under the influence of an external force, the resultant acceleration of the headphone 10 worn by the user increases to a relatively large value. At this time, the control module 11 determines that the landing detection result is "landed". On the contrary, if the resultant acceleration does not meet the above conditions, that is, when the average slope of the resultant acceleration during the current window period is outside the preset second slope threshold range, or the maximum value of the resultant acceleration during the next window period is less than the preset third maximum limit threshold, or the minimum value of the resultant acceleration during the next window period is less than the preset fourth minimum limit threshold, the control module 11 determines that the landing detection result is "not landed". When the landing detection result is "landed", the control module 11 will continue with the subsequent steps. If the landing detection result is "not landed", the control module 11 will wait again for step 01 to be executed again.

[0100] Please refer to Figure 4 and Figure 9, in some embodiments, the first bounce parameter includes a first bounce height, and step 05 includes:

[0101] 051: Obtain the airborne time when the user performs a bounce. The airborne time is the interval between the moment the user leaves the ground and the moment the user lands; and

[0102] 053: Obtain the first bounce height based on the airborne time and the acceleration due to gravity.

[0103] The above control method for the earphone can be applied to the earphone 10. The control module 11 is further configured to obtain the airborne time when the user performs a bounce. The airborne time is the interval between the moment the user leaves the ground and the moment the user lands; and obtain the first bounce height based on the airborne time and the acceleration due to gravity.

[0104] Specifically, after determining the takeoff detection result and the landing detection result, the airborne time when the user performs a bounce can be determined according to the interval between the moment the user leaves the ground and the moment the user lands. During the process of the user bouncing off the ground and landing, the user first moves the center of gravity of his own body away from the ground and moves upward to the highest point by inertia. The instantaneous velocity at the moment when the user is at the highest point in the air is zero. During this process, the user is only affected by the acceleration due to gravity. After that, under the influence of the acceleration due to gravity, the user performs free fall motion until landing. Therefore, the ascending time in the air is the same as the landing time. The height of the free fall motion can be directly calculated according to the airborne time and the acceleration due to gravity. The height of the free fall motion is the first bounce height.

[0105] Please refer to Figure 4 and Figure 10 , in some embodiments, step 051 includes:

[0106] 0511: Determine the takeoff moment when the user currently performs a bounce based on the average slope of the resultant acceleration during the current window period and the minimum value of the resultant acceleration during the current window period;

[0107] 0513: Determine the landing moment when the user currently performs a bounce based on the average slope of the resultant acceleration during the current window period, the maximum value and the minimum value of the resultant acceleration during the next window period; and

[0108] 0515: Determine the interval between the landing moment and the takeoff moment as the airborne time.

[0109] The control method of the above-mentioned earphone can be applied to the earphone 10. The control module 11 is further configured to determine the take-off moment when the user is currently performing a bounce based on the average slope of the resultant acceleration during the current window period and the minimum value of the resultant acceleration during the current window period; determine the landing moment when the user is currently performing a bounce based on the average slope of the resultant acceleration during the current window period, the maximum value and the minimum value of the resultant acceleration during the next window period; and determine the interval time between the landing moment and the take-off moment as the airborne time.

[0110] It can be understood that in step 0511, at the moment of take-off, the resultant acceleration of the user will suddenly change from a value close to zero to the downward gravitational acceleration, which causes the average slope of the resultant acceleration to also change suddenly. Therefore, the control module 11 can determine the take-off moment based on the average slope of the resultant acceleration during the current window period and the minimum value of the resultant acceleration during the current window period. In step 0513, at the moment of landing, the resultant acceleration of the user will start from the gravitational acceleration and suddenly decrease significantly. And during the next window period after landing, the earphone 10 worn by the user will be subjected to an upward force. Before the earphone 10 stops moving, the resultant acceleration will first increase and then decrease. Therefore, the control module 11 can determine the landing moment when the user is currently performing a bounce based on the average slope of the resultant acceleration during the current window period, the maximum value and the minimum value of the resultant acceleration during the next window period, and then determine the interval time between the landing moment and the take-off moment as the airborne time.

[0111] Please refer to Figure 4 and Figure 11 , in some embodiments, step 07 includes:

[0112] 071: Obtain the average value of the bounce parameters when the user has historically performed a bounce according to the second bounce parameter;

[0113] 073: Calculate the difference between the first bounce parameter and the average value of the bounce parameters; and

[0114] 075: Determine the degree of recovery according to the difference and a preset difference threshold.

[0115] The control method of the above-mentioned earphone can be applied to the earphone 10. The control module 11 is further configured to obtain the average value of the bounce parameters when the user has historically performed a bounce according to the second bounce parameter; calculate the difference between the first bounce parameter and the average value of the bounce parameters; and determine the degree of recovery according to the difference and a preset difference threshold.

[0116] Specifically, in step 071, the user can store the preset bounce parameters in the earphone 10, or, through multiple uses of the earphone 10 to test the degree of neuromuscular recovery, store multiple bounce parameters in the earphone 10. The control module 11 can determine the average value of the bounce parameters when the user historically performed bounces according to the pre-stored second bounce parameters, that is, the bounce parameters when the user historically performed bounces. In steps 073 and 075, the control module can determine the degree of recovery according to the comparison of the difference between the calculated first bounce parameter and the average value of the bounce parameters with the preset difference threshold. For example, if the difference between the first bounce parameter and the average value of the bounce parameters is greater than the preset difference threshold, and the first bounce parameter is greater than the average value of the bounce parameters, the degree of recovery is the best. If the difference between the first bounce parameter and the average value of the bounce parameters is less than the preset difference threshold, and the first bounce parameter is greater than the average value of the bounce parameters, the degree of recovery is excellent. If the first bounce parameter is the same as the average value of the bounce parameters, the degree of recovery is good. If the difference between the first bounce parameter and the average value of the bounce parameters is less than the preset difference threshold, and the first bounce parameter is less than the average value of the bounce parameters, the degree of recovery is average; if the difference between the first bounce parameter and the average value of the bounce parameters is greater than the preset difference threshold, and the first bounce parameter is less than the average value of the bounce parameters, the degree of recovery is poor.

[0117] In some embodiments, the first bounce parameter is the bounce parameter when the user performs one bounce; or, the first bounce parameter is the average value of the bounce parameters when the user performs multiple bounces.

[0118] It can be understood that the user can choose to determine the degree of neuromuscular recovery every time a bounce is performed, or can choose to take the average value of the bounce parameters generated by multiple bounces after performing multiple bounces and compare it with the average value of the bounce parameters when the user historically performed bounces, so as to reduce errors and obtain a more accurate degree of neuromuscular recovery.

[0119] Please refer to Figure 3 and Figure 4 , in some embodiments, the control method of the present application further includes:

[0120] 09: Provide exercise suggestions according to the degree of recovery.

[0121] The above control method of the earphone can be applied to the earphone 10, and the control module 11 is further configured to provide exercise suggestions according to the degree of recovery.

[0122] Specifically, after obtaining the degree of recovery, the control module 11 can provide exercise suggestions according to the degree of recovery. For example, when the degree of recovery is optimal, the control module 11 prompts the user that they are currently in the best state suitable for competition. If still in the training cycle, it is recommended to increase the total training volume by 5-10%. When the degree of recovery is excellent, the control module 11 prompts the user that if the competition is approaching, it is recommended to maintain the current training volume. If still in the training cycle, it is recommended to increase the total training volume by 5-10%. When the degree of recovery is good, the control module 11 recommends that the user take a 10-15 minute slow walk for relaxation at the end of each exercise, which helps reduce neuromuscular fatigue. When the degree of recovery is average, the control module 11 recommends that the user perform a bounce test once a week to continuously monitor the degree of recovery. Take a 10-15 minute slow walk for relaxation at the end of each exercise, which helps reduce neuromuscular fatigue. When the degree of recovery is poor, the control module 11 recommends that the user rest for the next 1-2 days, only perform 20-30 minutes of light aerobic exercise in heart rate zones 1-2 to actively recover neuromuscular fatigue, and supplement it with a 20-minute ice bath for the lower limbs to promote body circulation and metabolism.

[0123] In summary, for the control method of the earphone provided by the present application, when the user wearing the earphone 10 performs a bounce, the first bounce parameter when the user performs the bounce is obtained, and the degree of recovery of the neuromuscular of the user is obtained according to the first bounce parameter and the second bounce parameter of the user's historical bounce stored in the earphone 10. Since the first bounce parameter can reflect the current neuromuscular state of the user, the current degree of recovery of the neuromuscular of the user can be obtained according to the first bounce parameter and the second bounce parameter of the user's historical bounce, thereby improving the accuracy of the evaluation of the degree of recovery of the neuromuscular and ensuring the accurate formulation of subsequent exercise plans.

[0124] Please refer to Figure 2 、 Figure 3 and Figure 12 In some embodiments, the present application further provides a computer-readable storage medium 200, on which a computer program 202 is stored, and when the program is executed by a processor, the control method in any one of the above embodiments is implemented.

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

[0126] 05: When the user wearing the earphone 10 performs a bounce, obtain the first bounce parameter when the user performs the bounce; and

[0127] 07: Obtain the degree of recovery of the neuromuscular of the user according to the first bounce parameter and the second bounce parameter stored in the earphone 10, and the second bounce parameter is the bounce parameter when the user historically performs a bounce.

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

[0129] 01: Obtain the detection data collected by the sensor module 12 during at least two preset windows;

[0130] 02: Process the detection data to obtain processed data; and

[0131] 03: Determine whether the user wearing the earphone 10 is currently performing a bounce according to the processed data.

[0132] For another example, when the computer program 202 is executed by the processor 20, it can also implement the control methods in 021, 022, 023, 024, 025, 026, 027, 031, 0311, 0313, 033, 0331, 0333, 035, 0351, 0353, 037, 0371, 0373, 039, 051, 0511, 0513, 0515, 053, 071, 073, 075 and 09.

[0133] In the computer-readable storage medium 200 of the present application, when the user wearing the earphone 10 performs a bounce, the first bounce parameter when the user performs the bounce is obtained, and the degree of recovery of the user's neuromuscular is obtained according to the first bounce parameter and the second bounce parameter when the user's historical bounce is pre-stored in the earphone 10. Since the first bounce parameter can reflect the current neuromuscular state of the user, the degree of recovery of the user's current neuromuscular can be obtained according to the first bounce parameter and the second bounce parameter when the user's historical bounce is performed, thereby improving the accuracy of the evaluation of the degree of recovery of the neuromuscular to ensure the accurate formulation of subsequent exercise programs.

[0134] In the description of this specification, the descriptions referring to terms such as "certain embodiments", "in an example", "exemplarily", etc. mean that the specific features, structures, materials or characteristics described in connection 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 can be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples.

[0135] Any process or method description, whether in a flowchart or otherwise described herein, can be understood to represent a module, segment, or portion of code including one or more executable instructions for implementing a specific logical function or process. The scope of the preferred embodiments of the present application includes additional implementations, where functions may be executed in a substantially simultaneous manner or in a reverse order according to the functions involved, rather than in the order shown or discussed. This should be understood by those skilled in the art to which the embodiments of the present application pertain.

[0136] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present application. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present application.

Claims

1. A method for controlling a headset, characterized in that: include: When a user wearing the headset performs bouncing, obtaining a first bouncing parameter when the user performs bouncing; and The neuromuscular recovery degree of the user is obtained according to the first bounce parameter and a second bounce parameter pre-stored in the headset, wherein the second bounce parameter is a bounce parameter of the user when performing bounce in the past.

2. The control method according to claim 1, characterized in that: The earphone comprises a sensor module; and further comprises: Acquire detection data collected by the sensor module during at least two preset windows; Processing the detection data to obtain processed data; and A determination is made based on the processed data whether a user wearing the headset is currently performing bouncing.

3. The control method according to claim 2, characterized in that: The sensor module includes an accelerometer, and the detection data includes initial three-axis acceleration collected by the accelerometer; The processing of the detection data to obtain processed data includes: Fusion of the three-axis acceleration at each preset moment during the window period to obtain a combined acceleration at the preset moment; Calculating the average slope of the combined acceleration at all the preset moments during the window period; and The maximum value and the minimum value of the combined acceleration within the window period are calculated.

4. The control method according to claim 2, characterized in that: The sensor module includes an accelerometer, and the detection data includes initial three-axis acceleration collected by the accelerometer; and the processing of the detection data to obtain processed data further includes: Filtering the initial three-axis acceleration to obtain filtered three-axis acceleration; Fusing the filtered three-axis acceleration at each preset moment during the window period to obtain a combined acceleration at the preset moment; Calculating the average slope of the combined acceleration during the window period; and The maximum value and the minimum value of the combined acceleration within the window period are calculated.

5. The control method according to claim 3 or 4, characterized in that: The jumping includes squatting, jumping, leaving the ground and landing, the squatting, jumping and leaving the ground are within the current window period, and the landing is within the next window period; The determining, according to the processed data, whether the user wearing the headset is currently performing bouncing comprises: Based on the maximum value and the minimum value of the combined acceleration within the current window period, performing squat detection on the user to output a squat detection result; Based on the maximum value and the minimum value of the combined acceleration within the current window period, performing a take-off detection on the user to output a take-off detection result; Performing a lift-off detection on the user based on an average slope of the combined acceleration during the current window period and a minimum value of the combined acceleration during the current window period to output a lift-off detection result; Performing landing detection on the user based on the average slope of the combined acceleration during the current window period and the maximum and minimum values ​​of the combined acceleration during the next window period to output a landing detection result; and Determine whether the user wearing the headset is currently performing jumping according to the squat detection result, the take-off detection result, the lift-off detection result and the landing detection result.

6. The control method according to claim 5, characterized in that: The performing squat detection on the user based on the maximum value and the minimum value of the combined acceleration within the current window period to output a squat detection result includes: When the maximum value of the combined acceleration during the current window period is greater than a preset first maximum limit threshold, and the minimum value of the combined acceleration during the current window period is less than a preset first minimum limit threshold, the squat detection result is determined to be "squatting"; and When the maximum value of the combined acceleration during the current window period is less than the preset first maximum limit threshold, or the minimum value of the combined acceleration during the current window period is greater than the preset first minimum limit threshold, the squat detection result is determined to be "not squatting".

7. The control method according to claim 5, characterized in that: The performing a take-off detection on the user based on the maximum value and the minimum value of the combined acceleration within the current window period to output a take-off detection result includes: When the maximum value of the combined acceleration during the current window period is greater than a preset second maximum limit threshold, and the minimum value of the combined acceleration during the current window period is less than a preset second minimum limit threshold, the take-off detection result is determined to be "take-off"; and When the maximum value of the combined acceleration during the current window period is less than the preset second maximum limit threshold, or the minimum value of the combined acceleration during the current window period is greater than the preset second minimum limit threshold, the take-off detection result is determined to be "no take-off".

8. The control method according to claim 5, characterized in that: The performing a lift-off detection on the user based on the average slope of the combined acceleration during the current window period and the minimum value of the combined acceleration during the current window period to output a lift-off detection result includes: When the average slope of the combined acceleration during the current window period is within a preset first slope threshold range, and the minimum value of the combined acceleration during the current window period is less than a preset third minimum limit threshold, the lift-off detection result is determined to be "lift-off"; and When the average slope of the combined acceleration during the current window period is outside the preset first slope threshold range, or when the minimum value of the combined acceleration during the current window period is greater than the preset third minimum limit threshold, the lift-off detection result is determined to be "not lifted off the ground".

9. The control method according to claim 5, characterized in that: The performing landing detection on the user based on the average slope of the combined acceleration during the current window period and the maximum value and the minimum value of the combined acceleration during the next window period to output a landing detection result includes: When the average slope of the combined acceleration during the current window period is within the preset second slope threshold range, the maximum value of the combined acceleration during the next window period is greater than the preset third maximum limit threshold, and the minimum value of the combined acceleration during the next window period is greater than the preset fourth minimum limit threshold, the landing detection result is determined to be "landing"; and When the average slope of the combined acceleration during the current window period is outside the preset second slope threshold range, or the maximum value of the combined acceleration during the next window period is less than the preset third maximum limit threshold, or the minimum value of the combined acceleration during the next window period is less than the preset fourth minimum limit threshold, the landing detection result is determined to be "not landing".

10. The control method according to claim 3 or 4, characterized in that: The first bounce parameter includes a first bounce height; obtaining the first bounce parameter when the user performs the bounce includes: Obtaining the flight time of the user when performing a jump, where the flight time is the interval between the moment when the user leaves the ground and the moment when the user lands; and The first jumping height is obtained according to the flying time and the gravitational acceleration.

11. The control method according to claim 10, characterized in that: The obtaining of the flying time of the user when performing the bounce includes: Determine the lift-off moment when the user is currently performing a jump based on the average slope of the combined acceleration during the current window period and the minimum value of the combined acceleration during the current window period; Determine the landing time of the user's current jump based on the average slope of the combined acceleration during the current window period and the maximum and minimum values ​​of the combined acceleration during the next window period; and The interval time between the landing time and the lift-off time is determined as the flight time.

12. The control method according to claim 1, characterized in that: The obtaining the degree of neuromuscular recovery of the user according to the first bounce parameter and the second bounce parameter pre-stored in the headset includes: According to the second bounce parameter, an average bounce parameter value of the user's historical bounce execution is obtained; calculating a difference between the first bounce parameter and the average bounce parameter value; and The recovery degree is determined according to the difference and a preset difference threshold.

13. The control method according to claim 12, characterized in that: The first bounce parameter is a bounce parameter when the user performs one bounce; or, the first bounce parameter is an average value of the bounce parameters when the user performs multiple bounces.

14. The control method according to claim 1, characterized in that: Also includes: Provides exercise recommendations based on the level of recovery described.

15. An earphone, characterized in that: The earphone comprises: A sensor module, used to collect 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-14.

16. The earphone according to claim 15, characterized in that The earphone is a bone conduction earphone or an air conduction earphone.

17. 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 14 is implemented.