CN115314473A - Communication method based on LoRa gateway, related equipment and monitoring system - Google Patents

Communication method based on LoRa gateway, related equipment and monitoring system Download PDF

Info

Publication number
CN115314473A
CN115314473A CN202210708495.8A CN202210708495A CN115314473A CN 115314473 A CN115314473 A CN 115314473A CN 202210708495 A CN202210708495 A CN 202210708495A CN 115314473 A CN115314473 A CN 115314473A
Authority
CN
China
Prior art keywords
message
channel
lora gateway
queue
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210708495.8A
Other languages
Chinese (zh)
Inventor
米江
张华勇
申永利
肖翔嵘
贾润枝
周岐文
刘冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANDONG HIGHWAY ENGINEERING TECHNOLOGY RESEARCH CENTER CO LTD
Tianjin Haidel Technology Co ltd
China National Chemical Communications Construction Group Coltd
Original Assignee
SHANDONG HIGHWAY ENGINEERING TECHNOLOGY RESEARCH CENTER CO LTD
Tianjin Haidel Technology Co ltd
China National Chemical Communications Construction Group Coltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANDONG HIGHWAY ENGINEERING TECHNOLOGY RESEARCH CENTER CO LTD, Tianjin Haidel Technology Co ltd, China National Chemical Communications Construction Group Coltd filed Critical SHANDONG HIGHWAY ENGINEERING TECHNOLOGY RESEARCH CENTER CO LTD
Priority to CN202210708495.8A priority Critical patent/CN115314473A/en
Publication of CN115314473A publication Critical patent/CN115314473A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1033Signalling gateways
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a communication method, related equipment and monitoring system based on an LoRa gateway, wherein the method comprises the following steps: receiving a message transmitted through a first channel and/or a second channel; and processing the messages according to a preset sequence, wherein the communication protocols adopted by the first channel and the second channel are different. The method provides different channels for message transmission, and the LoRa gateway can distinguish messages sent from different channels according to different communication protocols.

Description

Communication method based on LoRa gateway, related equipment and monitoring system
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communication method, related devices, and a monitoring system based on an LoRa gateway.
Background
LoRa is a low-power consumption local area network wireless standard developed by semtech company, and the name of LoRa represents Long-distance Radio (Long Range Radio), and the wireless Radio has the greatest characteristic that the wireless Radio is longer in transmission distance than other wireless modes under the same power consumption condition, realizes the unification of low power consumption and Long distance, and is enlarged by 3-5 times compared with the traditional wireless Radio frequency communication distance under the same power consumption condition. However, due to the limitation of transmission distance, the communication rate of LoRa is lower than that of other communication methods, the maximum reliable rate is only 37.5Kbps, and in practical use, when a large amount of messages are transmitted through LoRa, channel blockage may be caused, and transmission and processing of some important messages may be delayed.
Disclosure of Invention
In view of this, an object of the present application is to provide a communication method based on an LoRa gateway, a related device, and a monitoring system.
Based on the above purpose, the present application provides a communication method based on an LoRa gateway, including: receiving a message transmitted through a first channel and/or a second channel; and processing the messages according to a preset sequence, wherein the communication protocols adopted by the first channel and the second channel are different.
Optionally, the communication protocol of the first channel is a standard protocol, and the communication protocol of the second channel is a private protocol.
Optionally, before the processing the message according to the preset order, the method further includes: marking the message sent by the first channel as a first message, and marking the message sent by the second channel as a second message; and sequentially placing the first messages in a pre-established first queue according to a receiving sequence, and sequentially placing the second messages in a pre-established second queue according to the receiving sequence.
Optionally, the processing the message according to the preset sequence includes: responding to the second message in the second queue, processing the second message in the second queue, and deleting the processed second message from the second queue; and responding to the second message not existing in the second queue, processing the first message in the first queue, and deleting the processed first message from the first queue.
Optionally, the first channel is a common channel, the second channel is an alarm channel, the first message is a common message, and the second message is an alarm message.
Based on the same invention concept, the application also provides a monitoring system based on the LoRa gateway, which comprises a monitoring mechanism and the LoRa gateway; the LoRa gateway is used for executing any one communication method based on the LoRa gateway; the monitoring mechanism is used for monitoring the power utilization condition of the power utilization equipment; and responding to the normal work of the electric equipment, sending the message of the normal work of the electric equipment to the LoRa gateway through the first channel, responding to the abnormal electricity utilization condition of the electric equipment, and sending the message of the abnormal work of the electric equipment to the LoRa gateway through the second channel.
Optionally, the system further comprises an actuator; the execution mechanism is used for receiving analysis information sent by the LoRa gateway and controlling the electric equipment to execute corresponding operation according to the analysis information, wherein the analysis information is obtained by processing a message sent by the second channel through the LoRa gateway.
Based on the same inventive concept, the application also provides a communication device based on the LoRa gateway, which comprises: a receiving module, configured to receive a message sent through a first channel and/or a second channel; and the processing module is used for processing the messages according to a preset sequence, wherein the communication protocols adopted by the first channel and the second channel are different.
Based on the same inventive concept, the present application further provides an electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements any one of the methods when executing the program.
Based on the same inventive concept, the present application also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are configured to cause a computer to execute any one of the methods.
The application provides a communication method, related equipment and a monitoring system based on an LoRa gateway, wherein the method comprises the following steps: receiving a message transmitted through a first channel and/or a second channel; and processing the messages according to a preset sequence, wherein the communication protocols adopted by the first channel and the second channel are different. The method provides different channels for message transmission, and the LoRa gateway can distinguish messages sent from different channels according to different communication protocols.
Drawings
In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for the embodiments or related technologies in the following description are briefly introduced, and it is obvious that the drawings in the following description are only the embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a communication method based on an LoRa gateway according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a process of processing messages according to a preset sequence in the embodiment of the present application;
fig. 3 is a schematic diagram of a monitoring system based on an LoRa gateway according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a communication device based on an LoRa gateway according to an embodiment of the present application;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to specific embodiments and the accompanying drawings.
It should be noted that technical terms or scientific terms used in the embodiments of the present application should have a general meaning as understood by those having ordinary skill in the art to which the present application belongs, unless otherwise defined. The use of "first," "second," and similar terms in the embodiments of the present application is not intended to indicate any order, quantity, or importance, but rather is used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
In view of this, an embodiment of the present application provides a communication method based on an LoRa gateway, as shown in fig. 1, the method includes:
step S101, receiving a message sent through a first channel and/or a second channel. In specific implementation, the LoRa gateway establishes communication connection with the first channel and the second channel at the same time.
Step S102, the messages are processed according to a preset sequence, wherein the communication protocols adopted by the first channel and the second channel are different. In specific implementation, in order to receive messages transmitted by using different communication protocols, different receivers may be set at the LoRa gateway, and all the receivers together form the LoRa gateway; the preset sequence is determined according to the actual requirement of the channel, for example, if the message sent through the first channel needs to be processed first, the preset sequence is that the first channel precedes the second channel, and vice versa.
The method provided by the application provides different channels for message transmission, and the LoRa gateway can distinguish messages sent from different channels according to different communication protocols.
In a specific implementation, the number of the first channels and the second channels is not limited, and may be set according to actual requirements, for example, when there are multiple message sending terminals, a corresponding number of channels may be set to receive messages.
In some embodiments, the communication protocol of the first channel is a standard protocol and the communication protocol of the second channel is a private protocol. In a more specific embodiment, the standard protocol is LoRaWAN.
LoRaWAN is a set of communication protocol and system architecture based on LoRa long-distance communication technology matched design, usually in star topology layout, and the gateway is connected to the network server through standard IP. The protocol and service of the upper layer of the LoRa private protocol are defined by self, the transmission rate and the transmission distance have matched self-adaptive algorithms, and the LoRaWAN can be distinguished, so that the LoRa gateway can distinguish messages sent from different channels, the same frequency interference can be effectively avoided, and the transmission safety and the system capacity are improved.
In some embodiments, before the step S102, the method further comprises:
step S1011, mark the message sent by the first channel as a first message, and mark the message sent by the second channel as a second message. Because the first channel and the second channel adopt different communication protocols, the gateway can distinguish different channels according to IP, upper layer protocols, services and the like of different communication protocols, thereby endowing different marks to messages sent through different channels.
Step S1012, sequentially placing the first messages in a first queue created in advance according to the receiving order, and sequentially placing the second messages in a second queue created in advance according to the receiving order. In specific implementation, the first queue and the second queue are created in a memory of the gateway in advance.
The above steps S1011 and S1012 can implement different processing for different transmission channels and different reception time messages by classifying and sorting the messages transmitted by different channels, thereby implementing targeted processing for different messages.
In some embodiments, as shown in fig. 2, the step S102 includes:
in response to the second message being present in the second queue, performing step S201: and processing the second message in the second queue, and deleting the processed second message from the second queue. In specific implementation, if the gateway receives a second message sent by a second queue while processing a first message in the first queue, the gateway suspends the processing of the current first message, preferentially processes the second message, and when the processing of the second message is completed, if no other second message exists in the second queue, resumes the processing of the previously suspended first message; and if other second messages exist in the second queue, continuing to process the second messages.
In response to the second message not existing in the second queue, performing step S202: and processing the first message in the first queue, and deleting the processed first message from the first queue.
The above steps S201 and S202 can implement that the second message is always prior to the first message, and a first-come-first-come principle is applied to the messages transmitted through the same channel, and in practical applications, the important message can be set as the second message, so as to implement timely transmission and timely processing of the important message.
In a specific embodiment, in order to further ensure that the second message is processed preferentially, in step S101, when there is a message transmitted from the first channel and the second channel simultaneously, the message sent through the second channel is received preferentially.
In some embodiments, the first channel is a normal channel, the second channel is an alarm channel, the first message is a normal message, and the second message is an alarm message.
In practical application, the method provided by the embodiment can use the alarm channel/message as the second channel/message, can realize timely transmission and timely processing of the alarm message, and avoids property loss caused by the fact that the alarm message cannot be processed in time. In a specific embodiment, the second channel may also be a warning channel or an emergency channel, and the second message may also be a warning message or an emergency message.
It should be noted that the method of the embodiment of the present application may be executed by a single device, such as a computer or a server. The method of the embodiment can also be applied to a distributed scene and completed by the mutual cooperation of a plurality of devices. In this distributed scenario, one device of the multiple devices may only perform one or more steps of the method of the embodiment of the present application, and the multiple devices interact with each other to complete the method.
It should be noted that the foregoing describes some embodiments of the present application. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Based on the same inventive concept, corresponding to the method of any of the above embodiments, the present application further provides a monitoring system based on an LoRa gateway, as shown in fig. 3, the system includes a monitoring mechanism and an LoRa gateway;
the LoRa gateway is used for executing any one communication method based on the LoRa gateway;
the monitoring mechanism is used for monitoring the power utilization condition of the electric equipment. In specific implementation, the monitoring mechanism supports both a standard protocol and a proprietary protocol, the electric equipment can be a motor, an electric lamp and other equipment, and the monitoring mechanism monitors the electricity utilization condition of the equipment by acquiring current or voltage data of electrified equipment.
The monitoring mechanism is further configured to: and responding to the normal work of the electric equipment, sending a message that the electric equipment works normally to the LoRa gateway through the first channel, and responding to the abnormal situation of the electric equipment, sending a message that the electric equipment works abnormally to the LoRa gateway through the second channel. The response function and the message sending function of the monitoring mechanism are implemented by algorithms carried by the monitoring mechanism, and those skilled in the art can select different monitoring algorithms according to actual situations, which are not described in detail herein.
By applying the system provided by the embodiment of the application, the monitoring of the electricity utilization condition of the electric equipment can be realized, and by applying the method provided by the embodiment of the application, the processing of the message with abnormal electricity can be prior to the message with normal work, so that the timely early warning of the abnormal electricity utilization condition of the electric equipment is realized. In addition, in the message transmission system in the prior art, usually, a plurality of message sending terminals (i.e., monitoring mechanisms) and one gateway are configured, in the system provided in the embodiment of the present application, since the distinguishing and marking work of the messages is performed by the LoRa gateway, that is, no further processing is required to be performed on the messages of different types at the message sending terminals, and the messages of different types are only sent through different channels, so that the technical complexity of the message sending terminals is reduced, technical improvement points of the entire system are mainly concentrated on the LoRa gateway, and the improvement costs of the plurality of message sending terminals and the entire system are saved.
In some embodiments, as shown in fig. 3, the system further comprises an actuator;
the execution mechanism is used for receiving analysis information sent by the LoRa gateway and controlling the electric equipment to execute corresponding operation according to the analysis information, wherein the analysis information is obtained by processing a message sent by the second channel through the LoRa gateway. During specific implementation, when the electricity utilization condition of the electric equipment is abnormal, the monitoring mechanism sends an alarm message through the second channel, the LoRa gateway preferentially processes and analyzes the alarm message, and sends the analysis message to the execution mechanism, and the execution mechanism can only support one communication protocol. The executing mechanism controls the electrical equipment to execute corresponding operations, such as shutdown, power off and the like, according to the analysis message through a self-contained algorithm, and a person skilled in the art can select different algorithms according to actual conditions, which is not described in detail herein.
In a specific embodiment, as shown in fig. 3, the system further includes a data collection mechanism, where the data collection mechanism is configured to receive normal operation information of the electric device, and the normal operation information is obtained by processing, by the LoRa gateway, a message sent through the first channel. When the electric equipment works normally, the monitoring mechanism sends a normal working message through the first channel, the LoRa gateway processes and analyzes the normal working message to obtain normal working information, and sends the normal working information to the data collecting mechanism, and the data collecting mechanism can only support one communication protocol.
The system of the embodiment is used to implement the corresponding communication method based on the LoRa gateway in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to any of the above embodiments, the present application further provides a communication apparatus based on an LoRa gateway, as shown in fig. 4, including:
a receiving module 10, configured to receive a message sent through a first channel and/or a second channel;
a processing module 20, configured to process the messages according to a preset sequence, where communication protocols adopted by the first channel and the second channel are different.
The device provided by the application provides different channels for message transmission, and the LoRa gateway can distinguish messages sent from different channels according to different communication protocols.
In some embodiments, the communication protocol of the first channel is a standard protocol and the communication protocol of the second channel is a private protocol.
In some embodiments, the apparatus further comprises:
a marking module, configured to mark a message sent by the first channel as a first message, and mark a message sent by the second channel as a second message;
and the classification module is used for sequentially placing the first messages in a pre-established first queue according to a receiving sequence and sequentially placing the second messages in a pre-established second queue according to the receiving sequence.
In some embodiments, as shown in fig. 4, the processing module 20 includes:
a first processing unit 30, configured to, in response to that the second message exists in the second queue, process the second message in the second queue, and delete the processed second message from the second queue;
a second processing unit 40, configured to, in response to that the second message does not exist in the second queue, process the first message in the first queue, and delete the processed first message from the first queue.
In some embodiments, the first channel is a normal channel, the second channel is an alarm channel, the first message is a normal message, and the second message is an alarm message.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, the functionality of the various modules may be implemented in the same one or more software and/or hardware implementations as the present application.
The apparatus in the foregoing embodiment is used to implement the corresponding communication method based on the LoRa gateway in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to the method of any embodiment described above, the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the program, the communication method based on the LoRa gateway described in any embodiment is implemented.
Fig. 5 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to this embodiment, where the device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via a bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static Memory device, a dynamic Memory device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solutions provided by the embodiments of the present specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called by the processor 1010 for execution.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, bluetooth and the like).
Bus 1050 includes a path that transfers information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
The electronic device of the foregoing embodiment is used to implement the corresponding communication method based on the LoRa gateway in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application further provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the LoRa gateway-based communication method according to any of the above-mentioned embodiments.
Computer-readable media, including both permanent and non-permanent, removable and non-removable media, for storing information may be implemented in any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
The computer instructions stored in the storage medium of the foregoing embodiment are used to enable the computer to execute the communication method based on the LoRa gateway according to any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which are not described herein again.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the context of the present application, technical features in the above embodiments or in different embodiments may also be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application described above, which are not provided in detail for the sake of brevity.
In addition, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown in the provided figures for simplicity of illustration and discussion, and so as not to obscure the embodiments of the application. Furthermore, devices may be shown in block diagram form in order to avoid obscuring embodiments of the application, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the embodiments of the application are to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the application, it should be apparent to one skilled in the art that the embodiments of the application can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present application has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures, such as Dynamic RAM (DRAM), may use the discussed embodiments.
The present embodiments are intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalents, improvements, and the like that may be made without departing from the spirit or scope of the embodiments of the present application are intended to be included within the scope of the claims.

Claims (10)

1. A communication method based on an LoRa gateway is characterized by comprising the following steps:
receiving a message transmitted through a first channel and/or a second channel;
and processing the messages according to a preset sequence, wherein the communication protocols adopted by the first channel and the second channel are different.
2. The LoRa gateway-based communication method of claim 1, wherein the communication protocol of the first channel is a standard protocol, and the communication protocol of the second channel is a private protocol.
3. The LoRa gateway-based communication method according to claim 1, wherein before the processing the message according to the preset sequence, the method further comprises:
marking the message sent by the first channel as a first message, and marking the message sent by the second channel as a second message;
and sequentially placing the first messages in a pre-established first queue according to a receiving sequence, and sequentially placing the second messages in a pre-established second queue according to the receiving sequence.
4. The LoRa gateway based communication method according to claim 3, wherein the processing the messages according to the preset sequence comprises:
responding to the second message in the second queue, processing the second message in the second queue, and deleting the processed second message from the second queue;
and responding to the second message not existing in the second queue, processing the first message in the first queue, and deleting the processed first message from the first queue.
5. The LoRa gateway based communication method of claim 3, wherein the first channel is a normal channel, the second channel is an alarm channel, the first message is a normal message, and the second message is an alarm message.
6. A monitoring system based on an LoRa gateway is characterized by comprising a monitoring mechanism and the LoRa gateway;
the LoRa gateway is used for executing the method of any one of the claims 1 to 5;
the monitoring mechanism is used for monitoring the power utilization condition of the power utilization equipment; and
and responding to the normal work of the electric equipment, sending a message that the electric equipment works normally to the LoRa gateway through the first channel, and responding to the abnormal situation of the electric equipment, sending a message that the electric equipment works abnormally to the LoRa gateway through the second channel.
7. The LoRa gateway-based monitoring system of claim 6, further comprising an actuator;
the execution mechanism is used for receiving analysis information sent by the LoRa gateway and controlling the electric equipment to execute corresponding operation according to the analysis information, wherein the analysis information is obtained by processing a message sent by the second channel through the LoRa gateway.
8. A communication device based on an LoRa gateway, comprising:
a receiving module, configured to receive a message sent through a first channel and/or a second channel;
and the processing module is used for processing the messages according to a preset sequence, wherein the communication protocols adopted by the first channel and the second channel are different.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 5 when executing the program.
10. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 5.
CN202210708495.8A 2022-06-21 2022-06-21 Communication method based on LoRa gateway, related equipment and monitoring system Pending CN115314473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210708495.8A CN115314473A (en) 2022-06-21 2022-06-21 Communication method based on LoRa gateway, related equipment and monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210708495.8A CN115314473A (en) 2022-06-21 2022-06-21 Communication method based on LoRa gateway, related equipment and monitoring system

Publications (1)

Publication Number Publication Date
CN115314473A true CN115314473A (en) 2022-11-08

Family

ID=83854635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210708495.8A Pending CN115314473A (en) 2022-06-21 2022-06-21 Communication method based on LoRa gateway, related equipment and monitoring system

Country Status (1)

Country Link
CN (1) CN115314473A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194620A (en) * 2018-08-06 2019-01-11 深圳市艾特智能科技有限公司 Multichannel communication method, intelligent gateway and readable storage medium storing program for executing
CN109286578A (en) * 2018-09-27 2019-01-29 上海联寓智能科技有限公司 Message treatment method, device, gateway and storage medium
CN208522907U (en) * 2018-07-23 2019-02-19 深圳柚石物联技术有限公司 A kind of double agreement LoRa gateways
CN112312436A (en) * 2020-11-09 2021-02-02 蚌埠依爱消防电子有限责任公司 Method and device for improving receiving sensitivity of LoRa private protocol gateway
CN112714440A (en) * 2019-10-25 2021-04-27 深圳长城开发科技股份有限公司 Communication method, system, gateway and storage medium compatible with LoRaWAN and self-research protocol
CN113973274A (en) * 2021-10-18 2022-01-25 南京拓恒物联科技有限公司 Management method compatible with LoRaWAN standard communication and private LoRa communication simultaneously
CN113992733A (en) * 2021-10-26 2022-01-28 云知声(上海)智能科技有限公司 Method and device for accessing edge gateway to Internet of things equipment, electronic equipment and medium
CN114124881A (en) * 2021-11-30 2022-03-01 中国建设银行股份有限公司 Message pushing method based on priority and related device
CN114363269A (en) * 2021-09-12 2022-04-15 苏州浪潮智能科技有限公司 Message transmission method, system, equipment and medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN208522907U (en) * 2018-07-23 2019-02-19 深圳柚石物联技术有限公司 A kind of double agreement LoRa gateways
CN109194620A (en) * 2018-08-06 2019-01-11 深圳市艾特智能科技有限公司 Multichannel communication method, intelligent gateway and readable storage medium storing program for executing
CN109286578A (en) * 2018-09-27 2019-01-29 上海联寓智能科技有限公司 Message treatment method, device, gateway and storage medium
CN112714440A (en) * 2019-10-25 2021-04-27 深圳长城开发科技股份有限公司 Communication method, system, gateway and storage medium compatible with LoRaWAN and self-research protocol
CN112312436A (en) * 2020-11-09 2021-02-02 蚌埠依爱消防电子有限责任公司 Method and device for improving receiving sensitivity of LoRa private protocol gateway
CN114363269A (en) * 2021-09-12 2022-04-15 苏州浪潮智能科技有限公司 Message transmission method, system, equipment and medium
CN113973274A (en) * 2021-10-18 2022-01-25 南京拓恒物联科技有限公司 Management method compatible with LoRaWAN standard communication and private LoRa communication simultaneously
CN113992733A (en) * 2021-10-26 2022-01-28 云知声(上海)智能科技有限公司 Method and device for accessing edge gateway to Internet of things equipment, electronic equipment and medium
CN114124881A (en) * 2021-11-30 2022-03-01 中国建设银行股份有限公司 Message pushing method based on priority and related device

Similar Documents

Publication Publication Date Title
CN111818136B (en) Data processing method, device, electronic equipment and computer readable medium
CN110839084B (en) Session management method, device, equipment and medium
CN108337127B (en) Application performance monitoring method, system, terminal and computer readable storage medium
US20160294717A1 (en) Speech Transmission Method And Apparatus And Speech Service System
WO2018214871A1 (en) Radio frequency interference processing method and electronic device
US20170168473A1 (en) Signalling of specification information on an industrial device
KR20200019860A (en) Data Instruction Methods and Related Products
CN110768903A (en) Method, device, terminal and storage medium for optimizing network connection
CN110662191B (en) Communication mode selection method and device and electronic equipment
CN111585817B (en) Power-saving mode switching method and device
CN107465538B (en) Internet of things terminal migration method and gateway
CN109819026B (en) Method and device for transmitting information
CN104809049A (en) Terminal
CN109995782B (en) Information processing method, device, system and computer storage medium
CN115314473A (en) Communication method based on LoRa gateway, related equipment and monitoring system
CN108289165B (en) Method and device for realizing camera control based on mobile phone and terminal equipment
CN105743747A (en) Method and computing device for facilitating and establishing network connectivity
CN115021831A (en) Weak network testing method, device, system, equipment and storage medium
CN107273082A (en) Display methods, device, terminal and the storage medium of image
US9736250B2 (en) Non-network controller communication
CN105279175B (en) Data transmission method and device
CN110636180A (en) Data transmission method, device, equipment and storage medium
CN114978907B (en) Inverter communication expansion method and device, electronic equipment and storage medium
CN115243394B (en) Communication method, device, equipment and medium based on network slice
CN116527486B (en) Device independent function self-adaptive management method, device and medium

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