CN108616847B - Bluetooth link method and device and Bluetooth equipment - Google Patents

Bluetooth link method and device and Bluetooth equipment Download PDF

Info

Publication number
CN108616847B
CN108616847B CN201611116862.6A CN201611116862A CN108616847B CN 108616847 B CN108616847 B CN 108616847B CN 201611116862 A CN201611116862 A CN 201611116862A CN 108616847 B CN108616847 B CN 108616847B
Authority
CN
China
Prior art keywords
bluetooth
system controller
chip
connection information
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611116862.6A
Other languages
Chinese (zh)
Other versions
CN108616847A (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.)
Hytera Communications Corp Ltd
Original Assignee
Hytera Communications Corp 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 Hytera Communications Corp Ltd filed Critical Hytera Communications Corp Ltd
Priority to CN201611116862.6A priority Critical patent/CN108616847B/en
Publication of CN108616847A publication Critical patent/CN108616847A/en
Application granted granted Critical
Publication of CN108616847B publication Critical patent/CN108616847B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The Bluetooth linking method provided by the invention is applied to Bluetooth equipment, and the Bluetooth equipment comprises a first Bluetooth chip, a second Bluetooth chip, a first system controller and a second system controller, wherein the first system controller controls the first Bluetooth chip, and the second system controller controls the second Bluetooth chip. After the Bluetooth link is established between any one of the two Bluetooth chips and the target Bluetooth device, the link pairing information of the target Bluetooth device can be shared by the other Bluetooth chip, and the link pairing information of the other Bluetooth chip is sent to the target Bluetooth device, so that the other Bluetooth chip can be directly connected with the target Bluetooth device without manually searching and pairing processes, and the time required for establishing the link between the plurality of Bluetooth chips and the same Bluetooth device is reduced.

Description

Bluetooth link method and device and Bluetooth equipment
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a Bluetooth linking method and device and Bluetooth equipment.
Background
Bluetooth (Bluetooth) is a wireless technology standard, can realize the short distance data exchange between fixed equipment, mobile device and the building personal area network, and the frequency channel of use is 2.4 ~ 2.485 GHz. Bluetooth is a protocol based on a master-slave architecture, where one master device can communicate with multiple slave devices.
There is also an application scenario where two bluetooth chips are included in one device, and the device is used as a master device, and the two bluetooth chips in the master device may need to be paired with the same slave device. In general, two bluetooth chips in the same master device are regarded as two bluetooth devices, and two searching and pairing processes are respectively required to establish a link with the same slave device, and a user is required to perform two searching processes, so that the link establishment process is complicated and low in efficiency.
Disclosure of Invention
In view of this, an object of the present application is to provide a bluetooth linking method, an apparatus and a bluetooth device, so as to solve the technical problem that when a plurality of bluetooth chips in the same bluetooth device establish a link with the same bluetooth slave device, it is necessary to separately search for a pair to establish a bluetooth link.
In a first aspect, the present application provides a bluetooth linking method, applied to a bluetooth device, where the bluetooth device includes a first bluetooth chip, a second bluetooth chip, a first system controller for controlling the first bluetooth chip, and a second system controller for controlling the second bluetooth chip, and the first system controller and the second system controller communicate with each other through a communication interface, the method includes:
After the first system controller receives a Bluetooth searching instruction, the first system controller controls the first Bluetooth chip to establish a first Bluetooth link with the searched target Bluetooth device;
the first system controller acquires pairing connection information of the second Bluetooth chip from the second system controller;
the first system controller sends the pairing connection information of the second Bluetooth chip to the target Bluetooth device through the first Bluetooth link;
and the first system controller sends the pairing connection information of the target Bluetooth device to the second system controller, so that the second system controller establishes a second Bluetooth link between the second Bluetooth chip and the target Bluetooth device according to the pairing connection information of the target Bluetooth device.
Optionally, the sending, by the first system controller, pairing connection information of the second bluetooth chip to the target bluetooth device through the first bluetooth link includes:
the first system controller encapsulates the pairing connection information of the second Bluetooth chip into a modem AT command, a serial port profile SPP message or a Bluetooth low energy consumption BLE message;
And the first system controller sends the packaged message to the target Bluetooth equipment through the first Bluetooth link.
In a second aspect, the present application provides a bluetooth linking method applied in a bluetooth device, where the bluetooth device includes a first bluetooth chip, a second bluetooth chip, a first system controller for controlling the first bluetooth chip, and a second system controller for controlling the second bluetooth chip, and the first system controller and the second system controller communicate with each other through a communication interface, the method includes:
the second system controller receives a pairing connection information acquisition request sent by the first system controller;
the second system controller responds to the pairing connection information acquisition request and sends the pairing connection information of the second Bluetooth chip to the first system controller, so that the first system controller sends the pairing connection information of the second Bluetooth chip to a target Bluetooth device establishing Bluetooth link with the first Bluetooth chip;
the second system controller receives the pairing connection information of the target Bluetooth device sent by the first system controller;
And the second system controller controls the second Bluetooth chip to establish a second Bluetooth link between the target Bluetooth devices according to the pairing connection information of the target Bluetooth devices.
In a third aspect, the present application provides a bluetooth linking apparatus, an application and a bluetooth device, where the bluetooth device includes a first bluetooth chip, a second bluetooth chip, a first system controller for controlling the first bluetooth chip, and a second system controller for controlling the second bluetooth chip, and the first system controller and the second system controller communicate with each other through a communication interface, the apparatus includes:
the first Bluetooth link establishing module is used for controlling the first Bluetooth chip to establish a first Bluetooth link with the searched target Bluetooth equipment after the first system controller receives a Bluetooth searching instruction;
the acquisition module is used for acquiring the pairing connection information of the second Bluetooth chip from the second system controller;
the first sending module is used for sending the pairing connection information of the second Bluetooth chip to the target Bluetooth equipment through the first Bluetooth link;
and the second sending module is used for sending the pairing connection information of the target Bluetooth device to the second system controller so that the second system controller establishes a second Bluetooth link between the second Bluetooth chip and the target Bluetooth device according to the pairing connection information of the target Bluetooth device.
Optionally, the first sending module includes:
the message packaging submodule is used for packaging the pairing connection information of the second Bluetooth chip into a modem AT command, a serial port profile SPP message or a Bluetooth low energy consumption BLE message;
and the sending submodule is used for sending the AT command, the SPP message or the BLE message to the target Bluetooth equipment through the first Bluetooth link.
In a fourth aspect, the present application provides a bluetooth linking apparatus, for use in a bluetooth device, the bluetooth device includes a first bluetooth chip, a second bluetooth chip, a first system controller for controlling the first bluetooth chip, and a second system controller for controlling the second bluetooth chip, and the first system controller and the second system controller communicate with each other through a communication interface, the apparatus includes:
the first receiving module is used for receiving a pairing connection information acquisition request sent by the first system controller;
the sending module is used for responding to the pairing connection information acquisition request and sending the pairing connection information of the second Bluetooth chip to the first system controller so that the first system controller sends the pairing connection information of the second Bluetooth chip to a target Bluetooth device establishing Bluetooth link with the first Bluetooth chip;
The second receiving module is used for receiving the pairing connection information of the target Bluetooth device sent by the first system controller;
and the second Bluetooth link establishing module is used for controlling the second Bluetooth chip to establish a second Bluetooth link between the target Bluetooth devices according to the pairing connection information of the target Bluetooth devices.
In a fifth aspect, the present application provides a bluetooth device, comprising: the system comprises a first Bluetooth chip, a second Bluetooth chip, a first system controller and a second system controller, wherein the first system controller is connected with the first Bluetooth chip through a first communication interface and connected with the second system controller through a second communication interface; the second system controller is connected with the second Bluetooth chip through a third communication interface;
the first system controller is used for controlling the first Bluetooth chip to establish a first Bluetooth link with the searched target Bluetooth equipment after receiving a Bluetooth searching instruction; acquiring pairing connection information of a second Bluetooth chip from the second system controller, sending the pairing connection information to the target Bluetooth device through the first Bluetooth link, and sending the pairing connection information of the target Bluetooth device to the second system controller;
And the second system controller is used for controlling the second Bluetooth chip to initiate a Bluetooth link request and establishing a second Bluetooth link between the second Bluetooth chip and the target Bluetooth device according to the received pairing connection information of the target Bluetooth device.
Optionally, the first system controller is configured to, when acquiring pairing connection information of a second bluetooth chip from the second system controller and sending the pairing connection information to the target bluetooth device through the first bluetooth link, specifically:
packaging the pairing connection information of the second Bluetooth chip into a modem AT command, a serial port profile SPP message or a Bluetooth low energy consumption BLE message;
and sending the information obtained by encapsulation to the target Bluetooth equipment through the first Bluetooth link.
Optionally, the first system controller is a narrowband controller, and the second system controller is a broadband controller; or, the first system controller is a broadband controller, and the second system controller is a narrowband controller.
Optionally, the third communication interface is a serial peripheral interface SPI or a universal asynchronous receiver transmitter interface UART;
the first communication interface and the second communication interface are UART interfaces or universal serial bus interfaces (USB).
The Bluetooth linking method is applied to Bluetooth equipment, and the Bluetooth equipment comprises a first Bluetooth chip, a second Bluetooth chip, a first system controller and a second system controller, wherein the first system controller controls the first Bluetooth chip, and the second system controller controls the second Bluetooth chip. When the first Bluetooth chip is paired through manual search and establishes a first Bluetooth link with the target Bluetooth device, the first system controller sends the pairing connection information of the target Bluetooth device to the second Bluetooth chip, and meanwhile, the first system controller sends the pairing connection information of the second Bluetooth chip to the target Bluetooth device through the first Bluetooth link. So far, the second bluetooth chip can directly initiate the connection with the target bluetooth device, thereby establishing a second bluetooth link between the second bluetooth chip and the target bluetooth device. Therefore, after the Bluetooth link is established between any one of the two Bluetooth chips and the target Bluetooth device, the link pairing information of the target Bluetooth device can be shared by the other Bluetooth chip, and the link pairing information of the other Bluetooth chip is sent to the target Bluetooth device, so that the other Bluetooth chip can be directly connected with the target Bluetooth device without manually searching and pairing processes, and the time required for establishing the link between the plurality of Bluetooth chips and the same Bluetooth device is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a block diagram of a system structure of a bluetooth device according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a bluetooth linking method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating another exemplary embodiment of a Bluetooth link method;
fig. 4 is a flowchart illustrating a bluetooth linking method according to an embodiment of the present application;
FIG. 5 is a block diagram of a Bluetooth link apparatus according to an embodiment of the present application;
fig. 6 is a block diagram of another bluetooth-linked device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, it is a block diagram of a system structure of a bluetooth device according to an embodiment of the present disclosure, as shown in fig. 1, the bluetooth device includes a first system controller 110, a first bluetooth chip 120, a second system controller 130, and a second bluetooth chip 140; the first system controller 110 and the first bluetooth chip 120 are connected through a first communication interface 150, the second system controller 130 and the second bluetooth chip 140 are connected through a second communication interface 160, and the first system controller 110 and the second system controller 130 are connected through a third communication interface 170.
The first bluetooth chip 120 and the second bluetooth chip 140 are both configured to connect with a bluetooth slave device and perform data transmission with the bluetooth slave device.
The first system controller 110 is configured to control the first bluetooth chip to perform searching, pairing, and connection processes; the second system controller 130 is configured to control the second bluetooth chip to perform searching, pairing, and connecting processes.
The first communication interface 150 and the second communication interface 160 may be a UART (Universal Asynchronous Receiver/Transmitter) interface or a USB (Universal Serial Bus) interface, and a UART interface is generally used.
The first bluetooth chip 120 may be built in the first system controller 110, and similarly, the second bluetooth chip 140 may be built in the second system controller 130.
The third communication Interface 170 may be a UART Interface or an SPI (Serial Peripheral Interface), and the first system controller 110 and the second system controller 130 communicate through the third communication Interface 170.
For example, the first system controller 110 and the second system controller 130 may share the pairing connection information of the target bluetooth device and the pairing connection information of the bluetooth chip through the third communication interface 170.
In some embodiments of the present application, the first system controller 110 may be a narrowband controller, and is configured to implement narrowband services such as DMR (Digital Mobile Radio), PDT (Digital Trunking standard), TETRA (Trans European Trunked Radio), and the like. The first bluetooth chip 120 is mainly used for bluetooth voice transmission and low-speed data transmission provided by the broadband and narrowband ends; moreover, the first bluetooth chip 120 can simultaneously support bluetooth device connection of bluetooth phone Hands-free (HFP), bluetooth headset Profile protocol (HSP), wireless virtual serial protocol (SPP), and Bluetooth Low Energy (BLE) protocol.
The second system controller 130 may be a broadband controller, and is configured to implement communication of an LTE (Long Term Evolution) public network/private network, and run an intelligent operating system and application software. The second bluetooth chip 140 is mainly used to provide the second system controller with large data volume applications, such as file, picture, video, etc. transmission.
Referring to fig. 2, a flowchart of a bluetooth linking method according to an embodiment of the present application is shown, where the method is applied to the first system controller shown in fig. 1, and a first bluetooth chip and a second bluetooth chip establish a link with a target bluetooth device for the first time, as shown in fig. 2, the method may include the following steps:
s110, after the first system controller receives the Bluetooth searching command, the first Bluetooth chip is controlled to establish a first Bluetooth link with the searched target Bluetooth device.
The bluetooth search instruction is generated by a user operating a corresponding control in the first system controller on the bluetooth device.
And S120, the first system controller acquires the pairing connection information of the second Bluetooth chip from the second system controller.
In some embodiments of the present application, the first system controller may acquire pairing connection information of the second bluetooth chip in advance before the first bluetooth chip establishes a link with the target bluetooth device.
In other embodiments of the present application, the first system controller may obtain the pairing connection information of the second bluetooth chip from the second system controller after the first bluetooth chip establishes the link with the target bluetooth device.
And S130, the first system controller sends the pairing connection information of the second Bluetooth chip to the target Bluetooth device through the first Bluetooth link.
The first system controller may encapsulate the pairing connection information of the second Bluetooth chip into an AT (modem command) command, an SPP (Serial Port Profile) message, or a BLE (Bluetooth Low Energy) message, and transmit the AT command, the SPP (Serial Port Profile) message, or the BLE message to the target Bluetooth device. The type of message used is determined by the type of the target bluetooth device.
And S140, the first system controller sends the pairing connection information of the target Bluetooth device to the second system controller, so that the second system controller establishes a second Bluetooth link between the second Bluetooth chip and the target Bluetooth device according to the pairing connection information of the target Bluetooth device.
The first system controller sends the pairing connection information of the target Bluetooth device to the second system controller through the third communication interface, then the second system controller sends the pairing connection information of the target Bluetooth device to the second Bluetooth chip, the second Bluetooth chip directly initiates connection with the target Bluetooth device, and a user does not need to manually trigger the second Bluetooth chip to search for the target Bluetooth device.
In the bluetooth link method provided in this embodiment, after the first bluetooth chip establishes the first bluetooth link with the target bluetooth device through manual search pairing, the first system controller sends the pairing connection information of the target bluetooth device to the second bluetooth chip, and meanwhile, the first system controller sends the pairing connection information of the second bluetooth chip to the target bluetooth device through the first bluetooth link. So far, the second bluetooth chip can directly initiate the connection with the target bluetooth device, thereby establishing a second bluetooth link between the second bluetooth chip and the target bluetooth device. Therefore, after the Bluetooth link is established between any one of the two Bluetooth chips and the target Bluetooth device, the link pairing information of the target Bluetooth device can be shared by the other Bluetooth chip, and the link pairing information of the other Bluetooth chip is sent to the target Bluetooth device, so that the other Bluetooth chip can be directly connected with the target Bluetooth device without manually searching and pairing processes, and the time required for establishing the link between the plurality of Bluetooth chips and the same Bluetooth device is reduced.
Referring to fig. 3, a flowchart of another bluetooth linking method according to an embodiment of the present invention is shown, where the method is applied to the second system controller shown in fig. 1, and as shown in fig. 3, the method may include the following steps:
S210, the second system controller receives the pairing connection information acquisition request sent by the first system controller.
And S220, the second system controller responds to the pairing connection information acquisition request and sends the pairing connection information of the second Bluetooth chip to the first system controller, so that the first system controller sends the pairing connection information of the second Bluetooth chip to the target Bluetooth device establishing Bluetooth link with the first Bluetooth chip.
And S230, the second system controller receives the pairing connection information of the target Bluetooth device sent by the first system controller.
And S240, the second system controller controls the second Bluetooth chip to establish a second Bluetooth link between the target Bluetooth devices according to the pairing connection information of the target Bluetooth devices.
In the bluetooth linking method provided in this embodiment, for the second bluetooth chip in the bluetooth device shown in fig. 1, after the first bluetooth chip establishes the first bluetooth link with the target bluetooth device, the first system controller sends the pairing connection information of the target bluetooth device to the second system controller, and at the same time, the first system controller sends the pairing connection information of the second bluetooth chip to the target bluetooth device, which is equivalent to a pairing process between the second bluetooth chip and the target bluetooth device.
Referring to fig. 4, a flowchart of a bluetooth linking method according to an embodiment of the present application is shown, where the method is applied to the bluetooth device shown in fig. 1, and the bluetooth linking method provided in the present application is described in detail below with reference to fig. 1 and fig. 4. As shown in fig. 4, the bluetooth linking method may include the steps of:
and S310, after receiving the Bluetooth searching command, the first system controller controls the first Bluetooth chip to search other Bluetooth devices.
S320, the first Bluetooth chip is successfully paired with the searched target Bluetooth device, and a first Bluetooth link is established.
The first Bluetooth chip searches for Bluetooth devices capable of being paired, and at the moment, other Bluetooth devices are in a pairing mode
Wherein, the target bluetooth device can be a bluetooth headset, a bluetooth PTT or a customized bluetooth device, etc.
S330, the first system controller acquires the pairing connection information of the second Bluetooth chip from the second system controller.
The second system controller can communicate with the second Bluetooth chip through the second communication interface to acquire the pairing connection information of the second Bluetooth chip. Then, the second system controller may transmit the pairing connection information of the second bluetooth chip to the first system controller through the third communication interface.
S340, the first system controller sends the pairing connection information of the second Bluetooth chip to the target Bluetooth device through the first Bluetooth link.
And S350, the first system controller sends the pairing connection information of the target Bluetooth device to the second system controller.
And the first system controller sends the pairing connection information of the target Bluetooth device to the second system controller through the third communication interface.
And S360, the second system controller sends the pairing connection information of the target Bluetooth device to the second Bluetooth chip.
And the second system controller sends the pairing connection information of the target Bluetooth device to the second Bluetooth chip through the second communication interface.
S370, the second bluetooth chip directly initiates a connection with the target bluetooth device to establish a bluetooth link between the second bluetooth chip and the target bluetooth device.
And directly initiating connection with the target Bluetooth device according to the received pairing connection information of the target Bluetooth device, and establishing a second Bluetooth link.
And the first system controller sends the pairing connection information of the target Bluetooth device to the second system controller, so that the second system controller establishes a second Bluetooth link between the second Bluetooth chip and the target Bluetooth device according to the pairing connection information of the target Bluetooth device.
Similarly, if the first bluetooth chip and the second bluetooth chip are not paired with the target bluetooth device, and after the second bluetooth chip is linked with the target bluetooth device, the pairing connection information of the target bluetooth device is shared with the first system controller, and meanwhile, the pairing connection information of the first bluetooth chip is sent to the target bluetooth device, so that the first bluetooth chip can directly initiate connection with the target bluetooth device without performing a pairing connection process again.
In this embodiment, after the first bluetooth chip is paired through manual search and establishes the first bluetooth link with the target bluetooth device, the first system controller sends the pairing connection information of the target bluetooth device to the second bluetooth chip, and meanwhile, the first system controller sends the pairing connection information of the second bluetooth chip to the target bluetooth device through the first bluetooth link. So far, the second bluetooth chip can directly initiate the connection with the target bluetooth device, thereby establishing a second bluetooth link between the second bluetooth chip and the target bluetooth device. Therefore, after the Bluetooth link is established between any one of the two Bluetooth chips and the target Bluetooth device, the link pairing information of the target Bluetooth device can be shared by the other Bluetooth chip, and the link pairing information of the other Bluetooth chip is sent to the target Bluetooth device, so that the other Bluetooth chip can be directly connected with the target Bluetooth device without manually searching and pairing processes, and the time required for establishing the link between the plurality of Bluetooth chips and the same Bluetooth device is reduced.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present application is not limited by the order of acts or acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Referring to fig. 5, a block diagram of a bluetooth linking apparatus according to an embodiment of the present invention is shown, where the apparatus is applied to a first system controller, and as shown in fig. 5, the apparatus includes: the first bluetooth link establishing module 110, the obtaining module 120, the first sending module 130 and the second sending module 140.
A first bluetooth link establishing module 110, configured to control the first bluetooth chip to establish a first bluetooth link with a searched target bluetooth device after the first system controller receives a bluetooth search instruction;
an obtaining module 120, configured to obtain pairing connection information of the second bluetooth chip from the second system controller.
A first sending module 130, configured to send the pairing connection information of the second bluetooth chip to the target bluetooth device through the first bluetooth link.
In some embodiments of the present application, the first sending module comprises a message encapsulation submodule and a sending submodule;
the message packaging submodule is used for packaging the pairing connection information of the second Bluetooth chip into a modem AT command, a serial port profile SPP message or a Bluetooth low energy consumption BLE message; and the sending submodule is used for sending an AT command, an SPP message or a BLE message to the target Bluetooth device through the first Bluetooth link.
A second sending module 140, configured to send the pairing connection information of the target bluetooth device to the second system controller, so that the second system controller establishes a second bluetooth link between the second bluetooth chip and the target bluetooth device according to the pairing connection information of the target bluetooth device.
In the bluetooth linking apparatus provided in this embodiment, the first bluetooth link establishing module establishes a first bluetooth link between the first bluetooth chip and the target bluetooth device, then acquires the pairing connection information of the second bluetooth chip from the second system controller through the acquiring module, and sends the pairing connection information of the second bluetooth chip to the target bluetooth device through the first bluetooth link by the first sending module. Meanwhile, the second sending module sends the pairing connection information of the target Bluetooth device to the second system controller, so that the second system controls the second Bluetooth chip to directly establish a second Bluetooth link with the target Bluetooth device. After any one of the two Bluetooth chips establishes Bluetooth link with the target Bluetooth device, the other Bluetooth chip can be directly connected with the target Bluetooth device without manual searching and matching processes, and time required for establishing link between the plurality of Bluetooth chips and the same Bluetooth device is reduced.
Referring to fig. 6, which is a block diagram of another bluetooth link apparatus according to an embodiment of the present disclosure, the apparatus is applied to a second system controller of the bluetooth device shown in fig. 1, and as shown in fig. 6, the apparatus may include a first receiving module 210, a sending module 220, a second receiving module 230, and a second bluetooth link establishing module 240.
A first receiving module 210, configured to receive a pairing connection information obtaining request sent by the first system controller.
The sending module 220 is configured to respond to the pairing connection information obtaining request, and send the pairing connection information of the second bluetooth chip to the first system controller, so that the first system controller sends the pairing connection information of the second bluetooth chip to a target bluetooth device that establishes a bluetooth link with the first bluetooth chip.
The second receiving module 230 is configured to receive pairing connection information of the target bluetooth device sent by the first system controller.
And a second bluetooth link establishing module 240, configured to control the second bluetooth chip to establish a second bluetooth link between the target bluetooth devices according to the pairing connection information of the target bluetooth devices.
The bluetooth linking device that this embodiment provided, after arbitrary one bluetooth chip in two bluetooth chips and target bluetooth equipment establish the bluetooth and link, another bluetooth chip can directly be connected with target bluetooth equipment, and need not to carry out manual search again and pair the process, reduces a plurality of bluetooth chips and same bluetooth equipment and establishes the required time of linking.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A Bluetooth linking method is applied to a Bluetooth device, the Bluetooth device comprises a first Bluetooth chip, a second Bluetooth chip, a first system controller for controlling the first Bluetooth chip, and a second system controller for controlling the second Bluetooth chip, and the first system controller and the second system controller communicate with each other through a communication interface, the method comprises:
After the first system controller receives a Bluetooth searching instruction, the first system controller controls the first Bluetooth chip to establish a first Bluetooth link with the searched target Bluetooth device;
the first system controller acquires pairing connection information of the second Bluetooth chip from the second system controller;
and the first system controller sends the pairing connection information of the second Bluetooth chip to the target Bluetooth device through the first Bluetooth link, and sends the pairing connection information of the target Bluetooth device to the second system controller, so that the second system controller sends the pairing connection information of the target Bluetooth device to the second Bluetooth chip, and a second Bluetooth link is established between the second Bluetooth chip and the target Bluetooth device.
2. The method of claim 1, wherein the first system controller sends the pairing connection information of the second bluetooth chip to the target bluetooth device through the first bluetooth link, and the method comprises:
the first system controller encapsulates the pairing connection information of the second Bluetooth chip into a modem AT command, a serial port profile SPP message or a Bluetooth low energy consumption BLE message;
And the first system controller sends the packaged message to the target Bluetooth equipment through the first Bluetooth link.
3. A Bluetooth linking method is applied to a Bluetooth device, the Bluetooth device comprises a first Bluetooth chip, a second Bluetooth chip, a first system controller for controlling the first Bluetooth chip, and a second system controller for controlling the second Bluetooth chip, and the first system controller and the second system controller communicate with each other through a communication interface, the method comprises:
the second system controller receives a pairing connection information acquisition request sent by the first system controller;
the second system controller responds to the pairing connection information acquisition request and sends the pairing connection information of the second Bluetooth chip to the first system controller, so that the first system controller sends the pairing connection information of the second Bluetooth chip to a target Bluetooth device establishing Bluetooth link with the first Bluetooth chip;
the second system controller receives the pairing connection information of the target Bluetooth device sent by the first system controller;
And the second system controller controls the second Bluetooth chip to establish a second Bluetooth link between the target Bluetooth devices according to the pairing connection information of the target Bluetooth devices.
4. A bluetooth linking apparatus, wherein an application and a bluetooth device, the bluetooth device includes a first bluetooth chip, a second bluetooth chip, a first system controller for controlling the first bluetooth chip, and a second system controller for controlling the second bluetooth chip, and the first system controller and the second system controller communicate with each other through a communication interface, the apparatus comprising:
the first Bluetooth link establishing module is used for controlling the first Bluetooth chip to establish a first Bluetooth link with the searched target Bluetooth equipment after the first system controller receives a Bluetooth searching instruction;
the acquisition module is used for acquiring the pairing connection information of the second Bluetooth chip from the second system controller;
the first sending module is used for sending the pairing connection information of the second Bluetooth chip to the target Bluetooth equipment through the first Bluetooth link;
and the second sending module is used for sending the pairing connection information of the target Bluetooth device to the second system controller so that the second system controller sends the pairing connection information of the target Bluetooth device to the second Bluetooth chip, and a second Bluetooth link is established between the second Bluetooth chip and the target Bluetooth device.
5. The apparatus of claim 4, wherein the first sending module comprises:
the message packaging submodule is used for packaging the pairing connection information of the second Bluetooth chip into a modem AT command, a serial port profile SPP message or a Bluetooth low energy consumption BLE message;
and the sending submodule is used for sending the AT command, the SPP message or the BLE message to the target Bluetooth equipment through the first Bluetooth link.
6. A Bluetooth linking device applied in a Bluetooth device, wherein the Bluetooth device comprises a first Bluetooth chip, a second Bluetooth chip, a first system controller for controlling the first Bluetooth chip, and a second system controller for controlling the second Bluetooth chip, and the first system controller and the second system controller communicate with each other through a communication interface, the device comprising:
the first receiving module is used for receiving a pairing connection information acquisition request sent by the first system controller;
the sending module is used for responding to the pairing connection information acquisition request and sending the pairing connection information of the second Bluetooth chip to the first system controller so that the first system controller sends the pairing connection information of the second Bluetooth chip to a target Bluetooth device establishing Bluetooth link with the first Bluetooth chip;
The second receiving module is used for receiving the pairing connection information of the target Bluetooth device sent by the first system controller;
and the second Bluetooth link establishing module is used for controlling the second Bluetooth chip to establish a second Bluetooth link between the target Bluetooth devices according to the pairing connection information of the target Bluetooth devices.
7. A bluetooth device, comprising: the system comprises a first Bluetooth chip, a second Bluetooth chip, a first system controller and a second system controller, wherein the first system controller is connected with the first Bluetooth chip through a first communication interface and connected with the second system controller through a second communication interface; the second system controller is connected with the second Bluetooth chip through a third communication interface;
the first system controller is used for controlling the first Bluetooth chip to establish a first Bluetooth link with the searched target Bluetooth equipment after receiving a Bluetooth searching instruction; acquiring pairing connection information of a second Bluetooth chip from the second system controller, sending the pairing connection information to the target Bluetooth device through the first Bluetooth link, and sending the pairing connection information of the target Bluetooth device to the second system controller;
And the second system controller is used for controlling the second Bluetooth chip to initiate a Bluetooth link request and establishing a second Bluetooth link between the second Bluetooth chip and the target Bluetooth device according to the received pairing connection information of the target Bluetooth device.
8. The bluetooth device according to claim 7, wherein the first system controller, when being configured to obtain the pairing connection information of the second bluetooth chip from the second system controller and send the pairing connection information to the target bluetooth device through the first bluetooth link, is specifically configured to:
packaging the pairing connection information of the second Bluetooth chip into a modem AT command, a serial port profile SPP message or a Bluetooth low energy consumption BLE message;
and sending the information obtained by encapsulation to the target Bluetooth equipment through the first Bluetooth link.
9. The bluetooth device of claim 7, wherein the first system controller is a narrowband controller and the second system controller is a wideband controller; or, the first system controller is a broadband controller, and the second system controller is a narrowband controller.
10. The bluetooth device according to claim 7, wherein the third communication interface is a Serial Peripheral Interface (SPI) or a universal asynchronous receiver transmitter interface (UART);
The first communication interface and the second communication interface are UART interfaces or universal serial bus interfaces (USB).
CN201611116862.6A 2016-12-07 2016-12-07 Bluetooth link method and device and Bluetooth equipment Active CN108616847B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611116862.6A CN108616847B (en) 2016-12-07 2016-12-07 Bluetooth link method and device and Bluetooth equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611116862.6A CN108616847B (en) 2016-12-07 2016-12-07 Bluetooth link method and device and Bluetooth equipment

Publications (2)

Publication Number Publication Date
CN108616847A CN108616847A (en) 2018-10-02
CN108616847B true CN108616847B (en) 2021-09-28

Family

ID=63643428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611116862.6A Active CN108616847B (en) 2016-12-07 2016-12-07 Bluetooth link method and device and Bluetooth equipment

Country Status (1)

Country Link
CN (1) CN108616847B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073761B (en) * 2019-06-10 2022-09-09 海信视像科技股份有限公司 Bluetooth function realization method and device and dual-hardware system display equipment
CN117544931A (en) * 2019-08-09 2024-02-09 华为技术有限公司 Information sharing method, terminal device, storage medium, and computer program product
CN112953584A (en) * 2019-12-10 2021-06-11 海能达通信股份有限公司 Communication apparatus and communication method
CN114691219A (en) * 2020-12-31 2022-07-01 成都鼎桥通信技术有限公司 System switching method and device, wearable device and user terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205622833U (en) * 2016-05-03 2016-10-05 深圳鑫岳电子科技有限公司 Bluetooth speaker and bluetooth speaker system
US9480096B1 (en) * 2015-08-25 2016-10-25 Motorola Solutions, Inc. Method, device, and system for fast wireless accessory devices pairing

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100596033C (en) * 2004-08-26 2010-03-24 华为技术有限公司 Method for expanding blue-tooth chip
KR100800733B1 (en) * 2006-02-08 2008-02-01 삼성전자주식회사 Bluetooth system and bluetooth bonding process method
KR101110778B1 (en) * 2010-09-07 2012-03-13 비씨카드(주) Method and system of bluetooth communication
TWI521905B (en) * 2013-02-01 2016-02-11 寶貝安科技股份有限公司 Exchange method of pairing information for bluetooth devices and pairing switching method of bluetooth devices applying the same
US20150304833A1 (en) * 2014-04-18 2015-10-22 Laird Technologies, Inc. Bluetooth attribute repeater and aggregator
CN104104414A (en) * 2014-06-18 2014-10-15 深圳市警豹电子科技有限公司 Communication method for multiple bluetooth devices and forwarding method for bluetooth device matching information
CN105703807B (en) * 2014-11-28 2019-02-12 华为技术有限公司 A kind of Bluetooth pairing methods, apparatus and system
CN104581617A (en) * 2015-01-22 2015-04-29 小米科技有限责任公司 Wireless communication method and intelligent equipment
CN105011484B (en) * 2015-06-04 2017-03-29 山东三田电子科技股份有限公司 A kind of Intelligent bracelet with double bluetooth modules
CN105578398A (en) * 2016-01-27 2016-05-11 努比亚技术有限公司 Terminal, and Bluetooth connection method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9480096B1 (en) * 2015-08-25 2016-10-25 Motorola Solutions, Inc. Method, device, and system for fast wireless accessory devices pairing
CN205622833U (en) * 2016-05-03 2016-10-05 深圳鑫岳电子科技有限公司 Bluetooth speaker and bluetooth speaker system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Low power RF transceiver design for Bluetooth applications";Larry B. Li; Zhizhong Huang;《2008 9th International Conference on Solid-State and Integrated-Circuit Technology》;20081230;全文 *
"蓝牙无线通信技术的研究和蓝牙耳机应用的开发与实现";顾宇;《中国优秀博硕士学位论文全文数据库 (硕士) 信息科技辑》;20041215;全文 *

Also Published As

Publication number Publication date
CN108616847A (en) 2018-10-02

Similar Documents

Publication Publication Date Title
JP6480481B2 (en) Device connection apparatus and method in portable terminal
CN108616847B (en) Bluetooth link method and device and Bluetooth equipment
US9356974B2 (en) Systems and methods for establishing a Wi-Fi display (WFD) session
JP3428960B2 (en) Network operation method between Bluetooth equipped devices
US10264038B2 (en) Discovery and management of synchronous audio or video streaming service to multiple sinks in wireless display system
EP2918140B1 (en) Proxy connection method and apparatus
WO2015070580A1 (en) Method and device for constructing wireless local area network based on near field communication
CN105122893A (en) Systems and methods for implementing multiple band service discovery
EP3080704B1 (en) Automatic internet sharing
WO2014183404A1 (en) Data transmission method, apparatus, system and terminal
AU2013269061B2 (en) Short-range wireless communication device
EP3364709B1 (en) Data link establishment methods and apparatus
WO2016029772A1 (en) Communication method and device
US20190391935A1 (en) SPI-Based Data Transmission Method and Device
CN104936258A (en) Network access method, terminal and system
US20150172433A1 (en) Method, system and mobile terminal for connection to a public network
CN112788783A (en) Relay connection establishing method and equipment
CN114390491A (en) Networking method, device and system
CN102412875A (en) File sending and receiving method and device as well as file transmission method and system
CN112333795A (en) Network access method and device
CN103687057A (en) Wi-Fi wireless network access point and system for establishing data transmission channel
US9602579B2 (en) Communication apparatus, method for controlling the same, and program
WO2018103006A1 (en) Method and device for bluetooth linkage and bluetooth device
CN111316681A (en) File transmission method and system
WO2023125342A1 (en) Communication method, apparatus, and system

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