CN112887178B - Terminal network access method, device, equipment and storage medium of LoRaWAN server - Google Patents

Terminal network access method, device, equipment and storage medium of LoRaWAN server Download PDF

Info

Publication number
CN112887178B
CN112887178B CN202110030479.3A CN202110030479A CN112887178B CN 112887178 B CN112887178 B CN 112887178B CN 202110030479 A CN202110030479 A CN 202110030479A CN 112887178 B CN112887178 B CN 112887178B
Authority
CN
China
Prior art keywords
terminal
application
existing group
packet
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110030479.3A
Other languages
Chinese (zh)
Other versions
CN112887178A (en
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.)
XIAMEN FOUR-FAITH COMMUNICATION TECHNOLOGY CO LTD
Original Assignee
XIAMEN FOUR-FAITH COMMUNICATION TECHNOLOGY CO LTD
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 XIAMEN FOUR-FAITH COMMUNICATION TECHNOLOGY CO LTD filed Critical XIAMEN FOUR-FAITH COMMUNICATION TECHNOLOGY CO LTD
Priority to CN202110030479.3A priority Critical patent/CN112887178B/en
Publication of CN112887178A publication Critical patent/CN112887178A/en
Application granted granted Critical
Publication of CN112887178B publication Critical patent/CN112887178B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a terminal network access method, device, equipment and storage medium of a LoRaWAN server, and relates to the technical field of Internet of things. The terminal network access method of the LoRaWAN server comprises the following steps: and S102, receiving a networking request packet sent by the terminal. The networking request packet comprises a device unique code, an application identifier and an application key of the terminal. S103, judging whether the terminal belongs to the existing group or not according to the application identifier and the application key. Where each packet has a different application identity and application key. And S104, when the terminal is judged to belong to the existing group, establishing connection with the terminal according to the unique equipment code. Otherwise, the network request packet is discarded. Only the application identifier and the application key which are used as the grouping identifier need to be recorded on the network server, and the unique code of the equipment is automatically recorded after the equipment initiates networking. The unique code of the equipment does not need to be manually input, and the workload and difficulty of deployment, operation and maintenance are reduced on the premise of not changing the original OTAA network access mode.

Description

Terminal network access method, device, equipment and storage medium of LoRaWAN server
Technical Field
The invention relates to the technical field of Internet of things, in particular to a terminal network access method, device, equipment and storage medium of a LoRaWAN server.
Background
LoRaWAN is a standard protocol specification of LoRa communication, and the specification is jointly established by the LoRa alliance.
At present, The network access modes of LoRaWAN comprise two modes, namely OTAA (OveW-The-AirA Activation in The air) and ABP (Activation By Personalization independent Activation). The OTAA configures the same triple information (DevEUI (device unique identification code), AppEUI (application identification code), and AppKEY) in advance for the device side and the server side, the device sends a networking request, the server receives the triple information and verifies the triple information, and after verification is successful, the device and the server obtain the same DevAddr (short address), NwkSKey, and AppSKey (application session key). The ABP configures the same session address and key information DevAddr (short address), NwkSKey (network session key), and AppSKey (application session key) for the device side and the server, and does not need to perform a networking process.
The ABP mode is configured with session key information and the like, the key is transmitted to the equipment end and the network server in a plaintext mode for adding, and once the information reveals communication data, the information can be monitored and decrypted. The network access mode of the OTAA is that only DevEUI (device unique identification code), AppEUI (application identification) and AppKEY (application key) are configured at the device end and the server end, information such as the key dynamically generated during network access is adopted during data communication, and different parameters such as session information are dynamically allocated during network access every time, so that preconfigured information is leaked, communication data cannot be decrypted, and the security of the data is higher, so that the OTAA is also the mainstream network access mode at present.
The network access mode of OTAA needs to count the information of each device before deployment, and the information is manually entered into a network server after counting, so that huge manpower and material resources are needed under the condition of a large number of deployed devices, and phenomena such as mismatching and omission easily occur. In the maintenance process, equipment damage, replacement and newly added equipment are inevitable, and independent statistics and entry to a network server are required each time, so that the workload and difficulty of deployment and maintenance are greatly increased.
Disclosure of Invention
The invention provides a terminal network access method, a terminal network access device, terminal network access equipment and a storage medium of a LoRaWAN (Long-haul wireless LAN) server, which aim to solve the problem that complete triple information needs to be input before the OTAA in the related technology is accessed to the network.
First aspect
The embodiment of the invention provides a terminal network access method of a LoRaWAN server, which comprises the following steps:
s102, receiving a networking request packet sent by a terminal; wherein, the networking request packet comprises a device unique code, an application identifier and an application key of the terminal;
s103, judging whether the terminal belongs to the existing group or not according to the application identifier and the application key; wherein each packet has a different application identity and application key;
s104, when the terminal is judged to belong to the existing group, establishing connection with the terminal according to the unique equipment code; otherwise, discarding the networking request packet.
Optionally, before receiving the networking request packet sent by the terminal, the method further includes:
s101, creating a group; wherein the packet is configured with an application identity and an application key.
Optionally, determining, according to the application identifier and the application key, whether the terminal belongs to an existing group, specifically:
searching the existing group according to the application identifier and the application secret key of the terminal;
when the application identifier and the application key of the existing group are the same as the application identifier and the application key of the terminal, judging that the terminal belongs to the existing group; otherwise, judging that the terminal does not belong to the existing group.
Optionally, when it is determined that the terminal belongs to the existing group, establishing a connection with the terminal according to the device unique code, specifically:
when the terminal is judged to belong to the existing group, whether the unique equipment code exists in a database is inquired;
when the unique equipment code exists in the database, connection is established with the terminal;
and when the unique equipment code does not exist in the database, recording the unique equipment code into the database and then establishing connection with the terminal.
Second aspect of the invention
The embodiment of the invention provides a terminal network access device of a LoRaWAN server, which comprises the following modules:
the network request packet receiving module is used for receiving a network request packet sent by a terminal; wherein, the networking request packet comprises a device unique code, an application identifier and an application key of the terminal;
the grouping confirmation module is used for judging whether the terminal belongs to the existing grouping according to the application identifier and the application secret key; wherein each packet has a different application identity and application key;
the terminal connection module is used for establishing connection with the terminal according to the unique equipment code when the terminal is judged to belong to the existing group; otherwise, discarding the networking request packet.
Optionally, the networking request packet receiving module further comprises a packet creating module before;
a packet creation module for creating a packet; wherein the packet is configured with an application identity and an application key.
Optionally, the packet acknowledgement module is specifically configured to:
searching the existing group according to the application identifier and the application secret key of the terminal;
when the application identifier and the application key of the existing group are the same as the application identifier and the application key of the terminal, the terminal belongs to the existing group; otherwise, the terminal does not belong to the existing packet.
Optionally, the terminal connection module includes:
the database query unit is used for querying whether the unique equipment code exists in the database when the terminal is judged to belong to the existing group;
the first connection unit is used for establishing connection with the terminal when the unique equipment code exists in the database;
and the second connection unit is used for recording the unique equipment code into the database and then establishing connection with the terminal when the unique equipment code does not exist in the database.
Third aspect of the invention
The embodiment of the invention provides terminal network access equipment of a LoRaWAN (Long area network) server, which is characterized by comprising a processor, a memory and a computer program stored in the memory; the computer program is executable by the processor to implement the terminal network access method of the LoRaWAN server according to the first aspect.
Fourth aspect of the invention
An embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, where when the computer program runs, a device on which the computer-readable storage medium is located is controlled to perform the terminal network access method of the LoRaWAN server according to the first aspect.
By adopting the technical scheme, the invention can obtain the following technical effects:
the terminal network access method of the LoRaWAN server provided by the embodiment of the invention only needs to input the application identifier and the application secret key which are used as the grouping identifier on the network server, and automatically inputs the unique code of the equipment after the equipment initiates networking. The unique code of the equipment does not need to be manually input, and the workload and difficulty of deployment, operation and maintenance are reduced on the premise of not changing the original OTAA network access mode.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a flowchart illustrating a terminal network access method of a LoRaWAN server according to a first embodiment of the present invention.
Fig. 2 is a logic block diagram of a terminal network access method of a LoRaWAN server according to a first embodiment of the present invention.
Fig. 3 is a flowchart illustrating another terminal network access method of the LoRaWAN server according to another embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a terminal network access device of a LoRaWAN server according to a second embodiment of the present invention.
Fig. 5 is a schematic structural diagram of another terminal network access device of a LoRaWAN server according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In the embodiments, the references to "first \ second" are merely to distinguish similar objects and do not represent a specific ordering for the objects, and it is to be understood that "first \ second" may be interchanged with a specific order or sequence, where permitted. It should be understood that "first \ second" distinct objects may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced in sequences other than those illustrated or described herein.
The invention is described in further detail below with reference to the following detailed description and accompanying drawings:
the first embodiment is as follows:
referring to fig. 1 and fig. 2, a terminal network access method of a LoRaWAN server according to a first embodiment of the present invention is provided. The terminal network access method is described from the server side, and may be executed by a LoRaWAN server (hereinafter referred to as a server). In particular, for execution by one or more processors within a server, to implement the steps of:
and S102, receiving a networking request packet sent by the terminal. The networking request packet comprises a device unique code, an application identifier and an application key of the terminal.
In this embodiment, the terminal may be a networking device in the internet of things, for example: temperature and humidity sensor terminals, water meters, gas meters, smoke alarms, pet trackers, and the like, which are not particularly limited in this respect.
It is understood that the networking request packet may include other information, such as a data packet header, a check code, a random number, etc., in addition to a device unique code (DevEUI), an application identifier (AppEUI), and an application key (AppKEY) of the terminal. The specific content of the request packet for networking belongs to the prior art, and the detailed description of the present invention is omitted.
It should be noted that the network access mode of the LoRaWAN protocol includes an open intermediate activation (OTAA) and an independent Activation (ABP). In the independent activation mode, the server directly establishes connection with the terminal after receiving the networking request without verification, and in the air activation mode, after receiving the networking request packet, the server needs to check whether the terminal is recorded into a database of the server according to the content of the networking request packet, and only the terminal recorded into the database can establish connection with the server. The invention aims at optimizing an air activation network access mode.
In the prior art, network access is performed by using an over-the-air activation method, and triple information of a terminal, namely, three information, namely, a device unique code (DevEUI), an application identifier (AppEUI), and an application key (AppKEY), needs to be recorded in advance on a server. Whether to establish connection with the terminal is determined by checking whether the triplet information of the terminal exists on the server.
As shown in fig. 2, a networking request packet sent by a terminal may be transmitted to a server only through an intermediate device such as a gateway, which belongs to the prior art and is not described in detail herein.
S103, judging whether the terminal belongs to the existing group or not according to the application identifier and the application key. Where each packet has a different application identity and application key.
It should be noted that the triplet information of the terminal is preset by the manufacturer when the terminal is produced or shipped from the factory. Different terminals may have the same application identification and application key, but the device unique code is unique.
In this embodiment, when setting triplet information, terminals are grouped according to the type of the terminal or an application scenario, and terminals grouped by each terminal set the same application identifier and application key. Also, groups are provided on the servers, each server group having different grouping parameters. The packet parameters are the application identification and the application key of the packet. The grouping on the server may be preset by a manufacturer when the server leaves a factory, or may be set by a user, which is not specifically limited by the present invention.
In other embodiments, the application identifier and application key of each terminal may also be set to be unique. I.e. only one terminal per packet on the server. Before a new terminal is added, a new group needs to be created on the server, and an application identifier and an application key of the terminal are input.
A terminal belongs to a group of servers when its application identity and application key are the same as those of the group. I.e. belonging to an existing packet on the server.
On the basis of the foregoing embodiment, in an optional embodiment of the present invention, step S103 specifically includes:
and searching the existing group according to the application identifier and the application key of the terminal.
And when the application identifier and the application key of the existing group are the same as the application identifier and the application key of the terminal, judging that the terminal belongs to the existing group. Otherwise, judging that the terminal does not belong to the existing group.
Specifically, after receiving a networking request packet sent by a terminal, the server analyzes the packet according to the LoRaWAN protocol, and sequentially checks whether an application identifier and an application key in the networking request packet are the same as packet parameters in the network server.
And S104, when the terminal is judged to belong to the existing group, establishing connection with the terminal according to the unique equipment code. Otherwise, the network request packet is discarded.
In this embodiment, when it is determined that a packet parameter consistent with a parameter in a request packet for network addition exists, that is, when it is determined that a terminal belongs to an existing packet, verification is passed and subsequent steps are executed, and the subsequent steps are not used as a basis for determining whether to establish a connection. Therefore, in the previous entry work, only the application identifier and the application secret key need to be entered into the server, and the unique code of the equipment does not need to be entered, so that the labor amount of workers is greatly reduced, and the method has good practical significance.
On the basis of the foregoing embodiment, in an optional embodiment of the present invention, step S104 specifically includes:
and when judging that the terminal belongs to the existing group, inquiring whether the unique equipment code exists in the database.
And when the unique equipment code exists in the database, establishing connection with the terminal.
And when the unique equipment code does not exist in the database, recording the unique equipment code into the database and then establishing connection with the terminal.
In this embodiment, after the application id and the application key are verified. And when the terminal is judged to belong to the existing group, further checking the unique code of the equipment. But directly looks up whether the device unique code of the terminal exists in the database. When the code exists, the information such as the session key is updated and connection is established with the terminal. And when the code does not exist, recording the unique code of the equipment in the networking request packet into a guide database, then updating information such as a session key and the like, and establishing connection with the terminal.
Therefore, the server can be connected without inputting the equipment one-bit code of the terminal on the server in the earlier stage, so that the work of inputting information into the server in the earlier stage work is greatly reduced, and the risk of information leakage in the earlier stage information handover work is also reduced. And because a plurality of terminals correspond to one group, the information amount which needs to be input into the server in the earlier stage is greatly reduced.
Specifically, after the unique equipment code is inquired to exist in the database or the unique equipment code is recorded into the database, a networking acceptance packet is added according to a LoRaWAN protocol group, the networking acceptance packet is forwarded to the equipment through a gateway, and finally, the equipment is kept consistent with the DevAddr (short address), the NwkSKey (network session key) and the AppSKey (application session key) of the network server according to the LoRaWAN protocol and an encryption and decryption algorithm. Subsequent data communications are communicated using these parameters. Which belongs to the prior art, the present invention is not described again.
The terminal network access method of the LoRaWAN server only improves the server, can reduce the workload of workers and the risk of information leakage on the premise of not changing the original network access mode of air activation, and has good practical significance.
As shown in fig. 3, on the basis of the foregoing embodiment, in an alternative embodiment of the present invention, step S102 further includes:
s101, creating a grouping. Wherein the packet is configured with an application identity and an application key.
In this embodiment, a new group may be created on the server (i.e., a new application identifier and a new application key are entered), so that the server may connect to the terminal of the new group. The expansion capability of the server is ensured.
Example two:
referring to fig. 4, a terminal network access device of a LoRaWAN server according to a second embodiment of the present invention includes the following modules:
a networking request packet receiving module 220, configured to receive a networking request packet sent by a terminal. The networking request packet comprises a device unique code, an application identifier and an application key of the terminal.
And the packet confirmation module 230 is configured to determine whether the terminal belongs to an existing packet according to the application identifier and the application key. Where each packet has a different application identity and application key.
And the terminal connection module 240 is configured to establish a connection with the terminal according to the device unique code when the terminal is determined to belong to the existing group. Otherwise, the networking request packet is discarded.
As shown in fig. 5, on the basis of the above embodiment, in an alternative embodiment of the present invention, the networking request packet receiving module further includes a packet creating module.
A packet creation module 210 for creating a packet. Wherein the packet is configured with an application identity and an application key.
On the basis of the foregoing embodiment, in an optional embodiment of the present invention, the packet acknowledgement module is specifically configured to:
and searching the existing group according to the application identifier and the application key of the terminal.
When there is an application identity and an application key of an existing group identical to that of the terminal, the terminal belongs to the existing group. Otherwise, the terminal does not belong to the existing packet.
On the basis of the above embodiment, in an optional embodiment of the present invention, the terminal connection module includes:
and the database query unit is used for querying whether the unique equipment code exists in the database or not when the terminal is judged to belong to the existing group.
And the first connection unit is used for establishing connection with the terminal when the equipment unique code exists in the database.
And the second connecting unit is used for recording the unique equipment code into the database and then establishing connection with the terminal when the unique equipment code does not exist in the database.
Example three:
a third embodiment of the present invention provides a terminal network access device of a LoRaWAN server, which is characterized by including a processor, a memory, and a computer program stored in the memory. The computer program can be executed by a processor to implement the terminal network entry method of the LoRaWAN server as described in embodiment 1.
Example four:
a fourth embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, where when the computer program runs, a device in which the computer-readable storage medium is located is controlled to execute the terminal network accessing method of the LoRaWAN server according to embodiment 1.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. 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.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part thereof, which essentially contributes to the prior art, can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, an electronic device 100, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A terminal network access method of a LoRaWAN server is applicable to an air-activated network access mode in a LoRaWAN protocol, and is characterized by comprising the following steps:
receiving a networking request packet sent by a terminal; wherein, the networking request packet comprises a device unique code, an application identifier and an application key of the terminal;
judging whether the terminal belongs to the existing group or not according to the application identifier and the application key; the grouping is set according to the type of the terminal or an application scene, and each grouping has different grouping parameters; the grouping parameters comprise application identifications and application keys;
when the terminal is judged to belong to the existing group, establishing connection with the terminal according to the unique equipment code; otherwise, discarding the networking request packet;
when the terminal is judged to belong to the existing group, establishing connection with the terminal according to the unique equipment code, specifically:
when the terminal is judged to belong to the existing group, whether the unique equipment code exists in a database is inquired;
when the unique equipment code exists in the database, connection is established with the terminal;
and when the unique equipment code does not exist in the database, recording the unique equipment code into the database and then establishing connection with the terminal.
2. The terminal network entry method according to claim 1, further comprising, before receiving the request packet for network entry sent by the terminal:
creating a packet; wherein the packet is configured with an application identity and an application key.
3. The method according to claim 1, wherein the determining whether the terminal belongs to an existing group according to the application identifier and the application key specifically includes:
searching the existing group according to the application identifier and the application secret key of the terminal;
when the application identifier and the application key of the existing group are the same as the application identifier and the application key of the terminal, judging that the terminal belongs to the existing group; otherwise, judging that the terminal does not belong to the existing group.
4. A terminal network access device of a LoRaWAN server is suitable for an over-the-air activated network access mode in a LoRaWAN protocol, and is characterized by comprising the following components:
the network request packet receiving module is used for receiving a network request packet sent by a terminal; wherein, the networking request packet comprises a device unique code, an application identifier and an application key of the terminal;
the grouping confirmation module is used for judging whether the terminal belongs to the existing grouping according to the application identifier and the application secret key; the grouping is set according to the type of the terminal or an application scene, and each grouping has different grouping parameters; the grouping parameters comprise application identifications and application keys;
the terminal connection module is used for establishing connection with the terminal according to the unique equipment code when the terminal is judged to belong to the existing group; otherwise, discarding the networking request packet;
the terminal connection module includes:
the database query unit is used for querying whether the unique equipment code exists in a database or not when the terminal is judged to belong to the existing group;
the first connection unit is used for establishing connection with the terminal when the unique equipment code exists in the database;
and the second connection unit is used for recording the unique equipment code into the database and then establishing connection with the terminal when the unique equipment code does not exist in the database.
5. The device of claim 4, wherein the networking request packet receiving module further comprises a packet creation module;
a packet creation module for creating a packet; wherein the packet is configured with an application identity and an application key.
6. The device according to claim 4, wherein the packet acknowledgement module is specifically configured to:
searching the existing group according to the application identifier and the application secret key of the terminal;
when the application identifier and the application key of the existing group are the same as the application identifier and the application key of the terminal, the terminal belongs to the existing group; otherwise, the terminal does not belong to the existing packet.
7. A terminal network access device of a LoRaWAN server is characterized by comprising a processor, a memory and a computer program stored in the memory; the computer program is executable by the processor to implement the terminal network entry method of the LoRaWAN server according to any one of claims 1 to 3.
8. A computer-readable storage medium, comprising a stored computer program, wherein when the computer program runs, the computer-readable storage medium controls an apparatus to execute the terminal networking method of the LoRaWAN server according to any one of claims 1 to 3.
CN202110030479.3A 2021-01-11 2021-01-11 Terminal network access method, device, equipment and storage medium of LoRaWAN server Active CN112887178B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110030479.3A CN112887178B (en) 2021-01-11 2021-01-11 Terminal network access method, device, equipment and storage medium of LoRaWAN server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110030479.3A CN112887178B (en) 2021-01-11 2021-01-11 Terminal network access method, device, equipment and storage medium of LoRaWAN server

Publications (2)

Publication Number Publication Date
CN112887178A CN112887178A (en) 2021-06-01
CN112887178B true CN112887178B (en) 2022-06-14

Family

ID=76046086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110030479.3A Active CN112887178B (en) 2021-01-11 2021-01-11 Terminal network access method, device, equipment and storage medium of LoRaWAN server

Country Status (1)

Country Link
CN (1) CN112887178B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114786238A (en) * 2022-03-29 2022-07-22 广东芬尼克兹节能设备有限公司 Lora terminal equipment network access method, device, terminal equipment, system and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107959930A (en) * 2017-11-20 2018-04-24 新华三技术有限公司 Terminal access method, device, Lora servers and Lora terminals
CN109743772A (en) * 2019-02-27 2019-05-10 北京博锐尚格节能技术股份有限公司 Method of network entry and LoRaWAN terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152401B (en) * 2013-02-07 2016-12-28 百度在线网络技术(北京)有限公司 Mobile terminal and carry out the method, system and the cloud server that log in by it
US10244392B2 (en) * 2016-05-23 2019-03-26 International Business Machines Corporation Over-the-air personalization of network devices
EP3306886B1 (en) * 2016-10-10 2020-08-26 Giesecke+Devrient Mobile Security GmbH Lpwa communication system join-in
CN106656700B (en) * 2017-03-03 2019-09-13 国动物联网技术(上海)有限公司 A kind of LoRaWAN Internet of Things application cut-in method
FR3065605A1 (en) * 2017-04-19 2018-10-26 Orange COMMUNICATION SYSTEM AND METHOD
CN108616882A (en) * 2018-04-10 2018-10-02 青岛海尔科技有限公司 Household appliance matches network method, method of network entry, device, storage medium and equipment
CN111901898B (en) * 2020-05-08 2021-04-09 广州技象科技有限公司 Terminal attachment method and device based on narrowband Internet of things
CN111953570B (en) * 2020-07-14 2022-10-11 深圳市拓邦软件技术有限公司 Communication management method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107959930A (en) * 2017-11-20 2018-04-24 新华三技术有限公司 Terminal access method, device, Lora servers and Lora terminals
CN109743772A (en) * 2019-02-27 2019-05-10 北京博锐尚格节能技术股份有限公司 Method of network entry and LoRaWAN terminal

Also Published As

Publication number Publication date
CN112887178A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN107770182B (en) Data storage method of home gateway and home gateway
EP2548390B1 (en) Facilitating authentication of access terminal identity
CN107493280A (en) Method, intelligent gateway and the certificate server of user authentication
CN108141454B (en) Automatic grouping, authentication and provisioning access points using cloud-based WLAN infrastructure management
CN108234450B (en) Identity authentication method, terminal registration method, server and terminal
CN106464556B (en) Node network access method, device and system
CN104580553A (en) Identification method and device for network address translation device
CN112887178B (en) Terminal network access method, device, equipment and storage medium of LoRaWAN server
CN111901208A (en) Intelligent equipment control method and device, intelligent control panel and storage medium
CN111586691A (en) Method and device for configuring wireless connection and wireless connectable equipment
CN107959930A (en) Terminal access method, device, Lora servers and Lora terminals
CN107124312A (en) The method and apparatus of equipment in network configuration
CN108494764B (en) Identity authentication method and device
CN105812380A (en) Verification method and device
CN106537962B (en) Wireless network configuration, access and access method, device and equipment
CN110719292B (en) Connection authentication method and system for edge computing equipment and central cloud platform
CN112020057B (en) Method and system for identifying message
CN111246396A (en) Complete machine burning method and system based on UDP local area network
CN115988050A (en) Session-based IPMI communication method, system, storage medium and equipment
EP3557838A1 (en) Monitoring the behaviour of at least one communication device
CN111835504A (en) Identification code generation method and server
CN103888947A (en) Control method and system of network element wireless control
CN115633359A (en) PFCP session security detection method, device, electronic equipment and storage medium
US11461478B2 (en) Mobile network core component for managing security keys
CN111147269B (en) Access point configuration method, networking system, access point and storage 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
GR01 Patent grant
GR01 Patent grant