Headphone prompt method, device, headphone and storage medium

By detecting the power consumption in the wearable state of the headset and outputting reminder information, the problem that headsets in the prior art are difficult to accurately identify the wearer's fatigue state, and the accuracy of fatigue state recognition is improved.

CN115460495BActive Publication Date: 2025-05-16SHENZHEN Y-COM TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211110393.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-13
Publication Date
2025-05-16
Estimated Expiration
2042-09-13

AI Technical Summary

Technical Problem

The prior art is difficult to accurately identify the fatigue status of the headphone wearer, mainly because it cannot accurately reflect the working status of the headphones and the real use status of the user.

Method used

By detecting the power consumption in the headset's wearing state, when the power consumption is greater than the preset power threshold, a reminder information is output to indicate that the wearer is in a fatigue state.

Benefits of technology

Improves the accuracy of headphones to identify fatigue states and reduces the inaccurate power consumption caused by headphones when they are running but not wearing them.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115460495B_ABST
    Figure CN115460495B_ABST
Patent Text Reader

Abstract

The present invention discloses an earphone prompt method, an earphone prompt device, an earphone and a storage medium, which belong to the technical field of smart devices. The method comprises: obtaining the power consumption of the earphone when it is worn; when the power consumption is greater than a preset power threshold, outputting a reminder message, and the preset power threshold indicates that the wearer of the earphone is in a fatigue state. The present application achieves improved accuracy in fatigue state recognition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent devices, and in particular to an earphone prompting method, an earphone prompting device, an earphone and a storage medium. Background Art

[0002] As headphones are used more and more frequently, there are users who use them for a long time. Due to long-term use, fatigue may occur, which may lead to dangerous situations. At present, the fatigue state of the user is often judged by the continuous operation time of the headphones. However, this method can only determine the operation time and cannot reflect the actual usage status of the user. At the same time, since it cannot reflect the working status of the headphones, the fatigue state recognition is inaccurate.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present invention is to provide an earphone prompting method, an earphone prompting device, an earphone and a storage medium, aiming to improve the accuracy of the earphone in identifying the fatigue state.

[0005] To achieve the above object, the present invention provides an earphone prompting method, which comprises the following steps:

[0006] Obtaining power consumption of the headset when it is in a wearing state;

[0007] When the power consumption is greater than a preset power threshold, a reminder message is output, and the preset power threshold indicates that the wearer of the headset is in a fatigue state.

[0008] Optionally, before the step of outputting the reminder information, the step further includes:

[0009] The reminder information is determined according to a preset voice, where the preset voice is an audio pre-stored in the headset or a recording recorded by the headset.

[0010] Optionally, after the step of outputting the reminder information, the step further includes:

[0011] When it is detected that the earphone is tapped, the output of the reminder information is stopped.

[0012] Optionally, before the step of stopping outputting the reminder information when the earphone is detected to be tapped, the method further includes:

[0013] Determining a time interval for detecting that the earphone is tapped according to the playing time of the reminder information;

[0014] Detecting the pressure value of the earphone within the time interval;

[0015] When the pressure value is greater than a preset pressure value, it is determined that the earphone is detected to be tapped.

[0016] Optionally, the step of obtaining power consumption of the headset when it is in a wearing state includes:

[0017] Acquire a first power level and a second power level of the headset in a wearing state, wherein the first power level is the power level of the headset at the time of entering the wearing state, and the second power level is the power level of the headset at the current time;

[0018] A difference between the first power level and the second power level is calculated as the power consumption.

[0019] Optionally, before the step of outputting a reminder message when the power consumption is greater than a preset power threshold, the step further includes:

[0020] When the power consumption is greater than a preset power consumption threshold, and the number of times the operating state of the headset is adjusted within a preset time period is greater than a preset number of times, determining that the first power threshold is the preset power threshold, and the preset power consumption threshold is less than the preset power threshold;

[0021] When the power consumption is greater than a preset power consumption threshold, and the number of times the operating state of the headset is adjusted within a preset time period is less than or equal to the preset number of times, determining that the second power threshold is the preset power threshold, and the first power threshold is greater than the second power threshold;

[0022] Determine to execute the step of outputting a reminder message when the power consumption is greater than a preset power threshold. Optionally, before the step of obtaining the power consumption of the headset when it is in a wearing state, it also includes:

[0023] Acquire a first movement direction of a left earphone and a second movement direction of a right earphone, wherein the left earphone is a left earphone of the earphone, and the right earphone is a right earphone of the earphone;

[0024] When the first movement direction is the same as the second movement direction and the earphone is in a running state, it is determined that the earphone is in a wearing state.

[0025] In addition, to achieve the above object, the present invention further provides an earphone prompting device, the earphone prompting device comprising:

[0026] A detection module, used to obtain the power consumption of the headset when it is in a wearing state;

[0027] The output module is used to output a reminder message when the power consumption is greater than a preset power threshold, and the preset power threshold indicates that the wearer of the headset is in a fatigue state.

[0028] In addition, to achieve the above-mentioned purpose, the present invention also provides an earphone, which includes: a memory, a processor, and an earphone prompt program stored in the memory and executable on the processor, and the earphone prompt program is configured to implement the steps of any of the above-mentioned earphone prompt methods.

[0029] In addition, to achieve the above-mentioned purpose, the present invention also provides a storage medium, on which a headphone prompt program is stored, and when the headphone prompt program is executed by a processor, the steps of any one of the headphone prompt methods described above are implemented.

[0030] The present invention proposes an earphone prompt method, the earphone prompt method comprising the following steps: obtaining the power consumption of the earphone when it is worn; when the power consumption is greater than a preset power threshold, outputting a reminder message, the preset power threshold characterizing that the wearer of the earphone is in a fatigue state. Compared with the method of determining the fatigue state by time, the present invention detects the power consumption when the earphone is worn, reduces the inaccurate power consumption caused by the earphone being in operation but not worn, and characterizes that the wearer of the earphone is in a fatigue state by the power consumption, reflecting the factors of both time and power consumption. Since playback with different power consumption is related to the fatigue state, the accuracy of fatigue state recognition is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 is a schematic diagram of the structure of a headset in a hardware operating environment involved in an embodiment of the present invention;

[0032] Figure 2 It is a flowchart of a first embodiment of the headphone prompting method of the present invention;

[0033] Figure 3 It is a flowchart of a third embodiment of the headphone prompting method of the present invention;

[0034] Figure 4 It is a flowchart diagram of a fourth embodiment of the headphone prompting method of the present invention;

[0035] Figure 5 It is a flowchart of a sixth embodiment of the headphone prompting method of the present invention;

[0036] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0037] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0038] Reference Figure 1 , Figure 1 A schematic diagram of the earphone structure of the hardware operating environment involved in the embodiment of the present invention.

[0039] like Figure 1 As shown, the headset may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, an interaction module 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The interaction module 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional interaction module 1003 may also be connected to the communication bus 1002 using a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0040] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the earphone, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0041] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, and an earphone prompt program.

[0042] exist Figure 1 In the headset shown, the network interface 1004 is mainly used for data communication with other devices; the interaction module 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the headset of the present invention can be set in the headset, and the headset calls the headset prompt program stored in the memory 1005 through the processor 1001, and executes the headset prompt method provided by the embodiment of the present invention.

[0043] The embodiment of the present invention provides an earphone prompt method, referring to Figure 2 , Figure 2 The figure is a flow chart of a first embodiment of an earphone prompting method according to the present invention.

[0044] In this embodiment, the earphone prompt method includes:

[0045] Step S10, obtaining the power consumption of the headset when it is in a wearing state;

[0046] The earphones here may be earphones with batteries, and the power consumption is determined by the power of the batteries. Or the earphones may be earphones without batteries, and the power consumption is determined by recording the power and time of the earphones. The wearing state here refers to the state in which the earphones are in working state and worn. That is, only one of the earphones being in working state and being worn by the user does not belong to the wearing state.

[0047] Step S20: when the power consumption is greater than a preset power threshold, output a reminder message, wherein the preset power threshold indicates that the wearer of the headset is in a fatigue state.

[0048] The preset power threshold here refers to the power threshold of the earphone's power consumption, and the preset power threshold can be set by the wearer, or can be set or changed by the system. The reminder information here can be an audio message, which is sent by the sound component to remind the user to rest. The reminder information can also be color information, which is displayed in different colors by the indicator light.

[0049] In this embodiment, compared with the method of determining the fatigue state by time, the embodiment of the present invention detects power consumption when the earphones are worn, thereby reducing inaccurate power consumption caused by the earphones being in operation but not worn, and characterizes the wearer of the earphones as being in a fatigue state by power consumption, reflecting the factors of both time and power consumption. Since playbacks with different power consumption are related to the fatigue state, the accuracy of fatigue state recognition is improved.

[0050] Furthermore, based on the first embodiment, a second embodiment of the headphone prompt method of the present invention is proposed. In this embodiment, before outputting the reminder information, the method further includes the following steps:

[0051] The reminder information is determined according to a preset voice, where the preset voice is an audio pre-stored in the headset or a recording recorded by the headset.

[0052] The preset voice here is sent through the generating device of the headset. Specifically, in this embodiment, it can be audio pre-stored in the headset, or it can be a recording recorded by the headset. The pre-stored audio can be audio obtained through a wired or wireless connection. In other embodiments, a vibration device can be set to output the reminder information through the vibration device.

[0053] In this embodiment, the user can be reminded in time by a preset voice, and the preset voice provides multiple choices for the audio pre-stored in the headset or the audio recorded in the headset, thereby improving the efficiency of the reminder.

[0054] Further, based on the above embodiments, a third embodiment of the earphone prompt method of the present invention is proposed, as follows: Figure 3 As shown, after the step of outputting the reminder information, it also includes:

[0055] When it is detected that the earphone is tapped, the output of the reminder information is stopped.

[0056] In this embodiment, a piezoelectric sensor is provided on the earphone, and pressure is detected by the piezoelectric sensor to determine whether the earphone is knocked. Specifically, when it is detected that the earphone is knocked, the output of the reminder information is stopped. In other embodiments, a physical button can be set, and when it is detected that the physical button is pressed, the output of the reminder information is stopped.

[0057] Further, when the earphone is detected to be tapped, before the output of the reminder message is stopped, the method further includes:

[0058] Step S201, determining a time interval for detecting that the earphone is tapped according to the playing time of the reminder information;

[0059] The playing time here refers to the time of the reminder information prompt, which can be the playing time of the audio or the flashing time of the indicator light. The time interval here is determined by the playing time and the time when the power consumption is greater than the preset power threshold. Specifically, in this embodiment, the playing time is 1 minute, the time when the power consumption is greater than the preset power threshold is 20 o'clock, and the time interval is determined to be 20 o'clock to 20:01.

[0060] Step S202, detecting the pressure value of the earphone within the time interval;

[0061] The earphone is provided with a piezoelectric sensor, and the pressure value here is determined by the piezoelectric sensor.

[0062] Step S203: When the pressure value is greater than a preset pressure value, it is determined that the earphone is detected to be tapped.

[0063] The preset pressure value can be set by the user, and when the pressure value is greater than the preset pressure value, it is determined that the earphone is detected to be tapped. Specifically, in other embodiments, piezoelectric sensors can be set on both earphones to detect the pressure of the earphones on both sides, and when the pressure difference between the earphones on both sides is greater than the preset pressure difference, it is determined that the earphone is detected to be tapped.

[0064] In this embodiment, by detecting the pressure value within the time interval and comparing it with a preset pressure value, when the pressure value is greater than the preset pressure value, it is determined that the earphone is detected to be tapped, thereby improving the convenience of detecting tapping.

[0065] Further, based on the above embodiments, a fourth embodiment of an earphone prompting method of the present invention is proposed, such as Figure 4 As shown, the step of obtaining the power consumption of the headset when it is in a wearing state includes:

[0066] Step S11, obtaining a first power level and a second power level of the headset in a wearing state, wherein the first power level is the power level of the headset at the time of entering the wearing state, and the second power level is the power level of the headset at the current moment;

[0067] In this embodiment, the earphone is an earphone with a battery, the first power here refers to the power of the battery of the earphone when the earphone is in a wearing state, and the second power is the power at the current moment. The voltage of the battery can be converted into power by an analog-to-digital conversion element, thereby determining the first power and the second power.

[0068] Step S12: calculating a difference between the first power level and the second power level as the power consumption.

[0069] The difference between the first power value and the second power value is used as the power consumption. Specifically, the first power is 200 mAh and the second power is 150 mAh, that is, the power consumption is 50 mAh. In other embodiments, the headset does not have a battery and is powered by an external power supply. The power consumption is determined by calculating the operating power and operating time of the headset.

[0070] By determining the power consumption by using the first power level and the second power level, the power consumed during wearing the headset can be accurately determined, thereby improving the accuracy of identifying the user's fatigue state.

[0071] Further, based on the above embodiment, a fifth embodiment of an earphone prompt method of the present invention is proposed, wherein before the step of outputting a reminder message when the power consumption is greater than a preset power threshold, the step further includes:

[0072] When the power consumption is greater than a preset power consumption threshold, and the number of times the operating state of the headset is adjusted within a preset time period is greater than a preset number of times, determining that the first power threshold is the preset power threshold, and the preset power consumption threshold is less than the preset power threshold;

[0073] When the power consumption is greater than a preset power consumption threshold, and the number of times the operating state of the headset is adjusted within a preset time period is less than or equal to the preset number of times, determining that the second power threshold is the preset power threshold, and the first power threshold is greater than the second power threshold;

[0074] Determine to execute the step of outputting a reminder message when the power consumption is greater than a preset power threshold.

[0075] The preset power consumption threshold here is less than the preset power threshold, and the preset power consumption threshold can be determined based on the preset power threshold, or it can be set to a fixed value. The preset time period here starts at the moment when the power consumption is greater than the preset power consumption threshold, and ends at the current moment. The preset number of times here can be determined based on the preset power threshold, or it can be set to a fixed value. The operating status here includes: switching working modes, adjusting volume, and playing at double speed, etc. When the operating status changes, the number of adjustments is recorded. After determining that the first power threshold is the preset power threshold, the preset power consumption threshold can be determined based on the preset power threshold, or it can remain unchanged.

[0076] Specifically, when the power consumption is greater than the preset power consumption threshold, the user frequently switches the working mode or adjusts the volume, so that the number of adjustments within the preset time is greater than the preset number, and the first power threshold is determined to be the preset power threshold to reflect that the user is not in a fatigue state for a period of time. In other embodiments, the preset power threshold is set by the user, and the preset power threshold is fixed in the wearing state.

[0077] In this embodiment, by setting a preset power consumption threshold, when the power consumption is greater than the preset power consumption threshold, that is, outside the time period when the headset needs to be adjusted after wearing, by recording the number of times the running state of the headset is adjusted within the preset time period, when the number of adjustments is greater than the preset number, it reflects that the user is still active, so the first power threshold is determined to be the preset power threshold, thereby improving the accuracy of fatigue state detection.

[0078] Further, based on the above embodiments, a sixth embodiment of an earphone prompting method of the present invention is proposed, such as Figure 5 As shown, before the step of obtaining the power consumption of the headset when it is in a wearing state, it also includes:

[0079] S011, obtaining a first movement direction of a left earphone and a second movement direction of a right earphone; the left earphone is a left earphone of the earphone, and the right earphone is a right earphone of the earphone;

[0080] The left earphone and the right earphone are provided with gravity sensors, through which the first movement direction of the left earphone and the second movement direction of the right earphone can be obtained, and specifically, the inclination direction and inclination angle of the earphone can be obtained.

[0081] S012: When the first movement direction is the same as the second movement direction and the earphone is in a running state, determine that the earphone is in a wearing state.

[0082] Specifically, in this embodiment, since the directions in which the wearer wears the left earphone and the right earphone are not exactly the same, an error angle is set, and the error angle is preset to a larger angle, such as 30 degrees. The first movement direction and the second movement direction of the user are recorded, and the average error angle of the first movement direction and the second movement direction is calculated, and the error angle is set according to the average error angle. When the angle difference between the first movement direction and the second movement direction is less than the error angle, and the earphone is in the running state, it is determined that the earphone is in the wearing state. In other embodiments, the first movement direction and the second movement direction are recorded at multiple consecutive moments. When the change angle of the first movement direction is the same as the change angle of the second movement direction, and the earphone is in the running state, it is determined that the earphone is in the wearing state. For example, at two moments, when the first movement direction is tilted 15° along the first orientation and the second movement direction is tilted 15° along the first orientation and the earphone is in the running state, it is determined that the earphone is in the wearing state. At two moments, when the first movement direction is tilted 15° along the first orientation and the second movement direction is tilted 30° along the first orientation, it does not belong to the wearing state.

[0083] The wearing state of the earphone is determined by the first movement direction and the second movement direction, so as to avoid obtaining the power consumption when the earphone is not worn, thereby improving the accuracy of identifying the power consumption and thus improving the accuracy of identifying that the wearer of the earphone is in a fatigue state.

[0084] In addition, an embodiment of the present invention further provides an earphone prompting device, the earphone prompting device comprising:

[0085] A detection module, used to obtain the power consumption of the headset when it is in a wearing state;

[0086] The output module is used to output a reminder message when the power consumption is greater than a preset power threshold, and the preset power threshold indicates that the wearer of the headset is in a fatigue state.

[0087] In addition, an embodiment of the present invention further proposes a storage medium, on which a headphone prompt program is stored. When the headphone prompt program is executed by a processor, the steps of the headphone prompt method described in any of the above embodiments are implemented.

[0088] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0089] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0090] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0091] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. An earphone prompting method, characterized in that: The earphone prompting method comprises the following steps: Acquire a first movement direction of a left earphone and a second movement direction of a right earphone, wherein the left earphone is a left earphone of the earphone, and the right earphone is a right earphone of the earphone; When the first movement direction is the same as the second movement direction and the headset is in an operating state, determining that the headset is in a wearing state, wherein the operating state includes switching a working mode, adjusting a volume, and playing at a double speed; Obtaining power consumption of the headset when it is in a wearing state; When the power consumption is greater than a preset power consumption threshold, and the number of times the operating state of the headset is adjusted within a preset time period is greater than a preset number of times, determining that the first power threshold is a preset power threshold, and the preset power consumption threshold is less than the preset power threshold; When the power consumption is greater than a preset power consumption threshold, and the number of times the operating state of the headset is adjusted within a preset time period is less than or equal to the preset number of times, determining that the second power threshold is the preset power threshold, and the first power threshold is greater than the second power threshold; When the power consumption is greater than the preset power threshold, a reminder message is output, and the preset power threshold indicates that the wearer of the headset is in a fatigue state.

2. The earphone prompting method according to claim 1, characterized in that: Before the step of outputting the reminder information, the method further includes: The reminder information is determined according to a preset voice, where the preset voice is an audio pre-stored in the headset or a recording recorded by the headset.

3. The earphone prompting method according to claim 1, characterized in that: After the step of outputting the reminder information, the method further includes: When it is detected that the earphone is tapped, the output of the reminder information is stopped.

4. The earphone prompting method according to claim 3, characterized in that: Before the step of stopping outputting the reminder information when the earphone is detected to be tapped, the method further includes: Determining a time interval for detecting that the earphone is tapped according to the playing time of the reminder information; Detecting the pressure value of the earphone within the time interval; When the pressure value is greater than a preset pressure value, it is determined that the earphone is detected to be tapped.

5. The earphone prompting method according to claim 1, characterized in that: The step of obtaining the power consumption of the headset when it is in a wearing state comprises: Acquire a first power level and a second power level of the headset in a wearing state, wherein the first power level is the power level of the headset at the time of entering the wearing state, and the second power level is the power level of the headset at the current time; A difference between the first power level and the second power level is calculated as the power consumption.

6. An earphone prompting device, characterized in that: The earphone prompting device comprises: a detection module, configured to obtain power consumption of the headset when it is in a wearing state, obtain a first movement direction of the left headset and a second movement direction of the right headset, wherein the left headset is a left headset of the headset, and the right headset is a right headset of the headset, and when the first movement direction is the same as the second movement direction and the headset is in a running state, determine that the headset is in a wearing state, and the running state includes switching a working mode, adjusting the volume, and playing at a double speed; An output module is used to output a reminder message when the power consumption is greater than a preset power threshold, the preset power threshold indicating that the wearer of the headset is in a fatigue state; when the power consumption is greater than the preset power consumption threshold, and the number of times the operating state of the headset is adjusted within a preset time period is greater than a preset number of times, the first power threshold is determined to be the preset power threshold, and the preset power consumption threshold is less than the preset power threshold; when the power consumption is greater than the preset power consumption threshold, and the number of times the operating state of the headset is adjusted within the preset time period is less than or equal to the preset number of times, the second power threshold is determined to be the preset power threshold, and the first power threshold is greater than the second power threshold.

7. A headset, characterized in that: The headset comprises: a memory, a processor, and a headset prompt program stored in the memory and executable on the processor, wherein the headset prompt program is configured to implement the steps of the headset prompt method according to any one of claims 1 to 5.

8. A storage medium, characterized in that: The storage medium stores an earphone prompt program, and when the earphone prompt program is executed by the processor, the steps of the earphone prompt method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Method and device for preventing ear fatigue

    CN102600012A

  • Prompting method and device, headwear device and computer readable storage medium

    CN109528205A

  • Earphone connection device switching method and system, and related assembly

    CN113596802A