CN104540175B - A kind of switching method, bluetooth equipment and the system of uninterrupted bluetooth connection - Google Patents
A kind of switching method, bluetooth equipment and the system of uninterrupted bluetooth connection Download PDFInfo
- Publication number
- CN104540175B CN104540175B CN201410698856.0A CN201410698856A CN104540175B CN 104540175 B CN104540175 B CN 104540175B CN 201410698856 A CN201410698856 A CN 201410698856A CN 104540175 B CN104540175 B CN 104540175B
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- connection
- bluetooth device
- equipment
- switching
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 239000000284 extract Substances 0.000 claims abstract description 3
- 238000001514 detection method Methods 0.000 claims description 66
- 238000000926 separation method Methods 0.000 claims description 2
- 230000009471 action Effects 0.000 abstract description 5
- 238000011079 streamline operation Methods 0.000 abstract 1
- 230000008569 process Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 7
- 230000001960 triggered effect Effects 0.000 description 5
- 102100039435 C-X-C motif chemokine 17 Human genes 0.000 description 3
- 101000889048 Homo sapiens C-X-C motif chemokine 17 Proteins 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
- H04W36/0016—Hand-off preparation specially adapted for end-to-end data sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/16—Performing reselection for specific purposes
- H04W36/18—Performing reselection for specific purposes for allowing seamless reselection, e.g. soft reselection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/19—Connection re-establishment
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses switching method, bluetooth equipment and the systems of a kind of uninterrupted bluetooth connection, for realizing the switching of the bluetooth connection between main equipment and different Bluetooth devices, this method comprises: starting the second bluetooth equipment when detecting that the first bluetooth equipment is inserted into the event of the second bluetooth equipment;Bluetooth connection switching command is sent to main equipment, main equipment is enabled to disconnect the bluetooth connection with the first bluetooth equipment and establishes bluetooth connection with the second bluetooth equipment;Close the first bluetooth equipment.When detecting that the first bluetooth equipment extracts the event of the second bluetooth equipment, start the first bluetooth equipment;Bluetooth connection switching command is sent to main equipment, main equipment is enabled to disconnect the bluetooth connection with the second bluetooth equipment and establishes bluetooth connection with the first bluetooth equipment;Close the second bluetooth equipment.Technical solution provided by the invention is additionally manually operated without user, and the seamless switching of main equipment bluetooth connection is directly completed by simple Plug Action, and streamline operation improves switching efficiency.
Description
Technical Field
The invention relates to the technical field of Bluetooth equipment, in particular to a switching method of uninterrupted Bluetooth connection, Bluetooth equipment and a system.
Background
Bluetooth technology has developed very rapidly since its introduction in 1998. Bluetooth is a short-distance wireless communication technical standard, can support data and voice transmission between devices, has a transmission rate of 10Mb/s, enables various information devices within the range to realize resource sharing, and can be used in various fields of wireless devices (such as PAD, mobile phones and the like), image processing devices (such as cameras, printers, scanners and the like), security products (such as smart cards, identity recognition, bill management and the like), automobile products (such as GPS, ABS and the like) and the like.
With the increasingly expanding application field of bluetooth technology, the number of bluetooth devices supporting bluetooth connection is increasing, and people often need to switch the bluetooth connection from one bluetooth device to another bluetooth device, in the prior art, the switching process of the bluetooth connection often needs to disconnect the old bluetooth connection first and then establish a new bluetooth connection through a series of manual operations of a user, for example, the user is connected to a mobile phone through a bluetooth headset to listen to music, when the power of the bluetooth headset is exhausted or the user wants to publicize music, the mobile phone needs to disconnect the connection with the bluetooth headset and establish a connection with a bluetooth speaker, and the flow of the switching process is as follows: the user pauses playing music; manually disconnecting the Bluetooth connection between the mobile phone and the Bluetooth headset (or turning off the Bluetooth headset); turning on the Bluetooth sound box; manually establishing Bluetooth connection between the mobile phone and the Bluetooth sound box; restarting playing music; the Bluetooth headset is placed on a charging base for charging.
Therefore, the process of the Bluetooth connection switching is very complicated, time-consuming and labor-consuming, and the Bluetooth connection is interrupted, the switching process is limited by a use scene due to the fact that a large amount of manual operations of users are needed, and the prior art scheme cannot be implemented in a scene that the users are inconvenient to manually operate (such as when the users drive the vehicle), so that the user experience is poor.
Disclosure of Invention
In view of the above, the present invention provides a method, a bluetooth device and a system for switching an uninterrupted bluetooth connection, so as to solve the above problems or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a method for switching an uninterruptible bluetooth connection, the method for switching an uninterruptible bluetooth connection is used to implement switching of bluetooth connections between a master device and different slave devices, and the slave devices are detachably connected to each other, the method includes:
the contact switching includes:
upon detecting an event of a first bluetooth device being plugged into a second bluetooth device,
starting a second Bluetooth device to enable the second Bluetooth device to establish Bluetooth connection with the main device;
sending a Bluetooth connection switching command to the master device, and enabling the master device to disconnect the Bluetooth connection with the first Bluetooth device and establish the Bluetooth connection with the second Bluetooth device;
turning off the first Bluetooth device;
the detach switch includes:
when an event that the first bluetooth device pulls out the second bluetooth device is detected,
starting a first Bluetooth device to enable the first Bluetooth device to establish Bluetooth connection with a master device;
sending a Bluetooth connection switching command to the master device, and enabling the master device to disconnect the Bluetooth connection with the second Bluetooth device and establish the Bluetooth connection with the first Bluetooth device;
the second bluetooth device is turned off.
Optionally, the master device is an intelligent terminal, the first bluetooth device is a bluetooth headset, and the second bluetooth device is a bluetooth speaker;
the first Bluetooth device is inserted into the second Bluetooth device as follows: the Bluetooth earphone is inserted into a charging base of the Bluetooth sound box;
the method further comprises the following steps: when an event that the Bluetooth headset is inserted into a charging base of the Bluetooth sound box is detected, enabling the Bluetooth sound box to output a charging voltage with a specified value to the Bluetooth headset;
the first Bluetooth device extracts the second Bluetooth device as follows: the Bluetooth earphone is pulled out from the charging base of the Bluetooth sound box.
Optionally, the event of detecting that the first bluetooth device is plugged into the second bluetooth device includes: when the Bluetooth earphone is inserted into the charging base of the Bluetooth sound box, a detection key in the charging base of the Bluetooth sound box is closed;
the enabling the second bluetooth device includes: one end of the detection key is connected with a power supply, and the other end of the detection key is connected with a starting control port of a Bluetooth chip in the Bluetooth loudspeaker box; when the voltage of the starting control port is changed to be high, the Bluetooth chip executes starting operation;
the making the bluetooth speaker output the charging voltage of the specified value to the bluetooth headset includes: the other end of the detection key is also connected with an enabling end of the charging circuit; when the enable terminal voltage becomes high, the charging circuit outputs a charging voltage of a specified value.
Optionally, the event that the first bluetooth device is detected to pull out the second bluetooth device includes: when the Bluetooth earphone is pulled out of the charging base of the Bluetooth sound box, a detection key in the charging base of the Bluetooth sound box is disconnected;
the transmitting of the bluetooth connection switching command to the master device includes: one end of the detection key is connected with a power supply, and the other end of the detection key is connected with a switching command control port of a Bluetooth chip in the Bluetooth loudspeaker box through a reverse circuit; when the voltage of the switching command control port is increased, the Bluetooth chip sends a Bluetooth connection switching command to the main equipment;
the turning off the second bluetooth device includes: the other end of the detection key is also connected with a starting control port of the Bluetooth chip; and when the voltage of the starting control port becomes low, the Bluetooth chip executes the shutdown operation.
In accordance with another aspect of the present invention, there is provided a first bluetooth device, the second bluetooth device comprising:
the first detection unit is suitable for detecting the event that the first Bluetooth device is inserted into the second Bluetooth device;
the first execution unit is suitable for sending a Bluetooth connection switching command to the main equipment when the first detection unit detects that the first Bluetooth equipment is inserted into the second Bluetooth equipment, so that the main equipment is disconnected from the Bluetooth connection with the first Bluetooth equipment and establishes Bluetooth connection with the second Bluetooth equipment; closing the first Bluetooth device;
and/or the presence of a gas in the gas,
the first detection unit is further suitable for detecting an event that the first Bluetooth device pulls out the second Bluetooth device;
the second execution unit is further adapted to start the first bluetooth device when the first detection unit detects that the first bluetooth device pulls out the event of the second bluetooth device, so that the first bluetooth device can establish bluetooth connection with the master device.
In accordance with still another aspect of the present invention, there is provided a second bluetooth device, including:
the second detection unit is suitable for detecting the event that the first Bluetooth device is inserted into the second Bluetooth device;
the second execution unit is suitable for starting the second Bluetooth device when the second detection unit detects that the first Bluetooth device is inserted into the second Bluetooth device, so that the second Bluetooth device can establish Bluetooth connection with the main device;
and/or the presence of a gas in the gas,
the second detection unit is further suitable for detecting an event that the first Bluetooth device pulls out the second Bluetooth device;
the second execution unit is further adapted to send a bluetooth connection switching command to the master device when the second detection unit detects that the first bluetooth device is pulled out of the second bluetooth device, so that the master device disconnects the bluetooth connection with the second bluetooth device and establishes the bluetooth connection with the first bluetooth device; and closing the second Bluetooth equipment.
Optionally, the master device is an intelligent terminal, the first bluetooth device is a bluetooth headset, and the second bluetooth device is a bluetooth speaker;
the second detection unit is suitable for detecting an event that the Bluetooth headset is inserted into the charging base of the Bluetooth sound box;
the second execution unit is further suitable for enabling the Bluetooth sound box to output the charging voltage with the specified value to the Bluetooth headset when the second detection unit detects that the Bluetooth headset is inserted into the charging base of the Bluetooth sound box;
the second detection unit is further suitable for detecting the event that the Bluetooth headset is pulled out of the charging base of the Bluetooth sound box.
Optionally, the second detection unit includes: the detection button in the charging base of the Bluetooth sound box; the second execution unit includes: the Bluetooth chip and the charging circuit;
the detection key is suitable for being closed when the Bluetooth headset is inserted into the charging base of the Bluetooth sound box;
one end of the detection key is connected with a power supply, and the other end of the detection key is connected with a starting control port of the Bluetooth chip and an enabling end of the charging circuit;
the Bluetooth chip is suitable for executing the starting-up operation when the voltage of the starting-up control port is changed to be high;
the charging circuit is suitable for outputting a charging voltage with a specified value when the voltage of the enable end becomes high.
Optionally, the detection button is further adapted to be disconnected when the bluetooth headset is pulled out from the charging base of the bluetooth speaker;
the other end of the detection key is also connected with a switching command control port of the Bluetooth chip through a reverse circuit;
the Bluetooth chip is suitable for sending a Bluetooth connection switching command to the main equipment when the voltage of the switching command control port is increased;
the Bluetooth chip is further suitable for executing shutdown operation when the voltage of the startup control port becomes low.
According to still another aspect of the present invention, there is provided an uninterruptible bluetooth connection switching system for switching bluetooth connections between a master device and different slave devices, the system comprising: a master device, a first bluetooth device as claimed in any one of claims 5 to 9, and a second bluetooth device as claimed in any one of claims 5 to 9.
In summary, the technical solution provided in the present invention describes a process in which when the first bluetooth device is plugged into the second bluetooth device and the first bluetooth device is unplugged from the second bluetooth device, the bluetooth connection device of the master device switches between the first bluetooth device and the second bluetooth device without interrupting bluetooth connection. Because the bluetooth connection switching is triggered by the event that the first bluetooth device is inserted into the second bluetooth device and the event that the first bluetooth device is extracted from the second bluetooth device, the scheme does not need additional manual operation of a user, seamless switching of bluetooth connection of the main device can be directly completed through simple plugging and unplugging actions, the operation flow is simplified, the switching efficiency is improved, the bluetooth switching is suitable for more extensive scenes, and more convenient, smooth and perfect experience is provided for the user.
Drawings
Fig. 1 shows a flow chart of a handover method for an uninterrupted bluetooth connection according to an embodiment of the invention;
FIG. 2 shows a schematic diagram of a first Bluetooth device, in accordance with one embodiment of the invention;
FIG. 3 shows a schematic diagram of a second Bluetooth device, in accordance with one embodiment of the invention;
fig. 4 shows a circuit diagram of a bluetooth speaker according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for switching an uninterrupted bluetooth connection, according to an embodiment of the present invention, the method is used for implementing a bluetooth connection between a master device and different slave devices, and the slave devices are detachably connected. In this embodiment, the slave devices are a first bluetooth device and a second bluetooth device, and as shown in fig. 1, the method includes:
step S110, when detecting an event that the first bluetooth device is plugged into the second bluetooth device, starting the second bluetooth device, so that the second bluetooth device can establish a bluetooth connection with the master device.
Step S120, a Bluetooth connection switching command is sent to the master device, and the master device is enabled to disconnect the Bluetooth connection with the first Bluetooth device and establish the Bluetooth connection with the second Bluetooth device.
Step S130, turning off the first bluetooth device.
The above steps S110 to S130 describe the contact switching process of the method shown in fig. 1, that is, the switching of the bluetooth connection is triggered by the insertion event of the first bluetooth device and the second bluetooth device.
Step S140, when detecting that the first bluetooth device pulls out the event of the second bluetooth device, starting the first bluetooth device, so that the first bluetooth device can establish a bluetooth connection with the master device.
Step S150, a Bluetooth connection switching command is sent to the master device, and the master device is enabled to disconnect the Bluetooth connection with the second Bluetooth device and establish the Bluetooth connection with the first Bluetooth device.
Step S160, the second bluetooth device is turned off.
The above steps S140 to S160 describe a separate switching process of the method shown in fig. 1, that is, the switching of the bluetooth connection is triggered by the pulling event of the first bluetooth device and the second bluetooth device.
As can be seen from the above, the method shown in fig. 1 describes the process of switching the bluetooth connection device of the master device between the first bluetooth device and the second bluetooth device without interrupting the bluetooth connection when the first bluetooth device is plugged into the second bluetooth device and the first bluetooth device is unplugged from the second bluetooth device. Because the bluetooth connection switching is triggered by the event that the first bluetooth device is inserted into the second bluetooth device and the event that the first bluetooth device is extracted from the second bluetooth device, the scheme does not need additional manual operation of a user, seamless switching of bluetooth connection of the main device can be directly completed through simple plugging and unplugging actions, the operation flow is simplified, the switching efficiency is improved, the bluetooth switching is suitable for more extensive scenes, and more convenient, smooth and perfect experience is provided for the user.
In one embodiment of the present invention, the method shown in fig. 1 may further include: in the contact switching shown in step S110 to step S130, the second bluetooth device may be caused to confirm the master device to be subjected to bluetooth connection switching by: the first Bluetooth device sends connection information between the first Bluetooth device and the main device to the second Bluetooth device; or the second Bluetooth device actively detects the connection information between the first Bluetooth device and the main device.
Correspondingly, in the detach switching shown in step S140 to step S160 in this embodiment, the first bluetooth device may also confirm the master device to perform bluetooth connection switching by the following two ways: the second Bluetooth device sends connection information between the second Bluetooth device and the main device to the first Bluetooth device; or the first Bluetooth device actively detects the connection information between the second Bluetooth device and the main device.
Fig. 2 shows a schematic diagram of a first bluetooth device according to an embodiment of the invention. As shown in fig. 2, the first bluetooth device 200 includes:
the first detecting unit 210 is adapted to detect an event that the first bluetooth device is plugged into the second bluetooth device.
The first executing unit 220 is adapted to send a bluetooth connection switching command to the master device when the first detecting unit 210 detects that the first bluetooth device is plugged into the second bluetooth device, so that the master device disconnects the bluetooth connection with the first bluetooth device and establishes a bluetooth connection with the second bluetooth device; and turns off the first bluetooth device.
The first bluetooth device 200 shown in fig. 2 performs the above-mentioned functions through the first detecting unit 210 and the first executing unit 220, and can cooperate with the second bluetooth device to complete the contact switching process of the uninterrupted bluetooth connection.
Further, the air conditioner is provided with a fan,
the first detecting unit 210 is further adapted to detect an event that the first bluetooth device pulls out the second bluetooth device.
The first executing unit 220 is further adapted to start the first bluetooth device when the first detecting unit 210 detects that the first bluetooth device is unplugged from the second bluetooth device, so that the first bluetooth device can establish a bluetooth connection with the master device.
The first bluetooth device 200 shown in fig. 2 performs the above-mentioned functions through the first detecting unit 210 and the first executing unit 220, and can cooperate with the second bluetooth device to complete the separation and switching process of the uninterrupted bluetooth connection.
Fig. 3 is a schematic diagram of a second bluetooth device according to an embodiment of the present invention, which is cooperated with the first bluetooth device 200 shown in fig. 2, and can implement a bluetooth connection switch between a master device and a different bluetooth device. As shown in fig. 3, the second bluetooth device 300 includes:
the second detecting unit 310 is adapted to detect an event that the first bluetooth device is plugged into the second bluetooth device.
The second executing unit 320 is adapted to start the second bluetooth device when the second detecting unit 310 detects that the first bluetooth device is plugged into the second bluetooth device, so that the second bluetooth device can establish a bluetooth connection with the master device.
The second bluetooth device 300 shown in fig. 3 performs the above-mentioned functions through the second detecting unit 310 and the second executing unit 320, and can cooperate with the first bluetooth device 200 shown in fig. 2 to complete the contact switching process of the uninterrupted bluetooth connection.
The second detecting unit 310 is further adapted to detect an event that the first bluetooth device pulls out the second bluetooth device.
The second executing unit 320 is further adapted to send a bluetooth connection switching command to the master device when the second detecting unit 310 detects that the first bluetooth device is unplugged from the second bluetooth device, so that the master device disconnects the bluetooth connection with the second bluetooth device and establishes the bluetooth connection with the first bluetooth device; and turns off the second bluetooth device.
The second bluetooth device 300 shown in fig. 3 performs the above-mentioned functions through the second detecting unit 310 and the second executing unit 320, and can cooperate with the first bluetooth device 200 shown in fig. 2 to complete the disconnection and switching process of the uninterrupted bluetooth connection.
In an embodiment of the present invention, the main device is an intelligent terminal, the first bluetooth device is a bluetooth headset, the second bluetooth device is a bluetooth speaker, and the bluetooth speaker has a charging base matched with the bluetooth headset. In the process of switching the uninterrupted bluetooth connection, since the bluetooth speaker has higher execution activity than the bluetooth headset, the following description is made in the order of the bluetooth speaker and the bluetooth headset. Fig. 4 shows a circuit diagram of a bluetooth speaker according to an embodiment of the present invention, which is a partial circuit diagram of the bluetooth speaker for performing bluetooth connection switching. As shown in fig. 4, the bluetooth speaker includes: the bluetooth chip comprises a first power supply VCC1, a detection key SW1, a first bluetooth chip BT1, a charging circuit and a first reverse circuit.
Detection button SW1 is located on the charging base of the Bluetooth speaker. The first input port IO1 of the first bluetooth chip BT1 is a power-on control port a1, and when the input voltage of the power-on control port a1 becomes high, the first bluetooth chip BT1 performs a power-on operation; when the input voltage of the power-on control port A1 becomes low, the first Bluetooth chip BT1 performs a power-off operation. A second input port IO2 of the first bluetooth chip BT1 is a switching command control port B1, and when the input voltage of the switching command control port B1 becomes high, the first bluetooth chip BT1 sends a first bluetooth connection switching command to the smart terminal as a master device through the radio frequency antenna; it should be noted that the first bluetooth connection switching command conforms to a communication protocol agreed in advance by the bluetooth speaker and the intelligent terminal, and after receiving the first bluetooth switching command, the intelligent terminal disconnects the bluetooth connection with the bluetooth speaker and tries to establish the bluetooth connection with the bluetooth headset.
The charging circuit includes: a third power source VCC3, a charge management chip U1, and a first charge terminal J1. The fourth input port of the charge management chip U1 is an enable terminal EN of the charging circuit, and when the input voltage of the enable terminal EN becomes high, the charge management chip U1 outputs a charging voltage of a specified value to the first charging terminal J1; when the input voltage of the enable terminal EN becomes low, the charge management chip U1 stops outputting the charging voltage of the specified value to the first charging terminal JI; further, this charging circuit still includes: decoupling filter capacitors C2, C3 and C4, current limiting resistors R4, R5 and R6, an anti-static diode D4 and a Schottky diode D5 for preventing current from flowing backwards.
The first inverting circuit includes: the second power supply VCC2, current-limiting circuit R3 and MOS transistor Q1, the second power supply VCC2 is connected with one end of a current-limiting resistor R3, and the other end of the current-limiting resistor R3 is connected with the drain of MOS transistor Q1. The source of the MOS transistor is grounded, the gate of the MOS transistor Q1 is the input terminal of the inverter circuit, the drain of the MOS transistor Q1 is the output terminal of the inverter circuit, and when a high voltage is input, the inverter circuit outputs a high voltage, and when a low voltage is input, the inverter circuit outputs a high voltage. Further, the inverter circuit further includes: a voltage-dividing resistor R2, a decoupling filter capacitor C1, a bidirectional voltage stabilizing diode D2 and a diode D3 for preventing current from flowing backwards.
Based on the above characteristics of each part, the connection mode of the circuit used for switching the bluetooth connection inside the bluetooth speaker is as follows: one end of the detection key SW1 is connected with a first power supply VCC1, the other end of the detection key SW1 is respectively connected with a starting control port A1 of the first Bluetooth chip BT1, an enabling end EN of the charging circuit and the input end of a first reverse circuit, and the output end of the first reverse circuit is connected with a switching command control port of the first Bluetooth chip BT 1; further, the circuit also includes: and a current limiting resistor R1 connected in series between the first power source VCC1 and one end of the detection key SW 1.
Correspondingly, the partial circuit for performing bluetooth connection switching inside the bluetooth headset of this embodiment includes: a second bluetooth chip BT2, a second charging terminal J2, and a second inverter circuit. Like the first bluetooth chip BT1, the power-on control port of the second bluetooth chip BT2 is used for performing power-on or power-off operations; the switching command control port of the second Bluetooth sound box BT2 is used for sending a second Bluetooth switching command to the intelligent terminal serving as the main device, the second Bluetooth connection switching command conforms to a communication protocol agreed by the Bluetooth headset and the intelligent terminal in advance, and after receiving the second Bluetooth switching command, the intelligent terminal can disconnect the Bluetooth connection with the Bluetooth headset and try to establish Bluetooth connection with the Bluetooth sound box; the working principle of the second inverter circuit is the same as that of the first inverter circuit, and is not described in detail herein.
Based on the characteristics of each part, the connection mode of the circuit used for switching the Bluetooth connection inside the Bluetooth headset is as follows: the positive electrode of the second charging terminal J2 is connected to the switching command control port of the second bluetooth chip BT2, and the positive electrode of the second charging terminal J2 is connected to the power-on control port of the second bluetooth chip BT2 through a second reverse circuit.
In this embodiment, the working principle of the switching scheme of the uninterrupted bluetooth connection provided by the present invention is as follows:
when the Bluetooth headset is inserted into a charging base of the Bluetooth sound box, a detection key SW1 of the Bluetooth sound box is closed, the input voltage of a power-on control port A1 of a first Bluetooth chip BT1 is increased, the first Bluetooth chip BT1 executes power-on operation, and the Bluetooth sound box is started; and the input voltage of the enable terminal EN of the charging circuit becomes high, outputting the charging voltage of a specified value to the first charging terminal JI.
Meanwhile, since the bluetooth headset is in the charging cradle of the bluetooth speaker and the second charging terminal J2 of the bluetooth headset is in contact with the first charging terminal JI of the bluetooth speaker, the second charging terminal J2 receives a charging voltage of a designated value, the input voltage of the switch command control port of the second bluetooth chip BT2 becomes high, and the second bluetooth chip BT2 transmits a second bluetooth switch command to the smart terminal; and the input voltage of the power-on control port of the second bluetooth chip BT2 becomes low, the second bluetooth chip BT2 performs a power-off operation, and the bluetooth headset is turned off.
After receiving the second Bluetooth switching command, the intelligent terminal disconnects the Bluetooth connection with the Bluetooth earphone and establishes Bluetooth connection with the Bluetooth sound box, so that the Bluetooth connection equipment is switched from the Bluetooth earphone to the Bluetooth sound box.
When the Bluetooth headset is pulled out of the charging base of the Bluetooth sound box, the detection key SW1 of the Bluetooth sound box is disconnected, the input voltage of the switching command control port B1 of the first Bluetooth chip BT1 is increased, and the first Bluetooth chip BT1 sends a first Bluetooth switching command to the intelligent terminal; the input voltage of the power-on control port A1 of the first Bluetooth chip BT1 becomes low, the first Bluetooth chip BT1 executes the power-off operation, and the Bluetooth sound box is closed; and the input voltage of the enable terminal EN of the charging circuit becomes low, the output of the charging voltage of the specified value to the first charging terminal JI is stopped.
Meanwhile, since the bluetooth headset is pulled out from the charging base of the bluetooth speaker and the second charging terminal J2 of the bluetooth headset is separated from the first charging terminal JI of the bluetooth speaker, the second charging terminal J2 no longer receives a charging voltage of a designated value, the input voltage of the power-on control port of the second bluetooth chip BT2 becomes high, and the second bluetooth chip BT2 performs a power-on operation to start the bluetooth headset.
After receiving the first Bluetooth switching command, the intelligent terminal disconnects the Bluetooth connection with the Bluetooth sound box and establishes Bluetooth connection with the Bluetooth headset, so that the Bluetooth connection equipment is switched from the Bluetooth sound box to the Bluetooth headset.
In the present embodiment, corresponding to the second bluetooth device 300 shown in fig. 3, in the present embodiment, the second detection unit 310 of the bluetooth speaker as the second bluetooth device includes: a detection key SW 1; the second execution unit 320 includes: a first bluetooth chip BT1 and a charging circuit. Corresponding to the first bluetooth device 200 shown in fig. 2, in the present embodiment, the first detection device 210 of the bluetooth headset as the first bluetooth device includes: a second charging terminal J2; the first execution unit 220 includes: and a second bluetooth chip BT 2.
The intelligent terminal serving as the main device in this embodiment may be a variety of devices with a bluetooth function, such as a mobile phone, a PAD, and a notebook computer.
The embodiment describes the process of switching the bluetooth connection of the intelligent terminal between the bluetooth headset and the bluetooth speaker without interrupting the bluetooth connection. For example, a user opens a music player on a mobile phone serving as a main device, and listens to music by using a bluetooth headset connected with bluetooth of the mobile phone, when the bluetooth headset is exhausted, the user inserts the bluetooth headset into a charging base of a bluetooth sound box, that is, the bluetooth connection device of the mobile phone is switched to the bluetooth sound box, and the user listens to the music by using the bluetooth sound box while charging the bluetooth headset; when the user does not want to continue to play the music publicly, the user pulls out the Bluetooth headset from the charging base of the Bluetooth sound box, namely, the Bluetooth connecting equipment of the mobile phone is switched to the Bluetooth headset again, and the user listens to the music by using the Bluetooth headset. In the whole switching process, the music playing of the mobile phone is not interrupted, and the user only executes the plugging and unplugging action.
In an embodiment of the present invention, there is also provided an uninterruptible bluetooth connection switching system, where the uninterruptible bluetooth connection switching system is configured to implement switching of bluetooth connections between a master device and different bluetooth devices, and the system for implementing bluetooth connection switching includes: a master device, a first bluetooth device and a second bluetooth device as described above.
In summary, the technical solution provided by the present invention describes a process in which when a first bluetooth device is plugged into a second bluetooth device and the first bluetooth device is unplugged from the second bluetooth device, a bluetooth connection device of a master device switches between the first bluetooth device and the second bluetooth device without interrupting bluetooth connection, and in the embodiment, a mutual switching process of a bluetooth headset and a bluetooth speaker is specifically described; because the bluetooth connection switching is triggered by the event that the first bluetooth device is inserted into the second bluetooth device and the event that the first bluetooth device is extracted from the second bluetooth device, the scheme does not need additional manual operation by a user, seamless switching of bluetooth connection of the main device can be directly completed through simple plugging and unplugging actions, the operation flow is simplified, the switching efficiency is improved, the bluetooth switching is suitable for more extensive scenes, and more convenient, smooth and perfect experience is provided for the user.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (10)
1. A switching method of uninterrupted Bluetooth connection is characterized in that the switching method of uninterrupted Bluetooth connection is used for realizing switching of Bluetooth connection between a master device and different slave devices, and the slave devices are detachably connected with each other, and the method comprises contact switching and/or separation switching:
the contact switching includes:
upon detecting an event of a first bluetooth device being plugged into a second bluetooth device,
starting a second Bluetooth device to enable the second Bluetooth device to establish Bluetooth connection with the main device;
sending a Bluetooth connection switching command to the master device, and enabling the master device to disconnect the Bluetooth connection with the first Bluetooth device and establish the Bluetooth connection with the second Bluetooth device;
turning off the first Bluetooth device;
the detach switch includes:
when an event that the first bluetooth device pulls out the second bluetooth device is detected,
starting a first Bluetooth device to enable the first Bluetooth device to establish Bluetooth connection with a master device;
sending a Bluetooth connection switching command to the master device, and enabling the master device to disconnect the Bluetooth connection with the second Bluetooth device and establish the Bluetooth connection with the first Bluetooth device;
the second bluetooth device is turned off.
2. The method for switching the uninterruptible bluetooth connection according to claim 1, wherein the master device is an intelligent terminal, the first bluetooth device is a bluetooth headset, and the second bluetooth device is a bluetooth speaker;
the first Bluetooth device is inserted into the second Bluetooth device as follows: the Bluetooth earphone is inserted into a charging base of the Bluetooth sound box;
the method further comprises the following steps: when an event that the Bluetooth headset is inserted into a charging base of the Bluetooth sound box is detected, enabling the Bluetooth sound box to output a charging voltage with a specified value to the Bluetooth headset;
the first Bluetooth device extracts the second Bluetooth device as follows: the Bluetooth earphone is pulled out from the charging base of the Bluetooth sound box.
3. The method of handing off an uninterrupted Bluetooth connection as claimed in claim 2,
the event of detecting that the first Bluetooth device is inserted into the second Bluetooth device comprises the following steps: when the Bluetooth earphone is inserted into the charging base of the Bluetooth sound box, a detection key in the charging base of the Bluetooth sound box is closed;
the enabling the second bluetooth device includes: one end of the detection key is connected with a power supply, and the other end of the detection key is connected with a starting control port of a Bluetooth chip in the Bluetooth loudspeaker box; when the voltage of the starting control port is changed to be high, the Bluetooth chip executes starting operation;
the making the bluetooth speaker output the charging voltage of the specified value to the bluetooth headset includes: the other end of the detection key is also connected with an enabling end of the charging circuit; when the enable terminal voltage becomes high, the charging circuit outputs a charging voltage of a specified value.
4. The method of handing off an uninterrupted Bluetooth connection as claimed in claim 3,
the event that the first Bluetooth device is detected to pull out the second Bluetooth device comprises the following steps: when the Bluetooth earphone is pulled out of the charging base of the Bluetooth sound box, a detection key in the charging base of the Bluetooth sound box is disconnected;
the transmitting of the bluetooth connection switching command to the master device includes: one end of the detection key is connected with a power supply, and the other end of the detection key is connected with a switching command control port of a Bluetooth chip in the Bluetooth loudspeaker box through a reverse circuit; when the voltage of the switching command control port is increased, the Bluetooth chip sends a Bluetooth connection switching command to the main equipment;
the turning off the second bluetooth device includes: the other end of the detection key is also connected with a starting control port of the Bluetooth chip; and when the voltage of the starting control port becomes low, the Bluetooth chip executes the shutdown operation.
5. A first bluetooth device, comprising:
the first detection unit is suitable for detecting the event that the first Bluetooth device is inserted into the second Bluetooth device;
the first execution unit is suitable for sending a Bluetooth connection switching command to the main equipment when the first detection unit detects that the first Bluetooth equipment is inserted into the second Bluetooth equipment, so that the main equipment is disconnected from the Bluetooth connection with the first Bluetooth equipment and establishes Bluetooth connection with the second Bluetooth equipment; closing the first Bluetooth device;
or,
the first detection unit is suitable for detecting the event that the first Bluetooth device is inserted into the second Bluetooth device;
the first execution unit is suitable for sending a Bluetooth connection switching command to the main equipment when the first detection unit detects that the first Bluetooth equipment is inserted into the second Bluetooth equipment, so that the main equipment is disconnected from the Bluetooth connection with the first Bluetooth equipment and establishes Bluetooth connection with the second Bluetooth equipment; closing the first Bluetooth device;
the first detection unit is further suitable for detecting an event that the first Bluetooth device pulls out the second Bluetooth device;
the first execution unit is further adapted to start the first bluetooth device when the first detection unit detects that the first bluetooth device pulls out the event of the second bluetooth device, so that the first bluetooth device can establish bluetooth connection with the master device.
6. A second bluetooth device, comprising:
the second detection unit is suitable for detecting the event that the first Bluetooth device pulls out the second Bluetooth device;
the second execution unit is suitable for sending a Bluetooth connection switching command to the main equipment when the second detection unit detects that the first Bluetooth equipment is pulled out of the second Bluetooth equipment, so that the main equipment is disconnected from the Bluetooth connection with the second Bluetooth equipment and establishes Bluetooth connection with the first Bluetooth equipment; closing the second Bluetooth device;
or,
the second detection unit is suitable for detecting the event that the first Bluetooth device is inserted into the second Bluetooth device;
the second execution unit is suitable for starting the second Bluetooth device when the second detection unit detects that the first Bluetooth device is inserted into the second Bluetooth device, so that the second Bluetooth device can establish Bluetooth connection with the main device;
the second detection unit is further suitable for detecting an event that the first Bluetooth device pulls out the second Bluetooth device;
the second execution unit is further adapted to send a bluetooth connection switching command to the master device when the second detection unit detects that the first bluetooth device is pulled out of the second bluetooth device, so that the master device disconnects the bluetooth connection with the second bluetooth device and establishes the bluetooth connection with the first bluetooth device; and closing the second Bluetooth equipment.
7. The second Bluetooth device of claim 6,
the main device is an intelligent terminal, the first Bluetooth device is a Bluetooth headset, and the second Bluetooth device is a Bluetooth sound box;
the second detection unit is suitable for detecting an event that the Bluetooth headset is inserted into the charging base of the Bluetooth sound box;
the second execution unit is further suitable for enabling the Bluetooth sound box to output the charging voltage with the specified value to the Bluetooth headset when the second detection unit detects that the Bluetooth headset is inserted into the charging base of the Bluetooth sound box;
the second detection unit is further suitable for detecting the event that the Bluetooth headset is pulled out of the charging base of the Bluetooth sound box.
8. The second Bluetooth device of claim 7,
the second detection unit includes: the detection button in the charging base of the Bluetooth sound box; the second execution unit includes: the Bluetooth chip and the charging circuit;
the detection key is suitable for being closed when the Bluetooth headset is inserted into the charging base of the Bluetooth sound box;
one end of the detection key is connected with a power supply, and the other end of the detection key is connected with a starting control port of the Bluetooth chip and an enabling end of the charging circuit;
the Bluetooth chip is suitable for executing the starting-up operation when the voltage of the starting-up control port is changed to be high;
the charging circuit is suitable for outputting a charging voltage with a specified value when the voltage of the enable end becomes high.
9. The second Bluetooth device of claim 8,
the detection key is further suitable for being disconnected when the Bluetooth headset is pulled out of the charging base of the Bluetooth sound box;
the other end of the detection key is also connected with a switching command control port of the Bluetooth chip through a reverse circuit;
the Bluetooth chip is suitable for sending a Bluetooth connection switching command to the main equipment when the voltage of the switching command control port is increased;
the Bluetooth chip is further suitable for executing shutdown operation when the voltage of the startup control port becomes low.
10. An uninterrupted bluetooth connection switching system for switching between a master device and different slave devices, the system comprising: a master device, a first bluetooth device as claimed in claim 5, and a second bluetooth device as claimed in any one of claims 6 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410698856.0A CN104540175B (en) | 2014-11-26 | 2014-11-26 | A kind of switching method, bluetooth equipment and the system of uninterrupted bluetooth connection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410698856.0A CN104540175B (en) | 2014-11-26 | 2014-11-26 | A kind of switching method, bluetooth equipment and the system of uninterrupted bluetooth connection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104540175A CN104540175A (en) | 2015-04-22 |
CN104540175B true CN104540175B (en) | 2019-04-02 |
Family
ID=52855608
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410698856.0A Active CN104540175B (en) | 2014-11-26 | 2014-11-26 | A kind of switching method, bluetooth equipment and the system of uninterrupted bluetooth connection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104540175B (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105679350B (en) * | 2016-01-11 | 2019-05-03 | Oppo广东移动通信有限公司 | A kind of method and device that audio plays |
CN106413130B (en) * | 2016-10-14 | 2019-10-25 | Oppo广东移动通信有限公司 | A kind of Bluetooth connecting method and device |
CN106535057B (en) * | 2016-12-07 | 2022-04-12 | 歌尔科技有限公司 | Operation switching method and system for master equipment and slave equipment |
CN108632703B (en) * | 2017-03-22 | 2024-05-07 | 深圳市三诺声智联股份有限公司 | Bluetooth headset sound box system and sound box |
CN106998511B (en) * | 2017-04-14 | 2020-01-31 | 广东思派康电子科技有限公司 | Wireless earphone assembly, storage box in wireless earphone assembly and wireless earphone |
CN107885731A (en) * | 2017-11-06 | 2018-04-06 | 深圳市沃特沃德股份有限公司 | Voice translation method and device |
WO2019084962A1 (en) * | 2017-11-06 | 2019-05-09 | 深圳市沃特沃德股份有限公司 | Speech-to-speech translation method and apparatus, and translating machine |
CN107889016A (en) * | 2017-12-22 | 2018-04-06 | 宁波向往智能科技有限公司 | A kind of double Bluetooth audio frequency circuits and its audio amplifier |
CN108495220B (en) * | 2018-01-30 | 2020-02-07 | 歌尔科技有限公司 | Bluetooth headset circuit and Bluetooth headset |
CN108540669B (en) * | 2018-04-20 | 2019-06-11 | Oppo广东移动通信有限公司 | Wireless headset, the control method based on headset detection and Related product |
CN108924691A (en) * | 2018-09-04 | 2018-11-30 | 广州由我科技股份有限公司 | A kind of bluetooth headset and its charge cabin, charging system |
CN109005532B (en) * | 2018-09-11 | 2021-08-31 | 北京华大智宝电子***有限公司 | Bluetooth connection method, Bluetooth master device and Bluetooth slave device |
EP3879845A4 (en) | 2018-11-30 | 2021-11-24 | Huawei Technologies Co., Ltd. | Bluetooth connection method and device |
CN110139180B (en) * | 2019-04-08 | 2021-01-12 | 深圳索信达数据技术有限公司 | Operation control method, device and computer readable storage medium |
CN110446194B (en) * | 2019-07-02 | 2023-05-23 | 广州视睿电子科技有限公司 | Intelligent pen control method and intelligent pen |
CN111601290B (en) * | 2020-02-10 | 2023-06-20 | 珠海市杰理科技股份有限公司 | Bluetooth sound box, earphone, bluetooth audio playing device, bluetooth sound box system and Bluetooth audio switching method |
CN111596881B (en) * | 2020-02-10 | 2023-09-12 | 珠海市杰理科技股份有限公司 | Audio playing device, audio playing system, switching method, bluetooth sound box and Bluetooth earphone |
CN113079491B (en) * | 2021-03-17 | 2023-08-11 | 深圳市经纬智能科技股份有限公司 | Wireless Bluetooth headset and master-slave switching optimization method for wireless Bluetooth headset |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102835096A (en) * | 2010-03-31 | 2012-12-19 | 诺基亚公司 | Apparatus and method for wireless headsets |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW575268U (en) * | 2003-06-30 | 2004-02-01 | First Int Computer Inc | Telephone control device integrated with bluetooth communication |
GB2406015A (en) * | 2003-09-15 | 2005-03-16 | Small Planet Technology Ltd | Telephone with bluetooth interface |
CN101304449B (en) * | 2007-05-11 | 2011-07-06 | 信和昌科技股份有限公司 | Integration type communication equipment |
CN101635766A (en) * | 2009-07-24 | 2010-01-27 | 上海大亚科技有限公司 | Vehicle bluetooth communication terminal device and implementation method thereof |
-
2014
- 2014-11-26 CN CN201410698856.0A patent/CN104540175B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102835096A (en) * | 2010-03-31 | 2012-12-19 | 诺基亚公司 | Apparatus and method for wireless headsets |
Also Published As
Publication number | Publication date |
---|---|
CN104540175A (en) | 2015-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104540175B (en) | A kind of switching method, bluetooth equipment and the system of uninterrupted bluetooth connection | |
CN106535057B (en) | Operation switching method and system for master equipment and slave equipment | |
JP6083878B2 (en) | Method and apparatus for determining the direction of power supply | |
US10671135B2 (en) | Intelligent mobile power supply and method for USB data communication therewith | |
KR101682386B1 (en) | A portable charging apparatus and a charging method thereof and a charging system | |
US8412861B2 (en) | Apparatus and method for controlling USB switching circuit in portable terminal | |
WO2009012633A1 (en) | A bluetooth earphone and a main machine device applying thereof | |
EP3142195B1 (en) | Earphone seat | |
CN104853406A (en) | Service set identifier SSID providing method, acquiring method and device | |
JP2005006497A (en) | Universal serial bus charger for mobile device | |
CN112928787B (en) | Charging circuit, electronic device, charging control method and device | |
WO2020015160A1 (en) | Reverse charging device and reverse charging current adjustment method and apparatus | |
CN101534349A (en) | Method and apparatus for determining external connection device in mobile terminal | |
CN109525012B (en) | Charging device, charging control method, charging control system, and storage medium | |
CN105068958A (en) | Switching control method and device | |
CN109379773B (en) | Switching method, first output device and second output device | |
EP4274049A1 (en) | Charging conversion device, and charging control method | |
CN105137831A (en) | Power-saving mode starting method and device | |
KR20200139079A (en) | Wireless charging communication method, apparatus, device, program and storage medium | |
CN106325454A (en) | Power supply control device and method, and electronic equipment | |
CN111601290B (en) | Bluetooth sound box, earphone, bluetooth audio playing device, bluetooth sound box system and Bluetooth audio switching method | |
CN111596881B (en) | Audio playing device, audio playing system, switching method, bluetooth sound box and Bluetooth earphone | |
CN109525919B (en) | On-off control device, on-off control method, system and storage medium | |
US8970792B2 (en) | Remote controller and remote controller set applied to display device | |
CN103701965B (en) | A kind of mobile communcations system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240506 Address after: 266104 No. 500, Songling Road, Laoshan District, Qingdao, Shandong Patentee after: GOERTEK TECHNOLOGY Co.,Ltd. Country or region after: China Address before: 266061 5, 3 building, Fortune Plaza, 18 Qinling Mountains Road, Laoshan District, Qingdao, Shandong. Patentee before: QINGDAO GOERTEK TECHNOLOGY Co.,Ltd. Country or region before: China |