CN111225346A - Connection switching method of wireless earphone, wireless earphone and storage medium - Google Patents

Connection switching method of wireless earphone, wireless earphone and storage medium Download PDF

Info

Publication number
CN111225346A
CN111225346A CN201911199371.6A CN201911199371A CN111225346A CN 111225346 A CN111225346 A CN 111225346A CN 201911199371 A CN201911199371 A CN 201911199371A CN 111225346 A CN111225346 A CN 111225346A
Authority
CN
China
Prior art keywords
earphone
wireless
connection
box
communication connection
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
Application number
CN201911199371.6A
Other languages
Chinese (zh)
Other versions
CN111225346B (en
Inventor
肖明
李凌志
陆伟峰
朱荣昌
任权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Microphone Holdings 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 Shenzhen Microphone Holdings Co Ltd filed Critical Shenzhen Microphone Holdings Co Ltd
Priority to CN201911199371.6A priority Critical patent/CN111225346B/en
Publication of CN111225346A publication Critical patent/CN111225346A/en
Application granted granted Critical
Publication of CN111225346B publication Critical patent/CN111225346B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1016Earpieces of the intra-aural type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a connection switching method of a wireless earphone, which comprises the following steps: the earphone box and/or the wireless earphone receive the preset operation and send a switching instruction so that the wireless earphone is disconnected from the current communication connection and a new communication connection is established. The invention also discloses a wireless earphone and a computer readable storage medium. According to the invention, after the preset operation is received, the current communication connection is disconnected, the connection with the wireless earphone is not required to be manually disconnected from the terminal, and then the wireless earphone is connected to another terminal so as to realize switching.

Description

Connection switching method of wireless earphone, wireless earphone and storage medium
Technical Field
The present invention relates to the field of wireless transmission technologies, and in particular, to a connection switching method for a wireless headset, and a storage medium.
Background
The appearance of a TWS (True Wireless Stereo) bluetooth headset frees the connection line of a wired headset from tripping, and enables a user to more comfortably and conveniently answer a call, listen to music and the like. However, when the bluetooth headset is switched to be connected to other terminals, the user needs to disconnect the connection with the bluetooth headset through the current terminal, and then the bluetooth headset is paired with another terminal to reestablish the connection with the other terminal, which is a relatively complicated problem.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The embodiment of the invention mainly aims to provide a connection switching method of a wireless earphone, and aims to solve the technical problem of complex operation when a connection terminal of a Bluetooth earphone is switched in the prior art.
In order to solve the above problem, an embodiment of the present invention provides a method for switching connection of a wireless headset, including:
the earphone box and/or the wireless earphone receive the preset operation and send a switching instruction so that the wireless earphone is disconnected from the current communication connection and a new communication connection is established.
Optionally, after the step of receiving the preset operation by the earphone box and/or the wireless earphone, the method further includes:
and outputting prompt information and sending a switching instruction according to the feedback information.
Optionally, before the step of sending the switching instruction, the method further includes:
and determining the target connection object of the new communication connection according to the preset operation.
Optionally, the step of causing the wireless headset to disconnect the current communication connection and establish a new communication connection further includes:
acquiring the state of the wireless earphone;
if the wireless earphone is in the out-of-box state, establishing a new communication connection; or the like, or, alternatively,
and if the wireless earphone is in a box state, processing according to a preset rule.
Optionally, the step of causing the wireless headset to disconnect the current communication connection and establish a new communication connection further includes:
acquiring the state of the earphone box;
if the earphone box is in an open state, establishing a new communication connection; or the like, or, alternatively,
and if the earphone box is in a closed state, disconnecting the current communication connection.
Optionally, if the wireless headset is in a box state, the step of processing according to a preset rule further includes:
acquiring the electric quantity information of the wireless earphone;
if the electric quantity information is larger than or equal to a preset electric quantity threshold value, establishing a new communication connection; or the like, or, alternatively,
and if the electric quantity information is smaller than a preset electric quantity threshold value, disconnecting the current communication connection.
Optionally, after the step of establishing a new communication connection, the method further includes:
the wireless headset stops broadcasting the pairing request for establishing the communication connection.
Optionally, the preset operation includes at least one of:
touch operation, touch duration, voice control operation, earphone in-box and earphone out-box.
In addition, to solve the above problem, an embodiment of the present invention further provides a wireless headset, where the wireless headset includes a processor, a memory, and a connection switching program of the wireless headset, which is stored in the memory and can be executed on the processor, and the connection switching program of the wireless headset is executed by the processor to implement the steps of the connection switching method of the wireless headset.
An embodiment of the present invention further provides a computer-readable storage medium, where a connection switching program of a wireless headset is stored on the computer-readable storage medium, and when the connection switching program of the wireless headset is executed by a processor, the steps of the connection switching method of the wireless headset as described above are implemented.
According to the connection switching method of the wireless earphone, the current communication connection is disconnected after the preset operation is received, the connection with the wireless earphone does not need to be manually disconnected from the terminal, the wireless earphone is connected to another terminal to realize switching, the switching process of the wireless earphone is simplified through one-key switching, and the beneficial effects of simplicity and convenience in operation and rapidness are achieved.
Drawings
Fig. 1 is a schematic flow chart illustrating a connection switching method of a wireless headset according to a first embodiment of the present invention;
fig. 2 is a schematic flow chart of a connection switching method for a wireless headset according to a second embodiment of the present invention;
fig. 3 is a schematic flow chart of a connection switching method for a wireless headset according to a third embodiment of the present invention;
fig. 4 is a schematic flow chart of a connection switching method for a wireless headset according to a fourth embodiment of the present invention;
FIG. 5 is a diagram of a connection according to an embodiment of the present invention;
FIG. 6 is a diagram of another connection according to an embodiment of the present invention;
FIG. 7 is a diagram of interface outputs according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a wireless headset according to an embodiment of the present invention in a box state.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the detailed description and specific examples, while indicating the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
The main solution of the embodiment of the invention is as follows: the earphone box and/or the wireless earphone receive the preset operation and send a switching instruction so that the wireless earphone is disconnected from the current communication connection and a new communication connection is established.
The technical problem of complex operation when the connection terminal of the Bluetooth headset is switched in the prior art is solved.
The embodiment of the invention provides a solution, the current communication connection is disconnected after the preset operation is received, the connection with the wireless earphone is not required to be manually disconnected from the terminal, the wireless earphone is connected to another terminal to realize switching, the switching process of the wireless earphone is simplified through one-key switching, and the beneficial effects of simplicity and convenience in operation and rapidness are achieved.
The execution main body of the embodiment of the invention is a wireless earphone, which can be a TWS Bluetooth earphone or a common Bluetooth earphone.
The wireless headset may include a processor, wherein the processor may be implemented by a highly integrated chip, and integrates functions of a bluetooth module, an MCU (micro controller Unit) and a DSP (Digital Signal Processing), and may further integrate other components, which are not limited herein; the bluetooth module may include dual mode bluetooth, i.e., a basic rate/enhanced rate bluetooth module (BR/EDR) and a Bluetooth Low Energy (BLE); MCU is mainly used for earphone control function, and DSP is mainly used for realizing digital signal processing. Further, the wireless headset further comprises a memory; the memory as a computer-readable storage medium may further include an operating system, a network communication module and a connection switching program of the wireless headset, where the network communication module is mainly used to connect and communicate with the terminal and the headset box.
Further, the wireless headset further comprises an audio acquisition device (such as a microphone), a battery assembly, a touch assembly, an LED lamp, a sensor and a loudspeaker. For an audio acquisition device (such as a microphone), an audio signal acquired by the audio acquisition device is used for realizing a conversation function, and the other path of microphone can be a noise reduction microphone, and the audio signal acquired by the other path of microphone is used for reducing the noise function; the battery component is used for supplying power to the wireless earphone; the touch component is used for realizing a touch function and can be a key; the LED lamp is used for prompting the working state of the Bluetooth, such as a starting prompt, a charging prompt, a terminal connection prompt and an earphone box connection prompt lamp; the sensors can comprise a gravity acceleration sensor, a vibration sensor, a gyroscope and the like, and are used for detecting the state of the wireless headset so as to judge the body action state of a user wearing the wireless headset; the loudspeaker can comprise more than two loudspeakers, for example, each earphone of the wireless earphone is provided with two loudspeakers, a moving coil loudspeaker and a moving iron loudspeaker, the moving coil loudspeaker has better response at medium and low frequencies, the moving iron loudspeaker has better response at medium and high frequencies, the two loudspeakers are used simultaneously, and the moving iron loudspeaker is connected in parallel to the moving coil loudspeaker through the frequency division function of the processor, so that the human ears hear sound waves of the whole audio frequency band.
It will be appreciated by a person skilled in the art that the hardware structure of the wireless headset described above does not constitute a limitation of the invention, and in practice the wireless headset may comprise more or less components than the examples described above, or some components may be combined, or a different arrangement of components may be used.
Further, the processing of the wireless headset may invoke a connection switching program of the wireless headset stored in the memory and perform the following operations:
the earphone box and/or the wireless earphone receive the preset operation and send a switching instruction so that the wireless earphone is disconnected from the current communication connection and a new communication connection is established.
Further, the processing of the wireless headset may invoke a connection switching program of the wireless headset stored in the memory and perform the following operations:
and outputting prompt information and sending a switching instruction according to the feedback information.
Further, the processing of the wireless headset may invoke a connection switching program of the wireless headset stored in the memory and perform the following operations:
and determining the target connection object of the new communication connection according to the preset operation.
Further, the processing of the wireless headset may invoke a connection switching program of the wireless headset stored in the memory and perform the following operations:
acquiring the state of the wireless earphone;
if the wireless earphone is in the out-of-box state, establishing a new communication connection; or the like, or, alternatively,
and if the wireless earphone is in a box state, processing according to a preset rule.
Further, the processing of the wireless headset may invoke a connection switching program of the wireless headset stored in the memory and perform the following operations:
acquiring the state of the earphone box;
if the earphone box is in an open state, establishing a new communication connection; or the like, or, alternatively,
and if the earphone box is in a closed state, disconnecting the current communication connection.
Further, the processing of the wireless headset may invoke a connection switching program of the wireless headset stored in the memory and perform the following operations:
acquiring the electric quantity information of the wireless earphone;
if the electric quantity information is larger than or equal to a preset electric quantity threshold value, establishing a new communication connection; or the like, or, alternatively,
and if the electric quantity information is smaller than a preset electric quantity threshold value, disconnecting the current communication connection.
Further, the processing of the wireless headset may invoke a connection switching program of the wireless headset stored in the memory and perform the following operations:
the wireless headset stops broadcasting the pairing request for establishing the communication connection.
Based on the structure of the terminal, a first embodiment of the present invention is proposed, and referring to fig. 1, fig. 1 is a schematic flow chart of a first embodiment of a connection switching method of a wireless headset according to the present invention, where the connection switching method of the wireless headset includes the following steps:
step S10, the earphone box and/or the wireless earphone receives the preset operation;
bluetooth technology is essentially a low-cost, high-capacity, short-range wireless transmission technology. In this embodiment, the wireless headset may be a normal bluetooth headset, or may be a TWS bluetooth headset.
The TWS Bluetooth headset is in wireless connection between a pair of Bluetooth headsets, wherein the left headset and the right headset can work independently and can be connected and paired, a two-channel stereo mode is automatically formed, the pair of stereo headsets is formed, and stereo playing is really realized.
The wireless earphone can be accomodate to the earphone box to and charge for wireless earphone. In this embodiment, the earphone box or the wireless earphone may be provided with a switch key or a switch button, or may be used in combination with other keys or buttons on the earphone box or the wireless earphone, which is not limited herein. The earphone box or the wireless earphone can detect a preset operation acting on the earphone box or the wireless earphone switching button through a sensor, such as a pressure sensor, wherein the preset operation comprises at least one of the following operations: touch operation, touch duration, voice control operation, earphone in-box and earphone out-box. The touch operation may be a touch operation of a button acting on the earphone case or the wireless earphone, and may be a touch frequency, such as a single click or a double click. The touch duration may be a touch duration of a button, such as 3 seconds, applied to the earphone box or the wireless earphone. The voice control operation may be that after receiving the voice information of the user, the voice recognition module analyzes the voice control instruction in the voice information, such as "disconnect". The earphone in box can be a wireless earphone which is changed from an out box state to a box state. The earphone going out of the box can be the wireless earphone changing from the box state to the out-of-box state.
Optionally, a display is arranged on the earphone box, a pressure sensor is arranged on the display, and the preset operation of the user can be detected through the pressure sensor. The preset operation may be one of a touch operation and a touch duration, where the touch operation may be a touch frequency, such as a single click or a double click; the touch duration may be a duration of time acting on the headphone case display, such as 2 seconds.
When a user needs to switch the terminal to which the wireless earphone is currently connected, the wireless earphone can be disconnected through preset operation, and the switching can be performed through one of the modes of touch operation, touch duration, voice control, putting the wireless earphone into a box and taking the wireless earphone out.
Referring to fig. 5, the earphone box 10 may be provided with a button 11 and a display 12; the earphone case 10 establishes a wireless communication connection with the wireless earphone 20, and the wireless earphone 20 establishes a wireless communication connection with the terminal 30.
Further, after the earphone box and/or the wireless earphone receive the preset operation, the method further comprises:
and outputting prompt information, and sending the switching instruction according to the feedback information.
The prompt information can be at least one of voice prompt, vibration prompt, text information prompt and animation prompt output by the earphone box and/or the wireless earphone, so that a user can determine whether to switch instead of misoperation after receiving the prompt information. The voice prompt or the vibration prompt can be output through the earphone box or the wireless earphone, and the voice prompt, the vibration prompt, the text information prompt or the animation prompt can be output through the terminal which is currently connected with the wireless earphone.
Optionally, the prompt message may be displayed on a display of the earphone box, and the prompt message may be displayed in a dialog box by popping up the dialog box; the prompt message can also be prompted by animation, such as a cartoon character making a prompt action.
Referring to fig. 6, after receiving the preset operation, the earphone box 10 outputs a prompt message, and a dialog box may be output on the display 12 of the earphone box 10 to prompt the user whether to disconnect the current communication connection. Optionally, after receiving the preset operation, the earphone box or the wireless earphone may send a prompt message to pop up a dialog prompt on the terminal interface 30 of the current communication connection, so as to determine whether to disconnect the current communication connection.
After seeing the prompt message, the user makes an objection or confirmation operation according to the prompt message, and the objection or confirmation operation can be made through a display screen of the earphone box, the wireless earphone or a terminal connected with the wireless earphone at present, so that feedback information is given.
The feedback information may be confirmation information of disconnection of the current communication connection or objection information of disconnection of the current communication connection. And when the feedback information is objection information for disconnecting the current communication connection, sending a switching instruction.
Step S20, sending a switching instruction to disconnect the current communication connection of the wireless earphone;
when the earphone box or the wireless earphone detects a preset operation, the earphone box can send a switching instruction to the wireless earphone through a wireless transmission protocol, such as a mode of sending a BLE broadcast packet or physical connection, wherein the switching instruction comprises one of an instruction for interrupting a currently connected terminal and an instruction for not broadcasting a pairing request to the currently connected terminal within a preset time after disconnection. It can be understood that when the wireless earphone is not in the earphone box, the switching instruction is sent to the wireless earphone through wireless transmission; when the wireless earphone is stored in the earphone box, the earphone box sends a switching instruction to the wireless earphone through physical connection.
After receiving the switching instruction, the wireless headset analyzes the switching instruction, acquires an instruction of disconnecting from the currently connected terminal, and interrupts the connection with the current communication terminal, namely disconnects from the current communication connection, wherein the current communication terminal can be a mobile or non-mobile terminal such as a tablet personal computer, a mobile phone, a notebook computer, a PDA, a navigation device, an intelligent bracelet, a pedometer, a wearable device and a digital television.
The wireless headset broadcasts a pairing request, wherein the pairing request includes identity information of the wireless headset and information requesting pairing. The identity information includes one or more of a wireless address, a manufacturer, a product model, and an identification code.
The wireless earphone broadcasts the pairing request in a preset radius range, namely, in an area which takes the wireless earphone as a circle center and takes a preset radius as a radius, the pairing request is broadcasted, wherein the preset radius can be realized by adjusting the power of the transmitter or debugging the intensity of the signal wave. The preset radius is 10 cm-40 cm, and in the range, the matching accuracy can be improved while the terminal can receive the matching request of the wireless earphone, and in addition, the wireless earphone can be prevented from being connected by other equipment, so that the safety and the confidentiality are improved.
Further, after the switching command is initiated, the method further includes:
and determining the target connection object of the new communication connection according to the preset operation.
Different preset operations correspond to different connection objects, for example, when the preset operation is touch frequency and the touch frequency is click, the corresponding target connection object of the new communication connection can be a first target connection object, that is, the wireless connection with the first target connection object is established within a preset radius range of the wireless earphone or the earphone box; when the number of times of touch is double-click, the corresponding target connection object of the new communication connection may be a second target connection object.
Step S30, a new communication connection is established.
Within the preset radius range of the wireless earphone, all terminals which are in bright screen or are unlocked by bright screen and have Bluetooth function are all capable of receiving the pairing request of the wireless earphone, and a half-screen display frame or a full-screen display frame can be popped up on the display interface of the terminal so as to prompt a user to establish communication connection between the terminal and the wireless earphone.
Further, the new communication terminal may be a mobile or non-mobile terminal such as a tablet computer, a mobile phone, a notebook computer, a PDA, a navigation device, an intelligent bracelet, a pedometer, a wearable device, and a digital television. The new communication terminal also sends a pairing request after the Bluetooth function is opened, pops up a pop-up box after the pairing request of the wireless earphone is scanned, and responds to the pairing request sent by the wireless earphone after the pairing operation input by a user is received to establish communication connection with the wireless earphone.
And after receiving the response information of the new communication terminal, the wireless earphone establishes communication connection with the new communication terminal. The response information comprises a pairing request fed back by the new communication terminal and identity information of the new communication terminal, wherein the identity information comprises one or more of a wireless address, a manufacturer, a product model and an identification code. The communication connection may be a bluetooth connection or a wireless local area network connection.
It is understood that the wireless headset continues to broadcast the pairing request after a preset time, for example, 5 seconds, until the communication connection with the terminal is established when no response message of a new communication terminal or other terminals is received.
Referring to fig. 7, the earphone case 10 or the wireless earphone 20 disconnects the currently connected communication terminal 30 after receiving the switching instruction, and establishes a wireless communication connection with the new communication connection terminal 40 after receiving the feedback information.
In this embodiment, after receiving the preset operation, the current communication connection is disconnected, the connection with the wireless earphone does not need to be manually disconnected from the terminal, the wireless earphone is connected to another terminal to realize switching, the switching process of the wireless earphone is simplified through one-key switching, and the beneficial effects of simplicity and convenience in operation and quickness are achieved.
Referring to fig. 2, fig. 2 is a flowchart illustrating a second embodiment of the method for switching connection of a wireless headset according to the present invention, and based on the first embodiment, after step S20, the method further includes:
step S31, obtaining the state of the wireless earphone;
the wireless earphone is provided with a magnetic component, and correspondingly, a magnetic piece matched with the receiving cavity of the earphone box is also arranged in the receiving cavity of the earphone box. When the wireless headset is stored in the headset case, the wireless headset can determine the state of the wireless headset by detecting whether the wireless headset has magnetic attraction. When the wireless earphone detects that the magnetic attraction exists, the wireless earphone can be judged to be in a box state; when the magnetic attraction is not detected, it can be determined that the wireless headset is in the out-of-box state. It is understood that the status of the wireless headset may also be obtained by other manners, which are not limited herein. The using state of the wireless earphone is adjusted by acquiring the state of the wireless earphone, so that electricity is effectively saved, broadcasting is timely carried out, the pairing efficiency is improved, and the user experience is further improved.
When the wireless earphone detects the magnetic attraction, the wireless earphone is judged to be in a box state, and then the Bluetooth module of the wireless earphone is closed. When the wireless earphone is in a box state, the wireless earphone indicates that the wireless earphone is not used by a user, and meanwhile, the wireless earphone can be charged through a wire or a charging sheet connection. In order to save the power consumption of the terminal and reduce the interference to the terminal, the wireless earphone closes the Bluetooth module.
When the magnetic attraction acting on the wireless earphone is detected, it is determined that the wireless earphone is in the in-box state. The earphone box is provided with two receiving cavities capable of receiving the wireless earphones, an openable and closable cover is fixed on the shell of the earphone box, and the cover is fixed through a magnetic piece or a buckling piece; the cover is operable between an open position in which the opening of the receiving cavity is exposed and a closed position; when in the closed position, the cover covers the opening of the receiving cavity, and the cover is fixed through a magnetic piece or a buckling piece.
After the cover of the earphone box is opened, the wireless earphone automatically starts the Bluetooth module and establishes communication connection with the earphone box.
Furthermore, the earphone box is also provided with a bluetooth module, but it should be noted that the bluetooth module is not a complete bluetooth module, and sends a connection request to the wireless earphone through a physical connection, such as a communication pin, instead of a wireless transmission and broadcast pairing request, and modifies a signaling of a bluetooth protocol stack. After the wireless earphone receives the connection request of the earphone box through the communication pin, the wireless earphone can directly respond to the connection request, and therefore wireless communication connection with the wireless earphone is established.
Step S32, if the wireless earphone is in the out-box state, establishing a new communication connection; or the like, or, alternatively,
and when the magnetic attraction acting on the wireless earphone is not detected, judging that the wireless earphone is in the out-of-box state. The wireless headset is in an out-of-box state, and a new communication connection is simultaneously established with the target connection object except after the wireless connection with the headset box is established.
And step S33, if the wireless earphone is in a box state, processing according to a preset rule.
Referring to fig. 8, a schematic diagram of a wireless headset in a box state. The earphone box judges that the wireless earphone is in the box state when the earphone box detects the magnetic attraction acting on the wireless earphone. When the wireless earphone is in a box state, the preset rule can be to disconnect the current communication connection, enter a charging mode, close the Bluetooth module, or execute an operation corresponding to the electric quantity information according to the electric quantity information of the wireless earphone.
Optionally, the processing according to a preset rule includes:
acquiring the electric quantity information of the wireless earphone;
if the electric quantity information is larger than or equal to a preset electric quantity threshold value, establishing a new communication connection; or the like, or, alternatively,
and if the electric quantity information is smaller than a preset electric quantity threshold value, disconnecting the current communication connection.
The power information includes a current remaining power of the wireless headset. The wireless earphone acquires current electric quantity information, and when the current residual electric quantity corresponding to the electric quantity information is larger than or equal to a preset electric quantity threshold value, a new communication connection is established with a target connection object; when the current residual power corresponding to the power information is smaller than the preset power threshold, the current communication connection is disconnected, so that the power loss of the wireless earphone is reduced, and the service life of the wireless earphone is prolonged.
Furthermore, the wireless earphone is in a box state, after the cover of the earphone box is opened, the wireless earphone automatically starts the Bluetooth module, meanwhile, the Bluetooth module on the earphone box sends a pairing request to the wireless earphone through physical connection such as a communication pin, communication connection between the wireless earphone and the wireless earphone is established, and a Bluetooth Mesh network between the wireless earphone and the earphone box is established, wherein the Bluetooth Mesh network is a low-power Bluetooth technology, has the characteristics of self-organization and self-configuration, can be regarded as a PAN local area network, can reduce power consumption, and simultaneously reduces cost.
It should be noted that, after the triangle bluetooth Mesh network is established between the wireless headset and the headset box in the headset box, even if the wireless headset is in a out-of-box state, the wireless headset continues to maintain the wireless communication connection with the headset box, and only when the distance between the wireless headset and the headset box exceeds a preset range, such as exceeds 50m, the connection with the headset box is disconnected without limitation, and the connection state with the headset box can be confirmed by continuously sending BLE broadcast.
It can be understood that, because the bluetooth module on the earphone box is not a complete bluetooth module and does not have the capability of pairing the request through wireless broadcasting, after the communication connection with the wireless earphone is disconnected, the wireless earphone needs to be placed in the earphone box again, and the bluetooth Mesh network between the wireless earphone and the wireless earphone can be reestablished, namely, the communication connection.
Further, after the wireless headset is detected to be plugged into the box and the wireless headset belongs to the same type of headset, the wireless headset receives and stores the pairing key sent by the headset box, wherein the pairing key may be a random pairing code. It should be noted that only when the pairing key is the same, the left and right earphones of the wireless earphone can be paired. The left ear and the right ear of the wireless headset establish communication connection between the left ear and the right ear through a pairing key, wherein the pairing can be performed through RSSI (Received Signal Strength indication) strength. The earphone box enables the left earphone and the right earphone between the wireless earphones to be in wireless pairing through rewriting the pairing secret key, and connection relation is established. Because the wireless earphones are light and easy to lose, when one earphone is lost, the wireless earphones can be rewritten and paired through the earphone box, so that another wireless earphone which is not lost can be reused, and the beneficial effects of resource waste or idleness are avoided.
In this embodiment, the operation corresponding to the wireless earphone state is executed by acquiring the wireless earphone state, a new communication connection is established when the wireless earphone is in the out-of-box state, and the wireless earphone is in the in-box state and is processed according to a preset rule, so that the wireless earphone has the advantages of convenience in use and power saving.
Referring to fig. 3, fig. 3 is a flowchart illustrating a third embodiment of a method for switching connection of a wireless headset according to the present invention, based on the first embodiment, after step S20, the method further includes:
step S31, acquiring the state of the earphone box;
the earphone box is provided with a magnetic part or a buckle part on the shell and is used for fixing the cover of the earphone box. The earphone box can be connected with a control key through a magnetic part or a buckling part, and the state of the earphone box is determined by detecting the stress condition of the control key. When the magnetic part or the buckle part is extruded, the earphone box is in a closed state when the stress of the control key is detected; when the magnetic part or the buckle part is not extruded, the earphone box is in an open state when the control key is detected to be not stressed.
Step S34, if the earphone box is in an open state, establishing a new communication connection;
when the earphone box detects that the control key is not stressed, the earphone box is in an open state. And establishing a new communication connection with the terminal.
And step S35, if the earphone box is in a closed state, disconnecting the current communication connection.
When the earphone box detects that the control key is stressed, the earphone box is in a closed state. The wireless headset disconnects the current communication connection.
In this embodiment, by acquiring the state of the earphone box, an operation corresponding to the state of the earphone box is executed, the wireless earphone is in an open state when the wireless box is in the open state, the wireless earphone establishes a new communication connection, and the wireless earphone is in a closed state when the earphone box is in the closed state, so that the wireless earphone is disconnected from the current communication connection, and the wireless earphone has the beneficial effects of flexibility and prolonging the standby time of the wireless earphone.
Referring to fig. 4, fig. 4 is a flowchart illustrating a fourth embodiment of a method for switching connection of a wireless headset according to the present invention, based on the first, second, or third embodiment, after step S30, the method further includes:
step S70, the wireless headset stops broadcasting the pairing request.
Because the volume of the wireless earphone is small, the battery capacity of the wireless earphone is very limited, and the improvement of the standby time of the wireless earphone is very necessary. The power consumption of the Bluetooth module broadcast pairing request in the wireless earphone is relatively large, and if the pairing request can be stopped in time, the standby time of the wireless earphone can be effectively prolonged.
After establishing connection with new communication, the wireless earphone stops broadcasting the pairing request, so that the power consumption of the wireless earphone is reduced, and the standby time of the wireless earphone is prolonged.
In this embodiment, after the wireless headset establishes a communication connection with a new communication terminal, the wireless headset stops broadcasting the pairing request, thereby achieving the beneficial effects of reducing power consumption of the wireless headset and prolonging standby time.
In addition, an embodiment of the present invention further provides a wireless headset, where the wireless headset includes a processor, a memory, and a connection switching program of the wireless headset, where the connection switching program of the wireless headset is stored in the memory and is executable on the processor, and when the connection switching program of the wireless headset is executed by the processor, the contents of the above-described embodiment of the connection switching method of the wireless headset are implemented.
An embodiment of the present invention further provides a computer-readable storage medium, where a connection switching program of a wireless headset is stored on the computer-readable storage medium, and when the connection switching program of the wireless headset is executed by a processor, the contents of the above-described embodiment of the connection switching method of the wireless headset are implemented.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes several instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for switching connection of wireless earphone is characterized in that the method comprises the following steps:
the earphone box and/or the wireless earphone receive the preset operation and send a switching instruction so that the wireless earphone is disconnected from the current communication connection and a new communication connection is established.
2. The method of claim 1, wherein after the step of receiving the preset operation by the earphone box and/or the wireless earphone, further comprising:
and outputting prompt information, and sending the switching instruction according to the feedback information.
3. The method of claim 1, wherein the step of sending a handover command is preceded by the step of:
and determining the target connection object of the new communication connection according to the preset operation.
4. The method of claim 1, wherein the step of disconnecting the current communication connection and establishing a new communication connection with the wireless headset further comprises:
acquiring the state of the wireless earphone;
if the wireless earphone is in the out-of-box state, establishing a new communication connection; or the like, or, alternatively,
and if the wireless earphone is in a box state, processing according to a preset rule.
5. The method of claim 1, wherein the step of disconnecting the current communication connection and establishing a new communication connection with the wireless headset further comprises:
acquiring the state of the earphone box;
if the earphone box is in an open state, establishing a new communication connection; or the like, or, alternatively,
and if the earphone box is in a closed state, disconnecting the current communication connection.
6. The method for switching connection of a wireless headset according to claim 4, wherein the step of processing according to a preset rule if the wireless headset is in a box state further comprises:
acquiring the electric quantity information of the wireless earphone;
if the electric quantity information is larger than or equal to a preset electric quantity threshold value, establishing a new communication connection; or the like, or, alternatively,
and if the electric quantity information is smaller than a preset electric quantity threshold value, disconnecting the current communication connection.
7. The method for switching connection of a wireless headset according to any one of claims 1 to 6, wherein the step of establishing a new communication connection is followed by the steps of:
the wireless headset stops broadcasting the pairing request for establishing the communication connection.
8. The method of switching connection of a wireless headset according to any one of claims 1 to 6, wherein the preset operation includes at least one of:
touch operation, touch duration, voice control operation, earphone in-box and earphone out-box.
9. A wireless headset comprising a processor, a memory, and a connection switching program of the wireless headset stored on the memory and executable on the processor, the connection switching program of the wireless headset when executed by the processor implementing the steps of the connection switching method of the wireless headset according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a connection switching program of a wireless headset, which when executed by a processor implements the steps of the connection switching method of the wireless headset according to any one of claims 1 to 8.
CN201911199371.6A 2019-11-28 2019-11-28 Connection switching method of wireless earphone, wireless earphone and storage medium Active CN111225346B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911199371.6A CN111225346B (en) 2019-11-28 2019-11-28 Connection switching method of wireless earphone, wireless earphone and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911199371.6A CN111225346B (en) 2019-11-28 2019-11-28 Connection switching method of wireless earphone, wireless earphone and storage medium

Publications (2)

Publication Number Publication Date
CN111225346A true CN111225346A (en) 2020-06-02
CN111225346B CN111225346B (en) 2022-07-12

Family

ID=70829045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911199371.6A Active CN111225346B (en) 2019-11-28 2019-11-28 Connection switching method of wireless earphone, wireless earphone and storage medium

Country Status (1)

Country Link
CN (1) CN111225346B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111757307A (en) * 2020-06-29 2020-10-09 维沃移动通信有限公司 Wireless earphone control method, wireless earphone and readable storage medium
CN111935682A (en) * 2020-07-07 2020-11-13 歌尔科技有限公司 Wireless earphone pairing method, earphone charging box and wireless earphone product assembly
CN112492442A (en) * 2020-11-24 2021-03-12 江苏紫米电子技术有限公司 Connection switching method, device, equipment and storage medium of Bluetooth headset
CN112566003A (en) * 2020-12-23 2021-03-26 深圳市卓翼科技股份有限公司 Earphone testing method, system, testing terminal and storage medium
CN112672245A (en) * 2020-11-30 2021-04-16 西安芯海微电子科技有限公司 Earphone control method, earphone box and computer readable storage medium
CN112822594A (en) * 2021-01-14 2021-05-18 深圳市芯中芯科技有限公司 Interaction method and system based on Bluetooth headset
CN112954529A (en) * 2021-02-26 2021-06-11 歌尔科技有限公司 Double-earphone balanced use method and double earphones
CN113242495A (en) * 2021-06-10 2021-08-10 东莞立讯精密工业有限公司 True wireless stereo earphone assembly and control method thereof
WO2021169147A1 (en) * 2020-02-26 2021-09-02 深圳市岍丞技术有限公司 Method and system for connecting bluetooth earphones to terminal, and storage medium
CN113965895A (en) * 2021-12-16 2022-01-21 深圳市晨北科技有限公司 Bluetooth connection switching method, equipment and storage medium
CN114143765A (en) * 2022-02-08 2022-03-04 荣耀终端有限公司 Bluetooth connection method, device and storage medium
WO2022193811A1 (en) * 2021-03-15 2022-09-22 荣耀终端有限公司 Pairing method and pairing system
WO2023049131A1 (en) * 2021-09-24 2023-03-30 Apple Inc. Devices, methods, and graphical user interfaces for interactions with a headphone case
CN116669225A (en) * 2022-12-28 2023-08-29 广州源动智慧体育科技有限公司 Device connection method, electronic device and storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050107120A1 (en) * 2003-11-17 2005-05-19 Yueh Wen H. Mobile storage device with wireless bluetooth module attached thereto
CN101340212A (en) * 2007-07-03 2009-01-07 艾威梯软件技术(北京)有限公司 Method, apparatus and system for triggering automatic switchover of Bluetooth connecting device by key pressing
CN104285454A (en) * 2014-06-17 2015-01-14 华为技术有限公司 Switching method of wireless connection, wireless terminal and system thereof
US20170195771A1 (en) * 2016-01-02 2017-07-06 Erato (Cayman) Holdings Co., Ltd. Wireless earphone and controlling method of same
US20170201612A1 (en) * 2016-01-10 2017-07-13 Apple Inc. Switching between watches or other accessories
CN107770760A (en) * 2017-10-18 2018-03-06 维沃移动通信有限公司 A kind of method and mobile terminal of the type for identifying bluetooth equipment
CN108495224A (en) * 2018-04-28 2018-09-04 歌尔科技有限公司 A kind of communication system
CN108684029A (en) * 2018-08-23 2018-10-19 维沃移动通信有限公司 A kind of Bluetooth pairing connection method and system, bluetooth equipment and terminal
CN108769432A (en) * 2018-07-27 2018-11-06 Oppo广东移动通信有限公司 Main earphone switching method, mobile terminal and computer readable storage medium
CN108901006A (en) * 2018-06-15 2018-11-27 Oppo广东移动通信有限公司 A kind of method and electronic equipment of wireless headset pairing
CN109041141A (en) * 2018-07-26 2018-12-18 Oppo广东移动通信有限公司 Transmission link method for handover control and Related product
CN109890021A (en) * 2019-03-06 2019-06-14 西安易朴通讯技术有限公司 Bluetooth headset switching method, bluetooth headset and terminal
CN110167194A (en) * 2019-05-20 2019-08-23 安徽华米信息科技有限公司 Equipment connection method, device, bluetooth headset and system
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
CN110234138A (en) * 2019-04-30 2019-09-13 努比亚技术有限公司 Communicate method for handover control, communication equipment, system and storage medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050107120A1 (en) * 2003-11-17 2005-05-19 Yueh Wen H. Mobile storage device with wireless bluetooth module attached thereto
CN101340212A (en) * 2007-07-03 2009-01-07 艾威梯软件技术(北京)有限公司 Method, apparatus and system for triggering automatic switchover of Bluetooth connecting device by key pressing
CN104285454A (en) * 2014-06-17 2015-01-14 华为技术有限公司 Switching method of wireless connection, wireless terminal and system thereof
US20170195771A1 (en) * 2016-01-02 2017-07-06 Erato (Cayman) Holdings Co., Ltd. Wireless earphone and controlling method of same
US20170201612A1 (en) * 2016-01-10 2017-07-13 Apple Inc. Switching between watches or other accessories
CN107770760A (en) * 2017-10-18 2018-03-06 维沃移动通信有限公司 A kind of method and mobile terminal of the type for identifying bluetooth equipment
CN108495224A (en) * 2018-04-28 2018-09-04 歌尔科技有限公司 A kind of communication system
CN108901006A (en) * 2018-06-15 2018-11-27 Oppo广东移动通信有限公司 A kind of method and electronic equipment of wireless headset pairing
CN109041141A (en) * 2018-07-26 2018-12-18 Oppo广东移动通信有限公司 Transmission link method for handover control and Related product
CN108769432A (en) * 2018-07-27 2018-11-06 Oppo广东移动通信有限公司 Main earphone switching method, mobile terminal and computer readable storage medium
CN108684029A (en) * 2018-08-23 2018-10-19 维沃移动通信有限公司 A kind of Bluetooth pairing connection method and system, bluetooth equipment and terminal
CN109890021A (en) * 2019-03-06 2019-06-14 西安易朴通讯技术有限公司 Bluetooth headset switching method, bluetooth headset and terminal
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
CN110234138A (en) * 2019-04-30 2019-09-13 努比亚技术有限公司 Communicate method for handover control, communication equipment, system and storage medium
CN110167194A (en) * 2019-05-20 2019-08-23 安徽华米信息科技有限公司 Equipment connection method, device, bluetooth headset and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李大伟等: "基于Blackfin处理器的蓝牙语音网接入点的设计", 《电子技术应用》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021169147A1 (en) * 2020-02-26 2021-09-02 深圳市岍丞技术有限公司 Method and system for connecting bluetooth earphones to terminal, and storage medium
CN111757307B (en) * 2020-06-29 2023-04-18 维沃移动通信有限公司 Wireless earphone control method, wireless earphone and readable storage medium
CN111757307A (en) * 2020-06-29 2020-10-09 维沃移动通信有限公司 Wireless earphone control method, wireless earphone and readable storage medium
CN111935682A (en) * 2020-07-07 2020-11-13 歌尔科技有限公司 Wireless earphone pairing method, earphone charging box and wireless earphone product assembly
CN112492442A (en) * 2020-11-24 2021-03-12 江苏紫米电子技术有限公司 Connection switching method, device, equipment and storage medium of Bluetooth headset
CN112672245A (en) * 2020-11-30 2021-04-16 西安芯海微电子科技有限公司 Earphone control method, earphone box and computer readable storage medium
CN112566003A (en) * 2020-12-23 2021-03-26 深圳市卓翼科技股份有限公司 Earphone testing method, system, testing terminal and storage medium
CN112822594A (en) * 2021-01-14 2021-05-18 深圳市芯中芯科技有限公司 Interaction method and system based on Bluetooth headset
CN112954529A (en) * 2021-02-26 2021-06-11 歌尔科技有限公司 Double-earphone balanced use method and double earphones
WO2022193811A1 (en) * 2021-03-15 2022-09-22 荣耀终端有限公司 Pairing method and pairing system
CN113242495A (en) * 2021-06-10 2021-08-10 东莞立讯精密工业有限公司 True wireless stereo earphone assembly and control method thereof
WO2023049131A1 (en) * 2021-09-24 2023-03-30 Apple Inc. Devices, methods, and graphical user interfaces for interactions with a headphone case
CN113965895A (en) * 2021-12-16 2022-01-21 深圳市晨北科技有限公司 Bluetooth connection switching method, equipment and storage medium
CN114143765A (en) * 2022-02-08 2022-03-04 荣耀终端有限公司 Bluetooth connection method, device and storage medium
CN116669225A (en) * 2022-12-28 2023-08-29 广州源动智慧体育科技有限公司 Device connection method, electronic device and storage medium
CN116669225B (en) * 2022-12-28 2024-04-19 广州源动智慧体育科技有限公司 Device connection method, electronic device and storage medium

Also Published As

Publication number Publication date
CN111225346B (en) 2022-07-12

Similar Documents

Publication Publication Date Title
CN111225346B (en) Connection switching method of wireless earphone, wireless earphone and storage medium
US11043980B2 (en) Method for controlling earphone switching, earphone, and earphone system
EP3591987B1 (en) Method for controlling earphone switching, earphone, and earphone system
CN113382397B (en) Bluetooth connection method, device and system
US10630826B2 (en) Information processing device
KR101658908B1 (en) Apparatus and method for improving a call voice quality in portable terminal
EP3883259A1 (en) Audio data transmission method and device applied to monaural and binaural modes switching of tws earphone
CN110691294B (en) Audio control method, charging box and wireless earphone device
US20160029114A1 (en) Wireless earphone set
CN109151212B (en) Equipment control method and device and electronic equipment
CN109819506B (en) Intelligent connection method, wearable device and computer readable storage medium
CN115190197B (en) Bluetooth headset-based communication method and device and storage medium
CN108432220B (en) Method and terminal for switching call mode
CN112806023B (en) Control method of wireless earphone and related product
CN113727231A (en) Earphone volume adjusting method and equipment
WO2020042491A9 (en) Headphone far-field interaction method, headphone far-field interaction accessory, and wireless headphones
CN203377919U (en) Wrist-worn touch control intelligent telephone
CN113645573B (en) Headset configuration data sharing method, headset and storage medium
CN113709906B (en) Wireless audio system, wireless communication method and equipment
CN105991832B (en) Communication control method and electronic equipment
CN109195044B (en) Noise reduction earphone, call terminal, noise reduction control method and recording method
KR101861357B1 (en) Bluetooth device having function of sensing external noise
CN217135669U (en) Earphone box and matched earphone
CN116074986B (en) Bluetooth connection method, device and system
US20240106927A1 (en) Audio processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant