Multi-bluetooth-chip control system and intelligent device
By using preset markers between the upper layer module of the Bluetooth protocol stack and the multi-Bluetooth driver module, the same driver module controls multiple Bluetooth chips, which solves the problem of large hardware space and high cost, and reduces software and hardware overhead.
Patent Information
- Application Number
- PCT/CN2025/078323
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-26
- Filing Date
- 2025-02-20
- Publication Date
- 2025-09-04
AI Technical Summary
In the prior art, when the same intelligent device connects multiple Bluetooth peripherals at the same time, multiple sets of Bluetooth protocol stacks and chips are required, resulting in large hardware space, many traces, high software resource consumption and high cost.
A multi-Bluetooth chip control system is constructed, and multiple Bluetooth chips are connected to each other through the Bluetooth protocol stack upper module and the multi-Bluetooth driver module, and the Bluetooth data packets are marked with preset markers and transmitted between the protocol stack upper module and the driver module to realize the control of multiple Bluetooth chips by the same driver module.
Reduces software and hardware overhead, reduces costs, and does not affect the normal operation of existing Bluetooth chips and upper-layer applications.
Smart Images

Figure CN2025078323_04092025_PF_FP_ABST
Abstract
Description
A multi-Bluetooth chip control system and intelligent device Technical Field
[0001] The present invention relates to the field of Bluetooth devices, and more particularly to a multi-Bluetooth chip control system and intelligent device. Background Art
[0002] Bluetooth communication technology, as a short-range communication method, facilitates wireless communication between devices within a small area. For scenarios where a single smart device is connected to multiple Bluetooth peripherals simultaneously, the existing technology requires multiple Bluetooth protocol stacks and Bluetooth chip combinations, as the same Bluetooth protocol stack can only control one Bluetooth chip. However, this approach not only occupies a large amount of hardware space during board layout and increases wiring, but also requires significant software resources and is relatively costly. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to provide a multi-Bluetooth chip control system and an intelligent device.
[0004] The technical solution adopted by the present invention to solve the technical problem is: constructing a multi-Bluetooth chip control system, including a Bluetooth protocol stack upper layer module, a multi-Bluetooth driver module and at least two Bluetooth chips, wherein the Bluetooth protocol stack upper layer module is connected to each of the Bluetooth chips through the multi-Bluetooth driver module;
[0005] The multi-Bluetooth driver module receives the Bluetooth data packet sent by the Bluetooth chip, adds a preset tag number to the Bluetooth data packet, and then transmits the Bluetooth data packet to the upper layer module of the Bluetooth protocol stack, wherein the preset tag number corresponds to the Bluetooth chip one by one; the upper layer module of the Bluetooth protocol stack parses the preset tag number of the Bluetooth data packet and determines the Bluetooth chip to which the Bluetooth data packet belongs based on the preset tag number;
[0006] The Bluetooth protocol stack upper layer module sends the Bluetooth data packet containing the preset tag number to the multi-Bluetooth driver module, and the multi-Bluetooth driver module parses the preset tag number of the Bluetooth data packet and sends the Bluetooth data packet to the Bluetooth chip corresponding to the preset tag number.
[0007] Furthermore, in the multi-Bluetooth chip control system of the present invention, the multi-Bluetooth driver module sets the preset field of the Bluetooth data packet to the preset tag number, and the Bluetooth protocol stack upper layer module parses the preset tag number of the Bluetooth data packet from the preset field;
[0008] The Bluetooth protocol stack upper layer module sets the preset field of the Bluetooth data packet to the preset tag number, and the multi-Bluetooth driver module parses the preset field to obtain the preset tag number of the Bluetooth data packet.
[0009] Furthermore, in the multi-Bluetooth chip control system of the present invention, the upper layer module of the Bluetooth protocol stack restores the preset field to preset data after parsing the preset tag number of the Bluetooth data packet from the preset field;
[0010] The multi-Bluetooth driver module restores the preset field to preset data after parsing the preset tag number of the Bluetooth data packet from the preset field.
[0011] Furthermore, in the multi-Bluetooth chip control system described in the present invention, the Bluetooth protocol stack upper module and the multi-Bluetooth driver module identify the data type of the Bluetooth data packet before parsing the Bluetooth data packet, determine the position of the preset field according to the data type, and the data type and the preset field correspond one to one.
[0012] Furthermore, in the multi-Bluetooth chip control system of the present invention, the preset fields are the 8th byte and the 9th byte of the header of the Bluetooth data packet; or
[0013] The preset fields are the 14th byte and the 15th byte of the packet header of the Bluetooth data packet.
[0014] Furthermore, in the multi-Bluetooth chip control system of the present invention, the preset field is located in the header of the Bluetooth data packet.
[0015] Furthermore, in the multi-Bluetooth chip control system of the present invention, the Bluetooth protocol stack upper layer module and the multi-Bluetooth driver module store the corresponding relationship between the preset marking number and the Bluetooth chip.
[0016] Furthermore, in the multi-Bluetooth chip control system of the present invention, the multi-Bluetooth driver module includes at least two serial interfaces, and each of the serial interfaces is connected to one of the Bluetooth chips.
[0017] In addition, the present invention also provides an intelligent device, including the multi-Bluetooth chip control system as described above.
[0018] Furthermore, in the smart device described in the present invention, the smart device is connected to at least two Bluetooth peripherals, and each of the Bluetooth peripherals is simultaneously connected to the smart device.
[0019] The multi-Bluetooth chip control system and intelligent device implementing the present invention have the following beneficial effects: the present invention enables the same Bluetooth driver module to drive multiple Bluetooth chips simultaneously by marking and identifying Bluetooth data packets, which can reduce software and hardware overhead and reduce costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0021] FIG1 is a schematic structural diagram of a multi-Bluetooth chip control system and a smart device provided by an embodiment of the present invention;
[0022] FIG2 is a schematic diagram of the structure of a smart device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.
[0024] In a preferred embodiment, referring to Figure 1, this embodiment provides a multi-Bluetooth chip control system, which can realize the simultaneous connection of multiple Bluetooth peripherals based on a multi-Bluetooth driver module 20. The multi-Bluetooth chip control system includes a Bluetooth protocol stack upper module 10, a multi-Bluetooth driver module 20 and at least two Bluetooth chips 30. The Bluetooth protocol stack upper module 10 is connected to each Bluetooth chip 30 through the multi-Bluetooth driver module 20. Among them, the Bluetooth protocol stack upper module 10 is used to process Bluetooth data packets and use the processed data for upper-layer applications, as well as receive data from upper-layer applications and send the processed data to the multi-Bluetooth driver module 20. The multi-Bluetooth driver module 20 is used to drive multiple Bluetooth chips 30 to realize docking communication between the Bluetooth protocol stack upper module 10 and each Bluetooth chip 30. Each Bluetooth chip 30 is used to connect to a Bluetooth peripheral and can realize the simultaneous connection of multiple Bluetooth peripherals.
[0025] Specifically, the working process of the multi-Bluetooth chip control system is divided into a Bluetooth data sending process and a Bluetooth data receiving process, which are described below respectively.
[0026] Bluetooth data transmission process: The upper-layer application sends the data to be sent to the upper-layer module 10 of the Bluetooth protocol stack. The upper-layer module 10 encapsulates the data into a Bluetooth data packet based on the Bluetooth chip 30 to which the data belongs and adds a preset tag number to the Bluetooth data packet. This preset tag number is used to mark the Bluetooth chip 30, and the preset tag number corresponds one-to-one with the Bluetooth chip 30. Furthermore, the upper-layer module 10 of the Bluetooth protocol stack sends the Bluetooth data packet containing the preset tag number to the Bluetooth driver module 20. The Bluetooth driver module 20 parses the preset tag number in the Bluetooth data packet and sends the Bluetooth data packet to the Bluetooth chip 30 corresponding to the preset tag number. After receiving the Bluetooth data packet, the Bluetooth chip 30 converts the Bluetooth data packet into a Bluetooth signal and sends it to the external Bluetooth peripheral device.
[0027] Bluetooth data receiving process: The Bluetooth chip 30 receives the Bluetooth data packet sent by the Bluetooth peripheral device and sends the Bluetooth data packet to the multi-Bluetooth driver module 20. After receiving the Bluetooth data packet sent by the Bluetooth chip 30, the multi-Bluetooth driver module 20 adds a preset tag number to the Bluetooth data packet. It can be understood that since the connection relationship between the multi-Bluetooth driver module 20 and the multiple Bluetooth chips 30 is fixed, after the multi-Bluetooth driver module 20 receives the Bluetooth data packet sent by a certain Bluetooth chip 30, it can know which Bluetooth chip 30 the Bluetooth data packet comes from, and accordingly add the preset tag number corresponding to the Bluetooth chip 30 to the Bluetooth data packet. Further, the multi-Bluetooth driver module 20 transmits the Bluetooth data packet with the preset tag number added to the Bluetooth protocol stack upper module 10. The Bluetooth protocol stack upper module 10 parses the preset tag number of the Bluetooth data packet, determines the Bluetooth chip 30 to which the Bluetooth data packet belongs through the preset tag number, and the Bluetooth protocol stack upper module 10 transmits the parsed data to the upper-layer application.
[0028] This embodiment marks and identifies Bluetooth data packets, allowing the same Bluetooth driver module to drive multiple Bluetooth chips simultaneously. Compared with the existing technology where each Bluetooth chip needs to be configured with a driver module, it can reduce software and hardware overhead, thereby reducing costs.
[0029] In some embodiments of the multi-Bluetooth chip control system, based on the above embodiments, in order to enable the Bluetooth protocol stack upper layer module 10 and the multi-Bluetooth driver module 20 to recognize the Bluetooth data packets sent by each other, the Bluetooth protocol stack upper layer module 10 and the multi-Bluetooth driver module 20 need to pre-set two parameters: a first parameter and a second parameter. The first parameter is the correspondence between the preset tag number and the Bluetooth chip 30, and the second parameter is the preset field of the preset tag number, which are explained below.
[0030] The first parameter is the correspondence, that is, the correspondence between the preset tag number and the Bluetooth chip 30. The Bluetooth protocol stack upper layer module 10 stores the correspondence between the preset tag number and the Bluetooth chip 30, and the multi-Bluetooth driver module 20 stores the correspondence between the preset tag number and the Bluetooth chip 30. The Bluetooth protocol stack upper layer module 10 and the multi-Bluetooth driver module 20 store the same correspondence between the preset tag number and the Bluetooth chip 30. It can be understood that after the connection relationship between the multi-Bluetooth driver module 20 and at least two Bluetooth chips 30 in the multi-Bluetooth chip control system is fixed, each Bluetooth chip 30 can be numbered, a preset tag number corresponding to each Bluetooth chip 30 can be set, and the correspondence between the preset tag number and the Bluetooth chip 30 can be stored in the Bluetooth protocol stack upper layer module 10 and the multi-Bluetooth driver module 20.
[0031] The second parameter is a preset field for a preset tag number. The location of the preset tag number in the Bluetooth data packet needs to be preset, i.e., a preset field in the Bluetooth data packet for storing the preset tag number, so that the Bluetooth protocol stack upper layer module 10 and the multi-Bluetooth driver module 20 can add and read the preset tag number at the same location.
[0032] For example, during Bluetooth data transmission, the Bluetooth protocol stack upper layer module 10 sets the preset field of the Bluetooth data packet as the preset tag number, and the multi-Bluetooth driver module 20 parses the preset field to obtain the preset tag number of the Bluetooth data packet.
[0033] For example, during Bluetooth data reception, the multi-Bluetooth driver module 20 sets the preset field of the Bluetooth data packet as the preset tag number, and the Bluetooth protocol stack upper layer module 10 parses the preset field to obtain the preset tag number of the Bluetooth data packet.
[0034] This embodiment sets the first parameter and the second parameter to fix the position of the preset marker number in the Bluetooth data packet, so that the Bluetooth protocol stack upper module and the multi-Bluetooth driver module can recognize the Bluetooth data packets sent by each other, thereby realizing that the same multi-Bluetooth driver module can drive multiple Bluetooth chips simultaneously.
[0035] In some embodiments of a multi-Bluetooth chip control system, in order to avoid adding a preset mark bit in a Bluetooth data packet affecting the use of the Bluetooth data packet, this embodiment resets the preset field of the Bluetooth data packet after identifying the Bluetooth data packet, that is, restores the preset field in the Bluetooth data packet to the state before the preset mark number is added, which is explained below.
[0036] During the Bluetooth data transmission process, the multi-Bluetooth driver module 20 restores the preset field to the preset data after parsing the preset tag number of the Bluetooth data packet from the preset field. At this time, the preset field of the Bluetooth data packet sent by the multi-Bluetooth driver module 20 to the corresponding Bluetooth chip 30 has been restored to the preset data, that is, the Bluetooth data packet at this time is the same as the existing technology, so it will not affect the existing Bluetooth chip 30's reading and processing of the Bluetooth data packet. Therefore, there is no need to improve the existing Bluetooth chip 30, which can reduce development and use costs.
[0037] During the Bluetooth data reception process, the Bluetooth protocol stack upper-layer module 10 restores the preset field to the preset data after parsing the preset tag number of the Bluetooth data packet from the preset field. At this time, the preset field of the Bluetooth data packet sent by the Bluetooth protocol stack upper-layer module 10 to the upper-layer application has been restored to the preset data, that is, the Bluetooth data packet at this time is the same as the existing technology, and thus will not affect the upper-layer application's reading and processing of the Bluetooth data packet. Therefore, there is no need to improve the existing upper-layer application, which can reduce development and use costs.
[0038] After completing the Bluetooth chip identification of the Bluetooth data packet, this embodiment restores the Bluetooth data packet to a Bluetooth data packet that is the same as the existing technical standard, thereby not affecting the existing Bluetooth functional module and reducing development and use costs.
[0039] In some embodiments of the multi-Bluetooth chip control system, based on the above embodiments, taking into account that different Bluetooth specifications use different data types, such as HCI Command Packet, HCI Event Packet, HCI ACL Data Packet, etc., and each data type can use different preset fields to store preset tag numbers, this embodiment needs to determine the preset field according to the data type of the Bluetooth data packet.
[0040] Specifically, according to the parameter standards of the Bluetooth data packets of each data type, the position for storing the preset tag number in the Bluetooth data packet of each data type is known in advance, and the correspondence between the data type and the preset field is established. The data type and the preset field correspond one-to-one, that is, each data type corresponds to a preset field, and the correspondence between the data type and the preset field is stored in the Bluetooth protocol stack upper module 10 and the multi-Bluetooth driver module 20 respectively.
[0041] During Bluetooth data transmission, after the multi-Bluetooth driver module 20 receives a Bluetooth data packet sent by the Bluetooth protocol stack upper layer module 10, it first identifies the data type of the Bluetooth data packet, then determines the preset field based on the correspondence between the data type and the preset field, and parses the preset tag number from the preset field of the Bluetooth data packet. Then, based on the correspondence between the preset tag number and the Bluetooth chip 30, it determines the Bluetooth chip 30 and sends the Bluetooth data packet to the Bluetooth chip 30 for transmission.
[0042] During the Bluetooth data reception process, after the Bluetooth protocol stack upper layer module 10 receives a Bluetooth data packet, it first identifies the data type corresponding to the Bluetooth data packet, then determines the preset field based on the correspondence between the data type and the preset field, parses the preset tag number from the preset field of the Bluetooth data packet, and then determines the Bluetooth chip 30 to which the Bluetooth data packet belongs based on the correspondence between the preset tag number and the Bluetooth chip 30.
[0043] Alternatively, the preset field may be located in the header of the Bluetooth data packet.
[0044] For example, the preset fields are the 8th byte and the 9th byte of the packet header of the Bluetooth data packet.
[0045] For example, the preset fields are the 14th byte and the 15th byte of the packet header of the Bluetooth data packet.
[0046] The two aforementioned embodiments include two bytes, which can be used to configure four Bluetooth chips 30. For example, the preset tag numbers corresponding to the four Bluetooth chips 30 are set to 00, 01, 10, and 11, respectively. The operating principle will now be described using the preset fields as the 8th and 9th bytes of the Bluetooth data packet header. In this embodiment, the four Bluetooth chips 30 are Bluetooth chip 1, Bluetooth chip 2, Bluetooth chip 3, and Bluetooth chip 4, respectively. The preset tag number for Bluetooth chip 1 is 00, the preset tag number for Bluetooth chip 2 is 01, the preset tag number for Bluetooth chip 3 is 10, and the preset tag number for Bluetooth chip 4 is 11. Specifically, the Bluetooth data transmission process and the Bluetooth data reception process are described below.
[0047] Bluetooth data sending process:
[0048] The upper layer application sends the data to be sent to the Bluetooth protocol stack upper layer module 10. The Bluetooth protocol stack upper layer module 10 encapsulates the data into a Bluetooth data packet according to the Bluetooth chip 30 to which the data belongs, and adds a preset tag number to the 8th and 9th bytes of the Bluetooth data packet header.
[0049] If the Bluetooth data packet is to be sent to Bluetooth chip 1, the 8th and 9th bytes of the Bluetooth data packet header are set to 00;
[0050] If the Bluetooth data packet is to be sent to Bluetooth chip 2, the 8th and 9th bytes of the Bluetooth data packet header are set to 01;
[0051] If the Bluetooth data packet is to be sent to Bluetooth chip 3, the 8th and 9th bytes of the Bluetooth data packet header are set to 10;
[0052] If the Bluetooth data packet is to be sent to the Bluetooth chip 4 , the 8th byte and the 9th byte of the Bluetooth data packet header are set to 11.
[0053] Furthermore, the Bluetooth protocol stack upper module 10 sends a Bluetooth data packet containing a preset tag number to the Bluetooth driver module 20, and the Bluetooth driver module 20 parses the preset tag number of the Bluetooth data packet, that is, parses the 8th byte and the 9th byte of the Bluetooth data packet header, which may be one of 00, 01, 10, and 11.
[0054] If the parsed preset tag number is 00, the Bluetooth data packet is sent to the Bluetooth chip 1;
[0055] If the parsed preset tag number is 01, the Bluetooth data packet is sent to the Bluetooth chip 2;
[0056] If the parsed preset tag number is 10, the Bluetooth data packet is sent to the Bluetooth chip 3;
[0057] If the parsed preset tag number is 11, the Bluetooth data packet is sent to the Bluetooth chip 4.
[0058] After receiving the Bluetooth data packet, the Bluetooth chip 30 converts the Bluetooth data packet into a Bluetooth signal and sends it to the external Bluetooth peripheral device.
[0059] Bluetooth data receiving process:
[0060] The Bluetooth chip 30 receives the Bluetooth data packet sent by the Bluetooth peripheral device and sends the Bluetooth data packet to the multi-Bluetooth driver module 20. After receiving the Bluetooth data packet sent by the Bluetooth chip 30, the multi-Bluetooth driver module 20 adds a preset tag number to the Bluetooth data packet.
[0061] If the Bluetooth data packet comes from Bluetooth chip 1, the 8th and 9th bytes of the Bluetooth data packet header are set to 00;
[0062] If the Bluetooth data packet comes from Bluetooth chip 2, the 8th and 9th bytes of the Bluetooth data packet header are set to 01;
[0063] If the Bluetooth data packet comes from Bluetooth chip 3, the 8th byte and the 9th byte of the Bluetooth data packet header are set to 10;
[0064] If the Bluetooth data packet comes from the Bluetooth chip 4, the 8th byte and the 9th byte of the Bluetooth data packet header are set to 11.
[0065] Furthermore, the multi-Bluetooth driver module 20 transmits the Bluetooth data packet with the preset tag number added to it to the Bluetooth protocol stack upper module 10. The Bluetooth protocol stack upper module 10 parses out the preset tag number of the Bluetooth data packet, that is, parses out the 8th byte and the 9th byte of the Bluetooth data packet header, which may be one of 00, 01, 10, and 11.
[0066] If the parsed preset tag number is 00, it means that the Bluetooth data packet comes from Bluetooth chip 1;
[0067] If the parsed preset tag number is 01, it means that the Bluetooth data packet comes from Bluetooth chip 2;
[0068] If the parsed preset tag number is 10, it means that the Bluetooth data packet comes from Bluetooth chip 3;
[0069] If the parsed preset tag number is 11, it means that the Bluetooth data packet comes from the Bluetooth chip 4.
[0070] The Bluetooth chip 30 to which the Bluetooth data packet belongs is determined by a preset tag number, and the Bluetooth protocol stack upper layer module 10 transmits the parsed data to an upper layer application.
[0071] It can be understood that the above embodiment is only used to illustrate the preset mark bit in the Bluetooth data packet, and is not limited to a unique position. According to the inventive concept of this embodiment, selecting other positions as the preset mark bit also belongs to the inventive concept of this embodiment.
[0072] This embodiment pre-stores preset fields corresponding to Bluetooth data packets of different data types, thereby enabling recognition of multiple Bluetooth data packets and improving system versatility.
[0073] In some embodiments of a multi-Bluetooth chip control system, the multi-Bluetooth driver module 20 includes at least two serial interfaces, such as UART interfaces, each of which is connected to a Bluetooth chip 30. It will be appreciated that in actual products, once multiple Bluetooth chips 30 are connected to the same multi-Bluetooth driver module 20, the correspondence between the Bluetooth chips 30 and the serial interfaces is determined. The multi-Bluetooth driver module 20 can then determine the corresponding Bluetooth chip 30 based on which serial interface the Bluetooth data packet originates from.
[0074] In a preferred embodiment, referring to FIG2 , this embodiment provides a smart device comprising a multi-Bluetooth chip control system as described in the above embodiment. Alternatively, the smart device includes but is not limited to smart vehicle-mounted devices, smart furniture, smart mobile devices, etc.
[0075] In some embodiments, the smart device is connected to at least two Bluetooth peripherals, each of which is simultaneously connected to the smart device. The Bluetooth peripherals are external devices with Bluetooth functionality. Alternatively, the Bluetooth peripherals include, but are not limited to, Bluetooth headsets, Bluetooth display modules, Bluetooth sensors, and Bluetooth handheld terminals.
[0076] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.
[0077] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.
[0078] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0079] The above embodiments are intended only to illustrate the technical concepts and features of the present invention. Their purpose is to enable those skilled in the art to understand the present invention and implement it accordingly. They are not intended to limit the scope of protection of the present invention. All equivalent variations and modifications within the scope of the claims of the present invention are intended to be covered by the claims of the present invention.
Claims
1. A multi-Bluetooth chip control system, characterized in that: It comprises a Bluetooth protocol stack upper layer module (10), a multi-Bluetooth driver module (20) and at least two Bluetooth chips (30), wherein the Bluetooth protocol stack upper layer module (10) is connected to each of the Bluetooth chips (30) via the multi-Bluetooth driver module (20); The multi-Bluetooth driver module (20) receives a Bluetooth data packet sent by the Bluetooth chip (30), adds a preset tag number to the Bluetooth data packet, and transmits the Bluetooth data packet to the Bluetooth protocol stack upper layer module (10), wherein the preset tag number corresponds to the Bluetooth chip (30) one by one; the Bluetooth protocol stack upper layer module (10) parses the preset tag number of the Bluetooth data packet and determines the Bluetooth chip (30) to which the Bluetooth data packet belongs based on the preset tag number; The Bluetooth protocol stack upper layer module (10) sends a Bluetooth data packet containing the preset tag number to the multi-Bluetooth driver module (20), and the multi-Bluetooth driver module (20) parses the preset tag number of the Bluetooth data packet and sends the Bluetooth data packet to the Bluetooth chip (30) corresponding to the preset tag number.
2. The multi-Bluetooth chip control system according to claim 1, characterized in that: The multi-Bluetooth driver module (20) sets the preset field of the Bluetooth data packet to the preset tag number, and the Bluetooth protocol stack upper layer module (10) parses the preset field to obtain the preset tag number of the Bluetooth data packet; The Bluetooth protocol stack upper layer module (10) sets the preset field of the Bluetooth data packet as the preset tag number, and the multi-Bluetooth driver module (20) parses the preset field to obtain the preset tag number of the Bluetooth data packet.
3. The multi-Bluetooth chip control system according to claim 2, characterized in that: The Bluetooth protocol stack upper layer module (10) restores the preset field to preset data after parsing the preset tag number of the Bluetooth data packet from the preset field; The multi-Bluetooth driver module (20) restores the preset field to preset data after parsing the preset tag number of the Bluetooth data packet from the preset field.
4. The multi-Bluetooth chip control system according to claim 2, characterized in that: The Bluetooth protocol stack upper layer module (10) and the multi-Bluetooth driver module (20) identify the data type of the Bluetooth data packet before parsing the Bluetooth data packet, and determine the position of the preset field according to the data type, and the data type and the preset field have a one-to-one correspondence.
5. The multi-Bluetooth chip control system according to claim 4, characterized in that: The preset fields are the 8th byte and the 9th byte of the header of the Bluetooth data packet; or The preset fields are the 14th byte and the 15th byte of the packet header of the Bluetooth data packet.
6. The multi-Bluetooth chip control system according to claim 2, characterized in that: The preset field is located in the packet header of the Bluetooth data packet.
7. The multi-Bluetooth chip control system according to claim 1, characterized in that: The Bluetooth protocol stack upper layer module (10) and the multi-Bluetooth driver module (20) store a corresponding relationship between the preset marking number and the Bluetooth chip (30).
8. The multi-Bluetooth chip control system according to claim 1, characterized in that: The multi-Bluetooth driver module (20) comprises at least two serial interfaces, each of which is connected to one of the Bluetooth chips (30).
9. A smart device, characterized in that: The invention comprises a multi-Bluetooth chip control system as claimed in any one of claims 1 to 8.
10. The smart device according to claim 9, wherein: The smart device is connected to at least two Bluetooth peripherals, and each of the Bluetooth peripherals is simultaneously connected to the smart device.
Citation Information
Patent Citations
Centralized remote medical data acquisition system
CN108769265A
Bluetooth pairing method supporting identity authentication, security chip and Bluetooth module
CN113329386A
Multi-Bluetooth driving method, device and equipment, medium and vehicle
CN115442781A
Multi-Bluetooth chip control system and intelligent device
CN117793683A
Method for expanding blue-tooth chip
CN1741407A