CN-122002237-A - Deterministic data polling method and system based on LoRa-MESH ad hoc network
Abstract
The invention relates to the field of wireless ad hoc network communication, and provides a deterministic data polling method and a system based on LoRa-MESH ad hoc network, wherein the method comprises the steps of analyzing radio frequency carrier signals to generate a whole network physical feature set, resolving a node impedance mapping table and constructing a mapping domain weighted topology matrix; the method comprises the steps of determining an atomic transmission time slot reference according to a service data frame structure and radio frequency communication parameters, generating a node time slot mapping set by combining a global weighting topology matrix, realizing full network synchronization by channel broadcasting, responding to a polling period trigger to send a physical layer trigger signal to generate a local data payload, performing differentiated transmission and aggregation to generate a cascading aggregation data packet, generating a missing node list based on a full network device shadow table, generating a complete service data set by directional complement time domain hole resource pools, and generating an uplink cloud service data stream by heterogeneous protocol conversion and safe reporting. The invention merges the global topology awareness and deterministic time domain scheduling to construct a high-reliability data polling and integrity management closed-loop mechanism.
Inventors
- LIU YANG
- QIN YINGJIE
- ZHAO YUANYUAN
- XU WEIWEN
- YU HONGYU
- ZHAO JINGWEI
Assignees
- 苏州中亿丰光电有限公司
- 昆山中亿丰光电科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260317
Claims (10)
- 1. The deterministic data polling method based on the LoRa-MESH ad hoc network is characterized by comprising the following steps of: analyzing the analog radio frequency carrier signals fed back by the nodes to be accessed to the network to aggregate to generate a whole network physical feature set, obtaining a node impedance mapping table based on the whole network physical feature set, and executing hierarchical secondary sequencing operation according to the node impedance mapping table to construct a global weighted topology matrix; Determining an atomic transmission time slot reference according to preset service data frame structure parameters and radio frequency communication parameters, performing space topology-time domain resource mapping by combining a global weighting topology matrix to generate a node time slot mapping set, and broadcasting and driving nodes to be scheduled through a downlink channel to generate a full network synchronization state; Transmitting a physical layer trigger signal in response to the polling period trigger signal and the full network synchronization state, triggering a node to be scheduled to generate a local data payload through matching interruption of the physical layer trigger signal or a hardware timing task scheduler, and performing differentiated data transmission and aggregation logic on the local data payload to generate a cascade aggregation data packet; And performing reverse unpacking and state mapping logic on the cascade aggregated data packet based on the full network equipment shadow table to generate a missing node list, performing directional micro-complement logic on a time domain hole resource pool in the node time slot mapping set according to the missing node list to generate a full network complete service data set, and generating a cloud service data stream through heterogeneous protocol conversion and security reporting logic.
- 2. The method for deterministic data polling based on the LoRa-MESH ad hoc network according to claim 1, wherein the method for constructing the global weighted topology matrix comprises: Issuing a networking broadcast beacon to a wireless radio frequency channel in response to an initial network discovery instruction, analyzing an analog radio frequency carrier signal fed back by a node to be accessed to the network, extracting physical characteristic signals and the state of a power management unit to generate single-point physical characteristic sets, and executing aggregation operation on all the single-point physical characteristic sets to generate a whole network physical characteristic set; Based on the whole network physical characteristic set, respectively extracting a topological impedance component, an attenuation impedance component and an interference impedance component, fusing the topological impedance component, the attenuation impedance component and the interference impedance component to generate single-point communication transmission impedance, and establishing a mapping relation between the single-point communication transmission impedance and a node to be network-connected to generate a node impedance mapping table; and extracting the logic networking depth of each node to be networked in the node impedance mapping table as a first sequencing key value to execute first-level grouping sequencing, extracting the single-point communication transmission impedance of each node to be networked as a second sequencing key value to execute second-level priority sequencing, and generating a global weighted topology matrix.
- 3. The deterministic data polling method based on the LoRa-MESH ad hoc network according to claim 2, wherein the method for extracting the topological impedance component comprises the steps of reading a time delay factor weight in a preset scene adaptation weighting coefficient, obtaining a logic networking depth of a node to be networked, calculating the product of the time delay factor weight and the logic networking depth, and generating the topological impedance component; Reading attenuation factor weights in scene adaptation weighting coefficients, obtaining absolute values of received signal strength indications of nodes to be accessed to a network, calculating a first ratio of the absolute values to a preset reference signal strength standard constant, and generating attenuation impedance components based on products of the attenuation factor weights and the first ratio; the method for extracting the interference impedance component comprises the steps of reading interference factor weight in a scene adaptation weighting coefficient, obtaining a signal-to-noise ratio of a node to be accessed to a network, taking a preset noise reference constant as a numerator, taking the sum of the signal-to-noise ratio and the noise reference constant as a denominator, calculating to obtain a second ratio, and performing product operation on the interference factor weight and the second ratio to generate the interference impedance component; the scene adaptation weighting coefficient consists of a time delay factor weight, an attenuation factor weight and an interference factor weight, and the sum of the three weights is 1; the single point physical feature set comprises a received signal strength indication, which is an absolute value of a power level of an analog radio frequency carrier signal received by a radio frequency front end of a node to be networked.
- 4. The method for deterministic data polling based on the LoRa-MESH ad hoc network according to claim 1, wherein the method for generating the full-network synchronization state comprises: Respectively measuring sensing acquisition time delay, main control processing time delay, physical layer radiation time consumption and radio frequency propagation allowance of a node to be scheduled according to preset service data frame structure parameters and radio frequency communication parameters, and performing linear time domain superposition to generate an atomic transmission time slot reference; Executing space topology-time domain resource mapping logic according to the global weighted topology matrix and the atomic transmission time slot reference, and generating an absolute initial transmitting moment by combining preset level guard interval calculation to generate a node time slot mapping set; And performing differential compression coding on the node time slot mapping set to construct a time sequence configuration broadcast frame, broadcasting the distribution time sequence configuration broadcast frame through a downlink physical channel to trigger the node to be scheduled to perform nonvolatile writing and dormancy awakening mode switching, and generating and outputting a full network synchronization state.
- 5. The method for deterministic data polling based on the LoRa-MESH ad hoc network according to claim 4, wherein the method for executing the spatial topology-time domain resource mapping logic comprises: Dividing a whole network data polling period into a plurality of mutually non-overlapping hierarchical transmission periods according to logic networking depth in a global weighted topology matrix, calculating the product of an extracted intra-layer impedance ordering index and an atomic transmission time slot reference for each hierarchical transmission period to obtain discrete time slot offset of each node to be scheduled in the hierarchical transmission period, wherein the intra-layer impedance ordering index is a serial number generated based on the single-point communication transmission impedance; Configuring a preset hierarchy guard interval between two adjacent hierarchy transmission periods, and executing time sequence superposition calculation to generate an absolute initial transmission time, wherein the logic of the time sequence superposition calculation comprises the steps of acquiring a reference clock source value of a current polling period, the total consumed time length of all hierarchy transmission periods, discrete time slot offset and accumulated hierarchy guard interval time length, and executing summation operation to obtain the absolute initial transmission time, wherein the total consumed time length of all hierarchy transmission periods is the product of a difference value of logic networking depth minus one of nodes to be scheduled and a preset hierarchy maximum transmission period, and the accumulated hierarchy guard interval time length is the product of logic networking depth and hierarchy guard interval; And calculating the sum of the absolute initial transmission time and the atomic transmission time slot reference to define the transmission ending time, and storing the absolute initial transmission time and the transmission ending time in a correlated way to construct a node time slot mapping set.
- 6. The method for deterministic data polling based on LoRa-MESH ad hoc network according to claim 4, wherein said nonvolatile writing step comprises receiving a time sequence configuration broadcast frame, taking a network interface identifier of a node to be scheduled as an index key value, extracting an absolute start transmitting time and a transmitting end time which are attributed to the network interface identifier from the time sequence configuration broadcast frame; The sleep-wake mode switching step comprises the steps of responding to the completion of a nonvolatile writing operation, controlling a node to be scheduled to enter a deep sleep state with only real-time clock counting, executing a numerical comparison logic of a real-time clock counting numerical value and an absolute initial transmitting time stored in a nonvolatile storage unit, responding to a matching result that the real-time clock counting numerical value is consistent with the absolute initial transmitting time numerical value, driving the node to be scheduled to switch to a data transmission state, and controlling the node to be scheduled to enter the deep sleep state again when the real-time clock counting numerical value reaches a transmitting end time.
- 7. The deterministic data polling method based on the LoRa-MESH ad hoc network according to claim 1, wherein the generating method of the concatenated aggregated data packet comprises: Responding to a polling period trigger signal generated by a hardware timing task scheduler due to the fact that the accumulated pulse count value reaches a preset polling period value and a full-network synchronous state to start data polling, reading a full-network absolute time base reference value and a service instruction type, constructing an aggregation trigger frame by utilizing a bitwise cascade splicing algorithm, and mapping the aggregation trigger frame into a physical layer trigger signal; Responding to a physical layer trigger signal or a hardware timing task scheduler to match interrupt to start dual-mode pre-wake activation and parallel acquisition operation so as to acquire a node local sensor interface signal, mapping the node local sensor interface signal into a local sensing vector, and generating a local data payload through a payload encapsulation operation; analyzing the global weighted topology matrix to identify nodes to be scheduled as leaf nodes or relay nodes, performing differentiated data transmission and aggregation logic on the local data payloads to construct cascading aggregated data packets, and transmitting the cascading aggregated data packets to a higher-level logic parent node in response to an absolute initial transmission moment.
- 8. The method of deterministic data polling based on the LoRa-MESH ad hoc network according to claim 7, wherein the method of performing differentiated data transmission and aggregation logic comprises: constructing a standard physical layer frame header and calculating a cyclic redundancy check code aiming at a node to be scheduled, which is marked as a leaf node, and executing splicing operation on the standard physical layer frame header, a local data payload and the cyclic redundancy check code to generate a cascade aggregation data packet, wherein the cascade aggregation data packet is configured as an uplink data packet of an upper-level logic father node; And for the node to be scheduled, which is identified as the relay node, activating a receiving monitoring window to buffer the uplink data packet, performing unpacking and stripping operation on the uplink data packet to extract effective data payload, performing aggregation and splicing operation on the local data payload and the effective data payload according to the node time slot mapping set to construct a composite payload sequence, and performing encapsulation comprising a standard physical layer frame header and a cyclic redundancy check code on the composite payload sequence to generate a cascading aggregated data packet.
- 9. The deterministic data polling method based on the LoRa-MESH ad hoc network according to claim 1, wherein the method for generating the cloud service data stream comprises: Performing reverse unpacking operation on the cascade aggregated data packet by using the node time slot mapping set to extract a composite payload sequence, performing binary stream fixed-length slicing processing on the composite payload sequence to separate node data blocks, mapping the node data blocks to a full-network equipment shadow table according to a global weighting topology matrix, and traversing the full-network equipment shadow table to calculate a full-network data integrity index to generate a missing node list; Traversing the node time slot mapping set to extract a time domain hole resource pool, mapping the missing node list to the time domain hole resource pool to construct a temporary supplementary schedule, executing silence directional retransmission operation according to the temporary supplementary schedule to generate a supplementary service data packet, and updating the supplementary service data packet to a full network equipment shadow table to generate a full network complete service data set; Analyzing the whole service data set of the whole network, executing heterogeneous protocol format mapping to generate an application layer payload, establishing a transmission layer security tunnel to encrypt and encapsulate the application layer payload to generate a security transmission data packet, mapping the security transmission data packet into an upper cloud service data stream, and pushing the cloud internet of things platform.
- 10. A deterministic data polling system based on a LoRa-MESH ad hoc network for implementing a deterministic data polling method based on a LoRa-MESH ad hoc network according to any one of claims 1-9, characterized in that the system comprises a topology management module, a resource allocation module, a data polling module and a data delivery module; The topology management module is used for analyzing the simulated radio frequency carrier signals fed back by the nodes to be accessed to the network so as to aggregate and generate a whole network physical feature set, obtaining a node impedance mapping table based on the whole network physical feature set, and executing hierarchical secondary ordering operation according to the node impedance mapping table so as to construct a global weighted topology matrix; The resource allocation module is used for determining an atomic transmission time slot reference according to preset service data frame structure parameters and radio frequency communication parameters, performing space topology-time domain resource mapping by combining a global weighting topology matrix to generate a node time slot mapping set, and broadcasting and driving nodes to be scheduled through a downlink channel to generate a full network synchronization state; The data polling module is used for responding to a polling period trigger signal and a full network synchronous state to send a physical layer trigger signal, generating a local data payload by matching interrupt trigger nodes to be scheduled through the physical layer trigger signal or a hardware timing task scheduler, and executing differentiated data transmission and aggregation logic on the local data payload to generate a cascade aggregation data packet; And the data delivery module is used for executing reverse unpacking and state mapping logic on the cascading aggregated data packet based on the full network equipment shadow table to generate a missing node list, executing directional micro-complement logic on a time domain hole resource pool in the node time slot mapping set according to the missing node list to generate a full network complete service data set, and generating an uplink cloud service data stream through heterogeneous protocol conversion and security reporting logic.
Description
Deterministic data polling method and system based on LoRa-MESH ad hoc network Technical Field The invention relates to the field of wireless ad hoc network communication, in particular to a deterministic data polling method and system based on LoRa-MESH ad hoc network. Background Currently, access of a large number of edge terminals brings urgent demands for wide area coverage capability and deployment cost of a wireless communication network. How to break through the nondeterminacy bottleneck of the traditional communication mechanism under the limited network environment of low bandwidth and multi-hop cascade, and to construct a data polling mechanism which has low cost, high reliability and timing certainty, has become a key problem to be solved in the current Internet of things field. The Chinese patent application with the publication number of CN111372215A provides a single-channel synchronous information acquisition system and a method based on LORA, wherein the system is used for synchronously acquiring data of each sensor in a power system, the system comprises 1 LORA gateway and at least 1 LORA sensor, the LORA gateway and the LORA sensors are both single-channel node type LORA chips, the LORA gateway is used for triggering synchronous acquisition of the LORA sensors and receiving sampling data uploaded by each sensor, the LORA sensor is used for receiving a LORA gateway synchronous acquisition instruction and carrying out data acquisition and sending the sampling data to the gateway, and the synchronous acquisition method comprises the steps of triggering synchronous sampling of each LORA sensor by utilizing a preamble wake-up mechanism provided by the LORA, and sequentially uploading the data by each sensor according to a set rule. However, the current technology still faces many challenges. In large-scale multi-hop ad hoc network application scenes such as smart city lighting management, the existing LoRa-MESH network mostly adopts a competitive access mechanism for data interaction. In the deep networking environment with hundreds of nodes cascaded, if a control center needs to initiate high-frequency real-time state polling or synchronous switching instructions to a mass street lamp controller, high-concurrency channel competition among the nodes can cause data collision and network congestion. At this time, the transmission mechanism based on the random backoff strategy cannot guarantee reliable delivery of the instruction within the deterministic time window, resulting in exponential degradation of the network transmission delay. If the system cannot complete the whole network instruction issuing within millisecond-level timeliness or cannot timely capture the fault alarm of the deep node, asynchronous delay phenomenon can occur when the street lamp group is started, or the fuse protection cannot be triggered immediately due to communication blockage when the street lamp group encounters emergency situations such as circuit overload and the like, so that the service quality of urban public lighting is reduced. Disclosure of Invention In order to achieve the purpose, the invention provides a deterministic data polling method based on LoRa-MESH ad hoc network, which comprises the following specific technical scheme: analyzing the analog radio frequency carrier signals fed back by the nodes to be accessed to the network to aggregate to generate a whole network physical feature set, obtaining a node impedance mapping table based on the whole network physical feature set, and executing hierarchical secondary sequencing operation according to the node impedance mapping table to construct a global weighted topology matrix; Determining an atomic transmission time slot reference according to preset service data frame structure parameters and radio frequency communication parameters, performing space topology-time domain resource mapping by combining a global weighting topology matrix to generate a node time slot mapping set, and broadcasting and driving nodes to be scheduled through a downlink channel to generate a full network synchronization state; Transmitting a physical layer trigger signal in response to the polling period trigger signal and the full network synchronization state, triggering a node to be scheduled to generate a local data payload through matching interruption of the physical layer trigger signal or a hardware timing task scheduler, and performing differentiated data transmission and aggregation logic on the local data payload to generate a cascade aggregation data packet; And performing reverse unpacking and state mapping logic on the cascade aggregated data packet based on the full network equipment shadow table to generate a missing node list, performing directional micro-complement logic on a time domain hole resource pool in the node time slot mapping set according to the missing node list to generate a full network complete service data set, and generating a cloud service