Data transmission method, system, chip, electronic device and storage medium

By using the ACL link connection and authentication mechanism in BLE technology, the problem that the first Bluetooth end cannot control the number of second Bluetooth ends that receive the BIG data stream is solved, which significantly improves the privacy and security of data stream transmission.

CN114143760BActive Publication Date: 2025-04-04SHENZHEN GOODIX TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111399650.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-08
Publication Date
2025-04-04
Estimated Expiration
2041-07-08

AI Technical Summary

Technical Problem

In the broadcast audio technology based on BLE technology, the first Bluetooth end cannot control the number of the second Bluetooth ends that receive the BIG data stream, resulting in poor privacy and security of the BIG data stream transmission process, and it is easy for criminals to steal information.

Method used

By establishing an asynchronous connection-oriented logical link transmission (ACL) link connection with the second Bluetooth end, the identity information of the second Bluetooth end is obtained, and only the broadcast synchronization group information BIGInfo is sent to the second Bluetooth end where the identity information is verified, so that it can receive the data stream of the BIG sent by the first Bluetooth end.

Benefits of technology

The first Bluetooth end can screen the second Bluetooth end of the data stream receiving BIG, improve the privacy and security of the BIG data stream transmission process, and save the occupation of air interface resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114143760B_ABST
    Figure CN114143760B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention relate to the field of communication technology, and disclose a data transmission method, system, chip, electronic device and storage medium. The method executed by the first Bluetooth terminal includes: establishing an asynchronous connection-oriented logical link transmission ACL link connection with the second Bluetooth terminal; obtaining the identity information of the second Bluetooth terminal through the established ACL link connection; when the identity information of the second Bluetooth terminal is verified, sending broadcast synchronization group information BIGInfo to the second Bluetooth terminal through the established ACL link connection, so that the second Bluetooth terminal can receive the data stream of the broadcast synchronization group BIG sent by the first Bluetooth terminal according to BIGInfo. The technical solution provided in the embodiment of the present application can enable the first Bluetooth terminal to have the ability to screen the second Bluetooth terminal receiving the data stream of BIG, thereby effectively improving the privacy and security of the data stream transmission process of BIG.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the Chinese patent application (application date: July 8, 2021; application number: 202110771428.6; name of the invention: data transmission method, system, chip, electronic device and storage medium). Technical Field

[0002] Embodiments of the present invention relate to the field of communication technology, and in particular to a data transmission method, system, chip, electronic device and storage medium. Background Art

[0003] With the rapid development of communication technology, Bluetooth low energy (BLE) technology has come into being. In the broadcast audio technology based on BLE technology, audio data is sent to the broadcast in the form of a data stream of broadcast isochronous groups (BIG). The first Bluetooth end (sending device) in the BIG uses this non-connected method to send the BIG data stream without paying attention to the status of other second Bluetooth ends (receiving devices) in the BIG. The second Bluetooth end (receiving device) can receive the BIG data stream and then play or use it. In BIG technology, the BIG data stream sent by a device can be received by multiple devices in the BIG, which makes it possible for multiple devices to play the audio of the same device.

[0004] However, when the first Bluetooth terminal sends the BIG data stream, it mostly uses the form of periodic broadcast generated based on extended broadcast to send broadcast isochronous group information (BIGInfo) for each second Bluetooth terminal to obtain. As long as the second Bluetooth terminal can synchronize with the periodic broadcast, it can obtain BIGInfo and receive the BIG data stream. The first Bluetooth terminal cannot control the number of second Bluetooth terminals that receive the BIG data stream, that is, it cannot achieve that only some of the second Bluetooth terminals receive the BIG data stream. The privacy and security of the BIG data stream transmission process are very poor, and it is easy for criminals to steal information. Summary of the invention

[0005] The purpose of the embodiments of the present invention is to provide a data transmission method, system, chip, electronic device and storage medium, which can enable the first Bluetooth end to have the ability to filter the second Bluetooth end that receives the BIG data stream, thereby effectively improving the privacy and security of the BIG data stream transmission process.

[0006] To solve the above technical problems, an embodiment of the present invention provides a data transmission method, which is applied to a first Bluetooth terminal, and the method includes the following steps: establishing an asynchronous connection-oriented logical transport (ACL) link connection with a second Bluetooth terminal; obtaining the identity information of the second Bluetooth terminal through the established ACL link connection; when the identity information of the second Bluetooth terminal is verified, sending broadcast synchronization group information BIGInfo to the second Bluetooth terminal through the established ACL link connection, so that the second Bluetooth terminal can receive the data stream of the broadcast synchronization group BIG sent by the first Bluetooth terminal according to BIGInfo.

[0007] An embodiment of the present application also provides a data transmission method, which is applied to a second Bluetooth end, and the method includes the following steps: establishing an ACL link connection with a first Bluetooth end; sending the identity information of the second Bluetooth end to the first Bluetooth end through the established ACL link connection; after receiving the BIGInfo sent by the first Bluetooth end, receiving the data stream of the broadcast synchronization group BIG sent by the first Bluetooth end according to the BIGInfo; wherein, when the identity information of the second Bluetooth end is verified, the first Bluetooth end sends the BIGInfo to the second Bluetooth end through the established ACL link connection.

[0008] An embodiment of the present application also provides a data transmission system, including: a first Bluetooth end and a second Bluetooth end: the first Bluetooth end establishes an ACL link connection with the second Bluetooth end; the first Bluetooth end is used to obtain the identity information of the second Bluetooth end through the established ACL link connection, and when the identity information of the second Bluetooth end is verified, the broadcast synchronization group information BIGInfo is sent to the second Bluetooth end through the established ACL link connection; the second Bluetooth end is used to send the identity information of the second Bluetooth end to the first Bluetooth end through the established ACL link connection, and after receiving the BIGInfo sent by the first Bluetooth end, receive the data stream of the broadcast synchronization group BIG sent by the first Bluetooth end according to the BIGInfo.

[0009] An embodiment of the present application also provides a chip, including: a processing module and a storage module; the storage module stores instructions that can be executed by the processing module, and the instructions are executed by the processing module so that the processing module can execute the above-mentioned data transmission method, wherein the chip is a first Bluetooth end or a second Bluetooth end.

[0010] An embodiment of the present application further provides an electronic device, comprising: the above-mentioned chip and a Bluetooth antenna, wherein the Bluetooth antenna is connected to the chip.

[0011] An embodiment of the present application further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the above-mentioned data transmission method applied to the first Bluetooth terminal, or implements the above-mentioned data transmission method applied to the second Bluetooth terminal.

[0012] Compared with the technical solution that any second Bluetooth terminal can obtain BIGInfo from the received periodic broadcast and thus receive the data stream of BIG by sending a connectionless periodic broadcast carrying BIGInfo by the first Bluetooth terminal, in the embodiment of the present application, the first Bluetooth terminal establishes an ACL link connection with the second Bluetooth terminal, obtains the identity information of the second Bluetooth terminal through the established ACL link connection, and only sends BIGInfo to the second Bluetooth terminal whose identity information has been verified through the established ACL link connection, that is, only the second Bluetooth terminal whose identity information has been verified can receive the data stream of BIG, so that the first Bluetooth terminal has the ability to screen the second Bluetooth terminal that receives the data stream of BIG, thereby effectively improving the privacy and security of the data stream transmission process of BIG. In addition, in the embodiment of the present application, BIGInfo will be sent to the second Bluetooth terminal through the established ACL link connection only when the identity authentication of the second Bluetooth terminal is passed. Compared with the technical solution that needs to carry BIGInfo in each periodic broadcast sent periodically, the embodiment of the present application occupies a relatively small bandwidth and can save the occupation of air interface resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] One or more embodiments are exemplarily described by the pictures in the corresponding drawings, and these exemplary descriptions do not constitute limitations on the embodiments.

[0014] Figure 1 This is a process of a data transmission method mentioned in an embodiment of the present application Figure 1 ;

[0015] Figure 2 This is a process of a data transmission method mentioned in an embodiment of the present application Figure 2 ;

[0016] Figure 3 This is the process of sending BIGInfo to the second Bluetooth terminal mentioned in one embodiment of the present application Figure 1 ;

[0017] Figure 4 is a schematic diagram of determining a time offset provided in one embodiment of the present application;

[0018] Figure 5 is a flowchart of establishing an ACL link connection with a second Bluetooth terminal mentioned in an embodiment of the present application;

[0019] Figure 6This is a process of a data transmission method mentioned in an embodiment of the present application Figure 3 ;

[0020] Figure 7 This is a process of a data transmission method mentioned in an embodiment of the present application Figure 4 ;

[0021] Figure 8 It is a flowchart of the second Bluetooth terminal decrypting the BIGInfo encrypted by the first key mentioned in one embodiment of the present application;

[0022] Fig. 9 This is a process of a data transmission method mentioned in an embodiment of the present application Figure 5 ;

[0023] Fig.10 is a schematic diagram of a data transmission system mentioned in one embodiment of the present application;

[0024] Fig.11 It is a schematic diagram of the structure of the chip mentioned in one embodiment of the present application. DETAILED DESCRIPTION

[0025] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the present application, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can also be implemented. The division of the following embodiments is for the convenience of description, and the specific implementation of the present application should not be construed as any limitation, and the various embodiments can be combined and referenced with each other under the premise of no contradiction.

[0026] In the related broadcast audio technology based on BLE technology, the sending device can send data in the form of broadcast based on the Broadcast Isochronous Streams (BIS) protocol by sending the BIG data stream. The sending device uses this non-connected method to send synchronous data without paying attention to other devices, that is, the status of the receiving device. The receiving device can receive the BIG data stream based on the BIS protocol. The data sent by the sending device can be received by multiple receiving devices, so that multiple receiving devices can play the audio data of the same sending device.

[0027] When the sending device needs to send a BIG data stream, it needs to first create a BIG and send the BIG data stream based on the created BIG. The sending device also needs to create a periodic broadcast related to the created BIG. The content of the periodic broadcast includes BIGInfo. After that, the BIG data stream and periodic broadcast are continuously sent according to the period of the BIG data stream and the periodic broadcast.

[0028] The receiving device scans the broadcasts in the air interface at any time. If it scans a periodic broadcast created by the sending device, it will synchronize with the periodic broadcast, parse the periodic broadcast, obtain BIGInfo, and use BIGInfo to calculate the period, frequency modulation parameters, current channel, timing and other information of the BIG data stream sent by the first Bluetooth end. The second Bluetooth end adjusts its own parameters according to the calculated information, so that the second Bluetooth end can periodically receive the BIG data stream according to the rhythm of the BIG data stream sent by the first Bluetooth end. During the transmission process, the BIG data stream sent by the first Bluetooth end is only responsible for carrying data. If the second Bluetooth end wants to obtain the data contained in the BIG data stream, it must first receive the BIG data stream according to BIGInfo before it can obtain the data contained in the BIG data stream.

[0029] It can be seen that the first Bluetooth terminal is only responsible for sending, and the synchronization process of the second Bluetooth terminal is only the process of obtaining BIGInfo and adjusting its own parameters according to BIGInfo. Therefore, the increase or decrease in the number of second Bluetooth terminals does not affect the first Bluetooth terminal. In theory, this can achieve that an infinite number of second Bluetooth terminals receive the BIG data stream sent by the first Bluetooth terminal. For example, at the airport, the airport announcement is sent by the first Bluetooth terminal in the form of a BIG data stream. Each airport passenger holds a second Bluetooth terminal (such as a mobile phone). As long as the second Bluetooth terminal enters the airport range, it can synchronize the periodic broadcast in the airport, obtain BIGInfo, and synchronize the BIG data stream to obtain the airport announcement.

[0030] The inventor of the present application has discovered that, in some cases, the BIG data stream sent by the first Bluetooth terminal is intended to be received by only some of the second Bluetooth terminals. For example, at an airport, an airport announcement is sent by the first Bluetooth terminal in the form of a BIG data stream. Each airport passenger holds a second Bluetooth terminal (such as a mobile phone, etc.). The airport announcement is intended to be received by only the second Bluetooth terminals of VIP users, and not by the second Bluetooth terminals of ordinary users. However, in the related art, since the second Bluetooth terminal will not affect the first Bluetooth terminal, the first Bluetooth terminal cannot control the number of second Bluetooth terminals that receive the BIG data stream, and it is impossible to allow only some of the second Bluetooth terminals to receive the BIG data stream. This results in poor privacy and security in the BIG data stream transmission process, and it is easy for criminals to steal information.

[0031] In order to solve the problem that the privacy and security of the above-mentioned BIG data stream transmission process are very poor and it is easy for criminals to steal information, the embodiment of the present application provides a data transmission method, which is applied to the first Bluetooth end. The flowchart of the data transmission method in this embodiment can be referred to Figure 1 ,include:

[0032] Step 101: Send a connectable broadcast.

[0033] In a specific implementation, the connectable broadcast sent by the first Bluetooth terminal may be a connectable broadcast supporting an asynchronous connection-oriented logical link transmission ACL link connection.

[0034] Step 102: Establish an ACL link connection with the second Bluetooth terminal according to the connectable broadcast.

[0035] Step 103: Acquire the identity information of the second Bluetooth terminal through the established ACL link connection.

[0036] Step 104, when the identity information of the second Bluetooth terminal is verified, BIGInfo is sent to the second Bluetooth terminal through the established ACL link connection, so that the second Bluetooth terminal can receive the BIG data stream sent by the first Bluetooth terminal according to BIGInfo.

[0037] In an example, the first Bluetooth terminal internally stores a preset identity information standard of the second Bluetooth terminal. After the first Bluetooth terminal obtains the identity information of the second Bluetooth terminal, it can verify the identity information of the second Bluetooth terminal. As long as the identity information of the second Bluetooth terminal meets the preset identity information standard of the second Bluetooth terminal, the first Bluetooth terminal can send BIGInfo to the second Bluetooth terminal, and the BIGInfo sent by the first Bluetooth terminal to each second Bluetooth terminal is the same.

[0038] In an embodiment of the present application, the first Bluetooth end establishes an ACL link connection with the second Bluetooth end by sending a connectable broadcast, obtains the identity information of the second Bluetooth end through the established ACL link connection, and only sends BIGInfo to the second Bluetooth end whose identity information has been verified through the established ACL link connection. That is, only the second Bluetooth end whose identity information has been verified can receive the BIG data stream, so that the first Bluetooth end has the ability to filter the second Bluetooth end receiving the BIG data stream, thereby effectively improving the privacy and security of the BIG data stream transmission process; in addition, in an embodiment of the present application, the first Bluetooth end will send BIGInfo to the second Bluetooth end only when the identity authentication of the second Bluetooth end is passed, and BIGInfo does not need to be carried in the connectable broadcast. Compared with the technical solution that requires carrying BIGInfo in each periodic broadcast sent periodically, the embodiment of the present application occupies a relatively small bandwidth and can save air interface resources.

[0039] In one embodiment, sending the connectable broadcast in step 101 is not necessary, and establishing an ACL link connection with the second Bluetooth terminal according to the connectable broadcast in step 102 is not necessary. For example, for classic Bluetooth (Bluetooth, abbreviated as: BT), the first Bluetooth terminal does not need to rely on the connectable broadcast. The first Bluetooth terminal can obtain the identity information of the second terminal through the synchronous connection-oriented logical transport (SCO) link connection, and then send BIGInfo to the second Bluetooth terminal through the SCO link. For single-mode Bluetooth that only supports BT, the first Bluetooth terminal can implement this solution through the SCO link; for dual-mode Bluetooth, that is, a Bluetooth device that supports both BLE and BT, the first Bluetooth terminal can implement this solution through the SCO link or through the ACL link; for a Bluetooth device that only supports BLE, the first Bluetooth terminal can implement this solution through the ACL link. The following embodiments are exemplified by implementing this solution through the ACL link.

[0040] In one embodiment, step 101 and step 102 are to establish a point-to-point connection between the first Bluetooth terminal and the second Bluetooth terminal, and then transmit the identity information and BIGInfo through the point-to-point connection. It is not necessary to transmit the identity information and BIGInfo by establishing an ACL link connection.

[0041] In one embodiment, in step 104, the first Bluetooth end sends BIGInfo to the second Bluetooth end through the established ACL link connection, and according to the correspondence between the pre-stored identity information and the BIG, the BIGInfo of the BIG corresponding to the identity information of the second Bluetooth end is sent to the second Bluetooth end through the established ACL link connection. In this embodiment, for the BLE device, the identity information of the second Bluetooth end is obtained by establishing an ACL link connection and BIGInfo is sent to the second Bluetooth end. Compared with other point-to-point connections, such as SCO link connections, the transmission process can be simplified.

[0042] In a specific implementation, the first Bluetooth terminal may pre-store the correspondence between the identity information of the second Bluetooth terminal and the BIG, and establish multiple BIGs based on the correspondence between the identity information of the second Bluetooth terminal and the BIG. Each BIG has its own exclusive BIGInfo. After determining that the identity information of the second Bluetooth terminal has been verified, the first Bluetooth terminal may send the BIGInfo of the BIG corresponding to the identity information of the second Bluetooth terminal to the second Bluetooth terminal through the established ACL link connection. That is, the second Bluetooth terminal with different identity information receives different BIGInfo, which is equivalent to joining different BIGs. The second Bluetooth terminal can only receive the BIGInfo of the BIG corresponding to its own identity information, and can only receive the data stream of the BIG corresponding to its own identity information, but cannot receive the data stream of the BIG corresponding to other identity information, thereby further improving the privacy and security of the BIG data stream transmission process.

[0043] For example: the first Bluetooth terminal needs to send an airport announcement for VIP users and an airport announcement for ordinary users. The first Bluetooth terminal can establish two BIGs based on VIP users and ordinary users. The first Bluetooth terminal sends a data stream of the BIG containing the airport announcement for VIP users in the first BIG, and sends a data stream of the BIG containing the airport announcement for ordinary users in the second BIG. After the identity information of the second Bluetooth terminal is verified, the first Bluetooth terminal can determine the identity information type of the second Bluetooth terminal. If the second Bluetooth terminal is a VIP user, the BIGInfo of the BIG corresponding to the VIP user (i.e., the BIGInfo of the first BIG) is sent to the second Bluetooth terminal; if the second Bluetooth terminal is an ordinary user, the BIGInfo of the BIG corresponding to the ordinary user (i.e., the BIGInfo of the second BIG) is sent to the second Bluetooth terminal.

[0044] In addition, in the technical solution in which BIGInfo is required to be carried in each periodic broadcast sent periodically, the first Bluetooth end only sends a periodic broadcast to send BIGInfo, and the first Bluetooth end cannot know when the second Bluetooth end will synchronize with the periodic broadcast to obtain BIGInfo, that is, the first Bluetooth end does not know when the second Bluetooth end needs the BIG data stream. The first Bluetooth end needs to calculate BIGInfo once in each period of the periodic broadcast to ensure that the second Bluetooth end can get the BIGInfo. In an embodiment of the present application, the first Bluetooth end establishes an ACL link connection with the second Bluetooth end, and can obtain the identity information of the second Bluetooth end sent by the second Bluetooth end through the established ACL link connection. The second Bluetooth end can send identity information to the first Bluetooth end when it needs the BIG data stream. Therefore, the first Bluetooth end can know when the second Bluetooth end needs BIGInfo, and only needs to calculate the BIGInfo at this time. The amount of calculation is relatively small, which effectively reduces the power consumption of the first Bluetooth end.

[0045] In one embodiment, the BIGInfo sent by the first Bluetooth terminal to the second Bluetooth terminal is BIGInfo encrypted by a first key, and the first key is obtained according to the identity information of the second Bluetooth terminal and the identity information of the first Bluetooth terminal.

[0046] In a specific implementation, when the first Bluetooth terminal sends BIGInfo to the second Bluetooth terminal, it can first generate a first key in real time based on a preset encryption method, combined with the identity information of the second Bluetooth terminal and the identity information of the first Bluetooth terminal, encrypt the BIGInfo according to the first key, and then send the encrypted BIGInfo to the second Bluetooth terminal through the established ACL link connection. Since the identity information of different second Bluetooth terminals is different, the first key generated based on the preset encryption method, combined with the identity information of the second Bluetooth terminal and the identity information of the first Bluetooth terminal is also different, and the ciphertext information obtained by the BIGInfo encrypted according to the first key is also different. The preset encryption method can be set when the Bluetooth terminal leaves the factory, or it can be obtained by downloading the corresponding software to ensure that the second Bluetooth terminal knows which preset encryption method the first Bluetooth terminal is encrypted based on, so only the second Bluetooth terminal that receives the encrypted BIGInfo can decrypt the encrypted BIGInfo, and the encrypted BIGInfo can only be stolen when the preset encryption method, the identity information of the second Bluetooth terminal and the identity information of the first Bluetooth terminal are stolen at the same time. The embodiments of the present application effectively improve the difficulty of information leakage caused by the encrypted BIGInfo being cracked by criminals, and further improve the privacy and security of the BIG data stream transmission process.

[0047] In an example, the identity information of the second Bluetooth terminal may be the ID of the second Bluetooth terminal, or may be the device model of the second Bluetooth terminal, etc., and the embodiments of the present application do not specifically limit this.

[0048] In one embodiment, the first Bluetooth terminal may also directly encrypt the BIGInfo according to a preset key, and send the key to the second Bluetooth terminal through the established connection, so that the second Bluetooth terminal can decrypt the BIGInfo encrypted by the key.

[0049] In one embodiment, the BIG data stream is a BIG data stream encrypted by a preset second key, and BIGInfo includes the second key. After receiving the BIG data stream sent by the first Bluetooth end, the second Bluetooth end can decrypt the BIG data stream encrypted by the second key according to the second key in BIGInfo.

[0050] In a specific implementation, the second key included in BIGInfo may be a group initialization vector (GIV for short) or a group session key diversifier (GSKD for short), and the embodiments of the present application do not specifically limit this.

[0051] In one embodiment, the first Bluetooth terminal can encrypt BIGInfo according to the first key, and use the preset second key to encrypt the data stream of BIG. The first key is obtained in real time according to the identity information of the first Bluetooth terminal and the identity information of the second Bluetooth terminal. The second key is a preset GIV or GSKD. The first key and the second key are different keys, which can realize two different encryptions of the data stream transmission process of BIG, thereby further improving the privacy and security of the data stream transmission process of BIG.

[0052] In one embodiment, the data stream of the BIG is the data stream of the BIG encrypted by the second key. The data transmission method of this embodiment can be as follows: Figure 2 As shown, specifically including:

[0053] Step 201, sending a connectable broadcast carrying BIGInfo, so that the second Bluetooth terminal can receive the BIG data stream encrypted by the second key sent by the first Bluetooth terminal according to BIGInfo.

[0054] Step 202: Establish an ACL link connection with the second Bluetooth terminal according to the connectable broadcast.

[0055] Step 203: Send a second key to the second Bluetooth terminal through the established ACL link connection, so that the second Bluetooth terminal can decrypt the BIG data stream encrypted by the second key according to the second key to obtain the BIG data stream.

[0056] In a specific implementation, the first Bluetooth end can carry BIGInfo in a connectable broadcast so that the second Bluetooth end can obtain BIGInfo, thereby obtaining the BIG data stream encrypted by the second key. The first Bluetooth end can establish an ACL link connection with the second Bluetooth end based on the connectable broadcast, and send the second key to the second Bluetooth end through the established ACL link connection. Only the second Bluetooth end that receives the second key can decrypt the BIG data stream encrypted by the second key and obtain the BIG data stream, thereby enabling the first Bluetooth end to have the ability to filter the second Bluetooth end that receives the BIG data stream, thereby effectively improving the privacy and security of the BIG data stream transmission process. The second key can be obtained in real time based on the identity information of the first Bluetooth end and the identity information of the second Bluetooth end, or it can be pre-set by technicians in this field according to actual needs.

[0057] In one embodiment, the first Bluetooth end may also first create an extended broadcast, and then create a periodic broadcast based on the created extended broadcast, carrying BIGInfo in the periodic broadcast for the second Bluetooth end to obtain BIGInfo. At the same time, the first Bluetooth end creates a connectable broadcast, establishes an ACL link connection with the second Bluetooth end based on the connectable broadcast, and sends a second key to the second Bluetooth end through the established ACL link connection, so that the second Bluetooth end can decrypt the BIG data stream encrypted by the second key according to the second key, thereby obtaining the BIG data stream.

[0058] In one embodiment, sending BIGInfo to the second Bluetooth terminal may be performed by: Figure 3 The steps shown are implemented, specifically including:

[0059] Step 301: determine a connection event with the second Bluetooth terminal after the ACL link connection is established with the second Bluetooth terminal, and record a time anchor point of the connection event.

[0060] Specifically, the first Bluetooth terminal and the second Bluetooth terminal can communicate based on the connection event of the ACL link. After the first Bluetooth terminal and the second Bluetooth terminal establish a connection, frequency hopping will occur continuously, and each time a frequency hopping occurs, a connection event will occur. The first Bluetooth terminal and the second Bluetooth terminal both have connection event counters, and the connection event counters in the first Bluetooth terminal and the second Bluetooth terminal will synchronously count the connection events of the ACL link. Each connection event has a duration, and the first Bluetooth terminal and the second Bluetooth terminal transmit data within the duration of each connection event. Figure 4 As shown, event a is a connection event.

[0061] In a specific implementation, the first Bluetooth terminal may determine a connection event with the second Bluetooth terminal after establishing an ACL link connection with the second Bluetooth terminal, and record a time anchor point of the connection event, wherein the time anchor point of the connection event is the time point when the connection event starts.

[0062] In an example, Figure 4 As shown, the first Bluetooth terminal has established a connection with the second Bluetooth terminal at 10ms, and a connection event with the second Bluetooth terminal determined by the first Bluetooth terminal after the ACL link connection is established with the second Bluetooth terminal can be an a event. Considering that there may be a certain delay in data transmission, a connection event with the second second Bluetooth terminal determined by the first Bluetooth terminal after the ACL link connection is established with the second Bluetooth terminal can be selected as a b event, for example, to prevent the situation where the obtained time offset cannot be used due to data transmission delay.

[0063] In an example, Figure 4As shown, the first Bluetooth end starts to send a connectable broadcast, so that the second Bluetooth end can scan the connectable broadcast and establish an ACL link connection. The first Bluetooth end records the time when the connectable broadcast is started as 0ms. The second Bluetooth end can always turn on the communication receiving unit (RX receive, abbreviated as: RX), and after the first Bluetooth end starts to send the connectable broadcast, it scans the connectable broadcast. The first Bluetooth end establishes an ACL link connection with the second Bluetooth end, and confirms that the establishment of the ACL link connection has been completed at 10ms. The first Bluetooth end performs necessary interactions with the second Bluetooth end in event a, continues to maintain the connection, and determines event b as a connection event with the second Bluetooth end after the ACL link connection is established with the second Bluetooth end, and records the time anchor point of event b as 40ms.

[0064] Step 302, determine the time anchor point of the most recent BIG event after the connection event.

[0065] In a specific implementation, after the first Bluetooth end determines a connection event with the second Bluetooth end after an ACL link connection is established with the second Bluetooth end, it can find the time anchor point of the most recent BIG event after the connection event according to the time anchor point of the connection event with the second Bluetooth end after the ACL link connection is established with the second Bluetooth end, wherein the time anchor point of the BIG event is the time point when the BIG event starts.

[0066] In an example, Figure 4 As shown, if the connection event determined by the first Bluetooth terminal to be with the second Bluetooth terminal after the ACL link connection is established with the second Bluetooth terminal is event b, the server determines that the most recent BIG event after event b is event c, and determines that the time anchor point of event c is 52.5ms; if the connection event determined by the first Bluetooth terminal to be with the second Bluetooth terminal after the ACL link connection is established with the second Bluetooth terminal is event d, the server determines that the most recent BIG event after event d is event e, and determines that the time anchor point of event e is 100ms.

[0067] In an example, Figure 4 As shown, the time slot of the ACL link is 30ms, the period of the BIG data stream is 47.5ms, the e event is a BIG event, and the time anchor point of the e event is 100ms. Although the connection event and the BIG event start at the same time point, for the Bluetooth end with two antennas, the connection event and the BIG event can occur at the same time, or the first Bluetooth end can inform the second Bluetooth end in the connection event before the time anchor point not to receive the connection event at 100ms but to receive the BIG event, that is, to receive the BIG data stream. In this way, the ACL link can be disconnected before 100ms, and the BIG data stream can be received at 100ms, without the need for data interaction through the ACL link.

[0068] Step 303, calculate the difference between the time anchor point of the connection event and the time anchor point of the BIG event, and use the difference as the time offset.

[0069] Specifically, the time offset is used for the second Bluetooth terminal to receive the BIG data stream sent by the first Bluetooth terminal at the time anchor point of the BIG event.

[0070] In an example, Figure 4 As shown, at 0ms, the first Bluetooth end starts to send a connectable broadcast, and at 10ms, it successfully establishes a connection with the second Bluetooth end. The first Bluetooth end performs necessary interactions with the second Bluetooth end in event a, maintains the connection, and determines that event b is a connection event with the second Bluetooth end after the ACL link connection is established with the second Bluetooth end. The time anchor point of event b is 40ms, and the most recent BIG event after event b is event c. The time anchor point of event c is 52.5ms. The first Bluetooth end calculates that the difference between the time anchor point of event b and the time anchor point of event c is 12.5ms. The first Bluetooth end can use 12.5ms as a time offset. The time offset can tell the second Bluetooth end to first locate the time anchor point of event b after receiving BIGInfo, and then wait for 12.5ms, that is, to reach the time anchor point of event c, and receive the BIG data stream at the time anchor point of event c.

[0071] In an example, Figure 4 As shown, after determining the time anchor point of event c, the second Bluetooth end can turn on RX at a preset time before reaching the time anchor point of event c, so that when the time anchor point of event c arrives, it receives the data stream of BIG, and turns off RX after receiving the data stream of BIG.

[0072] In another example, Figure 4 As shown, at 0ms, the first Bluetooth end starts to send a connectable broadcast, and at 10ms, the first Bluetooth end successfully establishes a connection with the second Bluetooth end. The first Bluetooth end determines that the connection event with the second Bluetooth end after establishing the ACL link connection with the second Bluetooth end is event d, and the time anchor point of event d is 70ms. The most recent BIG event after event d is event e, and the time anchor point of event e is 100ms. The first Bluetooth end calculates that the difference between the time anchor point of event d and the time anchor point of event e is 30ms. The first Bluetooth end uses 30ms as the time offset. The time offset can inform the second Bluetooth end to first locate the time anchor point of event d after receiving BIGInfo, and then wait for 30ms, that is, to reach the time anchor point of event e, and receive the BIG data stream at the time anchor point of event e.

[0073] In a specific implementation, BIGInfo includes a BIG value, namely, a BIG offset field, and a BIG value calculation unit, namely, a BIG offset units field. After obtaining the time offset, the first Bluetooth end can convert the time offset into these two fields and insert them into BIGInfo.

[0074] In one embodiment, after the first Bluetooth end obtains the identity information of the second Bluetooth end through the established ACL link connection, it can also send instruction information corresponding to the identity information of the second Bluetooth end to the second Bluetooth end through the established ACL link connection, wherein the instruction information is used to indicate the BIS received by the second Bluetooth end from the data stream of the BIG.

[0075] In a specific implementation, the first Bluetooth terminal can set multiple BIS corresponding to the identity information of the second Bluetooth terminal in the BIG event in the BIG data stream for the second Bluetooth terminal with different identity information on the connection, and the first Bluetooth terminal can send the same BIGInfo to all second Bluetooth terminals, but the first Bluetooth terminal can send instruction information to the second Bluetooth terminal based on the identity information of the second Bluetooth terminal to instruct the second Bluetooth terminal to receive the BIS from the BIG data stream, and specify that the second Bluetooth terminal receive one or more BIS from the BIG data stream. The first Bluetooth terminal actively sends instruction information, which can further strengthen the first Bluetooth terminal's control over the second Bluetooth terminal.

[0076] In one example, the first Bluetooth terminal sets five BISs in the BIG event in the BIG data stream, the first BIS is the BIS that VIP users need to receive, and the third BIS is the BIS that ordinary users need to receive. After obtaining the identity information of the second Bluetooth terminal, if the first Bluetooth terminal determines that the second Bluetooth terminal is a VIP user, it sends instruction information to the second Bluetooth terminal to instruct the second Bluetooth terminal to receive the first BIS from the BIG data stream; if the second Bluetooth terminal is an ordinary user, it sends instruction information to the second Bluetooth terminal to instruct the second Bluetooth terminal to receive the third BIS from the BIG data stream.

[0077] In one embodiment, the first Bluetooth terminal can send instruction information corresponding to the identity information of the second Bluetooth terminal to the second Bluetooth terminal by carrying instruction information corresponding to the identity information of the second Bluetooth terminal in BIGInfo. The first Bluetooth terminal sends different BIGInfo to the second Bluetooth terminal with different identity information, and the second Bluetooth terminal only receives the BIS it needs according to the instruction information contained in the BIGInfo, which can reduce the power consumption of the second Bluetooth terminal and prevent it from receiving data irrelevant to itself.

[0078] In an example, the first Bluetooth terminal sets five BIS in the BIG event in the BIG data stream, the first BIS is the BIS that VIP users need to receive, and the third BIS is the BIS that ordinary users need to receive. The first Bluetooth terminal can carry instruction information in BIGInfo to instruct the second Bluetooth terminal to receive the first BIS from the BIG data stream, and send the BIGInfo carrying the instruction information for receiving the first BIS to the second Bluetooth terminal of the VIP user. The first Bluetooth terminal can also carry instruction information in BIGInfo to instruct the second Bluetooth terminal to receive the third BIS from the BIG data stream, and send the BIGInfo carrying the instruction information for receiving the third BIS to the second Bluetooth terminal of the ordinary user.

[0079] In one embodiment, establishing a connection with the second Bluetooth terminal may be performed by: Figure 5 The steps shown are implemented, specifically including:

[0080] Step 401: Receive a connection request sent by a second Bluetooth terminal, and obtain address information of the second Bluetooth terminal from the connection request.

[0081] Step 402: When the address information of the second Bluetooth terminal is verified, an ACL link connection is established with the second Bluetooth terminal.

[0082] The address information is used to indicate the legitimacy of the second Bluetooth terminal.

[0083] In a specific implementation, in the process of establishing an ACL link connection with the second Bluetooth end according to the connectable broadcast, the first Bluetooth end can first receive a connection request sent by the second Bluetooth end according to the connectable broadcast, and obtain the address information of the second Bluetooth end from the connection request. The first Bluetooth end internally stores a preset address information blacklist. If the address information of the second Bluetooth end is not in the preset address information blacklist, the address information of the second Bluetooth end is determined to be a legal address, and the verification is passed, and an ACL link connection is established with the second Bluetooth end. That is, before the first Bluetooth end screens the second Bluetooth end according to the identity information of the second Bluetooth end, the first Bluetooth end first screens out the second Bluetooth end with illegal address information according to the address information of the second Bluetooth end, and then performs a second round of screening according to the identity information of the second Bluetooth end, thereby realizing double screening, which can further enhance the privacy and security of the data stream transmission process of the broadcast BIG.

[0084] In one embodiment, the connectable broadcast sent by the first Bluetooth terminal is a connectable broadcast containing identification information, wherein the identification information is used to inform the second Bluetooth terminal to establish an ACL link connection with the first Bluetooth terminal according to the connectable broadcast. Compared with the traditional connection method in which the second Bluetooth terminal scans the connectable broadcast, inquires the first Bluetooth terminal whether it can be connected, and the first Bluetooth terminal provides feedback on the inquiry, the embodiment of the present application notifies the second Bluetooth terminal in advance that it can establish an ACL link connection with the first Bluetooth terminal according to the connectable broadcast by sending a connectable broadcast containing identification information, thereby reducing unnecessary information interaction and further improving the transmission efficiency of the BIG data stream.

[0085] In one embodiment, after determining that the second Bluetooth end has received the BIG data stream sent by the first Bluetooth end, the first Bluetooth end can disconnect the ACL link connection established with the second Bluetooth end, thereby further saving power consumption of the first Bluetooth end and improving the working efficiency of the first Bluetooth end.

[0086] In one embodiment, the flowchart of the data transmission method can refer to Figure 6 ,include:

[0087] Step 501: Send a connectable broadcast.

[0088] Step 502: Receive a connection request sent by the second Bluetooth terminal according to the connectable broadcast, and obtain address information of the second Bluetooth terminal from the connection request.

[0089] Step 503: When the address information of the second Bluetooth terminal is verified, an ACL link connection is established with the second Bluetooth terminal.

[0090] Step 504: Acquire the identity information of the second Bluetooth terminal through the established ACL link connection.

[0091] Step 505: when the identity information of the second Bluetooth terminal is verified, a first key is obtained according to the identity information of the second Bluetooth terminal and the identity information of the first Bluetooth terminal.

[0092] Step 506, encrypt BIGInfo according to the first key.

[0093] Step 507: Send the encrypted BIGInfo to the second Bluetooth terminal through the established ACL link connection, so that the second Bluetooth terminal can receive the BIG data stream sent by the first Bluetooth terminal according to the BIGInfo.

[0094] An embodiment of the present application provides a data transmission method applied to a second Bluetooth terminal. The flowchart of the data transmission method in this embodiment can be referred to Figure 7 ,include:

[0095] Step 601: when a connectable broadcast sent by a first Bluetooth terminal is scanned, an ACL link connection is established with the first Bluetooth terminal.

[0096] Step 602: Send the identity information of the second Bluetooth terminal to the first Bluetooth terminal through the established ACL link connection.

[0097] Step 603: After receiving the BIGInfo sent by the first Bluetooth terminal, receive the BIG data stream sent by the first Bluetooth terminal according to the BIGInfo.

[0098] In an embodiment of the present application, the second Bluetooth end establishes an ACL link connection with the first Bluetooth end by scanning the connectable broadcast sent by the first Bluetooth end, sends the identity information of the second Bluetooth end to the first Bluetooth end through the established ACL link connection, and obtains the BIGInfo sent by the first Bluetooth end through the established ACL link connection. That is, only the second Bluetooth end that establishes the ACL link connection with the first Bluetooth end can receive BIGInfo, and only the second Bluetooth end connected to the first Bluetooth end can receive the BIG data stream, thereby effectively improving the privacy and security of the BIG data stream transmission process.

[0099] In one embodiment, the first Bluetooth terminal does not need to send a connectable broadcast. The first Bluetooth terminal and the second Bluetooth terminal can first establish a SCO link connection, and then send the identity information of the second Bluetooth terminal to the second Bluetooth terminal through the SCO connection to realize the function of selecting the second Bluetooth terminal.

[0100] In one embodiment, the BIGInfo sent by the first Bluetooth terminal and received by the second Bluetooth terminal in step 603 is the BIGInfo corresponding to the identity information of the second Bluetooth terminal, wherein the identity information is used to characterize the category of the second Bluetooth terminal.

[0101] In the specific implementation, the first Bluetooth end pre-stores the correspondence between identity information and BIG, that is, the first Bluetooth end can establish multiple BIGs for the second Bluetooth end with different identity information connected, and each BIG has its own exclusive BIGInfo. The second Bluetooth end can receive the BIGInfo of the BIG corresponding to the identity information of the second Bluetooth end sent by the first Bluetooth end, that is, the second Bluetooth end can only receive the data stream of the BIG corresponding to its own identity information, and cannot receive the data stream of the BIG corresponding to other identity information, which further improves the privacy and security of the BIG data stream transmission process.

[0102] For example: the first Bluetooth terminal needs to send an airport announcement for VIP users and an airport announcement for ordinary users. The first Bluetooth terminal can establish two BIGs based on VIP users and ordinary users. The first Bluetooth terminal sends a data stream of the BIG containing the airport announcement for VIP users in the first BIG, and sends a data stream of the BIG containing the airport announcement for ordinary users in the second BIG. If the second Bluetooth terminal receives the BIGInfo of the BIG corresponding to the VIP user (i.e., the BIGInfo of the first BIG), it can receive the data stream of the BIG containing the airport announcement for the VIP user based on the BIGInfo of the BIG corresponding to the VIP user; if the second Bluetooth terminal receives the BIGInfo of the BIG corresponding to the ordinary user (i.e., the BIGInfo of the second BIG), it can receive the data stream of the BIG containing the airport announcement for the ordinary user based on the BIGInfo of the BIG corresponding to the ordinary user.

[0103] In one embodiment, the BIGInfo sent by the first Bluetooth terminal to the second Bluetooth terminal is BIGInfo encrypted by the first key, and the second Bluetooth terminal can Figure 8 The steps shown decrypt BIGInfo encrypted with the first key, specifically including:

[0104] Step 701: Acquire the identity information of the first Bluetooth terminal through the established ACL link connection.

[0105] Step 702: Acquire a first key according to the identity information of the second Bluetooth terminal and the identity information of the first Bluetooth terminal.

[0106] Step 703: Decrypt the BIGInfo encrypted by the first key according to the first key.

[0107] In a specific implementation, after receiving the BIGInfo sent by the first Bluetooth terminal through the established ACL link connection, the second Bluetooth terminal can first obtain the identity information of the first Bluetooth terminal based on the ACL link connection established between the first Bluetooth terminal and the second Bluetooth terminal, and based on the preset encryption method, combine the identity information of the second Bluetooth terminal and the identity information of the first Bluetooth terminal to generate a first key in real time, and decrypt the BIGInfo encrypted by the first key according to the first key. The preset encryption method can be set when the Bluetooth terminal leaves the factory, or it can be obtained by downloading the corresponding software to ensure that the second Bluetooth terminal knows which preset encryption method is used to encrypt the first Bluetooth terminal. Only when the preset encryption method, the identity information of the second Bluetooth terminal and the identity information of the first Bluetooth terminal are stolen at the same time, the encrypted BIGInfo may be stolen. The embodiments of the present application effectively improve the difficulty of information leakage caused by the encrypted BIGInfo being cracked by criminals, and further improve the privacy and security of the BIG data stream transmission process.

[0108] In one embodiment, the BIG data stream is a BIG data stream encrypted by a preset second key, and BIGInfo includes the second key. After receiving the BIG data stream sent by the first Bluetooth end, the second Bluetooth end can also decrypt the BIG data stream encrypted by the second key according to the second key.

[0109] In a specific implementation, the second key included in BIGInfo may be GIV or GSKD, etc., and the embodiments of the present application do not specifically limit this.

[0110] In one embodiment, the first key and the second key are different keys, which can implement two different encryptions for the BIG data stream transmission process, further improving the privacy and security of the BIG data stream transmission process.

[0111] In one embodiment, the data stream of the BIG is the data stream of the BIG encrypted by the second key. The data transmission method of this embodiment can be as follows: Fig. 9 As shown, specifically including:

[0112] Step 801: When a connectable broadcast carrying BIGInfo sent by a first Bluetooth terminal is scanned, an ACL link connection is established with the first Bluetooth terminal.

[0113] Step 802, receiving the BIG data stream encrypted by the second key according to BIGInfo.

[0114] Step 803, after receiving the second key sent by the first Bluetooth end through the established ACL link connection, the BIG data stream encrypted by the second key is decrypted according to the second key to obtain the BIG data stream.

[0115] In a specific implementation, the first Bluetooth end can carry BIGInfo in a connectable broadcast so that the second Bluetooth end can obtain BIGInfo. After obtaining BIGInfo, the second Bluetooth end can obtain the BIG data stream encrypted by the second key according to BIGInfo. The second Bluetooth end can establish an ACL link connection with the first Bluetooth end according to the connectable broadcast, and obtain the second key sent by the first Bluetooth end through the established ACL link connection. Only the second Bluetooth end that receives the second key can decrypt the BIG data stream encrypted by the second key and obtain the BIG data stream, thereby enabling the first Bluetooth end to have the ability to filter the second Bluetooth end that receives the BIG data stream, thereby effectively improving the privacy and security of the BIG data stream transmission process. The second key can be obtained in real time based on the identity information of the first Bluetooth end and the identity information of the second Bluetooth end, or it can be pre-set by technicians in this field according to actual needs.

[0116] In one embodiment, the first Bluetooth end may first create an extended broadcast, and then create a periodic broadcast based on the created extended broadcast, carrying BIGInfo in the periodic broadcast. After the second Bluetooth end synchronizes with the periodic broadcast, it can obtain BIGInfo. At the same time, the first Bluetooth end creates a connectable broadcast. After scanning the connectable broadcast, the second Bluetooth end establishes an ACL link connection with the first Bluetooth end according to the connectable broadcast, and receives the second key sent by the first Bluetooth end through the established ACL link connection. The second Bluetooth end can decrypt the BIG data stream encrypted by the second key according to the second key, thereby obtaining the BIG data stream.

[0117] In one embodiment, BIGInfo includes a time offset. The first Bluetooth end can first determine a connection event with the second Bluetooth end after establishing an ACL link connection with the second Bluetooth end, and record the time anchor point of the connection event, and then determine the time anchor point of the most recent BIG event after the connection event, and finally calculate the difference between the time anchor point of the connection event and the time anchor point of the BIG event, and use the calculated difference as the time offset. After receiving BIGInfo, the second Bluetooth end can receive the BIG data stream sent by the first Bluetooth end at the time anchor point of the BIG event according to the time offset included in BIGInfo.

[0118] In one embodiment, after the second Bluetooth terminal sends the identity information of the second Bluetooth terminal to the first Bluetooth terminal through the established ACL link connection, the second Bluetooth terminal can also receive instruction information corresponding to the identity information of the second Bluetooth terminal sent by the first Bluetooth terminal, wherein the instruction information is used to indicate the BIS received by the second Bluetooth terminal from the data stream of the BIG.

[0119] In one embodiment, the second Bluetooth terminal may receive the instruction information sent by the first Bluetooth terminal by acquiring the instruction information corresponding to the identity information of the second Bluetooth terminal carried in BIGInfo.

[0120] In one embodiment, after receiving the BIG data stream sent by the first Bluetooth end according to BIGInfo, the second Bluetooth end can disconnect the ACL link connection established with the first Bluetooth end, thereby further saving power consumption of the first Bluetooth end and improving the working efficiency of the first Bluetooth end.

[0121] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0122] An embodiment of the present application relates to a data transmission system. The details of the data transmission system of this embodiment are described in detail below. The following content is only for the convenience of understanding the implementation details provided, and is not necessary for implementing this embodiment. Fig.10 is a schematic diagram of the data transmission system described in this embodiment, including: a first Bluetooth terminal 901 and a second Bluetooth terminal 902 .

[0123] The first Bluetooth terminal 901 and the second Bluetooth terminal 902 establish an ACL link connection.

[0124] The first Bluetooth terminal 901 is used to obtain the identity information of the second Bluetooth terminal 902 through the established ACL link connection, and send BIGInfo to the second Bluetooth terminal 902 when the identity information of the second Bluetooth terminal 902 is verified.

[0125] The second Bluetooth terminal 902 is used to send the identity information of the second Bluetooth terminal 902 to the first Bluetooth terminal 901 through the established ACL link connection, and after receiving the BIGInfo sent by the first Bluetooth terminal 901, receive the BIG data stream sent by the first Bluetooth terminal 901 according to the BIGInfo.

[0126] It is not difficult to find that this embodiment is a system embodiment corresponding to the above method embodiment, and this embodiment can be implemented in conjunction with the above method embodiment. The relevant technical details and technical effects mentioned in the above embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the above embodiment.

[0127] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.

[0128] The embodiment of the present application also relates to a chip, such as Fig.11 As shown, it includes a processing module 1001 and a storage module 1002 connected to the processing module 1001, the storage module 1002 stores instructions that can be executed by the processing module 1001, and the instructions are executed by the processing module 1001 so that the processing module 1001 can execute the data transmission method in any one of the above embodiments.

[0129] The embodiment of the present application also relates to an electronic device, including: Fig.11 The chip and the Bluetooth antenna are shown, and the Bluetooth antenna is connected to the chip.

[0130] The present application also provides a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.

[0131] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0132] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present invention, and that in actual applications, various changes may be made in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A data transmission method, applied to a first Bluetooth terminal, characterized in that: The method comprises: Establishing a point-to-point connection with the second Bluetooth terminal; Acquire the identity information of the second Bluetooth terminal through the established point-to-point connection; When the identity information of the second Bluetooth terminal is verified, the broadcast synchronization group information BIGInfo is sent to the second Bluetooth terminal through the established point-to-point connection, so that the second Bluetooth terminal receives the data stream of the broadcast synchronization group BIG sent by the first Bluetooth terminal according to the BIGInfo; The sending BIGInfo to the second Bluetooth end through the established point-to-point connection includes: According to the correspondence between the pre-stored identity information and the BIG, sending the BIGInfo of the BIG corresponding to the identity information of the second Bluetooth terminal to the second Bluetooth terminal through the established point-to-point connection; wherein the identity information is used to characterize the category of the second Bluetooth terminal; The BIGInfo includes a time offset, and the time offset is obtained by the first Bluetooth terminal through the following steps: Determine a connection event with the second Bluetooth terminal after establishing the point-to-point connection with the second Bluetooth terminal, and record a time anchor point of the connection event; Determine a time anchor point of a most recent BIG event after the connection event; Calculate the difference between the time anchor point of the connection event and the time anchor point of the BIG event, and use the difference as the time offset; wherein the time offset is used for the second Bluetooth end to receive the BIG data stream sent by the first Bluetooth end at the time anchor point of the BIG event.

2. The data transmission method according to claim 1, characterized in that: The point-to-point connection is a synchronous connection-oriented logical link transmission (SCO) link connection.

3. The data transmission method according to claim 1, characterized in that: The point-to-point connection is an asynchronous connection-oriented logical link transmission ACL link connection, and before establishing the point-to-point connection with the second Bluetooth terminal, the method includes: Sending a connectable broadcast; wherein the connectable broadcast is used to establish the ACL link connection with the second Bluetooth end; The sending of connectable broadcast comprises: Sending a connectable broadcast including identification information; wherein the identification information is used to trigger the second Bluetooth terminal to establish a connection with the first Bluetooth terminal according to the connectable broadcast; The step of establishing a point-to-point connection with the second Bluetooth terminal includes: receiving a connection request sent by the second Bluetooth terminal, and acquiring address information of the second Bluetooth terminal from the connection request; wherein the address information is used to characterize the legitimacy of the second Bluetooth terminal; When the address information of the second Bluetooth terminal is verified, an ACL link connection is established with the second Bluetooth terminal.

4. The data transmission method according to claim 1, characterized in that: The BIGInfo is BIGInfo encrypted by a first key, and the first key is obtained according to the identity information of the second Bluetooth terminal and the identity information of the first Bluetooth terminal.

5. The data transmission method according to claim 4, characterized in that: The data stream of the BIG is a data stream of the BIG encrypted by a preset second key, and the BIGInfo includes the second key; The second key includes any one of the following: a group initialization vector GIV, a group session key divider GSKD.

6. The data transmission method according to claim 1, characterized in that: After acquiring the identity information of the second Bluetooth terminal through the established point-to-point connection, the method further includes: Send instruction information corresponding to the identity information of the second Bluetooth terminal to the second Bluetooth terminal through the established point-to-point connection; wherein the instruction information is used to instruct the second Bluetooth terminal to receive the broadcast synchronization stream BIS from the data stream of the BIG.

7. The data transmission method according to claim 6, characterized in that: The sending instruction information corresponding to the identity information of the second Bluetooth terminal to the second Bluetooth terminal includes: The BIGInfo carries instruction information corresponding to the identity information of the second Bluetooth terminal.

8. A data transmission method, applied to a second Bluetooth terminal, characterized in that: The method comprises: Establishing a point-to-point connection with the first Bluetooth terminal; Sending the identity information of the second Bluetooth terminal to the first Bluetooth terminal through the established point-to-point connection; After receiving the BIGInfo sent by the first Bluetooth terminal, receiving the data stream of the broadcast synchronization group BIG sent by the first Bluetooth terminal according to the BIGInfo; wherein, when the identity information of the second Bluetooth terminal is verified, the first Bluetooth terminal sends the BIGInfo to the second Bluetooth terminal through the established point-to-point connection; The received BIGInfo sent by the first Bluetooth terminal is the BIGInfo of the BIG corresponding to the identity information of the second Bluetooth terminal; wherein the identity information is used to characterize the category of the second Bluetooth terminal; The BIGInfo includes a time offset, and the time offset is obtained by the first Bluetooth terminal through the following steps: Determine a connection event with the second Bluetooth terminal after establishing the point-to-point connection with the second Bluetooth terminal, and record a time anchor point of the connection event; Determine a time anchor point of a most recent BIG event after the connection event; Calculate the difference between the time anchor point of the connection event and the time anchor point of the BIG event, and use the difference as the time offset; The step of receiving the data stream of the broadcast synchronization group BIG sent by the first Bluetooth terminal according to the BIGInfo includes: According to the time offset, the BIG data stream sent by the first Bluetooth terminal is received at the time anchor point of the BIG event.

9. The data transmission method according to claim 8, characterized in that: The point-to-point connection is a synchronous connection-oriented logical link transmission (SCO) link connection.

10. The data transmission method according to claim 8, characterized in that: The point-to-point connection is an asynchronous connection-oriented logical link transmission ACL link connection. Before establishing the point-to-point connection with the first Bluetooth terminal, the first Bluetooth terminal sends a connectable broadcast, and the connectable broadcast is used to establish the ACL link connection with the second Bluetooth terminal; The first Bluetooth terminal sending a connectable broadcast includes: Sending a connectable broadcast including identification information; wherein the identification information is used to trigger the second Bluetooth terminal to establish a connection with the first Bluetooth terminal according to the connectable broadcast; The step of establishing a point-to-point connection with the first Bluetooth terminal includes: Sending a connection request to the first Bluetooth terminal, so that the first Bluetooth terminal obtains address information of the second Bluetooth terminal from the connection request; wherein the address information is used to indicate the legitimacy of the second Bluetooth terminal; When the address information of the second Bluetooth terminal is verified, an ACL link connection is established with the first Bluetooth terminal.

11. The data transmission method according to claim 8, characterized in that: The BIGInfo is BIGInfo encrypted by the first key; Before receiving the BIG data stream sent by the first Bluetooth terminal according to the BIGInfo, the method further includes: Acquire the identity information of the first Bluetooth terminal through the established point-to-point connection; Acquire the first key according to the identity information of the second Bluetooth terminal and the identity information of the first Bluetooth terminal; The BIGInfo encrypted by the first key is decrypted according to the first key.

12. The data transmission method according to claim 11, characterized in that: The data stream of the BIG is the data stream of the BIG encrypted by a preset second key; The BIGInfo includes the second key; After receiving the BIG data stream sent by the first Bluetooth terminal, the method further includes: According to the second key, the data stream of the BIG encrypted by the second key is decrypted; wherein the second key includes any one of the following: a group initialization vector GIV, a group session key divider GSKD.

13. The data transmission method according to claim 8, characterized in that: After sending the identity information of the second Bluetooth terminal to the first Bluetooth terminal, the method further includes: Receive instruction information corresponding to the identity information of the second Bluetooth terminal sent by the first Bluetooth terminal; wherein the instruction information is used to instruct the second Bluetooth terminal to receive the broadcast synchronization stream BIS from the data stream of the BIG.

14. The data transmission method according to claim 13, characterized in that: The receiving instruction information corresponding to the identity information of the second Bluetooth terminal sent by the first Bluetooth terminal includes: Obtain instruction information corresponding to the identity information of the second Bluetooth terminal carried in the BIGInfo.

15. The data transmission method according to claim 8, characterized in that: After receiving the BIG data stream sent by the first Bluetooth terminal according to the BIGInfo, the method further includes: Disconnect the point-to-point connection established with the first Bluetooth terminal.

16. A data transmission system, characterized in that: include: The first Bluetooth terminal and the second Bluetooth terminal: The first Bluetooth terminal establishes a point-to-point connection with the second Bluetooth terminal; The first Bluetooth terminal is used to obtain the identity information of the second Bluetooth terminal through the established point-to-point connection, and when the identity information of the second Bluetooth terminal is verified, send broadcast synchronization group information BIGInfo to the second Bluetooth terminal through the established point-to-point connection; The second Bluetooth terminal is used to send the identity information of the second Bluetooth terminal to the first Bluetooth terminal through the established point-to-point connection, and after receiving the BIGInfo sent by the first Bluetooth terminal, receive the data stream of the broadcast synchronization group BIG sent by the first Bluetooth terminal according to the BIGInfo; The sending BIGInfo to the second Bluetooth end through the established point-to-point connection includes: According to the correspondence between the pre-stored identity information and the BIG, sending the BIGInfo of the BIG corresponding to the identity information of the second Bluetooth terminal to the second Bluetooth terminal through the established point-to-point connection; wherein the identity information is used to characterize the category of the second Bluetooth terminal; The BIGInfo includes a time offset, and the time offset is obtained by the first Bluetooth terminal through the following steps: Determine a connection event with the second Bluetooth terminal after establishing the point-to-point connection with the second Bluetooth terminal, and record a time anchor point of the connection event; Determine a time anchor point of a most recent BIG event after the connection event; Calculate the difference between the time anchor point of the connection event and the time anchor point of the BIG event, and use the difference as the time offset; wherein the time offset is used for the second Bluetooth end to receive the BIG data stream sent by the first Bluetooth end at the time anchor point of the BIG event.

17. A chip, characterized in that: include: A processing module and a storage module; the storage module stores instructions that can be executed by the processing module, and the instructions are executed by the processing module so that the processing module can execute: The data transmission method according to any one of claims 1 to 7, wherein the chip is the first Bluetooth end; or the data transmission method according to any one of claims 8 to 15, wherein the chip is the second Bluetooth end.

18. An electronic device, characterized in that: It comprises the chip as claimed in claim 17 and a Bluetooth antenna, wherein the Bluetooth antenna is connected to the chip.

19. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the data transmission method according to any one of claims 1 to 7 or the data transmission method according to any one of claims 8 to 15 is implemented.

Citation Information

Patent Citations

  • Authentication of wireless communications

    US20200044844A1