Bluetooth csb communication method, device, system and storage medium

CN123021115APending Publication Date: 2026-10-30SHENZHEN BLUETRUM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610955062.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-30
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

[0007]有鉴于上述问题,本发明提供一种蓝牙CSB通信方法、设备、系统及存储介质,能够克服现有技术中作为CSB从设备,无法主动提高CSB通信建立效率的缺陷

Benefits of technology

[0018]本发明提供的CSB通信方法通过对通信质量和/或自身设备状态进行评估,并根据评估结果选择CSB通信建立策略,该策略可在合适的对应时机主动发送触发命令至主设备,触发主设备即时发送同步序列,一方面无需改动主设备固有通信配置,同时避免了长时间的同步序列监听,大幅缩短了CSB通信建立时间,提高了通信效率,另一方面能够根据通信质量和/或自身设备状态选择触发时间,兼顾功耗与效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123021115A_ABST
    Figure CN123021115A_ABST
Patent Text Reader

Abstract

The application discloses a Bluetooth CSB communication method, device, system and storage medium, comprising a master device and a slave device, the method is applied to the slave device, and the method comprises the following steps: performing a proximity association operation, and acquiring the communication quality of the master device according to the communication result of the proximity association operation; evaluating the communication quality and / or the state of the device itself, and selecting a CSB communication establishment strategy according to the evaluation result, wherein the trigger time nodes of different strategies are different; acquiring a synchronization sequence, and establishing the CSB communication with the master device based on the synchronization sequence. The application can overcome the defects in the prior art that the slave device cannot actively improve the CSB communication establishment efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of Bluetooth communication technology, and in particular to a Bluetooth CSB communication method, device, system, and storage medium. Background Technology

[0002] Bluetooth technology, as the mainstream standard for short-range wireless communication, is widely used in consumer electronics, industrial IoT, automotive electronics and other fields. Among them, CSB (Connectionless Slave Broadcast) is a one-way one-to-many broadcast defined by the classic Bluetooth baseband. Unlike the point-to-point transmission of ACL (Asynchronous Connection-Link) and SCO (Synchronous Connection-Oriented), it only sends data down one way, without ACK response or retransmission mechanism, and is considered an unreliable transmission.

[0003] According to the Bluetooth 3DSP specification document, the standard CSB communication establishment process has a fixed timing logic: The slave device first performs a proximity association operation, obtains the master device's FHS (Frequency Hopping Synchronization) data packet through a device inquiry process, and completes the master device's anchoring and initial clock alignment; then it continuously listens for the synchronization sequence sent by the master device, and after successfully parsing the various CSB configuration parameters contained in the synchronization sequence, it completes the timing synchronization with the master device, and periodically receives the CSB broadcast data sent by the master device, finally establishing stable CSB communication.

[0004] In the aforementioned CSB communication, since the main task of the master device is to continuously and periodically send CSB broadcast data, most of the bandwidth resources are occupied by regular CSB services. At the same time, time slot resources need to be reserved to continuously scan surrounding devices in order to establish CSB communication with new slave devices. Therefore, the bandwidth allocated to synchronous sequence broadcast is often very low. In fact, to save power consumption, the master device may even turn off synchronous sequence broadcast and only send CSB broadcast data.

[0005] Limited by the master device's limited synchronization sequence broadcast bandwidth, the time required for slave devices to listen for and capture the synchronization sequence increases significantly, resulting in low CSB communication establishment efficiency. Current industry optimization methods all revolve around the master device side, improving communication establishment efficiency by shortening the synchronization sequence broadcast cycle and increasing the frequency of synchronization sequence broadcasts. However, these optimization methods rely entirely on the master device's active configuration and scheduling. Slave devices in the CSB communication system only have unidirectional data reception capabilities and cannot intervene in, modify, or adjust the master device's communication parameters and broadcast strategies. They remain in a completely passive receiving state and cannot autonomously optimize CSB communication establishment efficiency.

[0006] Therefore, there is an urgent need for a CSB communication method that can be applied to slave devices and improve the efficiency of CSB communication establishment. Summary of the Invention

[0007] In view of the above problems, the present invention provides a Bluetooth CSB communication method, device, system and storage medium, which can overcome the shortcomings of the prior art where, as a CSB slave device, it is impossible to actively improve the efficiency of CSB communication establishment.

[0008] In a first aspect, a CSB communication method is provided, including a master device and a slave device, the method being applied to the slave device, the method comprising: Perform a proximity association operation and obtain the communication quality with the master device based on the communication result of the proximity association operation; The communication quality and / or the status of the device itself are evaluated, and a CSB communication establishment strategy is selected based on the evaluation results. The CSB communication establishment strategy is used to determine the trigger time node of the trigger operation, and when the trigger time node arrives, a trigger command is sent to the master device. The trigger command is used to trigger the master device to send a synchronization sequence immediately. The synchronization sequence is obtained, and CSB communication is established with the master device based on the synchronization sequence.

[0009] In conjunction with the first aspect, in one possible implementation, the communication quality includes the received signal strength, and the evaluation of the communication quality specifically involves... The received signal strength obtained during the proximity association operation is acquired, and the communication distance between the master device and itself is estimated based on the received signal strength. The communication distance is compared with a preset communication distance to evaluate the communication quality.

[0010] In conjunction with the first aspect, in one possible implementation, the communication quality includes the duration of near-associative operation communication, and the evaluation of the communication quality specifically involves... The communication time consumed in performing the proximity association operation is obtained, and the communication time is compared with the preset communication time to evaluate the communication quality.

[0011] In conjunction with the first aspect, in one possible implementation, the self-device status includes the current battery level, and the assessment of the self-device status specifically involves... The device obtains its current battery level and compares it with a preset battery level to assess its status.

[0012] In conjunction with the first aspect, in one possible implementation, based on the evaluation results, the strategy includes a first strategy and a second strategy; When the evaluation result is good, the triggering time node corresponding to the first strategy is in an earlier position within the timeout period. When the evaluation result is poor, the second strategy is used when the triggering time node corresponding to the second strategy is located at a later position within the timeout period.

[0013] In conjunction with the first aspect, in one possible implementation, the strategy further includes a third strategy, wherein when the evaluation result is general, the triggering time node corresponding to the third strategy is at a moderate position within the timeout period.

[0014] In conjunction with the first aspect, in one possible implementation, the timeout duration set for establishing CSB communication is obtained, and the trigger time node is set according to the timeout duration. The trigger time node is different for different strategies.

[0015] In a second aspect, a Bluetooth device is provided, including a memory and a processor, the memory being connected to the processor, the processor being configured to execute one or more computer programs stored in the memory, wherein when the processor executes the one or more computer programs, the Bluetooth device enables the CSB communication method of the first aspect.

[0016] Thirdly, a system is provided, including a Bluetooth device as described in the second aspect, wherein the Bluetooth device applies the CSB communication method as described in the first aspect.

[0017] Fourthly, a computer-readable storage medium is provided, which stores a computer program, the computer program including program instructions, which, when executed by a processor, cause the processor to perform the CSB communication method of the first aspect.

[0018] The CSB communication method provided by this invention evaluates the communication quality and / or the device's own status, and selects a CSB communication establishment strategy based on the evaluation results. This strategy can proactively send a trigger command to the master device at an appropriate time, triggering the master device to send a synchronization sequence immediately. On the one hand, it does not require modification of the master device's inherent communication configuration, and avoids long-term synchronization sequence listening, which greatly shortens the CSB communication establishment time and improves communication efficiency. On the other hand, it can select the trigger time based on the communication quality and / or the device's own status, balancing power consumption and efficiency. Attached Figure Description

[0019] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This application provides a diagram illustrating the close-association communication interaction between CSB master and slave devices in an embodiment of the application.

[0021] Figure 2 This is a flowchart illustrating a CSB communication method provided in an embodiment of this application.

[0022] Figure 3 A detailed flowchart of a CSB communication method provided in an embodiment of this application is shown.

[0023] Figure 4 This is a schematic diagram of the structure of a Bluetooth device provided in an embodiment of this application. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0025] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0026] It should be noted that, unless otherwise specified, the various features in the embodiments of this application can be combined with each other, all within the scope of protection of this application. Furthermore, the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Moreover, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0027] Reference Figure 1 This embodiment provides a CSB communication method, including a master device and a slave device, wherein the method is applied to the slave device, characterized in that the method includes: Perform a proximity association operation and obtain the communication quality with the master device based on the communication result of the proximity association operation; The communication quality and / or the status of the device itself are evaluated, and a CSB communication establishment strategy is selected based on the evaluation results. The CSB communication establishment strategy is used to determine the trigger time node of the trigger operation, and when the trigger time node arrives, a trigger command is sent to the master device. The trigger command is used to trigger the master device to send a synchronization sequence immediately. The synchronization sequence is obtained, and CSB communication is established with the master device based on the synchronization sequence.

[0028] Reference Figure 2 As shown, the aforementioned slave device performs proximity pairing according to the Bluetooth 3DSP specification. Proximity pairing is initiated by user actions such as pressing a button or proximity sensing, which triggers the slave device to start a query. After receiving the query packet, the master device responds by sending an FHS packet and an EIR (Extended Inquiry Response) packet. Multiple master devices (an) as shown in the diagram can have multiple responses. After receiving the response, the slave device obtains the received power (EIR) of the EIR packet. - rp, and analyze the transmit power EIR in each EIR packet - tp, then calculate the path loss value for each master device: Path Loss = EIR - tp - EIR - Finally, the target master device with the lowest path loss value is selected for close association, or it is associated with a target master device specified by the user.

[0029] The above communication quality is an evaluation of the quality of the communication link between the slave device and the target master device. It is used to determine whether the link can complete data transmission stably, quickly, and with low error. It can be evaluated by one or more communication parameters, such as the path loss, received signal strength (RSSI), link transmission delay, and signal-to-noise ratio. Reference values ​​should be set for the corresponding parameters. The communication quality assessment can be completed by comparing the parameters and reference values.

[0030] 3DSP specifies that if a slave device fails to detect the synchronization sequence within the timeout period, it will perform a truncated page operation. Truncated page is a lightweight paging method specified by the classic Bluetooth baseband. It reduces signaling interaction, lowers power consumption, and speeds up device response by prematurely terminating the standard paging process. Truncated page can trigger the master device to directly schedule time slots to immediately send out the synchronization sequence. Therefore, the trigger command mentioned above can specifically be a truncated page.

[0031] Since the aforementioned proximity association operations and truncated paging interactions with the master device are standardized interaction mechanisms explicitly defined by the 3DSP specification, and do not belong to newly added private messages or non-standard extended instructions, any master device that conforms to the 3DSP certification standard has native built-in parsing and response logic for proximity association and truncated paging, and the factory protocol stack naturally supports them, so there is no issue of protocol incompatibility.

[0032] Of course, the trigger command mentioned above can also be a private message or a non-standard extended instruction. The device manufacturer defines the payload format, type code, and data fields of the dedicated data packet. Based on the existing standard Bluetooth data packet, the manufacturer's private extended fields reserved in the specification are used to add custom control instructions. This trigger command requires the master device to also support the private configuration. It has low compatibility but high flexibility.

[0033] In some specific embodiments, the aforementioned communication quality includes received signal strength. The evaluation of this communication quality specifically involves acquiring the received signal strength obtained during the proximity association operation, estimating the communication distance between the master device and itself based on this received signal strength, and comparing this communication distance with a preset communication distance to evaluate the communication quality. When the slave device performs the proximity association operation, it acquires the FHS packets and EIR packets sent by the master device, from which it can parse the received signal strength. Based on this received signal strength, the distance between the master and slave devices can be estimated, thereby completing the communication quality evaluation.

[0034] In other specific embodiments, the aforementioned communication quality includes the communication duration of a proximity association operation. Specifically, evaluating the communication quality involves obtaining the communication duration consumed in executing the proximity association operation, comparing this communication duration with a preset communication duration, and thus evaluating the communication quality. The communication duration can specifically be from the start of the query by the slave device to the end of receiving the response from the master device; the communication quality evaluation is completed based on this communication duration and the preset communication duration.

[0035] In some specific embodiments, the aforementioned self-device status includes the current battery level. Specifically, the aforementioned assessment of the self-device status involves obtaining the current battery level of the self-device, comparing the current battery level with a preset battery level, and thereby assessing the self-device status.

[0036] In some specific embodiments, based on the above evaluation results, the above strategy includes a first strategy and a second strategy; When the evaluation result is good, the triggering time node corresponding to the first strategy is in an earlier position within the timeout period. When the evaluation result is poor, the second strategy is used when the triggering time node corresponding to the second strategy is located at a later position within the timeout period.

[0037] Based on the first strategy mentioned above, when the communication quality assessment result is good, it indicates that the communication distance between the master and slave devices is short, the association time is short, and the link interference is low. When the slave device is unable to listen to the synchronization sequence within a certain period of time, after excluding communication anomalies, it indicates that the synchronization sequence period of the master device may be long, the bandwidth used for the synchronization sequence may be narrow, or the synchronization sequence broadcast may have been turned off. The slave device is not likely to receive the synchronization sequence. A trigger command can be sent at a preset time node to trigger the master device to send the synchronization sequence immediately and quickly complete the CSB synchronization.

[0038] Based on the first strategy mentioned above, when the device's own status assessment result is good, such as when the current power is sufficient, it means that the slave device can bear a certain amount of RF power consumption. For the sake of communication efficiency, a trigger command can be sent at a preset time node. This can be either the slave device sending the trigger command immediately after determining the first strategy, or the slave device sending the trigger command after failing to listen to the synchronization sequence within a certain period of time, triggering the master device to send the synchronization sequence immediately and quickly complete CSB synchronization.

[0039] Based on the second strategy mentioned above, when the communication quality assessment result is poor, it indicates that the communication distance between the master and slave devices is too far, the association time may be too long, and the channel interference is severe. It is not necessarily due to the low frequency of the synchronization sequence, narrow bandwidth, or that it has been turned off. More time can be given to the slave device to listen for the synchronization sequence. If the slave device still fails to listen for the synchronization sequence after a certain period of time, a trigger command can be sent at a preset time node to trigger the master device to send the synchronization sequence in time, so as to ensure communication efficiency and reduce RF power consumption as much as possible.

[0040] Based on the second strategy mentioned above, when the device's own status assessment result is poor, such as when the current battery is low, it means that the slave device should reduce power consumption as much as possible to ensure battery life. When the slave device is unable to listen to the synchronization sequence for a long time, it will send a trigger command at a preset time node for communication efficiency, triggering the master device to send the synchronization sequence in time and complete CSB synchronization.

[0041] In some specific embodiments, the above strategy also includes a third strategy, which is used when the evaluation result is average, and the triggering time node corresponding to the third strategy is at a moderate position within the timeout period.

[0042] Based on the third strategy mentioned above, when the communication quality assessment result is average, it means that the communication distance, association time, and link interference between the master and slave devices are all within an acceptable range. In order to balance communication efficiency and power consumption, the slave device is instructed to listen to the synchronization sequence for a certain period of time. If the synchronization sequence is still not listened to, a trigger command is sent at a preset time node to trigger the master device to send the synchronization sequence in time and complete the CSB synchronization.

[0043] Based on the third strategy mentioned above, when the device's status assessment result is normal, such as when the current power level is moderate, it means that the slave device should not incur unnecessary power consumption. The slave device should listen for the synchronization sequence for a certain period of time. If the synchronization sequence is still not detected, for the sake of communication efficiency, a trigger command is sent at a preset time node to trigger the master device to send the synchronization sequence in time and complete the CSB synchronization.

[0044] In some specific embodiments, the method further includes: Obtain the timeout duration set for establishing CSB communication, and set the trigger time node according to the timeout duration. The trigger time node is different for different strategies.

[0045] The aforementioned timeout duration is the maximum allowed waiting time for establishing CSB communication preset locally by the device. In this embodiment, it is used to divide the trigger time nodes for triggering commands under different strategies. Specifically, the trigger time node is the waiting time from the start of the listening phase after the device enters the synchronization sequence listening phase until the active sending of the trigger command. The trigger time nodes are different under different strategies. Specifically, for the first, second, and third strategies mentioned above, based on the evaluation results of better, average, and worse, the corresponding trigger time nodes can be 1 / 4 timeout duration, 1 / 2 timeout duration, and 3 / 4 timeout duration, or they can be immediate triggering, 1 / 2 timeout duration, and full timeout duration. By assigning different proportions of timeout duration as their respective trigger time nodes, different trigger times are formed.

[0046] Reference Figure 3It shows a complete flowchart of the above CSB communication method, and the specific process of the above CSB communication method is as follows: The device performs a proximity association operation, sends a query command, and listens for the responses from surrounding master devices. The responses from master devices include the aforementioned FHS packets and EIR packets. After receiving multiple responses, the path loss of each master device is calculated by parsing the transmit and receive power in the EIR packets, and the target master device with which to conduct CSB communication is determined. After identifying the target master device, the communication quality with the target master device is evaluated based on the communication results of the proximity association operation. This can be achieved by comparing the received signal strength, the communication duration of the proximity association operation, and the corresponding preset parameters to obtain the evaluation result; or, the status of the device itself can be evaluated by comparing the current power level with the preset power level to obtain the evaluation result; or both of the above can be used as influencing factors for evaluation.

[0047] Then, based on the evaluation results, select the first, second, or third matching strategy. If the evaluation result is better, match the first strategy; if the evaluation result is worse, match the second strategy; if the evaluation result is generally better, match the third strategy. Send a trigger command at the corresponding trigger time node. The trigger command can be to cut off paging. Finally, listen to obtain the synchronization sequence and complete the establishment of CSB communication with the target master device.

[0048] Reference Figure 4 , Figure 4 This is a schematic diagram of the structure of a Bluetooth device provided in an embodiment of this application. The Bluetooth device 30 includes a processor 301 and a memory 302. The memory 302 is connected to the processor 301, for example, via a bus.

[0049] Processor 301 is configured to support the Bluetooth device 30 in performing the corresponding functions in the methods described in the above method embodiments. Processor 301 may be a central processing unit (CPU), a network processor (NP), a hardware chip, or any combination thereof. The aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The aforementioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0050] Memory 302 is used to store program code, etc. Memory 302 may include volatile memory (VM), such as random access memory (RAM); memory 302 may also include non-volatile memory (NVM), such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (SSD); memory 302 may also include combinations of the above types of memory.

[0051] The processor 301 can call the program code to execute the CSB communication method as described in the foregoing embodiments.

[0052] This application also provides a system including a Bluetooth device as described in the foregoing embodiments, wherein the Bluetooth device applies the CSB communication method as described in the foregoing embodiments.

[0053] This application also provides a computer-readable storage medium storing a computer program, the computer program including program instructions, which, when executed by a computer, cause the computer to perform the CSB communication method as described in the foregoing embodiments.

[0054] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0055] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.

Claims

1. A CSB communication method, comprising a master device and a slave device, wherein the method is applied to the slave device, characterized in that, The method includes: Perform a proximity association operation and obtain the communication quality with the master device based on the communication result of the proximity association operation; The communication quality and / or the status of the device itself are evaluated, and a CSB communication establishment strategy is selected based on the evaluation results. The CSB communication establishment strategy is used to determine the trigger time node of the trigger operation, and when the trigger time node arrives, a trigger command is sent to the master device. The trigger command is used to trigger the master device to send a synchronization sequence immediately. The synchronization sequence is obtained, and CSB communication is established with the master device based on the synchronization sequence.

2. The method according to claim 1, characterized in that, The communication quality includes the received signal strength, and the evaluation of the communication quality specifically involves... The received signal strength obtained during the proximity association operation is acquired, and the communication distance between the master device and itself is estimated based on the received signal strength. The communication distance is compared with a preset communication distance to evaluate the communication quality.

3. The method according to claim 1, characterized in that, The communication quality includes the duration of near-associative operation communication, and the evaluation of the communication quality specifically involves... The communication time consumed in performing the proximity association operation is obtained, and the communication time is compared with a preset communication time to evaluate the communication quality.

4. The method according to claim 1, characterized in that, The device status includes the current battery level, and the assessment of the device status specifically involves... The device obtains its current battery level and compares it with a preset battery level to assess its status.

5. The method according to any one of claims 1-4, characterized in that, Based on the evaluation results, the strategy includes a first strategy and a second strategy; When the evaluation result is good, the first strategy is used so that the trigger time node corresponding to the first strategy is in an earlier position within the timeout period; When the evaluation result is poor, the second strategy is used when the triggering time node corresponding to the second strategy is located at a later position within the timeout period.

6. The method according to claim 5, characterized in that, The strategy also includes a third strategy, which is used when the evaluation result is average, and the triggering time node corresponding to the third strategy is at a moderate position within the timeout period.

7. The method according to claim 6, characterized in that, The method further includes: Obtain the timeout duration set for establishing CSB communication, and set the trigger time node according to the timeout duration. The trigger time node is different for different strategies.

8. A Bluetooth device, characterized in that, The device includes a memory and a processor, the memory being connected to the processor, the processor being configured to execute one or more computer programs stored in the memory, and the processor, when executing the one or more computer programs, causing the Bluetooth device to implement the CSB communication method as described in any one of claims 1-7.

9. A system, characterized in that, Includes the Bluetooth device as described in claim 8, wherein the Bluetooth device applies the CSB communication method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, the computer program including program instructions that, when executed by a processor, cause the processor to perform the CSB communication method as described in any one of claims 1-7.