CN109271131A - Headset control method, device, electronic equipment and storage medium - Google Patents
Headset control method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109271131A CN109271131A CN201811165206.4A CN201811165206A CN109271131A CN 109271131 A CN109271131 A CN 109271131A CN 201811165206 A CN201811165206 A CN 201811165206A CN 109271131 A CN109271131 A CN 109271131A
- Authority
- CN
- China
- Prior art keywords
- bluetooth headset
- state
- earphone
- electronic equipment
- bluetooth
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
This application discloses a kind of headset control method, device, electronic equipment and storage mediums, and this method is applied to electronic equipment, this method comprises: detecting the connection status between the electronic equipment and other equipment;When the electronic equipment is connect with the first bluetooth headset and the second bluetooth headset, the earphone state of first bluetooth headset is detected, the earphone state includes wearing state and non-wearing state;When the earphone state of first bluetooth headset enters the non-wearing state by the wearing state, the working condition of second bluetooth headset is detected;When the working condition of second bluetooth headset is dormant state, controls first bluetooth headset and enter dormant state or off-mode.The intelligent control to double bluetooth headsets may be implemented in this method.
Description
Technical field
This application involves technical field of electronic equipment, set more particularly, to a kind of headset control method, device, electronics
Standby and storage medium.
Background technique
Electronic equipment, such as computer, mobile phone etc. have become most common consumer electronic product in people's daily life
One of.With the development of wireless communication technique, user can receive when playing sound using electronic equipment commonly using bluetooth headset
It listens, especially true wireless stereo (True Wireless Stereo, TWS) earphone for wirelessly separating of left and right sound channels.Really
Two earphones of wireless stereo headset can be connect by bluetooth wireless mode with electronic equipment, realize real earphone it is left,
The connecting line between two earphones of conventional earphone is eliminated in the wireless separation of right channel, so that wearing lighter.But it is right at present
It is complex in the control of two earphones of TWS earphone, it brings inconvenience to users.
Summary of the invention
In view of the above problems, present applicant proposes a kind of headset control method, device, electronic equipment and storage medium, energy
Enough intelligent controls realized to double bluetooth headsets.
In a first aspect, the embodiment of the present application provides a kind of headset control method, it is applied to electronic equipment, the method packet
It includes: detecting the connection status between the electronic equipment and other equipment;When the electronic equipment and the first bluetooth headset and
When second bluetooth headset connects, the earphone state of first bluetooth headset is detected, the earphone state includes wearing
State and non-wearing state;When the earphone state of first bluetooth headset enters the non-wearing shape by the wearing state
When state, the working condition of second bluetooth headset is detected;When the working condition of second bluetooth headset is dormant state,
It controls first bluetooth headset and enters dormant state or off-mode.
Second aspect, the embodiment of the present application provide a kind of earphone control device, are applied to electronic equipment, described device packet
It includes: connecting detection module, first state detection module, the second state detection module and control execution module, wherein the company
Detection module is connect for detecting the connection status between the electronic equipment and other equipment;The first state detection module is used
In when the electronic equipment is connect with the first bluetooth headset and the second bluetooth headset, to the earphone of first bluetooth headset
State is detected, and the earphone state includes wearing state and non-wearing state;Second state detection module is used for
When the earphone state of first bluetooth headset enters the non-wearing state by the wearing state, it is blue to detect described second
The working condition of tooth earphone;The control execution module is used to when the working condition of second bluetooth headset be dormant state
When, it controls first bluetooth headset and enters dormant state or off-mode.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: one or more processors;Memory;
One or more application program, wherein one or more of application programs be stored in the memory and be configured as by
One or more of processors execute, and one or more of programs are configured to carry out the earphone that above-mentioned first aspect provides
Control method.
Fourth aspect, the embodiment of the present application provides a kind of computer-readable storage medium, described computer-readable
Program code is stored in storage medium, said program code can be called the earphone for executing above-mentioned first aspect and providing by processor
Control method.
Compared with the existing technology, scheme provided by the present application, in electronic equipment and the first bluetooth headset and the second bluetooth
When earphone connects, the earphone state of the first bluetooth headset is detected, when the earphone state of the first bluetooth headset is by wearing shape
When state enters non-wearing state, the working condition of the second bluetooth headset is detected, when the working condition of the second bluetooth headset is suspend mode
When state, the first bluetooth headset of control enters dormant state or off-mode, so as to realize the intelligent control to earphone,
The operation for reducing user, saves the electricity of earphone.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 shows the headset control method flow chart according to the application one embodiment.
Fig. 2 shows the headset control method flow charts according to the application another embodiment.
Fig. 3 shows the headset control method flow chart according to another embodiment of the application.
Fig. 4 shows the flow chart of step S320 in the headset control method according to the embodiment of the present application.
Fig. 5 shows a kind of block diagram of the earphone control device according to the application one embodiment.
Fig. 6 shows the block diagram that execution module is controlled in the earphone control device according to the application one embodiment.
Fig. 7 shows another block diagram of the earphone control device according to the application one embodiment.
Fig. 8 shows the block diagram of first state detection module in the earphone control device according to the application one embodiment.
Fig. 9 is the embodiment of the present application for executing the electronic equipment of the headset control method according to the embodiment of the present application
Block diagram.
Figure 10 is the embodiment of the present application for saving or carrying the earphone controlling party realized according to the embodiment of the present application
The storage unit of the program code of method.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described.
Currently, most electronic equipment, such as computer, mobile phone, music player devices etc. are, it can be achieved that broadcast audio data
It puts.With the further development and the increase in demand of user of science and technology, electronic equipment can be with external audio frequency playback equipment
Connection, to realize that electronic equipment passes through external audio-frequence player device playing audio-fequency data.Wherein, audio-frequence player device can be with
Including earphone, speaker and mobile unit etc..Above-mentioned audio-frequence player device can receive the audio data of electronic equipment, and
Audio data is played out.Wherein, electronic equipment can be connected by wired mode or wireless mode and audio-frequence player device
It connects.
In the practical audio data for utilizing audio-frequence player device to play electronic equipment of user, nothing is commonly used in user
The earphone of line communication mode realizes audio-frequence player device playing audio-fequency data, for example, utilizing Wireless Fidelity (Wireless
Fidelity, WiFi) communication earphone, or carry out audio data using the earphone of bluetooth (Bluetooth, BT) communication and broadcast
It puts.
In most cases, electronic equipment can be connect by bluetooth with audio-frequence player device, and pass through bluetooth for sound
Frequency evidence is transmitted to audio-frequence player device and plays out.Especially for the higher user of demand, pass through L channel and right channel
The true wireless stereo headset wirelessly separated carries out the broadcasting of audio data.
Real bluetooth L channel may be implemented in above-mentioned true wireless stereo headset, right channel wirelessly separates use, i.e.,
Two earphones of true wireless stereo headset all do not need wired connection.Audio is being carried out using true wireless stereo headset
When the broadcasting of data, electronic equipment can connect two earphones of wireless stereo headset, and electronic equipment is based respectively on indigo plant
Tooth communication protocol establishes the voice-grade channel for being used for transmission the audio data of left and right acoustic channels with two earphones, i.e., each earphone corresponding one
The voice-grade channel of the audio data of a sound channel.It is of course also possible to be the main ear in electronic equipment and true wireless stereo headset
Machine connection, is connected from earphone with main earphone, and after the audio data by the reception electronic equipment transmission of main earphone, main earphone is by sound
Frequency evidence is sent to from earphone.To realize the played in stereo of left and right acoustic channels separation, make that song, call, wearing is listened all to obtain
It is promoted.
The big more than two earphone setting physical button of current true wireless stereo headset or virtual key, to earphone
Working condition controlled, such as working conditions such as booting, shutdown and suspend mode of earphone.That is, user is to two ears
The control of the working condition of machine is required to manually actuated physical button or virtual key, is carried out with the working condition to earphone
Control, so that the control for earphone is complex, influences user experience.
In view of the above-mentioned problems, inventor is by studying for a long time and proposing earphone control provided by the embodiments of the present application
Method, apparatus, electronic equipment and computer-readable storage medium, by detecting be connected with electronic equipment two ears
When one of earphone in machine enters non-wearing state by wearing state, the working condition of another earphone is detected, when another
When the working condition of an outer earphone is dormant state, the first bluetooth headset of control enters dormant state or off-mode, real
Now to the intelligent control of earphone, the complexity of earphone control is reduced, promotes user experience.
Referring to Fig. 1, the embodiment of the present application provides a kind of headset control method, electronic equipment can be applied to, the earphone
Control method may include:
Step S110: the connection status between the electronic equipment and other equipment is detected.
Currently, many users are attached using electronic equipment and bluetooth headset, to realize the broadcasting of audio data.Especially
Be user higher for demand can by two earphones of electronic equipment and true wireless stereo headset by bluetooth connection, and
When actually using true wireless stereo headset, for the complexity of the working condition of two earphones controlled more.For convenient for pair
The control of two earphones of true wireless stereo headset, can be to two in electronic equipment with true wireless stereo headset
When earphone passes through bluetooth connection, relevant processing and control are carried out.
Therefore, in the embodiment of the present application, the connection status between electronic equipment and other equipment can be detected,
So as to subsequent according to the connection status communicated to connect between electronic equipment and other equipment, to electronic equipment and true Wireless stereo
Two earphones of sound earphone are handled when passing through bluetooth connection.
Wherein, the connection status between electronic equipment and other equipment includes that there are other equipment and electronic equipment communication link
Connect communication connection mode between other equipment, communicated to connect not with other equipment communication connection, with other equipment with
And facility information for the equipment being connect with electronic equipment etc..When the electronic equipment is in connected status, which can
To be in mobile network's connection status, such as: when communicating to connect there are other equipment and electronic equipment, connection type be can be
WiFi (WIreless-Fidelity, Wireless Fidelity) connection, bluetooth connection, MiFi (Mobile Wifi, mobile router or shifting
Dynamic hot spot) connection etc..In the embodiment of the present application, the connection shape of the communication connection between specific electronic equipment and other equipment
State can be not as restriction.
Step S120: when the electronic equipment is connect with the first bluetooth headset and the second bluetooth headset, to described
The earphone state of one bluetooth headset is detected, and the earphone state includes wearing state and non-wearing state.
In the embodiment of the present application, electronic equipment can be with the first bluetooth headset of true wireless stereo headset and
Two bluetooth headsets are attached by bluetooth.Wherein, the first bluetooth headset can be the earphone for playing left channel audio data, the
Two bluetooth headsets can play the earphone of right audio channel data, it is of course also possible to be the first bluetooth headset be play right channel
The earphone of audio data, the second bluetooth headset are the earphone for playing left channel audio data.
Therefore, after electronic equipment and above-mentioned first bluetooth headset and the second bluetooth headset pass through bluetooth connection, step
S110 can detecte the case where connecting there are electronic equipment with the first bluetooth headset and the second bluetooth headset.
For example, detect the Bluetooth function of electronic equipment and other equipment in step S110, and the electronic equipment with open
When opening the other equipment successful matching of Bluetooth function, then it can determine that there are other equipment and electronic equipment and be connected by bluetooth
It connects.
When detecting the presence of other equipment and electronic equipment passes through bluetooth connection, can also obtain and electronic equipment bluetooth
The facility information of the equipment of communication connection, to determine whether with the equipment of electronic equipment bluetooth connection be true wireless stereo
The first bluetooth headset and the second bluetooth headset of earphone.
Case-based Reasoning can be passed through in the electronic equipment based on android (Android) operating system as a kind of mode
Change the obtained return value of BluetoothClass.Device class to determine the currently device type by bluetooth connection.If returning
The value returned is AUDIO_VIDEO_CAMCORDER, then is characterized as image capture device;If the value returned is AUDIO_VIDEO_
CAR_AUDIO is then characterized as mobile unit;If the value returned is AUDIO_VIDEO_HIFI_AUDIO, it is characterized as audio and broadcasts
Equipment or video playback apparatus are put, for example, bluetooth headset;If the value returned is AUDIO_VIDEO_MICROPHONE, table
It is levied as microphone.
Further, when detecting that electronic equipment and bluetooth headset pass through bluetooth connection, available and electronic equipment
The device address of the bluetooth headset of connection or device id etc. are with the determining bluetooth headset for passing through bluetooth connection with electronic equipment
No is above-mentioned first bluetooth headset and the second bluetooth headset.
It is of course also possible to be sent by the broadcast in monitoring system according to connection bluetooth headset or when disconnecting bluetooth headset
Broadcast, determine whether electronic equipment connect with the first bluetooth headset and the second bluetooth headset.Specific detection electronic equipment
The mode connecting with the first bluetooth headset and the second bluetooth headset is not intended as limiting in the embodiment of the present application.
It is thus possible to detect that electronic equipment and above-mentioned first bluetooth headset and the second bluetooth headset pass through bluetooth connection
The case where.When electronic equipment is connect with above-mentioned first bluetooth headset and the second bluetooth headset, the first bluetooth ear can detecte
The earphone state of machine, earphone state includes: wearing state and non-wearing state, according to the ear of the first bluetooth headset of detection
Machine state controls the first bluetooth headset.Wherein, wearing state refers to that bluetooth headset wears the state of the ear of access customer,
Non- wearing state refers to that bluetooth headset does not wear the state of access customer ear, i.e. the state taken out from the ear of user of bluetooth headset.
In the embodiment of the present application, the earphone state of the first bluetooth headset is detected, can be and obtains the first bluetooth
Headset detection for determining the data of earphone state, for example, the pressure data being subject to, the temperature of detection, ambient light intensity and
Measurement capacitance etc., according to above-mentioned for determining the data of earphone state, determine the first bluetooth headset be in wearing state or
The non-wearing state of person.
Certainly, the earphone state of the first bluetooth headset is detected, is also possible to obtain what the first bluetooth headset was sent
The status indicator for the earphone state determined determines that the first bluetooth headset is in wearing state or non-pendant according to status indicator
Wear state.For example, the data that are used to determine earphone state of first bluetooth headset according to its detection, after determining earphone state,
The status indicator 0 or status indicator 1 of earphone state are generated, status indicator 0 indicates that the first bluetooth headset is in non-wearing state,
Status indicator 1 indicates that the first bluetooth headset is in wearing state, so that electronic equipment is receiving the transmission of the first bluetooth headset
After status indicator, it can determine that the first bluetooth headset is in wearing state or non-wearing state according to status indicator.Tool
The mode of body detected to the earphone state of the first bluetooth headset is not intended as limiting in the embodiment of the present application, in addition,
The mode detected to the earphone state of the first bluetooth headset is equally applicable to the earphone shape to the second bluetooth headset
The detection of state.
Step S130: when the earphone state of first bluetooth headset enters the non-wearing state by the wearing state
When, detect the working condition of second bluetooth headset.
In the embodiment of the present application, when the earphone state for detecting the first bluetooth headset changes, and the variation be by
Wearing state enters non-wearing state, then can detect to the working condition of the second bluetooth headset, so as to according to current the
The working condition of two bluetooth headsets controls the working condition of the first bluetooth headset.
It is understood that when electronic equipment is connect with the first bluetooth headset, the earphone state of the first bluetooth headset is
Wearing state, usually user play the audio data of electronic equipment listening to the first bluetooth headset, i.e. user just uses
First bluetooth headset;The working condition of first bluetooth headset is non-wearing state, shows that user is not listening to the first bluetooth headset
Play electronic equipment audio data, i.e., expression user not to the first bluetooth headset carry out using.When the first bluetooth headset
Earphone state when entering non-wearing state by wearing state, can indicate that user takes out earphone from ear, by using the
One bluetooth headset listens to the state of the audio data of electronic equipment, enters unused first bluetooth headset and listens to electronics and sets
The state of the audio data of standby transmission, that is to say, that when user takes out earphone from ear, indicate that user does not use the currently
One bluetooth headset.
In the embodiment of the present application, detect the first bluetooth headset by wearing state enter non-wearing state, to second
When the working condition detection of bluetooth headset, it can be from the second bluetooth headset and obtain its work state information.For example, can send
Working condition acquisition request is to the second bluetooth headset, and the second bluetooth headset is according to working condition acquisition request by its working condition mark
Knowledge is sent to electronic equipment, so that working condition identifies the work shape for determining the second bluetooth headset to electronic equipment based on the received
State.
Further, when the earphone state of the first bluetooth headset enters non-wearing state by wearing state, expression user works as
Before do not use the first bluetooth headset, and the second bluetooth headset in two earphones of true wireless stereo headset may be located at this time
State in work, it is also possible in a dormant state.Wherein, the state in work can for the first bluetooth headset booting and its
The state that the power supply component all to its is powered;It is current to run when dormant state can be booting for the first bluetooth headset
There are memory, power supplys to power to memory, other assemblies then be stopped powering, since data are stored in speed for the data of state
In fast memory, therefore the speed ratio for entering wait state and wake-up is very fast.
When the second bluetooth headset is in the state in work, then can indicate currently to carry out using the second bluetooth headset
The broadcasting of audio data, user may temporarily take out the first bluetooth headset at this time, therefore, can keep the first bluetooth ear
The current working condition of machine, that is, work in state.And when the second bluetooth headset in a dormant state when, then can indicate to work as
The preceding broadcasting that the second bluetooth headset is not used and carries out audio data, user takes out the first bluetooth headset at this time, it may be possible to user
The broadcasting that true wireless stereo headset carries out audio data is not used, it, then can be with for the electricity for saving the first bluetooth headset
The first bluetooth headset is set to enter dormant state or off-mode.
Step S140: when the working condition of second bluetooth headset is dormant state, the first bluetooth ear is controlled
Machine enters dormant state or off-mode.
In the embodiment of the present application, when detect the first bluetooth headset of true wireless stereo headset from wearing state into
Enter non-wearing state, and the working condition of the second bluetooth headset is dormant state at this time, then can indicate that user does not need currently
Or the first bluetooth headset for entering non-wearing state is not used, therefore can control the first bluetooth headset and enter dormant state
Or off-mode, the first bluetooth headset is operated manually without user.
For example, one of earphone is usually used only and carries out when user is conversed using true wireless stereo headset
The broadcasting of voice, when the first bluetooth headset is conversed, the second bluetooth headset in a dormant state, after end of conversation,
One bluetooth headset is taken out easily by the user ear, to detect that the earphone state of the first bluetooth headset enters non-wearing by wearing state
State, and the working condition of the second bluetooth headset be dormant state, therefore control the first bluetooth headset enter dormant state or
Off-mode realizes the automatic control to the first bluetooth headset, saves the electricity of the first bluetooth headset.Certainly, which is only
Citing, does not represent the restriction to the application scenarios of the embodiment of the present application.
In the embodiment of the present application, the first bluetooth headset of control enters dormant state or off-mode, can pass through hair
Send control instruction to the first bluetooth headset, it is dormant state that control instruction, which is used to indicate the first bluetooth headset and adjusts its working condition,
Or off-mode.Certainly, specifically the mode of the working condition of the first bluetooth headset of control in the embodiment of the present application can be with
Not as restriction.
Headset control method provided by the embodiments of the present application passes through the connection shape between detection electronic equipment and other equipment
State, when detecting that electronic equipment is connect with the first bluetooth headset and the second bluetooth headset, to the earphone of the first bluetooth headset
State is detected, and when the earphone state of the first bluetooth headset enters non-wearing state by wearing state, and detects second
When the working condition of bluetooth headset is dormant state, then controls the first bluetooth headset and enter dormant state or off-mode, from
And the first bluetooth headset by wearing state enter non-wearing state when, without user carry out operation make it into dormant state or
Person's off-mode, and save the electricity of the first bluetooth headset.
Referring to Fig. 2, the application can be applied to electronic equipment another embodiment provides for a kind of headset control method,
The headset control method may include:
Step S210: the connection status between the electronic equipment and other equipment is detected.
Step S220: when the electronic equipment is connect with the first bluetooth headset and the second bluetooth headset, to described
The earphone state of one bluetooth headset is detected, and the earphone state includes wearing state and non-wearing state.
Step S230: when the earphone state of first bluetooth headset enters the non-wearing state by the wearing state
When, detect the working condition of second bluetooth headset.
In the embodiment of the present application, the specific descriptions of step S210-S230 may refer to above-described embodiment, not another herein
One repeats.
Step S240: when the working condition of second bluetooth headset is the dormant state, whether judgement is currently deposited
Audio data is exported in application program.
In the embodiment of the present application, when the working condition of the second bluetooth headset is dormant state, to determine that user is current
The first bluetooth headset into non-wearing state is not needed or do not used, whether may further determine that current electronic device
There is audio data output, to determine whether active user is utilizing electronic equipment playing audio-fequency data.Therefore, it is possible to judge that electronics
Equipment exports audio data with the presence or absence of application program, specifically can detecte electronic equipment and the first bluetooth headset and the second indigo plant
Whether being used for transmission in the transmission link of audio data between tooth earphone has audio data, for example, can be by detecting electronics
Being used for transmission in the buffer of audio data with the presence or absence of audio data for equipment, is answered with determining that current electronic device whether there is
Audio data is exported with program.Certainly, specific detection is currently with the presence or absence of the mode of application program output audio data in this Shen
It please can be not as restriction in embodiment.
Step S250: it if there is currently application programs to export audio data, controls first bluetooth headset and enters
Dormant state.
In the embodiment of the present application, when determining to export audio data there is currently application program, then it represents that current electricity
Sub- equipment is playing audio data, and indicates that the first bluetooth headset is currently taken out ear and may taken to be temporary by user
Out, that is to say, that the earphone state of subsequent possible first earphone can be wearing state again, i.e., can have user again for the first bluetooth
Earphone wears the case where audio data that electronic equipment broadcasting is listened into ear.Therefore, it can detect that there is currently using journey
When sequence exports audio data, the first bluetooth headset of control enters dormant state, keeps the company of electronic equipment and the first bluetooth headset
It connects, achievees the effect that the electricity for saving the first bluetooth headset, make user is subsequent to need again to wear the first bluetooth headset into ear receipts
The audio data for listening electronic equipment to play.
For example, user is merely with the first bluetooth headset in true wireless stereo headset when listening to music, in addition
Two bluetooth headsets in a dormant state, take out the first bluetooth headset in user, indicate that user may not listen to music temporarily, therefore
Non- wearing state, and the work shape of the second bluetooth headset are entered by wearing state in the earphone state for detecting the first bluetooth headset
State is dormant state, and the first bluetooth headset of control enters dormant state, so that user is when subsequent needs continue to listen to music, it is only necessary to
The first bluetooth headset is waken up, and the electricity of the first bluetooth headset can be saved.Certainly, which is only for example, and
The restriction to the application scenarios of the embodiment of the present application is not represented.
Step S260: the application program pause output audio data of the current output audio data of control.
In the embodiment of the present application, the first bluetooth headset can also be controlled when exporting audio data there are application program
Into after dormant state, the above-mentioned application program pause output audio data of control output audio data.
It is understood that after controlling the first bluetooth headset and entering dormant state, the first bluetooth headset and the second indigo plant
Tooth earphone is dormant state, and user does not utilize the first bluetooth headset and the second bluetooth headset to play electronic equipment and passes at this time
Defeated audio data, therefore can control the output of the application program pause audio data of output audio data, so that subsequent use
It, can be in above-mentioned audio data when family continues to use the first bluetooth headset and/or the second bluetooth headset and carries out the broadcasting of audio data
The node that pause plays continues to play, and saves the resource and electricity of electronic equipment.
For example, user is detecting when listening to music merely with the first bluetooth headset in true wireless stereo headset
The earphone state of first bluetooth headset enters non-wearing state by wearing state, and the working condition of the second bluetooth headset is suspend mode
State, the first bluetooth headset of control enter dormant state, and suspend music playing process output audio data, so that user exists
Subsequent needs are when continuing to listen to music, it is only necessary to wake up the first bluetooth headset, can the music played before pause node after
Continued broadcasting is put, and can save the electricity of the first bluetooth headset.Certainly, which is only for example, and does not represent to the application reality
Apply the restriction of the application scenarios of example.
Step S270: if there is currently no application program export audio data, control first bluetooth headset into
Enter off-mode.
In the embodiment of the present application, when determining to export audio data there is currently no application program, then it represents that current
Electronic equipment does not have playing audio-fequency data, and indicates that user not will use the first bluetooth headset currently and carry out broadcasting for audio data
It puts.Therefore, can be when detecting to export audio data there is currently no application program, the first bluetooth headset of control enters shutdown
State achievees the effect that the electricity for saving the first bluetooth headset.
Step S280: control second bluetooth headset enters off-mode.
In the embodiment of the present application, when determining to export audio data there is currently no application program, then it represents that current
Electronic equipment does not have playing audio-fequency data, and the second bluetooth headset is in a dormant state, therefore indicates that user does not use currently
The broadcasting of second bluetooth headset progress audio data.Therefore, it can detect that there is currently no application programs to export audio number
According to when, not only control the first bluetooth headset and enter off-mode, also control the second bluetooth headset and enter off-mode.
Headset control method provided by the embodiments of the present application, electronic equipment are detecting the first bluetooth headset by wearing state
Into non-wearing state, and when the working condition of the second bluetooth headset is dormant state, judgement currently whether there is application program
Audio data is exported, when exporting audio data there are application program, the first bluetooth headset of control enters dormant state, also controls
The application program pause output audio data for exporting audio data continues audio so that subsequent can wake up the first bluetooth headset
The broadcasting of data.In addition, then controlling the first bluetooth headset when exporting audio data if there is no application program and entering shutdown shape
State also controls the second bluetooth headset and enters off-mode, sufficiently saves the electricity of bluetooth headset.Above-mentioned control process is not necessarily to user
Operation the control to the working condition of earphone can be realized, save bluetooth headset according to the detection of the correlated condition of earphone
Electricity promotes user experience.
Referring to Fig. 3, another embodiment of the application provides a kind of headset control method, electronic equipment can be applied to,
The headset control method may include:
Step S310: the connection status between the electronic equipment and other equipment is detected.
In the embodiment of the present application, step S310 may refer to the description in above-described embodiment, and this is no longer going to repeat them.
Step S320: when the electronic equipment is connect with the first bluetooth headset and the second bluetooth headset, to described
The earphone state of one bluetooth headset is detected, and the earphone state includes wearing state and non-wearing state.
In the embodiment of the present application, Fig. 4 is referred to, the earphone state of the first bluetooth headset is detected, may include:
Step S321: the state-detection parameter of first bluetooth headset is obtained.
In the embodiment of the present application, the sensor for obtaining state-detection parameter can be set in the first bluetooth headset,
When earphone state of the electronic equipment to the first bluetooth headset detects, the acquisition request of state-detection parameter can be sent extremely
First bluetooth headset, the first bluetooth headset utilize the state-detection that after the sensor detecting state detection parameters, will test
Parameter is back to electronic equipment, so that electronic equipment gets the state-detection parameter of the first bluetooth headset.
In the embodiment of the present application, above-mentioned state-detection parameter may include: pressure suffered by first bluetooth headset,
In the ambient light intensity and measurement capacitance on the inside of temperature, first bluetooth headset on the inside of first bluetooth headset
It is at least one.
It is understood that pressure sensor can be set in the first bluetooth headset, it can be in the first bluetooth headset
Temperature sensor is arranged in side, intensity of illumination sensor can be arranged in the inside of the first bluetooth headset, can also be in the first bluetooth
Capacitance sensor is arranged in earphone, so that the first bluetooth headset can detecte suffered pressure, the temperature of inside, ambient light intensity
And at least one of measurement capacitance parameter, specifically need the sensor being arranged to can according to need the state-detection of acquisition
Parameter and select.For example, when only needing to obtain the temperature on the inside of the first bluetooth headset, then can only be arranged temperature sensor in
The inside of first bluetooth headset.Certainly, specific sensor and earphone state-detection parameter in the embodiment of the present application can be with
Not as restriction.
Step S322: according to the earphone state-detection parameter, the earphone state of first bluetooth headset is determined to wear
Wear state or non-wearing state.
It, then can be true according to earphone state-detection parameter after obtaining the earphone state-detection parameter of the first bluetooth headset
The earphone state of fixed first bluetooth headset.It can when above-mentioned earphone state-detection parameter is ambient light intensity as a kind of mode
To judge ambient light intensity whether in default range of light intensities, if in default range of light intensities, it is determined that the first bluetooth
Earphone is in wearing state.Alternatively, when above-mentioned earphone state-detection parameter is temperature on the inside of earphone, it can be determined that
Whether temperature is in preset temperature range on the inside of earphone, if in preset temperature range, it is determined that the first bluetooth headset is in
Wearing state.As another mode, when above-mentioned earphone state-detection parameter is measurement capacitance, it can be determined that measurement capacitance
Whether it is greater than predetermined capacitance, when being greater than predetermined capacitance, judges that the earphone is in wearing state.Certainly, with upper type
Be only for example, can also with when many kinds of parameters combine judged, many kinds of parameters simultaneously meet preset condition when, judge earphone shape
State is wearing state or non-wearing state.
In the embodiment of the present application, the detection mode of specific earphone state-detection parameter and earphone state is in the application
It is not intended as limiting in embodiment, or other earphone state-detection parameters and detection mode.For example, above-mentioned state inspection
The exposure parameter that parameter is also possible between the first bluetooth headset and ear of contact sensor detection is surveyed, judgement contact ginseng is passed through
Whether number meets preset parameter value, that is, can determine that the earphone state of the first bluetooth headset is wearing state or non-wearing shape
State.
Step S330: when the earphone state of first bluetooth headset enters the non-wearing state by the wearing state
When, detect the working condition of second bluetooth headset.
Step S340: when the working condition of second bluetooth headset is dormant state, the first bluetooth ear is controlled
Machine enters dormant state or off-mode.
In the embodiment of the present application, step S330 and step S340 may refer to the description in above-described embodiment, herein
No longer repeat one by one.
Step S350: when the working condition of second bluetooth headset is not state and dormant state in work, control
It makes first bluetooth headset and enters off-mode.
In the embodiment of the present application, can detect the working condition of the second bluetooth headset neither work in shape
State, nor dormant state, i.e. the second bluetooth headset it is above-mentioned detect that electronic equipment is connected thereto after in off-mode when,
Specifically can be electronic equipment detect with the connection of the second bluetooth headset disconnect when, can control the first bluetooth headset and enter pass
Machine state.
It is understood that the earphone state in the first bluetooth headset enters non-wearing state, and second by wearing state
Bluetooth headset is in off-mode, then it represents that and user has been presently off the second bluetooth headset in true wireless stereo headset,
And the earphone state of the first bluetooth headset is non-wearing state, indicates not using the first bluetooth headset, therefore can be directly controlled
First bluetooth headset is closed, and off-mode is made it into, and saves the electricity of the first bluetooth headset.
Headset control method provided by the embodiments of the present application, when electronic equipment and the first bluetooth headset and the second bluetooth ear
When machine connects, the earphone state of the first bluetooth headset is detected, and provide the mode of a variety of test earphone states, work as inspection
The earphone state for measuring the first bluetooth headset enters non-wearing state by wearing state, detects the work shape of the second bluetooth headset
State, when the working condition of the second bluetooth headset is dormant state, the first bluetooth headset of control enters dormant state or shutdown shape
State, when the second bluetooth headset working condition neither work in state be also not dormant state, then can control first indigo plant
Tooth earphone enters off-mode, so as to realize variation and another ear of the earphone state according to one of earphone
The working condition of machine, the control changed earphone of earphone state enter dormant state or off-mode, do not need user's
Control operation, can be completed relevant control, saves the electricity of bluetooth headset.
Referring to Fig. 5, it illustrates a kind of structural block diagram of earphone control device 400 provided by the embodiments of the present application, it should
Earphone control device 400 is applied to electronic equipment, and described device 400 includes: connecting detection module 410, first state detection mould
Block 420, the second state detection module 430 and control execution module 440.Wherein, the connecting detection module 410 is for detecting
Connection status between the electronic equipment and other equipment;The first state detection module 420 is used to set when the electronics
It is standby the earphone state of first bluetooth headset to be detected when being connect with the first bluetooth headset and the second bluetooth headset,
The earphone state includes wearing state and non-wearing state;Second state detection module 430 is used to work as described first
When the earphone state of bluetooth headset enters the non-wearing state by the wearing state, the work of second bluetooth headset is detected
Make state;The control execution module 440 is used to control institute when the working condition of second bluetooth headset is dormant state
It states the first bluetooth headset and enters dormant state or off-mode.
In the embodiment of the present application, Fig. 6 is referred to, control execution module 440 may include: data output judging unit
441, first state control unit 442 and the second status control unit 443.Wherein, data output judging unit is worked as 441
When the working condition of second bluetooth headset is the dormant state, judgement currently exports audio number with the presence or absence of application program
According to;If first state control unit 442 is used for, there is currently application programs to export audio data, controls first bluetooth
Earphone enters dormant state;If the second status control unit 443 is used for, there is currently no application programs to export audio data,
It controls first bluetooth headset and enters off-mode.
In the embodiment of the present application, Fig. 7 is referred to, which can also include: the first shutdown control mould
Block 450.First shutdown control module 450 enters off-mode for controlling second bluetooth headset.
In the embodiment of the present application, Fig. 7 is referred to, which can also include: data output control mould
Block 460.Data output control module 460 is used to control the application program pause output audio data of current output audio data.
In the embodiment of the present application, Fig. 7 is referred to, earphone control device 400 can also include: the second shutdown control module
470.Second shutdown control module 470 is used for when the working condition of second bluetooth headset is not state in work or is stopped
When dormancy state, controls first bluetooth headset and enter off-mode.
In the embodiment of the present application, Fig. 8 is referred to, first state detection module 420 may include: parameter acquiring unit
421 and status determining unit 422.Parameter acquiring unit 421 is used to obtain the state-detection parameter of first bluetooth headset;
Status determining unit 422 is used to determine that the earphone state of first bluetooth headset is according to the earphone state-detection parameter
Wearing state or non-wearing state.
Further, above-mentioned state-detection parameter includes: pressure suffered by first bluetooth headset, first bluetooth
At least one of ambient light intensity on the inside of temperature, first bluetooth headset and measurement capacitance on the inside of earphone.
It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description device and
The specific work process of module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, the mutual coupling of module can be electrical property, mechanical or other
The coupling of form.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application
It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.
In conclusion scheme provided by the present application, connects in electronic equipment and the first bluetooth headset and the second bluetooth headset
When connecing, the earphone state of the first bluetooth headset is detected, when the earphone state of the first bluetooth headset is entered by wearing state
When non-wearing state, the working condition of the second bluetooth headset is detected, when the working condition of the second bluetooth headset is dormant state,
It controls the first bluetooth headset and enters dormant state or off-mode, so as to realize the intelligent control to earphone, reduce and use
The electricity of earphone is saved in the operation at family.
Referring to FIG. 9, it illustrates the structural block diagrams of a kind of electronic equipment provided by the embodiments of the present application.The electronic equipment
100, which can be smart phone, tablet computer, e-book etc., can run the electronic equipment of application program.Electronics in the application
Equipment 100 may include one or more such as lower component: processor 110, memory 120, bluetooth module 130 and one are more
A application program, wherein one or more application programs can be stored in memory 120 and be configured as by one or more
A processor 110 executes, and one or more programs are configured to carry out the method as described in preceding method embodiment.
Processor 110 may include one or more processing core.Processor 110 is whole using various interfaces and connection
Various pieces in a electronic equipment 100, by run or execute the instruction being stored in memory 120, program, code set or
Instruction set, and the data being stored in memory 120 are called, execute the various functions and processing data of electronic equipment 100.It can
Selection of land, processor 110 can use Digital Signal Processing (Digital Signal Processing, DSP), field-programmable
Gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic
Array, PLA) at least one of example, in hardware realize.Processor 110 can integrating central processor (Central
Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc.
One or more of combinations.Wherein, the main processing operation system of CPU, user interface and application program etc.;GPU is for being responsible for
Show the rendering and drafting of content;Modem is for handling wireless communication.It is understood that above-mentioned modem
It can not be integrated into processor 110, be realized separately through one piece of communication chip.
Memory 120 may include random access memory (Random Access Memory, RAM), also may include read-only
Memory (Read-Only Memory).Memory 120 can be used for store instruction, program, code, code set or instruction set.It deposits
Reservoir 120 may include storing program area and storage data area, wherein the finger that storing program area can store for realizing operating system
Enable, for realizing at least one function instruction (such as touch function, sound-playing function, image player function etc.), be used for
Realize the instruction etc. of following each embodiments of the method.Storage data area can also store the number that terminal 100 is created in use
According to (such as phone directory, audio, video data, chat record data) etc..
Bluetooth module 130 for realizing the bluetooth connection between electronic equipment and two bluetooth headsets, and with two indigo plants
Data interaction between tooth earphone, wherein the quantity of bluetooth module 130 can be one, or it is multiple to integrate,
It is not limited here.Specifically, can also pass through with bluetooth equipment by Bluetooth protocol 5.0/4.2/4.1/2.1/2.0
Bluetooth low energy consumption technologies (Bluetooh Low Energy, BLE), bluetooth enhancing rate technology (Enhanced Data Rate,
) or bluetooth basic rate (Base Rate, BR) etc. EDR.Its basic circuit composition is similar with WiFi module, can also be by function
The composition such as rate amplifier, wireless transceiver, transmit/receive switch, low-noise amplifier and antenna.The bluetooth module 130 can make
With the first communications band, wherein first communications band can be 2.4GHZ.
Referring to FIG. 10, it illustrates a kind of structural frames of computer readable storage medium provided by the embodiments of the present application
Figure.Program code is stored in the computer-readable medium 800, said program code can be called by processor and execute the above method
Method described in embodiment.
Computer readable storage medium 800 can be such as flash memory, EEPROM (electrically erasable programmable read-only memory),
The electronic memory of EPROM, hard disk or ROM etc.Optionally, computer readable storage medium 800 includes non-volatile meter
Calculation machine readable medium (non-transitory computer-readable storage medium).Computer-readable storage
Medium 800 has the memory space for the program code 810 for executing any method and step in the above method.These program codes can
With from reading or be written in one or more computer program product in this one or more computer program product.
Program code 810 can for example be compressed in a suitable form.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although
The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding: it still can be with
It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And
These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and
Range.
Claims (10)
1. a kind of headset control method, which is characterized in that be applied to electronic equipment, which comprises
Detect the connection status between the electronic equipment and other equipment;
When the electronic equipment is connect with the first bluetooth headset and the second bluetooth headset, to the ear of first bluetooth headset
Machine state is detected, and the earphone state includes wearing state and non-wearing state;
When the earphone state of first bluetooth headset enters the non-wearing state by the wearing state, described the is detected
The working condition of two bluetooth headsets;
When the working condition of second bluetooth headset is dormant state, controls first bluetooth headset and enter dormant state
Or off-mode.
2. the method according to claim 1, wherein when the working condition of second bluetooth headset is described stops
When dormancy state, controls first bluetooth headset and enters dormant state or off-mode, comprising:
When the working condition of second bluetooth headset is the dormant state, judgement is currently exported with the presence or absence of application program
Audio data;
If there is currently application programs to export audio data, controls first bluetooth headset and enter dormant state;
If there is currently no application programs to export audio data, controls first bluetooth headset and enter off-mode.
If 3. according to the method described in claim 2, it is characterized in that, it is described there is currently no application program export audio number
According to, then it controls first bluetooth headset and enters after off-mode, the method also includes:
It controls second bluetooth headset and enters off-mode.
If 4. according to the method described in claim 2, it is characterized in that, there is currently application program export audio data,
First bluetooth headset is then controlled to enter after dormant state, the method also includes:
The application program pause output audio data of the current output audio data of control.
5. the method according to claim 1, wherein in the working condition of detection second bluetooth headset
Later, the method also includes:
When the working condition of second bluetooth headset is not state or dormant state in work, it is blue to control described first
Tooth earphone enters off-mode.
6. method according to claim 1-5, which is characterized in that the earphone to first bluetooth headset
State is detected, comprising:
Obtain the state-detection parameter of first bluetooth headset;
According to the earphone state-detection parameter, determine that the earphone state of first bluetooth headset is wearing state or non-pendant
Wear state.
7. according to the method described in claim 6, it is characterized in that, the state-detection parameter includes: the first bluetooth ear
Pressure suffered by machine, the temperature on the inside of first bluetooth headset, the ambient light intensity on the inside of first bluetooth headset and
At least one of measurement capacitance.
8. a kind of earphone control device, which is characterized in that be applied to electronic equipment, described device includes: connecting detection module, the
One state detection module, the second state detection module and control execution module, wherein
The connecting detection module is used to detect the connection status between the electronic equipment and other equipment;
The first state detection module is used to connect when the electronic equipment with the first bluetooth headset and the second bluetooth headset
When, the earphone state of first bluetooth headset is detected, the earphone state includes wearing state and non-wearing shape
State;
Second state detection module is used to enter institute by the wearing state when the earphone state of first bluetooth headset
When stating non-wearing state, the working condition of second bluetooth headset is detected;
The control execution module is used for the control described first when the working condition of second bluetooth headset is dormant state
Bluetooth headset enters dormant state or off-mode.
9. a kind of electronic equipment characterized by comprising
One or more processors;
Memory;
One or more application program, wherein one or more of application programs are stored in the memory and are configured
To be executed by one or more of processors, one or more of programs are configured to carry out as claim 1-7 is any
Method described in.
10. a kind of computer-readable storage medium, which is characterized in that be stored with journey in the computer-readable storage medium
Sequence code, said program code can be called by processor and execute the method according to claim 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811165206.4A CN109271131B (en) | 2018-09-30 | 2018-09-30 | Earphone control method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811165206.4A CN109271131B (en) | 2018-09-30 | 2018-09-30 | Earphone control method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109271131A true CN109271131A (en) | 2019-01-25 |
CN109271131B CN109271131B (en) | 2022-03-15 |
Family
ID=65196492
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811165206.4A Active CN109271131B (en) | 2018-09-30 | 2018-09-30 | Earphone control method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109271131B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109614071A (en) * | 2019-01-28 | 2019-04-12 | 上海与德通讯技术有限公司 | Major-minor earphone switching method, bluetooth headset and computer readable storage medium |
CN110933345A (en) * | 2019-11-26 | 2020-03-27 | 深圳创维-Rgb电子有限公司 | Method for reducing television standby power consumption, television and storage medium |
CN111366175A (en) * | 2020-04-20 | 2020-07-03 | 深圳市科奈信科技有限公司 | Wireless earphone, method and device for detecting wearing state of wireless earphone and storage medium |
CN112911566A (en) * | 2019-12-25 | 2021-06-04 | 华为终端有限公司 | Bluetooth communication method and device |
CN114071302A (en) * | 2021-11-11 | 2022-02-18 | 深圳市大十科技有限公司 | Suspension type earphone based on capacitive sensing triggering and triggering method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024193A (en) * | 2012-12-25 | 2013-04-03 | 北京百度网讯科技有限公司 | Mobile terminal and play control method and play control device for same |
US20140037101A1 (en) * | 2012-08-02 | 2014-02-06 | Sony Corporation | Headphone device, wearing state detection device, and wearing state detection method |
CN105491469A (en) * | 2014-09-15 | 2016-04-13 | Tcl集团股份有限公司 | Method and system for controlling audio output mode based on wearing earphone state |
CN105554616A (en) * | 2016-02-29 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Earphone control method and earphone |
CN207460433U (en) * | 2017-09-29 | 2018-06-05 | 歌尔科技有限公司 | Bluetooth headset |
-
2018
- 2018-09-30 CN CN201811165206.4A patent/CN109271131B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140037101A1 (en) * | 2012-08-02 | 2014-02-06 | Sony Corporation | Headphone device, wearing state detection device, and wearing state detection method |
CN103024193A (en) * | 2012-12-25 | 2013-04-03 | 北京百度网讯科技有限公司 | Mobile terminal and play control method and play control device for same |
CN105491469A (en) * | 2014-09-15 | 2016-04-13 | Tcl集团股份有限公司 | Method and system for controlling audio output mode based on wearing earphone state |
CN105554616A (en) * | 2016-02-29 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Earphone control method and earphone |
CN207460433U (en) * | 2017-09-29 | 2018-06-05 | 歌尔科技有限公司 | Bluetooth headset |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109614071A (en) * | 2019-01-28 | 2019-04-12 | 上海与德通讯技术有限公司 | Major-minor earphone switching method, bluetooth headset and computer readable storage medium |
CN110933345A (en) * | 2019-11-26 | 2020-03-27 | 深圳创维-Rgb电子有限公司 | Method for reducing television standby power consumption, television and storage medium |
WO2021103252A1 (en) * | 2019-11-26 | 2021-06-03 | 深圳创维-Rgb电子有限公司 | Method for reducing standby power consumption of television, television, and storage medium |
CN110933345B (en) * | 2019-11-26 | 2021-11-02 | 深圳创维-Rgb电子有限公司 | Method for reducing television standby power consumption, television and storage medium |
CN112911566A (en) * | 2019-12-25 | 2021-06-04 | 华为终端有限公司 | Bluetooth communication method and device |
US12047760B2 (en) | 2019-12-25 | 2024-07-23 | Huawei Technologies Co., Ltd. | Bluetooth communication method and apparatus |
CN111366175A (en) * | 2020-04-20 | 2020-07-03 | 深圳市科奈信科技有限公司 | Wireless earphone, method and device for detecting wearing state of wireless earphone and storage medium |
CN114071302A (en) * | 2021-11-11 | 2022-02-18 | 深圳市大十科技有限公司 | Suspension type earphone based on capacitive sensing triggering and triggering method |
Also Published As
Publication number | Publication date |
---|---|
CN109271131B (en) | 2022-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109271131A (en) | Headset control method, device, electronic equipment and storage medium | |
CN103414982B (en) | A kind of method and apparatus that sound is provided | |
CN112789866B (en) | Audio data transmission method and equipment applied to TWS earphone single-ear and double-ear switching | |
CN109347581A (en) | Bluetooth headset connection method, device, electronic equipment and storage medium | |
WO2020019847A1 (en) | Method for switching main headset, and related device | |
CN109257500A (en) | Audio frequency playing method, device, electronic equipment and storage medium | |
CN109445740A (en) | Audio frequency playing method, device, electronic equipment and storage medium | |
CN109413526B (en) | Earphone control method, earphone control device, electronic equipment and storage medium | |
CN109284080B (en) | Sound effect adjusting method and device, electronic equipment and storage medium | |
CN108886653B (en) | Earphone sound channel control method, related equipment and system | |
CN104581479B (en) | A kind of detachable wireless headphone system | |
US11395059B2 (en) | Master/slave switching method for wearable apparatus and related product | |
CN109379491A (en) | Audio frequency playing method, device, electronic equipment and computer-readable medium | |
CN109003618A (en) | Coding control method, device, electronic equipment and storage medium | |
CN109358832A (en) | Audio frequency transmission method, device, electronic equipment and storage medium | |
CN109379490A (en) | Audio frequency playing method, device, electronic equipment and computer-readable medium | |
CN109151789A (en) | Interpretation method, device, system and bluetooth headset | |
CN109413555A (en) | Audio-frequency inputting method, device, earphone and electronic equipment | |
CN109151212A (en) | Apparatus control method, device and electronic equipment | |
CN109257642A (en) | Video resource playback method, device, electronic equipment and storage medium | |
CN109413525A (en) | Encoding rate method of adjustment, device, electronic equipment and storage medium | |
CN109005582A (en) | Transmission power adjustment method, device, electronic equipment and storage medium | |
CN113038316A (en) | Earphone control method and device, Bluetooth earphone and storage medium | |
CN111385777A (en) | TWS earphone low-power reminding method and electronic equipment | |
CN113038317B (en) | Earphone control method and device, bluetooth earphone and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |