Communication chip, bluetooth communication device and data transmission method
By designing a communication chip with multiple transmission units, the simultaneous connection and data transmission with multiple Bluetooth devices is achieved, and the problem of low data transmission efficiency in the prior art is solved, and the efficiency and success rate of data transmission are improved.
Patent Information
- Application Number
- CN202210303099.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-24
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-03-24
AI Technical Summary
The existing communication chips can only transmit data with one Bluetooth communication device at the same time, resulting in low data transmission efficiency.
A communication chip is designed, including multiple transmission units, which can establish Bluetooth communication links with multiple Bluetooth communication devices in response to the connection instructions of the Bluetooth host, and transmit data through these links to realize multi-link communication.
It significantly improves the efficiency of data transmission, can transmit data with multiple Bluetooth communication devices simultaneously, and enhances the success rate and throughput of data transmission.
Smart Images

Figure CN114745705B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a communication chip, a Bluetooth communication device, and a data transmission method. Background Art
[0002] Any communication chip can establish a Bluetooth communication link with a Bluetooth communication device, thereby performing data transmission with the Bluetooth communication device based on the Bluetooth communication link. However, in the related art, any communication chip can only perform data transmission with one Bluetooth communication device at a time, so the data transmission efficiency is low. Summary of the invention
[0003] The embodiment of the present application provides a communication chip, a Bluetooth communication device and a data transmission method, which can improve the data transmission efficiency. The technical solution is as follows:
[0004] According to one aspect of an embodiment of the present application, a communication chip is provided, the communication chip comprising a control unit and a plurality of transmission units;
[0005] The control unit is configured to:
[0006] In response to a connection instruction from the Bluetooth host, controlling the plurality of transmission units to respectively establish Bluetooth communication links with corresponding Bluetooth communication devices;
[0007] Each of the transmission units is configured as:
[0008] Data is transmitted with the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link.
[0009] According to another aspect of an embodiment of the present application, a Bluetooth communication device is provided, the Bluetooth communication device comprising a Bluetooth host and a communication chip, the communication chip comprising a control unit and a plurality of transmission units;
[0010] The control unit is configured to:
[0011] In response to a connection instruction from the Bluetooth host, controlling the plurality of transmission units to respectively establish Bluetooth communication links with corresponding Bluetooth communication devices;
[0012] Each of the transmission units is configured as:
[0013] Data is transmitted with the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link.
[0014] According to another aspect of an embodiment of the present application, a data transmission method is provided, the method being performed by a Bluetooth communication device, the Bluetooth communication device comprising a Bluetooth host and a communication chip, the communication chip comprising a control unit and a plurality of transmission units; the method comprising:
[0015] The control unit controls the plurality of transmission units to establish Bluetooth communication links with corresponding Bluetooth communication devices respectively in response to a connection instruction from the Bluetooth host;
[0016] Each of the transmission units performs data transmission with the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link.
[0017] According to another aspect of an embodiment of the present application, a communication chip is provided, the communication chip comprising a plurality of Bluetooth cores, each of the Bluetooth cores comprising a first control unit and a transmission unit;
[0018] The first control unit is configured to:
[0019] In response to a connection instruction from a Bluetooth host, controlling the transmission unit in the same Bluetooth kernel to establish a Bluetooth communication link with a corresponding Bluetooth communication device;
[0020] The transmission unit is configured as follows:
[0021] Data is transmitted with the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link.
[0022] According to another aspect of an embodiment of the present application, a Bluetooth communication device is provided, the Bluetooth communication device comprising a Bluetooth host and a communication chip, the communication chip comprising a plurality of Bluetooth cores, each of the Bluetooth cores comprising a first control unit and a transmission unit;
[0023] The first control unit is configured to:
[0024] In response to a connection instruction from the Bluetooth host, controlling the transmission unit in the same Bluetooth kernel to establish a Bluetooth communication link with a corresponding Bluetooth communication device;
[0025] The transmission unit is configured as follows:
[0026] Data is transmitted with the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link.
[0027] According to another aspect of an embodiment of the present application, a data transmission method is provided, the method being performed by a Bluetooth communication device, the Bluetooth communication device comprising a Bluetooth host and a communication chip, the communication chip comprising a plurality of Bluetooth cores, each of the Bluetooth cores comprising a first control unit and a transmission unit; the method comprising:
[0028] The first control unit controls the transmission unit in the same Bluetooth kernel to establish a Bluetooth communication link with the corresponding Bluetooth communication device in response to a connection instruction from the Bluetooth host;
[0029] The transmission unit performs data transmission with the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link.
[0030] According to another aspect of an embodiment of the present application, a Bluetooth communication device is provided, the Bluetooth communication device comprising a Bluetooth host and a plurality of communication chips connected to the Bluetooth host, each of the communication chips comprising a first control unit and a transmission unit;
[0031] Each of the first control units is configured to:
[0032] In response to a connection instruction from the Bluetooth host, controlling each of the transmission units to establish a Bluetooth communication link with a corresponding Bluetooth communication device;
[0033] Any of the first control units is further configured to:
[0034] Determine the frequency band corresponding to each of the transmission units, and send the frequency band corresponding to each of the transmission units to each of the first control units respectively;
[0035] Each of the first control units is further configured to:
[0036] Instruct each of the transmission units to perform data transmission on a corresponding frequency band based on the corresponding Bluetooth communication link.
[0037] According to another aspect of an embodiment of the present application, a data transmission method is provided, the method being performed by a Bluetooth communication device, the Bluetooth communication device comprising a Bluetooth host and a plurality of communication chips connected to the Bluetooth host, each of the communication chips comprising a first control unit and a transmission unit; the method comprising:
[0038] Each of the first control units controls each of the transmission units to establish a Bluetooth communication link with a corresponding Bluetooth communication device in response to a connection instruction from the Bluetooth host;
[0039] Any of the first control units determines a frequency band corresponding to each of the transmission units, and sends the frequency band corresponding to each of the transmission units to each of the first control units respectively;
[0040] Each of the first control units instructs each of the transmission units to perform data transmission on a corresponding frequency band based on the corresponding Bluetooth communication link.
[0041] According to another aspect of an embodiment of the present application, a Bluetooth communication device is provided, the Bluetooth communication device comprising a plurality of Bluetooth hosts and communication chips respectively connected to the plurality of Bluetooth hosts, each of the communication chips comprising a first control unit and a transmission unit;
[0042] Each of the first control units is configured to:
[0043] In response to a connection instruction from the connected Bluetooth host, control each of the transmission units to establish a Bluetooth communication link with a corresponding Bluetooth communication device;
[0044] Any of the first control units is further configured to:
[0045] Determine a frequency band corresponding to each of the transmission units, and send the frequency band corresponding to each of the transmission units to each of the first control units;
[0046] Each of the first control units is further configured to:
[0047] Instruct each of the transmission units to perform data transmission on a corresponding frequency band based on a corresponding Bluetooth communication link.
[0048] According to another aspect of an embodiment of the present application, a data transmission method is provided, the method being performed by a Bluetooth communication device, the Bluetooth communication device comprising a plurality of Bluetooth hosts and communication chips respectively connected to the plurality of Bluetooth hosts, each of the communication chips comprising a first control unit and a transmission unit; the method comprising:
[0049] Each of the first control units controls each of the transmission units to establish a Bluetooth communication link with a corresponding Bluetooth communication device in response to a connection instruction from the connected Bluetooth host;
[0050] Any of the first control units determines a frequency band corresponding to each of the transmission units, and sends the frequency band corresponding to each of the transmission units to each of the first control units respectively;
[0051] Each of the first control units instructs each of the transmission units to perform data transmission on a corresponding frequency band based on a corresponding Bluetooth communication link.
[0052] In the technical solution provided in the embodiment of the present application, the communication chip includes multiple transmission units. Then, the communication chip can establish Bluetooth communication links with multiple Bluetooth communication devices based on the multiple transmission units, and transmit data with the multiple Bluetooth communication devices through the established multiple Bluetooth communication links, that is, multi-link communication is realized, thereby greatly improving the efficiency of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0054] Figure 1A schematic diagram of a communication chip provided by an exemplary embodiment of the present application is shown;
[0055] Figure 2 A schematic diagram of a Bluetooth communication device provided by an exemplary embodiment of the present application is shown;
[0056] Figure 3 A flowchart of a data transmission method provided by an exemplary embodiment of the present application is shown;
[0057] Figure 4 A schematic diagram of another communication chip provided by an exemplary embodiment of the present application is shown;
[0058] Figure 5 A schematic diagram of another communication chip provided by an exemplary embodiment of the present application is shown;
[0059] Figure 6 A schematic diagram of another Bluetooth communication device provided by an exemplary embodiment of the present application is shown;
[0060] Figure 7 A schematic diagram of another Bluetooth communication device provided by an exemplary embodiment of the present application is shown;
[0061] Figure 8 A flowchart of another data transmission method provided by an exemplary embodiment of the present application is shown;
[0062] Fig. 9 A schematic diagram of another Bluetooth communication device provided by an exemplary embodiment of the present application is shown;
[0063] Fig.10 A schematic diagram of a multi-link data transmission process provided by an exemplary embodiment of the present application is shown;
[0064] Fig.11 A schematic diagram showing another multi-link data transmission process provided by an exemplary embodiment of the present application is shown;
[0065] Fig.12 A schematic diagram showing another multi-link data transmission process provided by an exemplary embodiment of the present application is shown;
[0066] Fig.13 A schematic diagram showing another multi-link data transmission process provided by an exemplary embodiment of the present application is shown;
[0067] Fig.14 A flowchart of another data transmission method provided by an exemplary embodiment of the present application is shown;
[0068] Fig.15A schematic diagram of another Bluetooth communication device provided by an exemplary embodiment of the present application is shown;
[0069] Fig.16 A flowchart of yet another data transmission method provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION
[0070] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0071] In this article, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0072] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the data transmitted between communication chips or Bluetooth communication devices in this application are all obtained with full authorization.
[0073] Figure 1 1 is a schematic diagram of a communication chip 100 provided in an embodiment of the present application. Figure 1 The communication chip 100 includes a control unit 101 and a plurality of transmission units 102 ( Figure 1 In the figure, two transmission units 102 are taken as an example), wherein the control unit 101 is connected to each transmission unit 102 of the multiple transmission units 102 respectively.
[0074] The control unit 101 controls the multiple transmission units 102 to establish Bluetooth communication links with corresponding Bluetooth communication devices in response to the connection instruction from the Bluetooth host, and then each transmission unit 102 performs data transmission with the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link.
[0075] Among them, the Bluetooth host is used to issue instructions to the control unit 101, and the control unit 101 responds to the instruction and performs the operation corresponding to the instruction. For example, if the instruction is a connection instruction, then the control unit 101 responds to the connection instruction and controls the transmission unit 102 to establish a Bluetooth communication link with the corresponding Bluetooth communication device. For example, if the instruction is a data sending instruction, then the control unit 101 responds to the data sending instruction, obtains the data to be sent, and instructs the transmission unit 102 to send the data based on the established Bluetooth communication link. Optionally, the Bluetooth host is located in the CPU (Central Processing Unit) of the Bluetooth communication device. Optionally, the control unit 101 is an LC (Link Controller) or other control unit 101. Optionally, any transmission unit 102 includes a PHY (Physical Layer) and an RF (Radio Frequency) module. Among them, PHY is used to encode or decode data transmitted between communication chips 100. The RF module is used to send or receive data.
[0076] Optionally, the control unit 101 controls at least two transmission units 102 corresponding to the connection instruction to establish Bluetooth communication links with corresponding Bluetooth communication devices respectively in response to a connection instruction from the Bluetooth host.
[0077] Optionally, the connection instruction includes unit identifiers of at least two transmission units 102 and connection information of a Bluetooth communication device corresponding to each unit identifier, wherein the unit identifier indicates that the transmission unit 102 to which it belongs needs to establish a Bluetooth communication link. Accordingly, for any unit identifier, the control unit 101 controls the transmission unit 102 to which the unit identifier belongs to establish a Bluetooth communication link with the Bluetooth communication device based on the connection information of the Bluetooth communication device corresponding to the unit identifier. For example, the control unit 101 controls the transmission unit 102 to send a connection request to the Bluetooth communication device based on the connection information of the Bluetooth communication device, and the Bluetooth communication device establishes a Bluetooth communication link with the transmission unit 102 when receiving the connection request.
[0078] After multiple transmission units 102 respectively establish a Bluetooth communication link with a Bluetooth communication device, the communication chip 100 can simultaneously transmit data with multiple Bluetooth communication devices based on the established multiple Bluetooth communication links. For example, the Bluetooth host sends a data sending instruction to the control unit 101, and the data sending instruction carries multiple data to be sent, and the Bluetooth communication device corresponding to each data to be sent. Accordingly, for any data to be sent, the control unit 101 forwards the data to be sent to the corresponding transmission unit 102, that is, the transmission unit 102 that has established a Bluetooth communication link with the Bluetooth communication device corresponding to the data to be sent, and the transmission unit 102 sends the received data to the connected opposite communication chip based on the established Bluetooth communication link. For another example, when any transmission unit 102 receives data sent by the corresponding Bluetooth communication device, it sends the data to the control unit 101, and the control unit 101 forwards the data to the Bluetooth host so that the Bluetooth host processes the data.
[0079] Optionally, any two transmission units 102 in the communication chip 100 are connected to each other, so that data exchange between the two transmission units 102 is convenient. Figure 1 , wherein two transmission units 102 are connected, so the two transmission units 102 can share current data transmission power, data receiving power, etc. with each other.
[0080] In a possible implementation, the control unit 101 determines the frequency bands corresponding to the multiple transmission units 102, and instructs each transmission unit 102 to perform data transmission on the corresponding frequency band based on the corresponding Bluetooth communication link, so that the interference between the multiple transmission units 102 during data transmission can be effectively reduced, and the success rate of data transmission can be improved. Optionally, the control unit 101 performs this step when receiving a data sending instruction. The control unit 101 determines the frequency band corresponding to the transmission unit 102 within the ISM (Industrial Scientific Medical) frequency band. The ISM frequency band includes 2402MHz to 2480MHz.
[0081] Optionally, for any transmission unit 102 among the multiple transmission units 102, the control unit 101 determines the frequency band corresponding to the transmission unit 102 based on the AFH (Adaptive Frequency Hopping) algorithm, that is, the frequency band used by the Bluetooth communication link established by the transmission unit 102 when performing data transmission. Optionally, the AFH algorithms corresponding to the multiple transmission units 102 are independent of each other, that is, for any transmission unit 102, the control unit 101 determines the frequency band corresponding to the transmission unit 102 without considering the frequency bands corresponding to other transmission units 102. Optionally, the AFH algorithms corresponding to the multiple transmission units 102 are coordinated, that is, when the control unit 101 determines the frequency band corresponding to any transmission unit 102, it determines the frequency band corresponding to another transmission unit 102 from other frequency bands outside the frequency band, and so on, until the frequency band corresponding to each transmission unit 102 is determined. Optionally, the AFH algorithms corresponding to the multiple transmission units 102 are the same, that is, when the control unit 101 determines the frequency band corresponding to any transmission unit 102, the frequency band is used as the frequency band corresponding to other transmission units 102. The above AFH algorithm is only an exemplary description. In other embodiments, other frequency hopping algorithms can also be used, and the embodiments of the present application do not limit this.
[0082] Optionally, after determining the frequency bands corresponding to the multiple transmission units 102, the control unit 101 sends the corresponding frequency bands to each transmission unit 102, and each transmission unit 102 receives the corresponding frequency band, and based on the established Bluetooth communication link, performs data transmission with the corresponding Bluetooth communication device on the corresponding frequency band. That is, data transmission is performed by frequency division multiplexing.
[0083] In one possible implementation, after determining the frequency bands corresponding to multiple transmission units 102, the control unit 101 instructs the transmission units 102 corresponding to two different frequency bands with a frequency band interval to send data in an asynchronous mode. In this way, there is no need to align the data sending times of the transmission units 102 corresponding to the two different frequency bands, thereby reducing the complexity of data transmission.
[0084] Optionally, the control unit 101 determines the frequency band interval between every two frequency bands, and when any frequency band interval satisfies the interval condition, instructs the transmission units 102 corresponding to the two frequency bands with the frequency band interval to send data in an asynchronous mode, wherein the asynchronous mode is a mode in which the data sending moments of the transmission units 102 corresponding to the two frequency bands are independent of each other. Wherein, the frequency band interval satisfies the interval condition, indicating that the frequency band interval is large. Optionally, the interval condition is that the frequency band interval is greater than or equal to the reference interval. The reference interval can be set to any value as needed, and the embodiment of the present application does not limit this.
[0085] Optionally, the transmission unit 102 that sends data in an asynchronous mode includes a first transmission unit and a second transmission unit, and the control unit 101 instructs the first transmission unit and the second transmission unit to send data in an asynchronous mode in the following manner: the control unit 101 determines the data sending time corresponding to the first transmission unit and the data sending time corresponding to the second transmission unit, respectively, and the data sending time corresponding to the first transmission unit and the data sending time corresponding to the second transmission unit are the same or different. After receiving the corresponding data sending time, the first transmission unit and the second transmission unit send data at the corresponding data sending time.
[0086] In an embodiment of the present application, the frequency band interval between the two frequency bands satisfies the interval condition, indicating that the frequency band interval between the two frequency bands is large, and data is transmitted on the two frequency bands, and the degree of interference between the two frequency bands is small. In this case, the transmission units 102 corresponding to the two frequency bands are controlled to send data in asynchronous mode, and there is no need to align the time when the two transmission units 102 send data. Under the premise of ensuring the quality of data transmission, the complexity of data transmission is reduced.
[0087] In another possible implementation, after determining the frequency bands corresponding to multiple transmission units 102, the control unit 101 instructs the transmission units 102 corresponding to two different frequency bands with a frequency band interval to send data in a synchronous mode. In this way, when the frequency band interval between the frequency bands corresponding to the two transmission units 102 is small, the degree of interference between the two frequency bands when data is transmitted on the two frequency bands can be effectively reduced, thereby improving the success rate of data transmission.
[0088] Optionally, the control unit 101 determines the frequency band interval between every two frequency bands, and when any frequency band interval does not meet the interval condition, instructs the transmission units 102 corresponding to the two frequency bands with the frequency band interval to send data in a synchronous mode, wherein the synchronous mode is a mode in which the data sending moments of the transmission units 102 corresponding to the two frequency bands are the same. The fact that the frequency band interval does not meet the interval condition indicates that the frequency band interval is small.
[0089] Optionally, the control unit 101 controls the transmission units 102 corresponding to the two frequency bands to send data in a synchronous mode as follows: the control unit 101 determines the data sending time, and then sends the data sending time to the transmission units 102 corresponding to the two frequency bands respectively, and after any transmission unit 102 receives the data sending time, it sends data at the data sending time.
[0090] One point that needs to be explained is that, since the data transmission power is much greater than the data reception power, if the frequency band interval between the two frequency bands is small and the data transmission times of the transmission units 102 corresponding to the two frequency bands are different, then when one of the transmission units 102 has sent data to the corresponding Bluetooth communication device and the Bluetooth communication device is sending response data, if the Bluetooth communication device corresponding to the other transmission unit 102 is receiving data, then the Bluetooth communication device will be affected by the data transmission power of the other Bluetooth communication device and will be unable to receive data or will receive data incorrectly. Therefore, in an embodiment of the present application, when the frequency band interval between the two frequency bands does not meet the interval condition, controlling the transmission units 102 corresponding to the two frequency bands to send data in a synchronous mode can effectively reduce the degree of interference between the two frequency bands when data is transmitted on the two frequency bands, thereby improving the success rate of data transmission.
[0091] The method for determining the data sending mode corresponding to the above-mentioned transmission unit 102 is only an exemplary description. In other embodiments, the data sending mode corresponding to the transmission unit 102 can also be determined by other methods. For example, the control unit 101 instructs the corresponding transmission unit 102 with the same frequency band to send data in a synchronous mode.
[0092] In a possible implementation, the control unit 101 uses a first frequency hopping algorithm on the first Bluetooth communication link, and uses a second frequency hopping algorithm on the second Bluetooth communication link, and the first frequency hopping algorithm and the second frequency hopping algorithm work together so that: the first frequency band corresponding to the first Bluetooth communication link and the second frequency band corresponding to the second Bluetooth communication link maintain a frequency band interval. Among them, the first Bluetooth communication link and the second Bluetooth communication link are Bluetooth communication links established by two different transmission units 102 respectively. The first frequency band corresponding to the first Bluetooth communication link is the frequency band used by the first Bluetooth communication link when performing data transmission. The second frequency band corresponding to the second Bluetooth communication link is the frequency band used by the second Bluetooth communication link when performing data transmission. The first frequency hopping algorithm and the second frequency hopping algorithm are arbitrary frequency hopping algorithms, and the embodiments of the present application do not limit this.
[0093] In an embodiment of the present application, taking into account that the frequency band interval between two frequency bands will affect the transmission quality of data on the two frequency bands, a first frequency hopping algorithm is used on the first Bluetooth communication link, and a second frequency hopping algorithm is used on the second Bluetooth communication link so that the first frequency band corresponding to the first Bluetooth communication link and the second frequency band corresponding to the second Bluetooth communication link maintain a frequency band interval, thereby avoiding the change in the frequency band interval between the first frequency band and the second frequency band affecting the data transmission quality of the first Bluetooth communication link and the second Bluetooth communication link.
[0094] In a possible implementation, the transmission unit 102 that sends data in a synchronous mode includes a first transmission unit and a second transmission unit. In the case of continuous data transmission, the transmission unit 102 that first sends a frame of data must wait for another transmission unit 102 to send a frame of data before sending the next frame of data. That is, the control unit 101 instructs the first transmission unit and the second transmission unit to send data at the same sending time, respectively. In the case that the first transmission unit successfully sends a frame of data, the control unit 101 controls the first transmission unit to stop sending data until the second transmission unit successfully sends a frame of data, and instructs the first transmission unit and the second transmission unit to send the next frame of data.
[0095] Among them, the transmission unit 102 successfully sends a frame of data means that after the transmission unit 102 sends a frame of data, it receives a first response signal returned by the Bluetooth communication device corresponding to the transmission unit 102, and the first response signal indicates that the Bluetooth communication device successfully receives the frame of data. For example, the first response signal is an ACK (Acknowledgement) signal. After the transmission unit 102 sends a frame of data to the corresponding Bluetooth communication device, due to channel quality problems, the Bluetooth communication device may not receive the frame of data. In this case, the Bluetooth communication device will return a second response signal to the transmission unit 102, and the second response signal indicates that the Bluetooth communication device has not received the frame of data. In this case, the transmission unit 102 will resend the frame of data to the Bluetooth communication device until the first response signal returned by the Bluetooth communication device is received, which indicates that the transmission unit 102 successfully sends a frame of data. For example, the second response signal is a NACK (Negative Acknowledgement) signal. There is another situation. After the transmission unit 102 sends a frame of data to the corresponding Bluetooth communication device, if no response signal is received from the Bluetooth communication device within a preset time period, the transmission unit 102 will resend the frame of data to the Bluetooth communication device, and so on, until the first response signal returned by the Bluetooth communication device is received, which indicates that the transmission unit 102 has successfully sent a frame of data.
[0096] In an embodiment of the present application, after the first transmission unit successfully sends a frame of data before the second transmission unit, it is very likely that the second transmission unit has retransmitted data. In this case, instructing the first transmission unit to wait for the second transmission unit to successfully send a frame of data before sending the next frame of data can avoid the sending of the next frame of data interfering with the data retransmission of the second transmission unit, thereby improving the success rate of data transmission.
[0097] Optionally, the data sending instruction sent by the Bluetooth host to the control unit 101 carries multiple frames of data corresponding to the first transmission unit and multiple frames of data corresponding to the second transmission unit, wherein one frame of data is data sent once by the transmission unit 102, and the one frame of data can also be called a data packet. The length of the one frame of data corresponding to the first transmission unit is the same as or different from the length of the one frame of data corresponding to the second transmission unit. For example, the length of the one frame of data corresponding to the first transmission unit is 2 bytes, and the length of the one frame of data corresponding to the second transmission unit is 1 byte. In addition, the length of the multiple frames of data corresponding to any transmission unit 102 is the same or different. For example, the length of the first frame of data corresponding to the first transmission unit is 2 bytes, and the length of the corresponding second frame of data is 1 byte. This embodiment of the present application does not limit this.
[0098] The technical solution provided by the embodiment of the present application can establish a link with at least two Bluetooth communication devices and perform data transmission for a Bluetooth communication device equipped with the communication chip 100, and the success rate of data transmission is high when the interference in the ISM band is small. From the perspective of the Bluetooth communication device equipped with the communication chip 100, the data throughput rate of the Bluetooth communication device itself is doubled, that is, large data volume communication based on the Bluetooth communication link is realized, such as video, picture and high-fidelity audio transmission. Optionally, the Bluetooth communication device equipped with the communication chip 100 is a low-power Bluetooth communication device.
[0099] In the technical solution provided in the embodiment of the present application, the communication chip 100 includes multiple transmission units 102. Then, the communication chip 100 can establish Bluetooth communication links with multiple Bluetooth communication devices based on the multiple transmission units 102, and transmit data with the multiple Bluetooth communication devices through the established multiple Bluetooth communication links, that is, multi-link communication is realized, thereby greatly improving the efficiency of data transmission.
[0100] In an embodiment of the present application, the control unit 101 determines the frequency bands corresponding to the multiple transmission units 102, and instructs each transmission unit 102 to perform data transmission on the corresponding frequency band based on the established Bluetooth communication link. This can effectively reduce the degree of interference between the multiple transmission units 102 during data transmission and improve the success rate of data transmission.
[0101] In an embodiment of the present application, after determining the frequency bands corresponding to multiple transmission units 102, the control unit 101 instructs the transmission units 102 corresponding to two different frequency bands with a frequency band interval to send data in an asynchronous mode. In this way, there is no need to align the data sending times of the transmission units 102 corresponding to the two different frequency bands, thereby reducing the complexity of data transmission.
[0102] In an embodiment of the present application, after determining the frequency bands corresponding to multiple transmission units 102, the control unit 101 instructs the transmission units 102 corresponding to two different frequency bands with a frequency band interval to send data in a synchronous mode. In this way, when the frequency band interval between the frequency bands corresponding to the two transmission units is small, the degree of interference between the two frequency bands when data is transmitted on the two frequency bands can be effectively reduced, thereby improving the success rate of data transmission.
[0103] In an embodiment of the present application, taking into account that the frequency band interval between two frequency bands will affect the transmission quality of data on the two frequency bands, a first frequency hopping algorithm is used on the first Bluetooth communication link, and a second frequency hopping algorithm is used on the second Bluetooth communication link so that the first frequency band corresponding to the first Bluetooth communication link and the second frequency band corresponding to the second Bluetooth communication link maintain a frequency band interval, thereby avoiding the change in the frequency band interval between the first frequency band and the second frequency band affecting the data transmission quality of the first Bluetooth communication link and the second Bluetooth communication link.
[0104] In an embodiment of the present application, after the first transmission unit successfully sends a frame of data before the second transmission unit, it is very likely that the second transmission unit has retransmitted data. In this case, instructing the first transmission unit to wait for the second transmission unit to successfully send a frame of data before sending the next frame of data can avoid the sending of the next frame of data interfering with the data retransmission of the second transmission unit, thereby improving the success rate of data transmission.
[0105] Figure 2 2 is a schematic diagram of a Bluetooth communication device 200 provided in an embodiment of the present application. Figure 2 The Bluetooth communication device 200 includes a Bluetooth host 201 and a communication chip, and the communication chip includes a control unit 202 and a plurality of transmission units 203 ( Figure 2 In the example, two transmission units 203 are used. The Bluetooth host 201 is connected to the control unit 202 in the communication chip, and the control unit 202 is connected to each of the multiple transmission units 203. The communication chip is Figure 1 The communication chip shown.
[0106] The control unit 202 controls the multiple transmission units 203 to establish Bluetooth communication links with the corresponding Bluetooth communication devices in response to the connection instruction from the Bluetooth host 201. Then, each transmission unit 203 performs data transmission with the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link. Figure 1 The embodiments shown will not be described in detail here.
[0107] Figure 3is a schematic diagram of a data transmission method provided by an embodiment of the present application. The data transmission method is executed by a Bluetooth communication device, the Bluetooth communication device includes a Bluetooth host and a communication chip, and the communication chip includes a control unit and multiple transmission units. Figure 3 , the method comprising:
[0108] 301. The Bluetooth communication device controls a plurality of transmission units to establish Bluetooth communication links with corresponding Bluetooth communication devices respectively in response to a connection instruction from a Bluetooth host through a control unit.
[0109] 302. The Bluetooth communication device transmits data with a corresponding Bluetooth communication device through each transmission unit based on a corresponding Bluetooth communication link.
[0110] For the implementation of steps 301-302, please refer to the above Figure 1 The embodiments shown will not be described in detail here.
[0111] Figure 4 4 is a schematic diagram of a communication chip 400 provided in an embodiment of the present application. Figure 4 The communication chip 400 includes a plurality of Bluetooth cores 401 ( Figure 4 In the example of two Bluetooth cores 401, each Bluetooth core 401 includes a first control unit 402 and a transmission unit 403, and the first control unit 402 is connected to the transmission unit 403. Optionally, any two Bluetooth cores 401 are connected, for example Figure 4 The two Bluetooth cores in 401 are connected.
[0112] The first control unit 402 controls the transmission unit 403 in the same Bluetooth core to establish a Bluetooth communication link with the corresponding Bluetooth communication device in response to the connection instruction from the Bluetooth host. Then the transmission unit 403 performs data transmission with the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link.
[0113] The Bluetooth host is used to send connection instructions to at least two first control units 402 respectively, and the first control unit 402 that receives the connection instruction controls the transmission unit 403 in the same Bluetooth core to establish a Bluetooth communication link with the corresponding Bluetooth communication device based on the connection instruction. Optionally, the connection instruction sent by the Bluetooth host to any first control unit 402 includes the connection information of a Bluetooth communication device, and accordingly, the first control unit 402 that receives the connection instruction controls the transmission unit 403 in the same Bluetooth core to establish a Bluetooth communication link with a Bluetooth communication device based on the connection information in the connection instruction. For example, the first control unit 402 that receives the connection instruction controls the transmission unit 403 to send a connection request to a Bluetooth communication device based on the connection information in the connection instruction, and the Bluetooth communication device establishes a Bluetooth communication link with the transmission unit 403 when receiving the connection request.
[0114] After the transmission units 403 corresponding to the at least two first control units 402 respectively establish a Bluetooth communication link with a Bluetooth communication device, the communication chip 400 can simultaneously transmit data with at least two Bluetooth communication devices based on the at least two established Bluetooth communication links. For example, the Bluetooth host simultaneously sends a data transmission instruction to at least two first control units 402, and the data transmission instruction carries the data to be sent. Accordingly, the first control unit 402 that receives the data transmission instruction forwards the data carried by the data transmission instruction to the transmission unit 403 in the same Bluetooth core, and the transmission unit 403 sends the received data to the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link. For another example, when any transmission unit 403 receives data sent by a Bluetooth communication device, it sends the data to the first control unit 402 in the same Bluetooth core, and the first control unit 402 forwards the data to the Bluetooth host so that the Bluetooth host processes the data.
[0115] Optionally, the first control units 402 in two connected Bluetooth cores 401 in the communication chip 400 are connected to each other, so as to facilitate data exchange between the first control units 402 in the two Bluetooth cores 401. Optionally, the transmission units 403 in two connected Bluetooth cores 401 in the communication chip 400 are connected to each other, so as to facilitate data exchange between the transmission units 403 in the two Bluetooth cores 401.
[0116] In a possible implementation, the first control unit 402 further determines the frequency band corresponding to the transmission unit 403 in the same Bluetooth core, and instructs the transmission unit 403 to perform data transmission on the frequency band corresponding to the transmission unit 403 based on the corresponding Bluetooth communication link, which can effectively reduce the degree of interference between multiple transmission units 403 when performing data transmission, and improve the success rate of data transmission. Optionally, the first control unit 402 performs this step when receiving a data transmission instruction from the Bluetooth host.
[0117] Optionally, each first control unit 402 determines the frequency band corresponding to the corresponding transmission unit 403 based on the AFH algorithm, that is, the frequency band used by the Bluetooth communication link established by the transmission unit 403 for data transmission. Optionally, the AFH algorithms used by the multiple first control units 402 are independent, that is, each first control unit 402 determines the frequency band of the transmission unit 403 in the same Bluetooth core without considering the frequency bands determined by other control units. Optionally, the AFH algorithms corresponding to multiple first control units 402 are coordinated, that is, when any first control unit 402 determines the frequency band of the corresponding transmission unit 403, it sends the determined frequency band to another first control unit 402, and the first control unit 402 that receives the frequency band determines the frequency band of the transmission unit 403 in the same Bluetooth core from other frequency bands outside the frequency band. Then, the first control unit 402 sends the two determined frequency bands to another first control unit 402, and the first control unit 402 that receives the frequency band determines the frequency band of the transmission unit 403 in the same Bluetooth core from other frequency bands outside the two frequency bands, and so on, until each first control unit 402 determines the frequency band of the transmission unit 403 in the same Bluetooth core. Optionally, each first control unit 402 among the multiple first control units 402 uses the same AFH algorithm, that is, when any first control unit 402 determines the frequency band of the corresponding transmission unit 403, it sends the frequency band to other first control units 402, and the first control unit 402 that receives the frequency band uses the frequency band as the frequency band of the transmission unit 403 in the same Bluetooth core.
[0118] Optionally, each first control unit 402 sends the frequency band corresponding to each transmission unit 403 to each transmission unit 403 respectively, and then each transmission unit 403 performs data transmission on the corresponding frequency band based on the corresponding Bluetooth communication link.
[0119] In one possible implementation, reference Figure 5The communication chip 400 further includes a second control unit 404, which is respectively connected to the plurality of Bluetooth cores 401 in the communication chip 400. Optionally, the second control unit 404 is respectively connected to the first control unit 402 in each Bluetooth core 401.
[0120] After determining the frequency band, each first control unit 402 sends the determined frequency band to the second control unit 404. The second control unit 404 determines the data transmission mode of each transmission unit 403 based on the received frequency band, and sends the data transmission mode of each transmission unit 403 to each first control unit 402 respectively, and then each first control unit 402 instructs each transmission unit 403 to send data in the data transmission mode. Among them, for any transmission unit 403, the second control unit 404 sends the data transmission mode of the transmission unit 403 to the first control unit 402 in the same Bluetooth core as the transmission unit 403. Considering that different data transmission modes have different requirements for frequency band intervals, the second control unit 404 determines the data transmission mode of each transmission unit 403 based on the frequency band corresponding to each transmission unit 403, and sends the data transmission mode of each transmission unit 403 to each first control unit 402, so that each first control unit 402 instructs each transmission unit 403 to send data in the data transmission mode, which can improve the success rate of data transmission.
[0121] Optionally, the second control unit 404 determines the frequency band interval between every two frequency bands, and based on the frequency band interval between every two frequency bands, determines the data transmission mode of each transmission unit 403. The data transmission mode includes an asynchronous mode and a synchronous mode, and the asynchronous mode is a mode in which the data transmission time of each transmission unit 403 is independent. The synchronous mode is a mode in which the data transmission time of multiple transmission units 403 is the same.
[0122] In an embodiment of the present application, taking into account that different data sending modes have different requirements for frequency band intervals, the second control unit 404 determines the data sending mode of each transmission unit 403 based on the frequency band interval between each two frequency bands, and sends the data sending mode of each transmission unit 403 to each first control unit 402, so that each first control unit 402 instructs each transmission unit 403 to send data in this data sending mode, thereby improving the success rate of data sending.
[0123] In one possible implementation, the second control unit 404 determines that the data sending mode of the transmission unit 403 corresponding to two different frequency bands with a frequency band interval is an asynchronous mode, so that there is no need to align the data sending times of the transmission units 403 corresponding to the two different frequency bands, thereby reducing the complexity of data transmission.
[0124] Optionally, when any frequency band interval satisfies the interval condition, the second control unit 404 determines that the data transmission mode of the transmission units corresponding to the two frequency bands with the frequency band interval is an asynchronous mode, and the asynchronous mode is a mode in which the data transmission moments of the transmission units 403 corresponding to the two frequency bands are independent of each other. Among them, the frequency band interval satisfies the interval condition, indicating that the frequency band interval is large. Optionally, the interval condition is that the frequency band interval is greater than or equal to the reference interval. The reference interval can be set to any value as needed, and the embodiment of the present application does not limit this.
[0125] Optionally, the transmission unit that sends data in asynchronous mode includes a first transmission unit and a second transmission unit, and the implementation method of the first transmission unit and the second transmission unit sending data in asynchronous mode is: the third control unit determines the data sending time of the first transmission unit, and sends the data sending time to the first transmission unit, the fourth control unit determines the data sending time of the second transmission unit, and sends the data sending time to the second transmission unit, the first transmission unit and the second transmission unit respectively send data when the received data is sent, wherein the third control unit is the first control unit in the same Bluetooth core as the first transmission unit, and the fourth control unit is the first control unit in the same Bluetooth core as the second transmission unit.
[0126] In an embodiment of the present application, the frequency band interval between any two frequency bands satisfies the interval condition, indicating that the frequency band interval between the two frequency bands is large, and data is transmitted on the two frequency bands, and the degree of interference between the two frequency bands is small. In this case, the transmission units 403 corresponding to the two frequency bands are controlled to send data in asynchronous mode, and there is no need to align the moments when the two transmission units 403 send data. Under the premise of ensuring the quality of data transmission, the complexity of data transmission is reduced.
[0127] In one possible implementation, the second control unit 404 determines that the data sending mode of the transmission unit corresponding to two different frequency bands with a frequency band interval is a synchronous mode. In this way, when the frequency band interval between the frequency bands corresponding to the two transmission units 403 is small, the interference level between the two frequency bands during data transmission on the two frequency bands can be effectively reduced, thereby improving the success rate of data transmission.
[0128] Optionally, when any frequency band interval does not satisfy the interval condition, the second control unit 404 determines that the data transmission mode of the transmission unit 403 corresponding to the two frequency bands having the frequency band interval is a synchronous mode, and the synchronous mode is a mode in which the data transmission time of the transmission units corresponding to the two frequency bands is the same. The frequency band interval not satisfying the interval condition indicates that the frequency band interval is small.
[0129] Optionally, the transmission unit that sends data in a synchronous mode includes a first transmission unit and a second transmission unit, and the first transmission unit and the second transmission unit send data in a synchronous mode in the following manner: the third control unit determines the target sending time and sends the target sending time to the fourth control unit, or the fourth control unit determines the target sending time and sends the target sending time to the third control unit, the third control unit sends the target sending time to the first transmission unit, the fourth control unit sends the target sending time to the second transmission unit, and then the first transmission unit and the second transmission unit send data at the target sending time respectively. The third control unit is the first control unit in the same Bluetooth core as the first transmission unit, and the fourth control unit is the first control unit in the same Bluetooth core as the second transmission unit.
[0130] One point that needs to be explained is that, since the data transmission power is much greater than the data reception power, if the frequency band interval between the two frequency bands is small and the data transmission times of the transmission units 403 corresponding to the two frequency bands are different, then when one of the transmission units 403 has sent data to the corresponding Bluetooth communication device and the Bluetooth communication device is sending response data, if the Bluetooth communication device corresponding to the other transmission unit 403 is receiving data, then the Bluetooth communication device is affected by the data transmission power of the other Bluetooth communication device and will be unable to receive data or will receive data incorrectly. Therefore, in an embodiment of the present application, when the frequency band interval between the two frequency bands does not meet the interval condition, the transmission units 403 corresponding to the two frequency bands are instructed to send data in a synchronous mode, which can effectively reduce the degree of interference between the two frequency bands when data is transmitted on the two frequency bands, thereby improving the success rate of data transmission.
[0131] The method for determining the data sending mode corresponding to the above-mentioned transmission unit 403 is only an exemplary description. In other embodiments, the data sending mode corresponding to the transmission unit 403 can also be determined by other methods. For example, the second control unit 404 determines that the data sending mode of the transmission unit 403 with the same corresponding frequency band is a synchronous mode.
[0132] In a possible implementation, the third control unit uses a first frequency hopping algorithm on the first Bluetooth communication link, and the fourth control unit uses a second frequency hopping algorithm on the second Bluetooth communication link, and the first frequency hopping algorithm and the second frequency hopping algorithm work together so that: the first frequency band corresponding to the first Bluetooth communication link and the second frequency band corresponding to the second Bluetooth communication link maintain a frequency band interval. Among them, the first Bluetooth communication link and the second Bluetooth communication link are Bluetooth communication links established by two different transmission units 403 respectively. The third control unit and the fourth control unit are any first control units in the communication chip. For example, the third control unit and the fourth control unit are respectively the first control units in the same Bluetooth kernel as the two different transmission units 403. The first frequency band corresponding to the first Bluetooth communication link is the frequency band used by the first Bluetooth communication link when performing data transmission. The second frequency band corresponding to the second Bluetooth communication link is the frequency band used by the second Bluetooth communication link when performing data transmission. The first frequency hopping algorithm and the second frequency hopping algorithm are arbitrary frequency hopping algorithms, and the embodiments of the present application do not limit this.
[0133] In an embodiment of the present application, taking into account that the frequency band interval between two frequency bands will affect the transmission quality of data on the two frequency bands, a first frequency hopping algorithm is used on the first Bluetooth communication link, and a second frequency hopping algorithm is used on the second Bluetooth communication link so that the first frequency band corresponding to the first Bluetooth communication link and the second frequency band corresponding to the second Bluetooth communication link maintain a frequency band interval, thereby avoiding the change in the frequency band interval between the first frequency band and the second frequency band affecting the data transmission quality of the first Bluetooth communication link and the second Bluetooth communication link.
[0134] In a possible implementation, the transmission unit 403 that sends data in a synchronous mode includes a first transmission unit and a second transmission unit. In the case of continuous data transmission, the transmission unit 403 that first sends a frame of data in the first transmission unit and the second transmission unit must wait for the other transmission unit 403 to send a frame of data before sending the next frame of data. Taking the first transmission unit successfully sending a frame of data as an example, the third control unit instructs the first transmission unit to send a frame of data at the target sending time, and the third control unit is the first control unit in the same Bluetooth core as the first transmission unit. The fourth control unit instructs the second transmission unit to send a frame of data at the target sending time, and the fourth control unit is the first control unit in the same Bluetooth core as the second transmission unit. The third control unit sends a success notification to the fourth control unit when the first transmission unit successfully sends a frame of data, and instructs the first transmission unit to stop sending data. The fourth control unit receives the success notification, and sends the success notification to the third control unit when the second transmission unit successfully sends a frame of data, and instructs the second transmission unit to send the next frame of data. The third control unit instructs the first transmission unit to send the next frame of data when receiving the success notification from the fourth control unit.
[0135] Optionally, the data transmission instruction sent by the Bluetooth host to each first control unit 402 carries multiple frames of data. Each first control unit 402 forwards the multiple frames of data to the transmission unit 403 in the same Bluetooth core.
[0136] The transmission unit 403 successfully sending a frame of data means that after the transmission unit 403 sends a frame of data, it receives a first response signal returned by the Bluetooth communication device corresponding to the transmission unit 403, and the first response signal indicates that the Bluetooth communication device successfully receives the frame of data.
[0137] In an embodiment of the present application, after the first transmission unit successfully sends a frame of data before the second transmission unit, it is very likely that the second transmission unit has retransmitted data. In this case, instructing the first transmission unit to wait for the second transmission unit to successfully send a frame of data before sending the next frame of data can avoid the sending of the next frame of data interfering with the data retransmission of the second transmission unit, thereby improving the success rate of data transmission.
[0138] In the technical solution provided in the embodiment of the present application, the communication chip 400 includes multiple Bluetooth cores 401, and each Bluetooth core 401 includes a first control unit 402 and a transmission unit 403. Then, the communication chip 400 can control each transmission unit 403 to establish a Bluetooth communication link with a Bluetooth communication device based on each first control unit 402, and transmit data with multiple Bluetooth communication devices through the established multiple Bluetooth communication links, that is, multi-link communication is realized, thereby greatly improving the efficiency of data transmission.
[0139] In an embodiment of the present application, the first control unit 402 also determines the frequency band of the transmission unit 403 in the same Bluetooth core, and instructs the transmission unit 403 to perform data transmission on the frequency band corresponding to the transmission unit 403 based on the corresponding Bluetooth communication link. This can effectively reduce the degree of interference between multiple transmission units 403 during data transmission and improve the success rate of data transmission.
[0140] In the embodiment of the present application, taking into account that different data sending modes have different requirements for frequency band intervals, the second control unit 404 determines the data sending mode of each transmission unit 403 based on the frequency band corresponding to each transmission unit 403, and sends the data sending mode of each transmission unit 403 to each first control unit 402, so that each first control unit 402 controls each transmission unit 403 to send data in the data sending mode, which can improve the success rate of data sending.
[0141] In an embodiment of the present application, the second control unit 404 determines that the data sending mode of the transmission unit 403 corresponding to two different frequency bands with a frequency band interval is an asynchronous mode, so that there is no need to align the data sending times of the transmission units 403 corresponding to the two different frequency bands when sending data, thereby reducing the complexity of data transmission.
[0142] In an embodiment of the present application, the second control unit 404 determines that the data sending mode of the transmission unit corresponding to two different frequency bands with a frequency band interval is a synchronous mode. In this way, when the frequency band interval between the frequency bands corresponding to the two transmission units 403 is small, the degree of interference between the two frequency bands during data transmission on the two frequency bands can be effectively reduced, thereby improving the success rate of data transmission.
[0143] In an embodiment of the present application, after the first transmission unit successfully sends a frame of data before the second transmission unit, it is very likely that the second transmission unit has retransmitted data. In this case, instructing the first transmission unit to wait for the second transmission unit to successfully send a frame of data before sending the next frame of data can avoid the sending of the next frame of data interfering with the data retransmission of the second transmission unit, thereby improving the success rate of data transmission.
[0144] Figure 6is a schematic diagram of a Bluetooth communication device 600 provided in an embodiment of the present application. Figure 6 The Bluetooth communication device 600 includes a Bluetooth host 601 and a communication chip, and the communication chip includes a plurality of Bluetooth cores 602 ( Figure 6 In the example of two Bluetooth cores 602, each Bluetooth core 602 includes a first control unit and a transmission unit, and the first control unit is connected to the transmission unit. Optionally, any two Bluetooth cores 602 are connected, for example Figure 6 The two Bluetooth cores 602 in are connected.
[0145] The first control unit controls the transmission unit in the same Bluetooth kernel to establish a Bluetooth communication link with the corresponding Bluetooth communication device in response to the connection instruction from the Bluetooth host 601. Then the transmission unit performs data transmission with the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link. For specific implementation methods, please refer to the above Figure 4 and Figure 5 The embodiments shown will not be described in detail here.
[0146] In one possible implementation, reference Figure 7 The Bluetooth communication device 600 further includes a second control unit 603, which is connected to the Bluetooth host 601 and multiple Bluetooth cores 602. The second control unit 603 is used to determine the data transmission mode of each transmission unit. Figure 4 and Figure 5 The embodiments shown will not be described in detail here.
[0147] Figure 8 is a schematic diagram of a data transmission method provided by an embodiment of the present application. The method is executed by a Bluetooth communication device, the Bluetooth communication device includes a Bluetooth host and a communication chip, the communication chip includes multiple Bluetooth cores, each Bluetooth core includes a first control unit and a transmission unit. Figure 8 , the method comprising:
[0148] 801. The Bluetooth communication device controls a transmission unit in the same Bluetooth kernel to establish a Bluetooth communication link with a corresponding Bluetooth communication device via a first control unit in response to a connection instruction from a Bluetooth host.
[0149] 802. The Bluetooth communication device transmits data with a corresponding Bluetooth communication device through a transmission unit based on a corresponding Bluetooth communication link.
[0150] For the implementation of steps 801-802, please refer to the above Figure 4 and Figure 5 The embodiments shown will not be described in detail here.
[0151] Fig. 9is a schematic diagram of a Bluetooth communication device 900 provided in an embodiment of the present application. Fig. 9 The Bluetooth communication device 900 includes a Bluetooth host 901 and a plurality of communication chips 902 connected to the Bluetooth host 901. Each communication chip 902 includes a first control unit and a transmission unit. The first control unit is connected to the corresponding transmission unit.
[0152] Each first control unit controls each transmission unit to establish a Bluetooth communication link with the corresponding Bluetooth communication device in response to the connection instruction from the Bluetooth host 901; any first control unit also determines the frequency band corresponding to each transmission unit, and sends the frequency band corresponding to each transmission unit to each first control unit. Then, each first control unit instructs each transmission unit to perform data transmission with the corresponding Bluetooth communication device on the corresponding frequency band based on the corresponding Bluetooth communication link.
[0153] The Bluetooth host 901 is used to send connection instructions to each first control unit respectively, and the first control unit that receives the connection instruction controls the transmission unit in the same communication chip to establish a Bluetooth communication link with a Bluetooth communication device based on the connection instruction. Optionally, the connection instruction sent by the Bluetooth host 901 to each first control unit includes the connection information of a Bluetooth communication device, and accordingly, the first control unit that receives the connection instruction controls the transmission unit in the same communication chip to establish a Bluetooth communication link with a Bluetooth communication device based on the connection information in the connection instruction. For example, the first control unit that receives the connection instruction controls the transmission unit in the same communication chip to send a connection request to a Bluetooth communication device based on the connection information in the connection instruction, and the Bluetooth communication device establishes a Bluetooth communication link with the transmission unit when receiving the connection request.
[0154] Optionally, the first control units of any two communication chips 902 in the Bluetooth host 901 are connected. For example, Fig. 9 In the embodiment, the first control units in the two communication chips 902 are connected. Optionally, the multiple first control units in the Bluetooth communication device 900 perform data exchange to determine a first control unit for determining a frequency band corresponding to each transmission unit, wherein the first control unit for determining a frequency band corresponding to each transmission unit is any first control unit among the multiple first control units.
[0155] Optionally, any of the above-mentioned first control units determines the frequency band of each transmission unit based on the AFH algorithm, that is, the frequency band used by the Bluetooth communication link established by each transmission unit when performing data transmission. Optionally, the AFH algorithms corresponding to each transmission unit are independent, that is, for any transmission unit, the first control unit determines the frequency band of the transmission unit without considering the frequency bands of other transmission units. Optionally, the AFH algorithms corresponding to each transmission unit are coordinated, that is, when the first control unit determines the frequency band of any transmission unit, it determines the frequency band of another transmission unit from other frequency bands outside the frequency band, and so on, until the frequency band of each transmission unit is determined. Optionally, the AFH algorithms corresponding to each transmission unit are the same, that is, when the first control unit determines the frequency band of any transmission unit, it also uses the frequency band as the frequency band of other transmission units.
[0156] After each transmission unit establishes a Bluetooth communication link with a Bluetooth communication device respectively and determines the corresponding frequency band, the Bluetooth communication device 900 can simultaneously transmit data with multiple Bluetooth communication devices based on the Bluetooth communication link established by the transmission unit in each communication chip 902. For example, the Bluetooth host 901 sends a data transmission instruction to the first control unit of multiple communication chips 902 at the same time, and the data transmission instruction carries the data to be sent. Accordingly, the first control unit that receives the data transmission instruction forwards the data carried by the data transmission instruction to the transmission unit in the same communication chip, and the transmission unit sends the received data to the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link. For another example, when any transmission unit receives data sent by the connected Bluetooth communication device, it sends the data to the first control unit in the same communication chip, and the first control unit forwards the data to the Bluetooth host 901 so that the Bluetooth host 901 processes the data.
[0157] In a possible implementation, each communication chip also includes a second control unit. Any second control unit receives the frequency band from each first control unit, determines the data transmission mode of each transmission unit based on the received frequency band, sends the data transmission mode of each transmission unit to each first control unit respectively, and then each first control unit instructs each transmission unit to send data in the data transmission mode. Among them, for any transmission unit, the second control unit sends the data transmission mode of the transmission unit to the first control unit in the same communication chip as the transmission unit. Taking into account that different data transmission modes have different requirements for frequency band intervals, the second control unit determines the data transmission mode of each transmission unit based on the frequency band corresponding to each transmission unit, and sends the data transmission mode of each transmission unit to each first control unit, so that each first control unit instructs each transmission unit to send data in the data transmission mode, which can improve the success rate of data transmission.
[0158] Optionally, the second control unit determines the frequency band interval between every two frequency bands, determines the data transmission mode of each transmission unit based on the frequency band interval between every two frequency bands, and sends the data transmission mode of each transmission unit to each first control unit respectively; then each first control unit instructs each transmission unit to send data in the data transmission mode. The data transmission mode includes an asynchronous mode and a synchronous mode, and the asynchronous mode is a mode in which the data transmission time of each transmission unit is independent. The synchronous mode is a mode in which the data transmission time of multiple transmission units is the same.
[0159] Optionally, the second control units of any two communication chips 902 in the Bluetooth host 901 are connected. For example, Fig. 9 In the embodiment, the second control units in the two communication chips 902 are connected. Optionally, the multiple second control units in the Bluetooth communication device 900 perform data exchange to determine the second control unit for determining the data transmission mode of each transmission unit, wherein the second control unit for determining the data transmission mode of each transmission unit is any second control unit among the multiple second control units. Optionally, after each first control unit obtains the frequency band of the corresponding transmission unit, it sends the frequency band to the second control unit in the same communication chip, and the second control unit forwards the frequency band to the second control unit for determining the data transmission mode of each transmission unit.
[0160] Optionally, after any of the above-mentioned second control units determines the data sending mode of each transmission unit, it sends the data sending mode of each transmission unit to the second control unit in the same communication chip as each transmission unit, and each second control unit forwards the received data sending mode to the first control unit in the same communication chip.
[0161] In an embodiment of the present application, taking into account that different data sending modes have different requirements for frequency band intervals, the second control unit determines the data sending mode of each transmission unit based on the frequency band interval between each two frequency bands, and sends the data sending mode of each transmission unit to each first control unit, so that each first control unit instructs each transmission unit to send data in the data sending mode, thereby improving the success rate of data sending.
[0162] In a possible implementation, any of the above-mentioned second control units determines that the data sending mode of the transmission units corresponding to two different frequency bands with a frequency band interval is an asynchronous mode, so that there is no need to align the data sending times of the transmission units corresponding to the two different frequency bands, thereby reducing the complexity of data transmission.
[0163] Optionally, when any frequency band interval satisfies the interval condition, the second control unit determines that the data transmission mode of the transmission units corresponding to the two frequency bands with the frequency band interval is an asynchronous mode, and the asynchronous mode is a mode in which the data transmission moments of the two transmission units are independent of each other. Among them, the frequency band interval satisfies the interval condition, indicating that the frequency band interval is large. Optionally, the interval condition is that the frequency band interval is greater than or equal to the reference interval. The reference interval can be set to any value as needed, and the embodiment of the present application does not limit this.
[0164] Optionally, the transmission unit that sends data in asynchronous mode includes a first transmission unit and a second transmission unit, and the implementation method of the first transmission unit and the second transmission unit sending data in asynchronous mode is: the third control unit determines the data sending time of the first transmission unit, and sends the data sending time to the first transmission unit, the fourth control unit determines the data sending time of the second transmission unit, and sends the data sending time to the second transmission unit, the first transmission unit and the second transmission unit respectively send data when the received data is sent, wherein the third control unit is the first control unit in the same communication chip as the first transmission unit, and the fourth control unit is the first control unit in the same communication chip as the second transmission unit.
[0165] In an embodiment of the present application, the frequency band interval between any two frequency bands satisfies the interval condition, indicating that the frequency band interval between the two frequency bands is large, and data is transmitted on the two frequency bands, and the degree of interference between the two frequency bands is small. In this case, the transmission units corresponding to the two frequency bands are controlled to send data in asynchronous mode, and there is no need to align the time when the two transmission units send data. Under the premise of ensuring the quality of data transmission, the complexity of data transmission is reduced.
[0166] In one possible implementation, any of the above-mentioned second control units determines that the data sending mode of the transmission unit corresponding to two different frequency bands with a frequency band interval is a synchronous mode. In this way, when the frequency band interval between the frequency bands corresponding to the two transmission units is small, the degree of interference between the two frequency bands during data transmission on the two frequency bands can be effectively reduced, thereby improving the success rate of data transmission.
[0167] Optionally, when any frequency band interval does not satisfy the interval condition, the second control unit determines that the data transmission mode of the transmission units corresponding to the two frequency bands with the frequency band interval is a synchronous mode, and the synchronous mode is a mode in which the data transmission time of the two transmission units is the same. The frequency band interval not satisfying the interval condition indicates that the frequency band interval is small.
[0168] Optionally, the transmission unit that sends data in a synchronous mode includes a first transmission unit and a second transmission unit, and the first transmission unit and the second transmission unit send data in a synchronous mode in the following manner: the third control unit determines the target sending time and sends the target sending time to the fourth control unit, or the fourth control unit determines the target sending time and sends the target sending time to the third control unit, the third control unit sends the target sending time to the first transmission unit, the fourth control unit sends the target sending time to the second transmission unit, and then the first transmission unit and the second transmission unit send data at the target sending time respectively. The third control unit is a first control unit in the same communication chip as the first transmission unit, and the fourth control unit is a first control unit in the same communication chip as the second transmission unit.
[0169] One point that needs to be explained is that, since the data transmission power is much greater than the data reception power, if the frequency band interval between the two frequency bands is small and the data transmission times of the transmission units corresponding to the two frequency bands are different, then when one of the transmission units has sent data to the corresponding Bluetooth communication device and the Bluetooth communication device is sending response data, if the Bluetooth communication device corresponding to the other transmission unit is receiving data, then the Bluetooth communication device will be affected by the data transmission power of the other Bluetooth communication device and will be unable to receive data or will receive data incorrectly. Therefore, in an embodiment of the present application, when the frequency band interval between the two frequency bands does not meet the interval condition, the transmission units corresponding to the two frequency bands are instructed to send data in a synchronous mode, which can effectively reduce the degree of interference between the two frequency bands when data is transmitted on the two frequency bands, thereby improving the success rate of data transmission.
[0170] The method of determining the data sending mode corresponding to the above-mentioned transmission unit is only an exemplary description. In other embodiments, the data sending mode corresponding to the transmission unit can also be determined by other methods. For example, the second control unit determines that the data sending mode of the transmission unit with the same corresponding frequency band is a synchronous mode.
[0171] In a possible implementation, the third control unit uses a first frequency hopping algorithm on the first Bluetooth communication link, and the fourth control unit uses a second frequency hopping algorithm on the second Bluetooth communication link, and the first frequency hopping algorithm and the second frequency hopping algorithm work together so that: the first frequency band corresponding to the first Bluetooth communication link and the second frequency band corresponding to the second Bluetooth communication link maintain a frequency band interval. Among them, the first Bluetooth communication link and the second Bluetooth communication link are Bluetooth communication links established by two different transmission units respectively. The third control unit and the fourth control unit are any first control units in the Bluetooth communication device. For example, the third control unit and the fourth control unit are respectively the first control units in the same communication chip as the two different transmission units. The first frequency band corresponding to the first Bluetooth communication link is the frequency band used by the first Bluetooth communication link when performing data transmission. The second frequency band corresponding to the second Bluetooth communication link is the frequency band used by the second Bluetooth communication link when performing data transmission. The first frequency hopping algorithm and the second frequency hopping algorithm are arbitrary frequency hopping algorithms, and the embodiments of the present application do not limit this.
[0172] In an embodiment of the present application, taking into account that the frequency band interval between two frequency bands will affect the transmission quality of data on the two frequency bands, a first frequency hopping algorithm is used on the first Bluetooth communication link, and a second frequency hopping algorithm is used on the second Bluetooth communication link so that the first frequency band corresponding to the first Bluetooth communication link and the second frequency band corresponding to the second Bluetooth communication link maintain a frequency band interval, thereby avoiding the change in the frequency band interval between the first frequency band and the second frequency band affecting the data transmission quality of the first Bluetooth communication link and the second Bluetooth communication link.
[0173] In a possible implementation, a transmission unit that sends data in a synchronous mode includes a first transmission unit and a second transmission unit. In the case of continuous data transmission, the transmission unit that first sends a frame of data in the first transmission unit and the second transmission unit must wait for the other transmission unit to send a frame of data before sending the next frame of data. Taking the first transmission unit successfully sending a frame of data as an example, the third control unit instructs the first transmission unit to send a frame of data at a target sending time, and the third control unit is the first control unit in the same communication chip as the first transmission unit. The fourth control unit instructs the second transmission unit to send a frame of data at the target sending time, and the fourth control unit is the first control unit in the same communication chip as the second transmission unit; the third control unit sends a success notification to the fourth control unit when the first transmission unit successfully sends a frame of data, and instructs the first transmission unit to stop sending data; the fourth control unit receives the success notification, and sends the success notification to the third control unit when the second transmission unit successfully sends a frame of data, and instructs the second transmission unit to send the next frame of data; the third control unit instructs the first transmission unit to send the next frame of data when receiving the success notification from the fourth control unit.
[0174] Optionally, the data transmission instruction sent by the Bluetooth host 901 to the first control unit of each communication chip 902 carries multiple frames of data. Each first control unit forwards the multiple frames of data to the transmission unit in the same communication chip.
[0175] The transmission unit successfully sending a frame of data means that after the transmission unit sends a frame of data, it receives a first response signal returned by the Bluetooth communication device corresponding to the transmission unit, and the first response signal indicates that the Bluetooth communication device successfully receives the frame of data.
[0176] In an embodiment of the present application, after the first transmission unit successfully sends a frame of data before the second transmission unit, it is very likely that the second transmission unit has retransmitted data. In this case, instructing the first transmission unit to wait for the second transmission unit to successfully send a frame of data before sending the next frame of data can avoid the sending of the next frame of data interfering with the data retransmission of the second transmission unit, thereby improving the success rate of data transmission.
[0177] In the technical solution provided in the embodiment of the present application, the Bluetooth communication device 900 includes multiple communication chips 902, each communication chip 902 includes a first control unit and a transmission unit, then the Bluetooth communication device 900 can instruct each transmission unit to establish a Bluetooth communication link with a Bluetooth communication device based on the first control unit in each communication chip 902, and respectively transmit data with multiple Bluetooth communication devices through the established multiple Bluetooth communication links, that is, multi-link communication is realized, thereby greatly improving the efficiency of data transmission. And determine the frequency band corresponding to each transmission unit, instruct each transmission unit to transmit data with the corresponding Bluetooth communication device on the corresponding frequency band based on the corresponding Bluetooth communication link, which can effectively reduce the interference between multiple transmission units when performing data transmission, and improve the success rate of data transmission.
[0178] In an embodiment of the present application, taking into account that different data sending modes have different requirements for frequency band intervals, the second control unit determines the data sending mode of each transmission unit based on the frequency band corresponding to each transmission unit, and sends the data sending mode of each transmission unit to each first control unit, so that the first control unit instructs each transmission unit to send data in the data sending mode, thereby improving the success rate of data sending.
[0179] In an embodiment of the present application, the second control unit determines that the data sending mode of the transmission unit corresponding to two different frequency bands with a frequency band interval is an asynchronous mode. In this way, there is no need to align the data sending times of the transmission units corresponding to the two different frequency bands when sending data, thereby reducing the complexity of data transmission.
[0180] In an embodiment of the present application, the second control unit determines that the data sending mode of the transmission unit corresponding to two different frequency bands with a frequency band interval is a synchronous mode. In this way, when the frequency band interval between the frequency bands corresponding to the two transmission units is small, the degree of interference between the two frequency bands during data transmission on the two frequency bands can be effectively reduced, thereby improving the success rate of data transmission.
[0181] In an embodiment of the present application, after the first transmission unit successfully sends a frame of data before the second transmission unit, it is very likely that the second transmission unit has retransmitted data. In this case, instructing the first transmission unit to wait for the second transmission unit to successfully send a frame of data before sending the next frame of data can avoid the sending of the next frame of data interfering with the data retransmission of the second transmission unit, thereby improving the success rate of data transmission.
[0182] Fig.10 is a schematic diagram of a multi-link data transmission process provided by an embodiment of the present application. Fig.10 , the master device includes multiple communication chips, wherein link 1 is established between communication chip 1 and the communication chip in slave device 1, and link 2 is established between communication chip 2 and the communication chip in slave device 2. The master device can send data to slave device 1 and slave device 2 based on link 1 and link 2 respectively. The length of the data sent by the master device to slave device 1 is the same as the length of the data sent to slave device 2, and the time of data transmission is also the same. After receiving the data, slave device 1 and slave device 2 respectively return a first response signal to the master device under the time condition of satisfying the frame interval, indicating that the data has been successfully received. Among them, the master device refers to the Bluetooth communication device that actively initiates the connection, and the slave device refers to the Bluetooth communication device that accepts the connection.
[0183] Fig.11 FIG. 1 is a schematic diagram of another multi-link data transmission process provided by an embodiment of the present application. Fig.11 , the master device includes multiple communication chips, wherein link 1 is established between communication chip 1 and the communication chip in slave device 1, and link 2 is established between communication chip 2 and the communication chip in slave device 2. The master device can send data to slave device 1 and slave device 2 based on link 1 and link 2 respectively. The length of the first frame of data sent by the master device to slave device 1 is different from the length of the first frame of data sent to slave device 2, but the data sending time is the same. After receiving the first frame of data, slave device 1 and slave device 2 respectively return a first response signal to the master device under the time condition of satisfying the frame interval, indicating that the data is successfully received. Then, the master device sends a second frame of data to slave device 1 and slave device 2 at the same time at another sending time, and the length of the second frame of data sent to slave device 1 is the same as the length of the second frame of data sent to slave device 2.
[0184] Fig.12FIG. 1 is a schematic diagram of another multi-link data transmission process provided by an embodiment of the present application. Fig.12 , the master device includes multiple communication chips, wherein a link 1 is established between the communication chip 1 and the communication chip in the slave device 1, and a link 2 is established between the communication chip 2 and the communication chip in the slave device 2. The master device can send data to the slave device 1 and the slave device 2 based on the link 1 and the link 2 respectively. The length of the data sent by the master device to the slave device 1 is the same as that of the data sent to the slave device 2, and the data is sent at the same time. After receiving the data, the slave device 2 returns a first response signal to the master device under the time condition of the frame interval, indicating that the data is successfully received. The slave device 1 does not receive the data, so it returns a second response signal to the master device, indicating that the data is not received. Under the time condition of the frame interval, the first response signal is returned to the master device, indicating that the data is successfully received. Then, the master device resends the data to the slave device 1, and then receives the first response signal returned from the slave device 1, indicating that the slave device successfully receives the data this time. In the process of the master device resending data to the slave device 1, the master device stops sending data to the slave device 2 to avoid interference with the data retransmission.
[0185] Fig.13 is a schematic diagram of a multi-link data transmission process provided by an embodiment of the present application. Fig.13 , the master device includes multiple communication chips, wherein link 1 is established between communication chip 1 and the communication chip in slave device 1, and link 2 is established between communication chip 2 and the communication chip in slave device 2. The master device can send data to slave device 1 and slave device 2 based on link 1 and link 2 respectively. The length of the data sent by the master device to slave device 1 is the same as that of the data sent to slave device 2, but the time of sending the data is independent of each other, that is, the time when the master device sends data to slave device 1 and slave device 2 each time does not need to be the same. After receiving data each time, slave device 1 and slave device 2 respectively return a first response signal to the master device under the time condition of satisfying the frame interval, indicating that the data has been successfully received this time.
[0186] Fig.14 is a schematic diagram of a data transmission method provided by an embodiment of the present application. The method is executed by a Bluetooth communication device, the Bluetooth communication device includes a Bluetooth host and multiple communication chips connected to the Bluetooth host, each communication chip includes a first control unit and a transmission unit; the method includes:
[0187] 1401. The Bluetooth communication device controls each transmission unit to establish a Bluetooth communication link with the corresponding Bluetooth communication device through each first control unit in response to a connection instruction from a Bluetooth host.
[0188] 1402. The Bluetooth communication device determines a frequency band corresponding to each transmission unit through any first control unit, and sends the frequency band corresponding to each transmission unit to each first control unit respectively.
[0189] 1403. The Bluetooth communication device instructs each transmission unit through each first control unit to perform data transmission on a corresponding frequency band based on a corresponding Bluetooth communication link.
[0190] For the implementation of steps 1401-1403, please refer to the above Fig. 9 The embodiments shown will not be described in detail here.
[0191] Fig.15 1 is a schematic diagram of a Bluetooth communication device 150 provided in an embodiment of the present application. The Bluetooth communication device 150 includes a plurality of Bluetooth hosts 151 ( Fig.15 Taking two Bluetooth hosts 151 as an example) and the communication chips 152 to which the multiple Bluetooth hosts 151 are respectively connected, each communication chip 152 includes a first control unit and a transmission unit, and the first control unit is connected to the transmission unit.
[0192] Each first control unit controls each transmission unit to establish a Bluetooth communication link with the corresponding Bluetooth communication device in response to a connection instruction from the connected Bluetooth host 151. Any first control unit determines the frequency band of each transmission unit and sends the frequency band of each transmission unit to each first control unit. Then each first control unit instructs each transmission unit to perform data transmission with the corresponding Bluetooth communication device on the corresponding frequency band based on the corresponding Bluetooth communication link.
[0193] For specific implementation methods, please refer to the above Fig. 9 The embodiments shown are not described in detail here. Fig.15 The Bluetooth communication device 150 is shown with Fig. 9 The difference of the Bluetooth communication device 900 shown is that: Fig.15 The Bluetooth communication device 150 shown includes multiple Bluetooth hosts 151, so each Bluetooth host 151 can send instructions to the connected communication chip 152 and exchange data with the connected communication chip 152. In addition, when any two communication chips 152 among the multiple communication chips 152 need to exchange data, the two communication chips 152 can send the data to be exchanged to the connected Bluetooth host 151, and the connected Bluetooth host 151 forwards the data to the Bluetooth host 151 connected to another communication chip 152, and then the Bluetooth host 151 forwards the data to the connected communication chip 152. Fig.15, the upper communication chip 152 sends the data to be sent to the lower communication chip 152 to the upper Bluetooth host 151, the upper Bluetooth host 151 forwards the data to the lower Bluetooth host 151, and the lower Bluetooth host 151 forwards the data to the lower communication chip 152. Optionally, multiple communication chips 152 in the Bluetooth communication device 150 are connected. For example, the upper communication chip 152 is connected to the lower communication chip 152, so the upper communication chip 152 and the lower communication chip 152 can directly interact with each other. Optionally, the first control unit in the upper communication chip 152 is connected to the first control unit in the lower communication chip 152. Optionally, in the case where both the upper communication chip 152 and the lower communication chip 152 include a second control unit, the second control unit in the upper communication chip 152 can be connected to the second control unit in the lower communication chip 152. Wherein, in the case where each communication chip 152 includes a second control unit, the first control unit and the second control unit in each communication chip 152 are connected.
[0194] In the technical solution provided by the embodiment of the present application, the Bluetooth communication device 150 includes multiple Bluetooth hosts 151 and communication chips 152 connected to each Bluetooth host 151, and each communication chip 152 includes a first control unit and a transmission unit. Then, the Bluetooth communication device 150 can control the transmission unit to establish a Bluetooth communication link with the corresponding Bluetooth communication device based on each Bluetooth host 151 instructing the first control unit in each communication chip 152, and respectively transmit data with multiple Bluetooth communication devices through the established multiple Bluetooth communication links, that is, multi-link communication is realized, thereby greatly improving the efficiency of data transmission. And determining the frequency band of each transmission unit, instructing each transmission unit to transmit data with the corresponding Bluetooth communication device on the corresponding frequency band based on the corresponding Bluetooth communication link, can effectively reduce the interference between multiple transmission units when performing data transmission, and improve the success rate of data transmission.
[0195] Fig.16 is a schematic diagram of a data transmission method provided by an embodiment of the present application. The method is executed by a Bluetooth communication device, the Bluetooth communication device includes multiple Bluetooth hosts and communication chips connected to the multiple Bluetooth hosts respectively, each communication chip includes a first control unit and a transmission unit; the method includes:
[0196] 1601. The Bluetooth communication device controls each transmission unit to establish a Bluetooth communication link with the corresponding Bluetooth communication device through each first control unit in response to a connection instruction from the connected Bluetooth host.
[0197] 1602. The Bluetooth communication device determines a frequency band corresponding to each transmission unit through any first control unit, and sends the frequency band corresponding to each transmission unit to each first control unit respectively.
[0198] 1603. The Bluetooth communication device instructs each transmission unit through each first control unit to perform data transmission on a corresponding frequency band based on a corresponding Bluetooth communication link.
[0199] For the implementation of steps 1601-1603, please refer to the above Fig. 9 and Fig.15 The embodiments shown will not be described in detail here.
[0200] It should be noted that the data transmitted between the above-mentioned Bluetooth communication devices or between communication chips can be any data, such as image data, audio data, video data, control data, etc. And these data are all authorized by the user. For example, the Bluetooth communication device displays a pop-up window, which includes the data to be sent. After the user performs a confirmation operation, the Bluetooth communication device sends the data to the opposite Bluetooth communication device. The above-mentioned Bluetooth communication device can be any device, such as a mobile phone, a computer, a vehicle terminal, a speaker, a computer, a watch, a household appliance, etc., and the embodiments of the present application do not limit this.
[0201] The multiple embodiments provided in this application can be combined in any manner, and the embodiments of this application are not limited in this regard.
[0202] The solution provided by the embodiment of the present application can be applied to the scene of playing music. For example, the user performs a connection operation on the mobile phone, controls the mobile phone (master device) through the solution provided by the embodiment of the present application, and respectively establishes a Bluetooth communication link with the headset (slave device) and the speaker (slave device). The mobile phone sends the music selected by the user to the headset and the speaker respectively based on the two established Bluetooth communication links, so that the headset and the speaker can play the music at the same time.
[0203] The solution provided by the embodiment of the present application can also be applied to the scenario of controlling home appliances. For example, the user performs a connection operation on the mobile phone, controls the mobile phone (master device) through the solution provided by the embodiment of the present application, and respectively establishes a Bluetooth communication link with the TV (slave device) and the washing machine (slave device). The mobile phone sends a user-determined control instruction to the TV based on the Bluetooth communication link established with the TV, such as a video switching instruction, to control the TV to switch the currently playing video. The mobile phone sends a user-determined control instruction to the TV based on the Bluetooth communication link established with the washing machine, such as a start instruction, to control the washing machine to start.
[0204] The embodiments of the present application can also be applied in other scenarios, which are not limited by the embodiments of the present application.
Claims
1. A communication chip, It is characterized in that The communication chip includes a control unit and a plurality of transmission units; The control unit is configured to: In response to a connection instruction from the Bluetooth host, controlling the plurality of transmission units to respectively establish Bluetooth communication links with corresponding Bluetooth communication devices; The control unit is also configured to: Determining frequency bands corresponding to the plurality of transmission units respectively; Instructing each of the transmission units to perform data transmission on a corresponding frequency band based on the corresponding Bluetooth communication link; determining a frequency band interval between every two frequency bands; In the case where any frequency band interval satisfies an interval condition, instructing the transmission units corresponding to the two different frequency bands having the frequency band interval to send data in an asynchronous mode, wherein the interval condition is that the frequency band interval is greater than or equal to the reference interval; Each of the transmission units is configured as: Data is transmitted with the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link.
2. The communication chip according to claim 1, It is characterized in that The control unit is also configured to: The transmission units corresponding to two different frequency bands with a frequency band interval are instructed to send data in a synchronous mode.
3. The communication chip according to claim 1 or 2, It is characterized in that The control unit is also configured to: Using a first frequency hopping algorithm on a first Bluetooth communication link and using a second frequency hopping algorithm on a second Bluetooth communication link; The first frequency hopping algorithm and the second frequency hopping algorithm work together to achieve: A first frequency band corresponding to the first Bluetooth communication link and a second frequency band corresponding to the second Bluetooth communication link maintain the frequency band interval.
4. The communication chip according to claim 2, It is characterized in that The transmission unit sending data in the synchronization mode includes a first transmission unit and a second transmission unit; The control unit is also configured to: Instruct the first transmission unit and the second transmission unit to send data at the same sending time respectively, and when the first transmission unit successfully sends a frame of data, instruct the first transmission unit to stop sending data until the second transmission unit successfully sends a frame of data, and instruct the first transmission unit and the second transmission unit to send the next frame of data.
5. A Bluetooth communication device, comprising a Bluetooth host and a communication chip, It is characterized in that The communication chip includes a control unit and a plurality of transmission units; The control unit is configured to: In response to a connection instruction from the Bluetooth host, controlling the plurality of transmission units to respectively establish Bluetooth communication links with corresponding Bluetooth communication devices; The control unit is also configured to: Determining frequency bands corresponding to the plurality of transmission units respectively; Instructing each of the transmission units to perform data transmission on a corresponding frequency band based on the corresponding Bluetooth communication link; determining a frequency band interval between every two frequency bands; In the case where any frequency band interval satisfies an interval condition, instructing the transmission units corresponding to the two different frequency bands having the frequency band interval to send data in an asynchronous mode, wherein the interval condition is that the frequency band interval is greater than or equal to the reference interval; Each of the transmission units is configured as: Data is transmitted with the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link.
6. A data transmission method, It is characterized in that The method is performed by a Bluetooth communication device, the Bluetooth communication device includes a Bluetooth host and a communication chip, the communication chip includes a control unit and a plurality of transmission units; the method includes: The control unit controls the plurality of transmission units to establish Bluetooth communication links with corresponding Bluetooth communication devices respectively in response to a connection instruction from the Bluetooth host; The control unit determines the frequency bands corresponding to the plurality of transmission units respectively; The control unit instructs each of the transmission units to perform data transmission on a corresponding frequency band based on the corresponding Bluetooth communication link; The control unit determines a frequency band interval between every two frequency bands; The control unit instructs the transmission units corresponding to the two different frequency bands having the frequency band interval to send data in an asynchronous mode when any frequency band interval satisfies an interval condition, and the interval condition is that the frequency band interval is greater than or equal to a reference interval; Each of the transmission units performs data transmission with the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link.
7. A communication chip, It is characterized in that The communication chip includes a plurality of Bluetooth cores, each of the Bluetooth cores includes a first control unit and a transmission unit, and the communication chip also includes a second control unit; The first control unit is configured to: In response to a connection instruction from a Bluetooth host, controlling the transmission unit in the same Bluetooth kernel to establish a Bluetooth communication link with a corresponding Bluetooth communication device; The first control unit is also configured to: Determining a frequency band corresponding to the transmission unit; Instructing the transmission unit to perform data transmission on a corresponding frequency band based on the corresponding Bluetooth communication link; Each of the first control units is further configured to: sending the determined frequency band to the second control unit; The second control unit is configured to: determining a frequency band spacing between every two frequency bands based on the received frequency bands; In the case where any frequency band interval satisfies the interval condition, determining that the data sending mode of the transmission unit corresponding to two different frequency bands having the frequency band interval is an asynchronous mode; Sending the data sending mode of each transmission unit to each first control unit respectively; Each of the first control units is further configured to: instructing each of the transmission units to send data in the data sending mode; The transmission unit is configured as follows: Data is transmitted with the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link.
8. The communication chip according to claim 7, It is characterized in that The second control unit is configured to: The data sending mode of the transmission unit corresponding to two different frequency bands with a frequency band interval is determined to be a synchronous mode.
9. The communication chip according to claim 7 or 8, It is characterized in that The third control unit is configured as: using a first frequency hopping algorithm on the first Bluetooth communication link; The fourth control unit is configured to: using a second frequency hopping algorithm on a second Bluetooth communication link; The third control unit and the fourth control unit are any first control unit in the communication chip, and the first frequency hopping algorithm and the second frequency hopping algorithm work together to make: A first frequency band corresponding to the first Bluetooth communication link and a second frequency band corresponding to the second Bluetooth communication link maintain the frequency band interval.
10. The communication chip according to claim 8, It is characterized in that The transmission unit sending data in the synchronization mode includes a first transmission unit and a second transmission unit; The third control unit is configured as: instructing the first transmission unit to send a frame of data at a target sending time, wherein the third control unit is a first control unit in the same Bluetooth core as the first transmission unit; The fourth control unit is configured to: instructing the second transmission unit to send a frame of data at the target sending time, wherein the fourth control unit is a first control unit in the same Bluetooth core as the second transmission unit; The third control unit is further configured to: When the first transmission unit successfully sends a frame of data, sending a success notification to the fourth control unit and instructing the first transmission unit to stop sending data; The fourth control unit is further configured to: receiving the success notification, and sending the success notification to the third control unit when the second transmission unit successfully sends a frame of data, and instructing the second transmission unit to send a next frame of data; The third control unit is further configured to: In case of receiving the success notification from the fourth control unit, the first transmission unit is instructed to send the next frame of data.
11. A Bluetooth communication device, comprising a Bluetooth host and a communication chip, It is characterized in that The communication chip includes a plurality of Bluetooth cores, each of the Bluetooth cores includes a first control unit and a transmission unit, and the communication chip also includes a second control unit; The first control unit is configured to: In response to a connection instruction from the Bluetooth host, controlling the transmission unit in the same Bluetooth kernel to establish a Bluetooth communication link with a corresponding Bluetooth communication device; The first control unit is also configured to: Determining a frequency band corresponding to the transmission unit; Instructing the transmission unit to perform data transmission on a corresponding frequency band based on the corresponding Bluetooth communication link; Each of the first control units is further configured to: sending the determined frequency band to the second control unit; The second control unit is configured to: determining a frequency band spacing between every two frequency bands based on the received frequency bands; In the case where any frequency band interval satisfies the interval condition, determining that the data sending mode of the transmission unit corresponding to two different frequency bands having the frequency band interval is an asynchronous mode; Sending the data sending mode of each transmission unit to each first control unit respectively; Each of the first control units is further configured to: instructing each of the transmission units to send data in the data sending mode; The transmission unit is configured as follows: Data is transmitted with the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link.
12. A data transmission method, It is characterized in that The method is performed by a Bluetooth communication device, the Bluetooth communication device includes a Bluetooth host and a communication chip, the communication chip includes a plurality of Bluetooth cores, each of the Bluetooth cores includes a first control unit and a transmission unit, and the communication chip also includes a second control unit; the method includes: The first control unit controls the transmission unit in the same Bluetooth kernel to establish a Bluetooth communication link with the corresponding Bluetooth communication device in response to a connection instruction from the Bluetooth host; The first control unit determines a frequency band corresponding to the transmission unit; The first control unit instructs the transmission unit to perform data transmission on a corresponding frequency band based on the corresponding Bluetooth communication link; Each of the first control units sends the determined frequency band to the second control unit; The second control unit determines a frequency band interval between every two frequency bands based on the received frequency bands; The second control unit determines that the data transmission mode of the transmission unit corresponding to two different frequency bands with the frequency band interval is an asynchronous mode when any frequency band interval satisfies the interval condition; The second control unit sends the data sending mode of each transmission unit to each of the first control units respectively; Each of the first control units instructs each of the transmission units to send data in the data sending mode; The transmission unit performs data transmission with the corresponding Bluetooth communication device based on the corresponding Bluetooth communication link.
13. A Bluetooth communication device, It is characterized in that The Bluetooth communication device comprises a Bluetooth host and a plurality of communication chips connected to the Bluetooth host, each of the communication chips comprises a first control unit and a transmission unit, and each of the communication chips further comprises a second control unit; Each of the first control units is configured to: In response to a connection instruction from the Bluetooth host, controlling each of the transmission units to establish a Bluetooth communication link with a corresponding Bluetooth communication device; Any of the first control units is further configured to: Determine the frequency band corresponding to each of the transmission units, and send the frequency band corresponding to each of the transmission units to each of the second control units respectively; Each of the first control units is further configured to: Instructing each of the transmission units to perform data transmission on a corresponding frequency band based on the corresponding Bluetooth communication link; Each of the second control units is configured to: receiving frequency bands from each of the first control units, and determining a frequency band interval between every two frequency bands based on the received frequency bands; In the case where any frequency band interval satisfies the interval condition, determining that the data sending mode of the transmission unit corresponding to two different frequency bands having the frequency band interval is an asynchronous mode; Sending the data sending mode of each transmission unit to each first control unit respectively; Each of the first control units is further configured to: Instruct each of the transmission units to send data in the data sending mode.
14. A Bluetooth communication device, It is characterized in that The Bluetooth communication device comprises a plurality of Bluetooth hosts and communication chips connected to the plurality of Bluetooth hosts respectively, each of the communication chips comprises a first control unit and a transmission unit, and each of the communication chips further comprises a second control unit; Each of the first control units is configured to: In response to a connection instruction from the connected Bluetooth host, control each of the transmission units to establish a Bluetooth communication link with a corresponding Bluetooth communication device; Any of the first control units is further configured to: Determine the frequency band corresponding to each of the transmission units, and send the frequency band corresponding to each of the transmission units to each of the first control units respectively; Each of the first control units is further configured to: Instructing each of the transmission units to perform data transmission on a corresponding frequency band based on a corresponding Bluetooth communication link; Any of the second control units is configured to: receiving frequency bands from each of the first control units, and determining a frequency band interval between every two frequency bands based on the received frequency bands; In the case where any frequency band interval satisfies the interval condition, determining that the data sending mode of the transmission unit corresponding to two different frequency bands having the frequency band interval is an asynchronous mode; Sending the data sending mode of each transmission unit to each first control unit respectively; Each of the first control units is further configured to: Instruct each of the transmission units to send data in the data sending mode.
15. The Bluetooth communication device according to claim 14, It is characterized in that Any of the second control units is configured to: The data sending mode of the transmission unit corresponding to two different frequency bands with a frequency band interval is determined to be a synchronous mode.
16. The Bluetooth communication device according to claim 14 or 15, It is characterized in that The third control unit is configured as: using a first frequency hopping algorithm on the first Bluetooth communication link; The fourth control unit is configured to: using a second frequency hopping algorithm on a second Bluetooth communication link; The third control unit and the fourth control unit are any first control units in the Bluetooth communication device, and the first frequency hopping algorithm and the second frequency hopping algorithm work together to make: A first frequency band corresponding to the first Bluetooth communication link and a second frequency band corresponding to the second Bluetooth communication link maintain the frequency band interval.
17. The Bluetooth communication device according to claim 15, It is characterized in that The transmission unit sending data in the synchronization mode includes a first transmission unit and a second transmission unit; The third control unit is configured as: instructing the first transmission unit to send a frame of data at a target sending time, wherein the third control unit is a first control unit in the same communication chip as the first transmission unit; The fourth control unit is configured to: instructing the second transmission unit to send a frame of data at the target sending time, wherein the fourth control unit is a first control unit in the same communication chip as the second transmission unit; The third control unit is further configured to: When the first transmission unit successfully sends a frame of data, sending a success notification to the fourth control unit and instructing the first transmission unit to stop sending data; The fourth control unit is further configured to: receiving the success notification, and sending the success notification to the third control unit when the second transmission unit successfully sends a frame of data, and instructing the second transmission unit to send a next frame of data; The third control unit is further configured to: In case of receiving the success notification from the fourth control unit, the first transmission unit is instructed to send the next frame of data.
18. A data transmission method, It is characterized in that The method is performed by a Bluetooth communication device, the Bluetooth communication device includes a Bluetooth host and a plurality of communication chips connected to the Bluetooth host, each of the communication chips includes a first control unit and a transmission unit, and each of the communication chips also includes a second control unit; the method includes: Each of the first control units controls each of the transmission units to establish a Bluetooth communication link with a corresponding Bluetooth communication device in response to a connection instruction from the Bluetooth host; Any of the first control units determines a frequency band corresponding to each of the transmission units, and sends the frequency band corresponding to each of the transmission units to each of the first control units respectively; Each of the first control units instructs each of the transmission units to perform data transmission on a corresponding frequency band based on the corresponding Bluetooth communication link; Each of the second control units receives the frequency bands from each of the first control units, and determines a frequency band interval between every two frequency bands based on the received frequency bands; Each of the second control units determines that the data transmission mode of the transmission unit corresponding to two different frequency bands having the frequency band interval is an asynchronous mode when any frequency band interval satisfies the interval condition; Each of the second control units sends a data sending mode of each of the transmission units to each of the first control units respectively; Each of the first control units instructs each of the transmission units to send data in the data sending mode.
19. A data transmission method, It is characterized in that The method is performed by a Bluetooth communication device, the Bluetooth communication device comprises a plurality of Bluetooth hosts and communication chips respectively connected to the plurality of Bluetooth hosts, each of the communication chips comprises a first control unit and a transmission unit, and each of the communication chips further comprises a second control unit; the method comprises: Each of the first control units controls each of the transmission units to establish a Bluetooth communication link with a corresponding Bluetooth communication device in response to a connection instruction from the connected Bluetooth host; Any of the first control units determines a frequency band corresponding to each of the transmission units, and sends the frequency band corresponding to each of the transmission units to each of the first control units respectively; Each of the first control units instructs each of the transmission units to perform data transmission on a corresponding frequency band based on a corresponding Bluetooth communication link; Each of the second control units receives the frequency bands from each of the first control units, and determines a frequency band interval between every two frequency bands based on the received frequency bands; Each of the second control units determines that the data transmission mode of the transmission unit corresponding to two different frequency bands having the frequency band interval is an asynchronous mode when any frequency band interval satisfies the interval condition; Each of the second control units sends a data sending mode of each of the transmission units to each of the first control units respectively; Each of the first control units instructs each of the transmission units to send data in the data sending mode.
