A synchronization system based on BLE protocol
By introducing single channel transmission and time slot allocation technology into the BLE protocol system, the problem that the traditional BLE system cannot handle a large number of terminals is solved, the effect of massive terminal connections and low power consumption is achieved, and Bluetooth air interface conflicts are avoided.
Patent Information
- Application Number
- CN202010782775.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-06
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-08-06
AI Technical Summary
Traditional BLE systems cannot handle a large number of terminals at the same time, resulting in increased transmission times and high power consumption; WiFi and TD-SCDMA have problems with air interface conflicts, high costs, and high power consumption.
Design a synchronization system based on the BLE protocol, including terminal devices, gateways, synchronization clock stations and cloud servers. It uses single channel transmission, time slot allocation and logical channel re-division to reduce the number of transmissions and reduce power consumption.
Supports massive terminal network connections, significantly reduces terminal power consumption, avoids Bluetooth air interface conflicts, and improves information transmission efficiency.
Smart Images

Figure CN111818501B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a synchronization system based on the BLE protocol. Background Art
[0002] The traditional BLE system is a short-distance, low-speed, and low-node network that cannot handle dozens or even thousands of terminals at the same time. Even if the broadcast method is used, based on polling of three broadcast channels, the terminal uses multiple retransmissions to ensure effective upload, which causes a lot of unnecessary competition on the air interface, and the power consumption of the terminal itself increases several times due to multiple retransmissions.
[0003] In addition, the disadvantages of WiFi are that, on the one hand, an Access Point (AP) is limited by the routing processing capacity and the RAM resources of the AP, and the number of devices that can be connected is usually 10 to 100. When there are too many devices, air interface conflicts are prone to occur; on the other hand, due to the need to regularly monitor Beacons, the long connection authentication time, and the high number of retransmissions caused by air competition, its power consumption is high. The disadvantage of TD-SCDMA is that it needs to use cables to transmit signals, which is costly and consumes a lot of power.
[0004] To this end, the present invention is proposed. Summary of the invention
[0005] In view of this, the purpose of the present invention is to propose a synchronization system based on the BLE protocol, which can support network connections of massive terminals and effectively reduce the number of transmissions of each terminal, so as to significantly reduce the power consumption of the terminals.
[0006] To achieve the above object, the present invention provides a synchronization system based on the BLE protocol, the system comprising: a plurality of terminal devices, a plurality of gateways, a synchronization clock station and a cloud server; wherein the terminal device comprises a Bluetooth chip, a temperature sensor and an acceleration sensor;
[0007] The terminal device is used to obtain information data detected by a sensor in the terminal device and send the obtained information data to the gateway;
[0008] The gateway is used to send the information data received from each sensor of the terminal device to the cloud server;
[0009] The synchronous clock station is used to periodically send the reference time to the terminal device and allocate a corresponding time slot to each of the terminal devices;
[0010] The cloud server is used to analyze and process the received information data.
[0011] Preferably, the gateway is further used to realize cascading between the multiple gateways when there are multiple gateways;
[0012] The synchronous clock station is also used to realize cascading between multiple gateways when there are multiple gateways.
[0013] Preferably, the terminal device sends the acquired information data to the gateway, further comprising:
[0014] The terminal device sends the acquired information data to the gateway based on the allocated time slot channel.
[0015] Preferably, the gateway is provided with a Bluetooth chip; the gateway is provided with two Bluetooth chips.
[0016] Preferably, the synchronous clock station is provided with a Bluetooth chip; the synchronous clock station is provided with two Bluetooth chips.
[0017] Beneficial effects:
[0018] The above scheme, the system includes several terminal devices, several gateways, synchronous clock stations and cloud servers, wherein the terminal devices include Bluetooth chips, temperature sensors and acceleration sensors; the terminal devices are used to obtain information data detected by sensors in the terminal devices, and send the obtained information data to the gateway, the gateway is used to send the information data received from each sensor of the terminal device to the cloud server, the synchronous clock station is used to periodically send the reference time to the terminal devices, and allocate corresponding time slots to each of the terminal devices, the cloud server is used to analyze and process the received information data, can support network connections of massive terminals, use a single channel for transmission, no frequency hopping, effectively reduce the number of transmissions, reduce power consumption, and re-divide the physical channels into logical channels to facilitate the implementation of logical functions and reduce Bluetooth air interface conflicts. The system clock is synchronized, and time slots are allocated to the terminals. Each terminal sends packets in its own time slot to effectively avoid Bluetooth air interface conflicts.
[0019] In the above scheme, the terminal device sends the acquired information data to the gateway, which further includes: the terminal device sends the acquired information data to the gateway based on the allocated time slot channel. Since a single channel is used for transmission and the physical channel is re-divided into logical channels and a time division structure is used, the efficiency of the terminal device in reporting information can be effectively improved, thereby achieving the purpose of reducing the power consumption of the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 A schematic diagram of the network topology of a synchronization system based on the BLE protocol provided in one embodiment of the present invention.
[0022] Figure 2 A schematic diagram of time slot allocation of a synchronization system based on the BLE protocol provided by an embodiment of the present invention.
[0023] The realization of the purpose, functional features and advantages of the invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the invention claimed for protection, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0025] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0026] The content of the present invention is described in detail below with reference to embodiments.
[0027] The present invention provides a synchronization system based on the BLE protocol, which can support network connection of a large number of terminals, effectively reduce the number of transmissions of each terminal, and significantly reduce the power consumption of the terminals.
[0028] Reference Figure 1The figure shows a schematic diagram of a network topology structure of a synchronization system based on the BLE protocol provided by an embodiment of the present invention. The synchronization system comprises: a plurality of terminal devices 11, a plurality of gateways 12, a synchronization clock station 13 and a cloud server 14; wherein the terminal device 11 comprises a Bluetooth chip, a temperature sensor and an acceleration sensor;
[0029] The terminal device 11 is used to obtain information data detected by a sensor in the terminal device 11 and send the obtained information data to the gateway 12;
[0030] The gateway 12 is used to send the information data received from each sensor of the terminal device 11 to the cloud server 14;
[0031] The synchronous clock station 13 is used to periodically send the reference time to the terminal device 11 and allocate a corresponding time slot to each terminal device 11;
[0032] The cloud server 14 is used to analyze and process the received information data.
[0033] The synchronization system can support a large number of terminal networks. By using a single channel for transmission, re-dividing the physical channel into logical channels, and adopting a time-division structure, the efficiency of terminal devices in reporting information is effectively improved, thereby achieving the purpose of reducing the power consumption of terminal devices.
[0034] The gateway 12 is also used to realize cascading between the multiple gateways 12 when there are multiple gateways 12; the synchronization clock station 13 is also used to realize cascading between the multiple gateways 12 when there are multiple gateways 12.
[0035] The gateway 12 is provided with a Bluetooth chip; the gateway 12 is provided with two Bluetooth chips.
[0036] The synchronous clock station 13 is provided with a Bluetooth chip; the synchronous clock station 13 is provided with two Bluetooth chips.
[0037] In this embodiment, the terminal device 11 is composed of a Bluetooth chip, a temperature sensor, and an acceleration sensor; the gateway 12 is composed of two independent Bluetooth physical chips, one for cascading between gateways, and the other in a scanning state and collecting the reported information of the terminal device 11 within the range; the synchronization clock station 13 is composed of two independent Bluetooth physical chips, one for cascading other gateways, and the other for broadcasting the clock according to the configured period. The terminal device 11 and the gateway 12 periodically synchronize the clock with the synchronization clock station 13. The terminal device 11 collects the terminal sensor information and reports the information to the gateway 12 in the allocated time slot channel. The gateway 12 is always open and maintained in a scanning state to collect the information reported by the terminal device 11 within the range; the gateway 12 transmits the information collected from the terminal device 11 to the cloud background, and the background performs data analysis. The synchronization system can effectively improve the efficiency of the terminal device reporting information, thereby achieving the purpose of reducing the power consumption of the terminal device.
[0038] The terminal device 11 sends the acquired information data to the gateway 12, further comprising:
[0039] The terminal device 11 sends the acquired information data to the gateway 12 based on the allocated time slot channel.
[0040] Reference Figure 2 FIG. 1 is a schematic diagram of time slot allocation of a synchronization system based on the BLE protocol provided in one embodiment of the present invention.
[0041] In this embodiment, after the terminal device 11, the gateway 12 and the synchronous clock station 13 perform clock synchronization, the terminal device 11 collects the sensor information of the terminal device 11 and reports the information to the gateway 12 during wakeup in the allocated time slot TS on a single channel; to ensure the reception accuracy, it can be set to repeat the transmission twice, and return to the sleep state after the transmission is completed; the gateway 12 is always open and maintained in the scanning state, collecting the information reported by the terminal devices 11 within the range, and issuing control commands on the control channel when necessary; the gateway 12 transmits the information collected from the terminal device 11 to the cloud server 14, and the cloud server 14 performs data analysis.
[0042] Specifically, multiple users at different frequencies communicate with the base station gateway at the same time. The system uses 40 2MH channels in the 2.400-2.835 frequency band at intervals, which are allocated to three categories: synchronous clock broadcast channel, business channel, and control channel. Multiple users communicate at the same frequency at the same time. Multiple users use a set of orthogonal code encoding (Walsh orthogonal code). Each user is allocated an orthogonal code (chip), and broadband spread spectrum (chip rate) is performed at the same time. Different users do not interfere with each other. Each terminal device and gateway in the system is synchronized with the network reference time. The reference time is continuously sent through the synchronous clock station periodically. The system allocates TS resources to each terminal device in each TS time slot in the window period T. Each terminal device wakes up in its own time slot in each frame to send a report broadcast packet. Each terminal device needs to receive the clock of the synchronous clock station, check the table, and set the local RTC timer in the set time slot TS of each N*T. When broadcasting, the gateway is configured to broadcast in a single broadcast channel in a loop, for example, broadcasting only on channel 37. If the sniffer is configured to receive signals on three broadcast channels (adv_hop=37, 38, 39), the packet loss rate of the received signal is more than two-thirds due to frequency hopping. If the sniffer is configured to receive signals on signal 37, most of the signals can be received without frequency hopping.
[0043] It can be found that in the above scheme, the system includes several terminal devices, several gateways, a synchronous clock station and a cloud server, wherein the terminal device includes a Bluetooth chip, a temperature sensor and an acceleration sensor; the terminal device is used to obtain the information data detected by the sensor in the terminal device, and send the obtained information data to the gateway, the gateway is used to send the information data received from each sensor of the terminal device to the cloud server, the synchronous clock station is used to periodically send the reference time to the terminal device, and allocate corresponding time slots to each of the terminal devices, the cloud server is used to analyze and process the received information data, can support network connections of massive terminals, use a single channel for transmission, no frequency hopping, effectively reduce the number of transmissions, reduce power consumption, and re-divide the physical channel into logical channels to facilitate the realization of logical functions and reduce Bluetooth air interface conflicts. The system clock is synchronized, and time slots are allocated to the terminals. Each terminal sends packets in its own time slot to effectively avoid Bluetooth air interface conflicts.
[0044] In the above scheme, the terminal device sends the acquired information data to the gateway, which further includes: the terminal device sends the acquired information data to the gateway based on the allocated time slot channel. Since a single channel is used for transmission and the physical channel is re-divided into logical channels and a time division structure is used, the efficiency of the terminal device in reporting information can be effectively improved, thereby achieving the purpose of reducing the power consumption of the terminal device.
[0045] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0046] The implementation schemes in the above embodiments can be further combined or replaced, and the embodiments are only descriptions of the preferred embodiments of the present invention, and do not limit the concept and scope of the present invention. Without departing from the design concept of the present invention, various changes and improvements made to the technical solutions of the present invention by professional and technical personnel in this field all belong to the protection scope of the present invention.
Claims
1. A synchronization system based on the BLE protocol, characterized in that: The system includes: a plurality of terminal devices, a plurality of gateways, a synchronization clock station and a cloud server; wherein the terminal device includes a Bluetooth chip, a temperature sensor and an acceleration sensor; The terminal device is used to obtain information data detected by a sensor in the terminal device and send the obtained information data to the gateway; The gateway is used to send the information data received from each sensor of the terminal device to the cloud server; The synchronous clock station is used to periodically send the reference time to the terminal device and allocate a corresponding time slot to each of the terminal devices; The cloud server is used to analyze and process the received information data; The gateway is configured to perform cyclic broadcasting on a single broadcast channel when broadcasting; The gateway is provided with a Bluetooth chip; the gateway is provided with two Bluetooth chips; the synchronous clock station is provided with a Bluetooth chip; the synchronous clock station is provided with two Bluetooth chips.
2. A synchronization system based on the BLE protocol according to claim 1, characterized in that: The gateway is further used to realize cascading between the multiple gateways when there are multiple gateways; The synchronous clock station is also used to realize cascading between multiple gateways when there are multiple gateways.
3. A synchronization system based on the BLE protocol according to claim 1, characterized in that: The terminal device sends the acquired information data to the gateway, further comprising: The terminal device sends the acquired information data to the gateway based on the allocated time slot channel.
Citation Information
Patent Citations
Sensor nodes with multicast transmissions in lighting sensory network
CN105264831A
Distributed localization systems and methods and self-localizing apparatus
CN107980100A
Bluetooth networking system
CN110730440A
Remote device control
CN111149334A
Low energy sensor data collection
US20200036792A1
