Lora ad hoc network data transmission system and method based on node back-off algorithm

文档序号:1835060 发布日期:2021-11-12 浏览:5次 中文

阅读说明:本技术 基于节点退避算法的Lora自组网数据传输系统及方法 (Lora ad hoc network data transmission system and method based on node back-off algorithm ) 是由 王聪 于洋 谢传玺 谢添 蔡玉芹 吴成 于 2021-08-24 设计创作,主要内容包括:本发明公开了基于节点退避算法的Lora自组网数据传输系统及方法,涉及Lora自组网数据传输技术领域,包括监测站、Lora自组网信号传输模块和云平台,所述监测站包括温湿度检测模块、雨量检测模块、风量检测模块、气压检测模块和避雷模块,所述云平台包括处理器、通讯模块、数据处理模块、数据存储模块、数据显示模块和气象预警模块,所述处理器分别与通讯模块、数据处理模块、数据存储模块、数据显示模块和气象预警模块相连接,所述监测站与Lora自组网信号传输模块相连接。本发明能够实现无人区域中链状线路上的多传输节点的多数据量跳传,解决了Lora自组织网络传输中信道拥挤造成数据乱码的弊端,满足人们的使用需求。(The invention discloses a node backoff algorithm-based Lora ad hoc network data transmission system and method, and relates to the technical field of Lora ad hoc network data transmission. The invention can realize multi-data volume jump transmission of a plurality of transmission nodes on the chain-shaped line in the unmanned area, solves the defect of data messy codes caused by channel congestion in the transmission of the Lora self-organizing network, and meets the use requirements of people.)

1. Lora ad hoc network data transmission system based on node back-off algorithm, its characterized in that, including monitoring station, Lora ad hoc network signal transmission module and cloud platform, the monitoring station includes humiture detection module, rainfall detection module, amount of wind detection module, atmospheric pressure detection module and lightning-arrest module, the cloud platform includes treater, communication module, data processing module, data storage module, data display module and meteorological early warning module, the treater is connected with communication module, data processing module, data storage module, data display module and meteorological early warning module respectively, the monitoring station is connected with Lora ad hoc network signal transmission module, Lora ad hoc network signal transmission module is connected with the cloud platform.

2. The system of claim 1, wherein the Lora ad hoc network signal transmission module comprises a plurality of local towers and a plurality of related towers, and each local tower can be used as a central tower and a related tower of a next central tower.

3. The Lora ad hoc network data transmission system based on the node back-off algorithm according to claim 2, wherein internet of things gateway devices are arranged above a plurality of the towers and a plurality of the related towers, the plurality of internet of things gateway devices are connected through Lora, and the internet of things gateway devices are located in a monitoring station.

4. The Lora ad hoc network data transmission system based on the node backoff algorithm according to claim 1, wherein the temperature and humidity detection module comprises a temperature detection unit and a humidity detection unit, the temperature detection unit is a temperature sensor, and the humidity detection unit is a humidity sensor.

5. The Lora ad hoc network data transmission system based on the node back-off algorithm according to claim 1, wherein the rainfall detection module comprises a rainfall detection unit, the rainfall detection unit is a rainfall sensor, the air volume detection module comprises an air volume detection unit, the air volume detection unit is an air volume sensor, the air pressure detection module comprises an air pressure detection unit, and the air pressure detection unit is an air pressure sensor.

6. The system of claim 1, wherein the Lora ad hoc network signal transmission module further comprises a node backoff algorithm unit, and the node backoff algorithm unit comprises a node backoff algorithm formula, the node backoff algorithm formula is as follows, when contention fails: CW ═ min (2 × CW +1, CWmax) n < nth; CW is CWMin n is nth, reset n; when the competition is successful: CW-b CW < (CWMid); CW ═ min (CW/2, CWmid) CW > CWmid, where CW denotes the contention window, nth denotes the threshold of the number of contention failures, CWmid denotes the median value of the contention window, CWmax denotes the maximum value of the contention window, and CWmin denotes the minimum value of the contention window.

7. The node back-off algorithm based Lora ad hoc network data transmission system according to claim 1, wherein the lightning protection module comprises a lightning protection unit, and the lightning protection unit is a lightning rod.

8. The system according to claim 1, wherein the communication module is a wireless communication unit, and the wireless communication unit is at least one of 2G, 3G, 4G and 5G communication.

9. The node backoff algorithm-based Lora ad hoc network data transmission system of claim 1, wherein the weather early warning module comprises a weather data comparison unit and a weather early warning unit, the weather data comparison unit is used for comparing detected data with normal data, and the weather early warning unit is an audible and visual alarm.

10. The use method of the Lora ad hoc network data transmission system based on the node back-off algorithm is characterized by comprising the following steps:

s1: firstly, a temperature and humidity monitoring module, a rainfall detection module, an air quantity detection module and an air pressure detection module which are installed in a monitoring station of each power transmission tower can respectively detect the temperature, the humidity, the rainfall, the air quantity and the air pressure above the power transmission tower, and data are transmitted to an internet of things gateway device on the power transmission tower after detection;

s2: through a node backoff algorithm unit in the Lora ad hoc network signal transmission module, because the second local tower is a central tower of the first local tower and the first related tower, data on the first local tower and the first related tower can be transmitted to the second local tower, the third local tower is a central tower of the second local tower and the second related tower, and data on all the second local tower and the second related tower can be transmitted to the third local tower, and so on, thereby realizing linear data transmission from the first local tower to the second local tower and from the second local tower to the third local tower;

s3: data on the last tower can be transmitted to the cloud platform in a wireless data transmission mode, the data are classified, processed and analyzed through a processor in the cloud platform, and after analysis, the data are displayed through a data display module;

s4: the data contrast unit can compare the data obtained after processing with normal data, and when the data at the contrast position is abnormal, the meteorological disaster early warning is started immediately.

Technical Field

The invention relates to the technical field of data transmission of a Lora ad hoc network, in particular to a system and a method for transmitting data of the Lora ad hoc network based on a node back-off algorithm.

Background

The overhead transmission line is erected on the ground, the overhead transmission line of the power line insulated by insulators and air consists of a wire, an overhead ground wire, an insulator string, a tower, a grounding device and the like, the wire has the function of conducting current and has enough section to keep reasonable through-flow density, the wire is at a high potential, and in order to reduce electric energy loss and electromagnetic interference caused by corona discharge, the wire also has a larger curvature radius.

In order to improve the safety of the use of the overhead transmission line, a monitoring station is often required to be installed above the overhead transmission line for monitoring meteorological data such as temperature, humidity, rainfall, air volume and air pressure, the data needs to be transmitted to a cloud platform for processing and analysis after the data is monitored, the data is transmitted to the cloud platform in a 4G mode in the existing data transmission mode between power transmission towers, but no 4G signal data can be transmitted back in many unmanned areas, the existing Lora ad-hoc network transmission mode can cause data messy codes, and therefore the current situation is changed by an Lora ad-hoc network data transmission system based on a node back-off algorithm.

Disclosure of Invention

The invention aims to solve the defects in the prior art, and provides a data transmission system and a data transmission method of a Lora ad hoc network based on a node back-off algorithm. The method has the advantages of realizing multi-data volume jump transmission of multiple transmission nodes on a chain line in an unmanned area and solving the defect of data messy codes caused by channel congestion in the transmission of the Lora self-organizing network.

In order to achieve the purpose, the invention adopts the following technical scheme:

lora ad hoc network data transmission system based on node back-off algorithm, including monitoring station, Lora ad hoc network signal transmission module and cloud platform, the monitoring station includes temperature and humidity detection module, rainfall detection module, amount of wind detection module, atmospheric pressure detection module and lightning-arrest module, the cloud platform includes treater, communication module, data processing module, data storage module, data display module and meteorological early warning module, the treater is connected with communication module, data processing module, data storage module, data display module and meteorological early warning module respectively, the monitoring station is connected with Lora ad hoc network signal transmission module, Lora ad hoc network signal transmission module is connected with the cloud platform.

The invention is further arranged that the Lora ad hoc network signal transmission module consists of a plurality of local towers and a plurality of related towers, and each local tower can be used as a central tower per se and can also be used as a related tower of the next central tower.

The invention is further set up in that a plurality of said towers and a plurality of said correlated towers are all provided with gateway equipment of things on the Internet, a plurality of gateway equipment of things on the Internet are connected by Lora, the gateway equipment of things on the Internet is located in the monitoring station.

The invention is further configured that the temperature and humidity detection module comprises a temperature detection unit and a humidity detection unit, the temperature detection unit is a temperature sensor, and the humidity detection unit is a humidity sensor.

The invention is further configured that the rainfall detection module comprises a rainfall detection unit, the rainfall detection unit is a rainfall sensor, the air volume detection module comprises an air volume detection unit, the air volume detection unit is an air volume sensor, the air pressure detection module comprises an air pressure detection unit, and the air pressure detection unit is an air pressure sensor.

The invention is further configured that the Lora ad hoc network signal transmission module further comprises a node backoff algorithm unit, and the node backoff algorithm unit comprises a node backoff algorithm formula, wherein the node backoff algorithm formula is as follows, when the competition fails: CW ═ min (2 × CW +1, CWmax) n < nth; CW is CWMin n is nth, reset n; when the competition is successful: CW-b CW < (CWMid); CW ═ min (CW/2, CWmid) CW > CWmid, where CW denotes the contention window, nth denotes the threshold of the number of contention failures, CWmid denotes the median value of the contention window, CWmax denotes the maximum value of the contention window, and CWmin denotes the minimum value of the contention window.

The invention is further configured such that the lightning protection module comprises a lightning protection unit, and the lightning protection unit is a lightning rod.

The invention is further configured that the communication module is a wireless communication unit, and the wireless communication unit is at least one of 2G, 3G, 4G and 5G communication.

The invention is further set that the meteorological early warning module comprises a meteorological data comparison unit and a meteorological early warning unit, the meteorological data comparison unit is used for comparing detected data with normal data, and the meteorological early warning unit is an audible and visual alarm.

The use method of the Lora ad hoc network data transmission system based on the node back-off algorithm comprises the following steps:

s1: firstly, a temperature and humidity monitoring module, a rainfall detection module, an air quantity detection module and an air pressure detection module which are installed in a monitoring station of each power transmission tower can respectively detect the temperature, the humidity, the rainfall, the air quantity and the air pressure above the power transmission tower, and data are transmitted to an internet of things gateway device on the power transmission tower after detection;

s2: through a node backoff algorithm unit in the Lora ad hoc network signal transmission module, because the second local tower is a central tower of the first local tower and the first related tower, data on the first local tower and the first related tower can be transmitted to the second local tower, the third local tower is a central tower of the second local tower and the second related tower, and data on all the second local tower and the second related tower can be transmitted to the third local tower, and so on, thereby realizing linear data transmission from the first local tower to the second local tower and from the second local tower to the third local tower;

s3: data on the last tower can be transmitted to the cloud platform in a wireless data transmission mode, the data are classified, processed and analyzed through a processor in the cloud platform, and after analysis, the data are displayed through a data display module;

s4: the data contrast unit can compare the data obtained after processing with normal data, and when the data at the contrast position is abnormal, the meteorological disaster early warning is started immediately.

The invention has the beneficial effects that:

1. the invention discloses a data transmission system of a Lora ad hoc network based on a node back-off algorithm, which can realize linear data transmission from a first tower to a second tower and from the second tower to a third tower on the basis of the Lora ad hoc network by arranging a Lora ad hoc network signal transmission module, realize multi-data-volume jump transmission of a plurality of transmission nodes on a chain-shaped circuit in an unmanned area, and solve the defect of data messy codes caused by channel congestion in the transmission of the Lora ad hoc network;

2. the invention discloses a Lora ad hoc network data transmission system based on a node backoff algorithm, which solves the unfairness problem in a binary backoff algorithm by arranging a node backoff algorithm unit and utilizing a node backoff algorithm formula in the node backoff algorithm unit, wherein a competition window is mainly near the size of CWMid, and the increase of LoRa transmission delay can cause a more serious backoff phenomenon of neighbor nodes; when the channel load is light, the competition window is gradually reduced, so that the nodes compete for the channel fairly, and a reasonable value of the competition window is found as much as possible in the gradual decreasing process, thereby ensuring the fairness of the network.

Drawings

Fig. 1 is a schematic diagram of a system structure of a system and a method for data transmission of a Lora ad hoc network based on a node back-off algorithm according to the present invention;

fig. 2 is a schematic structural diagram of a Lora ad hoc network signal transmission module of the Lora ad hoc network data transmission system and method based on the node back-off algorithm provided by the present invention;

fig. 3 is a schematic diagram of a node algorithm unit working flow of the system and method for data transmission of a Lora ad hoc network based on a node back-off algorithm provided by the present invention;

fig. 4 is a schematic diagram of a workflow of the system and method for data transmission of a Lora ad hoc network based on a node back-off algorithm according to the present invention.

Detailed Description

The technical solution of the present patent will be described in further detail with reference to the following embodiments.

Reference will now be made in detail to embodiments of the present patent, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present patent and are not to be construed as limiting the present patent.

In the description of this patent, it is to be understood that the terms "center," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in the orientations and positional relationships indicated in the drawings for the convenience of describing the patent and for the simplicity of description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are not to be considered limiting of the patent.

In the description of this patent, it is noted that unless otherwise specifically stated or limited, the terms "mounted," "connected," and "disposed" are to be construed broadly and can include, for example, fixedly connected, disposed, detachably connected, disposed, or integrally connected and disposed. The specific meaning of the above terms in this patent may be understood by those of ordinary skill in the art as appropriate.

Referring to fig. 1-2, Lora ad hoc network data transmission system based on node back-off algorithm, including the monitoring station, Lora ad hoc network signal transmission module and cloud platform, the monitoring station includes temperature and humidity detection module, rainfall detection module, amount of wind detection module, atmospheric pressure detection module and lightning-arrest module, the cloud platform includes the treater, communication module, data processing module, data storage module, data display module and meteorological early warning module, the treater respectively with communication module, data processing module, data storage module, data display module and meteorological early warning module are connected, the monitoring station is connected with Lora ad hoc network signal transmission module, Lora ad hoc network signal transmission module is connected with the cloud platform.

It should be noted that, in this embodiment, the Lora ad hoc network signal transmission module is composed of a plurality of local towers and a plurality of related towers, and each local tower can be used as a central tower itself, and can also be used as a related tower of a next central tower.

The top of a plurality of these towers and a plurality of relevant towers all is provided with thing and allies oneself with gateway equipment, adopts the Lora to connect between a plurality of thing allies oneself with gateway equipment, and thing allies oneself with gateway equipment and is located the monitoring station.

The temperature and humidity detection module comprises a temperature detection unit and a humidity detection unit, the temperature detection unit is a temperature sensor, the humidity detection unit is a humidity sensor, the temperature sensor can detect the temperature value on the power transmission tower, and the humidity sensor can detect the air humidity on the power transmission tower.

The rainfall detection module comprises a rainfall detection unit, the rainfall detection unit is a rainfall sensor, the air quantity detection module comprises an air quantity detection unit, the air quantity detection unit is an air quantity sensor, the rainfall sensor can detect the rainfall on the power transmission tower, the air quantity sensor can detect the air quantity on the power transmission tower, the air pressure detection module comprises an air pressure detection unit, the air pressure detection unit is an air pressure sensor, and the air pressure sensor can detect the air pressure above the power transmission tower.

The lightning protection module comprises a lightning protection unit, the lightning protection unit is a lightning rod, a good lightning protection effect can be achieved through the lightning rod, and the situation that a monitoring station on a power transmission tower is damaged by lightning stroke is avoided.

The communication module is a wireless communication unit, the wireless communication unit is at least one of 2G, 3G, 4G and 5G communication, and the wireless communication unit is used for transmitting data on the last tower to the cloud platform.

The weather early warning module includes meteorological data contrast unit and meteorological early warning unit, and meteorological data contrast unit is used for comparing the data that detect with normal data, and meteorological early warning unit is audible-visual annunciator.

Further, in this embodiment, the Lora ad hoc network signal transmission module further includes a node backoff algorithm unit, and the node backoff algorithm unit includes a node backoff algorithm formula, where the node backoff algorithm formula is as follows, and when contention fails: CW ═ min (2 × CW +1, CWmax) n < nth; CW is CWMin n is nth, reset n; when the competition is successful: CW-b CW < (CWMid); CW ═ min (CW/2, CWmid) CW > CWmid, where CW denotes the contention window, nth denotes the threshold of the number of contention failures, CWmid denotes the median value of the contention window, CWmax denotes the maximum value of the contention window, and CWmin denotes the minimum value of the contention window.

Referring to fig. 3, the node back-off algorithm flow is as follows:

(1) when the competition channel fails, the CW is increased at the speed of 2 times to quickly break away from the conflict, after the competition failure times exceed a specified value, the competition is abandoned, the receiving node is considered not to be in the range of the sending node, and the transmission fails;

(2) after the node accesses the channel and successfully transmits, the CW is adjusted as follows;

(3) when the contention window is less than or equal to the intermediate value CWmid, the channel contention is considered to be less severe at this time, and the CW is reduced by b, so that the fluctuation of the contention window is not large, and the frequent increase and decrease are avoided. When the contention window is larger than the median CWmid, the node considers that the channel contention is severe, and then the node decrements by half, and returns to the condition a when the contention window is decreased to be less than or equal to CWmid.

Referring to fig. 4, the method for using the Lora ad hoc network data transmission system based on the node back-off algorithm includes the following steps:

s1: firstly, a temperature and humidity monitoring module, a rainfall detection module, an air quantity detection module and an air pressure detection module which are installed in a monitoring station of each power transmission tower can respectively detect the temperature, the humidity, the rainfall, the air quantity and the air pressure above the power transmission tower, and data are transmitted to an internet of things gateway device on the power transmission tower after detection;

s2: through a node backoff algorithm unit in the Lora ad hoc network signal transmission module, because the second local tower is a central tower of the first local tower and the first related tower, data on the first local tower and the first related tower can be transmitted to the second local tower, the third local tower is a central tower of the second local tower and the second related tower, and data on all the second local tower and the second related tower can be transmitted to the third local tower, and so on, thereby realizing linear data transmission from the first local tower to the second local tower and from the second local tower to the third local tower;

s3: data on the last tower can be transmitted to the cloud platform in a wireless data transmission mode, the data are classified, processed and analyzed through a processor in the cloud platform, and after analysis, the data are displayed through a data display module;

s4: the data contrast unit can compare the data obtained after processing with normal data, and when the data at the contrast position is abnormal, the meteorological disaster early warning is started immediately.

The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be able to cover the technical scope of the present invention and the equivalent alternatives or modifications according to the technical solution and the inventive concept of the present invention within the technical scope of the present invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于边缘物联代理的变电站综合监测分析方法和系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类