A wireless collection method for multi-device information

By adopting the BLE ACL connection link and transmission time slot configuration of the low-power Bluetooth standard version 5.3 in the multi-device wireless information collection system, the problem of insufficient control of the communication protocol between devices is solved, and low-power real-time information interaction and flexible device joining are realized, which is suitable for audio and multi-sensor information collection.

CN116347262BActive Publication Date: 2025-09-19GUANGZHOU GUOXIN MICRO TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310064762.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-12
Publication Date
2025-09-19
Estimated Expiration
2043-01-12

AI Technical Summary

Technical Problem

Existing multi-device wireless information collection methods have deficiencies in inter-device communication protocol control, cannot adapt to the flexible joining and exit of devices, and cannot effectively handle the differences in data volume between devices and sudden large data volume demands, resulting in high power consumption or information delays.

Method used

The wireless acquisition device using the Bluetooth Low Energy standard version 5.3 establishes BLE ACL connection links with multiple acquired devices one by one. By configuring connection parameters and sub-rate parameters, unique transmission time slots are allocated, and scanning is performed in idle time slots to adapt to devices joining or leaving. It supports low-speed connection and high-speed switching, and realizes low-power real-time information interaction between devices.

Benefits of technology

It realizes low-power real-time information interaction between devices, supports flexible device joining and exiting, has anti-interference and error correction capabilities, meets the needs of collecting sudden large amounts of data, and is suitable for mixed audio and multi-sensor information collection environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116347262B_ABST
    Figure CN116347262B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for wirelessly collecting information from multiple devices. The system structure of the present invention includes: a wireless collecting terminal device as a master device, and multiple wireless collected terminal devices as slave devices, and the master device has the function of low-power Bluetooth standard version 5.3. The master device and the slave device establish Bluetooth BLE ACL connection links one by one, and the slave device configures the connection parameters according to its own data collection cycle and the amount of data collected each time, and the master device allocates transmission time slots for each wireless collected terminal device. The master device sends an empty packet or a packet with control information to the slave device in the transmission time slot occupied by the BLE ACL connection link where the slave device is located. After receiving the packet sent by the master device, the slave device sends the collected information to the master device. In the present invention, the master and slave devices maintain a low-speed connection, which avoids the delay in collecting information caused by the long time to establish the connection. The present invention meets the real-time collection requirements of information and realizes low-power real-time information collection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of wireless communications, and in particular relates to a method for wirelessly collecting information from multiple devices. Background Art

[0002] Wireless data collection from multiple devices is widely used in industrial control, security monitoring, and the Internet of Things (IoT). By eliminating the need for communication cables, it saves costs and allows for greater flexibility in device location. However, limited wireless channel spectrum resources place higher demands on inter-device communication protocol control. Furthermore, given the critical importance of device battery life in IoT systems, devices whose data is being collected should be placed in a dormant state when not transmitting to reduce energy consumption.

[0003] In the prior art, the collection end device typically collects information from the collected end device at a constant period. This approach brings limitations: when the collection period is short, the collected end device can send more information, but in order to synchronize with the collection end or maintain a connection, it also needs to send and receive empty data synchronization packets when there is no information to be collected, which leads to higher power consumption. When the collection period is long, the collected end sends less information and has more sleep time to reduce power consumption. However, when a sudden large amount of data needs to be sent, it is difficult to switch to a high-speed communication state in time. When the storage space of the collected device is insufficient, this situation may lead to data loss. For example, when a monitoring device is not triggered by a specific sound, it is in a low-power sleep mode. At this time, it only needs to maintain a connection with the collection end through low-speed communication. When a target sound such as a human voice or animal sound is recognized, it needs to continue listening and send the data to the collection end in a timely manner via high-speed communication.

[0004] The invention patent No. 201410639210.5 discloses a wireless multi-terminal information collection method: the wireless base station sends synchronization codes at intervals of a certain period, and the wireless terminal receives the synchronization codes at a certain wake-up period. After the wireless terminal is powered on, it can complete synchronization with the wireless base station time base by waking up at most twice. During the wireless base station's silence period, each wireless terminal is allocated a response time. The wireless terminal calculates the coordinate position of the wireless terminal's response time based on the wireless base station's synchronization time base. Each wireless terminal only responds and sends information to the wireless base station within its own response time, and is in a dormant state for the rest of the time. This method avoids response conflicts among multiple wireless terminals by orderly allocating the response time of the wireless terminals, reduces power consumption, and extends the working time of the terminals. However, there are also shortcomings: (1) Each wireless terminal needs to be allocated a relatively fixed synchronization code word and address number in advance before it can send information in the designated time slot according to the corresponding number. This means that the members of the communication network are basically fixed, and it is not applicable to systems with flexible joining and exiting devices. (2) The information transmission time allocated to each wireless terminal is the same. This is not suitable for systems where the amount of data transmitted between terminal devices varies greatly or some terminal devices have bursts of large data volumes. (3) There is a lack of means for wireless base stations to send information to wireless terminals or schedule time slots. Summary of the Invention

[0005] The purpose of the present invention is to provide a method for wirelessly collecting multi-device information in response to the deficiencies in the prior art.

[0006] The wireless information collection system structure of the present invention includes: a wireless collection terminal device as a master device, and multiple wireless collection terminal devices as slave devices. The wireless collection terminal device has the function of low-power Bluetooth standard version 5.3. The specific wireless collection method is:

[0007] The wireless acquisition end device establishes Bluetooth BLE ACL connection links L with multiple wireless collected end devices one by one i , i=1,2,…,N, where N is the number of wireless data collection devices.

[0008] BLE ACL connection link L i When establishing, the slave device configures the connection parameters according to its own data collection cycle and the amount of data collected each time; the master device allocates transmission time slots t for each wireless collected terminal device. i , a transmission cycle T=t1+t2+…+t N +t0, t0 is the set idle time slot; there are two cases:

[0009] (1) If the i-th slave device only has the low-power Bluetooth standard version 5.2 and below, the master device configures the connInterval, connPeripheralLatency and connSupervisionTimeout parameters by sending the LL_CONNECTION_PARAM_REQ PDU so that the transmission time slot occupied by the slave device is staggered with the transmission time slots belonging to the previous i-1 slave devices;

[0010] (2) If the i-th slave device has the function of Bluetooth Low Energy standard version 5.3 or above, the master device configures the connection subrate parameters connSubrateBaseEvent, connSubrateFactor and ConnContinuationNumber, as well as the connection parameters connInterval, connPeripheralLatency and connSupervisionTimeout by sending LL_SUBRATE_IND PDU, so that the transmission time slot occupied by the slave device is staggered with the transmission time slot belonging to the previous i-1 slave devices, and when the configured subrate parameters allow burst long data, the slave device has enough time slot to send the burst data to the master device.

[0011] The master device connects to link L in the BLE ACL i The occupied transmission time slot sends an empty packet or a packet with control information to the i-th slave device. After receiving the packet sent by the master device, the slave device sends the collected information to the master device.

[0012] When the master device communicates with a slave device that supports Bluetooth Low Energy standard version 5.3 and above, if valid data is exchanged during a subrated connection event, the master device and the slave device exchange data in the following continuation events. Otherwise, the master device scans through the unused continuation event time period. If a new slave device is scanned, the master device establishes a Bluetooth BLEACL connection link with the new slave device, performs the connection parameter configuration process, and allocates a transmission time slot for the new slave device.

[0013] The master device scans in the idle time slot. If a new slave device is scanned, the master device establishes a Bluetooth BLE ACL connection link with the new slave device, performs the connection parameter configuration process, and allocates a transmission time slot for the new slave device.

[0014] Each slave device communicates with the master device only during its own transmission slot. The rest of the time, it remains dormant, maintaining only sensor signal acquisition and timer counting functions. When the timer count reaches its next transmission slot, it wakes up to communicate. When information exchange between slave devices is needed, the information-sending slave device sends the information to the master device via its own transmission slot, and the master device forwards the information to the receiving slave device via the transmission slot of the receiving slave device.

[0015] If a slave device exits the wireless information collection system, the transmission time slot corresponding to the slave device will be used as a newly added idle time slot. If the transmission time slot allocated by the master device to the new slave device is less than or equal to the newly added idle time slot, the newly added idle time slot will be used as the transmission time slot of the new slave device. Otherwise, the position of the new slave device's transmission time slot will be determined based on the size of the idle time slot t0: if the idle time slot t0 is larger than the new slave device's transmission time slot, the new slave device's transmission time slot will be set within the idle time slot t0 and follow the last transmission time slot of the original slave device. Otherwise, the new slave device's transmission time slot will be inserted between the last transmission time slot of the original slave device and the idle time slot. For the transmission time slots of slave devices added later, the newly added idle time slots will be given priority.

[0016] The beneficial effects of the present invention are: each slave device completes communication with the master device only in the transmission time slot, other slave devices are in a dormant state, and the master and slave devices maintain a low-speed connection, avoiding the delay in collecting information caused by the long time to establish the connection. Under the low-speed connection, the power consumption of the slave device is low, and it supports information interaction between the master and slave devices. Compared with the multi-device information collection based on the broadcast mode, the wireless communication information collection system that establishes a connection has stronger anti-interference and error correction capabilities. At the same time, when there is a sudden demand for large-scale data collection, a slave device with the function of low-power Bluetooth standard 5.3 and above can quickly switch to a high-speed connection mode to meet the real-time information collection needs. The present invention is easy to apply to audio collection and multi-sensor information mixed collection environments to achieve low-power real-time information collection. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a schematic diagram of the wireless information collection system;

[0018] Figure 2 Schematic diagram of the transmission timing of the wireless information collection system. DETAILED DESCRIPTION

[0019] The present invention will be further described below with reference to the accompanying drawings and examples.

[0020] like Figure 1As shown in the figure, wireless multi-device information collection includes: a wireless collecting end device and multiple wireless collected end devices. The wireless collecting end device has the low-power Bluetooth standard version 5.3 function, such as mobile phones, computers, tablets, TVs and other devices.

[0021] The wireless acquisition end device establishes Bluetooth BLE ACL connection links L with multiple wireless collected end devices one by one i , i=1,2,…,N, N is the number of wireless collected end devices, and in this embodiment, N=6. Among them, the wireless collecting end device is the master device, and the wireless collected end device is the slave device. In this embodiment, slave device 1 and slave device 2 are recording devices with low-power Bluetooth version 5.3 function, which initiate real-time audio transmission to the master device when recognizing a specific audio signal; slave device 3 is an image sensing device with low-power Bluetooth version 5.3 function, which initiates ACL transmission and sends the image to the master device when recognizing a specific target image; slave devices 4, 5, and 6 are sensor devices with low-power Bluetooth version 5.2 or lower, such as temperature sensors, infrared sensors, acceleration sensors, etc. The amount of data collected at a single time is small and can be transmitted in one ACL data PDU.

[0022] like Figure 2 As shown, when the master device establishes a BLE ACL connection link L1 with slave device 1, the connection subrate parameters connSubrateBaseEvent=0, connSubrateFactor=6 and ConnContinuationNumber=1, as well as the connection parameters connInterval, connPeripheralLatency=3 and connSupervisionTimeout>(1+connPeripheralLatency)×connSubrateFactor×connInterval×2 are configured by sending LL_SUBRATE_IND PDU.

[0023] When the master device establishes a BLE ACL connection link L2 with slave device 2, it sends LL_SUBRATE_IND PDU to configure the connection subrate parameters and connection parameters to be consistent with L1, but its transmission time slot is staggered with the transmission time slot of the connection link L1. Figure 2 In the example, the transmission time slot of L2 follows the transmission time slot reserved by L1 by configuring connSubrateFactor=6.

[0024] Similarly, the master device establishes a BLE ACL connection link L3 with slave device 3. Its connection parameters and connection subrate parameters are consistent with L1, but its transmission time slot is staggered with the transmission time slots of connection links L1 and L2.

[0025] The master device establishes a BLE ACL connection link L4 with slave device 4. The master device configures connInterval = 24 × L1_connInterval, connPeripheralLatency = 0, and connSupervisionTimeout > (1 + connPeripheralLatency) × connInterval × 2 by sending LL_CONNECTION_PARAM_REQ PDU. The transmission time slot of L4 is staggered with the transmission time slots of L1, L2, and L3 links, as shown in the following example: Figure 2 In the example, the transmission time slot of L4 follows the transmission time slot reserved by L3 by configuring connSubrateFactor=6.

[0026] Similarly, the master device establishes BLE ACL connection links L5 and L6 with slave devices 5 and 6. The transmission time slots of L5 and L6 are staggered with the previous four links, and their connection parameters connInterval, connPeripheralLatency, and connSupervisionTimeout are consistent with L4.

[0027] After the above link is established, the transmission time slots of the master device and each slave device do not overlap in time. i , i=1,2,…,6 When establishing, the slave device configures the connection parameters according to its own data collection cycle and the amount of data collected each time. The master device allocates transmission time slots t for each wireless collected terminal device. i , a transmission cycle T = t1 + t2 + t3 + t4 + t5 + t6 + t0, t0 is the set idle time slot.

[0028] The master device connects to link L in the BLE ACL i The occupied transmission time slot sends an empty packet or a packet with control information to the i-th slave device. After receiving the packet sent by the master device, the slave device sends the collected information to the master device. Figure 2 Each transmission sub-slot is located between two vertical dashed lines. A transmission sub-slot can accommodate a Bluetooth LE data packet sent by the master device to the slave device and a Bluetooth LE data packet replied by the slave device to the master device. A transmission slot contains multiple transmission sub-slots.

[0029] When communicating with a slave device that has subrate connection capability, if valid data is exchanged during a subrated connection event, the master and slave devices will perform further transmissions in the following continuation events. Figure 2In the first transmission sub-timeslot of the connection link L3, there is valid data sent from the slave device to the master device, or a control instruction sent from the master device to the slave device. Since ConnContinuationNumber=1, the second transmission sub-timeslot of L3 will be activated, and the master and slave devices will continue to exchange data in the second transmission sub-timeslot. And so on, the following transmission sub-timeslots will be used in succession until there is no valid data interaction between the master and slave devices in the transmission sub-timeslot (that is, the data packets sent to each other are all empty packets, such as Figure 2 or the maximum number of subrate continuation events (connSubrateFactor) defined by the connection subrate is reached.

[0030] When communicating with a slave device with subrate connection capability, if a CIS connection request is initiated during a subrate connection event, the master and slave devices use the subsequent continuation events of the subrate connection to establish a CIS isochronous connection and perform audio data stream transmission, such as Figure 2 As shown in the L2 link.

[0031] When communicating with a slave device with subrate connection capability, if there is no valid data interaction in the first transmission sub-slot ( Figure 2 L1 link), or the subsequent transmission sub-slot has empty data packet interaction, which causes the continued sub-rate connection event to be terminated early ( Figure 2 L3 link), the master device scans through unused continuation events ( Figure 2 The sub-time slot used for advertising in the acquisition system) is used to add a new end device to the acquisition system. If a new slave device is scanned, the connection parameter configuration process is performed to allocate a transmission time slot for the new slave device ( Figure 2 idle time slots).

[0032] The master device also scans in the idle time slot. If a new slave device is scanned, the master device establishes a Bluetooth BLE ACL connection link with the new slave device, performs the connection parameter configuration process, and allocates a transmission time slot for the new slave device.

[0033] Each slave device communicates with the master device only in its own transmission time slot, and enters the sleep state in the rest of the time period, maintaining only the necessary sensor acquisition function and timing counting function, and wakes up only when the timing count reaches the next transmission time slot of its own. Figure 2 When information exchange is required between slave devices, each slave device sends information to the master device through its own transmission time slot, and the master device then forwards the information to the destination slave device through the corresponding time slot.

[0034] If a slave device exits the wireless information collection system, the transmission time slot corresponding to the slave device will be used as a newly added idle time slot. If the transmission time slot allocated to the newly added slave device is less than or equal to the newly added idle time slot, the newly added idle time slot will be used as the transmission time slot of the newly added slave device. Otherwise, the position of the newly added slave device's transmission time slot will be determined based on the size of the idle time slot t0: if the idle time slot t0 is larger than the transmission time slot of the new slave device, the transmission time slot of the newly added slave device will be set within the idle time slot t0 and follow the last transmission time slot of the original slave device. Otherwise, the transmission time slot of the newly added slave device will be inserted between the last transmission time slot of the original slave device and the idle time slot. For the transmission time slots of the newly added slave devices, the newly added idle time slots will be placed first.

[0035] The above embodiments are intended only to further illustrate the objectives, contents, and beneficial effects of the present invention and are not intended to limit the scope of protection of the present invention. Those skilled in the art may find that inconsistencies with the present embodiments exist when designing specific applications, such as differences in the number of slave devices or connection parameters, but such differences are still within the scope of protection of the present invention without departing from the principles of the present invention.

Claims

1. A method for wirelessly collecting information from multiple devices, the system structure includes: A wireless acquisition terminal device as a master device and multiple wireless acquisition terminal devices as slave devices, wherein the wireless acquisition terminal device has the low-power Bluetooth standard version 5.3 function; the characteristics are: The master device establishes Bluetooth BLE ACL connection links L with multiple slave devices one by one i , i=1,2,…,N, where N is the number of wireless data collection devices; BLE ACL connection link L i When establishing, the slave device configures the connection parameters according to its own data collection cycle and the amount of data collected each time; the master device allocates transmission time slots t for each wireless collected terminal device. i , a transmission cycle T=t1+t2+…+t N +t0, t0 is the set idle time slot; there are two cases: (1) If the i-th slave device only has the low-power Bluetooth standard version 5.2 and below, the master device configures the connInterval, connPeripheralLatency and connSupervisionTimeout parameters by sending the LL_CONNECTION_PARAM_REQ PDU so that the transmission time slot occupied by the slave device is staggered with the transmission time slots belonging to the previous i-1 slave devices; (2) If the i-th slave device has the function of Bluetooth Low Energy standard version 5.3 or above, the master device configures the connection subrate parameters connSubrateBaseEvent, connSubrateFactor and ConnContinuationNumber, as well as the connection parameters connInterval, connPeripheralLatency and connSupervisionTimeout by sending LL_SUBRATE_IND PDU, so that the transmission time slot occupied by the slave device is staggered with the transmission time slot belonging to the previous i-1 slave devices, and when the configured subrate parameters allow burst long data, the slave device has enough time slots to send burst data to the master device; The master device connects to link L in the BLE ACL i The occupied transmission time slot sends an empty packet or a packet with control information to the i-th slave device. After receiving the packet sent by the master device, the slave device sends the collected information to the master device; When a master device communicates with a slave device supporting Bluetooth Low Energy standard version 5.3 or above, if valid data is exchanged during a subrate connection event, the master device and the slave device will exchange data in the next continuation event. Otherwise, the master device scans through the unused continuation event time period. If a new slave device is scanned, the master device establishes a Bluetooth BLE ACL connection link with the new slave device, performs the connection parameter configuration process, and allocates a transmission time slot for the new slave device. The master device scans in the idle time slot. If a new slave device is scanned, the master device establishes a Bluetooth BLE ACL connection link with the new slave device, configures the connection parameters, and allocates a transmission time slot for the new slave device. Each slave device communicates with the master device only during its own transmission time slot. It is in sleep mode during the rest of the time period, maintaining only the sensor signal acquisition function and timing counting function. When the timing count reaches the next transmission time slot of its own, it wakes up its own communication function.

2. The method for wirelessly collecting information from multiple devices according to claim 1, wherein: If a slave device exits the wireless information collection system, the transmission time slot corresponding to the slave device will be used as a new idle time slot; If the transmission time slot allocated by the master device to the new slave device is less than or equal to the newly added idle time slot, the newly added idle time slot will be used as the transmission time slot of the new slave device. Otherwise, the position of the new slave device's transmission time slot is determined according to the size of the idle time slot t0: if the idle time slot t0 is larger than the new slave device's transmission time slot, the new slave device's transmission time slot is set within the idle time slot t0 and follows the last transmission time slot of the original slave device. Otherwise, the new slave device's transmission time slot is inserted between the last transmission time slot of the original slave device and the idle time slot. For the transmission time slots of slave devices added later, the newly added idle time slots are given priority.

3. The method for wirelessly collecting information from multiple devices according to claim 1, wherein: When information exchange is required between slave devices, the information sending slave device sends information to the master device through its own transmission time slot, and the master device forwards the information to the information receiving slave device through the transmission time slot of the information receiving slave device.

Citation Information

Patent Citations

  • Wireless multi-terminal information collecting method

    CN104469904A

  • Bluetooth equipment and system, and method for transmitting information between equipment

    CN109495867A

  • Infrared image transmission method based on Bluetooth intelligent networking

    CN113242537A