CN111787452B - TWS earphone, TWS earphone control method, TWS earphone control device and computer readable storage medium - Google Patents

TWS earphone, TWS earphone control method, TWS earphone control device and computer readable storage medium Download PDF

Info

Publication number
CN111787452B
CN111787452B CN202010748241.XA CN202010748241A CN111787452B CN 111787452 B CN111787452 B CN 111787452B CN 202010748241 A CN202010748241 A CN 202010748241A CN 111787452 B CN111787452 B CN 111787452B
Authority
CN
China
Prior art keywords
tws
earphone
earphones
headset
tws earphone
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.)
Active
Application number
CN202010748241.XA
Other languages
Chinese (zh)
Other versions
CN111787452A (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 Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
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 Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202010748241.XA priority Critical patent/CN111787452B/en
Publication of CN111787452A publication Critical patent/CN111787452A/en
Application granted granted Critical
Publication of CN111787452B publication Critical patent/CN111787452B/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
    • H04R1/1041Mechanical or electronic switches, or control elements

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Headphones And Earphones (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a TWS earphone control method. The TWS earphone comprises a wearing induction device, and the control method of the TWS earphone comprises the following steps: when the TWS earphone is detected to enter a voice call state, controlling a microphone and a loudspeaker of the TWS earphone to enter a working state; the wearing state of the TWS earphone is obtained at regular time through the wearing induction device, and whether the TWS earphone is removed or not is judged according to the wearing state of the TWS earphone; and if the number of the removed TWS earphones exists, acquiring the number of the removed TWS earphones, and correspondingly controlling the microphone and/or the loudspeaker of the removed TWS earphones to stop working according to the number. The invention also discloses a TWS earphone control device, a TWS earphone and a computer readable storage medium. The invention can solve the problem of poor cruising ability of the existing TWS earphone.

Description

TWS earphone, TWS earphone control method, TWS earphone control device and TWS earphone control computer readable storage medium
Technical Field
The invention relates to the technical field of portable listening equipment, in particular to a TWS earphone, a TWS earphone control method, a TWS earphone control device and a computer readable storage medium.
Background
Along with the rapid development of mobile terminal technology and chip technology, the earphone market has been developed rapidly, especially the wireless earphone market. Among various Wireless earphone products, a TWS (True Wireless Stereo) earphone can realize Wireless separation of left and right sound channels of bluetooth, and meanwhile, compared with a traditional bluetooth earphone, the TWS earphone is obviously improved in the aspects of portability, high-definition tone quality, intelligent level and the like, and is popular among Wireless earphone users. However, the electric quantity of the existing TWS earphone is consumed quickly, a user needs to frequently use the charging box to charge the TWS earphone, and the TWS earphone cannot be used in the charging process, so that the use experience of the user is poor. Therefore, how to improve the cruising ability of the TWS headset is a problem that needs to be solved urgently at present.
Disclosure of Invention
The invention mainly aims to provide a TWS earphone, a control method and a control device thereof, and a computer readable storage medium, and aims to solve the problem of poor cruising ability of the existing TWS earphone.
In order to achieve the above object, the present invention provides a control method of a TWS headset, the TWS headset including a wearing sensing device, the control method of the TWS headset including the steps of:
when the TWS earphone is detected to enter a voice call state, controlling a microphone and a loudspeaker of the TWS earphone to enter a working state;
the wearing state of the TWS earphone is obtained at regular time through the wearing induction device, and whether the TWS earphone is removed or not is judged according to the wearing state of the TWS earphone;
and if the number of the removed TWS earphones exists, acquiring the number of the removed TWS earphones, and correspondingly controlling the microphone and/or the loudspeaker of the removed TWS earphones to stop working according to the number.
Optionally, the step of correspondingly controlling the microphone and/or the speaker of the removed TWS headset to stop working according to the number includes:
and if the number of the removed TWS earphones is one, controlling the microphone and the loudspeaker of the removed TWS earphones to stop working.
Optionally, the step of correspondingly controlling the microphone and/or the speaker of the removed TWS headset to stop working according to the number includes:
and if the number of the removed TWS earphones is two, controlling the loudspeaker of the removed TWS earphone to stop working.
Optionally, the control method of the TWS headset further includes:
when the removed TWS earphone is detected to be worn again, controlling the microphone and the loudspeaker of the worn TWS earphone to return to the working state.
Optionally, the control method of the TWS headset further includes:
and when the end of the voice call is detected, controlling the microphone and the loudspeaker of the TWS earphone to stop working.
Optionally, the step of acquiring the number of the removed TWS earphones and correspondingly controlling the microphone and/or the speaker of the removed TWS earphones to stop working according to the number includes:
detecting whether the removed earphone is worn again within a preset time period through the wearing sensing device;
if not, acquiring the number of the removed TWS earphones, and correspondingly controlling a microphone and/or a loudspeaker of the removed TWS earphones to stop working according to the number.
Optionally, the wearable sensing device comprises an infrared sensor or a capacitive proximity sensor.
Further, in order to achieve the above object, the present invention also provides a control device of a TWS headset, including:
the first control module is used for controlling a microphone and a loudspeaker of the TWS earphone to enter a working state when the TWS earphone is detected to enter a voice call state;
the state detection module is used for acquiring the wearing state of the TWS earphone in a timing mode through the wearing induction device and judging whether the TWS earphone is removed or not according to the wearing state of the TWS earphone;
and the second control module is used for acquiring the number of the removed TWS earphones if the TWS earphones exist, and correspondingly controlling the microphone and/or the loudspeaker of the removed TWS earphones to stop working according to the number.
In addition, to achieve the above object, the present invention further provides a TWS headset including a wearing sensing device, the TWS headset further including: a memory, a processor and a control program stored on the memory and executable on the processor, the control program when executed by the processor implementing the steps of the control method of the TWS headset as described above.
Further, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon a control program which, when executed by a processor, realizes the steps of the control method of the TWS headset as described above.
The invention provides a TWS earphone and a control method, a device and a computer readable storage medium thereof, wherein the TWS earphone is provided with a wearing induction device, and when the TWS earphone is detected to enter a voice call state, a microphone and a loudspeaker of the TWS earphone are controlled to enter a working state; then, the wearing state of the TWS earphone is obtained regularly through the wearing induction device, and whether the TWS earphone is removed or not is judged according to the wearing state of the TWS earphone; and if the number of the removed TWS earphones exists, acquiring the number of the removed TWS earphones, and correspondingly controlling a microphone and/or a loudspeaker of the removed TWS earphones to stop working according to the number. In the invention, the wearing state of each TWS earphone in the call process is regularly acquired through the wearing induction device arranged in the TWS earphone, and when the TWS earphone is detected to be removed, the microphone and/or the loudspeaker are correspondingly controlled to stop working according to the number of the removed TWS earphones, so that the electric quantity is saved, and the cruising ability of the TWS earphone is improved.
Drawings
Fig. 1 is a schematic diagram of a terminal structure of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a TWS headset control method according to a first embodiment of the present invention;
fig. 3 is a functional block diagram of a first embodiment of a control device of a TWS headset according to the present invention.
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a terminal structure of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a TWS (True Wireless Stereo) earphone.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU (Central Processing Unit), a communication bus 1002, and a memory 1003. Wherein a communication bus 1002 is used to enable connective communication between these components. The memory 1003 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1003 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further comprise a sensor. The sensors may include, among other things, infrared sensors, capacitive proximity sensors, ambient light sensors, temperature sensors, motion sensors, and other sensors. Specifically, an Infrared (Infrared Radiation) Sensor, a Capacitive Proximity Sensor (also called Cap Sensor), an ambient light Sensor, and a temperature Sensor may be used to detect whether the TWS headset is in a worn state. The Infrared (Infrared Radiation) sensor detects whether the TWS earphone is in a wearing state through Infrared rays, the capacitive proximity sensor detects whether the TWS earphone is in the wearing state through a touch sensing technology, the ambient light sensor can detect whether the TWS earphone is in the wearing state according to the brightness of ambient light, and the temperature sensor can detect whether the TWS earphone is in the wearing state according to the change of temperature. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), and can detect the magnitude and direction of gravity when the motion sensor is stationary, and can be used for applications of recognizing the posture of a terminal, functions related to vibration recognition, and the like.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1003, which is a kind of computer storage medium, may include therein an operating system, a network communication module, and a control program.
In the terminal shown in fig. 1, the processor 1001 may be configured to call up a control program stored in the memory 1003 and perform the following operations:
when the TWS earphone is detected to enter a voice call state, controlling a microphone and a loudspeaker of the TWS earphone to enter a working state;
the wearing state of the TWS earphone is obtained regularly through the wearing induction device, and whether the TWS earphone is removed or not is judged according to the wearing state of the TWS earphone;
and if the number of the removed TWS earphones exists, acquiring the number of the removed TWS earphones, and correspondingly controlling the microphone and/or the loudspeaker of the removed TWS earphones to stop working according to the number.
Further, the processor 1001 may call the control program stored in the memory 1003, and further perform the following operations:
and if the number of the removed TWS earphones is one, controlling the microphone and the loudspeaker of the removed TWS earphones to stop working.
Further, the processor 1001 may call the control program stored in the memory 1003, and also perform the following operations:
and if the number of the removed TWS earphones is two, controlling the loudspeaker of the removed TWS earphones to stop working.
Further, the processor 1001 may call the control program stored in the memory 1003, and further perform the following operations:
when the removed TWS earphone is detected to be worn again, controlling the microphone and the loudspeaker of the worn TWS earphone to return to the working state.
Further, the processor 1001 may call the control program stored in the memory 1003, and further perform the following operations:
and when the end of the voice call is detected, controlling the microphone and the loudspeaker of the TWS earphone to stop working.
Further, the processor 1001 may call the control program stored in the memory 1003, and also perform the following operations:
detecting whether the removed earphone is worn again within a preset time period through the wearing sensing device;
and if not, acquiring the number of the removed TWS earphones, and correspondingly controlling the microphone and/or the loudspeaker of the removed TWS earphones to stop working according to the number.
Further, the wearable sensing device comprises an infrared sensor, a capacitive proximity sensor, an ambient light sensor, or a temperature sensor.
Based on the above hardware structure, various embodiments of the TWS headset control method of the present invention are proposed.
The invention provides a TWS earphone control method.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a TWS headset control method according to the present invention.
In this embodiment, the TWS headset includes a wear sensing device, and the control method of the TWS headset includes:
step S10, when detecting that the TWS earphone enters the voice call state, controlling the microphone and the loudspeaker of the TWS earphone to enter the working state;
in this embodiment, the TWS headset includes a wearing sensing device, wherein the wearing sensing device may include an Infrared (Infrared Radiation) Sensor, a Capacitive Proximity Sensor (also called Cap Sensor), an ambient light Sensor, or a temperature Sensor. The infrared sensor detects whether the TWS earphone is in a wearing state or not by emitting infrared rays and then receiving the time of the emitted infrared rays, the capacitive proximity sensor detects whether the TWS earphone is in the wearing state or not by a touch sensing technology, the ambient light sensor can detect whether the TWS earphone is in the wearing state or not according to the brightness of ambient light, and the temperature sensor can detect whether the TWS earphone is in the wearing state or not according to the change of temperature.
When it is detected that the TWS headset enters a voice call state, that is, when it is detected that a call is received through the TWS headset, the microphone and the speaker of the TWS headset are controlled to enter an operating state. Specifically, a power supply switch of the microphone and the speaker of the TWS headset may be turned on to supply power to the microphone and the speaker of the TWS headset, so as to enter an operating state.
Step S20, the wearing state of the TWS earphone is obtained regularly through the wearing induction device, and whether the TWS earphone is removed or not is judged according to the wearing state of the TWS earphone;
and then, acquiring the wearing state of the TWS earphone at regular time through the wearing induction device, and judging whether the TWS earphone is removed or not according to the wearing state of the TWS earphone. The timing can be set to every 10-60 seconds, a fixed value can be preset according to the actual needs of a user, of course, the mapping relation between different call durations and the timing detection time can also be preset, then the timing detection time can be flexibly adjusted according to the current call duration of the user, and the duration of the TWS earphone can be prevented from being influenced by frequent detection of the wearing state by flexibly adjusting the timing detection duration of the wearing state based on the call duration.
And step S30, if the number of the removed TWS earphones exists, acquiring the number of the removed TWS earphones, and correspondingly controlling the microphone and/or the loudspeaker of the removed TWS earphones to stop working according to the number.
And if the TWS earphones are detected to be removed, acquiring the number of the removed TWS earphones, and correspondingly controlling a microphone and/or a loudspeaker of the removed TWS earphones to stop working according to the number.
As a control manner, the step of correspondingly controlling the microphone and/or the speaker of the removed TWS headset to stop working according to the number may include:
step a1, if the number of the removed TWS earphones is one, controlling the microphone and the loudspeaker of the removed TWS earphones to stop working.
As one of the control methods, if the number of the removed TWS earphones is one, that is, if the left earphone or the right earphone in the TWS earphones is removed, the microphone and the speaker of the removed TWS earphones are controlled to stop working, specifically, the microphone and the speaker of the removed TWS earphones can be controlled to stop working by closing the power supply switches of the microphone and the speaker of the removed TWS earphones so as to perform power off control on the microphone and the speaker of the removed TWS earphones; of course, the microphone and the loudspeaker of the removed TWS earphone can also be controlled to stop working in a resistance-pulling-up mode.
As another control manner, the step of correspondingly controlling the microphone and/or the speaker of the removed TWS headset to stop working according to the number may further include:
step a2, if the number of the removed TWS earphones is two, controlling the loudspeaker of the removed TWS earphones to stop working.
If the number of the removed TWS earphones is two, because the two TWS earphones are still in a call state at this time, it is inferred that the user mainly speaks and does not need to receive voice feedback of the other party, at this time, power supply switches of the speakers of the two removed TWS earphones can be closed so as to perform power off control on the speakers of the two removed TWS earphones, so that the speakers of the removed TWS earphones stop working, or the speakers of the removed TWS earphones are controlled to stop working in a resistance-raising mode, thereby saving the electric quantity of the speakers and improving the cruising ability of the TWS earphones.
The embodiment of the invention provides a control method of a TWS earphone, wherein a wearing induction device is arranged in the TWS earphone, and when the TWS earphone is detected to enter a voice call state, a microphone and a loudspeaker of the TWS earphone are controlled to enter a working state; then, acquiring the wearing state of the TWS earphone at regular time through the wearing induction device, and judging whether the TWS earphone is removed or not according to the wearing state of the TWS earphone; and if the number of the removed TWS earphones exists, acquiring the number of the removed TWS earphones, and correspondingly controlling a microphone and/or a loudspeaker of the removed TWS earphones to stop working according to the number. In the embodiment of the invention, the wearing state of each TWS earphone in the call process is acquired at regular time through the wearing sensing device arranged in the TWS earphone, and when the TWS earphone is detected to be removed, the microphone and/or the loudspeaker are correspondingly controlled to stop working according to the number of the removed TWS earphones, so that the electric quantity is saved, and the cruising ability of the TWS earphone is improved.
Further, based on the above first embodiment, a second embodiment of the control method of the TWS headset of the present invention is proposed.
In this embodiment, after the step S30, the method for controlling a TWS headset further includes:
and step A, when detecting that the removed TWS earphone is worn again, controlling a microphone and a loudspeaker of the TWS earphone to be worn again to be in a working state.
In the embodiment, after the microphone and/or the loudspeaker of the TWS earphone which is correspondingly controlled to be removed stops working, the wearing state of each TWS earphone is continuously and periodically detected, and when the TWS earphone which is correspondingly controlled to be removed is detected to be worn again, the microphone and the loudspeaker of the TWS earphone which is worn again are controlled to be restored to the working state, so that the user can utilize the TWS earphone which is worn again for voice call.
Further, based on the above-described first embodiment, a third embodiment of the control method of the TWS headset of the present invention is proposed.
In this embodiment, after the step S30, the method for controlling a TWS headset further includes:
and step B, when the voice call is detected to be finished, controlling a microphone and a loudspeaker of the TWS earphone to stop working.
In this embodiment, when the end of the voice call is detected, the microphone and the speaker of the TWS headset are controlled to stop working, specifically, the power switches of the two removed speakers of the TWS headset are turned off, and the microphone and the speaker of the TWS headset perform power-off control, or the microphone and the speaker of the removed TWS headset are controlled to stop working in a manner of pulling up the resistor.
Further, in the specific implementation process, since the user may suddenly answer the call while listening to the audio using the TWS headset, when it is detected that the voice call is ended, it may be detected whether there is an interrupted audio application (such as a music app, a video app, and the like), and if there is an interrupted audio application, the microphone of the TWS headset may be controlled to stop working, and the speaker is kept in a working state to continue playing the last interrupted audio.
Further, based on the above first embodiment, a fourth embodiment of the control method of the TWS headset of the present invention is proposed.
In this embodiment, step S30 may include:
a31, detecting whether the removed earphone is worn again within a preset time period through the wearing sensing device;
if not, executing step a32, acquiring the number of the removed TWS earphones, and correspondingly controlling the microphone and/or the loudspeaker of the removed TWS earphones to stop working according to the number.
In this embodiment, after the TWS headset is controlled to enter the working state when it is detected that the TWS headset enters the voice call state, if it is detected that the TWS headset is removed by the wearing sensing device, at this time, it is continuously detected whether the removed headset is worn again within a preset time period by the wearing sensing device, where the preset time period may be set to a shorter time period, for example, 5s, for determining whether the TWS headset is removed because of an accidental drop.
If it is detected that the removed TWS headset is not worn again within the preset time period, it indicates that the TWS headset is not removed due to an unexpected situation, and at this time, the number of the removed TWS headset is obtained, and the microphone and/or the speaker of the removed TWS headset is controlled to stop working according to the number.
If the earphone which is removed within the preset time period is detected to be worn again, no control is performed.
In this embodiment, when it is detected that the TWS earpiece is removed, it is determined whether the TWS earpiece is removed due to an unexpected condition by detecting whether the removed TWS earpiece is worn again within a preset time period, and if it is detected that the removed TWS earpiece is not worn again within the preset time period, it indicates that the TWS earpiece is not removed due to the unexpected condition, at this time, the number of the removed TWS earpiece is obtained, and the microphone and/or the speaker of the removed TWS earpiece is controlled to stop operating according to the number. By the mode, after the condition that the TWS accidentally drops is eliminated, the microphone and/or the loudspeaker of the removed TWS earphone is correspondingly controlled to stop working, so that the electric quantity loss caused by short-term power failure and restarting is avoided, and the cruising ability of the TWS earphone can be further improved.
The invention also provides a control device of the TWS earphone.
Referring to fig. 3, fig. 3 is a functional block diagram of a control device of TWS headset according to a first embodiment of the present invention.
As shown in fig. 3, the control apparatus of the TWS headset includes:
the first control module 10 is used for controlling a microphone and a loudspeaker of the TWS earphone to enter a working state when the TWS earphone is detected to enter a voice call state;
the state detection module 20 is configured to periodically acquire a wearing state of the TWS headset through the wearing sensing device, and determine whether the TWS headset is removed according to the wearing state of the TWS headset;
and the second control module 30 is configured to, if the TWS headset exists, acquire the number of the removed TWS headset, and correspondingly control the microphone and/or the speaker of the removed TWS headset to stop working according to the number.
Further, the second control module 30 is further configured to:
and if the number of the removed TWS earphones is one, controlling a microphone and a loudspeaker of the removed TWS earphones to stop working.
Further, the second control module 30 is further configured to:
and if the number of the removed TWS earphones is two, controlling the loudspeaker of the removed TWS earphone to stop working.
Further, the control device of the TWS headset further includes:
and the third control module is used for controlling the microphone and the loudspeaker of the removed TWS earphone to be restored to the working state when the TWS earphone is detected to be worn again.
Further, the control device of the TWS headset further includes:
and the fourth control module is used for controlling the microphone and the loudspeaker of the TWS earphone to stop working when the voice call is detected to be ended.
Further, the second control module 30 includes:
the detection unit is used for detecting whether the removed earphone is worn again within a preset time period through the wearing induction device;
and the control unit is used for acquiring the number of the removed TWS earphones if the removed earphones are detected not to be worn again in a preset time period, and correspondingly controlling the microphone and/or the loudspeaker of the removed TWS earphones to stop working according to the number.
Further, the wearable sensing device comprises an infrared sensor, a capacitive proximity sensor, an ambient light sensor, or a temperature sensor.
The function implementation of each module in the control device of the TWS headset corresponds to each step in the control method embodiment of the TWS headset, and the function and implementation process thereof are not described in detail herein.
The invention also provides a computer readable storage medium having stored thereon a control program which, when executed by a processor, implements the steps of the method of controlling a TWS headset as described in any one of the above embodiments.
The specific embodiment of the computer readable storage medium of the present invention is substantially the same as the embodiments of the TWS headset control method described above, and details are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or the portions contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A control method of a TWS headset is characterized in that the TWS headset comprises a wearing induction device, and the control method of the TWS headset comprises the following steps:
when the TWS earphone is detected to enter a voice call state, controlling a microphone and a loudspeaker of the TWS earphone to enter a working state;
determining timing detection time corresponding to the current call duration of the voice call according to a mapping relation between preset call duration and the timing detection time, regularly acquiring the wearing state of the TWS earphone according to the timing detection time through the wearing induction device, and judging whether the TWS earphone is removed or not according to the wearing state of the TWS earphone;
and if the number of the TWS earphones exists, acquiring the number of the removed TWS earphones, and if the number of the removed TWS earphones is two, controlling the loudspeaker of the removed TWS earphones to stop working.
2. The method for controlling the TWS headset of claim 1, wherein the step of obtaining the number of removed TWS headsets is followed by further comprising:
and if the number of the removed TWS earphones is one, controlling the microphone and the loudspeaker of the removed TWS earphones to stop working.
3. The control method of the TWS headset of any one of claims 1 to 2, wherein the control method of the TWS headset further comprises:
when the removed TWS earphone is detected to be worn again, controlling the microphone and the loudspeaker of the worn TWS earphone to return to the working state.
4. The control method of the TWS headset of any one of claims 1 to 2, wherein the control method of the TWS headset further comprises:
and when the end of the voice call is detected, controlling the microphone and the loudspeaker of the TWS earphone to stop working.
5. The method for controlling the TWS headset according to any one of claims 1 to 2, wherein the step of acquiring the number of the removed TWS headset and correspondingly controlling the microphone and/or the speaker of the removed TWS headset to stop working according to the number comprises the steps of:
detecting whether the removed earphone is worn again within a preset time period through the wearing induction device;
if not, acquiring the number of the removed TWS earphones, and correspondingly controlling a microphone and/or a loudspeaker of the removed TWS earphones to stop working according to the number.
6. The control method of a TWS headset of any one of claims 1 to 2, wherein the wear sensing device comprises an infrared sensor, a capacitive proximity sensor, an ambient light sensor or a temperature sensor.
7. A control device of a TWS headset, characterized in that the control device of the TWS headset comprises:
the first control module is used for controlling a microphone and a loudspeaker of the TWS earphone to enter a working state when the TWS earphone is detected to enter a voice call state;
the state detection module is used for determining the timing detection time corresponding to the current call duration of the voice call according to the mapping relation between the preset call duration and the timing detection time, acquiring the wearing state of the TWS earphone in a timing mode according to the timing detection time through a wearing induction device, and judging whether the TWS earphone is removed or not according to the wearing state of the TWS earphone;
and the second control module is used for acquiring the number of the removed TWS earphones if the TWS earphones exist, and controlling the loudspeaker of the removed TWS earphones to stop working if the number of the removed TWS earphones is two.
8. A TWS headset, characterized in that the TWS headset comprises a wear sensing device, the TWS headset further comprising: memory, a processor and a control program stored on the memory and executable on the processor, the control program when executed by the processor implementing the steps of the control method of a TWS headset according to any of claims 1 to 6.
9. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a control program which, when being executed by a processor, realizes the steps of the control method of the TWS headset according to any one of claims 1 to 6.
CN202010748241.XA 2020-07-29 2020-07-29 TWS earphone, TWS earphone control method, TWS earphone control device and computer readable storage medium Active CN111787452B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010748241.XA CN111787452B (en) 2020-07-29 2020-07-29 TWS earphone, TWS earphone control method, TWS earphone control device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010748241.XA CN111787452B (en) 2020-07-29 2020-07-29 TWS earphone, TWS earphone control method, TWS earphone control device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111787452A CN111787452A (en) 2020-10-16
CN111787452B true CN111787452B (en) 2022-07-22

Family

ID=72766081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010748241.XA Active CN111787452B (en) 2020-07-29 2020-07-29 TWS earphone, TWS earphone control method, TWS earphone control device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111787452B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112752186A (en) * 2021-01-26 2021-05-04 歌尔科技有限公司 Earphone wearing state detection method and device and earphone
CN114143652A (en) * 2021-11-26 2022-03-04 歌尔科技有限公司 TWS earphone wearing state detection method, device, equipment and medium
CN117857964A (en) * 2022-09-30 2024-04-09 Oppo广东移动通信有限公司 Control method and device of equipment, bluetooth headset and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131723A (en) * 2016-04-28 2016-11-16 上海斐讯数据通信技术有限公司 The control method of a kind of earphone, control device and earphone
CN110213685A (en) * 2019-05-11 2019-09-06 出门问问信息科技有限公司 Earphone condition checkout gear, earphone condition detection method and earphone
CN111182401A (en) * 2019-12-31 2020-05-19 联想(北京)有限公司 Detection method and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9338540B2 (en) * 2013-09-18 2016-05-10 Lenovo (Singapore) Pte. Ltd. Device control based on worn headphone detection
US10911860B2 (en) * 2016-03-23 2021-02-02 Intel Corporation Automated and body driven headset audio control
CN107920298B (en) * 2018-01-03 2019-07-05 京东方科技集团股份有限公司 A kind of earphone, headset control method and device
US20190223192A1 (en) * 2018-01-12 2019-07-18 Qualcomm Incorporated Time slot reassignment mechanism for radio access technology coexistence improvement
CN108429964A (en) * 2018-05-09 2018-08-21 广东小天才科技有限公司 Control method, TWS earphones, equipment and the storage medium of TWS earphones
CN109327757B (en) * 2018-09-30 2020-10-02 歌尔科技有限公司 Dual-microphone noise reduction earphone and sound processing method and device thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131723A (en) * 2016-04-28 2016-11-16 上海斐讯数据通信技术有限公司 The control method of a kind of earphone, control device and earphone
CN110213685A (en) * 2019-05-11 2019-09-06 出门问问信息科技有限公司 Earphone condition checkout gear, earphone condition detection method and earphone
CN111182401A (en) * 2019-12-31 2020-05-19 联想(北京)有限公司 Detection method and electronic equipment

Also Published As

Publication number Publication date
CN111787452A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN111787452B (en) TWS earphone, TWS earphone control method, TWS earphone control device and computer readable storage medium
US10931805B2 (en) Method and apparatus for controlling application program, and electronic device
US10805731B2 (en) Method for controlling earphone switching, earphone, and earphone system
EP2990943B1 (en) Intelligent terminal device control method and system
US10367950B2 (en) Device notification adjustment dependent on user proximity
CN110493678B (en) Earphone control method and device, earphone and storage medium
US20200008124A1 (en) Method for Controlling Earphone Switching and Earphone
EP3246790B1 (en) Information processing of combined voice and gesture input operations
CN108540900B (en) Volume adjusting method and related product
CN105138319B (en) Event-prompting method and device
WO2017166603A1 (en) Sound quality adjustment method, terminal, electronic device, and non-volatile computer storage medium
CN111063170A (en) TWS earphone loss prevention method, TWS earphone and computer readable storage medium
US11445285B2 (en) Interactive control method and device of an earphone case, earphone case and storage medium
WO2014183529A1 (en) Mobile terminal talk mode switching method, device and storage medium
KR102386110B1 (en) Portable sound equipment
WO2020107290A1 (en) Audio output control method and apparatus, computer readable storage medium, and electronic device
US10681451B1 (en) On-body detection of wearable devices
CN112150778A (en) Environmental sound processing method and related device
CN111093133B (en) Wireless device control method, apparatus and computer readable storage medium
CN111698601A (en) Bluetooth headset, key sensitivity adjusting method and device thereof and readable storage medium
EP3246791B1 (en) Information processing apparatus, informating processing system, and information processing method
CN112997471B (en) Audio channel switching method and device, readable storage medium and electronic equipment
WO2020097927A1 (en) Call control method and device, computer-readable storage medium and electronic device
CN113039518B (en) Playing control method and device, computer readable storage medium and electronic equipment
KR20210093036A (en) Audio output device and method for controlling output speed of audio data 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