Movatterモバイル変換


[0]ホーム

URL:


CN108228205A - A kind of SCM Based sensor node remote upgrade method - Google Patents

A kind of SCM Based sensor node remote upgrade method
Download PDF

Info

Publication number
CN108228205A
CN108228205ACN201611169779.5ACN201611169779ACN108228205ACN 108228205 ACN108228205 ACN 108228205ACN 201611169779 ACN201611169779 ACN 201611169779ACN 108228205 ACN108228205 ACN 108228205A
Authority
CN
China
Prior art keywords
sensor node
server
packet
new
scm based
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
CN201611169779.5A
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.)
Aerospace Science and Industry Inertia Technology Co Ltd
Original Assignee
Aerospace Science and Industry Inertia 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 Aerospace Science and Industry Inertia Technology Co LtdfiledCriticalAerospace Science and Industry Inertia Technology Co Ltd
Priority to CN201611169779.5ApriorityCriticalpatent/CN108228205A/en
Publication of CN108228205ApublicationCriticalpatent/CN108228205A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The present invention provides a kind of SCM Based sensor node remote upgrade method, including:Establish the communication connection of server and sensor node;Sensor node detects whether to receive the version number of the more new application of server transmission and total packet number;If it is, the version number of more new application and total packet number described in sensor node return;After server receives version number and the total packet number of the more new application, more new procedures are packet-by-packet issued;Sensor node indicates to be 1 to update after having received more new procedures;Sensor node detects the update mark when being 1, deletes former application program, and read the more new procedures and upgraded, juxtaposition, which updates, is identified as 0.

Description

A kind of SCM Based sensor node remote upgrade method
Technical field
The present invention relates to a kind of SCM Based sensor node remote upgrade methods.
Background technology
In Geological Hazards Monitoring field, Sensor monitoring node is generally all mounted on disaster Yi Fa areas, it is desirable that and it is low in energy consumption, it canIt works long hours, maintenance difficulties are big, of high cost.
Invention content
The brief overview about the present invention is given below, in order to provide the basic reason about certain aspects of the inventionSolution.It should be appreciated that this general introduction is not the exhaustive general introduction about the present invention.It is not intended to determine the key of the present inventionOr pith, nor is it intended to limit the scope of the present invention.Its purpose only provides certain concepts in simplified form, withThis is as the preamble in greater detail discussed later.
To solve the above problems, the present invention proposes a kind of SCM Based sensor node remote upgrade method.
A kind of SCM Based sensor node remote upgrade method, including:
Establish the communication connection of server and sensor node;
Sensor node detects whether to receive the version number of the more new application of server transmission and total packet number;
If it is, the version number of more new application and total packet number described in sensor node return;
After server receives version number and the total packet number of the more new application, more new procedures are packet-by-packet issued;
Sensor node indicates to be 1 to update after having received more new procedures;
Sensor node detects the update mark when being 1, deletes former application program, and more new procedures described in reading intoRow upgrading, juxtaposition update are identified as 0.
SCM Based sensor node remote upgrade method provided by the invention, can effectively to distance sensor intoRow is safeguarded.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show belowThere is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only thisSome embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be withOther attached drawings are obtained according to these attached drawings.
Fig. 1 is SCM Based a kind of flow of embodiment of sensor node remote upgrade method provided by the inventionFigure.
Fig. 2 is the hardware architecture diagram of SCM Based sensor node remote upgrade method provided by the invention.
Specific embodiment
Illustrate the embodiment of the present invention with reference to the accompanying drawings.It is retouched in the attached drawing of the present invention or a kind of embodimentThe elements and features stated can be combined with elements and features illustrated in one or more other drawings or embodiments.It should be noted that it in order to understand purpose, is omitted known to unrelated to the invention, those of ordinary skill in the art in attached drawing and explanationComponent and processing expression and description.
With reference to figure 1 and Fig. 2, the present embodiment provides a kind of SCM Based sensor node remote upgrade method, including:
Step S101 establishes the communication connection of server and sensor node;
Step S102, sensor node detect whether to receive the version number of the more new application of server transmission and totalPacket number;
Step S103, if it is, the version number of more new application and total packet number described in sensor node return;
Step S104 after server receives version number and the total packet number of the more new application, packet-by-packet issues updateProgram;
Step S105, sensor node indicate to be 1 to update after having received more new procedures;
Step S106, sensor node detects the update mark when being 1, deletes former application program, and described in readingMore new procedures are upgraded, and juxtaposition update is identified as 0.
Specifically, sensor node software is divided into bootstrap and application program two parts.Sensor node is started to workWhen Bootloader, bootstrap is for judging whether there is program update, will be new if update original program erasingProgram is written, and starts new application program, does not update and directly initiate original application program;Application program is current for being responsible forThe whole flow process control of sensor node, the data storage of acquisition, processing, transmission and remote upgrade including data and markWill updates.
Sending instructions under server end makes sensor node Connection Service device, and server end detects the company of sensor nodeIt connects, issues the version number of more new application and total packet number, sensor detects version number and the Zong Bao of the more new applicationIt is several, it is returned, server packet-by-packet issues more new procedures, and sensor node is received after each packet more new procedures to describedServer carries out response, and the data packet of more new procedures is stored in specified region, when sensor node has received more new proceduresAfter disconnect, and to mark is updated for 1, restart sensor node software, into bootstrap, bootstrap detects moreWhether new logo is 1, if it is, former application program is deleted, new application program from memory block is read, puts update markIt is 0.
If the sensor node response is incorrect or without response, server takes repeating transmission measure, more than default timeAfter number retransmits failure, this upgrading failure is judged.
If upgrading failure, the communication connection with sensor is established again, and sensor node is received updated journey with last timeWhen sequence version is consistent, paid-in packet number and current version are back to server, server is unwrapped the beginning and issued from next.
SCM Based sensor node remote upgrade method provided by the invention, can effectively to distance sensor intoRow is safeguarded.
Although the present invention and its advantage is described in detail it should be appreciated that without departing from by appended claimVarious changes, replacement and transformation can be carried out in the case of the spirit and scope of the present invention limited.Moreover, the model of the applicationEnclose the specific embodiment for being not limited only to the described process of specification, equipment, means, method and steps.In the art is commonTechnical staff performs and corresponding reality described herein from the disclosure it will be readily understood that can be used according to the present inventionApply the essentially identical function of example or obtain process essentially identical with it result, existing and that future is to be developed, equipment,Means, method or step.Therefore, appended claim purport includes such process, equipment, hand in the range of themSection, method or step.

Claims (4)

CN201611169779.5A2016-12-162016-12-16A kind of SCM Based sensor node remote upgrade methodPendingCN108228205A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201611169779.5ACN108228205A (en)2016-12-162016-12-16A kind of SCM Based sensor node remote upgrade method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201611169779.5ACN108228205A (en)2016-12-162016-12-16A kind of SCM Based sensor node remote upgrade method

Publications (1)

Publication NumberPublication Date
CN108228205Atrue CN108228205A (en)2018-06-29

Family

ID=62650778

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201611169779.5APendingCN108228205A (en)2016-12-162016-12-16A kind of SCM Based sensor node remote upgrade method

Country Status (1)

CountryLink
CN (1)CN108228205A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101877723A (en)*2010-06-182010-11-03中兴通讯股份有限公司Wireless sensor network node remote update system, method and equipment
CN104122815A (en)*2014-06-262014-10-29南京易周能源科技有限公司Hydrological measurement and control terminal based on ARM and remote upgrading method thereof
CN105183519A (en)*2015-09-182015-12-23烽火通信科技股份有限公司Device and method for fragmented upgrade of ONU software version
CN105354070A (en)*2015-12-112016-02-24成都广达新网科技股份有限公司Method for upgrading equipment firmware through I2C
CN105573810A (en)*2016-03-232016-05-11重庆邮电大学Remote upgrade method and remote upgrade device for wireless sensor network node
US20160216961A1 (en)*2013-05-312016-07-28Itron, Inc.Surfacing cross platform applications

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101877723A (en)*2010-06-182010-11-03中兴通讯股份有限公司Wireless sensor network node remote update system, method and equipment
US20160216961A1 (en)*2013-05-312016-07-28Itron, Inc.Surfacing cross platform applications
CN104122815A (en)*2014-06-262014-10-29南京易周能源科技有限公司Hydrological measurement and control terminal based on ARM and remote upgrading method thereof
CN105183519A (en)*2015-09-182015-12-23烽火通信科技股份有限公司Device and method for fragmented upgrade of ONU software version
CN105354070A (en)*2015-12-112016-02-24成都广达新网科技股份有限公司Method for upgrading equipment firmware through I2C
CN105573810A (en)*2016-03-232016-05-11重庆邮电大学Remote upgrade method and remote upgrade device for wireless sensor network node

Similar Documents

PublicationPublication DateTitle
CN107291516B (en)Firmware upgrading method and system
CN105930236A (en)Application program version returning method based on BMS Bootloaderupgrade
CN105354140A (en)Automation testing method and system
CN106569847A (en)Method for realizing IAP remote upgrade through vehicle-mounted system based on mobile network
CN104699511B (en)Plug-in unit upgrade method and device
CN102073517A (en)Upgrading and backup method and device for embedded system
CN104778057A (en)Terminal system upgrading method and device, and server
CN108121554A (en)A kind of upgrade method and upgrade-system of open air embedded device system
CN103036706A (en)Local processing method of application upgrading abnormity
CN110262820A (en)Method, apparatus, system and storage medium based on MQTT protocol realization OTA upgrading
CN108037941A (en)Application program update method, electronic equipment based on public plug-in unit, storage medium
US10469620B2 (en)Method for transferring a new software version to at least one electricity meter via a communication network
CN102662789A (en)Method for adding CRC (cyclic redundancy check) to ELF (executable linkable format) file
CN107315620A (en)Collector intelligent remote upgrade method in a kind of AMRS
CN1953376A (en)A system and method for updating remote software of wireless terminal equipment
CN102195798A (en)Method for upgrading optical network unit
CN112100081B (en)Upgrade test method and device based on double-core intelligent electric meter and computer equipment
CN117474306A (en)Production flow control method and device, electronic equipment and readable storage medium
CN113918200A (en)High-efficiency and reliable wireless upgrading method for application program of embedded equipment
CN109766207A (en) Recovery method, device, monitoring device and storage medium for remote firmware upgrade
CN111352764B (en)Chip repairing method, device, equipment and storage medium
CN108228205A (en)A kind of SCM Based sensor node remote upgrade method
CN117632186A (en)Ammeter upgrading method and device, electronic equipment and readable storage medium
CN102567059B (en)A kind of method of remote update device software
CN106020786A (en)Method and device for dynamically restoring application program, and related system

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
WD01Invention patent application deemed withdrawn after publication
WD01Invention patent application deemed withdrawn after publication

Application publication date:20180629


[8]ページ先頭

©2009-2025 Movatter.jp