CN113347522A - Earphone control method, device, equipment and storage medium - Google Patents

Earphone control method, device, equipment and storage medium Download PDF

Info

Publication number
CN113347522A
CN113347522A CN202110501736.7A CN202110501736A CN113347522A CN 113347522 A CN113347522 A CN 113347522A CN 202110501736 A CN202110501736 A CN 202110501736A CN 113347522 A CN113347522 A CN 113347522A
Authority
CN
China
Prior art keywords
earphone
pressure
pressure sensor
wearer
pressure value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110501736.7A
Other languages
Chinese (zh)
Other versions
CN113347522B (en
Inventor
卢从华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Inc
Original Assignee
Goertek Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Inc filed Critical Goertek Inc
Priority to CN202110501736.7A priority Critical patent/CN113347522B/en
Publication of CN113347522A publication Critical patent/CN113347522A/en
Application granted granted Critical
Publication of CN113347522B publication Critical patent/CN113347522B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Headphones And Earphones (AREA)
  • Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)

Abstract

The application discloses a control method, a control device, control equipment and a storage medium of an earphone. Wherein a contact area of the headset with the human ear is provided with a pressure sensor, the method comprising: acquiring pressure information acquired by a pressure sensor; detecting whether a wearer wearing the earphone is in a fatigue state or not according to the pressure information; and outputting prompt information when the wearer is in a fatigue state. Thus, a method for reminding the user of fatigue is provided through the earphone.

Description

Earphone control method, device, equipment and storage medium
Technical Field
The present application relates to the field of acoustic technologies, and in particular, to a control method of an earphone, a control device of an earphone, and a computer-readable storage medium.
Background
With the acceleration of the life rhythm of people, people are easy to have fatigue in the process of working for a long time or driving and the like. This can lead to dangerous situations if one cannot realize that he is in a tired state as early as possible.
Therefore, a method for reminding the user of fatigue is urgently needed to be proposed.
Disclosure of Invention
It is an object of the present application to provide a new solution for controlling a headset.
According to a first aspect of the present application, there is provided a control method of a headphone, a contact area of the headphone, which is in contact with a human ear, being provided with a pressure sensor, the method including:
acquiring pressure information acquired by the pressure sensor;
detecting whether a wearer wearing the earphone is in a fatigue state or not according to the pressure information;
and outputting prompt information when the wearer is in a fatigue state.
Optionally, the detecting whether the wearer wearing the earphone is in a fatigue state according to the pressure information includes:
determining that a wearer wearing the earphone is in a fatigue state under the condition that the change rate of the current pressure value and the historical pressure value is within a preset change rate range;
determining that a wearer wearing the earphone is in a non-fatigue state under the condition that the change rate is out of a preset change rate range;
the current pressure value is a pressure value corresponding to pressure information at the current acquisition time, and the historical pressure value is a pressure value corresponding to pressure information at a historical acquisition time before the current acquisition time.
Optionally, the detecting whether the wearer wearing the earphone is in a fatigue state according to the pressure information includes:
under the condition that the change rate of the current pressure value and the historical pressure value is continuously detected to be within a preset change rate range within a preset time period, determining that a wearer wearing the earphone is in a fatigue state;
determining that a wearer wearing the earphone is in a non-fatigue state under the condition that the change rate is detected to be out of a preset change rate range within the preset time period;
the current pressure value is a pressure value corresponding to pressure information at the current acquisition time, and the historical pressure value is a pressure value corresponding to pressure information at a historical acquisition time before the current acquisition time.
Optionally, the acquiring the pressure information acquired by the pressure sensor includes:
detecting whether the earphone is in a wearing state;
and acquiring the pressure information acquired by the pressure sensor when the earphone is in a wearing state.
Optionally, the acquiring the pressure information acquired by the pressure sensor includes:
detecting whether the headset is in a fatigue detection mode;
and acquiring pressure information acquired by the pressure sensor under the condition that the earphone is in a fatigue detection mode.
Optionally, the outputting prompt information when the wearer is in a fatigue state includes:
and under the condition that the wearer is in a fatigue state, controlling the earphone to play prompt voice and/or controlling the earphone to vibrate.
Optionally, the pressure sensor is a MEMS pressure sensor or a silicon piezoresistive pressure sensor.
According to a second aspect of the present application, there is provided a control device of a headphone, a contact area of the headphone, which is in contact with a human ear, being provided with a pressure sensor, the device including:
the acquisition module is used for acquiring the pressure information acquired by the pressure sensor;
the detection module is used for detecting whether a wearer wearing the earphone is in a fatigue state or not according to the pressure information;
and the output module is used for outputting prompt information under the condition that the wearer is in a fatigue state.
According to a third aspect of the present application, there is provided a headset characterized by comprising a pressure sensor and the apparatus according to the second aspect; or,
comprising a pressure sensor, a memory for storing computer instructions, and a processor for retrieving the computer instructions from the memory to perform the method of any of the first aspects;
the pressure sensor is arranged in a contact area of the earphone, which is in contact with the human ear, and is used for collecting pressure information.
According to a fourth aspect of the present application, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to any one of the first aspects.
In the present embodiment, there is provided a control method of an earphone, in which a contact area of the earphone, which is in contact with a human ear, is provided with a pressure sensor. The method comprises the step of acquiring pressure information acquired by a pressure sensor. And then detecting whether the wearer wearing the earphone is in a fatigue state or not according to the pressure information. And finally, outputting prompt information under the condition that the wearer is in a fatigue state. Thus, a method of alerting the wearer of fatigue is provided by the headset.
Further features of the present application and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which is to be read in connection with the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flowchart of a control method of an earphone according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an earphone according to an embodiment of the present application;
FIG. 3 is a schematic view of a wearer monitoring in a fatigue state and a non-fatigue state according to an embodiment of the present application;
fig. 4 is a schematic diagram of a control device of a headset according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another earphone provided in the embodiments of the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< method examples >
An embodiment of the present application provides a method for controlling an earphone, as shown in fig. 1, the method includes the following steps S1100 to S1300:
and S1100, acquiring pressure information acquired by the pressure sensor.
In this embodiment, the earphone may be a wired earphone or a wireless earphone.
As shown in fig. 2, the contact area of the earphone, which is in contact with the human ear, is provided with a pressure sensor. The pressure sensor is used for collecting pressure information of human ears. It will be appreciated that the headset is also provided with a battery to power it, as shown in figure 2.
In one embodiment, the pressure sensor may be a MEMS pressure sensor or a silicon piezoresistive pressure sensor.
The MEMS pressure sensor is a thin film element and comprises two parallel transverse grids. When the MEMS pressure sensor is stressed, the distance between the transverse grids changes, and further the capacitance value between the two parallel transverse grids changes. Namely, the pressure information collected by the MEMS pressure sensor is a capacitance value.
The silicon piezoresistive pressure sensor is a wheatstone bridge formed using a semiconductor resistance strain gauge with high precision. When the semiconductor resistive strain gage is stressed, the wheatstone bridge is unbalanced and outputs a voltage proportional to the stress. Namely, the pressure information collected by the silicon piezoresistive pressure sensor is a voltage value.
In the present embodiment, the pressure sensor is in contact with the human ear after the user wears the earphone. The beating of the muscles of the human ear causes the human ear to apply pressure to the pressure sensor. On the basis, the pressure sensor can acquire pressure information.
S1200, detecting whether the wearer wearing the earphone is in a fatigue state or not according to the pressure information.
In this embodiment, the wearer's activity is generally small when the wearer is in a tired state, such as when the wearer is in a state of rest. The pulsation of the muscles of the human ear is relatively stable. On the basis, the pressure information acquired by the pressure sensor is relatively stable.
While the wearer is in a non-tired state, the wearer's activity is typically greater, such as when the wearer is in motion or speaking. This is that the beating of the muscles of the human ear is relatively unstable. On this basis, the pressure information collected by the pressure sensor is also relatively unstable.
With the above, whether the wearer wearing the earphone is in a fatigue state can be detected according to whether the pressure information is stable. Specifically, in the case where the pressure information is relatively stable, it is determined that the wearer wearing the headphone is in a tired state. In the case where the pressure information is relatively unstable, it is determined that the wearer wearing the headphone is in a non-tired state.
And S1300, outputting prompt information when the wearer is in a fatigue state.
In the present embodiment, in the case where the wearer is in a tired state, the prompt information is output to prompt the wearer to be in a tired state.
In the present embodiment, there is provided a control method of an earphone, in which a contact area of the earphone, which is in contact with a human ear, is provided with a pressure sensor. The method comprises the step of acquiring pressure information acquired by a pressure sensor. And then detecting whether the wearer wearing the earphone is in a fatigue state or not according to the pressure information. And finally, outputting prompt information under the condition that the wearer is in a fatigue state. Thus, a method of alerting the wearer of fatigue is provided by the headset.
It can be understood that the earphone is an electronic device commonly used in daily life, and therefore, the method for reminding the wearer of fatigue provided by the earphone can be implemented more conveniently.
In an embodiment of the present application, the above S1200 may be implemented by the following two ways:
the first mode is as follows: the above S1200 is implemented by the following S1210 and S1211:
s1210, determining that the wearer wearing the earphone is in a fatigue state under the condition that the change rate of the current pressure value and the historical pressure value is within a preset change rate range.
The current pressure value is a pressure value corresponding to the pressure information at the current acquisition moment, and the historical pressure value is a pressure value corresponding to the pressure information at the previous historical acquisition moment at the current acquisition moment.
And S1211, determining that the wearer wearing the earphone is in a non-fatigue state under the condition that the change rate is out of the preset change rate range.
In this embodiment, the pressure sensor periodically collects pressure information at certain collection intervals. On the basis of the pressure information, the pressure information is converted into a specific pressure value.
In this embodiment, the preset variation rate range is a range of variation rates between pressure values corresponding to pressure information at adjacent acquisition times when the pressure values corresponding to the pressure information are relatively stable. Wherein the preset range of the rate of change can be set according to empirical values. In one example, the preset rate of change may range from-10% to 10%.
In this embodiment, when the current pressure value is denoted as V (t +1) and the historical pressure value is denoted as V (t), a change rate Δ V between the current pressure value and the historical pressure value can be represented as:
Figure BDA0003056688190000061
in combination with the above, in the case that the change rate of the current pressure value and the historical pressure value is within the preset change rate range, it is described that the pressure value corresponding to the pressure information is relatively stable, that is, the pressure information is relatively stable. At this time, it is determined that the wearer wearing the headphone is in a tired state.
Correspondingly, in the case that the change rate of the current pressure value and the historical pressure value is outside the preset change rate range, it is indicated that the pressure value corresponding to the pressure information is relatively unstable, that is, the pressure information is relatively unstable. At this time, it is determined that the wearer wearing the headphone is in a non-tired state.
The second mode is as follows: the above S1200 is implemented by S1220 and S1221 as follows:
and S1220, under the condition that the change rate of the current pressure value and the historical pressure value is continuously detected to be within a preset change rate range in a preset time period, determining that a wearer wearing the earphone is in a fatigue state.
The current pressure value is a pressure value corresponding to the pressure information at the current acquisition moment, and the historical pressure value is a pressure value corresponding to the pressure information at the previous historical acquisition moment at the current acquisition moment.
S1221, under the condition that the change rate is detected to be out of the range of the preset change rate in the preset time period, determining that the wearer wearing the earphone is in a non-fatigue state.
In the present embodiment, the above description of the change rate of the current pressure value and the historical pressure value and the range of the preset change rate may refer to the embodiments shown in S1210 and S1211. And will not be described in detail herein.
In the present embodiment, the preset time period may be set according to actual experience. In one example, the preset time period may be 300 s.
In this embodiment, since the activity amplitude of the wearer is always small when the wearer is in a fatigue state, it is determined that the wearer wearing the earphone is in the fatigue state when the change rate of the current pressure value and the historical pressure value is continuously detected to be within the preset change rate range within the preset time period.
Correspondingly, since the wearer may have a short activity range in the non-fatigue state, for example, the wearer may keep in a static state while taking a short thought or rest, in order to avoid a false judgment in this case, as long as the change rate of the current pressure value and the historical pressure value is detected to be outside the preset range within the preset time period, the wearer wearing the earphone is determined to be in the non-fatigue state.
In this embodiment, a wearer is monitored in a tired state and a non-tired state, respectively. The left part of the dotted line in fig. 3 is the rate of change of the current pressure value and the historical pressure value of the wearer in the non-fatigue state. The right part of the dotted line in fig. 3 is the rate of change of the current pressure value and the historical pressure value of the wearer in the fatigue state. As can be seen from fig. 3, the wearer has a smaller range of activity at all times when the wearer is in a tired state. There are still situations where the amplitude of the activity is small when the wearer is in a non-tired state.
In one embodiment of the present application, the above S1100 may be implemented by S1110 and S1111 as follows:
and S1110, detecting whether the earphone is in a wearing state.
In one embodiment, the headset may be determined to be in a worn state with the headset in an active state.
In another embodiment, a sensor, such as an infrared sensor, may be provided on the headset to determine that the headset is worn when contact with the human ear is detected.
S1111, acquiring pressure information acquired by the pressure sensor when the earphone is worn.
In this embodiment, the above step of S1100 is executed again only when the headset is in the wearing state. This reduces the power consumption of the headset.
In an embodiment of the present application, S1100 may be further implemented by S1120 and S1121 as follows:
and S1120, detecting whether the earphone is in a fatigue detection mode.
And S1121, acquiring pressure information acquired by the pressure sensor under the condition that the earphone is in the fatigue detection mode.
In one embodiment, a button may be provided on the headset or an electronic device (e.g., a cell phone) connected to the headset, which, when triggered, determines that the headset is in a fatigue detection mode. In the event that the button is not triggered, it is determined that the headset is not in a fatigue detection mode.
In this embodiment, the above step of S1100 is executed only when the headset is in the fatigue detection mode. Therefore, the personalized requirements of the wearer can be met, and the power consumption of the earphone can be reduced.
In an embodiment of the present application, the above S1300 may be implemented by S1310 as follows:
s1310, controlling the earphone to play prompt voice and/or controlling the earphone to vibrate under the condition that the wearer is in a fatigue state.
In this embodiment, when the wearer is in a fatigue state, the prompt information is output by controlling the earphone to play the prompt voice or controlling the earphone to vibrate. This provides a strong and effective indication to the wearer.
In an embodiment of the present application, the S1300 may further implement outputting the prompt message by sending an instruction to the electronic device connected to the earphone, where the instruction instructs to output the prompt message. When the electronic equipment connected with the earphone receives an instruction for indicating output of the prompt information, the electronic equipment connected with the earphone outputs prompt voice or vibrates.
< apparatus embodiment >
The embodiment of the application provides a control device 400 of an earphone, wherein a contact area of the earphone, which is in contact with human ears, is provided with a pressure sensor.
As shown in fig. 4, the control device 400 of the headset includes an acquisition module 410, a detection module 420, and an output module 430. Wherein:
the obtaining module 410 is configured to obtain pressure information collected by the pressure sensor.
The detecting module 420 is configured to detect whether a wearer wearing the earphone is in a fatigue state according to the pressure information.
The output module 430 is configured to output a prompt message when the wearer is in a fatigue state.
In an embodiment, the detection module 420 is specifically configured to determine that a wearer wearing the earphone is in a fatigue state when a change rate of the current pressure value and the historical pressure value is within a preset change rate range;
determining that a wearer wearing the earphone is in a non-fatigue state under the condition that the change rate is out of a preset change rate range;
the current pressure value is a pressure value corresponding to pressure information at the current acquisition time, and the historical pressure value is a pressure value corresponding to pressure information at a historical acquisition time before the current acquisition time.
In an embodiment, the detecting module 420 is specifically configured to determine that a wearer wearing the earphone is in a fatigue state when a change rate of the current pressure value and the historical pressure value is continuously detected within a preset change rate range within a preset time period;
determining that a wearer wearing the earphone is in a non-fatigue state under the condition that the change rate is detected to be out of a preset change rate range within the preset time period;
the current pressure value is a pressure value corresponding to pressure information at the current acquisition time, and the historical pressure value is a pressure value corresponding to pressure information at a historical acquisition time before the current acquisition time.
In one embodiment, the acquisition module 410 includes a first detection unit and a first acquisition unit, wherein:
the first detection unit is used for detecting whether the earphone is in a wearing state.
The first acquisition unit is used for acquiring the pressure information acquired by the pressure sensor when the earphone is in a wearing state.
In one embodiment, the obtaining module 410 includes a second detecting unit and a second obtaining unit, wherein:
the second detection unit is used for detecting whether the earphone is in a fatigue detection mode.
The second acquisition unit is used for acquiring the pressure information acquired by the pressure sensor under the condition that the earphone is in the fatigue detection mode.
In one embodiment, the output module 430 is specifically configured to control the earphone to play a prompt voice and/or control the earphone to vibrate when the wearer is in a fatigue state.
In one embodiment, the pressure sensor is a MEMS pressure sensor or a silicon piezoresistive pressure sensor.
< apparatus embodiment >
The embodiment of the present application provides an earphone 500, as shown in fig. 5, the earphone 500 includes a pressure sensor 510 and a control device 400 of the earphone provided in the above device embodiment.
Alternatively, the headset 500 comprises a pressure sensor 510, a memory 520 and a processor 530, wherein the memory 520 is used for storing computer instructions, and the processor 530 is used for calling the computer instructions from the memory 520 to execute the control method of the headset according to any one of the above method embodiments.
Wherein the pressure sensor 510 is disposed at a contact area of the earphone 500 contacting with the human ear for collecting pressure information.
< storage Medium embodiment >
An embodiment of the application provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the method of controlling a headset according to any of the above-mentioned method embodiments.
The present application may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present application.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present application may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry can execute computer-readable program instructions to implement aspects of the present application by utilizing state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present application are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present application, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the application is defined by the appended claims.

Claims (10)

1. A control method of an earphone, characterized in that a contact area of the earphone, which is in contact with a human ear, is provided with a pressure sensor, the method comprising:
acquiring pressure information acquired by the pressure sensor;
detecting whether a wearer wearing the earphone is in a fatigue state or not according to the pressure information;
and outputting prompt information when the wearer is in a fatigue state.
2. The method of claim 1, wherein detecting whether a wearer wearing the headset is tired based on the pressure information comprises:
determining that a wearer wearing the earphone is in a fatigue state under the condition that the change rate of the current pressure value and the historical pressure value is within a preset change rate range;
determining that a wearer wearing the earphone is in a non-fatigue state under the condition that the change rate is out of a preset change rate range;
the current pressure value is a pressure value corresponding to pressure information at the current acquisition time, and the historical pressure value is a pressure value corresponding to pressure information at a historical acquisition time before the current acquisition time.
3. The method of claim 1, wherein detecting whether a wearer wearing the headset is tired based on the pressure information comprises:
under the condition that the change rate of the current pressure value and the historical pressure value is continuously detected to be within a preset change rate range within a preset time period, determining that a wearer wearing the earphone is in a fatigue state;
determining that a wearer wearing the earphone is in a non-fatigue state under the condition that the change rate is detected to be out of a preset change rate range within the preset time period;
the current pressure value is a pressure value corresponding to pressure information at the current acquisition time, and the historical pressure value is a pressure value corresponding to pressure information at a historical acquisition time before the current acquisition time.
4. The method of claim 1, wherein the obtaining pressure information collected by the pressure sensor comprises:
detecting whether the earphone is in a wearing state;
and acquiring the pressure information acquired by the pressure sensor when the earphone is in a wearing state.
5. The method of claim 1, wherein the obtaining pressure information collected by the pressure sensor comprises:
detecting whether the headset is in a fatigue detection mode;
and acquiring pressure information acquired by the pressure sensor under the condition that the earphone is in a fatigue detection mode.
6. The method of claim 1, wherein outputting a prompt in the event that the wearer is in a tired state comprises:
and under the condition that the wearer is in a fatigue state, controlling the earphone to play prompt voice and/or controlling the earphone to vibrate.
7. The method of any one of claims 1-6, wherein the pressure sensor is a MEMS pressure sensor or a silicon piezoresistive pressure sensor.
8. A control device of an earphone, characterized in that a contact area of the earphone, which is in contact with a human ear, is provided with a pressure sensor, the device comprising:
the acquisition module is used for acquiring the pressure information acquired by the pressure sensor;
the detection module is used for detecting whether a wearer wearing the earphone is in a fatigue state or not according to the pressure information;
and the output module is used for outputting prompt information under the condition that the wearer is in a fatigue state.
9. An earphone, characterized by comprising a pressure sensor and a device according to claim 8; or,
comprising a pressure sensor, a memory for storing computer instructions, and a processor for retrieving the computer instructions from the memory to perform the method of any one of claims 1-7;
the pressure sensor is arranged in a contact area of the earphone, which is in contact with the human ear, and is used for collecting pressure information.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202110501736.7A 2021-05-08 2021-05-08 Earphone control method, device, equipment and storage medium Active CN113347522B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110501736.7A CN113347522B (en) 2021-05-08 2021-05-08 Earphone control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110501736.7A CN113347522B (en) 2021-05-08 2021-05-08 Earphone control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113347522A true CN113347522A (en) 2021-09-03
CN113347522B CN113347522B (en) 2022-11-11

Family

ID=77470123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110501736.7A Active CN113347522B (en) 2021-05-08 2021-05-08 Earphone control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113347522B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356079A (en) * 2021-12-16 2022-04-15 歌尔光学科技有限公司 Wearable device control method and device, wearable device and medium
CN115460495A (en) * 2022-09-13 2022-12-09 深圳市宇通联发科技有限公司 Earphone prompting method and device, earphone and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006128968A1 (en) * 2005-05-30 2006-12-07 Valtion Teknillinen Tutkimuskeskus A method, a system and a computer program product for monitoring a condition of a driver
CN201608856U (en) * 2010-01-20 2010-10-13 曹绍花 Earphone with fatigue prompt function
WO2013172173A1 (en) * 2012-05-18 2013-11-21 日産自動車株式会社 Driving assistance device and road map information building method
US20160090097A1 (en) * 2014-09-29 2016-03-31 The Boeing Company System for fatigue detection using a suite of physiological measurement devices
US20160262687A1 (en) * 2013-11-04 2016-09-15 Imperial Innovations Limited Biomechanical activity monitoring
CN106341750A (en) * 2016-09-07 2017-01-18 武汉理工大学 Bluetooth earphone capable of monitoring driver fatigue state and carrying out fatigue early warning
CN107468233A (en) * 2017-09-14 2017-12-15 成亮 A kind of supra-aural health sign monitor for being used to share driver
CN108429970A (en) * 2018-05-28 2018-08-21 Oppo广东移动通信有限公司 Audio frequency playing method, device, terminal, earphone and readable storage medium storing program for executing
CN112455461A (en) * 2019-09-06 2021-03-09 华为技术有限公司 Human-vehicle interaction method for automatically driving vehicle and automatically driving system
CN112562285A (en) * 2020-12-04 2021-03-26 歌尔科技有限公司 Information prompting method, earphone device and computer readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006128968A1 (en) * 2005-05-30 2006-12-07 Valtion Teknillinen Tutkimuskeskus A method, a system and a computer program product for monitoring a condition of a driver
CN201608856U (en) * 2010-01-20 2010-10-13 曹绍花 Earphone with fatigue prompt function
WO2013172173A1 (en) * 2012-05-18 2013-11-21 日産自動車株式会社 Driving assistance device and road map information building method
US20160262687A1 (en) * 2013-11-04 2016-09-15 Imperial Innovations Limited Biomechanical activity monitoring
US20160090097A1 (en) * 2014-09-29 2016-03-31 The Boeing Company System for fatigue detection using a suite of physiological measurement devices
CN106341750A (en) * 2016-09-07 2017-01-18 武汉理工大学 Bluetooth earphone capable of monitoring driver fatigue state and carrying out fatigue early warning
CN107468233A (en) * 2017-09-14 2017-12-15 成亮 A kind of supra-aural health sign monitor for being used to share driver
CN108429970A (en) * 2018-05-28 2018-08-21 Oppo广东移动通信有限公司 Audio frequency playing method, device, terminal, earphone and readable storage medium storing program for executing
CN112455461A (en) * 2019-09-06 2021-03-09 华为技术有限公司 Human-vehicle interaction method for automatically driving vehicle and automatically driving system
CN112562285A (en) * 2020-12-04 2021-03-26 歌尔科技有限公司 Information prompting method, earphone device and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356079A (en) * 2021-12-16 2022-04-15 歌尔光学科技有限公司 Wearable device control method and device, wearable device and medium
CN115460495A (en) * 2022-09-13 2022-12-09 深圳市宇通联发科技有限公司 Earphone prompting method and device, earphone and storage medium

Also Published As

Publication number Publication date
CN113347522B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN113347522B (en) Earphone control method, device, equipment and storage medium
US10416774B2 (en) Automatic remote sensing and haptic conversion system
US11135492B2 (en) Method, terminal and running shoe for prompting a user to adjust a running posture
CN107667330B (en) Techniques for controlling haptic feedback intensity
US9202352B2 (en) Automatic haptic effect adjustment system
WO2016127936A1 (en) Wearable device and system
US20220246015A1 (en) Fall detection method and apparatus, and wearable device
CN109753777B (en) Identity recognition method, identity recognition device, storage medium and mobile terminal
JP2007148702A (en) Pedometer
CN111134715A (en) Hearing system with heart rate monitoring and related methods
US9648481B2 (en) Calling a response provider based on detection of an emergency situation
CN108958477A (en) Exchange method, device, electronic equipment and computer readable storage medium
KR20200120105A (en) Electronic device and method for providing information to relieve stress thereof
JP2017192563A (en) Activity meter and exercise amount calculation device
CN112461437B (en) Air pressure detection circuit, method, equipment and storage medium
US20170147871A1 (en) Fatigue-warning system
KR102193653B1 (en) Diagonis system for user behavior ad user cognition ability and method thereof
JP6932007B2 (en) Information processing methods, information processing devices and programs
CN110236542B (en) Human body moisture state prompting method and device and mouse
JP2021019977A (en) Information processing apparatus, near-miss detection method, and near-miss detection system
JP7216084B2 (en) Information processing device, program, and sensing device
JP2018143639A (en) User state prospecting apparatus with interaction and method thereof
EP4250760A1 (en) Hearing system and method for operating a hearing system
JP7207839B2 (en) DETECTION METHOD, DETECTION DEVICE, PROGRAM
US20230248301A1 (en) Wearable sensor-based device for predicting, monitoring, and controlling epilepsy and methods thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant