CN109451390A - A kind of TWS earphone and its control method, device, equipment - Google Patents
A kind of TWS earphone and its control method, device, equipment Download PDFInfo
- Publication number
- CN109451390A CN109451390A CN201811595256.6A CN201811595256A CN109451390A CN 109451390 A CN109451390 A CN 109451390A CN 201811595256 A CN201811595256 A CN 201811595256A CN 109451390 A CN109451390 A CN 109451390A
- Authority
- CN
- China
- Prior art keywords
- real
- time environment
- motion state
- environment sound
- tws
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000004590 computer program Methods 0.000 claims description 8
- 238000012544 monitoring process Methods 0.000 claims description 8
- 238000013473 artificial intelligence Methods 0.000 claims description 7
- 238000004891 communication Methods 0.000 abstract description 24
- 238000005516 engineering process Methods 0.000 abstract 1
- 230000008447 perception Effects 0.000 abstract 1
- 230000003287 optical effect Effects 0.000 description 7
- 238000007654 immersion Methods 0.000 description 5
- 230000001133 acceleration Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000010079 rubber tapping Methods 0.000 description 3
- 238000012549 training Methods 0.000 description 3
- 238000002372 labelling Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000002238 attenuated effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000036760 body temperature Effects 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
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
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
This application discloses a kind of TWS earphone and its control method, device, equipment, it is related to ear phone technology field, for ensureing user by the personal safety in TWS earphone receiving Phone process, comprising: the movement state information of target object is obtained, to determine user movement state;Judge whether the movement state information meets the first preset condition;If so, acquisition real time environment sound;Control TWS earphone plays the real time environment sound while playing call voice.The application first obtains the movement state information that can be used to determine the target object of user movement state, and real time environment sound is acquired when movement state information meets preset condition, then real time environment sound is played while playing call voice, it can make user under specific motion state in addition to that can hear call voice in this way, it can also hear real time environment sound, personal safety so as to real-time perception to ambient enviroment sound situation, during effective guarantee user's communication.
Description
Technical Field
The application relates to the technical field of earphones, in particular to a TWS earphone and a control method, a device and equipment thereof.
Background
TWS (True Wireless Stereo) earphones are more and more popular with consumers as earphones which are convenient to wear and can be used independently, and have a wide market prospect.
At present, when a user uses a TWS earphone to receive a call, the user often wears two audio output devices of the TWS earphone at the same time, and in this case, the user cannot well notice various events happening in the surrounding environment due to immersion in call voice, so that some dangerous situations may be caused, and the personal safety of the user cannot be effectively guaranteed.
Disclosure of Invention
In view of this, an object of the present application is to provide a TWS headset, and a control method, an apparatus, and a device thereof, which can effectively ensure personal safety of a user in a process of answering a call through the TWS headset. The specific scheme is as follows:
in a first aspect, the present application discloses a TWS headset control method, including:
acquiring motion state information of a target object to determine a user motion state;
judging whether the motion state information meets a first preset condition or not;
if yes, collecting real-time environment sound;
and controlling the TWS earphone to play the real-time environment sound while playing the call voice.
Optionally, the obtaining motion state information of the target object, and determining whether the motion state information meets a first preset condition includes:
acquiring the moving speed of a target object, and judging whether the moving speed is greater than a preset speed threshold value;
or, obtaining the vibration amplitude of the target object, and judging whether the vibration amplitude is greater than a preset amplitude threshold value;
or acquiring the vibration frequency of the target object, and judging whether the vibration frequency is greater than a preset frequency threshold value.
Optionally, the acquiring real-time environment sound includes:
and acquiring audio data obtained after the microphone records the current environment so as to obtain real-time environment sound.
Optionally, the acquiring real-time environment sound further includes:
identifying voice data in the audio data through an artificial intelligence algorithm;
and eliminating the human voice data from the audio data to obtain the optimized real-time environment sound.
Optionally, before the controlling the TWS headset to play the real-time environment sound while playing the call voice, the controlling the TWS headset further includes:
monitoring whether any audio output device in the TWS earphone acquires sensor data meeting a second preset condition or not;
if yes, triggering the step of controlling the TWS earphone to play the real-time environment sound while playing the call voice.
Optionally, the controlling the TWS headset to play the real-time environment sound while playing the call voice includes:
and controlling a first audio output device of the TWS earphone to play call voice and controlling a second audio output device to play the real-time environment sound.
Or, overlapping the call voice and the real-time environment sound to obtain overlapped audio data; and controlling a first audio output device and/or a second audio output device in the TWS earphone to play the superposed audio data.
Optionally, the controlling the TWS headset to play the real-time environment sound while playing the call voice includes:
overlapping the call voice and the real-time environment sound to obtain overlapped audio data;
and controlling a first audio output device and/or a second audio output device in the TWS earphone to play the superposed audio data.
In a second aspect, the present application discloses a TWS headset control device, comprising:
the information acquisition module is used for acquiring the motion state information of the target object so as to determine the motion state of the user;
the condition judgment module is used for judging whether the motion state information meets a first preset condition or not;
the data acquisition module is used for acquiring real-time environment sound when the judgment result of the condition judgment module is positive;
and the playing control module is used for controlling the TWS earphone to play the real-time environment sound while playing the call voice.
In a third aspect, the present application discloses a TWS headset controlling device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the TWS headset control method described above.
In a fourth aspect, the present application discloses a TWS headset comprising the aforementioned TWS headset control device.
Therefore, the method and the device for determining the motion state of the target object acquire the motion state information of the target object which can be used for determining the motion state of the user, acquire the real-time environment sound under the condition that the motion state information of the target object meets a first preset condition, and then control the TWS earphone to play the real-time environment sound while playing the call sound, so that the user can hear the call sound and the surrounding real-time environment sound when answering the call under the specific motion state, the surrounding environment sound condition can be sensed in real time, complete immersion in the call sound is avoided, personal safety of the user in the process of answering the call through the TWS earphone can be effectively guaranteed, and dangerousness is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a TWS headset control method disclosed herein;
FIG. 2 is a flowchart of a specific TWS headset control method disclosed herein;
FIG. 3 is a flowchart of a specific TWS headset control method disclosed herein;
FIG. 4 is a flowchart of a particular TWS headset control method disclosed herein;
FIG. 5 is a schematic structural diagram of a TWS headset control device disclosed in the present application;
FIG. 6 is a block diagram of a TWS headset control device as disclosed herein;
fig. 7 is a diagram of a TWS headset structure disclosed in 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.
Currently, when a user uses a TWS headset to receive a call, the user often wears two audio output devices of the TWS headset at the same time, and in this case, the user cannot well notice various events occurring in the surrounding environment due to being immersed in the call voice, so that some dangerous situations may be caused, and the personal safety of the user cannot be effectively guaranteed. Therefore, the TWS earphone control scheme is provided, and personal safety of a user in a process of answering a call through the TWS earphone can be effectively guaranteed.
Referring to fig. 1, an embodiment of the present application discloses a TWS headset control method, including:
step S11: and acquiring the motion state information of the target object to determine the motion state of the user.
In this embodiment, the motion state of the user may be determined by obtaining the motion state information of the target object, that is, the motion state information of the target object in this embodiment is information capable of reflecting the motion state of the user.
In a first specific embodiment, the acquiring motion state information of the target object may include: and acquiring motion state information acquired by a communication terminal establishing call connection with the TWS earphone. For example, the motion state information acquired by a communication terminal such as a mobile phone and a tablet computer, which is currently in call connection with the TWS headset, through a sensor thereof may be acquired, and the motion state information of the communication terminal may be directly determined as the current motion state information of the user.
In a second specific embodiment, the acquiring the motion state information of the target object may include: and acquiring the motion state information collected by the TWS earphone. That is, the present embodiment may also acquire the motion state information acquired by the TWS headset through the sensor thereof, and directly determine the motion state information of the TWS headset as the current motion state information of the user.
In a third specific embodiment, the acquiring motion state information of the target object may include: and acquiring the motion state information collected by the wearable equipment. For example, the motion state information acquired by wearable devices such as a smart band and a smart watch through their own sensors may be acquired, and the motion state information of the wearable devices may be directly determined as the current motion state information of the user.
In a fourth specific embodiment, the acquiring the motion state information of the target object may include: and acquiring the motion state information acquired by the manned equipment. For example, the motion state information acquired by the manned equipment such as an automobile and a shared bicycle through the sensor thereof may be acquired, and the motion state information of the manned equipment may be directly determined as the current motion state information of the user.
In this embodiment, the sensors for collecting the motion state information include, but are not limited to, a speed sensor, a vibration sensor, an acceleration sensor, and the like.
Step S12: and judging whether the motion state information meets a first preset condition or not.
In this embodiment, the motion state information includes, but is not limited to, a moving speed, a vibration amplitude, a vibration frequency, and the like.
It is understood that, according to the difference of the information content contained in the motion state information, the present embodiment may set the first preset condition differently accordingly.
For example, if the motion state information is a moving speed, the determining whether the motion state information satisfies a first preset condition may specifically include: judging whether the moving speed is greater than a preset speed threshold value, if so, judging that a first preset condition is met, and if not, judging that the first preset condition is not met; if the motion state information is a vibration amplitude, the determining whether the motion state information satisfies a first preset condition may specifically include: judging whether the vibration amplitude is larger than a preset amplitude threshold value, if so, judging that a first preset condition is met, and if not, judging that the first preset condition is not met; if the motion state information is a vibration frequency, the determining whether the motion state information satisfies a first preset condition may specifically include: and judging whether the vibration frequency is greater than a preset frequency threshold value, if so, judging that a first preset condition is met, and if not, judging that the first preset condition is not met.
Step S13: and if so, acquiring real-time environment sound.
Specifically, the embodiment may acquire audio data obtained by recording the current environment by the microphone to obtain real-time environment sound. The microphone may be a microphone preset on the TWS headset, or may be a microphone preset on a bluetooth communication device that establishes a bluetooth communication connection with the TWS headset, and the bluetooth communication device may transmit real-time environment sound to the TWS headset after acquiring the real-time environment sound through its own microphone. Wherein, above-mentioned bluetooth communication equipment includes but not limited to the cell-phone, panel computer, intelligent bracelet, virtual reality equipment etc. of installing bluetooth communication module.
In addition, considering that the audio data directly collected by the microphone contains much noise, for this reason, the audio data may be further subjected to noise reduction processing after the audio data is collected.
Step S14: and controlling the TWS earphone to play the real-time environment sound while playing the call voice.
That is, in this embodiment, the TWS headset may be controlled to play the real-time environment sound while the TWS headset plays the call voice.
It can be understood that the technical solution in this embodiment is implemented when the user answers an incoming call through the TWS headset. In addition, the present embodiment may preferentially select to control the TWS headset to play the real-time ambient sound while playing the call voice after detecting that both audio output devices in the TWS headset are worn by the user. If it is detected that the user only wears one audio output device in the TWS headset, it indicates that the other ear of the user can hear the sound in the surrounding environment, so that the speech of the call can be played through the worn audio output device, and the other audio output device can be adjusted to the sleep mode, which is also beneficial to reduce the energy loss of the audio output device and improve the endurance.
Further, the present embodiment may specifically detect whether the user wears the audio output device by an optical sensor that is provided on the ear hole side of the audio output device in advance. Specifically, when it is detected that the optical sensor on the audio output device does not collect the light sensing data, it may be determined that the audio output device is in a wearing state, otherwise, it may be determined that the audio output device is in a non-wearing state.
Of course, in order to further improve the accuracy of the detection result of the wearing state, the present embodiment may also combine the optical sensor and the temperature sensor to detect whether the user wears the audio output device. Specifically, when it is detected that the optical sensor on the side of the audio output device facing the earhole does not acquire the light sensing data and it is detected that the temperature value acquired by the temperature sensor preset on the audio output device matches the normal body temperature of the human body, it can be determined that the audio output device is in a wearing state, otherwise, it can be determined that the audio output device is in a non-wearing state.
In addition, before the controlling the TWS headset to play the real-time environment sound while playing the call voice, the controlling the TWS headset may further include: monitoring whether any audio output device in the TWS earphone acquires sensor data meeting a second preset condition or not; if yes, triggering the step of controlling the TWS earphone to play the real-time environment sound while playing the call voice. That is, in this embodiment, an event that any one of the audio output devices acquires sensor data meeting a second preset condition may be used as a trigger event to trigger the step of controlling the TWS headset to play the real-time environment sound while playing the call voice, so as to achieve the purpose of answering the incoming call.
For example, when any audio output device acquires tapping information conforming to a preset tapping characteristic through a preset vibration sensor or an acceleration sensor, the step of controlling the TWS headset to play the real-time environment sound while playing the call voice is triggered. Under the condition, when a user wants to answer the incoming call, the user can tap any audio output device according to a certain tapping rule, and the purpose of answering the incoming call can be achieved.
For another example, when any audio output device collects the light sensing data with sudden change of light intensity through an optical sensor which is preset on the side away from the ear hole, the step of controlling the TWS headset to play the real-time environment sound while playing the call voice is triggered. In this case, when the user wants to answer the incoming call, the user can cover any audio output device with the hand, so that the intensity of the light collected by the optical sensor on the side of the audio output device, which is far away from the ear hole, is suddenly reduced, and the purpose of answering the incoming call can be achieved.
It should be further noted that the TWS headset control method in this embodiment is preferentially applied to the TWS headset, that is, the steps of the method are preferentially performed by the TWS headset. Of course, the TWS headset control method may also be applied to a communication terminal that establishes a call connection with the TWS headset, that is, the steps of the method are all completed by the communication terminal.
Therefore, according to the embodiment of the application, the motion state information of the target object which can be used for determining the motion state of the user is acquired, the real-time environment sound is acquired under the condition that the motion state information of the target object meets the first preset condition, and then the TWS earphone is controlled to play the real-time environment sound while playing the call voice, so that when the user answers the call under the specific motion state, the user can hear the call voice and also can hear the surrounding real-time environment sound, the surrounding environment sound condition can be sensed in real time, complete immersion in the call voice is avoided, personal safety of the user in the process of answering the call through the TWS earphone can be effectively guaranteed, and dangerousness is reduced.
Referring to fig. 2, an embodiment of the present application discloses a specific TWS headset control method, including:
step S21: and acquiring the motion state information of the target object to determine the motion state of the user.
Step S22: and judging whether the motion state information meets a first preset condition or not.
Step S23: and if so, acquiring audio data obtained after the microphone records the current environment.
Step S24: and identifying the voice data in the audio data through an artificial intelligence algorithm.
The identifying, by an artificial intelligence algorithm, the voice data in the audio data may specifically include: training a blank model constructed based on a deep learning algorithm by using training sample data to obtain a trained model, and then outputting audio data to the trained model to obtain voice data output by the trained model.
It can be understood that the training sample data specifically needs to include audio data carrying human voice data, and labeling information obtained by labeling the human voice data in each audio data.
In this embodiment, the voice data is identified through the artificial intelligence algorithm, the identification speed of the voice data can be greatly improved, and along with the continuous increase of the identification times, the accuracy of the identification result can be continuously improved.
Step S25: and eliminating the human voice data from the audio data to obtain the optimized real-time environment sound.
Step S26: and controlling the TWS earphone to play the real-time environment sound while playing the call voice.
It can be understood that, in the embodiment, after the voice data is removed from the original audio data collected by the microphone, the speaking voice of the user when making a call and the voice uttered by other people around the user are greatly attenuated, so that the interference of the voice component in the real-time environment sound to the current call process is reduced.
The specific processes of steps S21 to S23 and S26 may refer to the corresponding contents disclosed in the foregoing embodiments, and are not repeated herein.
Referring to fig. 3, an embodiment of the present application discloses a specific TWS headset control method, including:
step S31: and acquiring the motion state information of the target object to determine the motion state of the user.
Step S32: and judging whether the motion state information meets a first preset condition or not.
Step S33: and if so, acquiring real-time environment sound.
For the specific processes of the steps S31 to S33, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Step S34: and controlling a first audio output device of the TWS earphone to play call voice and controlling a second audio output device to play the real-time environment sound.
That is, this embodiment can control one audio output device in the TWS headset to play the call voice, and the other audio output device to play the real-time environment sound.
In one embodiment, one of the two audio output devices of the TWS headset may be selected in advance to be dedicated to playing the speech of the call and the other audio output device may be dedicated to playing the real-time ambient sound, either manually or by background selection.
In another embodiment, one of the audio output devices currently acquiring the tap information corresponding to the preset tap characteristic may be determined as an audio output device for playing the call voice, and the other audio output device may be used for playing the real-time ambient sound.
In another embodiment, the audio output device that collects the light sensing data with sudden change of light intensity may be determined as the audio output device for playing the call voice, and the other audio output device is used for playing the real-time environment sound.
Referring to fig. 4, an embodiment of the present application discloses a specific TWS headset control method, including:
step S41: and acquiring the motion state information of the target object to determine the motion state of the user.
Step S42: and judging whether the motion state information meets a first preset condition or not.
Step S43: and if so, acquiring real-time environment sound.
For the specific processes of the steps S41 to S43, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Step S44: and overlapping the call voice and the real-time environment sound to obtain overlapped audio data.
Step S45: and controlling a first audio output device and/or a second audio output device in the TWS earphone to play the superposed audio data.
Specifically, in this embodiment, the call voice and the real-time environment sound can be simply and linearly superimposed to obtain the superimposed audio data, and by playing the superimposed audio data, the user can hear both the call voice content and the real-time environment sound content. In addition, the embodiment can play the superposed audio data in only one audio output device, so that the user is not hindered from hearing the conversation voice and the real-time environment sound at the same time, the power consumption can be effectively reduced, and the cruising ability of the earphone is improved.
Further, in order to avoid that the user cannot hear the call content clearly due to too large real-time environment sound, in this embodiment, before the overlapping the call voice and the real-time environment sound to obtain the overlapped audio data, the method may further include:
and according to the sound intensity of the real-time environment sound, adaptively adjusting the sound intensity of the call voice.
That is, in the embodiment, the sound intensity of the real-time environment sound is used as the reference intensity to adaptively adjust the sound intensity of the call voice. Specifically, when the sound intensity of the real-time environment sound is too large, the sound intensity of the call voice can be appropriately adjusted; when the sound intensity of the real-time environment sound is too small, the sound intensity of the call voice can be properly adjusted to be small, so that the situation that the user cannot hear the content of the real-time environment sound clearly can be avoided, and the safety is ensured.
Referring to fig. 5, an embodiment of the present application further discloses a TWS headset control device, which includes:
the information acquisition module 11 is configured to acquire motion state information of a target object to determine a user motion state;
a condition judgment module 12, configured to judge whether the motion state information satisfies a first preset condition;
the data acquisition module 13 is configured to acquire real-time environment sound if the judgment result of the condition judgment module 12 is yes;
and the playing control module 14 is used for controlling the TWS headset to play the real-time environment sound while playing the call voice.
It is to be understood that the TWS headset control device in the present embodiment may be a virtual device located in the TWS headset, or may be a virtual device located on a communication terminal that establishes a call connection with the TWS headset.
Therefore, according to the embodiment of the application, the motion state information of the target object which can be used for determining the motion state of the user is acquired, the real-time environment sound is acquired under the condition that the motion state information of the target object meets the first preset condition, and then the TWS earphone is controlled to play the real-time environment sound while playing the call voice, so that when the user answers the call under the specific motion state, the user can hear the call voice and also can hear the surrounding real-time environment sound, the surrounding environment sound condition can be sensed in real time, complete immersion in the call voice is avoided, personal safety of the user in the process of answering the call through the TWS earphone can be effectively guaranteed, and dangerousness is reduced.
In some embodiments, the information obtaining module 11 may specifically be:
and the communication terminal motion state acquisition module is used for acquiring motion state information acquired by the communication terminal establishing call connection with the TWS earphone.
In some embodiments, the information obtaining module 11 may specifically be:
and the TWS earphone motion state acquisition module is used for acquiring the motion state information acquired by the TWS earphone.
In some embodiments, the information obtaining module 11 may specifically be:
the wearable device motion state acquisition module is used for acquiring motion state information acquired by the wearable device.
In some embodiments, the information obtaining module 11 may specifically be:
and the manned equipment motion state acquisition module is used for acquiring motion state information acquired by the manned equipment.
In some embodiments, the information obtaining module 11 is specifically configured to obtain a moving speed of the target object. Correspondingly, the condition determining module 12 is configured to determine whether the moving speed is greater than a preset speed threshold.
In some embodiments, the information obtaining module 11 is specifically configured to obtain a vibration amplitude of the target object. Correspondingly, the condition determining module 12 is configured to determine whether the vibration amplitude is greater than a preset amplitude threshold.
In some embodiments, the information obtaining module 11 is specifically configured to obtain a vibration frequency of the target object. Correspondingly, the condition determining module 12 is configured to determine whether the vibration frequency is greater than a preset frequency threshold.
In addition, the data acquisition module 13 may specifically include:
and the recording unit is used for acquiring audio data obtained after the microphone records the current environment so as to obtain real-time environment sound.
Further, the data acquisition module 13 may further include:
the voice identification unit is used for identifying voice data in the audio data through an artificial intelligence algorithm;
and the data removing unit is used for removing the human voice data from the audio data to obtain the optimized real-time environment sound.
Further, the TWS headset control apparatus may further include:
the monitoring module is used for monitoring whether any audio output device in the TWS earphone acquires sensor data meeting a second preset condition;
and the triggering module is used for triggering the working process of the play control module 14 when the monitoring result of the monitoring module is yes.
In some embodiments, the playing control module 14 may be specifically configured to control a first audio output device of the TWS headset to play call voice, and control a second audio output device to play the real-time environment sound.
In some embodiments, the play control module 14 may be specifically configured to superimpose the call voice and the real-time environment sound to obtain superimposed audio data; and controlling a first audio output device and/or a second audio output device in the TWS earphone to play the superposed audio data. Further, the TWS headset control apparatus may further include: and the sound intensity adjusting module is used for adaptively adjusting the sound intensity of the call voice according to the sound intensity of the real-time environment sound.
Referring to fig. 6, an embodiment of the present application further discloses a TWS headset control device, which includes a processor 21 and a memory 22; wherein,
a memory 22 for storing a computer program;
a processor 21 for executing the computer program to implement the steps of:
acquiring motion state information of a target object to determine a user motion state; judging whether the motion state information meets a first preset condition or not; if yes, collecting real-time environment sound; and controlling the TWS earphone to play the real-time environment sound while playing the call voice.
Therefore, according to the embodiment of the application, the motion state information of the target object which can be used for determining the motion state of the user is acquired, the real-time environment sound is acquired under the condition that the motion state information of the target object meets the first preset condition, and then the TWS earphone is controlled to play the real-time environment sound while playing the call voice, so that when the user answers the call under the specific motion state, the user can hear the call voice and also can hear the surrounding real-time environment sound, the surrounding environment sound condition can be sensed in real time, complete immersion in the call voice is avoided, personal safety of the user in the process of answering the call through the TWS earphone can be effectively guaranteed, and dangerousness is reduced.
In this embodiment, when the processor 21 executes the computer subprogram stored in the memory 22, the following steps may be specifically implemented: and acquiring motion state information acquired by a communication terminal establishing call connection with the TWS earphone.
In this embodiment, when the processor 21 executes the computer subprogram stored in the memory 22, the following steps may be specifically implemented: and acquiring the motion state information collected by the TWS earphone.
In this embodiment, when the processor 21 executes the computer subprogram stored in the memory 22, the following steps may be specifically implemented: and acquiring the motion state information collected by the wearable equipment.
In this embodiment, when the processor 21 executes the computer subprogram stored in the memory 22, the following steps may be specifically implemented: and acquiring the motion state information acquired by the manned equipment.
In this embodiment, when the processor 21 executes the computer subprogram stored in the memory 22, the following steps may be specifically implemented: acquiring the moving speed of a target object; and judging whether the moving speed is greater than a preset speed threshold value or not.
In this embodiment, when the processor 21 executes the computer subprogram stored in the memory 22, the following steps may be specifically implemented: acquiring the vibration amplitude of a target object; and judging whether the vibration amplitude is larger than a preset amplitude threshold value or not.
In this embodiment, when the processor 21 executes the computer subprogram stored in the memory 22, the following steps may be specifically implemented: acquiring the vibration frequency of a target object; and judging whether the vibration frequency is greater than a preset frequency threshold value.
In this embodiment, when the processor 21 executes the computer subprogram stored in the memory 22, the following steps may be specifically implemented: and acquiring audio data obtained after the microphone records the current environment so as to obtain real-time environment sound.
In this embodiment, when the processor 21 executes the computer subprogram stored in the memory 22, the following steps may be specifically implemented: identifying voice data in the audio data through an artificial intelligence algorithm; and eliminating the human voice data from the audio data to obtain the optimized real-time environment sound.
In this embodiment, when the processor 21 executes the computer subprogram stored in the memory 22, the following steps may be specifically implemented: monitoring whether any audio output device in the TWS earphone acquires sensor data meeting a second preset condition or not; if yes, triggering the step of controlling the TWS earphone to play the real-time environment sound while playing the call voice.
In this embodiment, when the processor 21 executes the computer subprogram stored in the memory 22, the following steps may be specifically implemented: and controlling a first audio output device of the TWS earphone to play call voice and controlling a second audio output device to play the real-time environment sound.
In this embodiment, when the processor 21 executes the computer subprogram stored in the memory 22, the following steps may be specifically implemented: overlapping the call voice and the real-time environment sound to obtain overlapped audio data; and controlling a first audio output device and/or a second audio output device in the TWS earphone to play the superposed audio data.
In this embodiment, when the processor 21 executes the computer subprogram stored in the memory 22, the following steps may be specifically implemented: and according to the sound intensity of the real-time environment sound, adaptively adjusting the sound intensity of the call voice.
It should be further noted that, the TWS headset control device in this embodiment may specifically be a device preferentially located in the TWS headset, and of course, the TWS headset control device may also be disposed on a communication terminal that establishes a call connection with the TWS headset in this embodiment.
Referring to fig. 7, the present embodiment also discloses a TWS headset 20 including the TWS headset control device disclosed in the foregoing embodiment, which includes a processor 21 and a memory 22.
Further, the TWS headset 20 in this embodiment may further include:
the wireless communication interface 23 is configured to obtain various data parameters sent by the predetermined terminal and send various data parameters to the predetermined terminal through a wireless communication manner, and may also perform data parameter transmission between different components of the TWS headset 20 through a wireless communication manner, or may also be configured to obtain externally imported program codes. The wireless communication interface 23 may be a BLE interface.
The wired communication interface 24 is used for acquiring various data parameters sent by the predetermined terminal and sending various data parameters to the predetermined terminal through wired communication, and may also be used for transmitting data parameters between different components of the TWS headset 20 through wired communication, or may also be used for acquiring externally imported program codes. The wired communication interface 24 may be a USB interface.
An audio playing unit 25 for playing audio signals, in particular on each audio output device of the TWS headset.
And the sensor 26 is used for acquiring corresponding sensor data and transmitting the acquired sensor data to the processor 21 for corresponding processing. Specifically, the sensor 26 may include an optical sensor, a temperature sensor, an acceleration sensor, a vibration sensor, a proximity switch, and the like.
An energy storage device 27, particularly located in the charging box, is used to charge the audio output devices and is located on each audio output device to provide power to the various electronic components in the audio output device.
A microphone 28 for picking up sounds in the spatial environment.
Further, the present application also discloses a computer-readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the TWS headset control method disclosed above. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, which are not described herein again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The TWS headset and the control method, device and equipment thereof provided by the present application are introduced in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A TWS headset control method, comprising:
acquiring motion state information of a target object to determine a user motion state;
judging whether the motion state information meets a first preset condition or not;
if yes, collecting real-time environment sound;
and controlling the TWS earphone to play the real-time environment sound while playing the call voice.
2. The TWS headset controlling method of claim 1, wherein the obtaining motion state information of the target object and determining whether the motion state information satisfies a first preset condition comprises:
acquiring the moving speed of a target object, and judging whether the moving speed is greater than a preset speed threshold value;
or, obtaining the vibration amplitude of the target object, and judging whether the vibration amplitude is greater than a preset amplitude threshold value;
or acquiring the vibration frequency of the target object, and judging whether the vibration frequency is greater than a preset frequency threshold value.
3. The TWS headset control method of claim 1 wherein the capturing real-time ambient sound comprises:
and acquiring audio data obtained after the microphone records the current environment so as to obtain real-time environment sound.
4. The TWS headset control method of claim 3 wherein the capturing real-time ambient sound further comprises:
identifying voice data in the audio data through an artificial intelligence algorithm;
and eliminating the human voice data from the audio data to obtain the optimized real-time environment sound.
5. The TWS headset controlling method of claim 1, wherein the controlling the TWS headset before playing the real-time environment sound while playing the call voice further comprises:
monitoring whether any audio output device in the TWS earphone acquires sensor data meeting a second preset condition or not;
if yes, triggering the step of controlling the TWS earphone to play the real-time environment sound while playing the call voice.
6. A TWS headset controlling method according to any of the claims 1 to 5 wherein the controlling of the TWS headset to play the real time ambient sound while playing a talk voice comprises:
controlling a first audio output device of the TWS earphone to play call voice and controlling a second audio output device to play the real-time environment sound;
or, overlapping the call voice and the real-time environment sound to obtain overlapped audio data; and controlling a first audio output device and/or a second audio output device in the TWS earphone to play the superposed audio data.
7. The TWS headset controlling method of claim 6, wherein prior to superimposing the call voice and the real-time ambient sound to obtain superimposed audio data, further comprising:
and according to the sound intensity of the real-time environment sound, adaptively adjusting the sound intensity of the call voice.
8. A TWS headset control device, comprising:
the information acquisition module is used for acquiring the motion state information of the target object so as to determine the motion state of the user;
the condition judgment module is used for judging whether the motion state information meets a first preset condition or not;
the data acquisition module is used for acquiring real-time environment sound when the judgment result of the condition judgment module is positive;
and the playing control module is used for controlling the TWS earphone to play the real-time environment sound while playing the call voice.
9. A TWS headset control device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the TWS headset control method of any of claims 1 to 7.
10. A TWS headset comprising the TWS headset control device of claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811595256.6A CN109451390B (en) | 2018-12-25 | 2018-12-25 | TWS earphone and control method, device and equipment thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811595256.6A CN109451390B (en) | 2018-12-25 | 2018-12-25 | TWS earphone and control method, device and equipment thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109451390A true CN109451390A (en) | 2019-03-08 |
CN109451390B CN109451390B (en) | 2021-01-29 |
Family
ID=65537961
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811595256.6A Active CN109451390B (en) | 2018-12-25 | 2018-12-25 | TWS earphone and control method, device and equipment thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109451390B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572734A (en) * | 2019-09-04 | 2019-12-13 | 广东以诺通讯有限公司 | Method for intelligently monitoring environmental sounds through earphone and earphone |
CN111294691A (en) * | 2020-03-31 | 2020-06-16 | 歌尔股份有限公司 | Earphone, noise reduction method thereof and computer readable storage medium |
CN111586515A (en) * | 2020-04-30 | 2020-08-25 | 歌尔科技有限公司 | Sound monitoring method, equipment and storage medium based on wireless earphone |
CN111698602A (en) * | 2020-06-19 | 2020-09-22 | 青岛歌尔智能传感器有限公司 | Earphone, earphone control method and device and readable storage medium |
CN113194396A (en) * | 2021-04-23 | 2021-07-30 | 歌尔股份有限公司 | Hearing aid, method of controlling the same, and computer-readable storage medium |
CN113223508A (en) * | 2021-03-29 | 2021-08-06 | 深圳市芯中芯科技有限公司 | Management method of dual-mode TWS Bluetooth headset |
CN113542963A (en) * | 2021-07-21 | 2021-10-22 | RealMe重庆移动通信有限公司 | Sound mode control method, device, electronic equipment and storage medium |
CN113766382A (en) * | 2021-08-31 | 2021-12-07 | 安克创新科技股份有限公司 | Earphone control method and device and electronic equipment |
CN113852889A (en) * | 2021-10-09 | 2021-12-28 | 安克创新科技股份有限公司 | Active noise reduction method and device and electronic equipment |
WO2022037398A1 (en) * | 2020-08-21 | 2022-02-24 | 华为技术有限公司 | Audio control method, device, and system |
CN115002598A (en) * | 2022-05-26 | 2022-09-02 | 歌尔股份有限公司 | Earphone mode control method, earphone device, head-mounted device, and storage medium |
CN117714584A (en) * | 2023-07-13 | 2024-03-15 | 荣耀终端有限公司 | Audio control method and related device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103825993A (en) * | 2014-03-11 | 2014-05-28 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for treating environment sound during conversation |
US20140307911A1 (en) * | 2013-04-15 | 2014-10-16 | Funai Electric Co., Ltd. | Ear pad and earphone device |
CN203968327U (en) * | 2014-07-01 | 2014-11-26 | 深圳智我科技有限公司 | A kind of exempt from extract carry out low coverage dialogue earphone |
CN105306671A (en) * | 2015-07-02 | 2016-02-03 | 太仓埃特奥数据科技有限公司 | Method and device for processing terminal message based on user status |
CN107613113A (en) * | 2017-09-05 | 2018-01-19 | 深圳天珑无线科技有限公司 | A kind of headset mode control method, device and computer-readable recording medium |
CN108521621A (en) * | 2018-03-30 | 2018-09-11 | 广东欧珀移动通信有限公司 | Signal processing method, device, terminal, earphone and readable storage medium storing program for executing |
CN108833675A (en) * | 2018-05-18 | 2018-11-16 | 出门问问信息科技有限公司 | The reminding method and device of extraneous voice messaging |
-
2018
- 2018-12-25 CN CN201811595256.6A patent/CN109451390B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140307911A1 (en) * | 2013-04-15 | 2014-10-16 | Funai Electric Co., Ltd. | Ear pad and earphone device |
CN103825993A (en) * | 2014-03-11 | 2014-05-28 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for treating environment sound during conversation |
CN203968327U (en) * | 2014-07-01 | 2014-11-26 | 深圳智我科技有限公司 | A kind of exempt from extract carry out low coverage dialogue earphone |
CN105306671A (en) * | 2015-07-02 | 2016-02-03 | 太仓埃特奥数据科技有限公司 | Method and device for processing terminal message based on user status |
CN107613113A (en) * | 2017-09-05 | 2018-01-19 | 深圳天珑无线科技有限公司 | A kind of headset mode control method, device and computer-readable recording medium |
CN108521621A (en) * | 2018-03-30 | 2018-09-11 | 广东欧珀移动通信有限公司 | Signal processing method, device, terminal, earphone and readable storage medium storing program for executing |
CN108833675A (en) * | 2018-05-18 | 2018-11-16 | 出门问问信息科技有限公司 | The reminding method and device of extraneous voice messaging |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572734A (en) * | 2019-09-04 | 2019-12-13 | 广东以诺通讯有限公司 | Method for intelligently monitoring environmental sounds through earphone and earphone |
CN111294691A (en) * | 2020-03-31 | 2020-06-16 | 歌尔股份有限公司 | Earphone, noise reduction method thereof and computer readable storage medium |
CN111586515A (en) * | 2020-04-30 | 2020-08-25 | 歌尔科技有限公司 | Sound monitoring method, equipment and storage medium based on wireless earphone |
CN111698602A (en) * | 2020-06-19 | 2020-09-22 | 青岛歌尔智能传感器有限公司 | Earphone, earphone control method and device and readable storage medium |
WO2022037398A1 (en) * | 2020-08-21 | 2022-02-24 | 华为技术有限公司 | Audio control method, device, and system |
CN113223508A (en) * | 2021-03-29 | 2021-08-06 | 深圳市芯中芯科技有限公司 | Management method of dual-mode TWS Bluetooth headset |
CN113223508B (en) * | 2021-03-29 | 2023-08-04 | 深圳市芯中芯科技有限公司 | Management method of dual-mode TWS Bluetooth headset |
CN113194396A (en) * | 2021-04-23 | 2021-07-30 | 歌尔股份有限公司 | Hearing aid, method of controlling the same, and computer-readable storage medium |
CN113542963B (en) * | 2021-07-21 | 2022-12-20 | RealMe重庆移动通信有限公司 | Sound mode control method, device, electronic equipment and storage medium |
CN113542963A (en) * | 2021-07-21 | 2021-10-22 | RealMe重庆移动通信有限公司 | Sound mode control method, device, electronic equipment and storage medium |
CN113766382A (en) * | 2021-08-31 | 2021-12-07 | 安克创新科技股份有限公司 | Earphone control method and device and electronic equipment |
CN113766382B (en) * | 2021-08-31 | 2024-09-24 | 安克创新科技股份有限公司 | Earphone control method and device and electronic equipment |
CN113852889A (en) * | 2021-10-09 | 2021-12-28 | 安克创新科技股份有限公司 | Active noise reduction method and device and electronic equipment |
CN113852889B (en) * | 2021-10-09 | 2023-10-31 | 安克创新科技股份有限公司 | Active noise reduction method and device and electronic equipment |
CN115002598A (en) * | 2022-05-26 | 2022-09-02 | 歌尔股份有限公司 | Earphone mode control method, earphone device, head-mounted device, and storage medium |
CN115002598B (en) * | 2022-05-26 | 2024-02-13 | 歌尔股份有限公司 | Headset mode control method, headset device, head-mounted device and storage medium |
CN117714584A (en) * | 2023-07-13 | 2024-03-15 | 荣耀终端有限公司 | Audio control method and related device |
CN117714584B (en) * | 2023-07-13 | 2025-01-07 | 荣耀终端有限公司 | Audio control method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN109451390B (en) | 2021-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109451390B (en) | TWS earphone and control method, device and equipment thereof | |
CN108810788B (en) | Wearing condition detection method and device of wireless earphone and wireless earphone | |
CN110493678B (en) | Earphone control method and device, earphone and storage medium | |
CN113132841B (en) | Method for reducing earphone blocking effect and related device | |
CN111464905A (en) | Hearing enhancement method and system based on intelligent wearable device and wearable device | |
CN106601272B (en) | Earphone and its audio recognition method | |
US9299348B2 (en) | Method and apparatus for obtaining information from the web | |
CN113949956B (en) | Noise reduction processing method and device, electronic equipment, earphone and storage medium | |
CN108683790B (en) | Voice processing method and related product | |
US20120189129A1 (en) | Apparatus for Aiding and Informing a User | |
CN106791122A (en) | Call control method of wearable device and wearable device | |
US9368884B2 (en) | Apparatus for electrically coupling contacts by magnetic forces | |
EP3618457A1 (en) | A hearing device configured to utilize non-audio information to process audio signals | |
CN105827793B (en) | A kind of speech-oriented output method and mobile terminal | |
CN112822585A (en) | Audio playing method, device and system of in-ear earphone | |
CN113194383A (en) | Sound playing method and device, electronic equipment and readable storage medium | |
CN114333886A (en) | Audio processing method and device, electronic equipment and storage medium | |
CN113766382B (en) | Earphone control method and device and electronic equipment | |
CN109361987B (en) | Sports earphone and control method, device and equipment thereof | |
CN110572734A (en) | Method for intelligently monitoring environmental sounds through earphone and earphone | |
CN118413794A (en) | Self-adapting method for binaural hearing system | |
CN212749771U (en) | Information processing system based on audio wearable equipment | |
CN114120950B (en) | Human voice shielding method and electronic equipment | |
CN106843469B (en) | Method for controlling wearable device to give time and wearable device | |
CN112135213B (en) | Information processing method based on audio wearable device |
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 |