CN117240779A - LORA MESH networking system - Google Patents
LORA MESH networking system Download PDFInfo
- Publication number
- CN117240779A CN117240779A CN202311229500.8A CN202311229500A CN117240779A CN 117240779 A CN117240779 A CN 117240779A CN 202311229500 A CN202311229500 A CN 202311229500A CN 117240779 A CN117240779 A CN 117240779A
- Authority
- CN
- China
- Prior art keywords
- information
- data
- lora
- network
- networking system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000006855 networking Effects 0.000 title claims abstract description 24
- QVFWZNCVPCJQOP-UHFFFAOYSA-N chloralodol Chemical compound CC(O)(C)CC(C)OC(O)C(Cl)(Cl)Cl QVFWZNCVPCJQOP-UHFFFAOYSA-N 0.000 claims abstract description 29
- 230000005540 biological transmission Effects 0.000 claims abstract description 17
- 238000012546 transfer Methods 0.000 claims abstract description 16
- 238000012545 processing Methods 0.000 claims abstract description 10
- 238000000034 method Methods 0.000 claims abstract description 9
- 230000008569 process Effects 0.000 claims abstract description 8
- 238000004806 packaging method and process Methods 0.000 claims abstract description 4
- 230000006854 communication Effects 0.000 claims description 8
- 238000004891 communication Methods 0.000 claims description 7
- 238000005265 energy consumption Methods 0.000 abstract description 4
- 238000005516 engineering process Methods 0.000 description 6
- 238000012544 monitoring process Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 230000004083 survival effect Effects 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a LORA MESH networking system, which comprises SENDER, RELAYER and a RECEIVER, wherein the SENDER is an information SENDER and is used for data packaging and data sending processes; the RELAYER is an information receiving and relaying person and is used for receiving, forwarding and processing data; the RECEIVER is an information RECEIVER, and is used for receiving and processing data, and is not forwarded any more. The LORA MESH networking system introduces two parameters of an information tag IND (indicator) and a transfer time DTL (Duration To Live) on the basis of flooding transmission, wherein the information tag is used for identifying the uniqueness of each piece of information, the transfer time is used for limiting the duration of each piece of information in a network, and the LORA MESH networking system is used for solving the problems of congestion, repeated transmission, energy consumption and the like possibly existing in the network.
Description
Technical Field
The invention relates to the Mesh networking field, in particular to a LORA MESH networking system.
Background
With the progress of the age and the continuous development of technology, intelligent city construction has become an important direction. The internet of things technology brings the foundation of intelligent cities. At present, wireless sensor networks are introduced into urban monitoring to monitor vital signs of key infrastructure, and long-distance and low-power wireless technologies mainly comprise two access technologies of LoRa and NB-IoT, wherein the NB-IoT depends on a mobile cellular network, and in areas where a plurality of bridges tunnel, the signal quality is poor, and the reliability of the monitoring network is affected. The LoRa technology can be used as a ground key public infrastructure monitoring terminal network access technology in road bridge tunnel scenes in urban construction.
However, the conventional LoRa networking mode uses a star topology structure, which has a plurality of disadvantages of short connection distance, poor expansibility, and unstable or incapable connection of remote node connection. The wireless Mesh can cooperatively communicate with other networks, is a dynamic network architecture which can be continuously expanded, and any two devices can keep wireless interconnection. Mesh networking is a network topology in which each node can communicate directly with neighboring nodes and ultimately form an interconnected Mesh structure.
The routing policies in wireless ad hoc networks currently in common use in the market are mainly table driven routing protocols and on-demand routing protocols. When the table-driven routing protocol is adopted, the battery energy consumption is high, the network survival time is relatively short, and the whole networking propagation is not facilitated.
The prior art has good distance coverage capability, but in certain areas or applications, the distance may still become a limitation, and physical obstacles (such as buildings, terrains, etc.) may interfere with the transmission of the LoRa signal; on the other hand, in a conventional star network, if one base station fails, all devices connected thereto may be affected, and thus the reliability and stability of the network are low.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention aims to provide a LORA MESH networking system for solving the problems in the background art, and introduces two parameters of an information tag IND and a transfer time DTL on the basis of flooding transmission, wherein the information tag is used for identifying the uniqueness of each piece of information, the transfer time is used for limiting the duration of each piece of information existing in the network, and the system is used for solving the problems of congestion, repeated transmission, energy consumption and the like possibly existing in the network.
In order to achieve the above object, the present invention is realized by the following technical scheme: a system for LORA MESH networking, the system comprising SENDER, RELAYER, RECEIVER, the SENDER being an information SENDER, and the SENDER being used for data packaging and data transmission processes; the RELAYER is an information receiving and relaying person and is used for receiving, forwarding and processing data; the system comprises a plurality of terminal devices, each terminal device is in direct communication with one or more adjacent peer nodes, and finally, the wireless device nodes are used as an AP and a router to be interconnected with LORA equipment in the networking system, and the LORA stores tag information into a cloud server through wireless communication transmission.
Further, the SENDER main body packages the data to be sent, and includes the following contents: information tag IND, transfer times TTL, transfer time DTL and message body.
Further, the information tag IND is a unique identification code of each piece of information; the transfer number TTL indicates the maximum number of intermediate stages the information allows in the network.
Further, the delivery time DTL indicates a duration of time DTL allowed to exist in the network after the information is sent out by SENDER; the message body represents the data that really needs to be sent.
Further, the RELAYER in which the data receiving process is in an idle state is in a receiving mode, and whether the relay is needed or not is judged according to the following rule after the data received from the LoRa network.
Further, the RELAYER forwarding data process comprises the following steps: judging whether the information is relayed by the information per se or not through IND, and if the information is relayed, not relaying any more; judging whether the information is 0 or not through TTL, if so, representing that the relay times of the information in the network are reached, and not relaying any more; and judging whether the information is 0 in the network time or not through the DTL, and if the information is 0, not relaying the information.
Further, for the broadcasted data, all RELAYER is both the data relay and the data receiver, and the message body is analyzed and processed.
Further, whether forwarding is needed is judged according to analysis of the data packet, if forwarding is needed, the data packet is RELAYER, and if forwarding is not needed, the data packet is RECEIVER.
The invention has the beneficial effects that:
1. in the invention, the LoRa Mesh allows the equipment to serve as a relay node, helps to expand the coverage area of a network, and enables the equipment to be connected with each other so as to realize communication at a longer distance; by establishing the Mesh network, the devices can mutually relay signals, so that the devices can bypass obstacles, and more stable communication can be realized.
2. In the LoRa Mesh network, the devices can carry out multi-path communication, and even if some nodes fail, data can still be transmitted through other paths, so that the reliability and stability of the whole network are improved; and no special configuration is needed, the network structure can be self-adapted, and the LoRa node position is arranged according to the field environment.
3. According to the invention, two parameters of an information tag IND (indicator) and a transfer time DTL (Duration To Live) are introduced on the basis of flooding transmission, the information tag is used for identifying the uniqueness of each piece of information, the transfer time is used for limiting the duration of each piece of information in a network, and the problems of congestion, repeated transmission, energy consumption and the like possibly existing in the network of data are solved.
Drawings
FIG. 1 is a schematic diagram of data reception and processing in a LORA MESH networking system according to the present invention;
FIG. 2 is a flow chart of data transceiving according to the present invention;
Detailed Description
The invention is further described in connection with the following detailed description, in order to make the technical means, the creation characteristics, the achievement of the purpose and the effect of the invention easy to understand.
Referring to fig. 1 to 2, the present invention provides a technical solution: a system for LORA MESH networking is a network architecture without master and slave, the main body of information transmission can be any node in the network, each node has specific ID, and in one communication process, the network structure of the LORa MESH has the following 3 roles:
SENDER: information sender
RELAYER: information receiving and relaying device
RECEIVER: information receiver
(1) SENDER: sender of information, responsible for message packing and sending
Message packaging: the SENDER body packages the data to be sent, comprising the following content (1.1) information tags IND: unique identification code of each piece of information, hereinafter referred to as IND (indicator)
(1.2) transfer times TTL: representing the maximum number of intermediate levels allowed by the information in the network, hereinafter abbreviated as TTL (Time To Live)
(1.3) transfer time DTL: indicating that this information is allowed To exist for a period of time (Duration To Live) of the network after being sent out by SENDER, hereinafter referred To as DTL.
(1.4) TARGET address TARGET_ADDR: identifying the destination address of the message body, 0xFFFF representing broadcast data, others representing a particular unique destination address
Broadcasting data: data for all nodes, target address is 0xFFFF
Unicast data: data oriented to specific nodes, target address is specific ID
(1.5) message body: representing truly actual valid message bodies
(2) RELAYER: responsible for data reception, forwarding and data processing
(2.1) data reception: RELAYER in any idle state is in receiving mode, and after data is received from LoRa network, whether relay is needed or not is judged according to the following rule, and data is forwarded
(2.2.1) judging whether or not the target address in (1.4) matches with the own, if the target address is a broadcast address or a unicast ID other than the own ID, the target address needs to be relayed
(2.1.2) judging whether the piece of information is relayed by itself by IND, if it has been relayed, not relaying any more
(2.1.3) judging whether the information is 0 or not by TTL, if 0, representing that the number of times of relaying the information in the network has reached the preset setting, without relaying
(2.1.4) judging whether the information is 0 in the network time by DTL, if so, not relaying the information any more
(2.2) data processing:
if the broadcast data is broadcast, all RELAYER are data receivers, the message body is analyzed and processed
If the data is unicast data, if the self ID matches the unicast ID, the message body is processed
(3) RECEIVER: and is responsible for the receiving processing of the data and does not forward any more. In practice, the RELAYER and RECEIVER roles are defined by analyzing the data packet to determine whether forwarding is needed, if so, RELAYER, and if not, RECEIVER.
Introducing IND, TTL and DTL based on traditional LORA information body
Information tag IND:0x10010001 |
Transfer times TTL:4 times |
Transfer time DTL:1000ms |
TARGET address target_addr:0x1003 |
Message body: msg_packet |
Taking ind=0x00010001 as an example, IND combines the current node ID (1001) with the transmission sequence (0001), and +1 (0 x10010001, 0x10010002, 0x 10010003) can ensure the uniqueness of data and identify the transmission source of information on the basis of the IND of the last transmission. When the transmit sequence increases to FFFF, gauge 0 re-counts.
Taking ind=0x10010001 as an example, the representative information sender is a node with address 0x1001, and the transmission sequence is 0001
Taking ttl=4 as an example, the relay is allowed 4 times. The distance for transmitting data through relay can be extended by 4 times based on the traditional star-shaped lora architecture in theory;
taking dtl=1000 as an example, it represents that the data is terminated when the network duration is 1000ms, and even if the current TTL >0, the data is terminated.
Taking the example of 0x1003 under target_addr0, the example where the TARGET node representing this information is addressed to 0x1003 or more is interpreted as: the node 0x1001 sends a message (information sequence is 0001) to the node 0x1003, the maximum allowable relay number is 4, and the maximum network time is 1000ms
Data receiving and processing:
in this embodiment, when the node receives any LoRa information. The data were analyzed as follows: the data processing rule is as follows:
judging whether the current broadcast address or the current unicast address is the current broadcast address through TARGET_ADDR, and matching the current broadcast address with the own address
(2) The data forwarding rule is as follows:
(2.1) judging whether the address is currently a broadcast address or a unicast address by TARGET_ADDR and does not match with the address
(2.2) whether there is previously relayed IND information
(2.3) whether TTL is greater than 0
(3) The data forwarding method is as follows
(3.1) judging whether the current network is idle or not through the LoRa carrier sense function, if so, waiting and reducing DTL according to the waiting time, wherein DTL=DTL-waiting time when representing that the information is being relayed by other nodes in the network
(3.2) during the waiting process, if dtl=0, representing DTL timeout, network listening is still busy, no forwarding is needed
(3.3) if the network is idle and DTL >0, ttl=ttl-1 is modified
(3.4) transmitting data into a network
(3.5) buffering the current IND and maintaining a DTL period, discarding if the same information as IND is received again in a DTL period
According to the above transceiving mechanism, a random LORA MESH broadcast information transmission flow is shown in FIG. 2
1 each RELAYER and RECEIVER receives information at a time as indicated by the time at the node in FIG. 2
The 2 green line is the line in the network where the data transmission is successful (relayed, or the information arrives at the destination node)
The 3 red line represents data that, but because the data has been relayed, will not be relayed again, i.e. the forwarding is stopped
The 4 blue line represents the current network busy and the node waiting process.
The present embodiment is according to the following logic flow:
1 can ensure that all data is relayed only once on one RELAYER
2, it can ensure that all information only exists a preset DTL time in the network, and can effectively keep the network from being blocked
3 can ensure that the information can reach all nodes within the design scope
RECEIVER1: the information will not be forwarded again because the DTL expires
RECEIVER2: the information will not be forwarded again because the DTL expires
RECEIVER3: the information is not forwarded again because ttl=0.
While the fundamental and principal features of the invention and advantages of the invention have been shown and described, it will be apparent to those skilled in the art that the invention is not limited to the details of the foregoing exemplary embodiments, but may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present disclosure describes embodiments, not every embodiment is provided with a separate embodiment, and that this description is provided for clarity only, and that the disclosure is not limited to the embodiments described in detail below, and that the embodiments described in the examples may be combined as appropriate to form other embodiments that will be apparent to those skilled in the art.
Claims (8)
1. A system for LORA MESH networking, characterized by: the system includes SENDER, RELAYER, RECEIVER, the SENDER is an information SENDER, and the SENDER is used for data packaging and data sending processes; the RELAYER is an information receiving and relaying person and is used for receiving, forwarding and processing data; the system comprises a plurality of terminal devices, each terminal device is in direct communication with one or more adjacent peer nodes, and finally, the wireless device nodes are used as an AP and a router to be interconnected with LORA equipment in the networking system, and the LORA stores tag information into a cloud server through wireless communication transmission.
2. A LORA MESH networking system according to claim 1, wherein: the SENDER body packages data to be sent, and comprises the following contents: information tag IND, transfer times TTL, transfer time DTL and message body.
3. A LORA MESH networking system according to claim 2, characterized in that: the information tag IND is a unique identification code of each piece of information; the transfer number TTL indicates the maximum number of intermediate stages the information allows in the network.
4. A LORA MESH networking system according to claim 2, characterized in that: the delivery time DTL indicates the duration of time DTL allowed in the network after the information is sent out by SENDER; the message body represents the data that really needs to be sent.
5. A LORA MESH networking system according to claim 1, wherein: the data receiving process in RELAYER is in a idle state, and the data received from the LoRa network is then interpreted whether relay is needed according to the following rules.
6. A LORA MESH networking system according to claim 5, wherein: the RELAYER relay data process includes the following: judging whether the information is relayed by the information per se or not through IND, and if the information is relayed, not relaying any more; judging whether the information is 0 or not through TTL, if so, representing that the relay times of the information in the network are reached, and not relaying any more; and judging whether the information is 0 in the network time or not through the DTL, and if the information is 0, not relaying the information.
7. A LORA MESH networking system according to claim 1, wherein: for broadcast data, all RELAYER are both data relay and data receiver, and the message body is analyzed and processed.
8. A LORA MESH networking system according to claim 1, wherein: whether the data packet needs to be forwarded is judged according to the analysis of the data packet, if the data packet needs to be forwarded, the data packet is RELAYER, and if the data packet does not need to be forwarded, the data packet is RECEIVER.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311229500.8A CN117240779A (en) | 2023-09-22 | 2023-09-22 | LORA MESH networking system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311229500.8A CN117240779A (en) | 2023-09-22 | 2023-09-22 | LORA MESH networking system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117240779A true CN117240779A (en) | 2023-12-15 |
Family
ID=89083989
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311229500.8A Pending CN117240779A (en) | 2023-09-22 | 2023-09-22 | LORA MESH networking system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117240779A (en) |
-
2023
- 2023-09-22 CN CN202311229500.8A patent/CN117240779A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7961627B2 (en) | Method and system for generating antenna selection signals in OFDM transceivers with fewer RF chains than antennas in MIMO wireless networks | |
CN107846718B (en) | Data transmission method and relay node | |
EP1856853B1 (en) | Hybrid routing protocol for a network with mesh topology | |
US7466665B2 (en) | Method and apparatus for route discovery within a communication system | |
CN102550005B (en) | Methods and systems for exploitation of well-connected nodes in peer-to-peer wireless networks | |
US7894408B2 (en) | System and method for distributing proxying error information in wireless networks | |
KR100810662B1 (en) | Method and apparatus for discoverying route in a wireless network | |
US20050041627A1 (en) | Apparatus and method for collecting active route topology information in a mobile AD HOC network | |
US7792108B2 (en) | Method and apparatus for transmitting concatenated frames in a wireless communication system | |
US7310761B2 (en) | Apparatus and method for retransmitting data packets in mobile ad hoc network environment | |
AU2016101053A4 (en) | Ad-hoc wireless network and a method for reducing energy need of the ad-hoc wireless network | |
CN101102283A (en) | A method and device for optimizing unknown unicast forward at wireless access point | |
CN106604344B (en) | RPL-based power utilization information system and networking and communication method thereof | |
US20080107033A1 (en) | Radio communication network capable of radio communication with reduced overhead | |
Biradar et al. | Mesh based multicast routing in MANET: stable link based approach | |
CN117240779A (en) | LORA MESH networking system | |
Singh et al. | Non-root-based hybrid wireless mesh protocol for wireless mesh networks | |
US9226219B2 (en) | System and method for route learning and auto-configuration | |
US8982908B1 (en) | Extension of path reply message to encode multiple route information in a mesh network | |
CN114827004A (en) | RIP protocol optimization method suitable for on-satellite IP route exchange | |
JP2008017028A (en) | Radio apparatus and radio communication network equipped therewith | |
CN107360540B (en) | Road safety information transmission method based on vehicle-mounted network | |
Ghosh et al. | LoRaute: Routing Messages in Backhaul LoRa Networks for Underserved Regions | |
JPWO2008114327A1 (en) | Address resolution method | |
Devi et al. | Dir-DREAM: geographical routing protocol for FSO MANET |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |