CN108040339A - Offline network-building method and its system based on LoRa - Google Patents
Offline network-building method and its system based on LoRa Download PDFInfo
- Publication number
- CN108040339A CN108040339A CN201711276472.XA CN201711276472A CN108040339A CN 108040339 A CN108040339 A CN 108040339A CN 201711276472 A CN201711276472 A CN 201711276472A CN 108040339 A CN108040339 A CN 108040339A
- Authority
- CN
- China
- Prior art keywords
- lora
- networking
- information
- gateway
- informations
- 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
- QVFWZNCVPCJQOP-UHFFFAOYSA-N chloralodol Chemical compound CC(O)(C)CC(C)OC(O)C(Cl)(Cl)Cl QVFWZNCVPCJQOP-UHFFFAOYSA-N 0.000 title claims abstract description 294
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000006855 networking Effects 0.000 claims abstract description 145
- 238000009434 installation Methods 0.000 abstract description 9
- 238000012423 maintenance Methods 0.000 abstract description 8
- 230000006854 communication Effects 0.000 description 30
- 238000004891 communication Methods 0.000 description 29
- 238000005516 engineering process Methods 0.000 description 23
- 230000005540 biological transmission Effects 0.000 description 13
- 230000008569 process Effects 0.000 description 9
- 230000004044 response Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000001228 spectrum Methods 0.000 description 5
- 230000005611 electricity Effects 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 229910002056 binary alloy Inorganic materials 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000008676 import Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000004886 process control Methods 0.000 description 2
- 239000000725 suspension Substances 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
- G06K17/0022—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
- G06K17/0025—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention relates to offline network-building method and its system based on LoRa, this method includes obtaining LoRa nodal informations, and is transmitted to server;LoRa gateway informations are obtained, and are transmitted to server;According to LoRa nodal informations and LoRa gateway informations, LoRa gateway configurations are carried out, establish the connection of LoRa gateways and LoRa nodes, form wide area network;Networking equipment information is obtained, is stored in server;Networking is carried out according to networking equipment information and LoRa gateway informations.The present invention is by scanning the 2 D code information carried on LoRa nodes and LoRa gateways, during offline networking, networking equipment information is added in the white list of itself, realize in networking, gateway need not be in powering on and networking state, and equipment is without in powering on and look for net state, it can be carried out networking, it is easy to operate, it is time saving and energy saving, reduce project installation and the complexity of maintenance.
Description
Technical field
The present invention relates to Internet of Things network communication system, more specifically refers to the offline network-building method based on LoRa and its is
System.
Background technology
, being capable of low-power consumption and to carry out communication be particularly significant and necessary bar over long distances when carrying out Internet of Things Network Communication
Part, the data transfer mode of traditional Internet of Things Network Communication include wire transmission mode, near radio transmission mode, tradition interconnection
Net mode and mobile aerial net mode.For the main live wire carrier wave of wire transmission mode or carrier frequency, coaxial line, on-off model
Line, RS232 serial ports, RS485, USB, are connected directly between equipment, use is not very convenient, and limitation is larger with physical cord.It is right
Mainly there are wireless RF433/315M, bluetooth, Zigbee, Z-ware, IPv6/6Lowpan, equipment near radio transmission mode
Between use wireless signal transmission information, but there is limitation in transmission range, can not telecommunication.For conventional internet mode
Mainly there are WiFi and Ethernet, be the network being formed by connecting by some computers communicated using common statement, i.e. wide area
International Computer Network that net, LAN and unit are formed according to certain communications protocol, it is necessary to access core network, equipment it
Between be unable to direct communication, the power consumption to communicate is higher.Mainly there are GPRS, 3G/4G, mobile terminal for the aerial net mode of movement
Internet is directly connected to, it is necessary to access core network, but direct communication is unable between equipment, the power consumption to communicate compared with
Height, and flow produces expense.
For LoRa technologies, the low-power consumption wide area networking of things technology for being easy to build and disposing, is modulated using linear frequency modulation spread spectrum
Technology, that is, maintain as the identical low power consumption characteristic of FSK (frequency shift keying) modulation, and significantly increases communication distance, at the same time
Improve network efficiency and eliminate interference, i.e., the terminal of different frequency expansion sequences is sent also not at the same time even if using identical frequency
It can interfere with each other, therefore the concentrator/gateway researched and developed on this basis can receive and process the data of multiple nodes parallel, greatly
Extend power system capacity greatly.At present in smart home field, networking generally by the APP of mobile terminal be added gateway and
The mode of equipment realizes, such a situation needs gateway to power on and connects internet and device power and in looking for net state,
Not so having no idea, networking is successful, and this networking mode is complicated, time-consuming and laborious, requires height to user, also increases engineering
Installation and the complexity safeguarded.
Therefore, it is necessary to design a kind of offline network-building method based on LoRa, realize in networking, gateway need not be in upper
Electricity and networking state, equipment can be carried out networking without in powering on and looking for net state, easy to operate, time saving and energy saving, subtract
Few project installation and the complexity of maintenance.
The content of the invention
The defects of it is an object of the invention to overcome the prior art, there is provided offline network-building method based on LoRa and its be
System.
To achieve the above object, the present invention uses following technical scheme:Offline network-building method based on LoRa, the method
Including:
LoRa nodal informations are obtained, and are transmitted to server;
LoRa gateway informations are obtained, and are transmitted to server;
According to LoRa nodal informations and LoRa gateway informations, LoRa gateway configurations are carried out, LoRa gateways is established and is saved with LoRa
The connection of point, forms wide area network;
Networking equipment information is obtained, is stored in server;
Networking is carried out according to networking equipment information and LoRa gateway informations.
Its further technical solution is:The acquisition LoRa nodal informations, and the step of be transmitted to server, including it is following
Specific steps:
Scan the 2 D code information that LoRa nodes carry;
Parse 2 D code information and obtain LoRa nodal informations, and be transmitted to server.
Its further technical solution is:The step of obtaining LoRa gateway informations, and being transmitted to server, including in detail below
Step:
Scan the 2 D code information that LoRa gateways carry;
Parse 2 D code information and obtain LoRa gateway informations, and be transmitted to server.
Its further technical solution is:The step of networking is carried out according to networking equipment information and LoRa gateway informations, bag
Include step in detail below:
Obtain networking request;
The network environment of LoRa gateways and networking equipment is created, forms mesh information;
In the case where LoRa gateways and networking equipment power on, LoRa gateways obtain and LoRa gateway groups out of mesh information
Net the networking equipment information of connection;
Networking equipment information is added in the white list of LoRa gateways;
Networking equipment searches for LoRa gateways and is automatically added to LoRa gateways.
Present invention also offers the offline group network system based on LoRa, including nodal information acquiring unit, gateway information to obtain
Take unit, dispensing unit, apparatus information acquiring unit and networking unit;
The nodal information acquiring unit, for obtaining LoRa nodal informations, and is transmitted to server;
The gateway information acquiring unit, for obtaining LoRa gateway informations, and is transmitted to server;
The dispensing unit, for according to LoRa nodal informations and LoRa gateway informations, carrying out LoRa gateway configurations, establishing
The connection of LoRa gateways and LoRa nodes, forms wide area network;
The apparatus information acquiring unit, for obtaining networking equipment information, is stored in server;
The networking unit, for carrying out networking according to networking equipment information and LoRa gateway informations.
Its further technical solution is:The nodal information acquiring unit includes the first scan module and the first parsing mould
Block;
First scan module, for scanning the 2 D code information of LoRa nodes carrying;
First parsing module, LoRa nodal informations are obtained for parsing 2 D code information, and are transmitted to server.
Its further technical solution is:The gateway information acquiring unit includes the second barcode scanning module and the second parsing mould
Block;
The second barcode scanning module, for scanning the 2 D code information of LoRa gateways carrying;
Second parsing module, LoRa gateway informations are obtained for parsing 2 D code information, and are transmitted to server.
Its further technical solution is:The networking unit includes acquisition request module, creation module, acquisition of information mould
Block, white list add module and search module;
The acquisition request module, for obtaining networking request;
The creation module, for creating the network environment of LoRa gateways and networking equipment, forms mesh information;
Described information acquisition module, in the case where LoRa gateways and networking equipment power on, LoRa gateways are from networking
The networking equipment information being connected with LoRa gateway networkings is obtained in information;
The white list adds module, for networking equipment information to be added in the white list of LoRa gateways;
Described search module, searches for LoRa gateways for networking equipment and is automatically added to LoRa gateways.
Compared with the prior art, the invention has the advantages that:The offline network-building method based on LoRa of the present invention, passes through
The 2 D code information carried on scanning LoRa nodes and LoRa gateways, obtains corresponding LoRa nodal informations and LoRa gateways
Information, the configuration of LoRa nodes and LoRa gateways is carried out by server, wide area network is formed, by LoRa gateway informations and networking
Facility information is stored in server, during offline networking, networking equipment information is added in the white list of itself, equipment
Search gateway is simultaneously automatically added to LoRa gateways, realizes in networking, gateway need not in powering on and networking state, equipment without
In powering on and looking for net state, networking is can be carried out, it is easy to operate, it is time saving and energy saving, reduce answering for project installation and maintenance
Miscellaneous degree.
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings.
Brief description of the drawings
Fig. 1 is the flow chart for the offline network-building method based on LoRa that the specific embodiment of the invention provides;
Fig. 2 is the schematic diagram for the offline network-building method based on LoRa that the specific embodiment of the invention provides;
Fig. 3 is the acquisition LoRa nodal informations that the specific embodiment of the invention provides and is transmitted to the flow chart of server;
Fig. 4 is the acquisition LoRa gateway informations that the specific embodiment of the invention provides and is transmitted to the flow chart of server;
Fig. 5 is specific embodiment of the invention offer according to networking equipment information and the progress networking of LoRa gateway informations
Flow chart;
Fig. 6 is the structure diagram for the offline group network system based on LoRa that the specific embodiment of the invention provides;
Fig. 7 is the structure diagram for the nodal information acquiring unit that the specific embodiment of the invention provides;
Fig. 8 is the structure diagram for the gateway information acquiring unit that the specific embodiment of the invention provides;
Fig. 9 is the structure diagram for the networking unit that the specific embodiment of the invention provides.
Embodiment
In order to more fully understand the present invention technology contents, with reference to specific embodiment to technical scheme into
One step introduction and explanation, but not limited to this.
Specific embodiment as shown in Fig. 1~9, the offline network-building method provided in this embodiment based on LoRa, Ke Yiyun
During mobile terminal networking, or in other Internet of Things communication process, realize in networking, gateway need not be in upper
Electricity and networking state, equipment can be carried out networking without in powering on and looking for net state, easy to operate, time saving and energy saving, subtract
Few project installation and the complexity of maintenance.
As shown in Figure 1, present embodiments providing the offline network-building method based on LoRa, this method includes:
S1, obtain LoRa nodal informations, and is transmitted to server;
S2, obtain LoRa gateway informations, and is transmitted to server;
S3, according to LoRa nodal informations and LoRa gateway informations, carry out LoRa gateway configurations, establish LoRa gateways and LoRa
The connection of node, forms wide area network;
S4, obtain networking equipment information, is stored in server;
S5, according to networking equipment information and LoRa gateway informations carry out networking.
For LoRa technologies, the low-power consumption wide area networking of things technology for being easy to build and disposing, is modulated using linear frequency modulation spread spectrum
Technology, that is, maintain as the identical low power consumption characteristic of FSK (frequency shift keying) modulation, and significantly increases communication distance, at the same time
Improve network efficiency and eliminate interference, i.e., the terminal of different frequency expansion sequences is sent also not at the same time even if using identical frequency
It can interfere with each other, therefore the concentrator/gateway researched and developed on this basis can receive and process the data of multiple nodes parallel, greatly
Extend power system capacity greatly, mainly in global free frequency range operation (i.e. unauthorized frequency range), including 433,868,915MHz etc..
LoRa networks are mainly made of terminal (built-in LoRa modules), gateway (or base station), server and Yun Si parts, using data
Can transmitted in both directions, transmission range is up to 15 to 20 kilometers.
In certain embodiments, for above-mentioned S1 steps, LoRa nodal informations are obtained, and be transmitted to the step of server
Suddenly, including in detail below step:
The 2 D code information that S11, scanning LoRa nodes carry;
S12, parsing 2 D code information obtain LoRa nodal informations, and are transmitted to server.
There is the Quick Response Code of a carrying self information on each LoRa node, by scanning the two-dimensional code information, from two
LoRa nodal informations are parsed in dimension code information, which is transmitted to service by wireless or wired mode
Device.
Quick Response Code is also known as two-dimensional bar code, it is according to certain rules in plane (two-dimensional directional with certain specific geometric figure
On) the chequered with black and white graphic recording data symbol information of distribution, dexterously using forming in computer on coding
" 0 ", the concept of " 1 " bit stream of portion's logical foundations, word is represented using several with the corresponding geometrical body of binary system
Numerical information, by image input device or photoelectric scanning device automatically identifying and reading to realize that information automatically processes, therefore, in two dimension
Code is implanted into LoRa nodal informations, is obtained easy to scan.
In certain embodiments, above-mentioned S2 steps, obtain LoRa gateway informations, and the step of be transmitted to server, bag
Include step in detail below:
The 2 D code information that S21, scanning LoRa gateways carry;
S22, parsing 2 D code information obtain LoRa gateway informations, and are transmitted to server.
Similar to the acquisition modes of LoRa nodal informations, LoRa gateway informations are obtained, it is simple and convenient.
Take the mode that barcode scanning networks to be attached, can realize LoRa nodes, LoRa gateways and server easy
Efficiently connect.
The mode of the Quick Response Code for the LoRa gateways for scanning the LoRa nodes specified respectively and specifying is taken to carry out LoRa nodes
It is connected with LoRa gateways, can realizes that the LoRa nodes specified carry out the transmitted in both directions of data with the LoRa gateways specified.
For above-mentioned S3 steps, specifically to LoRa gateways with LoRa nodes are single matches, if there are several
When LoRa gateways and a LoRa node, such as two LoRa gateways in the present embodiment and a LoRa node, then sequentially to LoRa
Gateway is configured with LoRa nodes, is realized the wide area network of structure low-power consumption and is communicated;If the same time receives multiple
When LoRa gateways and multiple LoRa nodes, the ID of the equipment scanned the two-dimensional code can be traced back to judge which LoRa gateway with
Which LoRa node configures, under default situations, the corresponding LoRa gateways of Quick Response Code and LoRa sections of same scanning device scanning
Point is preferentially configured, it is of course also possible to set the scanning device and which scanning device scanning before scanning the two-dimensional code
Gateway or node are configured;More close to the actual conditions of user, and improve the accuracy rate of configuration.
In configuration process, the configuration such as port is attached when connecting LoRa nodes particularly directed to LoRa gateways.
During establishing connection, adopted particular by the general out excuse gathered data such as RS232 and/or 485 serial ports
Collect the data of LoRa nodes, be then based on LoRa communication standards and the data collected are transferred to LoRa gateways;And LoRa gateways
Then it is responsible for the data that the multiple LoRa node-node transmissions of collection come, and passes through the roads such as RS232 and/or 485 serial ports, Ethernet or GPRS
Footpath networking equipment communication related to network layer.
In addition, transmitted for a long time without valid data between above-mentioned LoRa nodes and LoRa gateways, LoRa nodes and LoRa
Gateway especially imports heartbeat mechanism, to ensure that node will not cause to cause server or control centre not to sentence because of long-time lost contact
Disconnected node whether failure, avoid because the situation of being abnormal can not be fed back in time.This mechanism is embodied in:LoRa nodes can be upper
Electricity enters transparent transmission mode one heartbeat of transmission and gives LoRa gateways after five seconds, can send heartbeat again every 300 seconds or so afterwards.
For above-mentioned S4 steps, in some embodiments it is possible to which networking equipment is believed by way of scanning the two-dimensional code
Breath is stored in server, and specific networking equipment information includes device id, type, the communication mode that can be received, firmware version
This number, software version number, the information such as vendor code.
Further, in certain embodiments, above-mentioned S5 steps, believe according to networking equipment information and LoRa gateways
Breath carries out the step of networking, including step in detail below:
S51, obtain networking request;
S52, the network environment for creating LoRa gateways and networking equipment, form mesh information;
S53, in the case where LoRa gateways and networking equipment power on, LoRa gateways obtained out of mesh information with LoRa nets
Close the networking equipment information of networking connection;
Networking equipment information, be added in the white list of LoRa gateways by S54;
S55, networking equipment search LoRa gateways are simultaneously automatically added to LoRa gateways.
By the way that LoRa gateway informations and networking equipment information are stored in server, asked according to networking, create gateway
With the network environment of equipment network, mesh information, in the case where LoRa gateways and networking equipment all power on, LoRa gateways are formed
The networking equipment information of the connection of networking therewith is got out of mesh information, networking equipment information is added to the white list of itself
Interior, equipment search gateway is simultaneously automatically added to LoRa gateways, realizes in networking, and LoRa gateways need not be in powering on and shape of networking
State, networking equipment can be carried out networking without in powering on and looking for net state, easy to operate, time saving and energy saving, reduce engineering
Installation and the complexity safeguarded.
In other embodiment, after the time of one end, LoRa gateways can be obtained to the LoRa nodes being connected into the network
Networking equipment needs the master data reported, if acquisition is unsuccessful, at least can three times be mended and obtain action.If benefit can not obtain
Work(, missing information part protocol failure code 0xFF are simultaneously stored;After at regular intervals, LoRa gateways can be by the data got
Offer main website, if the data of each LoRa nodes have renewal to report again, if that is, some LoRa node datas do not update, then on
Report has a data of the LoRa nodes of renewal, LoRa gateways not active reporting data, it is necessary to which main website says the word can just report;LoRa nets
Pass has self-checking function, and discovering device has logout and alarm extremely.
Offline networking and communication are carried out using LoRa technologies, super low-power consumption awakening technology is supported, it is remote to be particularly suitable for user
Process control (such as switchs light, motor, valve) whenever and wherever possible using mobile phone.Based on CAD and address filtering technology, energy saving height
Effect;Broadcast and unicast is supported to wake up, it is flexibly convenient, based on LoRa TM spread-spectrum modulation techniques, high-gain 470MHz antennas are installed,
Gateway is spacious up to 5km with terminal effective communication distance.Particularly suitable for outdoor communication scene, as remote meter reading, supervision of the cities,
Industry Control etc..Based on ultralow Consumption, terminal sleeping power consumption as low as 1.4uA, is particularly suitable for battery powered product.Typical case
Meter reading application in, 2 section No. 5 batteries can effective work for 10 years.Based on TDMA (time division multiplexing) communication technology, own in network
Terminal communication collisionless, maximally utilizes bandwidth, without back off time, improves network entirety QoS, reduces network overall power,
After carrying out easy configuration to LoRa gateways, with networking equipment automatic network-building, powering on to work, and need any network operation, greatly
The use complexity and maintenance cost of user is reduced, embeds various wireless communication robustness technology, intelligence solves:Communication collision,
Small-signal, external interference, suspension are after the challenge such as company, there is provided an Internet of things system runed steadily in the long term.
The equipment scanned the two-dimensional code used in information can be mobile phone, and tablet computer or computer etc., information is transmitted to server
It can be transmitted using telecommunication data networks, WiFi wireless networks or other networks.
The above-mentioned offline network-building method based on LoRa, by scanning the two dimension carried on LoRa nodes and LoRa gateways
Code information, obtains corresponding LoRa nodal informations and LoRa gateway informations, and LoRa nodes and LoRa nets are carried out by server
The configuration of pass, forms wide area network, LoRa gateway informations and networking equipment information is stored in server, enter network process offline
In, networking equipment information is added in the white list of itself, equipment search gateway is simultaneously automatically added to LoRa gateways, realizes in group
During net, gateway need not in powering on and networking state, equipment can be carried out networking without in powering on and looking for net state,
It is easy to operate, it is time saving and energy saving, reduce project installation and the complexity of maintenance.
As shown in fig. 6, the present embodiment additionally provides the offline group network system based on LoRa, it includes nodal information and obtains list
Member 1, gateway information acquiring unit 2, dispensing unit 3, apparatus information acquiring unit 4 and networking unit 5.
Nodal information acquiring unit 1, for obtaining LoRa nodal informations, and is transmitted to server.
Gateway information acquiring unit 2, for obtaining LoRa gateway informations, and is transmitted to server.
Dispensing unit 3, for according to LoRa nodal informations and LoRa gateway informations, carrying out LoRa gateway configurations, establishing
The connection of LoRa gateways and LoRa nodes, forms wide area network.
Apparatus information acquiring unit 4, for obtaining networking equipment information, is stored in server.
Networking unit 5, for carrying out networking according to networking equipment information and LoRa gateway informations.
For LoRa technologies, the low-power consumption wide area networking of things technology for being easy to build and disposing, is modulated using linear frequency modulation spread spectrum
Technology, that is, maintain as the identical low power consumption characteristic of FSK (frequency shift keying) modulation, and significantly increases communication distance, at the same time
Improve network efficiency and eliminate interference, i.e., the terminal of different frequency expansion sequences is sent also not at the same time even if using identical frequency
It can interfere with each other, therefore the concentrator/gateway researched and developed on this basis can receive and process the data of multiple nodes parallel, greatly
Extend power system capacity greatly, mainly in global free frequency range operation (i.e. unauthorized frequency range), including 433,868,915MHz etc..
LoRa networks are mainly made of terminal (built-in LoRa modules), gateway (or base station), server and Yun Si parts, using data
Can transmitted in both directions, transmission range is up to 15 to 20 kilometers.
In certain embodiments, above-mentioned nodal information acquiring unit 1 includes the first scan module 11 and the first parsing
Module 12.
First scan module 11, for scanning the 2 D code information of LoRa nodes carrying.
First parsing module 12, LoRa nodal informations are obtained for parsing 2 D code information, and are transmitted to server.
There is the Quick Response Code of a carrying self information on each LoRa node, by scanning the two-dimensional code information, from two
LoRa nodal informations are parsed in dimension code information, which is transmitted to service by wireless or wired mode
Device.
Quick Response Code is also known as two-dimensional bar code, it is according to certain rules in plane (two-dimensional directional with certain specific geometric figure
On) the chequered with black and white graphic recording data symbol information of distribution, dexterously using forming in computer on coding
" 0 ", the concept of " 1 " bit stream of portion's logical foundations, word is represented using several with the corresponding geometrical body of binary system
Numerical information, by image input device or photoelectric scanning device automatically identifying and reading to realize that information automatically processes, therefore, in two dimension
Code is implanted into LoRa nodal informations, is obtained easy to scan.
In certain embodiments, above-mentioned gateway information acquiring unit 2 includes the second barcode scanning module 21 and the second parsing
Module 22.
Second barcode scanning module 21, for scanning the 2 D code information of LoRa gateways carrying.
Second parsing module 22, LoRa gateway informations are obtained for parsing 2 D code information, and are transmitted to server.
Take the mode that barcode scanning networks to be attached, can realize LoRa nodes, LoRa gateways and server easy
Efficiently connect.
The mode of the Quick Response Code for the LoRa gateways for scanning the LoRa nodes specified respectively and specifying is taken to carry out LoRa nodes
It is connected with LoRa gateways, can realizes that the LoRa nodes specified carry out the transmitted in both directions of data with the LoRa gateways specified.
For above-mentioned dispensing unit 3, specifically to LoRa gateways with LoRa nodes are single matches, if occurring
When several LoRa gateways and a LoRa node, such as two LoRa gateways in the present embodiment and a LoRa node, then sequentially
LoRa gateways and LoRa nodes are configured, the wide area network of structure low-power consumption is realized and communicates;If the same time receives
During to multiple LoRa gateways and multiple LoRa nodes, the ID of the equipment scanned the two-dimensional code can be traced back to which LoRa judged
Gateway is configured with which LoRa node, under default situations, the corresponding LoRa gateways of Quick Response Code of same scanning device scanning and
LoRa nodes are preferentially configured, it is of course also possible to set the scanning device and which scanning device before scanning the two-dimensional code
The gateway or node of scanning are configured;More close to the actual conditions of user, and improve the accuracy rate of configuration.
In configuration process, the configuration such as port is attached when connecting LoRa nodes particularly directed to LoRa gateways.
During establishing connection, adopted particular by the general out excuse gathered data such as RS232 and/or 485 serial ports
Collect the data of LoRa nodes, be then based on LoRa communication standards and the data collected are transferred to LoRa gateways;And LoRa gateways
Then it is responsible for the data that the multiple LoRa node-node transmissions of collection come, and passes through the roads such as RS232 and/or 485 serial ports, Ethernet or GPRS
Footpath networking equipment communication related to network layer.
In addition, transmitted for a long time without valid data between above-mentioned LoRa nodes and LoRa gateways, LoRa nodes and LoRa
Gateway especially imports heartbeat mechanism, to ensure that node will not cause to cause server or control centre not to sentence because of long-time lost contact
Disconnected node whether failure, avoid because the situation of being abnormal can not be fed back in time.This mechanism is embodied in:LoRa nodes can be upper
Electricity enters transparent transmission mode one heartbeat of transmission and gives LoRa gateways after five seconds, can send heartbeat again every 300 seconds or so afterwards.
For above-mentioned apparatus information acquiring unit 4, in some embodiments it is possible to will by way of scanning the two-dimensional code
Networking equipment information is stored in server, and specific networking equipment information includes device id, type and can receive logical
The information such as letter mode.
Further, in certain embodiments, above-mentioned networking unit 5 includes acquisition request module 51, creation module
52nd, data obtaining module 53, white list add module 54 and search module 55.
Acquisition request module 51, for obtaining networking request.
Creation module 52, for creating the network environment of LoRa gateways and networking equipment, forms mesh information.
Data obtaining module 53, in the case of being powered in LoRa gateways and networking equipment, LoRa gateways are believed from networking
The networking equipment information being connected with LoRa gateway networkings is obtained in breath.
White list adds module 54, for networking equipment information to be added in the white list of LoRa gateways.
Search module 55, searches for LoRa gateways for networking equipment and is automatically added to LoRa gateways.
By the way that LoRa gateway informations and networking equipment information are stored in server, asked according to networking, create gateway
With the network environment of equipment network, mesh information, in the case where LoRa gateways and networking equipment all power on, LoRa gateways are formed
The networking equipment information of the connection of networking therewith is got out of mesh information, networking equipment information is added to the white list of itself
Interior, equipment search gateway is simultaneously automatically added to LoRa gateways, realizes in networking, and LoRa gateways need not be in powering on and shape of networking
State, networking equipment can be carried out networking without in powering on and looking for net state, easy to operate, time saving and energy saving, reduce engineering
Installation and the complexity safeguarded.
Offline networking and communication are carried out using LoRa technologies, super low-power consumption awakening technology is supported, it is remote to be particularly suitable for user
Process control (such as switchs light, motor, valve) whenever and wherever possible using mobile phone.Based on CAD and address filtering technology, energy saving height
Effect;Broadcast and unicast is supported to wake up, it is flexibly convenient, based on LoRa TM spread-spectrum modulation techniques, high-gain 470MHz antennas are installed,
Gateway is spacious up to 5km with terminal effective communication distance.Particularly suitable for outdoor communication scene, as remote meter reading, supervision of the cities,
Industry Control etc..Based on ultralow Consumption, terminal sleeping power consumption as low as 1.4uA, is particularly suitable for battery powered product.Typical case
Meter reading application in, 2 section No. 5 batteries can effective work for 10 years.Based on TDMA (time division multiplexing) communication technology, own in network
Terminal communication collisionless, maximally utilizes bandwidth, without back off time, improves network entirety QoS, reduces network overall power,
After carrying out easy configuration to LoRa gateways, with networking equipment automatic network-building, powering on to work, and need any network operation, greatly
The use complexity and maintenance cost of user is reduced, embeds various wireless communication robustness technology, intelligence solves:Communication collision,
Small-signal, external interference, suspension are after the challenge such as company, there is provided an Internet of things system runed steadily in the long term.
Nodal information acquiring unit 1 and gateway information acquiring unit 2 can be mobile phone, and tablet computer or computer etc., believe
Breath, which is transmitted to server, to be transmitted using telecommunication data networks, WiFi wireless networks or other networks.
The above-mentioned offline group network system based on LoRa, by scanning the two dimension carried on LoRa nodes and LoRa gateways
Code information, obtains corresponding LoRa nodal informations and LoRa gateway informations, and LoRa nodes and LoRa nets are carried out by server
The configuration of pass, forms wide area network, LoRa gateway informations and networking equipment information is stored in server, enter network process offline
In, networking equipment information is added in the white list of itself, equipment search gateway is simultaneously automatically added to LoRa gateways, realizes in group
During net, gateway need not in powering on and networking state, equipment can be carried out networking without in powering on and looking for net state,
It is easy to operate, it is time saving and energy saving, reduce project installation and the complexity of maintenance.
The above-mentioned technology contents that the present invention is only further illustrated with embodiment, in order to which reader is easier to understand, but not
Represent embodiments of the present invention and be only limitted to this, any technology done according to the present invention extends or recreation, by the present invention's
Protection.Protection scope of the present invention is subject to claims.
Claims (8)
1. the offline network-building method based on LoRa, it is characterised in that the described method includes:
LoRa nodal informations are obtained, and are transmitted to server;
LoRa gateway informations are obtained, and are transmitted to server;
According to LoRa nodal informations and LoRa gateway informations, LoRa gateway configurations are carried out, establish LoRa gateways and LoRa nodes
Connection, forms wide area network;
Networking equipment information is obtained, is stored in server;
Networking is carried out according to networking equipment information and LoRa gateway informations.
2. the offline network-building method according to claim 1 based on LoRa, it is characterised in that the acquisition LoRa nodes letter
The step of ceasing, and being transmitted to server, including step in detail below:
Scan the 2 D code information that LoRa nodes carry;
Parse 2 D code information and obtain LoRa nodal informations, and be transmitted to server.
3. the offline network-building method according to claim 2 based on LoRa, it is characterised in that LoRa gateway informations are obtained,
And the step of being transmitted to server, including step in detail below:
Scan the 2 D code information that LoRa gateways carry;
Parse 2 D code information and obtain LoRa gateway informations, and be transmitted to server.
4. the offline network-building method according to claim 3 based on LoRa, it is characterised in that according to networking equipment information with
And LoRa gateway informations carry out the step of networking, including step in detail below:
Obtain networking request;
The network environment of LoRa gateways and networking equipment is created, forms mesh information;
In the case where LoRa gateways and networking equipment power on, LoRa gateways are obtained out of mesh information to be connected with the networking of LoRa gateways
The networking equipment information connect;
Networking equipment information is added in the white list of LoRa gateways;
Networking equipment searches for LoRa gateways and is automatically added to LoRa gateways.
5. the offline group network system based on LoRa, it is characterised in that obtained including nodal information acquiring unit, gateway information single
Member, dispensing unit, apparatus information acquiring unit and networking unit;
The nodal information acquiring unit, for obtaining LoRa nodal informations, and is transmitted to server;
The gateway information acquiring unit, for obtaining LoRa gateway informations, and is transmitted to server;
The dispensing unit, for according to LoRa nodal informations and LoRa gateway informations, carrying out LoRa gateway configurations, establishing LoRa
The connection of gateway and LoRa nodes, forms wide area network;
The apparatus information acquiring unit, for obtaining networking equipment information, is stored in server;
The networking unit, for carrying out networking according to networking equipment information and LoRa gateway informations.
6. the offline group network system according to claim 5 based on LoRa, it is characterised in that the nodal information obtains single
Member includes the first scan module and the first parsing module;
First scan module, for scanning the 2 D code information of LoRa nodes carrying;
First parsing module, LoRa nodal informations are obtained for parsing 2 D code information, and are transmitted to server.
7. the offline group network system according to claim 6 based on LoRa, it is characterised in that the gateway information obtains single
Member includes the second barcode scanning module and the second parsing module;
The second barcode scanning module, for scanning the 2 D code information of LoRa gateways carrying;
Second parsing module, LoRa gateway informations are obtained for parsing 2 D code information, and are transmitted to server.
8. the offline group network system based on LoRa according to claim, it is characterised in that the networking unit includes please
Acquisition module, creation module, data obtaining module, white list is asked to add module and search module;
The acquisition request module, for obtaining networking request;
The creation module, for creating the network environment of LoRa gateways and networking equipment, forms mesh information;
Described information acquisition module, in the case where LoRa gateways and networking equipment power on, LoRa gateways are from mesh information
It is interior to obtain the networking equipment information being connected with LoRa gateway networkings;
The white list adds module, for networking equipment information to be added in the white list of LoRa gateways;
Described search module, searches for LoRa gateways for networking equipment and is automatically added to LoRa gateways.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711276472.XA CN108040339A (en) | 2017-12-06 | 2017-12-06 | Offline network-building method and its system based on LoRa |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711276472.XA CN108040339A (en) | 2017-12-06 | 2017-12-06 | Offline network-building method and its system based on LoRa |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108040339A true CN108040339A (en) | 2018-05-15 |
Family
ID=62095474
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711276472.XA Pending CN108040339A (en) | 2017-12-06 | 2017-12-06 | Offline network-building method and its system based on LoRa |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108040339A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108810936A (en) * | 2018-05-24 | 2018-11-13 | 新华三技术有限公司 | A kind of configuration method and device of LoRa terminals |
CN109511154A (en) * | 2018-12-28 | 2019-03-22 | 东信和平科技股份有限公司 | A kind of terminal access method, device and medium |
CN110166353A (en) * | 2019-05-31 | 2019-08-23 | 四川璧虹众杰科技有限公司 | LoRaWan gateway system and LoRaWan gateway |
CN111031505A (en) * | 2019-12-13 | 2020-04-17 | 上海联数物联网有限公司 | LoRa gateway based edge information piggyback transmission method and device |
CN112184144A (en) * | 2020-09-08 | 2021-01-05 | 杭州涂鸦信息技术有限公司 | Intelligent equipment delivery method and system in network-free environment |
CN112751664A (en) * | 2019-10-29 | 2021-05-04 | 中国移动通信有限公司研究院 | Internet of things networking method and device and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105246096A (en) * | 2015-09-08 | 2016-01-13 | 三维通信股份有限公司 | Quick access method for low-power consumption Internet of things equipment |
CN106209613A (en) * | 2016-08-31 | 2016-12-07 | 上海宏力达信息技术股份有限公司 | A kind of gateway based on LoRa wireless technology |
CN106455134A (en) * | 2016-10-17 | 2017-02-22 | 国动物联网技术(上海)有限公司 | LoRaWAN ad-hoc network equipment |
CN106936929A (en) * | 2017-04-21 | 2017-07-07 | 深圳华制智能制造技术有限公司 | A kind of things-internet gateway equipment, internet of things equipment group network system and its network-building method |
CN107370632A (en) * | 2017-09-07 | 2017-11-21 | 深圳云博智联科技有限公司 | Offline network-building method and its system based on ZIGBEE |
US20170339559A1 (en) * | 2016-05-23 | 2017-11-23 | International Business Machines Corporation | Over-the-air personalization of network devices |
-
2017
- 2017-12-06 CN CN201711276472.XA patent/CN108040339A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105246096A (en) * | 2015-09-08 | 2016-01-13 | 三维通信股份有限公司 | Quick access method for low-power consumption Internet of things equipment |
US20170339559A1 (en) * | 2016-05-23 | 2017-11-23 | International Business Machines Corporation | Over-the-air personalization of network devices |
CN106209613A (en) * | 2016-08-31 | 2016-12-07 | 上海宏力达信息技术股份有限公司 | A kind of gateway based on LoRa wireless technology |
CN106455134A (en) * | 2016-10-17 | 2017-02-22 | 国动物联网技术(上海)有限公司 | LoRaWAN ad-hoc network equipment |
CN106936929A (en) * | 2017-04-21 | 2017-07-07 | 深圳华制智能制造技术有限公司 | A kind of things-internet gateway equipment, internet of things equipment group network system and its network-building method |
CN107370632A (en) * | 2017-09-07 | 2017-11-21 | 深圳云博智联科技有限公司 | Offline network-building method and its system based on ZIGBEE |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108810936A (en) * | 2018-05-24 | 2018-11-13 | 新华三技术有限公司 | A kind of configuration method and device of LoRa terminals |
CN109511154A (en) * | 2018-12-28 | 2019-03-22 | 东信和平科技股份有限公司 | A kind of terminal access method, device and medium |
CN109511154B (en) * | 2018-12-28 | 2021-04-20 | 东信和平科技股份有限公司 | Terminal access method, device and medium |
CN110166353A (en) * | 2019-05-31 | 2019-08-23 | 四川璧虹众杰科技有限公司 | LoRaWan gateway system and LoRaWan gateway |
CN112751664A (en) * | 2019-10-29 | 2021-05-04 | 中国移动通信有限公司研究院 | Internet of things networking method and device and computer readable storage medium |
CN112751664B (en) * | 2019-10-29 | 2023-11-28 | 中国移动通信有限公司研究院 | Internet of things networking method, internet of things networking device and computer readable storage medium |
CN111031505A (en) * | 2019-12-13 | 2020-04-17 | 上海联数物联网有限公司 | LoRa gateway based edge information piggyback transmission method and device |
CN112184144A (en) * | 2020-09-08 | 2021-01-05 | 杭州涂鸦信息技术有限公司 | Intelligent equipment delivery method and system in network-free environment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108040339A (en) | Offline network-building method and its system based on LoRa | |
CN104243595B (en) | A kind of power information acquisition system and its method based on IPv6 | |
CN103092179B (en) | Greenhouse intelligent monitoring system based on internet of things | |
CN102215263B (en) | Data transmission and remote control method for self-organizing wireless internet of things (IoT) system | |
CN102457877B (en) | In conjunction with network, the method processing WSN terminal processes data and WSN gateway | |
CN106355873B (en) | Internet of things intelligent traffic gateway and system thereof | |
CN107092243B (en) | Power supply control intelligent safety monitoring system based on Internet of things | |
CN108696408A (en) | Barcode scanning method of network entry based on LoRa and its system | |
CN109640282A (en) | A kind of sensor signal wireless transmitting system and method | |
CN202190413U (en) | Bar code acquisition system based on wireless sensor network | |
CN109151774A (en) | A kind of Internet of Things means of communication based on NB-IoT technology | |
CN205427671U (en) | Environmental information automatic monitoring device based on thing networking | |
CN102196465B (en) | The management method of a kind of wireless sensor network and system | |
CN109537236A (en) | A kind of control method for washing machine and system | |
CN112654022A (en) | Electric power system thing networking data acquisition system based on loRa communication | |
CN102892115B (en) | The method and initiator's gateway that are communicated in WSN between gateway, target side gateway | |
CN110881181A (en) | Method, device and system for improving communication applied to new-generation information technology M2M Internet of things by adopting indexes | |
CN110535942A (en) | A kind of Internet of Things network communication method | |
CN103148890A (en) | Sensing monitoring system based on optical fibers and wireless transmission | |
CN110599752A (en) | Water level acquisition terminal and water level acquisition system | |
CN109920232A (en) | Electric power multi service access terminal and management system based on NB-loT | |
CN108111989A (en) | Utilization system based on cellular narrowband Internet of Things in medium pipeline monitoring | |
CN107564258A (en) | A kind of data transmission system and method based on wireless communication technology | |
CN209168389U (en) | A kind of sensor signal wireless transmission instrument | |
CN204203986U (en) | A kind of Wireless scanning system based on ZigBee technology |
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 |
Application publication date: 20180515 |
|
RJ01 | Rejection of invention patent application after publication |