CN109743654A - A kind of bluetooth headset major-minor ear switching method, device, equipment and medium - Google Patents

A kind of bluetooth headset major-minor ear switching method, device, equipment and medium Download PDF

Info

Publication number
CN109743654A
CN109743654A CN201910087906.4A CN201910087906A CN109743654A CN 109743654 A CN109743654 A CN 109743654A CN 201910087906 A CN201910087906 A CN 201910087906A CN 109743654 A CN109743654 A CN 109743654A
Authority
CN
China
Prior art keywords
headphones
main earphone
intelligent terminal
earphone
communicated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910087906.4A
Other languages
Chinese (zh)
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.)
Kunshan Pinyuan Intellectual Property Operating Technology Co., Ltd.
Original Assignee
Shanghai Wind Communication Technologies 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 Shanghai Wind Communication Technologies Co Ltd filed Critical Shanghai Wind Communication Technologies Co Ltd
Priority to CN201910087906.4A priority Critical patent/CN109743654A/en
Publication of CN109743654A publication Critical patent/CN109743654A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of bluetooth headset major-minor ear switching method, device, equipment and media, which comprises establishes the communication connection between the communication connection between main earphone and intelligent terminal and main earphone and set of headphones;When detecting that main earphone can not continue to be communicated with intelligent terminal, and when set of headphones meets the condition communicated with intelligent terminal, set of headphones is switched as main earphone, to be communicated by set of headphones with intelligent terminal;Wherein, before executing and switch set of headphones for the operation of main earphone, switch reasons voice prompting is preset in broadcasting, the reason of to notify user to switch set of headphones for main earphone.By using above-mentioned technical proposal, it realizes and improves bluetooth headset practicability, and handover event can be notified user in time, user is made to understand the process performing of earphone in real time, it avoids causing user terrified because handoff procedure user is unable to normal use earphone, improves the purpose of user experience.

Description

A kind of bluetooth headset major-minor ear switching method, device, equipment and medium
Technical field
The present embodiments relate to bluetooth headset technical field more particularly to a kind of bluetooth headset major-minor ear switching method, Device, equipment and medium.
Background technique
TWS (True Wireless Stereo, Wireless stereo) earphone with the development of wireless blue tooth technology, has obtained The favors of all big enterprises.The composition of existing TWS earphone are as follows: a pair of of bluetooth headset and a bluetooth headset box, a pair of of bluetooth One in earphone is main earphone, another is set of headphones, is attached between two earphones by wireless blue tooth protocol;It is described Bluetooth headset box includes control chip (usually single-chip microcontroller) and battery, for storing the pair of bluetooth headset, and to described Charging bluetooth earphone, for details, reference can be made to the composed structure schematic diagrames of TWS earphone shown in FIG. 1.
A kind of working method of existing bluetooth headset shown in Figure 2: set of headphones 210L depends on main earphone 210R, secondary Earphone 210L not can be used alone, it is necessary to mobile phone 220 in main earphone 210R connection be cooperated just to can be carried out normal call and voice It plays, therefore, the power consumption rate of main earphone 210R is very fast, when the low battery of main earphone 210R, even if set of headphones 210L Electricity is sufficient, and main earphone 210R and set of headphones 210L can not continue to be used by a user, and causes the usage experience of user poor.
Summary of the invention
The embodiment of the present invention provides a kind of bluetooth headset major-minor ear switching method, device, equipment and medium, passes through the side Method can realize the major-minor ear switching of bluetooth headset, and then improve the practicability of bluetooth headset, and can notify in time handover event User makes user understand the process performing of earphone in real time, avoids causing to use because handoff procedure user is unable to normal use earphone Family is terrified, improves user experience.
To achieve the above object, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, the embodiment of the invention provides a kind of bluetooth headset major-minor ear switching methods, which comprises
Establish the communication connection between the communication connection between main earphone and intelligent terminal and main earphone and set of headphones;
When detecting that main earphone can not continue to be communicated with the intelligent terminal, and set of headphones meets with the intelligence eventually When holding the condition communicated, the set of headphones switch as main earphone, with by the set of headphones and the intelligent terminal into Row communication;
Wherein, it before execution switches the set of headphones for the operation of main earphone, plays default switch reasons voice and mentions Show, the reason of to notify user to switch the set of headphones for main earphone.
Second aspect, the embodiment of the invention provides a kind of bluetooth headset major-minor ear switching device, described device includes:
Establish module, the communication connection and main earphone for establishing between main earphone and intelligent terminal and set of headphones it Between communication connection;
Switching module detects that main earphone can not continue to be communicated with the intelligent terminal for working as, and set of headphones is full When the sufficient condition communicated with the intelligent terminal, the set of headphones is switched as main earphone, with by the set of headphones with The intelligent terminal is communicated;
Cue module, it is former for before execution switches the set of headphones for the operation of main earphone, playing default switching Because of voice prompting, the reason of to notify user to switch the set of headphones for main earphone.
The third aspect the embodiment of the invention provides a kind of electronic equipment, including memory, processor and is stored in storage On device and the computer program that can run on a processor, realize that such as right is wanted when the processor executes the computer program Seek the described in any item bluetooth headset major-minor ear switching methods of 1-7.
Fourth aspect, the embodiment of the invention provides a kind of storage medium comprising computer executable instructions, the meters Calculation machine executable instruction realizes such as the described in any item bluetooth headset major-minors of claim 1-7 when being executed by computer processor Ear switching method.
A kind of bluetooth headset major-minor ear switching method provided in an embodiment of the present invention, by establishing main earphone and intelligent terminal Between communication connection and main earphone and set of headphones between communication connection, when detect main earphone can not continue with it is described Intelligent terminal is communicated, and set of headphones meet communicated with the intelligent terminal condition when, the set of headphones is switched For main earphone, to be communicated by the set of headphones with the intelligent terminal;Wherein, the set of headphones is switched in execution Before the operation of main earphone, default switch reasons voice prompting is played, to notify user to switch the set of headphones for main earphone The reason of technological means, realize and improve bluetooth headset practicability, and handover event can be notified user in time, keep user real When understand the process performing of earphone, avoid causing user terrified because handoff procedure user is unable to normal use earphone, improve and use The purpose of family Experience Degree.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, institute in being described below to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also implement according to the present invention The content of example and these attached drawings obtain other attached drawings.
Fig. 1 is the composed structure schematic diagram of TWS earphone in the prior art;
Fig. 2 is a kind of working method schematic diagram of existing bluetooth headset;
Fig. 3 is a kind of bluetooth headset major-minor ear switching method flow diagram that the embodiment of the present invention one provides;
Fig. 4 is a kind of bluetooth headset major-minor ear switching method flow diagram provided by Embodiment 2 of the present invention;
Fig. 5 is a kind of bluetooth headset major-minor ear switching method flow diagram that the embodiment of the present invention three provides;
Fig. 6 is a kind of schematic diagram for bluetooth headset major-minor ear switching device structure that the embodiment of the present invention four provides;
Fig. 7 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention five provides.
Specific embodiment
To keep the technical problems solved, the adopted technical scheme and the technical effect achieved by the invention clearer, below It will the technical scheme of the embodiment of the invention will be described in further detail in conjunction with attached drawing, it is clear that described embodiment is only It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those skilled in the art exist Every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
Embodiment one
Fig. 3 is a kind of bluetooth headset major-minor ear switching method flow diagram that the embodiment of the present invention one provides.This implementation Bluetooth headset major-minor ear switching method disclosed in example can be executed by bluetooth headset major-minor ear switching device, and wherein the device can It by software and or hardware realization, and is typically integrated in terminal, such as smart phone, can typically be integrated in bluetooth headset box In.Referring specifically to shown in Fig. 3, this method comprises the following steps:
Step 310 establishes the communication connection between main earphone and intelligent terminal and leading between main earphone and set of headphones Letter connection.
Wherein, the main earphone refer in bluetooth headset for intelligent terminal establish communication connection earphone, main earphone with It is established and is communicated to connect by Bluetooth protocol between intelligent terminal, pairing company is carried out by Bluetooth protocol between main earphone and set of headphones It connects, to realize the broadcasting of two-channel stereo.By taking the intelligent terminal is mobile phone as an example, mobile phone by mobile phone call voice or The audios such as person's music are sent to main earphone, main earphone further by the audios such as the call voice received or music be sent to The set of headphones of main earphone pairing, main earphone simultaneously plays out the audios such as the call voice or music with set of headphones, real The broadcasting of existing two-channel stereo.
Step 320, when detecting that main earphone can not continue to be communicated with the intelligent terminal, and set of headphones meets and institute When stating the condition that intelligent terminal is communicated, default switch reasons voice prompting is played, to notify user by the auricular appendage machine-cut The reason of being changed to main earphone.
Specifically, and the remaining capacity of set of headphones is big if detecting the remaining capacity of main earphone less than the first power threshold When the second power threshold, it is determined that main earphone can not continue to be communicated with the intelligent terminal, and set of headphones meets and institute State the condition that intelligent terminal is communicated;First power threshold typically can be the 20% of total electricity, the total electricity Refer to electricity when main headset batteries are fully charged;Second power threshold typically can be the 40% of total electricity, the total electricity Refer to that total electricity when auricular appendage machine battery is fully charged, the battery total electricity of usual main earphone are identical as the battery total electricity of set of headphones. I.e. when the remaining capacity of main earphone is lower than 20%, and the remaining capacity of set of headphones is higher than 40%, it is determined that main earphone can not be after It is continuous to be communicated with the intelligent terminal, and set of headphones meets the condition communicated with the intelligent terminal.At this point, passing through master Earphone and set of headphones play the voice prompting of " low battery switching or low power switch ", with notify headset user by In the not enough power supply of main earphone, needs to switch set of headphones for main earphone, be communicatively coupled by set of headphones and intelligent terminal.It is logical The handoff procedure for often carrying out major-minor earphone needs time-consuming 2s or so, and major-minor earphone will be unable to play voice, place in this period In silent state, if therefore user is not prompted and is directly switched over before handover, easily cause the panic of user, It is thought as that earphone is broken suddenly, and allows user to enter blank wait state suddenly, is all poor to user's bring usage experience , in view of this, before carrying out the switching of major-minor ear, leading in a kind of bluetooth headset major-minor ear handover scheme provided in this embodiment The mode for crossing voice broadcasting notifies user to switch over, and informs the reason of user switches, and user is allowed to understand earphone in time Process performing, avoid causing user terrified because handoff procedure user is unable to normal use earphone to realize, improve user The purpose of Experience Degree.
Step 330 switches the set of headphones for main earphone, to be led to by the set of headphones and the intelligent terminal Letter.
Specifically, the communication connection between main earphone and intelligent terminal is disconnected, establish between set of headphones and intelligent terminal Communication connection, completion the set of headphones is switched as the process of main earphone.At this point, mobile phone by mobile phone call voice or The audios such as music are sent to set of headphones, and the audios such as the call voice received or music are further sent to and pair by set of headphones The main earphone of earphone pairing, main earphone simultaneously play out the audios such as the call voice or music with set of headphones, realize The broadcasting of two-channel stereo, the power consumption rate of set of headphones is greater than the power consumption rate of main earphone after switching, due to set of headphones Remaining capacity is more, therefore can extend the time that user uses earphone, improves the practicability of earphone, promotes user experience.
Further, after switching the set of headphones for main earphone, the method also includes:
Default handover success voice prompting is played, to notify user to switch the set of headphones for main earphone;It is described pre- If switching successfully voice prompting specifically can be " switch success ".It is used by giving the process performing real-time informing of earphone Family makes user understand the working condition of earphone in real time, improves the usage experience of user.
A kind of bluetooth headset major-minor ear switching method provided in this embodiment, when detect main earphone can not continue with it is described Intelligent terminal is communicated, and set of headphones meet communicated with the intelligent terminal condition when, the set of headphones is switched The working time of earphone is extended, ear is improved to be communicated by the set of headphones with the intelligent terminal for main earphone The practicability of machine passes through before execution switches the set of headphones for the operation of main earphone and plays default switch reasons voice Prompt, the reason of to notify user to switch the set of headphones for main earphone, after switching the set of headphones for main earphone, Use is realized by playing default handover success voice prompting to notify user to switch the set of headphones for main earphone Family understands the process performing of earphone in real time, avoids causing user terrified because handoff procedure user is unable to normal use earphone, mention The purpose of high user experience.
Embodiment two
Fig. 4 is a kind of bluetooth headset major-minor ear switching method flow diagram provided by Embodiment 2 of the present invention.Above-mentioned On the basis of embodiment, the another application scene for carrying out the switching of major-minor ear, referring specifically to shown in Fig. 4, institute are present embodiments provided The method of stating includes the following steps:
Step 410 establishes the communication connection between main earphone and intelligent terminal and leading between main earphone and set of headphones Letter connection.
If step 420 detects that main earphone is placed on Earphone box and the box cover of Earphone box is closed, and set of headphones and use When the distance between family is less than the first set distance threshold value, mentioned by the voice that the set of headphones plays " main earphone enters box switching " Show.
Wherein, it is arranged in bluetooth headset box there are two the card slot matched, for placing the bluetooth headset of two pairings, every It is provided with elastic slice at the position of a card slot, when bluetooth headset is placed in card slot, the elastic slice of corresponding card slot can be extruded, in the pressure Under the notice of force signal, the bluetooth headset which card slot bluetooth headset box can perceive on is placed on corresponding groove position, Bluetooth headset on which card slot has been taken out bluetooth headset box, therefore can judge bluetooth headset by detecting above-mentioned pressure signal Whether leave in bluetooth headset box for placing the groove position of bluetooth headset.Alternatively, usually can also match in bluetooth headset box It is equipped with the detection device whether to playback for detecting bluetooth headset, which detects infrared ray by transmitting infrared ray Mode realizes the detection whether playbacked to bluetooth headset, and when bluetooth headset is placed on corresponding card slot, bluetooth headset can be incited somebody to action The infrared ray of detection device transmitting stops, and causes to can't detect infrared ray for detecting the module of infrared ray in detection device, Then determine that the bluetooth headset in corresponding groove position has playbacked at this time, otherwise, it determines the bluetooth headset in corresponding groove position Bluetooth headset box is left, is not playbacked also.Meanwhile the box cover quilt being provided on major and minor earphone dedicated for test earphone box Open and pent sensor, therefore, can be opened by the box cover on earphone dedicated for test earphone box and by Whether the box cover that the sensor of closing carrys out test earphone box is closed.The distance between earphone and user can be by setting on earphone The range sensor set is detected, and when the distance between set of headphones and user are less than the first set distance threshold value, indicates secondary Earphone is still worn in ear by user, if detecting, main earphone is placed on Earphone box and the box cover of Earphone box is closed, table Show that user currently merely desires to converse or listen to music by an earphone, " main earphone enters at this point, then playing by set of headphones The voice prompting of box switching ", to inform that user since main earphone is placed Earphone box, therefore needs to carry out the switching of major-minor earphone, There is user to prepare at heart, next there will be the time of 2s or so mute, please bear with." main earphone enters box switching " Voice prompting can also be " master inbox switch ".
Step 430 switches the set of headphones for main earphone, to be led to by the set of headphones and the intelligent terminal Letter.
Further, since main earphone has been placed in Earphone box, and the box cover of Earphone box has been switched off, and indicates to use There is the plan without using main earphone at family, and main earphone can also shut down at this time, disconnect main earphone and set of headphones and with intelligent end Communication connection between end.
Step 440 plays default handover success voice prompting, to notify user to switch the set of headphones for main ear Machine.
A kind of bluetooth headset major-minor ear switching method provided in this embodiment, when user is listened to music using major and minor earphone Or during making a phone call, if main earphone is put back to Earphone box and closes the box cover of Earphone box by user, and set of headphones is still It is worn in ear, major-minor ear switching command is then sent to processor by main earphone at this time and is passed through before carrying out the switching of major-minor ear Set of headphones plays the voice prompting of " main earphone enters box switching ", to notify user to switch the set of headphones for the original of main earphone Cause, by playing default handover success voice prompting, notifies user by institute after switching the set of headphones for main earphone Stating set of headphones switching is main earphone, realizes the process performing for making user understand earphone in real time, avoids because of handoff procedure user not Can normal use earphone and cause user terrified, improve the purpose of user experience.
Embodiment three
Fig. 5 is a kind of bluetooth headset major-minor ear switching method flow diagram that the embodiment of the present invention three provides.Above-mentioned On the basis of embodiment, the another application scenarios for carrying out the switching of major-minor ear, referring specifically to shown in Fig. 5, institute are present embodiments provided The method of stating includes the following steps:
Step 510 establishes the communication connection between main earphone and intelligent terminal and leading between main earphone and set of headphones Letter connection.
Step 520, when detect the distance between set of headphones and user less than the first set distance threshold value, and set of headphones with When the distance between main earphone is greater than the second set distance threshold value, mentioned by the voice that the set of headphones plays " remote switching " Show.
Wherein, when the distance between set of headphones and user are less than the first set distance threshold value, indicate set of headphones still by User is worn in ear, if the distance between set of headphones and main earphone are greater than the second set distance threshold value, then it represents that main earphone is Not in user's ear, and there is a distance between user and main earphone, the use in order to not influence user to earphone, at this time It needs to switch set of headphones for main earphone, establishes the communication connection between set of headphones and intelligent terminal." the remote switching " Voice prompting can also be " remote distance switch ".Before carrying out the switching of major-minor ear, pass through auricular appendage machine sowing Put the voice prompting of " remote switching ", inform user due to main earphone apart from user farther out, therefore need to carry out major-minor earphone Switching, has user and prepares at heart, next will have the time of 2s or so mute, please bear with, the user experience is improved.It is secondary The distance between earphone and main earphone can be determined according to the power of signal of communication between the two.
Step 530 switches the set of headphones for main earphone, to be led to by the set of headphones and the intelligent terminal Letter.
Further, due to main earphone apart from user farther out, user can not at this time may be used by main earphone receiving voice Main earphone to shut down, the communication connection of main earphone and set of headphones is disconnected.
Step 540 plays default handover success voice prompting, to notify user to switch the set of headphones for main ear Machine.
A kind of bluetooth headset major-minor ear switching method provided in this embodiment, when user is listened to music using major and minor earphone Or during making a phone call, if user suddenly takes out main earphone from ear, and the distance between main earphone and user are soon More than the Bluetooth communication between main earphone and set of headphones effective distance when, then by main earphone to processor send major-minor switching Instruction, disconnects the communication connection of main earphone and intelligent terminal, establishes the communication connection between set of headphones and intelligent terminal, carrying out Before the switching of major-minor ear, the voice prompting of " remote switching " is played, by set of headphones to notify user to be switched to set of headphones The reason of main earphone, after establishing the communication connection between set of headphones and intelligent terminal, by playing default handover success language Sound prompt, notifies user to switch the set of headphones for main earphone, realizes the process performing for making user understand earphone in real time, It avoids causing user terrified because handoff procedure user is unable to normal use earphone, improves the purpose of user experience.
Example IV
Fig. 6 is a kind of bluetooth headset major-minor ear switching device structural schematic diagram that the embodiment of the present invention four provides.Referring to Fig. 6 Shown, described device includes: to establish module 610, switching module 620 and cue module 630;
Wherein, establish module 610, the communication connection and main earphone for establishing between main earphone and intelligent terminal with Communication connection between set of headphones;
Switching module 620 detects that main earphone can not continue to be communicated with the intelligent terminal for working as, and set of headphones When meeting the condition communicated with the intelligent terminal, the set of headphones is switched as main earphone, to pass through the set of headphones It is communicated with the intelligent terminal;
Cue module 630, for before execution switches the set of headphones for the operation of main earphone, playing default switching Reason voice prompting, the reason of to notify user to switch the set of headphones for main earphone.
Further, cue module 630 is also used to after switching the set of headphones for main earphone, plays default switching Success voice prompting, to notify user to switch the set of headphones for main earphone.
Further, switching module includes: detection unit, for detecting whether main earphone can not continue with the intelligence eventually End is communicated, and set of headphones meets the condition communicated with the intelligent terminal.
The detection unit is specifically used for: if detect the remaining capacity of main earphone less than the first power threshold, and auricular appendage When the remaining capacity of machine is greater than the second power threshold, it is determined that main earphone can not continue to be communicated with the intelligent terminal, and Set of headphones meets the condition communicated with the intelligent terminal, and corresponding cue module 630 is specifically used for: by the main ear Machine and set of headphones play the voice prompting of " low battery switching ".
Further, the detection unit is also used to: if detecting, main earphone is placed on the box of Earphone box and Earphone box Lid is closed, and when the distance between set of headphones and user are less than the first set distance threshold value, it is determined that main earphone can not continue It is communicated with the intelligent terminal, and set of headphones meets the condition communicated with the intelligent terminal;It is corresponding, prompt mould Block 630 is used for: the voice prompting of " main earphone enters box switching " is played by the set of headphones.
Further, the detection unit is also used to: when detecting that the distance between set of headphones and user set less than first Set a distance threshold value, and the distance between set of headphones and main earphone be greater than the second set distance threshold value when, it is determined that main earphone can not Continuation is communicated with the intelligent terminal, and set of headphones meets the condition communicated with the intelligent terminal;It is corresponding, it mentions Show that module 630 is used for: playing the voice prompting of " remote switching " by the set of headphones.
Bluetooth headset major-minor ear switching device provided in this embodiment, when detecting that main earphone can not continue and the intelligence Terminal is communicated, and set of headphones meet communicated with the intelligent terminal condition when, by the set of headphones switch based on Earphone extends the working time of earphone, improves earphone to be communicated by the set of headphones with the intelligent terminal Practicability, before execution switches the set of headphones for the operation of main earphone, by playing default switch reasons voice prompting, The reason of to notify user to switch the set of headphones for main earphone, after switching the set of headphones for main earphone, pass through Default handover success voice prompting is played, to notify user to switch the set of headphones for main earphone, realizing keeps user real When understand the process performing of earphone, avoid causing user terrified because handoff procedure user is unable to normal use earphone, improve and use The purpose of family Experience Degree.
Bluetooth headset major-minor ear switching device provided by the embodiment of the present invention can be performed any embodiment of that present invention and be mentioned The bluetooth headset major-minor ear switching method of confession, has the corresponding functional module of execution method and beneficial effect.Not in above-mentioned implementation The technical detail of detailed description in example, reference can be made to bluetooth headset major-minor ear switching method provided by any embodiment of the invention.
Embodiment five
Fig. 7 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention five provides.Fig. 7, which is shown, to be suitable for being used in fact The block diagram of the example electronic device 12 of existing embodiment of the present invention.The electronic equipment 12 that Fig. 7 is shown is only an example, no The function and use scope for coping with the embodiment of the present invention bring any restrictions.
As shown in fig. 7, electronic equipment 12 is showed in the form of universal computing device.The component of electronic equipment 12 may include But be not limited to: one or more processor or processing unit 16, system storage 28, connect different system components (including System storage 28 and processing unit 16) bus 18.
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Electronic equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be electric The usable medium that sub- equipment 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Electronic equipment 12 may further include other removable/not removable Dynamic, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for read and write can not Mobile, non-volatile magnetic media (Fig. 7 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 7, Ke Yiti For the disc driver for being read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to moving non-volatile light The CD drive of disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver It can be connected by one or more data media interfaces with bus 18.Memory 28 may include that at least one program produces There is one group (such as to be established module 610,620 and of switching module in bluetooth headset major-minor ear switching device for product, the program product Cue module 630) program module, these program modules are configured to perform the function of various embodiments of the present invention.
With one group (such as in bluetooth headset major-minor ear switching device establish module 610, switching module 620 and prompt Module 630) program module 42 program/utility 40, can store in such as memory 28, such program module 42 Including but not limited to operating system, one or more application program, other program modules and program data, in these examples Each or certain combination in may include the realization of network environment.Program module 42 usually executes reality described in the invention Apply the function and/or method in example.
Electronic equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.) Communication, can also be enabled a user to one or more equipment interact with the electronic equipment 12 communicate, and/or with make the electricity Any equipment (such as network interface card, modem etc.) that sub- equipment 12 can be communicated with one or more of the other calculating equipment Communication.This communication can be carried out by input/output (I/O) interface 22.Also, electronic equipment 12 can also be suitable by network Orchestration 20 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) Communication.As shown, network adapter 20 is communicated by bus 18 with other modules of electronic equipment 12.Although should be understood that It is not shown in the figure, other hardware and/or software module can be used in conjunction with electronic equipment 12, including but not limited to: microcode is set Standby driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system System etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and Data processing, such as realize bluetooth headset major-minor ear switching method provided by the embodiment of the present invention, this method comprises:
Establish the communication connection between the communication connection between main earphone and intelligent terminal and main earphone and set of headphones;
When detecting that main earphone can not continue to be communicated with the intelligent terminal, and set of headphones meets with the intelligence eventually When holding the condition communicated, the set of headphones switch as main earphone, with by the set of headphones and the intelligent terminal into Row communication;
Wherein, it before execution switches the set of headphones for the operation of main earphone, plays default switch reasons voice and mentions Show, the reason of to notify user to switch the set of headphones for main earphone.
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and Data processing, such as realize bluetooth headset major-minor ear switching method provided by the embodiment of the present invention.
Certainly, it will be understood by those skilled in the art that processor can also realize it is provided by any embodiment of the invention The technical solution of bluetooth headset major-minor ear switching method.
Embodiment six
The embodiment of the present invention six additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should The bluetooth headset major-minor ear switching method as provided by the embodiment of the present invention, this method packet are realized when program is executed by processor It includes:
Establish the communication connection between the communication connection between main earphone and intelligent terminal and main earphone and set of headphones;
When detecting that main earphone can not continue to be communicated with the intelligent terminal, and set of headphones meets with the intelligence eventually When holding the condition communicated, the set of headphones switch as main earphone, with by the set of headphones and the intelligent terminal into Row communication;
Wherein, it before execution switches the set of headphones for the operation of main earphone, plays default switch reasons voice and mentions Show, the reason of to notify user to switch the set of headphones for main earphone.
Certainly, a kind of computer readable storage medium provided by the embodiment of the present invention, the computer program stored thereon Bluetooth headset major-minor ear switching provided by any embodiment of the invention can also be performed in the method operation being not limited to the described above Relevant operation in method.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of bluetooth headset major-minor ear switching method characterized by comprising
Establish the communication connection between the communication connection between main earphone and intelligent terminal and main earphone and set of headphones;
When detecting that main earphone can not continue to be communicated with the intelligent terminal, and set of headphones meet with the intelligent terminal into When the condition of row communication, the set of headphones is switched as main earphone, to be led to by the set of headphones and the intelligent terminal Letter;
Wherein, before execution switches the set of headphones for the operation of main earphone, default switch reasons voice prompting is played, with The reason of notifying user to switch the set of headphones for main earphone.
2. described the method according to claim 1, wherein after switching the set of headphones for main earphone Method further include:
Default handover success voice prompting is played, to notify user to switch the set of headphones for main earphone.
3. the method according to claim 1, wherein detecting main earphone can not continue to carry out with the intelligent terminal Communication, and set of headphones meets the condition communicated with the intelligent terminal, comprising:
If detecting the remaining capacity of main earphone less than the first power threshold, and the remaining capacity of set of headphones is greater than the second electricity threshold When value, it is determined that main earphone can not continue to be communicated with the intelligent terminal, and set of headphones meet with the intelligent terminal into The condition of row communication.
4. according to the method described in claim 3, it is characterized in that, the default switch reasons voice prompting of the broadcasting includes:
The voice prompting of " low battery switching " is played by the main earphone and set of headphones.
5. the method according to claim 1, wherein detecting main earphone can not continue to carry out with the intelligent terminal Communication, and set of headphones meets the condition communicated with the intelligent terminal, comprising:
If detecting, main earphone is placed on Earphone box and the box cover of Earphone box is closed, and the distance between set of headphones and user When less than the first set distance threshold value, it is determined that main earphone can not continue to be communicated with the intelligent terminal, and set of headphones is full The sufficient condition communicated with the intelligent terminal.
6. according to the method described in claim 5, it is characterized in that, the default switch reasons voice prompting of the broadcasting includes:
The voice prompting of " main earphone enters box switching " is played by the set of headphones.
7. the method according to claim 1, wherein detecting main earphone can not continue to carry out with the intelligent terminal Communication, and set of headphones meets the condition communicated with the intelligent terminal, comprising:
When detecting the distance between set of headphones and user less than the first set distance threshold value, and between set of headphones and main earphone When distance is greater than the second set distance threshold value, it is determined that main earphone can not continue to be communicated with the intelligent terminal, and auricular appendage Machine meets the condition communicated with the intelligent terminal;
Corresponding, the default switch reasons voice prompting of broadcasting includes:
The voice prompting of " remote switching " is played by the set of headphones.
8. a kind of bluetooth headset major-minor ear switching device, which is characterized in that described device includes:
Module is established, between the communication connection and main earphone and set of headphones for establishing between main earphone and intelligent terminal Communication connection;
Switching module, for when detecting that main earphone can not continue to be communicated with the intelligent terminal, and set of headphones meet with When the condition that the intelligent terminal is communicated, the set of headphones is switched as main earphone, with by the set of headphones with it is described Intelligent terminal is communicated;
Cue module, for before execution switches the set of headphones for the operation of main earphone, playing default switch reasons language Sound prompt, the reason of to notify user to switch the set of headphones for main earphone.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that the processor is realized as described in any one of claim 1-7 when executing the computer program Bluetooth headset major-minor ear switching method.
10. a kind of storage medium comprising computer executable instructions, the computer executable instructions are by computer disposal Such as bluetooth headset major-minor ear switching method of any of claims 1-7 is realized when device executes.
CN201910087906.4A 2019-01-29 2019-01-29 A kind of bluetooth headset major-minor ear switching method, device, equipment and medium Pending CN109743654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910087906.4A CN109743654A (en) 2019-01-29 2019-01-29 A kind of bluetooth headset major-minor ear switching method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910087906.4A CN109743654A (en) 2019-01-29 2019-01-29 A kind of bluetooth headset major-minor ear switching method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN109743654A true CN109743654A (en) 2019-05-10

Family

ID=66366668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910087906.4A Pending CN109743654A (en) 2019-01-29 2019-01-29 A kind of bluetooth headset major-minor ear switching method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN109743654A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110972022A (en) * 2019-12-25 2020-04-07 歌尔股份有限公司 TWS earphone and method, device and medium for reducing energy consumption of same
CN111063170A (en) * 2019-11-29 2020-04-24 歌尔股份有限公司 TWS earphone loss prevention method, TWS earphone and computer readable storage medium
CN111277930A (en) * 2020-03-05 2020-06-12 展讯通信(上海)有限公司 Single-ear far detection method of multi-ear Bluetooth headset and Bluetooth headset
CN111526440A (en) * 2020-04-27 2020-08-11 歌尔科技有限公司 Method, device and medium for switching master ear and slave ear of TWS earphone in call scene
CN112261535A (en) * 2020-10-16 2021-01-22 深圳传音控股股份有限公司 Major-minor switching method and device for wireless earphone and readable storage medium
CN112291683A (en) * 2020-10-15 2021-01-29 广州安凯微电子股份有限公司 TWS earphone control method and device
WO2021043219A1 (en) * 2019-09-06 2021-03-11 华为技术有限公司 Bluetooth reconnection method and related apparatus
CN113038316A (en) * 2019-12-25 2021-06-25 Oppo广东移动通信有限公司 Earphone control method and device, Bluetooth earphone and storage medium
CN113099342A (en) * 2021-03-31 2021-07-09 深圳市睿耳电子有限公司 Wireless earphone uncovering and reconnection method and related equipment
CN113225432A (en) * 2021-03-25 2021-08-06 上海闻泰信息技术有限公司 Earphone use prompting method and device
CN114422919A (en) * 2021-12-27 2022-04-29 东莞市阿尔法电子科技有限公司 Master-slave switching method and device, TWS (two way communication system) headset and storage medium
CN114501239A (en) * 2022-02-25 2022-05-13 Oppo广东移动通信有限公司 Master-slave switching method and device of earphone, Bluetooth earphone and storage medium
CN116055932A (en) * 2022-08-12 2023-05-02 荣耀终端有限公司 Earphone main and auxiliary ear switching method
CN116074679A (en) * 2023-02-06 2023-05-05 优百博实业深圳有限公司 Method, device, equipment and storage medium for determining left and right states of intelligent earphone

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107809696A (en) * 2017-11-30 2018-03-16 成都必盛科技有限公司 It is a kind of to establish the wireless headset interacted with Earphone box
CN109040887A (en) * 2018-07-02 2018-12-18 Oppo广东移动通信有限公司 Principal and subordinate's earphone method for handover control and Related product
CN109041142A (en) * 2018-07-27 2018-12-18 Oppo广东移动通信有限公司 Main earphone switching method and relevant device
CN109068206A (en) * 2018-07-02 2018-12-21 Oppo广东移动通信有限公司 Principal and subordinate's earphone method for handover control and Related product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107809696A (en) * 2017-11-30 2018-03-16 成都必盛科技有限公司 It is a kind of to establish the wireless headset interacted with Earphone box
CN109040887A (en) * 2018-07-02 2018-12-18 Oppo广东移动通信有限公司 Principal and subordinate's earphone method for handover control and Related product
CN109068206A (en) * 2018-07-02 2018-12-21 Oppo广东移动通信有限公司 Principal and subordinate's earphone method for handover control and Related product
CN109041142A (en) * 2018-07-27 2018-12-18 Oppo广东移动通信有限公司 Main earphone switching method and relevant device

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021043219A1 (en) * 2019-09-06 2021-03-11 华为技术有限公司 Bluetooth reconnection method and related apparatus
CN111063170A (en) * 2019-11-29 2020-04-24 歌尔股份有限公司 TWS earphone loss prevention method, TWS earphone and computer readable storage medium
CN111063170B (en) * 2019-11-29 2021-12-07 歌尔股份有限公司 TWS earphone loss prevention method, TWS earphone and computer readable storage medium
CN110972022B (en) * 2019-12-25 2020-12-18 歌尔股份有限公司 TWS earphone and method, device and medium for reducing energy consumption of same
CN113038316A (en) * 2019-12-25 2021-06-25 Oppo广东移动通信有限公司 Earphone control method and device, Bluetooth earphone and storage medium
US11937039B2 (en) 2019-12-25 2024-03-19 Goertek Inc. TWS earphone, method and apparatus for reducing earphone energy consumption, and medium
CN110972022A (en) * 2019-12-25 2020-04-07 歌尔股份有限公司 TWS earphone and method, device and medium for reducing energy consumption of same
CN111277930A (en) * 2020-03-05 2020-06-12 展讯通信(上海)有限公司 Single-ear far detection method of multi-ear Bluetooth headset and Bluetooth headset
CN111526440A (en) * 2020-04-27 2020-08-11 歌尔科技有限公司 Method, device and medium for switching master ear and slave ear of TWS earphone in call scene
CN112291683B (en) * 2020-10-15 2022-03-18 广州安凯微电子股份有限公司 TWS earphone control method and device
CN112291683A (en) * 2020-10-15 2021-01-29 广州安凯微电子股份有限公司 TWS earphone control method and device
CN112261535A (en) * 2020-10-16 2021-01-22 深圳传音控股股份有限公司 Major-minor switching method and device for wireless earphone and readable storage medium
CN113225432A (en) * 2021-03-25 2021-08-06 上海闻泰信息技术有限公司 Earphone use prompting method and device
CN113099342A (en) * 2021-03-31 2021-07-09 深圳市睿耳电子有限公司 Wireless earphone uncovering and reconnection method and related equipment
CN114422919A (en) * 2021-12-27 2022-04-29 东莞市阿尔法电子科技有限公司 Master-slave switching method and device, TWS (two way communication system) headset and storage medium
CN114501239A (en) * 2022-02-25 2022-05-13 Oppo广东移动通信有限公司 Master-slave switching method and device of earphone, Bluetooth earphone and storage medium
CN114501239B (en) * 2022-02-25 2024-05-10 Oppo广东移动通信有限公司 Master-slave switching method and device of earphone, bluetooth earphone and storage medium
CN116055932A (en) * 2022-08-12 2023-05-02 荣耀终端有限公司 Earphone main and auxiliary ear switching method
CN116055932B (en) * 2022-08-12 2023-09-15 荣耀终端有限公司 Earphone main and auxiliary ear switching method
CN116074679A (en) * 2023-02-06 2023-05-05 优百博实业深圳有限公司 Method, device, equipment and storage medium for determining left and right states of intelligent earphone
CN116074679B (en) * 2023-02-06 2023-11-10 宜百科技(深圳)有限公司 Method, device, equipment and storage medium for determining left and right states of intelligent earphone

Similar Documents

Publication Publication Date Title
CN109743654A (en) A kind of bluetooth headset major-minor ear switching method, device, equipment and medium
US11630636B2 (en) Changing companion communication device behavior based on status of wearable device
US11438962B2 (en) Method and apparatus for establishing single-line connection, and wireless headset and charging box
CN109492441A (en) A kind of anti-lost method of bluetooth headset, device, electronic equipment and storage medium
WO2017181708A1 (en) Audio switching method and device for terminal, and electronic device
WO2019136810A1 (en) Bluetooth headset master/salve switching method and apparatus
WO2018201944A1 (en) Apparatus control method and device
CN110087215A (en) Information broadcasting method and device based on Bluetooth connection, terminal and storage medium
CN105704604A (en) Smart home earphones
CN109639908A (en) A kind of bluetooth headset, anti-eavesdrop method, apparatus, equipment and medium
CN111601290B (en) Bluetooth sound box, earphone, bluetooth audio playing device, bluetooth sound box system and Bluetooth audio switching method
CN102623041A (en) Music player and method for automatically adjusting audio output of music player
CN105811515A (en) Method and system for charging universal serial bus Bluetooth headset through mobile terminal
CN109688502B (en) Control method, device and equipment
CN108063998B (en) Earphone and terminal with microphone Heng Tong function
WO2018201943A1 (en) Device control method, device and system
US20230370774A1 (en) Bluetooth speaker control method and system, storage medium, and mobile terminal
CN104883644A (en) Information processing method and an electronic device
CN206413138U (en) A kind of mobile terminal and earphone
TW201625020A (en) Headset and controlling handheld device system, method
CN111669679A (en) Method for balanced consumption of battery of true wireless Bluetooth headset
CN108650592B (en) Method for realizing neck strap type surround sound and stereo control system
WO2020042491A1 (en) Headphone far-field interaction method, headphone far-field interaction accessory, and wireless headphones
CN113810814B (en) Earphone mode switching control method and device, electronic equipment and storage medium
CN109391726A (en) A kind of method and terminal playing sound

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
TA01 Transfer of patent application right

Effective date of registration: 20200326

Address after: Room 706, Room 1699, South Zuchong Road, Yushan Town, Kunshan City, Suzhou City, Jiangsu Province

Applicant after: Kunshan Pinyuan Intellectual Property Operating Technology Co., Ltd.

Address before: 200233 Shanghai city industry Jinshan District Jinshan Industrial Zone Road No. 218 building 3 layer 2

Applicant before: SHANGHAI YUDE COMMUNICATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20190510

RJ01 Rejection of invention patent application after publication