CN109041272A - A kind of network-building method and its communication means of LoRa ad hoc network - Google Patents

A kind of network-building method and its communication means of LoRa ad hoc network Download PDF

Info

Publication number
CN109041272A
CN109041272A CN201810801182.0A CN201810801182A CN109041272A CN 109041272 A CN109041272 A CN 109041272A CN 201810801182 A CN201810801182 A CN 201810801182A CN 109041272 A CN109041272 A CN 109041272A
Authority
CN
China
Prior art keywords
node
relay
relay node
unit
lora
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
Application number
CN201810801182.0A
Other languages
Chinese (zh)
Inventor
程鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI MAX INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI MAX INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by SHANGHAI MAX INFORMATION TECHNOLOGY Co Ltd filed Critical SHANGHAI MAX INFORMATION TECHNOLOGY Co Ltd
Priority to CN201810801182.0A priority Critical patent/CN109041272A/en
Publication of CN109041272A publication Critical patent/CN109041272A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The invention proposes the network-building method and its communication means of a kind of LoRa ad hoc network, LoRa self-organizing network system of the present invention is based on network topology structure, when node unit quantity increases without increasing the quantity of relay node, reduces the erection and use cost of system.Father and son's Node Concepts and routing table data are introduced in the communications in LoRa self-organizing network system of the present invention, and there are efficient data transmission capabilities, overcome the data transmission flaws that the script forms of broadcasting can not overcome.

Description

A kind of network-building method and its communication means of LoRa ad hoc network
Technical field
The present invention relates to field of communication technology more particularly to a kind of network-building methods and its communication means of LoRa ad hoc network.
Background technique
There are three fundamentals for Internet of Things: perception, intelligence, interconnection have nowadays been haggled in terms of perceiving with intelligence It is kind, and deposit mutually connecting in defect.The common wireless technology of internet of things field is nothing more than this 3 kinds of ZigBee, WiFi, bluetooth, and 3 Kind of scheme respectively has its advantage, suitable for different scenes, but all can not be short to transmission range the fact that provide one and make us full The solution of meaning.Low for the cost of Internet of Things transmission and long transmission distance target, both are not best solutions Scheme.Before LPWAN (Low Power Wide Area Network) technology comes out, the short this problem of communication distance is always Internet of Things denounces, and LoRa is that a kind of remote-wireless based on spread spectrum that Semtech company of the U.S. uses and promotes passes Transmission scheme, this approach increases link budgets and better interference free performance.The application of LoRa is more based on star-like at present The shortcomings that topological structure, this topological structure be when number of nodes increase to certain amount when need to increase the quantity of relaying, Higher cost.For this problem, the design proposes a LoRa ad hoc network solution based on network topology structure.
Summary of the invention
To overcome the problems of the prior art, a kind of LoRa ad hoc network method proposed by the present invention, in the self-organizing network system Comprising node unit, relay node, relay unit and server, the ad hoc network method of the system includes the following steps:
Step 1: the node unit sends the mesh information comprising the node unit self ID with broadcast mode;
Step 2: the relay node is by sending reply data packet to the node unit after the inspection mesh information;
Step 3: connection is established with the relay node after the node unit reception reply data packet;The node list The first and described relay node records counter-party information respectively and establishes routing table;
Step 4: one is repeated the above steps to step 3, until establishing connection between all node units and relay node;
Step 5: relay node sends the mesh information comprising the relay node unit self ID with broadcast mode;
Step 6: remaining relay node is by sending reply data packet to the relay node after the inspection mesh information;
Step 7: connection is established with the relay node after the relay node reception reply data packet;The relay node Between record counter-party information respectively and establish routing table;
Step 8: five are repeated the above steps to step 7, until establishing connection between all relay nodes;
Step 9: relay node sends the mesh information comprising the relay node unit self ID with broadcast mode;
Step 10: the relay unit is by sending reply data packet to the relay node after the inspection mesh information;
Step 11: connection is established with the relay unit after the relay node reception reply data packet;The relaying section Point and the relay unit record counter-party information respectively and establish routing table;
Step 12: nine are repeated the above steps to step 12, until between all relay nodes and the relay unit Establish connection;
Step 13: each node unit, relay node, relay unit upload respective routing table respectively and protect into server It deposits and safeguards.
In the LoRa ad hoc network method proposed by the present invention, examining networking information includes examining the RSSI of mesh information Value.
In the LoRa ad hoc network method proposed by the present invention, the reply data packet includes that equipment self ID and target are set Standby ID.
In the LoRa ad hoc network method proposed by the present invention, GPRS is used between the relay unit and the server Interact, if data volume greatly if interacted using UPD agreement, assisted if to interaction stability requirement height using TCP View interacts.
In the LoRa ad hoc network method proposed by the present invention, further comprise between step 4 and step 5: again Step 1 is carried out to step 4, node unit is made to connect another relay node building routing table.
The invention also provides a kind of communication means of self-organizing network system, include the following steps:
Step a: the node unit and/or the relay node send self ID when sending data as transmitting terminal simultaneously And father node device id;
Step b: after the receiving end acquisition data for receiving the data, judge whether the transmitting terminal is the receiving end Child node;If it has, then to be turned after the father node device id in itself father node device id replacement data of receiving end Hair;If it has not, being then not processed.
In the communication means proposed by the present invention, transmitting terminal sends data and further sends control byte simultaneously, described Control byte is successively decreased after data are forwarded once, until the data are no longer forwarded after zero.
Compared with prior art, beneficial effects of the present invention: LoRa self-organizing network system of the present invention is based on network topology structure, When node unit quantity increases without increasing the quantity of relay node, the erection and use cost of system are reduced.The present invention Father and son's Node Concepts and routing table data are introduced in LoRa self-organizing network system in the communications, there are efficient data transmission capabilities, Overcome the data transmission flaws that the script forms of broadcasting can not overcome.
Detailed description of the invention
Fig. 1 is the schematic diagram of LoRa ad hoc network in the present invention.
Specific embodiment
It is carried out more below in conjunction with network-building method and its communication means of the schematic diagram to LoRa ad hoc network proposed by the present invention Detailed description, which show the preferred embodiment of the present invention, it should be appreciated that those skilled in the art can modify and retouch herein The present invention stated, and still realize advantageous effects of the invention.Therefore, following description should be understood as art technology Personnel's is widely known, and is not intended as limitation of the present invention.
LoRa ad hoc network method of the present invention includes node in the self-organizing network system based on self-organizing network system as shown in Figure 1 Unit, relay node, relay unit and server.Node unit (Node) is located at the edge of network, without relay function, mainly It is to carry out data acquisition and transmission.Usually power consumption requirements are higher, the simple equipment of structure.The position relay node (Relay Node) In the middle layer of network, tape relay function, main function is in the acquisition and transmission that carry out data and the data for forwarding Node. It is not high suitable for power consumption requirements, the fixed equipment in position.Relay unit (Relay) is located at the top layer of network, and main function is Receive the data of Relay Node, carries out necessary data conversion work, then forward the data to server.This role's Equipment needs while carrying LoRa module and GPRS module.
The ad hoc network method of LoRa self-organizing network system of the present invention includes the following steps:
Step 1: the node unit sends the mesh information comprising the node unit self ID with broadcast mode;
Step 2: the relay node is by sending reply data packet to the node unit after the inspection mesh information;
Step 3: connection is established with the relay node after the node unit reception reply data packet;The node list The first and described relay node records counter-party information respectively and establishes routing table;
Step 4: one is repeated the above steps to step 3, until establishing connection between all node units and relay node;
Step 5: relay node sends the mesh information comprising the relay node unit self ID with broadcast mode;
Step 6: remaining relay node is by sending reply data packet to the relay node after the inspection mesh information;
Step 7: connection is established with the relay node after the relay node reception reply data packet;The relay node Between record counter-party information respectively and establish routing table;
Step 8: five are repeated the above steps to step 7, until establishing connection between all relay nodes;
Step 9: relay node sends the mesh information comprising the relay node unit self ID with broadcast mode;
Step 10: the relay unit is by sending reply data packet to the relay node after the inspection mesh information;
Step 11: connection is established with the relay unit after the relay node reception reply data packet;The relaying section Point and the relay unit record counter-party information respectively and establish routing table;
Step 12: nine are repeated the above steps to step 12, until between all relay nodes and the relay unit Establish connection;
Step 13: each node unit, relay node, relay unit upload respective routing table respectively and protect into server It deposits and safeguards.
In the preferred embodiment of the present invention, examining networking information includes examining the RSSI value of mesh information, if RSSI value accords with Close the reply data packet that networking is sent when networking requirement and the sub- number of devices of itself do not reach the upper limit.
In the preferred embodiment of the present invention, the reply data packet includes equipment self ID and target device ID.
In the LoRa ad hoc network method proposed by the present invention, GPRS is used between the relay unit and the server Interact, if data volume greatly if interacted using UPD agreement, assisted if to interaction stability requirement height using TCP View interacts.
In the LoRa ad hoc network method proposed by the present invention, further comprise between step 4 and step 5: again Step 1 is carried out to step 4, node unit is made to connect another relay node building routing table.This is in order to which guarantee will not be by Lead to network paralysis in region in a relay node failure
The invention also provides a kind of communication means of self-organizing network system, include the following steps:
Step a: the node unit and/or the relay node send self ID when sending data as transmitting terminal simultaneously And father node device id;
Step b: after the receiving end acquisition data for receiving the data, judge whether the transmitting terminal is the receiving end Child node;If it has, then to be turned after the father node device id in itself father node device id replacement data of receiving end Hair;If it has not, being then not processed.
In the communication means proposed by the present invention, transmitting terminal sends data and further sends control byte simultaneously, described Control byte is successively decreased after data are forwarded once, until the data are no longer forwarded after zero.The initial value of control byte is The depth capacity of the network be it is excellent, setting control byte is generation in order to prevent broadcast storm.
The above is only a preferred embodiment of the present invention, does not play the role of any restrictions to the present invention.Belonging to any Those skilled in the art, in the range of not departing from technical solution of the present invention, to the invention discloses technical solution and Technology contents make the variation such as any type of equivalent replacement or modification, belong to the content without departing from technical solution of the present invention, still Within belonging to the scope of protection of the present invention.

Claims (7)

1. a kind of LoRa ad hoc network method, which is characterized in that include node unit, relay node, relaying in the self-organizing network system The ad hoc network method of unit and server, the system includes the following steps:
Step 1: the node unit sends the mesh information comprising the node unit self ID with broadcast mode;
Step 2: the relay node is by sending reply data packet to the node unit after the inspection mesh information;
Step 3: connection is established with the relay node after the node unit reception reply data packet;The node unit and The relay node records counter-party information respectively and establishes routing table;
Step 4: one is repeated the above steps to step 3, until establishing connection between all node units and relay node;
Step 5: relay node sends the mesh information comprising the relay node unit self ID with broadcast mode;
Step 6: remaining relay node is by sending reply data packet to the relay node after the inspection mesh information;
Step 7: connection is established with the relay node after the relay node reception reply data packet;Between the relay node Record counter-party information establishes routing table respectively;
Step 8: five are repeated the above steps to step 7, until establishing connection between all relay nodes;
Step 9: relay node sends the mesh information comprising the relay node unit self ID with broadcast mode;
Step 10: the relay unit is by sending reply data packet to the relay node after the inspection mesh information;
Step 11: connection is established with the relay unit after the relay node reception reply data packet;The relay node and The relay unit records counter-party information respectively and establishes routing table;
Step 12: nine are repeated the above steps to step 12, until establishing between all relay nodes and the relay unit Connection;
Step 13: each node unit, relay node, relay unit upload respectively respective routing table saved into server and Maintenance.
2. LoRa ad hoc network method according to claim 1, which is characterized in that examining networking information includes examining networking letter The RSSI value of breath.
3. LoRa ad hoc network method according to claim 1, which is characterized in that the reply data packet includes equipment itself ID and target device ID.
4. LoRa ad hoc network method according to claim 1, which is characterized in that the relay unit and the server it Between interacted using GPRS, if data volume greatly if interacted using UPD agreement, if to interaction stability requirement Gao Ze It is interacted using Transmission Control Protocol.
5. LoRa ad hoc network method according to claim 1, which is characterized in that between step 4 and step 5 further Include: to re-start step 1 to step 4, node unit is made to connect another relay node building routing table.
6. a kind of communication means of the self-organizing network system as described in any one of claim 1-5, which is characterized in that including walking as follows It is rapid:
Step a: the node unit and/or the relay node send self ID and father when sending data as transmitting terminal simultaneously Node device ID;
Step b: after the receiving end acquisition data for receiving the data, judge whether the transmitting terminal is that the sub of the receiving end is saved Point;If it has, then to be forwarded after the father node device id in itself father node device id replacement data of receiving end;If Be it is no, then be not processed.
7. communication means according to claim 6, which is characterized in that transmitting terminal sends data and further sends control simultaneously Byte, the control byte are successively decreased after data are forwarded once, until the data are no longer forwarded after zero.
CN201810801182.0A 2018-07-20 2018-07-20 A kind of network-building method and its communication means of LoRa ad hoc network Pending CN109041272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810801182.0A CN109041272A (en) 2018-07-20 2018-07-20 A kind of network-building method and its communication means of LoRa ad hoc network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810801182.0A CN109041272A (en) 2018-07-20 2018-07-20 A kind of network-building method and its communication means of LoRa ad hoc network

Publications (1)

Publication Number Publication Date
CN109041272A true CN109041272A (en) 2018-12-18

Family

ID=64642875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810801182.0A Pending CN109041272A (en) 2018-07-20 2018-07-20 A kind of network-building method and its communication means of LoRa ad hoc network

Country Status (1)

Country Link
CN (1) CN109041272A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714741A (en) * 2019-01-10 2019-05-03 常州科新永安电子锁有限公司 Bluetooth repeaters, smart lock, intelligent lock system and network-building method
CN111132260A (en) * 2019-11-27 2020-05-08 江苏三希科技股份有限公司 Lora communication method and system for multi-route ad hoc network
CN111510471A (en) * 2019-12-31 2020-08-07 青岛乾程科技股份有限公司 L ORA self-networking method of residential electricity meter reading network
CN112566155A (en) * 2020-11-16 2021-03-26 珠海格力电器股份有限公司 Networking method, device and system
CN113905349A (en) * 2021-09-29 2022-01-07 中国铁道科学研究院集团有限公司 Networking method, device and system
DE102021120702A1 (en) 2021-08-09 2023-02-09 Dryad Networks GmbH LORAWAN GATEWAY NETWORK AND PROCEDURES

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060171332A1 (en) * 2005-02-03 2006-08-03 Control4 Corporation Device discovery and channel selection in a wireless networking environment
CN102223734A (en) * 2011-06-14 2011-10-19 广州从兴电子开发有限公司 Wireless communication network and communication method of same
CN102255973A (en) * 2011-08-23 2011-11-23 江苏省邮电规划设计院有限责任公司 Routing method in vehicle wireless communication network and vehicle wireless communication network
CN106899973A (en) * 2017-01-21 2017-06-27 段双利 The upper distress signals sending method of many seas of faces based on wireless self-networking
CN107404745A (en) * 2017-06-13 2017-11-28 广东广业开元科技有限公司 A kind of fire detector remote detecting system based on MANET
CN107484261A (en) * 2017-09-01 2017-12-15 泉州禾逸电子有限公司 One kind is based on 433MHz wireless self-networking methods

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060171332A1 (en) * 2005-02-03 2006-08-03 Control4 Corporation Device discovery and channel selection in a wireless networking environment
CN102223734A (en) * 2011-06-14 2011-10-19 广州从兴电子开发有限公司 Wireless communication network and communication method of same
CN102255973A (en) * 2011-08-23 2011-11-23 江苏省邮电规划设计院有限责任公司 Routing method in vehicle wireless communication network and vehicle wireless communication network
CN106899973A (en) * 2017-01-21 2017-06-27 段双利 The upper distress signals sending method of many seas of faces based on wireless self-networking
CN107404745A (en) * 2017-06-13 2017-11-28 广东广业开元科技有限公司 A kind of fire detector remote detecting system based on MANET
CN107484261A (en) * 2017-09-01 2017-12-15 泉州禾逸电子有限公司 One kind is based on 433MHz wireless self-networking methods

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714741A (en) * 2019-01-10 2019-05-03 常州科新永安电子锁有限公司 Bluetooth repeaters, smart lock, intelligent lock system and network-building method
CN109714741B (en) * 2019-01-10 2022-05-17 常州科新永安电子锁有限公司 Bluetooth repeater, intelligent lock system and networking method
CN111132260A (en) * 2019-11-27 2020-05-08 江苏三希科技股份有限公司 Lora communication method and system for multi-route ad hoc network
CN111132260B (en) * 2019-11-27 2022-02-18 江苏三希科技股份有限公司 Lora communication method and system for multi-route ad hoc network
CN111510471A (en) * 2019-12-31 2020-08-07 青岛乾程科技股份有限公司 L ORA self-networking method of residential electricity meter reading network
CN112566155A (en) * 2020-11-16 2021-03-26 珠海格力电器股份有限公司 Networking method, device and system
CN112566155B (en) * 2020-11-16 2022-05-10 珠海格力电器股份有限公司 Networking method, device and system
DE102021120702A1 (en) 2021-08-09 2023-02-09 Dryad Networks GmbH LORAWAN GATEWAY NETWORK AND PROCEDURES
CN113905349A (en) * 2021-09-29 2022-01-07 中国铁道科学研究院集团有限公司 Networking method, device and system

Similar Documents

Publication Publication Date Title
CN109041272A (en) A kind of network-building method and its communication means of LoRa ad hoc network
CN102958197B (en) Method for establishing X2 service signaling connection, base station and CSG (cell site gateway)
CN102187731A (en) Reliable femtocell system for wireless communication networks
CN105376357A (en) An antenna setting method and device for a mobile device
CN104023006A (en) Multi-path transmission system and method based on application layer relaying
CN104040987A (en) User plane data transmission method, mobility management network element, evolved node b and system
WO2019183919A1 (en) Method and apparatus for converged networking
CN108712520B (en) Terminal IP address transparent transmission system and method based on LTE wireless private network
CN114641052B (en) Multi-hop network routing method based on LoRa intelligent security system
CN105873169A (en) Wireless ad-hoc network communication method
CN104717259A (en) Multi-path data transmission system and method assisted by distributed transit server network
CN202285423U (en) Intelligent set top box
CN103746925A (en) FiWi converged network and communication method based on FiWi converged network
CN114205873B (en) Dynamic eCPRI header compression
CN103685007A (en) Method for MAC address learning during packet forwarding of edge devices and edge device
CN113965246A (en) Application layer route forwarding optimization method based on-satellite UPF
CN107181614B (en) Wifi network, networking method thereof and data transmission method
CN105451272A (en) Data interaction method, building baseband unit, radio remote unit and R-Hub
WO2016161761A1 (en) Data transmission method and device
US20220361262A1 (en) Data transmission for artificial intelligence (ai) technologies
CN214205565U (en) Intelligent gateway equipment fusing LoRa and NB-IOT wireless communication technology
CN110601893B (en) Data transmission system, method and device
CN103535094B (en) The transmission method of common public radio interface data and equipment
CN114765578A (en) Service quality control method and related equipment
CN104796345A (en) Message transmission control method and equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181218