CN113453224A - Gateway, data transmission method and data processing method - Google Patents
Gateway, data transmission method and data processing method Download PDFInfo
- Publication number
- CN113453224A CN113453224A CN202010215299.8A CN202010215299A CN113453224A CN 113453224 A CN113453224 A CN 113453224A CN 202010215299 A CN202010215299 A CN 202010215299A CN 113453224 A CN113453224 A CN 113453224A
- Authority
- CN
- China
- Prior art keywords
- lora
- node
- data
- gateway
- server
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000005540 biological transmission Effects 0.000 title claims abstract description 26
- 238000003672 processing method Methods 0.000 title claims abstract description 13
- QVFWZNCVPCJQOP-UHFFFAOYSA-N chloralodol Chemical compound CC(O)(C)CC(C)OC(O)C(Cl)(Cl)Cl QVFWZNCVPCJQOP-UHFFFAOYSA-N 0.000 claims abstract description 331
- 238000012545 processing Methods 0.000 claims description 21
- 230000004044 response Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 230000002085 persistent effect Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000004069 differentiation Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 239000002355 dual-layer Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000010410 layer Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003014 reinforcing effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
-
- 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
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/16—Gateway arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A gateway, a data transmission method and a data processing method are disclosed. Taking an example of the application to the LoRa scene, the data transmission method includes: a first LoRa node is arranged inside the LoRa gateway; and uploading the data to the server by using the first LoRa node. Therefore, the data reporting function can be endowed for the LoRa gateway by arranging the first LoRa node on the LoRa gateway side. For example, the LoRa gateway may report its own attribute information to the server and receive an instruction issued by the server, so that the device attribute of the LoRa gateway is fully utilized.
Description
Technical Field
The present disclosure relates to the field of communications, and in particular, to a gateway, a data transmission method, and a data processing method.
Background
In the communication field, the gateway is mainly responsible for data flow between the node and the server, and the device attribute of the gateway is ignored.
Taking LoRaWAN as an example, LoRaWAN is a solution of low power consumption wide area internet of things, and is a low power consumption wide area network (LPWAN) standard based on an open source MAC layer protocol, which is proposed by LoRa alliance. This technology can provide a low power, scalable, long-range wireless network for battery-powered wireless devices.
LoRaWAN mainly includes three levels of communication entities: loRa node, loRa gateway and server. The LoRa gateway is a bridge between the LoRa node and a server (e.g., LoRaWAN core network). The LoRa node is connected to the LoRa gateway using a low power consumption network (LoRaWAN), and the LoRa gateway is connected to the server using a high bandwidth network (e.g., WiFi, ethernet, or cellular).
However, in the prior art, the LoRa gateway is only used for data flow between the LoRa node and the server, and the device attribute of the LoRa gateway is omitted.
Disclosure of Invention
One technical problem to be solved by the present disclosure is to provide a solution that takes into account device attributes of a gateway to enhance the capability of the gateway.
According to a first aspect of the present disclosure, there is provided a LoRa data transmission method, including: a first LoRa node is arranged inside the LoRa gateway; and uploading the data to the server by using the first LoRa node.
According to a second aspect of the present disclosure, there is provided a LoRa data processing method, including: a first LoRa node is arranged inside the LoRa gateway; receiving a key sent by a server; sending the key to a first LoRa node and one or more second LoRa nodes; receiving data sent by a second LoRa node through a LoRa gateway, wherein the data is encrypted by a secret key; forwarding the data to the first LoRa node; and analyzing the data by the first LoRa node based on the key to obtain the analyzed data.
According to a third aspect of the present disclosure, there is provided a data transmission method, including: setting a first node inside a gateway; and uploading the data to a server by using the first node.
According to a fourth aspect of the present disclosure, there is provided a data processing method including: setting a first node inside a gateway; receiving a key sent by a server; sending the key to the first node and one or more second nodes; receiving data sent by the second node through the gateway, wherein the data is encrypted by the secret key; forwarding the data to the first node; and analyzing the data by the first node based on the key to obtain analyzed data.
According to a fifth aspect of the present disclosure, there is provided an LoRa gateway, comprising: the system comprises a gateway device and a first LoRa node, wherein the gateway device is used for realizing data transmission between the LoRa node and a server, and the first LoRa node is used for sending data to the server and/or receiving the data sent by the server.
According to a sixth aspect of the present disclosure, there is provided an LoRa gateway, comprising: the gateway device receives a key sent by the server, the gateway device sends the key to the first LoRa node and one or more second LoRa nodes, the gateway device forwards the received data sent by the second LoRa nodes to the first LoRa nodes, the data are encrypted by the key, and the first LoRa nodes analyze the data based on the key to obtain the analyzed data.
According to a seventh aspect of the present disclosure, there is provided a LoRa network, comprising: the system comprises an LoRa gateway and one or more second LoRa nodes, wherein a first LoRa node is arranged in the LoRa gateway, the LoRa gateway receives a key sent by a server and sends the key to the first LoRa node and the second LoRa node respectively, the LoRa gateway receives data sent by the second LoRa node and forwards the data to the first LoRa node, and the first LoRa node analyzes the data based on the key.
According to an eighth aspect of the present disclosure, there is provided a gateway comprising: the system comprises a gateway device and a first node, wherein the gateway device is used for realizing data transmission between the node and a server, and the first node is used for sending data to the server and/or receiving data sent by the server.
According to a ninth aspect of the present disclosure, there is provided a gateway comprising: the gateway device receives a key sent by a server, the gateway device sends the key to the first node and one or more second nodes, the gateway device forwards received data sent by the second nodes to the first node, the data is data encrypted by the key, and the first node analyzes the data based on the key to obtain analyzed data.
According to a tenth aspect of the present disclosure, there is provided a computing device comprising: a processor; and a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the method of any of the first to fourth aspects as described above.
According to an eleventh aspect of the present disclosure, there is provided a non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform the method of any of the first to fourth aspects described above.
Therefore, the data reporting function can be endowed for the LoRa gateway by arranging the first node on the gateway side. For example, the gateway may report its own attribute information to the server through the built-in first node, and receive an instruction issued by the server, so that the device attribute of the gateway is fully utilized.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in greater detail exemplary embodiments thereof with reference to the attached drawings, in which like reference numerals generally represent like parts throughout.
Fig. 1 shows a schematic block diagram of the structure of a LoRa gateway according to one embodiment of the present disclosure.
Fig. 2 shows a schematic flow chart of a network entry process of the first LoRa node.
Fig. 3 shows a schematic flow diagram of a data transmission method according to one embodiment of the present disclosure.
Fig. 4 shows a schematic diagram of a local key issuing process according to an embodiment of the present disclosure.
Fig. 5 shows a LoRa data processing flow diagram according to one embodiment of the present disclosure.
FIG. 6 shows a schematic structural diagram of a computing device, according to one embodiment of the present disclosure.
Detailed Description
Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The present disclosure proposes that a node (which may be referred to as a first node for ease of differentiation) may be provided inside the gateway. The first node may be a software module or may be a hardware entity. In other words, the first node may be a node implemented by a software module, i.e. a virtual device node; or a physical node implemented based on a hardware entity, that is, a real device node.
Thus, a gateway as referred to in the present disclosure may comprise a gateway apparatus and a first node. The gateway device is used for realizing data transmission between the nodes and the server, and the first node is used for sending data to the server and/or receiving data sent by the server.
Taking data transmission in the LoRaWAN as an example, the gateway may refer to an LoRa gateway, and the node may refer to an LoRa node. In the following, the content related to the gateway is further described by taking the gateway as an LoRa gateway and the node as an LoRa node as an example, it should be understood that the content described below for the LoRa gateway may also be applied to other types of gateways, and the description below for the LoRa node may also be applied to other types of device nodes.
Fig. 1 shows a schematic block diagram of the structure of a LoRa gateway according to one embodiment of the present disclosure. As shown in fig. 1, the LoRa gateway 100 includes a gateway device 110 and a first LoRa node 120.
The gateway device 110 is configured to implement data transmission between the LoRa node and the server. Briefly, the gateway device 100 may forward the received upstream data sent by the LoRa node to the server, and forward the downstream data sent by the server to the corresponding LoRa node. The Server refers to an LoRa Server, and may include, but is not limited to, a Network Server (NS) and an Application Server (AS). The structure and data transmission principle of the gateway device 110 are not the focus of the present disclosure, and are not described herein again.
The first LoRa node 120 may send data (i.e., upstream data) to the server through one or more LoRa gateways as with the LoRa nodes actually existing in the LoRa network, and receive data (i.e., downstream data) sent by the server through the one or more LoRa gateways. The LoRa gateway through which the first LoRa node 120 transmits the uplink data and the LoRa gateway through which the first LoRa node receives the downlink data may be the same or different. The LoRa gateway through which the first LoRa node 120 transmits and receives data may be the LoRa gateway 100, or may be another LoRa gateway in the network.
1. Network access flow of first LoRa node
First, a network entry procedure of the first LoRa node is briefly described.
The network access process of the first LoRa node is consistent with the LoRaWAN protocol. For the server, the first LoRa node is the same as the other LoRa nodes. That is, the server does not perceive the difference between the first LoRa node and other LoRa nodes, and processes the network access request of the first LoRa node as processing the network access request of the real LoRa node in the network.
Fig. 2 shows a schematic flow chart of a network entry process of the first LoRa node.
As shown in fig. 2, the first LoRa node may send a network access request to the server through the LoRa gateway, and receive a network access response sent by the server through the LoRa gateway. After receiving the network access response, the first LoRa node may parse the relevant network access configuration information from the network access response.
As an example, the first LoRa node may generate a JOIN _ REQUEST frame (i.e., an access REQUEST message) to send to the LoRa gateway. The LoRa gateway that received the JOIN _ REQUEST frame may send to the server via the GWMP protocol. In response to the network access request, the server may return a JONI _ ACCEPT frame (i.e., a network access response message) to the LoRa gateway, and the LoRa gateway sends the JONI _ ACCEPT frame to the first LoRa node. Wherein the JONI _ ACCEPT frame may include, but is not limited to, a session key and DevAddr information, which is used to characterize the identification information of the first LoRa node. For specific parameters in the JOIN _ REQUEST frame and the JONI _ ACCEPT frame, reference may be made to a network access mechanism of the loran node in the existing LoRaWAN protocol, and details thereof are not repeated here. The first LoRa node, upon receiving the JONI _ ACCEPT frame, may parse the JONI _ ACCEPT frame to obtain the session key and the DevAddr therefrom.
2. Enhanced function of LoRa gateway
Data reporting function
By introducing the first LoRa node 120 to the LoRa gateway 100, a data reporting function may be provided to the LoRa gateway 100. For example, the LoRa gateway 100 may serve as a bridge for data transmission between the LoRa node and the server, and may also serve as a "LoRa node," and report the data of the LoRa gateway 100 to the server through the first LoRa node 120.
Fig. 3 shows a schematic flow diagram of a data transmission method according to one embodiment of the present disclosure.
Referring to fig. 3, the first LoRa node 120 may upload data to a server through one or more LoRa gateways present in the network, following the LoRaWAN protocol. The data sent by the first LoRa node 120 may refer to data of the LoRa gateway 100 itself, that is, the data of the LoRa gateway 100 may be uploaded to a server by the first LoRa node 120. For example, the LoRa gateway 100 may report the device attribute information to the server through the first LoRa node 120.
The LoRa gateway 100 may further receive downlink data sent by the server, and determine whether the LoRa node targeted by the downlink data is the first LoRa node 120 set inside the LoRa gateway 100. In a case where it is determined that the LoRa node to which the downlink data is directed is the first LoRa node 120, the LoRa gateway 100 may forward the downlink data to the first LoRa node 120, and/or in a case where it is determined that the LoRa node to which the downlink data is directed is not the first LoRa node 120, the LoRa gateway 100 may transmit the downlink data to the corresponding LoRa node in a radio frequency manner in compliance with the LoRaWAN protocol.
Therefore, under the action of the first LoRa node 120 built in the LoRa gateway 100, the LoRa gateway may also report the device attribute information of the LoRa gateway 100 to the server as the LoRa node, and receive the instruction issued by the server, so that the device attribute of the LoRa gateway is fully utilized.
The data uploaded by the first LoRa node may also be data from other LoRa nodes (for convenience of differentiation, may be referred to as a second LoRa node) in the network. The second LoRa node may be an LoRa node that does not depend on other LoRa gateways and actually exists, or an LoRa node that is disposed inside other LoRa gateways.
That is to say, the LoRa gateway 100 may also receive data sent by other LoRa nodes (i.e., a second LoRa node) in the network, and upload the data of the second LoRa node to the server by using the first LoRa node. Optionally, after receiving the data from the second LoRa node, the LoRa gateway 100 may further send the data of the second LoRa node to other LoRa nodes by using the first LoRa node.
Data parsing function
In consideration of communication security, most of data sent by the LoRa node is data encrypted by a key, and the key is a key configured for the LoRa node by a server in a network accessing process.
In order to parse the received LoRa data, the LoRa gateway 100 may further receive a key issued by the server, and send the key to the first node 120, so that the first node 120 can parse the data of other LoRa nodes received by the LoRa gateway 100 based on the key.
As an example of the present disclosure, each LoRa node in the network where the LoRa gateway 100 is located corresponds to one key, and the keys used by different LoRa nodes to send data are different. The server may send the keys of the plurality of second LoRa nodes to the first LoRa node, that is, the first LoRa node may store the keys of the plurality of second LoRa nodes.
As another example of the present disclosure, all LoRa nodes in the network in which the LoRa gateway 100 is located may share one key. The server may send the key to the LoRa gateway 100, and the LoRa gateway 100 sends the key to the first LoRa node 120 inside the LoRa gateway 100 and other LoRa nodes (i.e., second LoRa nodes) in the network. The server may issue the key to the LoRa nodes within the multicast address range at one time, or may issue the key to different LoRa nodes in sequence.
The LoRa gateway 100 may further process the analyzed data and output a processing result. The operations in which data is processed may be performed by the first LoRa node 120. Thus, the processing of the LoRa data can be realized by the LoRa gateway 100. Wherein, the processing result may be output by the LoRa gateway 100. In addition, the processing result may also be output by other LoRa nodes, that is, the LoRa gateway 100 may also send the processing result to other LoRa nodes.
3. Application scenarios
Through set up first loRa node in loRa gateway side for the loRa gateway can possess data and report ability and data analysis ability. Therefore, the data processing logic on the server side can be sunk to the LoRa gateway, and the data of the LoRa node in the network can be analyzed and processed by the LoRa gateway. The operation of analyzing and processing the data of the LoRa node may be performed by a first LoRa node built in the LoRa gateway, so as to reduce the change of the processing logic of the LoRa gateway.
Thus, the present disclosure may construct an LoRa network composed of LoRa nodes and LoRa gateways. Namely, the constructed LoRa network comprises a LoRa gateway and one or more second LoRa nodes, and the LoRa gateway is provided with a first LoRa node. The constructed LoRa network may include a server, and the server may be only used for node registration and key distribution, and data processing on the LoRa node may be performed by the LoRa gateway.
Therefore, the present disclosure may be applicable to, but not limited to, smart buildings, smart hotels, smart homes, smart business supermarkets, smart offices, smart buildings, and other local application scenarios.
The LoRa node in the local application scenario may send the data to the LoRa gateway, and the received data is analyzed and processed by the first LoRa node in the LoRa gateway. The processing result can be output by the LoRa gateway or can be delivered to other LoRa nodes for output.
Fig. 4 shows a schematic diagram of a local key issuing process according to an embodiment of the present disclosure.
As shown in fig. 4, as an example, the constructed LoRa network may include an LoRa node A, LoRa node B, LoRa gateway, where the first LoRa node disposed on the LoRa gateway side is a virtual LoRa node.
The server sends the local key to all the physical nodes and the virtual nodes, and the nodes store the corresponding local key. Specifically, the server may issue the local key (i.e., the keys of all the LoRa nodes in the local LoRa network) to the LoRa gateway, and the LoRa gateway sends the local key to the virtual LoRa node, the LoRa node a, and the LoRa node B, respectively.
Fig. 5 shows a LoRa data processing flow diagram according to one embodiment of the present disclosure.
As shown in fig. 5, LoRa node a may uplink local data. After receiving the local data of the LoRa node a, the LoRa gateway may forward the local data to the virtual LoRa node. And resolving the local data through the local key by the virtual LoRa node. After the parsing is completed, the virtual LoRa node may upload the local data to the server side. The data uploaded to the server may be only used for server recording, and the server may not perform processing operation on the uploaded data.
After the analysis, the virtual LoRa node may encrypt the analyzed data and send the encrypted data to the LoRa node B, or may process the analyzed data, encrypt the processed data, and send the encrypted data to the LoRa node B.
In the present disclosure, the LoRa node and the LoRa gateway may use LoRaD2D protocol (all known as LoRa Device to Device communication protocol) for data transmission. The LoRaD2D protocol can well meet the scene requirements of low power consumption, fast response time and local control by realizing the functions of long lead code awakening and local data control. In the LoRaD2D protocol, a gateway can continuously send a long wake-up packet, a node periodically opens a window to listen to the gateway wake-up packet, and a preamble belonging to the node is detected and then all receivers are opened.
Taking an intelligent home scene as an example, the LoRa gateway is not used as a bridge for data transmission between the LoRa node and the server, and the LoRa gateway itself has a device attribute, for example, the LoRa gateway may also be used as an audible and visual alarm, however, the prior art does not consider the device attribute of the LoRa gateway. And the LoRa gateway only performs data circulation at present, and has no way to parse and process local data.
This is disclosed through the virtual loRa node that sets up in loRa gateway side, provides a lightweight solution, for the gateway provides the reinforcing ability, can solve the unable report of gateway self equipment attribute to and the unable problem of resolving local data of gateway. In the present disclosure, all devices in the network can be regarded as LoRa devices, which facilitates user operation and provides the gateway with the capability of local data centralized control.
The present disclosure also provides a LoRa data transmission method, including: a first LoRa node is arranged inside the LoRa gateway; and uploading the data to the server by using the first LoRa node. For details related to the method, see the above description, and are not repeated herein.
The present disclosure also provides a LoRa data processing method, including: a first LoRa node is arranged inside the LoRa gateway; receiving a key sent by a server; sending the key to a first LoRa node and one or more second LoRa nodes; receiving data sent by a second LoRa node through a LoRa gateway, wherein the data is encrypted by a secret key; forwarding the data to the first LoRa node; and analyzing the data by the first LoRa node based on the key to obtain the analyzed data. For details related to the method, see the above description, and are not repeated herein.
Fig. 6 shows a schematic structural diagram of a computing device that can be used to implement the above-described data transmission method (e.g., LoRa data transmission method) or data processing method (e.g., LoRa data processing method) according to an embodiment of the present disclosure.
Referring to fig. 6, computing device 600 includes memory 610 and processor 620.
The processor 620 may be a multi-core processor or may include a plurality of processors. In some embodiments, processor 620 may include a general-purpose host processor and one or more special coprocessors such as a Graphics Processor (GPU), a Digital Signal Processor (DSP), or the like. In some embodiments, processor 620 may be implemented using custom circuits, such as an Application Specific Integrated Circuit (ASIC) or a Field Programmable Gate Array (FPGA).
The memory 610 may include various types of storage units, such as system memory, Read Only Memory (ROM), and permanent storage. Wherein the ROM may store static data or instructions that are required by the processor 620 or other modules of the computer. The persistent storage device may be a read-write storage device. The persistent storage may be a non-volatile storage device that does not lose stored instructions and data even after the computer is powered off. In some embodiments, the persistent storage device employs a mass storage device (e.g., magnetic or optical disk, flash memory) as the persistent storage device. In other embodiments, the permanent storage may be a removable storage device (e.g., floppy disk, optical drive). The system memory may be a read-write memory device or a volatile read-write memory device, such as a dynamic random access memory. The system memory may store instructions and data that some or all of the processors require at runtime. In addition, the memory 610 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), magnetic and/or optical disks, may also be employed. In some embodiments, memory 610 may include a removable storage device that is readable and/or writable, such as a Compact Disc (CD), a digital versatile disc read only (e.g., DVD-ROM, dual layer DVD-ROM), a Blu-ray disc read only, an ultra-dense disc, a flash memory card (e.g., SD card, min SD card, Micro-SD card, etc.), a magnetic floppy disk, or the like. Computer-readable storage media do not contain carrier waves or transitory electronic signals transmitted by wireless or wired means.
The memory 610 has stored thereon executable code, which when processed by the processor 620, may cause the processor 620 to perform the above-mentioned data transfer method (e.g., the LoRa data transfer method) or data processing method (e.g., the LoRa data processing method).
The gateway, the data transmission method/data processing method, and the computing device according to the present disclosure have been described in detail above with reference to the accompanying drawings.
Furthermore, the method according to the present disclosure may also be implemented as a computer program or computer program product comprising computer program code instructions for performing the above-mentioned steps defined in the above-mentioned method of the present disclosure.
Alternatively, the present disclosure may also be embodied as a non-transitory machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) having stored thereon executable code (or a computer program, or computer instruction code) which, when executed by a processor of an electronic device (or computing device, server, etc.), causes the processor to perform the various steps of the above-described method according to the present disclosure.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems and methods according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Claims (22)
1. A LoRa data transmission method comprises the following steps:
a first LoRa node is arranged inside the LoRa gateway;
and uploading data to a server by using the first LoRa node.
2. The method of claim 1, wherein,
the first LoRa node is a virtual LoRa node.
3. The method of claim 1, wherein uploading data to a server using the first LoRa node comprises:
and uploading the data of the LoRa gateway to a server by using the first LoRa node.
4. The method of claim 1, further comprising:
receiving the data sent by the second LoRa node,
wherein, the step of uploading data to a server by using the first LoRa node comprises: and uploading the data of the second LoRa node to a server by using the first LoRa node.
5. The method of claim 1, further comprising:
receiving data sent by a second LoRa node;
and sending the data of the second LoRa node to other LoRa nodes by utilizing the first LoRa node.
6. The method of claim 1, further comprising:
receiving data sent by a second LoRa node, and processing the data;
and sending the processed data to other LoRa nodes by utilizing the first LoRa node.
7. The method of any of claims 4 to 6, further comprising:
receiving a key sent by the server;
and sending the key to the first LoRa node and one or more second LoRa nodes, wherein the data sent by the second LoRa nodes are the data encrypted by the key.
8. The method of claim 7, further comprising:
and analyzing the data by the first LoRa node based on the key to obtain analyzed data.
9. The method of claim 8, further comprising:
processing the analyzed data;
and outputting a processing result.
10. The method of claim 1, further comprising:
sending a network access request to the server by the first LoRa node;
and receiving the network access response sent by the server by the first LoRa node.
11. The method of claim 1, further comprising:
receiving downlink data sent by a server;
judging whether the LoRa node aimed at by the downlink data is the first LoRa node;
forwarding the downlink data to the first LoRa node and/or forwarding the downlink data to the first LoRa node when the LoRa node for the downlink data is determined to be the first LoRa node
And under the condition that the LoRa node aimed at by the downlink data is not the first LoRa node, sending the downlink data to the corresponding LoRa node in a radio frequency mode.
12. A LoRa data processing method comprises the following steps:
a first LoRa node is arranged inside the LoRa gateway;
receiving a key sent by a server;
sending the key to the first LoRa node and one or more second LoRa nodes;
receiving data sent by the second LoRa node through the LoRa gateway, wherein the data is encrypted by the secret key;
forwarding the data to the first LoRa node;
and analyzing the data by the first LoRa node based on the key to obtain analyzed data.
13. The method of claim 12, further comprising:
processing the analyzed data;
and outputting the processing result or sending the processing result to other LoRa nodes.
14. A method of data transmission, comprising:
setting a first node inside a gateway;
and uploading the data to a server by using the first node.
15. A method of data processing, comprising:
setting a first node inside a gateway;
receiving a key sent by a server;
sending the key to the first node and one or more second nodes;
receiving data sent by the second node through the gateway, wherein the data is encrypted by the secret key;
forwarding the data to the first node;
and analyzing the data by the first node based on the key to obtain analyzed data.
16. A LoRa gateway, comprising:
a gateway device and a first LoRa node,
the gateway device is used for realizing data transmission between the LoRa node and the server,
the first LoRa node is used for sending data to the server and/or receiving the data sent by the server.
17. A LoRa gateway, comprising:
a gateway device and a first LoRa node,
the gateway device receives the key sent by the server,
the gateway device sends the key to the first LoRa node and one or more second LoRa nodes,
the gateway device forwards the received data sent by the second LoRa node to the first LoRa node, wherein the data is the data encrypted by the key,
and analyzing the data by the first LoRa node based on the key to obtain analyzed data.
18. A LoRa network, comprising: the system comprises an LoRa gateway and one or more second LoRa nodes, wherein the LoRa gateway is provided with a first LoRa node,
the LoRa gateway receives the key sent by the server and respectively sends the key to the first LoRa node and the second LoRa node,
the LoRa gateway receives the data sent by the second LoRa node and forwards the data to the first LoRa node,
the first LoRa node parses the data based on the key.
19. A gateway, comprising:
a gateway device and a first node,
the gateway device is used for realizing data transmission between the node and the server,
the first node is used for sending data to the server and/or receiving data sent by the server.
20. A gateway, comprising:
a gateway device and a first node,
the gateway device receives the key sent by the server,
the gateway device sends the key to the first node and one or more second nodes,
the gateway device forwards the received data sent by the second node to the first node, wherein the data is encrypted by the secret key,
and analyzing the data by the first node based on the key to obtain analyzed data.
21. A computing device, comprising:
a processor; and
a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the method of any of claims 1 to 15.
22. A non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform the method of any of claims 1-15.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010215299.8A CN113453224B (en) | 2020-03-24 | 2020-03-24 | Gateway, data transmission method and data processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010215299.8A CN113453224B (en) | 2020-03-24 | 2020-03-24 | Gateway, data transmission method and data processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113453224A true CN113453224A (en) | 2021-09-28 |
| CN113453224B CN113453224B (en) | 2024-01-02 |
Family
ID=77807488
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010215299.8A Active CN113453224B (en) | 2020-03-24 | 2020-03-24 | Gateway, data transmission method and data processing method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113453224B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103096310A (en) * | 2011-11-08 | 2013-05-08 | 中国移动通信集团公司 | Sensor network communication method and device and sensor network panel point device and gateway device |
| CN107071791A (en) * | 2017-03-31 | 2017-08-18 | 深圳市亿道数码技术有限公司 | A kind of network-building method and system based on LoRa |
| CN207251930U (en) * | 2017-10-16 | 2018-04-17 | 山西三凡信息工程有限公司 | The simple gateways of LoRa |
| CN108173752A (en) * | 2017-12-22 | 2018-06-15 | 成都博高信息技术股份有限公司 | LORAWAN gateways and its control method |
| CN108600376A (en) * | 2018-04-27 | 2018-09-28 | 深圳市信锐网科技术有限公司 | Data transmission method, device, LoRa gateways, system based on LoRa and storage medium |
| CN110891330A (en) * | 2019-12-06 | 2020-03-17 | 深圳大学 | LoRa gateway equipment based on edge calculation |
-
2020
- 2020-03-24 CN CN202010215299.8A patent/CN113453224B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103096310A (en) * | 2011-11-08 | 2013-05-08 | 中国移动通信集团公司 | Sensor network communication method and device and sensor network panel point device and gateway device |
| CN107071791A (en) * | 2017-03-31 | 2017-08-18 | 深圳市亿道数码技术有限公司 | A kind of network-building method and system based on LoRa |
| CN207251930U (en) * | 2017-10-16 | 2018-04-17 | 山西三凡信息工程有限公司 | The simple gateways of LoRa |
| CN108173752A (en) * | 2017-12-22 | 2018-06-15 | 成都博高信息技术股份有限公司 | LORAWAN gateways and its control method |
| CN108600376A (en) * | 2018-04-27 | 2018-09-28 | 深圳市信锐网科技术有限公司 | Data transmission method, device, LoRa gateways, system based on LoRa and storage medium |
| CN110891330A (en) * | 2019-12-06 | 2020-03-17 | 深圳大学 | LoRa gateway equipment based on edge calculation |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113453224B (en) | 2024-01-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9661558B2 (en) | Service constraint advertisement and discovery | |
| US9548869B2 (en) | Systems and methods for implementing multicasting using personal area network “pan” wireless technology | |
| CN105991412B (en) | Information push method and device | |
| WO2019128873A1 (en) | Beam training method and relevant device | |
| US10070273B2 (en) | Multicast group management technique | |
| CN104581620A (en) | Location information based service providing method, device and system as well as terminal device | |
| WO2023246431A1 (en) | Communication method and apparatus | |
| CN110753332A (en) | Data processing method and device based on Bluetooth SIG MESH and terminal to be unlocked | |
| CN111464322A (en) | Communication method, device, equipment and storage medium of Internet of things platform and equipment | |
| CN116828574A (en) | System information sending method, device, electronic equipment and storage medium | |
| US20140321344A1 (en) | System and method for optimizing battery life in wireless multi-hop communication systems | |
| HK40059937A (en) | Gateway, data transmission method and data processing method | |
| CN113453224B (en) | Gateway, data transmission method and data processing method | |
| CN116910330B (en) | Financial archive management method, system, electronic equipment and storage medium | |
| CN108769084B (en) | Processor and firewall | |
| CN115514587B (en) | Communication device, method, electronic device and storage medium | |
| Nagajothy et al. | Network lifetime enhancement in wireless sensor network using network coding | |
| CN116095153A (en) | An identification analysis method, device and medium based on a data communication module | |
| CN109542833A (en) | A kind of server management method based on microserver framework, device, server | |
| Xue et al. | Development of prototype product of Vehicle Ad-hoc Network communication terminal | |
| CN115499841A (en) | Time synchronization attack detection method for industrial wireless network | |
| Gallina et al. | A process calculus for energy‐aware multicast communications of mobile ad hoc networks | |
| CN114340037B (en) | Communication method, system, equipment and medium between LoRaWAN (Long-Range Wide area network) equipment | |
| CN111667615A (en) | Intelligent lock wireless downlink data reminding method and device, terminal and storage medium | |
| CN114786243A (en) | Indication method and user equipment for validity of reference signal transmission timing |
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 | ||
| REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40059937 Country of ref document: HK |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |