Search

CN-115633323-B - Data transmission method, medium, system and equipment of ecological flow monitoring station

CN115633323BCN 115633323 BCN115633323 BCN 115633323BCN-115633323-B

Abstract

The invention discloses a data transmission method, medium, system and equipment of an ecological flow monitoring site, the method comprises the steps of S1, obtaining the distance of each node by receiving a response message through broadcasting a ranging message, S2, determining a middle node through mutual comparison of three adjacent nodes, and connecting the middle node with two nodes to form a link, S3, sequentially assuming that each node selects a sink node to obtain an expected value and a variance value corresponding to the energy consumption rate of the whole link once, S4, designating a function y= -kx+b as an optimal expected value and variance value point selection criterion, sequentially increasing variance tolerance b until a first point meets y < -kx+b and the moving signal strength reaches preset strength, and receiving data and transmitting the data through the optimal sink node. The invention can improve the online rate of the remote data center of the station, reduce the coverage rate requirement of the station on the mobile signal and ensure reliable data transmission.

Inventors

  • LIU FANGPING
  • LIU CHAO
  • TAN MIN
  • XIE MING
  • ZOU WENCHAO
  • ZHU SHENGPENG
  • GUO CHANGCHUN

Assignees

  • 株洲中车机电科技有限公司

Dates

Publication Date
20260505
Application Date
20221010

Claims (6)

  1. 1. The data transmission method of the ecological flow monitoring station is characterized by comprising the following steps: s1, each node receives a response message of a response node through broadcasting a ranging message, and analyzes and obtains the distances of all the response nodes in the wireless signal range; S2, each node selects at most two nodes closest to each other to determine nodes on two sides of the node, three adjacent nodes are compared interactively to determine a middle node, and then the middle node is connected with the nodes on two sides by hands to form a whole WSN network link; S3, sequentially reporting and fusing own residual energy, mobile signals and routing information from two end nodes of a WSN network link to a central direction by each node until convergence nodes meet; S4, designating a unitary linear function y= -kx+b as an optimal expected value and variance value point selection criterion, and sequentially increasing variance tolerance b in the function until a first point meets y < -kx+b and signal strength reaches preset strength, and considering the first point as an optimal sink node; the specific process of the step S1 is that when the ranging message is broadcast, the broadcast sending time T 1 is recorded at the same time, the receiving time T 2 is recorded in the response message Wen Shiji of the receiving response node, wherein the response message comprises response time T of the response node; the distance calculation formula between two perception nodes is as follows: Where d is the distance between two sensing nodes and v is the message propagation speed; The specific process of obtaining the expected value and the variance value of the energy consumption rate of the once completed data transmission corresponding to the whole link in the step S3 is as follows: The node with the number i is separated from the node with the number i+1 by d (i, i+1), the received and transmitted data quantity is s.i, and the energy consumption for transmitting and receiving s.i bit data with the distance d (i, i+1) is calculated by using a first-order wireless communication model as shown in the following formula: Wherein the method comprises the steps of The amount of data is fused for a single node, The energy consumed for transmitting and receiving 1bit inside the circuit, The energy required to transmit the unit data for the power amplifier, Consuming energy sums for transmission and reception; If the linear network is provided with N total nodes, M is the number of the sink node, any point is selected by considering the sink node, the energy consumption of the left node of the sink node, the energy consumption of the right node of the sink node and the energy consumption of the sink node are calculated according to the position of the sink node, and an expected value and a variance value of the energy consumption rate of the data transmission once completed corresponding to the whole link are obtained; The energy consumed by the left node of the sink node is as follows: The energy consumed by the right end node of the sink node is as follows: the sink node itself consumes energy as follows: Wherein the method comprises the steps of For the distance of the node base station, The energy consumed for transmitting and receiving 1 bit inside the mobile signal transmission circuit; The remaining energy last transmitted by the node; a node with a number j is selected as an aggregation node, and an expected value and a variance value of the energy consumption rate of the data transmission which is completed once corresponding to the whole link are as follows: 。
  2. 2. the data transmission method of an ecological traffic monitoring station according to claim 1, wherein in step S4, the optimal sink node is selected according to a fixed period.
  3. 3. The data transmission method of an ecological traffic monitoring station according to any one of claims 1-2, wherein in step S4, the signal is a GPRS or 4G or 5G mobile signal.
  4. 4. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, performs the steps of the method according to any one of claims 1-3.
  5. 5. A data transmission system for an ecological flow monitoring station, comprising a memory and a processor, the memory having stored thereon a computer program, characterized in that the computer program, when run by the processor, performs the steps of the method according to any of claims 1-3.
  6. 6. The data transmission device of the ecological flow monitoring station is characterized by comprising an acquisition module, a processing module, a storage module, a transmission module and a wireless networking module, wherein the acquisition module is connected with the processing module, the wireless networking module is used for being connected with other transmission devices and interacting data, the transmission module is used for remotely interacting data with a cloud data center, and the storage module is stored with a computer program which executes the steps of the method according to any one of claims 1-3 when being executed by the processing module.

Description

Data transmission method, medium, system and equipment of ecological flow monitoring station Technical Field The invention mainly relates to the technical field of ecological flow monitoring, in particular to a data transmission method, medium, system and equipment of an ecological flow monitoring station. Background The ecological flow monitoring station is generally in non-uniform linear distribution in the application environment, the interval is within 250M, transmission equipment in the station is powered by a solar panel and a battery, and is connected with a remote cloud data center through a GPRS or 4G channel, so that the following technical problems exist in the application of the data transmission equipment in the past: 1. When the GPRS or 4G signals are unstable, the traffic is exhausted or damaged, the equipment can be disconnected with the remote cloud data center immediately, and particularly after the equipment runs for a certain time, the offline rate of all data transmission equipment managed by the remote cloud data center is high, and people need to be dispatched to the site for operation and maintenance immediately. 2. The optimal geographical location for device sensor data sampling is not ideal, but GPRS or 4G signals can only compromise the choice of installation location. In order to improve the online rate of the data transmission equipment in a remote cloud data center and reduce the limit requirement of the coverage rate of mobile signals on the installation position of the outdoor data transmission equipment, a WSN linear routing algorithm is adopted to solve the problems, but the problems still need to be solved: 1. existing algorithms network too long and the optimal path has probability of missing the station. 2. The existing algorithm optimal sink node selection does not effectively consider energy consumption balance and minimum energy consumption, is complex and impractical, and is still easy to cause the linear network disconnection due to the excessively fast consumption of a single node. 3. The existing algorithm does not consider the influence of the mobile signals such as 4G and the like on the WSN. Disclosure of Invention Aiming at the technical problems in the prior art, the invention provides a data transmission method, medium, system and equipment for an ecological flow monitoring station, which are used for improving the online rate of a remote data center of the station and reducing the coverage rate of the station on a mobile signal. In order to solve the technical problems, the technical scheme provided by the invention is as follows: a data transmission method of an ecological flow monitoring station comprises the following steps: s1, each node receives a response message of a response node through broadcasting a ranging message, and analyzes and obtains the distances of all the response nodes in the wireless signal range; S2, each node selects at most two nodes closest to each other to determine nodes on two sides of the node, three adjacent nodes are compared interactively to determine a middle node, and then the middle node is connected with the nodes on two sides by hands to form a whole WSN network link; S3, sequentially reporting and fusing own residual energy, mobile signals and routing information from two end nodes of a WSN network link to a central direction by each node until convergence nodes meet; s4, designating a unitary linear function y= -kx+b as an optimal expected value and variance value point selection criterion, sequentially increasing variance tolerance b in the function until a first point meets y < -kx+b and signal strength reaches preset strength, and considering the first point as an optimal sink node, receiving data of each node through the optimal sink node and transmitting the data, wherein k is a variance and expected weight coefficient, x is a variance value, and y is an expected value. Preferably, the specific process of the step S1 is that when the ranging message is broadcast, the broadcast sending time T 1 is recorded at the same time, the receiving time T 2 is recorded in the response message Wen Shiji of the receiving response node, wherein the response message comprises response time T of the response node; the distance calculation formula between two perception nodes is as follows: where d is the distance between two sensing nodes and v is the message propagation speed. Preferably, the specific process of obtaining the expected value and the variance value of the energy consumption rate of the data transmission corresponding to the whole link at one time in step S3 is as follows: The node with the number i is separated from the node with the number i+1 by d (i, i+1), the received and transmitted data quantity is s.i, and the energy consumption for transmitting and receiving s.i bit data with the distance d (i, i+1) is calculated by using a first-order wireless communication model as shown in the following formula: eTx(i