CN111356054A - Earphone-based audio playing control method and system - Google Patents
Earphone-based audio playing control method and system Download PDFInfo
- Publication number
- CN111356054A CN111356054A CN202010178012.9A CN202010178012A CN111356054A CN 111356054 A CN111356054 A CN 111356054A CN 202010178012 A CN202010178012 A CN 202010178012A CN 111356054 A CN111356054 A CN 111356054A
- Authority
- CN
- China
- Prior art keywords
- earphone
- temperature
- stop signal
- module
- audio playing
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1016—Earpieces of the intra-aural type
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1091—Details not provided for in groups H04R1/1008 - H04R1/1083
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
- H04R29/001—Monitoring arrangements; Testing arrangements for loudspeakers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2201/00—Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
- H04R2201/10—Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Telephone Function (AREA)
Abstract
The method comprises the steps of obtaining earphone temperature and environment temperature in contact with human ears, determining a difference value △ T between the earphone temperature and the environment temperature, generating a stop signal if △ T is larger than a preset threshold value, and stopping audio playing in a player according to the stop signal.
Description
Technical Field
The present application relates to the field of audio playback control technologies, and in particular, to a method and a system for controlling audio playback based on an earphone.
Background
When listening to audio with a terminal, such as listening to music or learning materials, it is often necessary to remove the terminal from the ear for something and forget to turn off the audio being played. In the prior art, an earphone with a microphone for inputting audio can stop playing through a drive-by-wire mode, but a user often forgets to stop a key or directly puts down a terminal connection line after mistakenly touching the terminal due to small keys. In addition, in the prior art, some mobile phones can detect whether the earphone exists, and once the earphone is detected to be pulled out of the mobile phone, music playing is stopped, but also, a user often fails to stop playing of audio in time because of forgetting to pull out the earphone, and finally the electric quantity of the terminal is exhausted.
Disclosure of Invention
In view of the above disadvantages in the current audio playing aspect, the present application provides a control method for audio playing based on an earphone, which can automatically stop playing music after the earphone is taken out from the ear, and reduce the energy consumption of the terminal.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
a control method for audio playing based on earphones is characterized by comprising the following steps:
acquiring the temperature of an earphone in contact with the ear of a human body;
acquiring an ambient temperature;
determining a difference value △ T between the earphone temperature and the ambient temperature, and generating a stop signal if △ T is greater than a preset threshold;
and stopping audio playing in the player according to the stop signal.
Preferably, the stopping of the audio playing in the player according to the stop signal specifically includes: and recording the time length generated by the stop signal according to the stop signal, and stopping audio playing in the player when the time length generated by the stop signal exceeds the preset time length.
Preferably, the ambient temperature is obtained from an application of the control module or directly.
A system for controlling a method for headphone-based audio playback, comprising:
the earphone temperature sensing module is arranged on an earphone receiver plugged into the ear and used for collecting the temperature of the earphone contacted with the ear of the human body;
the signal transmission module is in communication connection with the earphone temperature sensing module and is used for transmitting the acquired earphone temperature to the control module;
the control module is in communication connection with the signal transmission module and used for acquiring an ambient temperature, determining a difference value △ T between the earphone temperature and the ambient temperature, generating a stop signal if △ T is greater than a preset threshold value, and stopping audio playing in the player according to the feedback signal.
Preferably, the earphone temperature sensing module is a first temperature sensor, and the first temperature sensor is arranged on an earphone of the earphone.
Preferably, the signal transmission module is a bluetooth module, a WIFI module or a wired earphone with a microphone.
Preferably, the system further comprises a second temperature sensor, and the second temperature sensor is arranged on the earphone line, the earphone socket or the intelligent terminal.
The method has the advantages that the difference value △ T between the earphone temperature and the environment temperature is determined by obtaining the earphone temperature and the environment temperature which are in contact with the human ear, if △ T is larger than the preset threshold value, a stop signal is generated, and then the audio playing in the player is stopped according to the stop signal.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of a method for controlling audio playback based on headphones according to embodiment 1 of the present application;
fig. 2 is a flowchart of a method for controlling audio playback based on headphones according to embodiment 2 of the present application;
fig. 3 is a communication connection diagram of a system for controlling a headphone-based audio playback according to embodiment 3 of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Example 1
As shown in fig. 1, a method for controlling audio playback based on headphones includes the following steps:
s1, acquiring the temperature of the earphone in contact with the ear of the human body;
s2, acquiring the ambient temperature;
s3, determining the difference △ T between the earphone temperature and the environment temperature;
s4, if △ T is larger than the preset threshold value, generating a stop signal;
and S5, stopping the audio playing in the player according to the stop signal.
It should be noted that the execution sequence of the steps S1 and S2 is not limited, and the steps S1 may be executed first and then the step S2 is executed, the steps S2 may be executed first and then the step S1 is executed, or the steps S1 and S2 may be executed simultaneously.
The environment temperature can be obtained from the application of the control module, for example, real-time temperature data exists in a weather forecast program, or a temperature sensing component is directly installed on the terminal and is directly obtained from the environment.
Example 2
As shown in fig. 2, a method for controlling audio playback based on earphones includes the following steps:
s1, acquiring the temperature of the earphone in contact with the ear of the human body;
s2, acquiring the ambient temperature;
s3, determining the difference △ T between the earphone temperature and the environment temperature;
and S4, generating a stop signal if △ T is greater than a preset threshold, wherein the preset threshold can be set according to seasons and the use environment of the terminal, for example, if the ambient temperature is high in summer, a small preset threshold is set, for example, 5 degrees, if the temperature difference exceeds 5 degrees, the stop signal is generated, if the ambient temperature is low in winter or in a cold geographical area, a large preset threshold can be set, for example, 15 degrees and the like, if the temperature difference exceeds 15 degrees, the stop signal is generated, and generally, the larger the preset threshold is, the more accurate the control is.
S5, recording the time length of the generated stop signal;
and S6, if the generated stop signal duration exceeds a preset duration, for example, 5 minutes, 15 minutes, then stopping the audio playing in the player. Sometimes, the user will come back quickly after taking off the earphone, and in order to avoid unnecessarily stopping the audio playing in the player, the user may preset the time length for closing the player after taking off the earphone according to the requirement.
It should be noted that the execution sequence of the steps S1 and S2 is not limited, and the steps S1 may be executed first and then the step S2 is executed, the steps S2 may be executed first and then the step S1 is executed, or the steps S1 and S2 may be executed simultaneously.
The environment temperature can be obtained from the application of the control module, for example, real-time temperature data exists in a weather forecast program, or a temperature sensing component is directly installed on the terminal and is directly obtained from the environment.
Example 3
As shown in fig. 3, a system used in the control method according to embodiment 2 or embodiment 3 includes:
earphone temperature sensing module 1 sets up on the earphone of filling in the ear for gather the earphone temperature with the contact of human ear, in the partial embodiment of this application, earphone temperature sensing module 1 is first temperature sensor, first temperature sensor set up in on the earphone of earphone.
The control module 3 is in communication connection with the signal transmission module 2 and is configured to acquire an ambient temperature, determine a difference △ T between the earphone temperature and the ambient temperature, generate a stop signal if △ T is greater than a preset threshold, and stop audio playing in a player according to the feedback signal, when the ambient temperature is directly acquired from the environment, the system further includes a second temperature sensor, and the second temperature sensor is disposed on an earphone cord, an earphone socket, or an intelligent terminal.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present disclosure should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (7)
1. A control method for audio playing based on earphones is characterized by comprising the following steps:
acquiring the temperature of an earphone in contact with the ear of a human body;
acquiring an ambient temperature;
determining a difference value △ T between the earphone temperature and the ambient temperature, and generating a stop signal if △ T is greater than a preset threshold;
and stopping audio playing in the player according to the stop signal.
2. The control method according to claim 1, wherein the stopping of the audio playing in the player according to the stop signal is specifically: and recording the time length generated by the stop signal according to the stop signal, and stopping audio playing in the player when the time length generated by the stop signal exceeds the preset time length.
3. Control method according to claim 1, characterized in that the ambient temperature is obtained from an application of a control module or directly.
4. A system for the control method according to any one of claims 1 to 3, characterized by comprising:
the earphone temperature sensing module is arranged on an earphone receiver plugged into the ear and used for collecting the temperature of the earphone contacted with the ear of the human body;
the signal transmission module is in communication connection with the earphone temperature sensing module and is used for transmitting the acquired earphone temperature to the control module;
the control module is in communication connection with the signal transmission module and used for acquiring an ambient temperature, determining a difference value △ T between the earphone temperature and the ambient temperature, generating a stop signal if △ T is greater than a preset threshold value, and stopping audio playing in the player according to the feedback signal.
5. The system of claim 4, wherein the earphone temperature sensing module is a first temperature sensor disposed on an earphone of the earphone.
6. The system of claim 4, wherein the signal transmission module is a Bluetooth module, a WIFI module, or a wired earphone with a microphone.
7. The system of claim 4, further comprising a second temperature sensor disposed on the earphone cord, the earphone jack, or the smart terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010178012.9A CN111356054A (en) | 2020-03-13 | 2020-03-13 | Earphone-based audio playing control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010178012.9A CN111356054A (en) | 2020-03-13 | 2020-03-13 | Earphone-based audio playing control method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111356054A true CN111356054A (en) | 2020-06-30 |
Family
ID=71194566
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010178012.9A Pending CN111356054A (en) | 2020-03-13 | 2020-03-13 | Earphone-based audio playing control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111356054A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111342513A (en) * | 2020-03-05 | 2020-06-26 | 上海龙旗科技股份有限公司 | Charging method and device based on temperature monitoring |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102202250A (en) * | 2010-03-25 | 2011-09-28 | 国基电子(上海)有限公司 | Earphone, electronic device and power saving method |
CN105163216A (en) * | 2015-08-20 | 2015-12-16 | 惠州Tcl移动通信有限公司 | Automatic music playing method and earphone |
WO2017165053A1 (en) * | 2016-03-23 | 2017-09-28 | Intel Corporation | Automated and body driven headset audio control |
CN108141657A (en) * | 2015-09-28 | 2018-06-08 | 苹果公司 | Wireless earbud with proximity sensor |
CN110087161A (en) * | 2019-04-23 | 2019-08-02 | 青岛恒茂电子有限公司 | A kind of wearing state switching method, earphone and the storage medium of bluetooth headset |
-
2020
- 2020-03-13 CN CN202010178012.9A patent/CN111356054A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102202250A (en) * | 2010-03-25 | 2011-09-28 | 国基电子(上海)有限公司 | Earphone, electronic device and power saving method |
CN105163216A (en) * | 2015-08-20 | 2015-12-16 | 惠州Tcl移动通信有限公司 | Automatic music playing method and earphone |
CN108141657A (en) * | 2015-09-28 | 2018-06-08 | 苹果公司 | Wireless earbud with proximity sensor |
WO2017165053A1 (en) * | 2016-03-23 | 2017-09-28 | Intel Corporation | Automated and body driven headset audio control |
CN110087161A (en) * | 2019-04-23 | 2019-08-02 | 青岛恒茂电子有限公司 | A kind of wearing state switching method, earphone and the storage medium of bluetooth headset |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111342513A (en) * | 2020-03-05 | 2020-06-26 | 上海龙旗科技股份有限公司 | Charging method and device based on temperature monitoring |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10809964B2 (en) | Portable intelligent voice interactive control device, method and system | |
CN110166871B (en) | Earphone charging box, TWS earphone, working state switching method and storage medium | |
CN108896911B (en) | Charging abnormity detection method and device for electronic equipment | |
CN108737921B (en) | Play control method, system, earphone and mobile terminal | |
CN110085934B (en) | Charging method of terminal battery and mobile terminal | |
CN108810749B (en) | Player control method, device, terminal equipment and storage medium | |
US20060045304A1 (en) | Smart earphone systems devices and methods | |
CN108668009B (en) | Input operation control method, device, terminal, earphone and readable storage medium | |
CN108886653B (en) | Earphone sound channel control method, related equipment and system | |
EP2990943A1 (en) | Intelligent terminal device control method and system | |
CN105451111A (en) | Earphone play control method and apparatus and terminal | |
CN107122161B (en) | Audio data playing control method and terminal | |
CN107633853B (en) | Control method for playing audio and video files and user terminal | |
CN103618514A (en) | Volume adjustment method, device and electronic equipment | |
CN107613146B (en) | Volume adjustment method and device and mobile terminal | |
CN111462746B (en) | TWS earphone-based control method, system, device and equipment | |
CN105959483B (en) | A kind of audio stream processing method and mobile terminal | |
CN106371326B (en) | Storage method and device for equipment working scene | |
CN110430562A (en) | Bluetooth communication method and relevant apparatus | |
CN107483731A (en) | Control method, device and the storage medium and mobile terminal of audio broadcast sound volume | |
CN111049972B (en) | Audio playing method and terminal equipment | |
CN105101013A (en) | Method and device for playing voice signals | |
CN111294689B (en) | Voice information acquisition method and device and wireless earphone device | |
CN110599989A (en) | Audio processing method, device and storage medium | |
CN114903473A (en) | Hearing detection method, device, electronic equipment and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200630 |