CN109450719A - A kind of node upgrade method and system based on lorawan agreement - Google Patents

A kind of node upgrade method and system based on lorawan agreement Download PDF

Info

Publication number
CN109450719A
CN109450719A CN201811645248.8A CN201811645248A CN109450719A CN 109450719 A CN109450719 A CN 109450719A CN 201811645248 A CN201811645248 A CN 201811645248A CN 109450719 A CN109450719 A CN 109450719A
Authority
CN
China
Prior art keywords
terminal
infected
infection
upgrade
sends
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811645248.8A
Other languages
Chinese (zh)
Inventor
施伟周
杨明
陈柏坚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Eastcompeace Technology Co Ltd
Original Assignee
Eastcompeace 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 Eastcompeace Technology Co Ltd filed Critical Eastcompeace Technology Co Ltd
Priority to CN201811645248.8A priority Critical patent/CN109450719A/en
Publication of CN109450719A publication Critical patent/CN109450719A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The present invention provides a kind of node upgrade method and system based on lorawan agreement this method comprises: determining infection terminal, and sends upgrade request to infection terminal;After receiving the upgrade request response that infection terminal is sent, upgrade package is sent to infection terminal, so that infection terminal carries out updating operation;It infects terminal and sends the determining terminal to be infected of frame wake-up to remaining terminal, then send upgrade package to terminal to be infected, so that terminal to be infected carries out updating operation;After preset first time period, infection terminal is redefined.The node upgrade method provided through the invention can be synchronized to be upgraded to rapidly and launched in the terminal used when there is new function upgrading, and terminal upgrade is carried out under the premise of not influencing user's use, accelerate product up-gradation speed.

Description

A kind of node upgrade method and system based on lorawan agreement
Technical field
The present invention relates to network communication technology field more particularly to a kind of node upgrade methods based on lorawan agreement And system.
Background technique
Lora is a member in most burning hot Internet of Things fidonetFido at present, it have remote low-power consumption etc. characteristics, but it is every Frame transmission byte number is few, down going channel number resource is limited also constrains a possibility that its big data high-volume issues.
In numerous terminals of existing lorawan agreement, if needing to upgrade, server can only to single terminal (node) one by one into Row upgrading, however during upgrading, few then more then tens K of 1K of the size of usual each upgrade package, and terminal is thousands of up to a hundred, It is too long that the mode that server individually upgrades each terminal will lead to renewal time.
Summary of the invention
The embodiment of the invention provides a kind of node upgrade method and system based on lorawan agreement, when there is new function When upgrading, the renewal speed of node can be improved.
According to an aspect of the present invention, a kind of node upgrade method based on lorawan agreement is provided, comprising:
It determines infection terminal, and sends upgrade request to the infection terminal;
After receiving the upgrade request response that the infection terminal is sent, upgrade package is sent to the infection terminal, so that After the infection terminal carries out updating operation, Xiang Qiyu terminal sends frame and wakes up determining terminal to be infected, then to described wait infect Terminal sends the upgrade package, so that the terminal to be infected carries out updating operation;
After preset first time period, infection terminal is redefined.
Preferably, the determining infection terminal, and upgrade request is sent to the infection terminal specifically:
After the terminal data for obtaining each terminal, according to the terminal data judge each terminal whether version mistake It is low, the too low terminal of version is judged by first and is determined as infecting terminal, and sends upgrade request to the infection terminal.
Preferably, it after the upgrade request response for receiving the infection terminal transmission, is sent to the infection terminal Upgrade package, so that Xiang Qiyu terminal transmission frame, which wakes up, determines terminal to be infected after the infection terminal carries out updating operation, then to The terminal to be infected sends the upgrade package, so that the terminal to be infected carries out updating operation specifically:
After receiving the upgrade request response that the infection terminal is sent, upgrade package is sent to the infection terminal, so that After the infection terminal carries out updating operation, Xiang Qiyu terminal sends frame and wakes up, will be by frame wake-up in remaining terminal The terminal that wakes up of terminal parameter be determined as terminal to be infected, then the upgrade package is sent to the terminal to be infected, so that institute It states terminal to be infected and carries out updating operation.
Preferably, it after the upgrade request response for receiving the infection terminal transmission, is sent to the infection terminal Upgrade package, so that Xiang Qiyu terminal sends frame and wakes up after the infection terminal carries out updating operation, it, will be by remaining terminal The terminal that terminal parameter in the frame wake-up wakes up is determined as terminal to be infected, then sends the liter to the terminal to be infected Grade packet, so that the terminal to be infected carries out updating operation specifically:
After receiving the upgrade request response that the infection terminal is sent, upgrade package is sent to the infection terminal, so that After the infection terminal carries out updating operation, Xiang Qiyu terminal sends frame and wakes up, will be with the infection terminal in remaining terminal Type label is consistent and terminal current version number lower than the terminal of latest edition number is determined as terminal to be infected, and after the delay The upgrade package is sent to the terminal to be infected, so that the terminal to be infected carries out updating operation;
Wherein, the terminal parameter in the frame wake-up includes the type label for infecting terminal and the latest edition Number.
Preferably, the updating operation specifically includes:
Each upgrade package is received, each upgrade package is successively parsed, integrated, verified and installed, if meeting pre- Upgrading termination condition is set, then terminates to upgrade.
According to another aspect of the present invention, a kind of node upgrade method based on lorawan agreement is provided, comprising:
After the upgrade request for receiving server transmission, Xiang Suoshu server sends upgrade request response, wherein the liter Grade request is that server determines the request sent after infection terminal to the infection terminal;
After receiving the upgrade package that the server is sent, updating operation is carried out;
Frame is sent to remaining terminal and wakes up determining terminal to be infected, then sends the upgrade package to the terminal to be infected, So that the terminal to be infected carries out updating operation.
Preferably, described to send the determining terminal to be infected of frame wake-up to remaining terminal, then sent to the terminal to be infected The upgrade package, so that the terminal to be infected carries out updating operation specifically:
It sends frame to remaining terminal to wake up, in remaining terminal, by the end of the terminal parameter wake-up in being waken up by the frame End is determined as terminal to be infected, then sends the upgrade package to the terminal to be infected, so that the terminal to be infected is risen Grade operation.
Preferably, described to send frame wake-up to remaining terminal, in remaining terminal, it will be joined by the terminal in frame wake-up The terminal that number wakes up is determined as terminal to be infected, then sends the upgrade package to the terminal to be infected, so that described wait infect Terminal carries out updating operation specifically:
Frame is sent to remaining terminal to wake up, it, will be consistent with the infection type label of terminal and whole in remaining terminal End current version number is determined as terminal to be infected lower than the terminal of latest edition number, and sends out after the delay to the terminal to be infected The upgrade package is sent, so that the terminal to be infected carries out updating operation;
Wherein, the terminal parameter in the frame wake-up includes the type label for infecting terminal and the latest edition Number.
According to another aspect of the present invention, a kind of server based on lorawan agreement is provided, comprising:
First sending module sends upgrade request for determining infection terminal, and to the infection terminal;
Second sending module, after receiving the upgrade request response that the infection terminal is sent, eventually to the infection End sends upgrade package, so that Xiang Qiyu terminal sends frame wake-up and determines end to be infected after the infection terminal carries out updating operation End, then the upgrade package is sent to the terminal to be infected, so that the terminal to be infected carries out updating operation;
Loop module, for redefining infection terminal after preset first time period.
According to another aspect of the present invention, a kind of infection terminal based on lorawan agreement is provided, comprising:
Third sending module, after receiving the upgrade request that server is sent, Xiang Suoshu server sends upgrading and asks Ask response, wherein the upgrade request is that server determines the request sent after infection terminal to the infection terminal;
Upgraded module carries out updating operation after receiving the upgrade package that the server is sent;
Infection module wakes up determining terminal to be infected for sending frame to remaining terminal, then sends out to the terminal to be infected The upgrade package is sent, so that the terminal to be infected carries out updating operation.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
The present invention provides a kind of node upgrade method and system based on lorawan agreement, this method comprises: determining sense Terminal is contaminated, and sends upgrade request to infection terminal;After receiving the upgrade request response that infection terminal is sent, to infection terminal Upgrade package is sent, so that infection terminal carries out updating operation;It infects terminal and sends frame wake-up determining end to be infected to remaining terminal End, then upgrade package is sent to terminal to be infected, so that terminal to be infected carries out updating operation;After preset first time period, weight It is new to determine infection terminal.The node upgrade method provided through the invention can synchronize rapidly upgrading when there is new function upgrading To having launched in the terminal used, terminal upgrade is carried out under the premise of not influencing user's use, accelerates product up-gradation speed.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of process of one embodiment of the node upgrade method based on lorawan agreement provided by the invention Schematic diagram;
Fig. 2 is a kind of stream of another embodiment of the node upgrade method based on lorawan agreement provided by the invention Journey schematic diagram;
Fig. 3 is a kind of stream of another embodiment of the node upgrade method based on lorawan agreement provided by the invention Journey schematic diagram;
Fig. 4 is a kind of structural schematic diagram of one embodiment of the server based on lorawan agreement provided by the invention;
Fig. 5 is a kind of structural representation of one embodiment of the infection terminal based on lorawan agreement provided by the invention Figure.
Specific embodiment
The embodiment of the invention provides a kind of node upgrade method and system based on lorawan agreement, when there is new function When upgrading, the renewal speed of node can be improved.
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention Range.
Referring to Fig. 1, a kind of one embodiment of node upgrade method based on lorawan agreement provided by the invention, Include:
101, it determines infection terminal, and sends upgrade request to infection terminal;
In the present embodiment, in the communication cluster based on lorawan agreement, server and multiple terminals are usually provided with. Firstly, server needs to determine infection terminal in multiple terminals, and upgrade request is sent to infection terminal.
102, after receiving the upgrade request response that infection terminal is sent, upgrade package is sent to infection terminal, so that infection After terminal carries out updating operation, Xiang Qiyu terminal sends frame and wakes up determining terminal to be infected, then sends and upgrade to terminal to be infected Packet, so that terminal to be infected carries out updating operation;
Server sends upgrade package after receiving the upgrade request response that infection terminal is sent, to infection terminal, so that It infects terminal and carries out updating operation, that is, be updated to latest edition.
Terminal is infected to complete after upgrading, Xiang Qiyu terminal sends frame and wakes up, terminal to be infected is determined in remaining terminal, then Upgrade package is sent to terminal to be infected, so that terminal to be infected carries out updating operation.
103, after preset first time period, infection terminal is redefined.
Server then needs to redefine infection terminal, is equivalent to and re-execute the steps after preset first time period 101, that is, the operation of infection cycle is executed, to continue to upgrade to the terminal for needing upgrading not upgrade also but.
The node upgrade method provided through the invention can be synchronized to be upgraded to rapidly and thrown when there is new function upgrading It puts in the terminal used, terminal upgrade is carried out under the premise of not influencing user's use, accelerate product up-gradation speed.
The above are a kind of one embodiment of node upgrade method based on lorawan agreement, to carry out in particular It is bright, a kind of another embodiment of node upgrade method based on lorawan agreement is provided below, referring to Fig. 2, the present invention mentions A kind of another embodiment of the node upgrade method based on lorawan agreement supplied, comprising:
201, after the terminal data for obtaining each terminal, judging each terminal according to terminal data, whether version is too low, The too low terminal of version is judged by first to be determined as infecting terminal, and sends upgrade request to infection terminal;
In the present embodiment, each terminal can send out terminal data on server, and server can be in each group terminal data In parse the current version number of each terminal, the latest edition of the terminal due to presetting each type on server, May determine that whether each terminal is latest edition, it is too low for version if the current version number of terminal is lower than latest edition number.
It should be noted that the terminal of each type refers to the different terminal of type label in the present embodiment, if any A, B and C The terminal of three types, the corresponding type label of these three terminals is also different, and the end of these three types is also preset on server Hold corresponding latest edition.Therefore, which is then determined as by server after determining the too low terminal of first version Infect terminal.
202, after receiving the upgrade request response that infection terminal is sent, upgrade package is sent to infection terminal, so that infection After terminal carries out updating operation, Xiang Qiyu terminal sends frame and wakes up, and in remaining terminal, the terminal parameter in being waken up by frame is called out Awake terminal is determined as terminal to be infected, then sends upgrade package to terminal to be infected, so that terminal to be infected carries out updating operation;
In the present embodiment, it after server receives the upgrade request response that infection terminal is sent, is sent to infection terminal Upgrade package.
Infect terminal carry out updating operation after, Xiang Qiyu terminal send frame wake up (it should be noted that infection terminal to its Remaining all terminals send frame and wake up be a broadcast process), usual frame wake up in terminal parameter include the class for infecting terminal Type label and latest edition number, and the lead code that frame wakes up is greater than 10S.In remaining terminal, (usual each terminal can every 10 seconds Wake up primary, waken up for receiving frame) in, and terminal current version number consistent with the infection type label of terminal is lower than most if it exists The terminal (terminal being waken up) of new version number, these terminals are then determined as terminal to be infected by infection terminal, at this time wait feel Dye terminal is waken up and switches to long reception pattern, can receive the upgrade package for carrying out self-infection terminal.Such as infecting terminal is type-A Terminal, frame wake up then include type-A label and corresponding latest edition number (such as 003), remaining terminal usually has A, B, C etc. The terminal of type, at this point, being only that type-A and its terminal current version (such as 002) are less than latest edition (003) in remaining terminal When, it can be waken up by frame, into long reception pattern.
It infects terminal and sends upgrade package to terminal to be infected after delay (usually 5 seconds), so that terminal to be infected carries out Updating operation.
In the present embodiment, terminal is infected, terminal to be infected carries out the process of updating operation are as follows: each upgrade package is received, Each upgrade package is successively parsed, is integrated, verified and installed, if meeting preset upgrading termination condition, terminates to upgrade.
Specifically, can carry out being installed upgrading, if verification is unsuccessful, no longer connect after being verified successfully to upgrade package Upgrade package is received, into sleep pattern (being equivalent to upgrading failure, upgrading can be completed in upgrading next time circulation).
Specifically, preset upgrading termination condition are as follows: do not receive upgrade package in 1 minute or determine the last one upgrade package In the presence of upgrading end of identification.
203, after preset first time period, infection terminal is redefined.
Terminal is infected after distributing upgrade package, after infecting terminal and completing upgrading, switches back into normal mode.At this point, clothes Business device is after preset first time period (being usually arranged as 10 minutes, send upgrade request from the server last time and count), again Step 201 is executed, to complete the upgrading to all terminals.
The specific following advantages of the present invention:
(1) life cycle costing: huge compression renewal time is reduced
(2) renewal speed of product is fast: when there is new function upgrading, can synchronize to be upgraded in this way and launch use Product on, carry out product up-gradation under the premise of not influencing user's use, accelerate product up-gradation speed.
(3) it brings advantage to the user: under the premise of not influencing normal use either to product problematic reparation The upgrading of product brings higher Product Experience degree to user.
(4) user obtains more good service of goods: the pace of product renewal is fast, and new function increases rapidly, and function obtains quickly To perfect, product is more stable, and more quality services can be brought to user.
It is to a kind of node upgrade method based on lorawan agreement provided by the invention above with server is to execute master The explanation that the embodiment of body carries out will execute master to the node upgrade method based on lorawan agreement below to infect terminal The embodiment of body is illustrated, referring to Fig. 3, a kind of node upgrade method based on lorawan agreement provided by the invention Another embodiment, comprising:
301, after the upgrade request for receiving server transmission, upgrade request response is sent to server, wherein upgrading is asked It asks and determines the request sent after infection terminal to infection terminal for server;
302, after the upgrade package for receiving server transmission, updating operation is carried out;
303, Xiang Qiyu terminal sends frame and wakes up determining terminal to be infected, then sends upgrade package to terminal to be infected, so that Terminal to be infected carries out updating operation.
Further, Xiang Qiyu terminal sends frame and wakes up determining terminal to be infected, then sends and upgrade to terminal to be infected Packet, so that terminal to be infected carries out updating operation specifically:
To remaining terminal send frame wake up, in remaining terminal, will be waken up by frame in terminal parameter wake up terminal it is true It is set to terminal to be infected, then sends upgrade package to terminal to be infected, so that terminal to be infected carries out updating operation.
Further, Xiang Qiyu terminal sends frame and wakes up, and in remaining terminal, the terminal parameter in being waken up by frame is called out Awake terminal is determined as terminal to be infected, then sends upgrade package to terminal to be infected, so that terminal to be infected carries out updating operation Specifically:
It sends frame to remaining terminal to wake up, in remaining terminal, by consistent with the infection type label of terminal and terminal is worked as Preceding version number is determined as terminal to be infected lower than the terminal of latest edition number, and sends upgrade to terminal to be infected after the delay Packet, so that terminal to be infected carries out updating operation;
Wherein, the terminal parameter in frame wake-up includes the type label and latest edition number for infecting terminal.
Be above to a kind of detailed description that node upgrade method based on lorawan agreement carries out provided by the invention, A kind of server based on lorawan agreement provided by the invention will be illustrated below, referring to Fig. 4, the present invention provides One embodiment of server based on lorawan agreement a kind of include:
First sending module 401 sends upgrade request for determining infection terminal, and to infection terminal;
Second sending module 402 is sent after receiving the upgrade request response that infection terminal is sent to infection terminal Upgrade package, so that Xiang Qiyu terminal sends frame and wakes up determining terminal to be infected, then to wait feel after infection terminal carries out updating operation It contaminates terminal and sends upgrade package, so that terminal to be infected carries out updating operation;
Loop module 403, for redefining infection terminal after preset first time period.
Further, the first sending module 401 is also used to after the terminal data for obtaining each terminal, according to number of terminals It is judged that whether version is too low for each terminal, the too low terminal of version is judged by first and is determined as infecting terminal, and to sense It contaminates terminal and sends upgrade request.
Further, after the second sending module 402 is also used to receive the upgrade request response that infection terminal is sent, to It infects terminal and sends upgrade package, so that Xiang Qiyu terminal sends frame and wakes up, in remaining terminal after infection terminal carries out updating operation In, will be waken up by frame in the terminal that wakes up of terminal parameter be determined as terminal to be infected, then send upgrade package to terminal to be infected, So that terminal to be infected carries out updating operation.
Further, after the second sending module 402 is also used to receive the upgrade request response that infection terminal is sent, to It infects terminal and sends upgrade package, so that Xiang Qiyu terminal sends frame and wakes up, in remaining terminal after infection terminal carries out updating operation In, the consistent and terminal current version number with the infection type label of terminal is determined as lower than the terminal of latest edition number wait infect Terminal, and upgrade package is sent to terminal to be infected after the delay, so that terminal to be infected carries out updating operation;
Wherein, the terminal parameter in frame wake-up includes the type label and latest edition number for infecting terminal.
Further, updating operation specifically includes:
Each upgrade package is received, each upgrade package is successively parsed, integrated, verified and installed, if meeting preset liter Grade termination condition, then terminate to upgrade.
The invention further relates to for a kind of infection terminal based on lorawan agreement, referring to Fig. 5, provided by the invention one One embodiment of infection terminal of the kind based on lorawan agreement, comprising:
Third sending module 501 sends upgrade request to server after receiving the upgrade request that server is sent Response, wherein upgrade request is that server determines the request sent after infection terminal to infection terminal;
Upgraded module 502 carries out updating operation after receiving the upgrade package that server is sent;
Infection module 503 wakes up determining terminal to be infected for sending frame to remaining terminal, then sends to terminal to be infected Upgrade package, so that terminal to be infected carries out updating operation.
Further, infection module 503 is also used to send frame to remaining terminal and wake up, will be by frame in remaining terminal The terminal that terminal parameter in wake-up wakes up is determined as terminal to be infected, then sends upgrade package to terminal to be infected, so that wait feel It contaminates terminal and carries out updating operation.
Further, infection module 503 is also used to send frame to remaining terminal and wake up, will be with sense in remaining terminal Contaminate terminal type label is consistent and terminal current version number lower than the terminal of latest edition number is determined as terminal to be infected, and Upgrade package is sent to terminal to be infected after delay, so that terminal to be infected carries out updating operation;
Wherein, the terminal parameter in frame wake-up includes the type label and latest edition number for infecting terminal.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of node upgrade method based on lorawan agreement characterized by comprising
It determines infection terminal, and sends upgrade request to the infection terminal;
After receiving the upgrade request response that the infection terminal is sent, upgrade package is sent to the infection terminal, so that described It infects after terminal carries out updating operation, Xiang Qiyu terminal, which sends frame and wakes up, determines terminal to be infected, then to the terminal to be infected The upgrade package is sent, so that the terminal to be infected carries out updating operation;
After preset first time period, infection terminal is redefined.
2. the node upgrade method according to claim 1 based on lorawan agreement, which is characterized in that the determining sense Terminal is contaminated, and sends upgrade request to the infection terminal specifically:
After the terminal data for obtaining each terminal, judging each terminal according to the terminal data, whether version is too low, The too low terminal of version is judged by first to be determined as infecting terminal, and sends upgrade request to the infection terminal.
3. the node upgrade method according to claim 2 based on lorawan agreement, which is characterized in that described to receive It is described infection terminal send upgrade request response after, to the infection terminal transmission upgrade package so that the infection terminal into After row updating operation, Xiang Qiyu terminal sends frame and wakes up determining terminal to be infected, then sends the liter to the terminal to be infected Grade packet, so that the terminal to be infected carries out updating operation specifically:
After receiving the upgrade request response that the infection terminal is sent, upgrade package is sent to the infection terminal, so that described After infecting terminal progress updating operation, Xiang Qiyu terminal sends frame and wakes up, will be by the end in frame wake-up in remaining terminal The terminal that end parameter wakes up is determined as terminal to be infected, then sends the upgrade package to the terminal to be infected so that it is described to It infects terminal and carries out updating operation.
4. the node upgrade method according to claim 3 based on lorawan agreement, which is characterized in that described to receive It is described infection terminal send upgrade request response after, to the infection terminal transmission upgrade package so that the infection terminal into After row updating operation, Xiang Qiyu terminal sends frame and wakes up, and in remaining terminal, the terminal parameter in being waken up by the frame is waken up Terminal be determined as terminal to be infected, then send the upgrade package to the terminal to be infected so that the terminal to be infected into Row updating operation specifically:
After receiving the upgrade request response that the infection terminal is sent, upgrade package is sent to the infection terminal, so that described After infecting terminal progress updating operation, Xiang Qiyu terminal sends frame and wakes up, in remaining terminal, by the class with the infection terminal Type label is consistent and terminal current version number lower than the terminal of latest edition number is determined as terminal to be infected, and after the delay to institute It states terminal to be infected and sends the upgrade package, so that the terminal to be infected carries out updating operation;
Wherein, the terminal parameter in the frame wake-up includes the type label for infecting terminal and the latest edition number.
5. the node upgrade method according to any one of claims 1 to 4 based on lorawan agreement, which is characterized in that The updating operation specifically includes:
Each upgrade package is received, each upgrade package is successively parsed, integrated, verified and installed, if meeting preset liter Grade termination condition, then terminate to upgrade.
6. a kind of node upgrade method based on lorawan agreement characterized by comprising
After the upgrade request for receiving server transmission, Xiang Suoshu server sends upgrade request response, wherein the upgrading is asked It asks and determines the request sent after infection terminal to the infection terminal for server;
After receiving the upgrade package that the server is sent, updating operation is carried out;
Frame is sent to remaining terminal and wakes up determining terminal to be infected, then sends the upgrade package to the terminal to be infected, so that The terminal to be infected carries out updating operation.
7. the node upgrade method according to claim 6 based on lorawan agreement, which is characterized in that described to remaining Terminal sends frame and wakes up determining terminal to be infected, then sends the upgrade package to the terminal to be infected, so that described wait infect Terminal carries out updating operation specifically:
It sends frame to remaining terminal to wake up, in remaining terminal, the terminal that the terminal parameter in being waken up by the frame is waken up is true It is set to terminal to be infected, then sends the upgrade package to the terminal to be infected, so that the terminal to be infected carries out upgrading behaviour Make.
8. the node upgrade method according to claim 7 based on lorawan agreement, which is characterized in that described to remaining Terminal sends frame and wakes up, and in remaining terminal, the terminal that the terminal parameter in being waken up by the frame wakes up is determined as wait infect Terminal, then the upgrade package is sent to the terminal to be infected, so that the terminal to be infected carries out updating operation specifically:
It sends frame to remaining terminal to wake up, in remaining terminal, by consistent with the infection type label of terminal and terminal is worked as Preceding version number is determined as terminal to be infected lower than the terminal of latest edition number, and sends institute to the terminal to be infected after the delay Upgrade package is stated, so that the terminal to be infected carries out updating operation;
Wherein, the terminal parameter in the frame wake-up includes the type label for infecting terminal and the latest edition number.
9. a kind of server based on lorawan agreement characterized by comprising
First sending module sends upgrade request for determining infection terminal, and to the infection terminal;
Second sending module is sent out after receiving the upgrade request response that the infection terminal is sent to the infection terminal Upgrade package is sent, so that Xiang Qiyu terminal sends frame and wakes up determining terminal to be infected after the infection terminal carries out updating operation, then The upgrade package is sent to the terminal to be infected, so that the terminal to be infected carries out updating operation;
Loop module, for redefining infection terminal after preset first time period.
10. a kind of infection terminal based on lorawan agreement characterized by comprising
Third sending module, after receiving the upgrade request that server is sent, Xiang Suoshu server sends upgrade request and answers It answers, wherein the upgrade request is that server determines the request sent after infection terminal to the infection terminal;
Upgraded module carries out updating operation after receiving the upgrade package that the server is sent;
Infection module wakes up determining terminal to be infected for sending frame to remaining terminal, then sends institute to the terminal to be infected Upgrade package is stated, so that the terminal to be infected carries out updating operation.
CN201811645248.8A 2018-12-29 2018-12-29 A kind of node upgrade method and system based on lorawan agreement Pending CN109450719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811645248.8A CN109450719A (en) 2018-12-29 2018-12-29 A kind of node upgrade method and system based on lorawan agreement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811645248.8A CN109450719A (en) 2018-12-29 2018-12-29 A kind of node upgrade method and system based on lorawan agreement

Publications (1)

Publication Number Publication Date
CN109450719A true CN109450719A (en) 2019-03-08

Family

ID=65542193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811645248.8A Pending CN109450719A (en) 2018-12-29 2018-12-29 A kind of node upgrade method and system based on lorawan agreement

Country Status (1)

Country Link
CN (1) CN109450719A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308916A (en) * 2019-06-27 2019-10-08 厦门四信通信科技有限公司 OTA upgrade method, device, equipment, system and storage medium based on lorawan agreement
CN110475245A (en) * 2019-07-15 2019-11-19 武汉阿迪克电子股份有限公司 A kind of wireless encryption upgrade method of LoRaWAN terminal
CN111465039A (en) * 2020-04-13 2020-07-28 中科芯集成电路有限公司 Wireless upgrading method based on L ora technology

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281399A (en) * 2013-06-18 2013-09-04 广东顺德长和电气有限公司 On-line upgrade system and method for classified remote control terminals
CN105046292A (en) * 2015-06-11 2015-11-11 中国东方电气集团有限公司 Energy consumption control method for electronic paper passive tag
CN107040399A (en) * 2016-02-04 2017-08-11 京东方科技集团股份有限公司 A kind of upgrade file method for down loading, equipment and system
CN108170450A (en) * 2017-12-28 2018-06-15 北京远特科技股份有限公司 The upgrade method of system firmware, apparatus and system in a kind of equipment
CN108811051A (en) * 2017-05-02 2018-11-13 珠海市魅族科技有限公司 Communication means, communication device and the communication equipment of WLAN

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281399A (en) * 2013-06-18 2013-09-04 广东顺德长和电气有限公司 On-line upgrade system and method for classified remote control terminals
CN105046292A (en) * 2015-06-11 2015-11-11 中国东方电气集团有限公司 Energy consumption control method for electronic paper passive tag
CN107040399A (en) * 2016-02-04 2017-08-11 京东方科技集团股份有限公司 A kind of upgrade file method for down loading, equipment and system
CN108811051A (en) * 2017-05-02 2018-11-13 珠海市魅族科技有限公司 Communication means, communication device and the communication equipment of WLAN
CN108170450A (en) * 2017-12-28 2018-06-15 北京远特科技股份有限公司 The upgrade method of system firmware, apparatus and system in a kind of equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308916A (en) * 2019-06-27 2019-10-08 厦门四信通信科技有限公司 OTA upgrade method, device, equipment, system and storage medium based on lorawan agreement
CN110308916B (en) * 2019-06-27 2022-08-05 厦门四信通信科技有限公司 OTA upgrading method, device, equipment, system and storage medium based on lorawan protocol
CN110475245A (en) * 2019-07-15 2019-11-19 武汉阿迪克电子股份有限公司 A kind of wireless encryption upgrade method of LoRaWAN terminal
CN111465039A (en) * 2020-04-13 2020-07-28 中科芯集成电路有限公司 Wireless upgrading method based on L ora technology
CN111465039B (en) * 2020-04-13 2022-08-02 中科芯集成电路有限公司 Wireless upgrading method based on Lora technology

Similar Documents

Publication Publication Date Title
CN109450719A (en) A kind of node upgrade method and system based on lorawan agreement
AU768774B2 (en) Method for processing messages in a cellular base station system
EP3046394B1 (en) Message processing method and mme selection method and device
US10609633B2 (en) Method for triggering registrar protocol interaction, access point, and station
CN109952747A (en) For managing method, computer program, carrier, computer program product and the device of the small data transmission from user equipment
CN105981413A (en) System and method for always on connections in wireless communications system
CN110192428B (en) Method for message processing and associated device and apparatus
CN108322437B (en) Adaptive communication method and device for multiple protocol devices
CN108376142A (en) A kind of distributed memory database method of data synchronization and system
CN110381500A (en) A kind of test method, device and the computer readable storage medium of double card paging conflict
CN105978937A (en) Bluetooth slave device and upgrade method thereof
CN112596768B (en) Updating method and device of equipment, storage medium and electronic device
CN113765714A (en) Equipment network distribution method and device, storage medium and electronic equipment
CN103281346A (en) Disconnection reconnection method, network system and proxy server
CN110417876B (en) Session method, node server in distributed system and master control equipment
CN105228238A (en) A kind of periodically keep-alive transmission method, equipment and system
CN111064552A (en) Intelligent device control method and device, electronic device and storage medium
CN107862040B (en) Method and device for updating data in cache of application instance and cluster
CN105025593A (en) Entity release method and equipment
US20120142330A1 (en) System and Method For Transactional Application Lifecycle Management For Mobile Devices
CN110351897A (en) A kind of method, equipment of the core network and the access network equipment of the determining SOT state of termination
CN109728937A (en) A kind of method and device of the updating network state of voice mould group
CN111885564B (en) Data transmission method, equipment upgrading method and computer readable storage medium
CN112738823A (en) Interface data interaction method, distributed unit and central unit
CN112911659B (en) NR-based information reporting method and device

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

Application publication date: 20190308

RJ01 Rejection of invention patent application after publication