CN111935755B - LoRa wireless relay communication system, method and device - Google Patents
LoRa wireless relay communication system, method and device Download PDFInfo
- Publication number
- CN111935755B CN111935755B CN202010922748.2A CN202010922748A CN111935755B CN 111935755 B CN111935755 B CN 111935755B CN 202010922748 A CN202010922748 A CN 202010922748A CN 111935755 B CN111935755 B CN 111935755B
- Authority
- CN
- China
- Prior art keywords
- lora wireless
- command
- host
- lora
- frequency band
- 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.)
- Active
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 197
- 238000004891 communication Methods 0.000 title claims abstract description 70
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000012545 processing Methods 0.000 claims abstract description 21
- 238000004590 computer program Methods 0.000 claims description 10
- 230000000977 initiatory effect Effects 0.000 claims description 6
- 238000005286 illumination Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000002238 attenuated effect Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000009423 ventilation 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/22—Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/10—Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
-
- 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
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to the technical field of communication, and discloses a LoRa wireless relay communication system, a method and a device for realizing a long-distance communication function of LoRa wireless equipment. The invention is based on the LoRa wireless repeater to execute the following steps: parsing the classifications of host commands originating from the LoRa wireless coordinator; then, corresponding processing is carried out according to different types of host commands, and if the host commands are the first type of host commands, corresponding self operation is executed; if the command is a command without return information in the second type of host commands, the host commands are switched back to the local frequency band after the frequency band of the next subnet is relayed to the next subnet; if the command is the command for reading the information, the host commands the frequency band of the next subnet to be relayed to the next subnet, the corresponding command for returning the information is waited to be returned and then switched back to the local frequency band, and then the command for returning the information is relayed to the previous network by the local frequency band.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a LoRa wireless relay communication system, method, and apparatus.
Background
LoRa is a long-distance wireless transmission technology based on spread spectrum technology, and has the characteristics of long transmission distance, low power consumption, long battery life, multiple nodes, strong anti-interference capability and the like. The data acquisition, remote communication and data forwarding of the equipment can be realized.
Along with the rapid development of expressways and the acceleration of town construction in China, tunnel illumination and town road illumination are rapidly increased, and field devices such as illumination lamps, sensing devices and ventilation devices are gradually increased. In order to improve the construction convenience of tunnel illumination and town road illumination systems, achieve smooth control of tunnel brightness to meet the requirements of safe driving of tunnels, and improve the convenience of tunnel illumination maintenance, equipment based on LoRa wireless technology is applied to the field of lamp control of tunnel illumination and town road illumination. Meanwhile, in order to overcome the contradiction between long distance and low power consumption of a wireless sensor with simple function and single communication mode, the existing equipment based on the LoRa wireless technology is applied to the field of information acquisition of field equipment for tunnel illumination and town road illumination.
The existing LoRa wireless single-lamp controller and the LoRa wireless collector realize the LoRa wireless control and collection technology within a certain long distance, but due to the limitation that the LoRa wireless signal can weaken along with the increase of the distance and the LoRa wireless signal can attenuate when meeting a tunnel curve, global control and collection cannot be realized through one LoRa wireless coordinator in tunnels and roads with the distance exceeding 2 km.
Disclosure of Invention
The invention aims to disclose a LoRa wireless relay communication system, a method and a device, so as to realize the long-distance communication function of LoRa wireless equipment.
To achieve the above object, the present invention discloses a LoRa wireless relay communication system, comprising: the system comprises a system host, a LoRa wireless coordinator and a first type of LoRa intelligent terminal in the direct communication range of the LoRa wireless coordinator, wherein the LoRa wireless coordinator is used for initiating LoRa wireless communication according to a host command; the system further comprises:
at least one subnetwork based on LoRa relay, wherein the at least one subnetwork is provided with at least one second-type LoRa intelligent terminal outside the direct communication range of the LoRa wireless coordinator, and the second-type LoRa intelligent terminals between adjacent subnetworks adopt different communication frequency bands to reduce crosstalk;
at least one LoRa wireless repeater exists in the upper level network corresponding to any second type LoRa intelligent terminal; the communication frequency band of each LoRa wireless repeater can be switched between different frequency bands of the sub-network of the current level and the sub-network of the lower level;
each of the LoRa wireless repeaters includes a memory, a processor, and a computer program stored on the memory and executable on the processor, which when executed, performs the steps of:
step S1, analyzing the classification of host commands from the LoRa wireless coordinator, wherein the classes of the host commands comprise a first class host command used for executing self operation non-forwarding processing and a second class host command required to be forwarded to an adjacent subnet, and the second class host command comprises a return information free instruction, an information reading instruction and a return information instruction;
step S2, corresponding processing is carried out according to different categories of the host commands, and the method specifically comprises the following steps:
if the command is a first type host command, executing corresponding self operation;
if the command is a command without return information in the second type of host commands, the host commands are switched back to the local frequency band after the frequency band of the next subnet is relayed to the next subnet; if the command is a command for reading information, after the host commands the frequency band of the next subnet to be relayed to the next subnet, the corresponding command for returning information is waited to return and then switched back to the local frequency band, and then the command for returning information is relayed to the previous network by the local frequency band; and the like until the instruction of the return information is finally transmitted to the system host through the LoRa wireless coordinator.
In order to achieve the above purpose, the invention also discloses a loRa wireless relay communication method, comprising the following steps:
s0, deploying a LoRa wireless relay communication system;
the LoRa wireless relay communication system comprises: the system comprises a system host, a LoRa wireless coordinator and a first type of LoRa intelligent terminal in the direct communication range of the LoRa wireless coordinator, wherein the LoRa wireless coordinator is used for initiating LoRa wireless communication according to a host command; at least one subnetwork based on LoRa relay, wherein the at least one subnetwork is provided with at least one second-type LoRa intelligent terminal outside the direct communication range of the LoRa wireless coordinator, and the second-type LoRa intelligent terminals between adjacent subnetworks adopt different communication frequency bands to reduce crosstalk; at least one LoRa wireless repeater exists in the upper level network corresponding to any second type LoRa intelligent terminal; the communication frequency band of each LoRa wireless repeater can be switched between different frequency bands of the sub-network of the current level and the sub-network of the lower level;
the method further comprises each of the LoRa wireless repeaters performing the steps of:
step S1, analyzing the classification of host commands from the LoRa wireless coordinator, wherein the classes of the host commands comprise a first class host command used for executing self operation non-forwarding processing and a second class host command required to be forwarded to an adjacent subnet, and the second class host command comprises a return information free instruction, an information reading instruction and a return information instruction;
step S2, corresponding processing is carried out according to different categories of the host commands, and the method specifically comprises the following steps:
if the command is a first type host command, executing corresponding self operation;
if the command is a command without return information in the second type of host commands, the host commands are switched back to the local frequency band after the frequency band of the next subnet is relayed to the next subnet; if the command is a command for reading information, after the host commands the frequency band of the next subnet to be relayed to the next subnet, the corresponding command for returning information is waited to return and then switched back to the local frequency band, and then the command for returning information is relayed to the previous network by the local frequency band; and the like until the instruction of the return information is finally transmitted to the system host through the LoRa wireless coordinator.
To achieve the above object, the present invention also discloses a LoRa wireless repeater, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
step S1, analyzing the classification of host commands from the LoRa wireless coordinator, wherein the classes of the host commands comprise a first class host command used for executing self operation non-forwarding processing and a second class host command required to be forwarded to an adjacent subnet, and the second class host command comprises a return information free instruction, an information reading instruction and a return information instruction;
step S2, corresponding processing is carried out according to different categories of the host commands, and the method specifically comprises the following steps:
if the command is a first type host command, executing corresponding self operation;
if the command is a command without return information in the second type of host commands, the host commands are switched back to the local frequency band after the frequency band of the next subnet is relayed to the next subnet; if the command is the command for reading the information, the host commands the frequency band of the next subnet to be relayed to the next subnet, the corresponding command for returning the information is waited to be returned and then switched back to the local frequency band, and then the command for returning the information is relayed to the previous network by the local frequency band.
The invention has the following beneficial effects:
1. based on the existing LoRa wireless transmission technology, the invention develops the wireless repeater capable of forwarding the LoRa host command, realizes the sub-network cascade connection, simultaneously realizes the long-distance communication function of the LoRa wireless equipment, and is convenient for the system host to realize centralized control and unified scheduling on the LoRa intelligent terminals in each sub-network. In the cascading direction, each level of subnetwork between the LoRa wireless coordinator and the last level of subnetwork is provided with at least one LoRa wireless repeater, and particularly when the installation distance exceeds the communication distance of the relevant LoRa wireless equipment and the wireless signal of the LoRa wireless equipment at the tunnel curve is attenuated, the LoRa wireless repeater can forward the wireless host command, so that the LoRa wireless communication is more stable and reliable.
2. The second type LoRa intelligent terminal between adjacent subnets adopts different communication frequency bands, and the communication frequency band of each LoRa wireless repeater can be switched between different frequency bands of the sub-net of the present stage and the sub-net of the lower stage, thereby reducing crosstalk between the adjacent subnets and ensuring the directivity of command relay transmission.
3. The LoRa wireless repeater can perform differentiated intelligent processing according to different host commands, can relay related instructions to each node of the next subnet at one time by a broadcasting mechanism, and flexibly, efficiently and accurately execute the operation intention of a system host on the switching of a communication frequency band.
The invention will be described in further detail with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention. In the drawings:
FIG. 1 is a schematic diagram of a highway tunnel lighting energy-saving control system based on LoRa wireless technology, which is disclosed in the embodiment of the invention;
fig. 2 is a block diagram of the basic hardware structure of a LoRa wireless repeater according to an embodiment of the present invention;
fig. 3 is a flowchart of a data processing method of the LoRa wireless repeater disclosed in the embodiment of the invention.
Detailed Description
Embodiments of the invention are described in detail below with reference to the attached drawings, but the invention can be implemented in a number of different ways, which are defined and covered by the claims.
Example 1
The embodiment discloses a LoRa wireless relay communication system, including: the system comprises a system host, a LoRa wireless coordinator and a first type of LoRa intelligent terminal in the direct communication range of the LoRa wireless coordinator, wherein the LoRa wireless coordinator is used for initiating LoRa wireless communication according to a host command.
The system of the embodiment also comprises: and the second type of LoRa intelligent terminals between adjacent subnets adopt different communication frequency bands to reduce crosstalk.
In this embodiment, at least one LoRa wireless repeater exists in the upper level network corresponding to any second class LoRa intelligent terminal; the communication frequency band of each LoRa wireless repeater can be switched between different frequency bands of the current level sub-network and the subordinate sub-network. Correspondingly, each LoRa wireless repeater comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the following steps when executing the computer program:
step S1, analyzing the classification of host commands from the LoRa wireless coordinator, wherein the classes of the host commands comprise a first class of host commands used for executing self operation non-forwarding processing and a second class of host commands required to be forwarded to an adjacent subnet, and the second class of host commands comprise no return information instruction, information reading instruction and information return instruction.
In this step, the first type of host command includes, but is not limited to: a host command for reading self-failure, a host command for updating or resetting network configuration information such as an ID, or a host command for restarting a device, etc.
In this step, no return information instructions include, but are not limited to: setting a fault judgment threshold value, adjusting light, controlling a relay switch operation instruction or controlling a switching value output instruction of a LoRa wireless data acquisition device and the like for an LED lamp connected with the LoRa wireless single lamp controller or the LoRa wireless LED control device.
Correspondingly, the instruction for reading information in the step can also be used for reading the fault state information of the lamp, reading the information of 485 equipment connected with the LoRa wireless data acquisition device, reading the input state input current value, the input voltage value and the like of the switching value input state of the LoRa wireless data acquisition device.
And S2, carrying out corresponding processing according to different categories of the host commands.
The method specifically comprises the following steps: if the command is a first type host command, executing corresponding self operation; if the command is a command without return information in the second type of host commands, the host commands are switched back to the local frequency band after the frequency band of the next subnet is relayed to the next subnet; if the command is a command for reading information, after the host commands the frequency band of the next subnet to be relayed to the next subnet, the corresponding command for returning information is waited to return and then switched back to the local frequency band, and then the command for returning information is relayed to the previous network by the local frequency band; and the like until the instruction of the return information is finally transmitted to the system host through the LoRa wireless coordinator.
In this step, preferably, it may further include: setting a related timer, and switching the LoRa wireless repeater back to the local frequency band of the local subnet after the receiving time of the returned information is overtime.
Preferably, referring to fig. 1, in the present embodiment, along the relay direction of the host command, the LoRa wireless coordinator and each odd-level sub-network (i.e. each level of sub-network labeled as network 1 in the figure) use the same odd-level frequency band, and each even-level sub-network (i.e. each level of sub-network labeled as network 9 in the figure) uses the same even-level frequency band. Therefore, the crosstalk between the subnets can be effectively reduced through the two LoRa wireless frequency bands, resources are saved, and the utilization rate of the resources is improved.
As shown in fig. 1, alternatively, the system host of the embodiment may use a programmable logic controller PLC or an industrial control computer, where a bus interface module built in the host is connected to a bus conversion interface module built in the LoRa wireless coordinator through a 485 bus or a CAN bus or a PROFIBUS, and the host and the LoRa wireless coordinator implement bus serial communication, and the host initiates communication.
As shown in fig. 1, optionally, the first type of intelligent terminal of this embodiment includes any one or any combination of the following: a LoRa wireless single lamp controller, a LoRa wireless data acquisition device, a LoRa wireless LED control device and the like. Similarly, the second type of intelligent terminal of the present embodiment also includes any one or any combination of the following: a LoRa wireless single lamp controller, a LoRa wireless data acquisition device, a LoRa wireless LED control device and the like. Noteworthy are: the first class and the second class of the LoRa intelligent terminals in this embodiment are only divided by the distance between the LoRa intelligent terminals and the LoRa wireless coordinator, and the two classes of the LoRa intelligent terminals are not represented as different functional devices.
The LoRa wireless repeater of this embodiment, as shown in fig. 2, includes a power module (specifically including two stages, the first stage is used for converting 220V mains input into 12V power, and then the 12V power is reduced to 3.3V working voltage of each functional unit) connected with the processor (i.e. the singlechip in the illustration), a watchdog circuit and a LoRa wireless module, and the power module is further connected with the watchdog circuit and the LoRa wireless module. The watchdog circuit is a timer circuit, generally has an input called a watchdog feeding, and outputs a signal to the watchdog feeding end at intervals when the processor works normally, clears the WDT, and if the watchdog is not fed for more than a specified time (generally when the program runs off), the WDT timing exceeds, a reset signal is given to the processor to reset the processor. The dead halt of the processor, namely the dead circulation of the program or the running of the program, is prevented by the function of the watchdog.
Example 2
Corresponding to embodiment 1, this embodiment discloses a LoRa wireless relay communication method, as shown in fig. 1, including:
and step S0, deploying the LoRa wireless relay communication system.
In this step, the deployed LoRa wireless relay communication system includes: the system comprises a system host, a LoRa wireless coordinator and a first type of LoRa intelligent terminal in the direct communication range of the LoRa wireless coordinator, wherein the LoRa wireless coordinator is used for initiating LoRa wireless communication according to a host command; at least one subnetwork based on LoRa relay, wherein the at least one subnetwork is provided with at least one second-type LoRa intelligent terminal outside the direct communication range of the LoRa wireless coordinator, and the second-type LoRa intelligent terminals between adjacent subnetworks adopt different communication frequency bands to reduce crosstalk; at least one LoRa wireless repeater exists in the upper level network corresponding to any second type LoRa intelligent terminal; the communication frequency band of each LoRa wireless repeater can be switched between different frequency bands of the current level sub-network and the subordinate sub-network.
The method of the embodiment further comprises the following steps of each LoRa wireless repeater:
step S1, analyzing the classification of host commands from the LoRa wireless coordinator, wherein the classes of the host commands comprise a first class of host commands used for executing self operation non-forwarding processing and a second class of host commands required to be forwarded to an adjacent subnet, and the second class of host commands comprise no return information instruction, information reading instruction and information return instruction.
And S2, carrying out corresponding processing according to different categories of the host commands.
As in embodiment 1, this step specifically includes: if the command is a first type host command, executing corresponding self operation; if the command is a command without return information in the second type of host commands, the host commands are switched back to the local frequency band after the frequency band of the next subnet is relayed to the next subnet; if the command is a command for reading information, after the host commands the frequency band of the next subnet to be relayed to the next subnet, the corresponding command for returning information is waited to return and then switched back to the local frequency band, and then the command for returning information is relayed to the previous network by the local frequency band; and the like until the instruction of the return information is finally transmitted to the system host through the LoRa wireless coordinator.
Preferably, in this embodiment, along the relay direction of the host command, the LoRa wireless coordinator and each odd-level subnet use the same odd-level frequency band, and each even-level subnet uses the same even-level frequency band.
Example 3
Corresponding to the two embodiments, the present embodiment discloses a LoRa wireless repeater, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the following steps when executing the computer program:
step S1, analyzing the classification of host commands from the LoRa wireless coordinator, wherein the classes of the host commands comprise a first class of host commands used for executing self operation non-forwarding processing and a second class of host commands required to be forwarded to an adjacent subnet, and the second class of host commands comprise no return information instruction, information reading instruction and information return instruction.
And S2, carrying out corresponding processing according to different categories of the host commands. The method specifically comprises the following steps:
if the command is a first type host command, executing corresponding self operation, and if the command is a second type host command without return information instruction, relaying the host command to the next subnet by the frequency band of the next subnet and switching back to the local frequency band; if the command is the command for reading the information, the host commands the frequency band of the next subnet to be relayed to the next subnet, the corresponding command for returning the information is waited to be returned and then switched back to the local frequency band, and then the command for returning the information is relayed to the previous network by the local frequency band.
Typically, the LoRa wireless repeater of this embodiment further includes: the power module is connected with the processor, the watchdog circuit and the LoRa wireless module, and the power module is also connected with the watchdog circuit and the LoRa wireless module.
In summary, the LoRa wireless relay communication system, method and device disclosed in each embodiment of the present invention have at least the following advantages:
1. the embodiment of the invention develops the wireless repeater capable of forwarding the LoRa host command on the basis of the existing LoRa wireless transmission technology, realizes the sub-network cascade connection, simultaneously realizes the long-distance communication function of the LoRa wireless equipment, and is convenient for the system host to realize centralized control and unified scheduling on the LoRa intelligent terminals in each sub-network. In the cascading direction, each level of subnetwork between the LoRa wireless coordinator and the last level of subnetwork is provided with at least one LoRa wireless repeater, and particularly when the installation distance exceeds the communication distance of the relevant LoRa wireless equipment and the wireless signal of the LoRa wireless equipment at the tunnel curve is attenuated, the LoRa wireless repeater can forward the wireless host command, so that the LoRa wireless communication is more stable and reliable.
2. According to the embodiment of the invention, the second type LoRa intelligent terminal between adjacent subnets adopts different communication frequency bands, and the communication frequency band of each LoRa wireless repeater can be switched between different frequency bands of the current level subnets and the lower level subnets, so that crosstalk between the adjacent subnets can be reduced, and the directivity of command relay transmission is ensured.
3. The LoRa wireless repeater provided by the embodiment of the invention can perform differentiated intelligent processing according to different host commands, and can relay related instructions to each node of the next subnet at one time by a broadcasting mechanism, so that the operation intention of a system host is flexibly, efficiently and accurately executed on the switching of a communication frequency band.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (9)
1. A LoRa wireless relay communication system, comprising: the system comprises a system host, a LoRa wireless coordinator and a first type of LoRa intelligent terminal in the direct communication range of the LoRa wireless coordinator, wherein the LoRa wireless coordinator is used for initiating LoRa wireless communication according to a host command; characterized by further comprising:
at least one subnetwork based on LoRa relay, wherein the at least one subnetwork is provided with at least one second-type LoRa intelligent terminal outside the direct communication range of the LoRa wireless coordinator, and the second-type LoRa intelligent terminals between adjacent subnetworks adopt different communication frequency bands to reduce crosstalk;
at least one LoRa wireless repeater exists in the upper level network corresponding to any second type LoRa intelligent terminal; the communication frequency band of each LoRa wireless repeater can be switched between different frequency bands of the sub-network of the current level and the sub-network of the lower level;
each of the LoRa wireless repeaters includes a memory, a processor, and a computer program stored on the memory and executable on the processor, which when executed, performs the steps of:
step S1, analyzing the classification of host commands from the LoRa wireless coordinator, wherein the classes of the host commands comprise a first class host command used for executing self operation non-forwarding processing and a second class host command required to be forwarded to an adjacent subnet, and the second class host command comprises a return information free instruction, an information reading instruction and a return information instruction;
step S2, corresponding processing is carried out according to different categories of the host commands, and the method specifically comprises the following steps:
if the command is a first type host command, executing corresponding self operation;
if the command is a command without return information in the second type of host commands, the host commands are switched back to the local frequency band after the frequency band of the next subnet is relayed to the next subnet; if the command is a command for reading information, after the host commands the frequency band of the next subnet to be relayed to the next subnet, the corresponding command for returning information is waited to return and then switched back to the local frequency band, and then the command for returning information is relayed to the previous network by the local frequency band; and the like until the instruction of the return information is finally transmitted to the system host through the LoRa wireless coordinator.
2. The system of claim 1, wherein the LoRa wireless coordinator is configured to use the same odd frequency band as each odd subnet and the same even frequency band as each even subnet along the relay direction commanded by the host.
3. The LoRa wireless relay communication system according to claim 1 or 2, wherein said first type of intelligent terminal comprises any one or any combination of the following:
LoRa wireless single lamp controller;
LoRa wireless data collector;
LoRa wireless LED controlling means.
4. The LoRa wireless relay communication system according to claim 1 or 2, wherein said second class of intelligent terminals comprises any one or any combination of the following:
LoRa wireless single lamp controller;
LoRa wireless data collector;
LoRa wireless LED controlling means.
5. The LoRa wireless relay communication system according to claim 1 or 2, wherein the LoRa wireless relay comprises: the power module is connected with the processor, the watchdog circuit and the LoRa wireless module, and the power module is also connected with the watchdog circuit and the LoRa wireless module.
6. A method of LoRa wireless relay communication, comprising:
s0, deploying a LoRa wireless relay communication system;
the LoRa wireless relay communication system comprises: the system comprises a system host, a LoRa wireless coordinator and a first type of LoRa intelligent terminal in the direct communication range of the LoRa wireless coordinator, wherein the LoRa wireless coordinator is used for initiating LoRa wireless communication according to a host command; at least one subnetwork based on LoRa relay, wherein the at least one subnetwork is provided with at least one second-type LoRa intelligent terminal outside the direct communication range of the LoRa wireless coordinator, and the second-type LoRa intelligent terminals between adjacent subnetworks adopt different communication frequency bands to reduce crosstalk; at least one LoRa wireless repeater exists in the upper level network corresponding to any second type LoRa intelligent terminal; the communication frequency band of each LoRa wireless repeater can be switched between different frequency bands of the sub-network of the current level and the sub-network of the lower level;
the method further comprises each of the LoRa wireless repeaters performing the steps of:
step S1, analyzing the classification of host commands from the LoRa wireless coordinator, wherein the classes of the host commands comprise a first class host command used for executing self operation non-forwarding processing and a second class host command required to be forwarded to an adjacent subnet, and the second class host command comprises a return information free instruction, an information reading instruction and a return information instruction;
step S2, corresponding processing is carried out according to different categories of the host commands, and the method specifically comprises the following steps:
if the command is a first type host command, executing corresponding self operation;
if the command is a command without return information in the second type of host commands, the host commands are switched back to the local frequency band after the frequency band of the next subnet is relayed to the next subnet; if the command is a command for reading information, after the host commands the frequency band of the next subnet to be relayed to the next subnet, the corresponding command for returning information is waited to return and then switched back to the local frequency band, and then the command for returning information is relayed to the previous network by the local frequency band; and the like until the instruction of the return information is finally transmitted to the system host through the LoRa wireless coordinator.
7. The method of claim 6, wherein the LoRa wireless coordinator and each odd-level subnet use the same odd-level frequency band and each even-level subnet use the same even-level frequency band along the relay direction commanded by the host.
8. A LoRa wireless repeater comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor performs the following steps when the computer program is executed:
step S1, analyzing the classification of host commands from the LoRa wireless coordinator, wherein the classes of the host commands comprise a first class host command used for executing self operation non-forwarding processing and a second class host command required to be forwarded to an adjacent subnet, and the second class host command comprises a return information free instruction, an information reading instruction and a return information instruction;
step S2, corresponding processing is carried out according to different categories of the host commands, and the method specifically comprises the following steps:
if the command is a first type host command, executing corresponding self operation;
if the command is a command without return information in the second type of host commands, the host commands are switched back to the local frequency band after the frequency band of the next subnet is relayed to the next subnet; if the command is the command for reading the information, the host commands the frequency band of the next subnet to be relayed to the next subnet, the corresponding command for returning the information is waited to be returned and then switched back to the local frequency band, and then the command for returning the information is relayed to the previous network by the local frequency band.
9. The LoRa wireless repeater of claim 8, further comprising: the power module is connected with the processor, the watchdog circuit and the LoRa wireless module, and the power module is also connected with the watchdog circuit and the LoRa wireless module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010922748.2A CN111935755B (en) | 2020-09-04 | 2020-09-04 | LoRa wireless relay communication system, method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010922748.2A CN111935755B (en) | 2020-09-04 | 2020-09-04 | LoRa wireless relay communication system, method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111935755A CN111935755A (en) | 2020-11-13 |
CN111935755B true CN111935755B (en) | 2024-01-26 |
Family
ID=73309808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010922748.2A Active CN111935755B (en) | 2020-09-04 | 2020-09-04 | LoRa wireless relay communication system, method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111935755B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112839417A (en) * | 2021-01-28 | 2021-05-25 | 中津沛科建设股份有限公司 | Urban street lamp lighting control system |
CN117202371B (en) * | 2023-07-26 | 2024-06-21 | 广东百德朗科技有限公司 | LoRa multi-node big data transmission processing method and device and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011091701A (en) * | 2009-10-23 | 2011-05-06 | Panasonic Electric Works Co Ltd | Relay system for facility control |
CN108184232A (en) * | 2018-01-23 | 2018-06-19 | 珠海派诺科技股份有限公司 | LORA wireless communications relay method, apparatus and system |
CN109618292A (en) * | 2018-11-05 | 2019-04-12 | 珠海派诺科技股份有限公司 | LORA wireless communications method, system, trunking method and equipment |
KR20190129599A (en) * | 2018-05-11 | 2019-11-20 | 한국전자통신연구원 | LoRa RELAY AND METHOD FOR PERFORMING COMMUNICATION USING THE SAME |
-
2020
- 2020-09-04 CN CN202010922748.2A patent/CN111935755B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011091701A (en) * | 2009-10-23 | 2011-05-06 | Panasonic Electric Works Co Ltd | Relay system for facility control |
CN108184232A (en) * | 2018-01-23 | 2018-06-19 | 珠海派诺科技股份有限公司 | LORA wireless communications relay method, apparatus and system |
KR20190129599A (en) * | 2018-05-11 | 2019-11-20 | 한국전자통신연구원 | LoRa RELAY AND METHOD FOR PERFORMING COMMUNICATION USING THE SAME |
CN109618292A (en) * | 2018-11-05 | 2019-04-12 | 珠海派诺科技股份有限公司 | LORA wireless communications method, system, trunking method and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN111935755A (en) | 2020-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111935755B (en) | LoRa wireless relay communication system, method and device | |
CN112040598B (en) | Tunnel illumination energy-saving control method | |
CN102858060A (en) | Light emitting diode (LED) lamp and LED illumination network system | |
CN107743047B (en) | Wireless directional relay communication method and system | |
CN103152929A (en) | LED (Light Emitting Diode) lamp and Internet of Things system | |
CN112638017A (en) | Illumination monitoring method and device | |
KR101110111B1 (en) | Method for mesh networking of street lamp and apparatus thereof | |
CN101958742B (en) | Relay forwarding control system and wireless control device for high current assembly | |
CN209982798U (en) | Intelligent lighting system and Internet of things system | |
CN103874303A (en) | Intelligent lighting remote monitoring and management system | |
CN204437893U (en) | A kind of LED bay light with camera function | |
Ożadowicz et al. | The street lighting control system application and case study | |
CN115514790B (en) | Internet of things vehicle-mounted dimming system and method for removing gateway in tunnel | |
CN106413027B (en) | Wireless networking method for primary relay | |
CN210075665U (en) | Road lamp controller | |
CN102740533B (en) | Road lighting intelligent control system and control method | |
CN211531400U (en) | Intelligent single-lamp bridging networking system | |
CN108243547A (en) | One kind is forwarded by signal and realizes super large range wireless lighting control system | |
CN211090047U (en) | Wisdom street lamp and cloud accuse platform system based on 5G | |
CN114007240A (en) | Wireless network fault monitoring system and monitoring method | |
CN106594584A (en) | Tunnel lamp based on visible light communication technology and communication control method thereof | |
CN221010343U (en) | Lighting driving control equipment supporting wireless and DALI double control | |
CN204614147U (en) | Simple type fire group network system | |
CN111880457A (en) | Wireless single fire control method, device and system | |
CN117279148A (en) | Lighting driving control equipment supporting wireless and DALI double control |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |