CN108810936A - A kind of configuration method and device of LoRa terminals - Google Patents
A kind of configuration method and device of LoRa terminals Download PDFInfo
- Publication number
- CN108810936A CN108810936A CN201810510505.0A CN201810510505A CN108810936A CN 108810936 A CN108810936 A CN 108810936A CN 201810510505 A CN201810510505 A CN 201810510505A CN 108810936 A CN108810936 A CN 108810936A
- Authority
- CN
- China
- Prior art keywords
- configuration
- lora
- difference
- terminals
- running
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0889—Techniques to speed-up the configuration process
Abstract
The present invention provides a kind of configuration method and device of LoRa terminals, the method includes:When LoRa terminals are reached the standard grade, obtains the running configuration of itself and the difference of default configuration configures;The reliable uplink data messages for carrying the difference and configuring are sent to LoRa servers, so that LoRa servers return to the reliable downlink data message for carrying newest difference and configuring to the LoRa terminals, the newest difference configuration is relatively obtained the latest configuration for the LoRa terminals that itself is recorded according to the running configuration of the LoRa terminals of difference configuration reduction with the LoRa servers by the LoRa servers;When receiving the reliable downlink data message, the running configuration is updated to by the latest configuration according to the newest difference configuration.Therefore the quantity that LoRa server sending configuration messages can be reduced improves efficiency of the LoRa terminals from the drop-down configuration of LoRa servers.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of configuration methods and device of LoRa terminals.
Background technology
LoRaWAN (low-power consumption wide area network) networkings are by LoRa terminals, LoRa gateways and LoRa servers, wherein LoRa terminals
Quantity is more, and each LoRa terminal-pairs answer a LoRa gateway, all LoRa terminals and LoRa gateways to correspond to a LoRa clothes
Business device.Each LoRa terminals preserve default configuration in manufacture, but LoRa terminals are more required in different positions
Configuration parameter (such as message sends interval, frequency range, transmission power) can change compared to default configuration, it usually needs user
Configuration is pre-set to each LoRa terminals on LoRa servers, these preset configurations are then handed down to LoRa terminals.
The existing mode that issues is after being reached the standard grade by LoRa terminals by first confirmed data up (reliable uplink
Data) message pulls down configuration from LoRa servers, and LoRa servers are by confirmed data down by each LoRa ends
The custom configuration at end is handed down to LoRa terminals.However, all configurations are usually all handed down to LoRa ends by existing LoRa servers
LORA (Long Range, long away from) network interface-free resources are caused including the default configuration for not needing to largely issue in end
Waste.Since LORA agreements itself belong to half-duplex, and LORA up channels 8 and down channel only has 1, therefore LoRa
Queuing that just can only be in unique channel one by one when terminal is configured from LoRa server pulls pulls, and leads to LoRa
Terminal is extremely inefficient from the drop-down configuration of LoRa servers.
Invention content
In view of this, to provide configuration method and the device of a kind of LoRa terminals whole to solve LoRa in the prior art by the present invention
Hold the extremely inefficient problem from the drop-down configuration of LoRa servers.
Specifically, the present invention is achieved through the following technical solutions:
The present invention provides a kind of configuration method of LoRa terminals, and it is whole that the method is applied to the LoRa in LoRaWAN networkings
End, the method includes:
When LoRa terminals are reached the standard grade, obtains the running configuration of itself and the difference of default configuration configures;
The reliable uplink data messages for carrying the difference and configuring are sent to LoRa servers, so that LoRa servers are to institute
It states LoRa terminals and returns to the reliable downlink data message for carrying newest difference configuration, the newest difference configuration is taken by the LoRa
It is engaged in what device recorded itself according to the running configuration of the LoRa terminals of difference configuration reduction with the LoRa servers
The latest configuration of the LoRa terminals relatively obtains;
When receiving the reliable downlink data message, the running configuration is updated to by institute according to the newest difference configuration
State latest configuration.
Further, it obtains the running configuration of itself and the difference of default configuration configures, specially:
The first rope described in running configuration is searched according to corresponding first index number of the first configuration item in default configuration
Draw corresponding second configuration item of serial number;
Compare the corresponding first configuration parameter of first configuration item and second configuration item correspond to the second configuration parameter,
If the first configuration parameter is different from the second configuration parameter, difference configuration is obtained, includes institute in the difference configuration
State the first index number and the second configuration parameter.
Further, described that the running configuration is updated to by the latest configuration according to the newest difference configuration, have
Body is:
The second index number in being configured according to newest difference searches the second index number pair described in the running configuration
The configuration parameter of the third configuration item is updated to second rope in the newest difference configuration by the third configuration item answered
Draw the corresponding latest configuration parameter of serial number.
Also a kind of configuration method of LoRa terminals of the present invention, the method are applied to the LoRa services in LoRaWAN networkings
Device, the method includes:
The reliable uplink data messages that LoRa terminals are sent when reaching the standard grade are received, described in the reliable uplink data messages carry
The running configuration of LoRa terminals and the difference of default configuration configure;
The running configuration of the LoRa terminals is restored according to difference configuration;
The latest configuration of the running configuration and the LoRa terminals of LoRa servers record is relatively obtained most
New difference configuration;
It is sent to the LoRa terminals and carries the reliable downlink data message that the newest difference configures, so that the LoRa
The running configuration is updated to the latest configuration by terminal according to the newest difference configuration.
Further, the running configuration that the terminal is restored according to difference configuration, including:
Obtain the default configuration for the LoRa terminals that the LoRa servers preserve;
The corresponding configuration parameter of index number in being configured with the difference is replaced in the default configuration of the LoRa terminals
The corresponding configuration parameter of the index number, obtains the running configuration of the LoRa terminals.
Based on identical design, the present invention provides a kind of configuration device of LoRa terminals, and described device is applied to LoRaWAN
LoRa terminals in networking, described device include:
Difference acquiring unit, for when LoRa terminals are reached the standard grade, obtaining the running configuration of itself and the difference of default configuration
Configuration;
Packet sending unit, for sending the reliable uplink data messages for carrying the difference and configuring to LoRa servers,
So that LoRa servers return to the reliable downlink data message for carrying newest difference and configuring, the newest difference to the LoRa terminals
Itself is configured running configuration and the institute of the LoRa terminals of reduction by the LoRa servers by different configuration according to the difference
The latest configuration for stating the LoRa terminals of LoRa servers record relatively obtains;
Updating unit being configured, when for receiving the reliable downlink data message, being configured institute according to the newest difference
It states running configuration and is updated to the latest configuration.
Further, the difference acquiring unit is specifically used for according to the first configuration item in default configuration corresponding the
One index number searches corresponding second configuration item of the first index number described in running configuration;Compare first configuration item pair
The the first configuration parameter answered and second configuration item correspond to the second configuration parameter, if the first configuration parameter and described second
It is different to configure parameter, then obtains difference configuration, matches comprising first index number and described second in the difference configuration
Set parameter.
Further, the configuration updating unit is looked into specifically for the second index number in being configured according to newest difference
The corresponding third configuration item of the second index number described in the running configuration is looked for, more by the configuration parameter of the third configuration item
It is newly the corresponding latest configuration parameter of second index number in the newest difference configuration.
The present invention also provides a kind of configuration device of LoRa terminals, described device is applied to the LoRa in LoRaWAN networkings
Server, described device include:
Message receiving unit, for receiving the reliable uplink data messages sent when LoRa terminals are reached the standard grade, it is described can be top
The difference for the running configuration and default configuration that row data message carries the LoRa terminals configures;
Reduction unit is configured, the running configuration for restoring the LoRa terminals according to difference configuration;
Comparing unit is configured, the LoRa terminals for recording the running configuration and the LoRa servers are most
New configuration compares to obtain newest difference configuration;
Packet sending unit, for sending the reliable downlink data for carrying the newest difference and configuring to the LoRa terminals
Message, so that the running configuration is updated to the latest configuration by the LoRa terminals according to the newest difference configuration.
Further, the configuration reduction unit is specifically used for obtaining the LoRa ends that the LoRa servers preserve
The default configuration at end;The acquiescence that the corresponding configuration parameter of index number in being configured with the difference replaces the LoRa terminals is matched
The corresponding configuration parameter of index number described in setting, obtains the running configuration of the LoRa terminals.
It can be seen that when the present invention can make LoRa terminals reach the standard grade, the running configuration of itself and the difference of default configuration are obtained
Different configuration;The reliable uplink data messages for carrying the difference and configuring are sent to LoRa servers;LoRa servers are according to the difference
The running configuration of different configuration reduction LoRa terminals, and the LoRa terminals that the running configuration of reduction and LoRa servers are recorded
Latest configuration relatively obtains newest difference configuration, and the reliable downlink for carrying newest difference and configuring then is returned to the LoRa terminals
Data message;When LoRa terminals receive the reliable downlink data message, the operation is matched according to the newest difference configuration
It sets and is updated to the latest configuration.All configurations are issued to LoRa terminals by middle LoRa servers one by one compared with the prior art,
The LoRa servers of the present invention can issue most according to the latest configuration of the difference configuration and self record sent in LoRa terminals
New difference configuration improves LoRa terminals and is serviced from LoRa so as to reduce the quantity of LoRa server sending configuration messages
The efficiency of device drop-down configuration, has speeded the configuration distributing time, has reduced network arrangement convergence time.
Description of the drawings
Fig. 1 is a kind of process chart of the configuration method of LoRa terminals in a kind of illustrative embodiments of the present invention;
Fig. 2 is the process flow of the configuration method of another LoRa terminals in a kind of illustrative embodiments of the present invention
Figure;
Fig. 3 is the configuration interactive flow chart of another LoRa terminals in a kind of illustrative embodiments of the present invention;
The hardware of LoRa terminals where the configuration device of LoRa terminals in a kind of illustrative embodiments of Fig. 4 a present invention
Structure chart;
A kind of building-block of logic of the configuration device of LoRa terminals in a kind of illustrative embodiments of Fig. 4 b present invention;
LoRa servers is hard where the configuration device of LoRa terminals in a kind of illustrative embodiments of Fig. 5 a present invention
Part structure chart;
The building-block of logic of the configuration device of another LoRa terminals in a kind of illustrative embodiments of Fig. 5 b present invention.
Specific implementation mode
It is of the existing technology in order to solve the problems, such as, the present invention provides a kind of configuration method and device of LoRa terminals,
When LoRa terminals can be made to reach the standard grade, obtains the running configuration of itself and the difference of default configuration configures;It is sent to LoRa servers
Carry the reliable uplink data messages of the difference configuration;LoRa servers configure the operation of reduction LoRa terminals according to the difference
Configuration, and the latest configuration of the running configuration of reduction and the LoRa terminals of LoRa servers record is relatively obtained into newest difference
Then configuration returns to the reliable downlink data message for carrying newest difference and configuring to the LoRa terminals;LoRa terminals receive institute
When stating reliable downlink data message, the running configuration is updated to by the latest configuration according to the newest difference configuration.Phase
Than all configurations are issued to LoRa terminals one by one in LoRa servers in the prior art, LoRa servers of the invention can root
Newest difference configuration is issued according to the latest configuration of the difference configuration and self record sent in LoRa terminals, so as to reduce
The quantity of LoRa server sending configuration messages improves LoRa terminals from the efficiency of LoRa servers drop-down configuration, speeds
The configuration distributing time reduces network arrangement convergence time.
Referring to FIG. 1, being a kind of processing of the configuration method of LoRa terminals in a kind of illustrative embodiments of the present invention
Flow chart, the method are applied to the LoRa terminals in LoRaWAN networkings, the method includes:
Step 101, when LoRa terminals are reached the standard grade, obtain itself running configuration and default configuration difference configure;
In the present embodiment, LoRa terminals can be connected by elder generation according to being established with LoRa servers in a manner of existing after the power is turned on,
Receiving when being successfully accessed message (such as Join accept messages) of LoRa servers return, it is believed that itself is serviced with LoRa
Connection (that is, LoRa terminals are reached the standard grade) has been established in device;Then LoRa terminals can obtain itself running configuration and default configuration
Difference configures, and specifically, the running configuration of itself and default configuration can relatively be obtained difference configuration by LoRa terminals, wherein
Running configuration refers to the currently running configuration of LoRa terminals;Default configuration refers to LoRa terminals manufacture configuration.
Step 102 sends the reliable uplink data messages for carrying the difference and configuring to LoRa servers, so that LoRa takes
Business device returns to the reliable downlink data message for carrying newest difference and configuring to the LoRa terminals, and the newest difference configuration is by institute
LoRa servers are stated to service itself with the LoRa according to the running configuration of the LoRa terminals of difference configuration reduction
The latest configuration of the LoRa terminals of device record relatively obtains;
In the present embodiment, when LoRa terminals obtain difference configuration, it can be sent to LoRa servers and carry the difference
The reliable uplink data messages of different configuration can match so that after LoRa servers receive reliable uplink data messages according to difference
Set the running configuration of reduction LoRa terminals, and by the LoRa terminals of the running configuration of reduction and LoRa servers record
Latest configuration relatively obtains the configuration of newest difference, backward LoRa terminals return and carry the reliable downlink data that newest difference configures
Message.
Step 103, when receiving the reliable downlink data message, according to the newest difference configuration by the running configuration
It is updated to the latest configuration.
In the present embodiment, when LoRa terminals receive the reliable downlink data message of LoRa servers transmission, according to can
Newest difference in downlink data message is configured is updated to the latest configuration by the running configuration of LoRa terminals, so that itself is transported
The configuration consistency of capable configuration and user preset, to complete configuration process.The whole of middle LoRa terminals compared with the prior art
Configuration is all issued by LoRa servers, and LoRa terminals of the invention actively can send difference to configure on LoRa servers, fully
Using uplink channel resources, newest difference is subsequently issued by LoRa servers and is configured, to save down channel resources, and then is improved
Efficiency of the LoRa terminals from the drop-down configuration of LoRa servers.
As one embodiment, LoRa terminals can be that corresponding index is arranged in each configuration item in default configuration in advance
Serial number, the specific method that LoRa terminals obtain the difference configuration of the running configuration and default configuration of itself are:According to default configuration
In corresponding first index number of the first configuration item search corresponding second configuration of the first index number described in running configuration
?;Compare the corresponding first configuration parameter of first configuration item and second configuration item corresponds to the second configuration parameter, if institute
It states the first configuration parameter and the second configuration parameter is different, then obtain difference configuration, include described the in difference configuration
One index number and the second configuration parameter.
The present invention can carry out configuration comparison by the way that index number is arranged for configuration item, compare so as to reduce configuration
Time.
It further, can basis when LoRa terminals receive the reliable downlink data message for carrying newest difference configuration
The second index number in newest difference configuration searches the corresponding third configuration of the second index number described in the running configuration
, second index number that the configuration parameter of the third configuration item is updated in the newest difference configuration is corresponding
Latest configuration parameter.
As one embodiment, if the running configuration of LoRa terminals is identical with default configuration, difference is configured to 0, because
This can be sent on LoRa servers a difference be configured to 0 reliable uplink data messages, LoRa servers receive it is empty can
When by uplink data messages, the latest configuration of the default configuration of the LoRa terminals and LoRa servers record can relatively be obtained
Newest difference configuration, which is added in reliable downlink data message, is handed down to the LoRa terminals.
Referring to FIG. 2, being the place of the configuration method of another LoRa terminals in a kind of illustrative embodiments of the present invention
Flow chart is managed, the method is applied to the LoRa servers in LoRaWAN networkings, the method includes:
Step 201 receives the reliable uplink data messages sent when LoRa terminals are reached the standard grade, the reliable uplink data messages
The difference of the running configuration and default configuration that carry the LoRa terminals configures;
In the present embodiment, the running configuration of itself can be obtained after LoRa terminals are reached the standard grade and the difference of default configuration is matched
It sets, and the reliable uplink data messages for carrying the difference and configuring can be sent to LoRa servers, LoRa servers can receive
The reliable uplink data messages for the carrying difference configuration that LoRa terminals are sent.
Step 202, the running configuration that the LoRa terminals are restored according to difference configuration;
In the present embodiment, LoRa servers can configure the running configuration of reduction LoRa terminals, tool according to the difference
For body, LoRa servers can obtain the default configuration of the LoRa terminals of itself preservation;Then the rope in being configured with the difference
Draw the corresponding configuration parameter of serial number and replace the corresponding configuration parameter of index number described in the default configuration of the LoRa terminals, obtains
To the running configuration of LoRa terminals.
The latest configuration ratio of step 203, the LoRa terminals for recording the running configuration and the LoRa servers
Relatively obtain newest difference configuration;
In the present embodiment, LoRa servers can configure the LoRa terminal operatings of reduction with the LoRa servers certainly
The latest configuration of the LoRa terminals of body record relatively obtains newest difference configuration.
Step 204 sends the reliable downlink data message for carrying the newest difference configuration to the LoRa terminals, so that
The running configuration is updated to the latest configuration by the LoRa terminals according to the newest difference configuration.
In the present embodiment, LoRa servers obtain newest difference with postponing, and can be sent to LoRa terminals described in carrying most
The reliable downlink data message of new difference configuration, so that the LoRa terminals are according to described in the reliable downlink data message
The running configuration of itself is updated to latest configuration by newest difference configuration.
In an alternate embodiment of the invention, if LoRa servers the relatively running configuration of LoRa terminals and latest configuration knot
When fruit is identical, then newest difference is configured to 0, therefore can send an empty reliable downlink data message to LoRa terminals,
The newest difference wherein carried is configured to 0, so that LoRa terminals work according to current running configuration.
Compared with the prior art, the present invention can make LoRa servers according to the default configuration of the LoRa terminals of local record
It is newest with the LoRa terminals of local record after the difference sent in LoRa terminals configuration is reduced into the running configuration of LoRa terminals
Configuration is compared, and LoRa terminals are given to obtain newest difference configuration distributing, since LoRa servers only configure differentiation
LoRa terminals are handed down to, to reduce the message amount for carrying configuration, increase utilization rate of air interface resource, when having speeded configuration distributing
Between.
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, with reference to Fig. 3 to the solution of the present invention
It is described in further detail.
Refer to Fig. 3, be the interaction diagrams of the configuration of LoRa terminals in the embodiment of the present invention, wherein LoRa terminals,
The interactive process of LoRa gateways and LoRa servers when LoRa terminals configure includes:
After step 301, LoRa terminal electrifying startups, Join request (access request) are sent to LoRa gateways first and reported
Text, wherein carrying the end message of LoRa terminals;
Step 302, LoRa gateways encapsulate the signal quality of Join request messages and the Join request messages
It is sent to LoRa servers in Push data (pull-up data) message;
After step 303, LoRa servers receive Push data messages, Push ACK messages are replied to LoRa gateways.
Step 304, LoRa servers obtain the Join request messages of LoRa terminals from Push data messages, and
The end message carried in Join request messages is obtained, by the LoRa Termination ID lists pair in the end message and database
Than determining whether that the terminal accesses, if LoRa servers do not allow the LoRa terminals to access, not replying response report
Text;If LoRa servers allow the LoRa terminals to access, window time, the information such as configurations such as terminal address will be received
Join accept accesses are encapsulated into be sent to by message, being then encapsulated in Pull response (drop-down response) message
LoRa gateways;
After step 305, LoRa gateways receive Pull response messages and decapsulate, the Join that will wherein carry
Accept messages are transmitted to LoRa terminals;
If step 306, LoRa gateways are to the forwarding Join accept messages success of LoRa terminals, to LoRa servers
Reply forwards successfully message;Conversely, then replying retransmission failure message to LoRa servers;
After step 307, LoRa terminals receive the Join accept messages of LoRa gateway forwards, just by oneself current fortune
Row configuration is compared with the default configuration preserved, is obtained difference and is configured, and by difference configuration packages to confirmed data
In the reliable uplink data messages of up;The difference configuration wherein carried in the confirmed data up messages is specially that difference is matched
Set corresponding index number and configuration parameter;
Confirmed data up messages are sent to LoRa gateways by step 308, LoRa terminals;
After step 309, LoRa gateways receive confirmed data up messages, and by confirmed data up messages
It is encapsulated in Push data messages and is sent to LoRa servers;
After step 310, LoRa servers receive Push data messages, Push ACK messages are replied to LoRa gateways;
The confirmed data up messages carried in step 311, LoRa servers parsing Push data messages, obtain
Difference configures, and is then recorded with LoRa servers according to the running configuration of the default configuration of self record reduction LoRa terminals
The corresponding latest configuration of LoRa terminals is compared, if identical, replys an empty confirmed data down
(reliable downlink data) message indicates that configuration has synchronized;If it is different, then obtaining the newest difference of the running configuration and latest configuration
Different configuration, by the newest difference configuration packages in confirmed data down messages, the wherein confirmed data
The newest difference configuration carried in down messages is specially that newest difference configures corresponding index number and configuration parameter;
Confirmed data down messages are encapsulated in Pull response messages by step 312, LoRa servers,
It is sent to LoRa gateways;
After step 313, LoRa gateways receive Pull response messages and decapsulate, the confirmed that will wherein carry
Data down messages are transmitted to LoRa terminals;
If step 314, LoRa gateways are successful to LoRa terminals forwarding confirmed data down messages, to
The reply of LoRa servers forwards successfully message;Conversely, then replying retransmission failure message to LoRa servers;
Step 315, LoRa terminals receive confirmed data down messages, parse LoRa servers and issue most
New difference configuration, and update current running configuration and realize that configuration synchronizes.
In the present embodiment, LoRa servers are sent to since LoRa terminals can actively configure difference;And LoRa
Server only matches the newest of the LoRa terminals that difference configuration is reduced into after the running configurations of the LoRa terminals with local record
Set and compare, obtain newest difference configuration distributing and give LoRa terminals, to save down channel resources, and then improve LoRa terminals from
The efficiency of LoRa servers drop-down configuration.
Based on identical design, the present invention also provides a kind of configuration device of LoRa terminals, which can pass through software
It realizes, can also be realized by way of hardware or software and hardware combining.For implemented in software, LoRa terminals of the invention
Configuration device is by the CPU of device where it by corresponding computer in memory as the device on a logical meaning
Program instruction is run after reading.
A is please referred to Fig.4, is a kind of configuration device 400 of LoRa terminals in a kind of illustrative embodiments of the present invention, institute
Device is stated applied to the LoRa terminals in LoRaWAN networkings, the basic running environment of the device includes CPU, memory and other
Hardware, from logic level, the logical construction of the device 400 is as shown in Figure 4 b, including:
Difference acquiring unit 401, for when LoRa terminals are reached the standard grade, obtaining the running configuration of itself and the difference of default configuration
Different configuration;
Packet sending unit 402, for sending the reliable upstream data report for carrying the difference and configuring to LoRa servers
Text so that LoRa servers return to the reliable downlink data message for carrying newest difference and configuring to the LoRa terminals, it is described most
New difference configuration is by the LoRa servers by itself according to the running configuration of the LoRa terminals of difference configuration reduction
It is relatively obtained with the latest configuration of the LoRa terminals of LoRa servers record;
Updating unit 403 is configured, it, will according to the newest difference configuration when for receiving the reliable downlink data message
The running configuration is updated to the latest configuration.
Optionally, the difference acquiring unit 401 is specifically used for according to the first configuration item in default configuration corresponding the
One index number searches corresponding second configuration item of the first index number described in running configuration;Compare first configuration item pair
The the first configuration parameter answered and second configuration item correspond to the second configuration parameter, if the first configuration parameter and described second
It is different to configure parameter, then obtains difference configuration, matches comprising first index number and described second in the difference configuration
Set parameter.
Optionally, the configuration updating unit 403 is looked into specifically for the second index number in being configured according to newest difference
The corresponding third configuration item of the second index number described in the running configuration is looked for, more by the configuration parameter of the third configuration item
It is newly the corresponding latest configuration parameter of second index number in the newest difference configuration.
Fig. 5 a are please referred to, are a kind of configuration device 500 of LoRa terminals in a kind of illustrative embodiments of the present invention, institute
Method is stated applied to the LoRa servers in LoRaWAN networkings, the basic running environment of the device includes CPU, memory and its
His hardware, from logic level, the logical construction of the device 500 is as shown in Figure 5 b, including:
Message receiving unit 501, it is described reliable for receiving the reliable uplink data messages sent when LoRa terminals are reached the standard grade
The difference for the running configuration and default configuration that uplink data messages carry the LoRa terminals configures;
Reduction unit 502 is configured, the running configuration for restoring the LoRa terminals according to difference configuration;
Comparing unit 503 is configured, the LoRa terminals for recording the running configuration and the LoRa servers
Latest configuration relatively obtain the configuration of newest difference;
Packet sending unit 504, for sending the reliable downlink for carrying the newest difference and configuring to the LoRa terminals
Data message, so that the running configuration is updated to described newest match by the LoRa terminals according to the newest difference configuration
It sets.
Optionally, the configuration reduction unit 502 is specifically used for obtaining the LoRa ends that the LoRa servers preserve
The default configuration at end;The acquiescence that the corresponding configuration parameter of index number in being configured with the difference replaces the LoRa terminals is matched
The corresponding configuration parameter of index number described in setting, obtains the running configuration of the LoRa terminals.
In conclusion when the present invention can make LoRa terminals reach the standard grade, the running configuration of itself and the difference of default configuration are obtained
Different configuration;The reliable uplink data messages for carrying the difference and configuring are sent to LoRa servers;LoRa servers are according to the difference
The running configuration of different configuration reduction LoRa terminals, and the LoRa terminals that the running configuration of reduction and LoRa servers are recorded
Latest configuration relatively obtains newest difference configuration, and the reliable downlink for carrying newest difference and configuring then is returned to the LoRa terminals
Data message;When LoRa terminals receive the reliable downlink data message, the operation is matched according to the newest difference configuration
It sets and is updated to the latest configuration.All configurations are issued to LoRa terminals by middle LoRa servers one by one compared with the prior art,
The LoRa servers of the present invention can issue most according to the latest configuration of the difference configuration and self record sent in LoRa terminals
New difference configuration improves LoRa terminals and is serviced from LoRa so as to reduce the quantity of LoRa server sending configuration messages
The efficiency of device drop-down configuration, has speeded the configuration distributing time, has reduced network arrangement convergence time.
The function of each unit and the realization process of effect specifically refer to and correspond to step in the above method in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiments, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component
The unit of explanation may or may not be physically separated, and the component shown as unit can be or can also
It is not physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of module therein is selected to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.
Claims (10)
1. a kind of configuration method of LoRa terminals, which is characterized in that it is whole that the method is applied to the LoRa in LoRaWAN networkings
End, the method includes:
When LoRa terminals are reached the standard grade, obtains the running configuration of itself and the difference of default configuration configures;
The reliable uplink data messages for carrying the difference and configuring are sent to LoRa servers, so that LoRa servers are to described
LoRa terminals return to the reliable downlink data message for carrying newest difference configuration, and the newest difference configuration is serviced by the LoRa
Device is by itself according to the institute of the running configuration and LoRa servers record of the LoRa terminals of difference configuration reduction
The latest configuration for stating LoRa terminals relatively obtains;
When receiving the reliable downlink data message, according to the newest difference configuration by the running configuration be updated to it is described most
New configuration.
2. according to the method described in claim 1, it is characterized in that, obtaining the running configuration of itself and the difference of default configuration is matched
It sets, specially:
The first index sequence described in running configuration is searched according to corresponding first index number of the first configuration item in default configuration
Number corresponding second configuration item;
Compare the corresponding first configuration parameter of first configuration item and second configuration item corresponds to the second configuration parameter, if institute
It states the first configuration parameter and the second configuration parameter is different, then obtain difference configuration, include described the in difference configuration
One index number and the second configuration parameter.
3. according to the method described in claim 2, it is characterized in that, described match the operation according to the newest difference configuration
It sets and is updated to the latest configuration, specially:
It is corresponding that the second index number in being configured according to newest difference searches the second index number described in the running configuration
The configuration parameter of the third configuration item is updated to the second index sequence in the newest difference configuration by third configuration item
Number corresponding latest configuration parameter.
4. a kind of configuration method of LoRa terminals, which is characterized in that the method is applied to the LoRa services in LoRaWAN networkings
Device, the method includes:
The reliable uplink data messages sent when LoRa terminals are reached the standard grade are received, the reliable uplink data messages carry the LoRa
The running configuration of terminal and the difference of default configuration configure;
The running configuration of the LoRa terminals is restored according to difference configuration;
The latest configuration of the running configuration and the LoRa terminals of LoRa servers record is relatively obtained into newest difference
Different configuration;
It is sent to the LoRa terminals and carries the reliable downlink data message that the newest difference configures, so that the LoRa terminals
The running configuration is updated to the latest configuration according to the newest difference configuration.
5. according to the method described in claim 4, it is characterized in that, the fortune for restoring the terminal according to difference configuration
Row configuration, including:
Obtain the default configuration for the LoRa terminals that the LoRa servers preserve;
The corresponding configuration parameter of index number in being configured with the difference is replaced described in the default configuration of the LoRa terminals
The corresponding configuration parameter of index number, obtains the running configuration of the LoRa terminals.
6. a kind of configuration device of LoRa terminals, which is characterized in that it is whole that described device is applied to the LoRa in LoRaWAN networkings
End, described device include:
Difference acquiring unit is configured for when LoRa terminals are reached the standard grade, obtaining the running configuration of itself and the difference of default configuration;
Packet sending unit, for sending the reliable uplink data messages for carrying the difference and configuring to LoRa servers, so that
LoRa servers return to the reliable downlink data message for carrying newest difference and configuring to the LoRa terminals, and the newest difference is matched
Set by the LoRa servers by itself according to the difference configuration reduction the LoRa terminals running configuration with it is described
The latest configuration of the LoRa terminals of LoRa servers record relatively obtains;
Updating unit being configured, when for receiving the reliable downlink data message, being configured the fortune according to the newest difference
Row configuration is updated to the latest configuration.
7. device according to claim 6, which is characterized in that
The difference acquiring unit is specifically used for being searched according to corresponding first index number of the first configuration item in default configuration
Corresponding second configuration item of first index number described in running configuration;Compare the corresponding first configuration ginseng of first configuration item
Number the second configuration parameter corresponding with second configuration item, if the first configuration parameter is different from the second configuration parameter,
Difference configuration is then obtained, first index number and the second configuration parameter are included in the difference configuration.
8. device according to claim 7, which is characterized in that
The configuration updating unit, the second index number being specifically used in being configured according to newest difference search the running configuration
Described in the corresponding third configuration item of the second index number, the configuration parameter of the third configuration item is updated to the newest difference
The corresponding latest configuration parameter of second index number in different configuration.
9. a kind of configuration device of LoRa terminals, which is characterized in that described device is applied to the LoRa services in LoRaWAN networkings
Device, described device include:
Message receiving unit, for receiving the reliable uplink data messages sent when LoRa terminals are reached the standard grade, the reliably upper line number
The difference of the running configuration and default configuration that carry the LoRa terminals according to message configures;
Reduction unit is configured, the running configuration for restoring the LoRa terminals according to difference configuration;
Comparing unit is configured, for matching the running configuration and the newest of LoRa terminals that the LoRa servers record
It sets and compares to obtain newest difference configuration;
Packet sending unit, for sending the reliable downlink data report for carrying the newest difference and configuring to the LoRa terminals
Text, so that the running configuration is updated to the latest configuration by the LoRa terminals according to the newest difference configuration.
10. device according to claim 9, which is characterized in that
The configuration reduction unit is specifically used for obtaining the default configuration for the LoRa terminals that the LoRa servers preserve;
The corresponding configuration parameter of index number in being configured with the difference is replaced to be indexed described in the default configuration of the LoRa terminals
The corresponding configuration parameter of serial number, obtains the running configuration of the LoRa terminals.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810510505.0A CN108810936A (en) | 2018-05-24 | 2018-05-24 | A kind of configuration method and device of LoRa terminals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810510505.0A CN108810936A (en) | 2018-05-24 | 2018-05-24 | A kind of configuration method and device of LoRa terminals |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108810936A true CN108810936A (en) | 2018-11-13 |
Family
ID=64091867
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810510505.0A Pending CN108810936A (en) | 2018-05-24 | 2018-05-24 | A kind of configuration method and device of LoRa terminals |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108810936A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110740446A (en) * | 2019-10-29 | 2020-01-31 | Oppo广东移动通信有限公司 | Communication configuration method and related equipment |
CN111309394A (en) * | 2020-02-05 | 2020-06-19 | 联想(北京)有限公司 | Configuration issuing method, device, system and storage medium |
CN111354178A (en) * | 2020-03-20 | 2020-06-30 | 江苏三希科技股份有限公司 | Remote control method, system, terminal and storage medium for Lora monitoring equipment |
CN113423084A (en) * | 2021-06-22 | 2021-09-21 | 欧梯恩智能科技(苏州)有限公司 | LoRa gateway and equipment pairing arrangement method and application in bridge pier impact detection |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101032136A (en) * | 2004-08-12 | 2007-09-05 | 高通股份有限公司 | Default configurations with differential encoding in a wireless communication system |
CN101527652A (en) * | 2009-04-21 | 2009-09-09 | 杭州华三通信技术有限公司 | Method for resuming default interface configuration and device thereof |
CN103745158A (en) * | 2014-01-26 | 2014-04-23 | 北京奇虎科技有限公司 | Method and device for repairing system bugs |
CN105553727A (en) * | 2015-12-18 | 2016-05-04 | 北京奇虎科技有限公司 | Method, device and system for updating configuration information |
CN106412955A (en) * | 2016-09-29 | 2017-02-15 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for executing IMS service, and terminal |
CN107835088A (en) * | 2017-09-26 | 2018-03-23 | 深圳市亿兆互联技术有限公司 | A kind of LoRa terminal devices over-the-air upgrade method and system |
CN107959930A (en) * | 2017-11-20 | 2018-04-24 | 新华三技术有限公司 | Terminal access method, device, Lora servers and Lora terminals |
CN207369141U (en) * | 2017-09-30 | 2018-05-15 | 中兴克拉科技(苏州)有限公司 | A kind of hand-held LoRa-net drive test terminal equipment |
CN108040339A (en) * | 2017-12-06 | 2018-05-15 | 深圳大学 | Offline network-building method and its system based on LoRa |
-
2018
- 2018-05-24 CN CN201810510505.0A patent/CN108810936A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101032136A (en) * | 2004-08-12 | 2007-09-05 | 高通股份有限公司 | Default configurations with differential encoding in a wireless communication system |
CN101527652A (en) * | 2009-04-21 | 2009-09-09 | 杭州华三通信技术有限公司 | Method for resuming default interface configuration and device thereof |
CN103745158A (en) * | 2014-01-26 | 2014-04-23 | 北京奇虎科技有限公司 | Method and device for repairing system bugs |
CN105553727A (en) * | 2015-12-18 | 2016-05-04 | 北京奇虎科技有限公司 | Method, device and system for updating configuration information |
CN106412955A (en) * | 2016-09-29 | 2017-02-15 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for executing IMS service, and terminal |
CN107835088A (en) * | 2017-09-26 | 2018-03-23 | 深圳市亿兆互联技术有限公司 | A kind of LoRa terminal devices over-the-air upgrade method and system |
CN207369141U (en) * | 2017-09-30 | 2018-05-15 | 中兴克拉科技(苏州)有限公司 | A kind of hand-held LoRa-net drive test terminal equipment |
CN107959930A (en) * | 2017-11-20 | 2018-04-24 | 新华三技术有限公司 | Terminal access method, device, Lora servers and Lora terminals |
CN108040339A (en) * | 2017-12-06 | 2018-05-15 | 深圳大学 | Offline network-building method and its system based on LoRa |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110740446A (en) * | 2019-10-29 | 2020-01-31 | Oppo广东移动通信有限公司 | Communication configuration method and related equipment |
CN110740446B (en) * | 2019-10-29 | 2022-10-28 | Oppo广东移动通信有限公司 | Communication configuration method and related equipment |
CN111309394A (en) * | 2020-02-05 | 2020-06-19 | 联想(北京)有限公司 | Configuration issuing method, device, system and storage medium |
CN111354178A (en) * | 2020-03-20 | 2020-06-30 | 江苏三希科技股份有限公司 | Remote control method, system, terminal and storage medium for Lora monitoring equipment |
CN113423084A (en) * | 2021-06-22 | 2021-09-21 | 欧梯恩智能科技(苏州)有限公司 | LoRa gateway and equipment pairing arrangement method and application in bridge pier impact detection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108810936A (en) | A kind of configuration method and device of LoRa terminals | |
CN102790776B (en) | Heartbeat connection normalizing processing method, terminal, server and communication system | |
US11750453B2 (en) | Network slice configuration method, apparatus, and system | |
WO2018170647A1 (en) | Network slice management method, unit and system | |
EP2912810A1 (en) | Network system and method for improving routing capability | |
CN107395572B (en) | Data processing method and Internet of things gateway | |
CN105577777A (en) | Message processing method, device and system | |
CN106878199B (en) | Configuration method and device of access information | |
CN104144098A (en) | Information pushing method and system and pushing server equipment | |
CN107222561A (en) | A kind of transport layer reverse proxy method | |
CN108881354A (en) | A kind of pushed information storage method, device, server and computer storage medium | |
CN105991481B (en) | A kind of message forwarding method and device | |
CN104601454A (en) | Method and system for mail processing | |
CN103685357A (en) | Account multi-open message processing method and system | |
WO2021169291A1 (en) | Route advertising method, network elements, system, and device | |
CN102428687B (en) | P2P for mobile providers | |
US20150067066A1 (en) | Provisioning Communication Services using Proxy Server in a Cloud | |
CN113824576A (en) | Slice data transmission method and device, electronic equipment and readable medium | |
CN113810349B (en) | Data transmission method, device, computer equipment and storage medium | |
CN107786441B (en) | Communication method, OpenFlow switch and communication system | |
CN102986173B (en) | Method for setting message status and converged internet protocol message (CPM) traffic server | |
CN107566476A (en) | A kind of cut-in method, SDN controllers, forwarding unit and subscriber access system | |
WO2020253330A1 (en) | Method and apparatus for customer premise equipment configuration management | |
CN102449979B (en) | System, method and device for improving performences of content sharing system including content sharing client terminal | |
CN114363183A (en) | Service chain address pool slicing processing method, device and system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181113 |