Internet of Things electronic fence system based on LoRa module
By using LoRa module in electronic fence system for long-distance wireless data transmission, the problem of installing and forming networking in complex environments of traditional electronic fence systems is solved, and longer transmission distances, lower power consumption and better Adaptability.
Patent Information
- Application Number
- CN202411714533.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-02-18
AI Technical Summary
Traditional electronic fence systems are difficult to install and cabling in special terrain or complex built environments, with short transmission distance, high power consumption and complex networking.
The Internet of Things electronic fence system based on the LoRa module is adopted, and the electronic fence body terminal, communication relay gateway and service platform is used to perform long-distance wireless data transmission using the LoRa communication module, simplifying networking and reducing power consumption.
It improves transmission distance, reduces power consumption and networking difficulty, enhances the adaptability of electronic fences in complex environments, and improves the timeliness of prevention and early warnings.
Smart Images

Figure CN119485152A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic fences, and in particular to an Internet of Things electronic fence system based on a LoRa module. Background Art
[0002] With the rapid development of Internet of Things technology, the demand for regional security monitoring is growing. Existing technologies usually use electronic fences to perform regional security monitoring.
[0003] Electronic fence is an advanced perimeter anti-theft alarm system, mainly composed of electronic fence host, front-end accessories and back-end control system. It is usually installed outdoors, arranged along the original fence (such as brick wall, concrete wall or iron fence), and provides security protection through a pulse signal generator.
[0004] However, traditional electronic fence systems have many limitations. For example, in some special terrains (such as mountains or forests) or in complex built-up building environments, the installation and wiring of electronic fences will face many difficulties, and there are problems such as short transmission distance, high power consumption and complex networking. Summary of the invention
[0005] The present invention provides an Internet of Things electronic fence system based on a LoRa module, which constructs the electronic fence system through wireless transmission, has simple networking, increases transmission distance, and reduces power consumption.
[0006] According to a first aspect of the present invention, an Internet of Things electronic fence system based on a LoRa module is provided, the system comprising: an electronic fence pole terminal, an electronic fence communication relay gateway and an electronic fence service platform, the electronic fence pole terminal comprising an environment detection module and a LoRa communication slave module, the electronic fence communication relay gateway comprising a LoRa communication master module and a WiFi communication module,
[0007] The electronic fence pole terminal is used to collect environmental information of the environment in which the electronic fence pole terminal is located through the environmental detection module, and transmit it from the module to the electronic fence communication relay gateway through the LoRa communication;
[0008] The electronic fence communication relay gateway is used to receive each of the environmental information through the LoRa communication main module to form upload data, and upload it to the electronic fence service platform;
[0009] The electronic fence service platform is used to carry out preventive warning according to the uploaded data and preset warning information.
[0010] Furthermore, the environment detection module includes at least one of the following sensors: an infrared radiation sensor, a temperature sensor, and a humidity sensor;
[0011] The infrared counter-radiation sensor is used to collect target information between the target and the electronic fence pole terminal;
[0012] The temperature sensor is used to determine the ambient temperature information of the environment;
[0013] The humidity sensor is used to determine the ambient humidity information of the environment.
[0014] Furthermore, the electronic fence pole terminal further comprises: a first single chip microcomputer;
[0015] The first single-chip microcomputer is used to receive environmental information from the environmental detection module, process the environmental information and transmit it to the LoRa communication slave module.
[0016] Among them, the LoRa communication slave module and the LoRa communication master module use wireless communication to perform transparent transmission, and the communication configuration parameters are the same.
[0017] The communication configuration parameters include a regional network identifier, a frequency parameter and a channel parameter.
[0018] Furthermore, the electronic fence communication relay gateway further includes: a second single chip microcomputer;
[0019] The second single-chip microcomputer is used to process the environmental information transmitted by the LoRa communication main module, obtain upload data and transmit it to the WiFi communication module.
[0020] Furthermore, the system also includes: a router, and the router is connected to the WiFi communication module via a TCP protocol.
[0021] Wherein, the electronic fence communication relay gateway communicates with the electronic fence service platform through the MQTT protocol.
[0022] Furthermore, the electronic fence service platform is specifically used for:
[0023] Determining whether to issue a cross-border intrusion prevention warning based on the target information in the uploaded data;
[0024] Determine whether to issue a temperature anomaly prevention warning based on the ambient temperature information in the uploaded data and the temperature threshold range in the preset warning information;
[0025] Whether to issue a humidity anomaly prevention warning is determined based on the ambient humidity information in the uploaded data and the humidity threshold range in the preset warning information.
[0026] Optionally, the electronic fence service platform is also used for:
[0027] The uploaded data is processed to form display data and transmitted to an associated terminal for display.
[0028] The technical solution of the embodiment of the present invention provides an Internet of Things electronic fence system based on the LoRa module, the system includes: an electronic fence pole terminal, an electronic fence communication relay gateway and an electronic fence service platform, the electronic fence pole terminal includes an environment detection module and a long-distance radio LoRa communication slave module, the electronic fence communication relay gateway includes a LoRa communication master module and a WiFi communication module, the electronic fence pole terminal is used to collect environmental information of the environment where the electronic fence pole terminal is located through the environment detection module, and transmit it to the electronic fence communication relay gateway through the LoRa communication slave module; the electronic fence communication relay gateway is used to receive various environmental information through the LoRa communication master module to form uploaded data, and upload the uploaded data to the electronic fence service platform through the WiFi communication module; the electronic fence service platform is used to perform preventive warning according to the uploaded data and preset warning information. The use of the LoRa module for long-distance wireless data transmission has the characteristics of low power consumption and high sensitivity, improves the transmission distance, reduces the networking difficulty and wiring difficulty of the electronic fence system, and improves the adaptability of the electronic fence to complex environments in the warning and protection operations. The uploaded data is analyzed by the electronic fence service platform to determine whether to perform preventive warning. It improves the timeliness of problem location and problem discovery, and ensures the safety of the equipment detected by the electronic fence.
[0029] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0031] Figure 1 This is a schematic diagram of the structure of an Internet of Things electronic fence system based on a LoRa module according to Embodiment 1 of the present invention;
[0032] Figure 2 This is an example structural diagram of an Internet of Things electronic fence system based on a LoRa module provided according to Embodiment 1 of the present invention. DETAILED DESCRIPTION
[0033] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0034] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0035] Embodiment 1
[0036] Figure 1 This is a schematic diagram of the structure of an Internet of Things electronic fence system based on a LoRa module provided in the first embodiment of the present invention. This embodiment is applicable to situations where an electronic fence is used for warning and protection. Figure 1 As shown, the system includes: an electronic fence pole terminal 1, an electronic fence communication relay gateway 2 and an electronic fence service platform 3.
[0037] The electronic fence pole body terminal 1 includes an environment detection module 11 and a LoRa communication slave module 12, and the electronic fence communication relay gateway 2 includes a LoRa communication main module 21 and a WiFi communication module 22. The electronic fence pole body terminal 1 is used to collect environmental information of the environment in which the electronic fence pole body terminal 1 is located through the environment detection module 11, and transmit it to the electronic fence communication relay gateway 2 through the LoRa communication slave module 12; the electronic fence communication relay gateway 2 is used to receive each of the environmental information through the LoRa communication main module 21 to form uploaded data, and upload it to the electronic fence service platform 3; the electronic fence service platform 3 is used to perform preventive warnings based on the uploaded data and preset warning information.
[0038] In this embodiment, the electronic fence pole terminal 1 can be set at the boundary of the area to be monitored, and multiple electronic fence pole terminals 1 can be set at a certain interval. The long-range radio (LoRa) communication slave module can be understood as a module for communication set in the electronic fence pole terminal 1. LoRa communication refers to a low-power wide area network (LPWAN) wireless communication technology based on spread spectrum technology. The environmental detection module 11 can be understood as a module for detecting the environmental state of the area where the electronic fence pole terminal 1 is set, which can include detection of different environmental parameters. The sensors contained in the module can be set according to the requirements. For example, if the detected device has a temperature detection requirement, a humidity monitoring requirement, or a prohibition of personnel approaching, the corresponding environmental data can be detected by a corresponding temperature detection device (such as a temperature sensor), a humidity detection device (such as a humidity sensor or a hygrometer, etc.) and a distance detection device (such as an infrared radiation sensor, etc.).
[0039] In this embodiment, the electronic fence communication relay gateway 2 can be understood as a transmission device for communicating electronic fence monitoring data between networks using different protocols, such as MQTT protocol. The LoRa communication main module 21 can be understood as a module for communication arranged at the electronic fence communication relay gateway 2, wherein the LoRa communication slave module 12 is also configured with a transparent transmission mode, in which the LoRa communication main module 21 can send and receive data with each LoRa communication slave module 12, but the data sent by the LoRa communication slave module 12 can only be received by the LoRa communication main module 21, and the LoRa communication slave module 12 cannot receive the data sent by other LoRa communication slave modules 12. The uploaded data can be understood as the data after the environmental data is integrated. The preset warning information can be understood as the threshold information set for judging whether the environmental information is normal, and different thresholds can be set according to different environmental indicators and different devices. For example, the temperature threshold range of device 1 is A1-A5, the humidity threshold range is B1-B3, and the temperature threshold range of device 2 is A2-A5, and the humidity threshold range is B1-B5.
[0040] In this embodiment, the electronic fence service platform 3 can be understood as a service platform that displays the integrated monitoring data function to relevant personnel.
[0041] Specifically, when powered on for the first time, the LoRa communication master module 21 and the LoRa communication slave module 12 can be initialized. The electronic fence pole terminal 1 includes an environment detection module 11 and a LoRa communication slave module 12, and the electronic fence communication relay gateway 2 includes a LoRa communication master module 21. The electronic fence pole terminal 1 collects environmental information of the environment in which the electronic fence pole terminal 1 is located through the environment detection module 11, and transmits the environmental information over a long distance through the LoRa communication slave module 12, and transmits the environmental information to the electronic fence communication relay gateway 2. The electronic fence communication relay gateway 2 receives the environmental information transmitted by each electronic fence pole terminal 1 through the LoRa communication slave module 12 through the LoRa communication master module 21, and processes the environmental information to form upload data under the corresponding protocol, and uploads it to the electronic fence service platform 3 through wireless communication. The electronic fence service platform 3 can analyze the uploaded data, determine the corresponding monitoring area and the corresponding environmental data in each uploaded data, and compare them one by one with the corresponding monitoring area and the threshold data under the monitoring area in the preset warning information, and determine whether to issue a preventive warning based on the comparison results. The preventive warning method can be to send prompt information to the terminal device of the relevant personnel. For example, the terminal device can include a computer web terminal and a mobile phone terminal.
[0042] The technical solution of the embodiment of the present invention provides an Internet of Things electronic fence system based on the LoRa module, the system includes: an electronic fence pole terminal, an electronic fence communication relay gateway and an electronic fence service platform, the electronic fence pole terminal includes an environment detection module and a long-distance radio LoRa communication slave module, the electronic fence communication relay gateway includes a LoRa communication master module and a WiFi communication module, the electronic fence pole terminal is used to collect environmental information of the environment where the electronic fence pole terminal is located through the environment detection module, and transmit it to the electronic fence communication relay gateway through the LoRa communication slave module; the electronic fence communication relay gateway is used to receive various environmental information through the LoRa communication master module to form uploaded data, and upload the uploaded data to the electronic fence service platform through the WiFi communication module; the electronic fence service platform is used to perform preventive warning according to the uploaded data and preset warning information. The use of the LoRa module for long-distance wireless data transmission has the characteristics of low power consumption and high sensitivity, improves the transmission distance, reduces the networking difficulty and wiring difficulty of the electronic fence system, and improves the adaptability of the electronic fence to complex environments in the warning and protection operations. The uploaded data is analyzed by the electronic fence service platform to determine whether to perform preventive warning. It improves the timeliness of problem location and problem discovery, and ensures the safety of the equipment detected by the electronic fence.
[0043] For example, in order to facilitate understanding of the composition of the electronic fence system in the present invention, a specific example is used for illustration. Figure 2 An example structural diagram of an Internet of Things electronic fence system based on a LoRa module provided in the first embodiment of the present invention is shown in FIG. Figure 2 As shown, the electronic fence system includes an electronic fence pole terminal 1, an electronic fence communication relay gateway 2, an electronic fence service platform 3 and a router 4. The electronic fence pole terminal 1 includes an environment detection module 11, a LoRa communication slave module 12 and a first single-chip microcomputer 13, and the electronic fence communication relay gateway 2 includes a LoRa communication master module 21, a WiFi communication module 22 and a second single-chip microcomputer 23.
[0044] Furthermore, the environment detection module 11 includes at least one of the following sensors: an infrared radiation sensor 111, a temperature sensor 112 and a humidity sensor 113;
[0045] The infrared radiation sensor 111 is used to collect target information between the target and the electronic fence pole terminal 1; the temperature sensor 112 is used to determine the ambient temperature information of the environment; and the humidity sensor 113 is used to determine the ambient humidity information of the environment.
[0046] In this embodiment, the infrared counter-radiation sensor 111 can be understood as a sensor that uses infrared technology to achieve non-contact detection and measurement. The target can be understood as a target object that enters the detection area of the infrared counter-radiation sensor 111. The target information can be understood as information including the position, speed and distance of the target that enters the detection area of the infrared counter-radiation sensor 111. The temperature sensor 112 can be understood as a sensor for measuring temperature, for example, it can include an infrared temperature sensor, an optical fiber temperature sensor 112 and a semiconductor temperature sensor 112. The ambient temperature information can be understood as the temperature value of the environment in which the environmental detection module 11 is located. The humidity sensor 113 can be understood as a device for measuring humidity, for example, it can include an electronic humidity sensor 113 or an electrolytic hygrometer, etc., and a suitable sensor can be selected according to the specific application scenario and measurement requirements. The ambient humidity information can be understood as the humidity value in the environment in which the environmental detection module 11 is located.
[0047] Specifically, the environment detection module 11 can be set based on the detection requirements, for example, it can include at least one of the infrared radiation sensor 111, the temperature sensor 112 and the humidity sensor 113. Among them, the infrared radiation sensor 111 is mainly composed of a transmitter and a receiver. The transmitter emits infrared rays. When the infrared rays encounter the target to be measured, they will be reflected back and received by the receiver. After the receiver receives the reflected infrared rays, an electrical signal will be generated. After the signal is processed by the circuit, the target information reflecting the target position, speed and distance can be obtained. The ambient temperature information of the environment can be measured by the temperature sensor 112, and the ambient humidity information of the environment can be measured by the humidity sensor 113.
[0048] Exemplarily, for example, the monitored equipment in the area where the electronic fence pole body terminal 11 is set is relatively sensitive to the ambient temperature, and too high or too low temperature will cause damage to the monitored equipment. In this case, the environmental detection module 11 of the electronic fence pole body terminal 11 may include a temperature sensor 112; the monitored equipment in the area where the electronic fence pole body terminal 12 is set is relatively sensitive to the ambient humidity, and too high or too low ambient humidity will cause damage to the monitored equipment. In this case, the environmental detection module 11 of the electronic fence pole body terminal 12 may include a humidity sensor 113; the monitored equipment in the area where the electronic fence pole body terminal 13 is set is sensitive to both ambient temperature and humidity, and in this case, the environmental detection module 11 of the electronic fence pole body terminal 13 may include a temperature sensor 112 and a humidity sensor 113; there may be a high voltage danger around the monitored equipment in the area where the electronic fence pole body terminal 14 is set, and there may be danger for people to approach the monitored equipment. In this case, the environmental detection module 11 of the electronic fence pole body terminal 14 may include a sensor for detecting the distance between people, and the electronic fence pole body terminal 14 is set outside the safety radius relative to the monitored equipment.
[0049] Furthermore, the electronic fence pole terminal 1 further includes: a first single chip computer 13;
[0050] The first single chip microcomputer 13 is used to receive environmental information from the environmental detection module 11 , process the environmental information and transmit the environmental information to the LoRa communication slave module 12 .
[0051] In this embodiment, the first single-chip microcomputer 13 can be understood as a single-chip microcomputer arranged in the electronic fence pole terminal 1. The single-chip microcomputer refers to an embedded microcontroller with high performance, low cost and low power consumption characteristics, for example, it can be an STM32 single-chip microcomputer.
[0052] Specifically, when powered on for the first time, each pin of the first single-chip microcomputer 13 can be initialized, which may include initialization of the general input and output GPIO and the serial port to set the initial state and pin parameters of the GPIO pin, such as high level, low level or high impedance state, as well as output type, output speed and enable parameters, etc., which helps to ensure that the pin is in a known state when the system starts, avoid problems caused by uncertain electrical states, and ensure the correct operation of the pin and the stability of the system. The communication parameters and working modes (such as synchronous mode or asynchronous mode) are configured through serial port initialization to ensure accurate and stable data transmission. When the environment detection module 11 obtains environmental information through sensor detection, since the sensor converts the physical quantity or chemical quantity in the environment into an electrical signal, the environmental information at this time is transmitted to the first single-chip microcomputer 13 in the form of an electrical signal, and the first single-chip microcomputer 13 can read the environmental information in the form of these electrical signals and convert it into environmental information in the form of digital signals, so as to facilitate subsequent data transmission in the form of digital signals. The first single-chip microcomputer 13 can transmit the environmental information in the form of digital signals to the LoRa communication slave module 12.
[0053] Among them, the LoRa communication slave module 12 and the LoRa communication master module 21 use wireless communication to perform transparent transmission, and the communication configuration parameters are the same.
[0054] In this embodiment, transparent transmission refers to a mode in which the data sent by the LoRa communication master module 21 can be received by all the LoRa communication slave modules 12, and the data sent by the LoRa communication slave module 12 can only be received by the LoRa communication master module 21. The wireless communication mode can be understood as a mode of communication without carrying cables. The communication configuration parameters can be understood as a series of parameters set to ensure that both devices can correctly understand and process data when data is transmitted.
[0055] The communication configuration parameters include a regional network identifier, a frequency parameter and a channel parameter.
[0056] In this embodiment, the PAN ID can be understood as an identifier for representing different networks. The frequency parameter can be understood as the frequency for data processing or transmission. The channel parameter can be understood as a parameter describing the characteristics of a communication channel.
[0057] Specifically, the LoRa communication slave module 12 and the LoRa communication master module 21 that perform wireless communication transmission are set to have the same area network identifier, frequency parameters and channel parameters to ensure that data communications between networks do not interfere with each other.
[0058] Furthermore, the electronic fence communication relay gateway 2 further includes: a second single chip computer 23;
[0059] The second single chip microcomputer 23 is used to process the environmental information transmitted by the LoRa communication main module 21 to obtain upload data and transmit it to the WiFi communication module 22 .
[0060] In this embodiment, the second single-chip microcomputer 23 can be understood as a single-chip microcomputer set in the electronic fence communication relay gateway 2, which can be an STM32 single-chip microcomputer. The WiFi communication module 22 can be understood as a module for wireless network communication in the form of WiFi, for example, the WiFi communication module 22 can be ESP8266.
[0061] Specifically, the electronic fence communication relay gateway 2 also includes: a second single chip microcomputer 23. The second single chip microcomputer 23 processes the environmental information transmitted by the LoRa communication main module 21, obtains the processed upload data and transmits it to the WiFi communication module 22. Since the electronic fence service platform 3 is in the form of a cloud platform, the target environmental information can be uploaded to the electronic fence service platform 3 through the WiFi communication module 22.
[0062] Furthermore, the system further comprises: a router 4, wherein the router 4 is connected to the WiFi communication module 22 via a TCP protocol.
[0063] The electronic fence communication relay gateway 2 communicates with the electronic fence service platform 3 via the MQTT protocol.
[0064] In this embodiment, the electronic fence communication relay gateway 2 can establish a connection with the electronic fence service platform 3 through the WiFi communication module 22. The WiFi communication module 22, as a client, first connects to the router 4 through the TCP protocol, and provides a network through the router 4. On the basis of the TCP protocol, the electronic fence communication relay gateway 2 and the electronic fence service platform 3 can communicate with each other through the MQTT protocol.
[0065] Furthermore, the electronic fence service platform 3 is specifically used for:
[0066] Determine whether to issue a cross-border intrusion prevention warning based on the target information in the uploaded data; determine whether to issue a temperature anomaly prevention warning based on the ambient temperature information in the uploaded data and the temperature threshold range in the preset warning information; determine whether to issue a humidity anomaly prevention warning based on the ambient humidity information in the uploaded data and the humidity threshold range in the preset warning information.
[0067] Specifically, the electronic fence service platform 3 can determine the location of the target based on the target information in the uploaded data, and determine whether the target has entered the prohibited entry range through the prohibited entry range divided in advance, and then determine whether to issue a cross-border intrusion prevention warning. The electronic fence service platform 3 can determine the temperature threshold range of the matching area in the preset warning information for comparison based on the ambient temperature information in the uploaded data and the area where the uploaded data is located, to determine whether to issue a temperature abnormality prevention warning. The electronic fence service platform 3 can also determine the humidity threshold range of the matching area in the preset warning information based on the ambient humidity information in the uploaded data and the area where the uploaded data is located, to determine whether to issue a humidity abnormality prevention warning.
[0068] Optionally, the electronic fence service platform 3 is also used for:
[0069] The uploaded data is processed to form display data and transmitted to an associated terminal for display.
[0070] In this embodiment, the display data can be understood as data displayed in a visual form. The associated terminal can be understood as a device terminal used by the monitoring personnel, such as a computer web terminal or a mobile phone terminal.
[0071] Specifically, different functional modules may be provided in the electronic fence service platform 3, for example, an electronic fence sensor functional module may be included, through which the fence display area is divided on the platform, and the uploaded data is processed by the electronic fence service platform 3, and the detection area corresponding to the uploaded data and the environmental information collected by the sensor are converted into the form of display data and transmitted to the associated terminal for display. The relevant monitoring personnel can view the sensor values of the area under their jurisdiction and prompt information such as whether cross-border intrusion has occurred in the associated terminal, and can receive the above-mentioned early warning information to ensure that abnormalities can be responded to in a timely manner.
[0072] The technical solution of the embodiment of the present invention is to construct an environment detection module through at least one of an infrared radiation sensor, a temperature sensor and a humidity sensor, detect the temperature, humidity and target information of the environment, and use the optical path formed by infrared radiation as an invisible "fence" for perimeter protection. The electronic fence pole terminal converts the environmental information of the environment detection module into a digital signal through the first single-chip microcomputer, and transmits it to the electronic fence communication relay gateway through the LoRa communication slave module, receives the environmental information through the LoRa communication main module in the electronic fence communication relay gateway, and processes the environmental information through the second single-chip microcomputer to obtain the uploaded data, and uploads the uploaded data to the electronic fence service platform through the network provided by the router through the WiFi communication module. The whole process is wireless transmission, which reduces the number of base stations or relay devices and reduces the cost and complexity of system construction. The LoRa communication module device has extremely low energy consumption when running, and can run for a long time with battery power, which reduces the trouble of frequent battery replacement and reduces the equipment maintenance cost. The uploaded data is analyzed by the electronic fence service platform to determine whether to carry out preventive warning. The timeliness of problem location and problem discovery is improved, and the safety of the equipment detected by the electronic fence is guaranteed.
[0073] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0074] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An Internet of Things electronic fence system based on LoRa module, characterized in that: The system includes: an electronic fence pole terminal, an electronic fence communication relay gateway and an electronic fence service platform. The electronic fence pole terminal includes an environment detection module and a long-distance radio LoRa communication slave module. The electronic fence communication relay gateway includes a LoRa communication master module and a WiFi communication module. The electronic fence pole terminal is used to collect environmental information of the environment in which the electronic fence pole terminal is located through the environmental detection module, and transmit it from the module to the electronic fence communication relay gateway through the LoRa communication; The electronic fence communication relay gateway is used to receive each of the environmental information through the LoRa communication main module to form uploaded data, and upload the uploaded data to the electronic fence service platform through the WiFi communication module; The electronic fence service platform is used to carry out preventive warning according to the uploaded data and preset warning information.
2. The system according to claim 1, characterized in that The environment detection module includes at least one of the following sensors: an infrared radiation sensor, a temperature sensor, and a humidity sensor; The infrared counter-radiation sensor is used to collect target information between the target and the electronic fence pole terminal; The temperature sensor is used to determine the ambient temperature information of the environment; The humidity sensor is used to determine the ambient humidity information of the environment.
3. The system according to claim 1, characterized in that The electronic fence pole terminal also includes: a first single chip microcomputer; The first single-chip microcomputer is used to receive environmental information from the environmental detection module, process the environmental information and transmit it to the LoRa communication slave module.
4. The system according to claim 1, characterized in that The LoRa communication slave module and the LoRa communication master module use wireless communication to perform transparent transmission, and the communication configuration parameters are the same.
5. The system according to claim 4, characterized in that The communication configuration parameters include an area network identifier, a frequency parameter, and a channel parameter.
6. The system according to claim 1, characterized in that The electronic fence communication relay gateway also includes: a second single chip microcomputer; The second single-chip microcomputer is used to process the environmental information transmitted by the LoRa communication main module, obtain upload data and transmit it to the WiFi communication module.
7. The system according to claim 1, characterized in that The system further comprises: a router, wherein the router is connected to the WiFi communication module via a TCP protocol.
8. The system according to claim 1, characterized in that The electronic fence communication relay gateway communicates with the electronic fence service platform through the MQTT protocol.
9. The system according to claim 1, characterized in that The electronic fence service platform is specifically used for: Determining whether to issue a cross-border intrusion prevention warning based on the target information in the uploaded data; Determine whether to issue a temperature anomaly prevention warning based on the ambient temperature information in the uploaded data and the temperature threshold range in the preset warning information; Whether to issue a humidity anomaly prevention warning is determined based on the ambient humidity information in the uploaded data and the humidity threshold range in the preset warning information.
10. The system according to claim 1, characterized in that The electronic fence service platform is also used for: The uploaded data is processed to form display data and transmitted to an associated terminal for display.