CN103475708A - Remote software updating method - Google Patents
Remote software updating method Download PDFInfo
- Publication number
- CN103475708A CN103475708A CN 201310407438 CN201310407438A CN103475708A CN 103475708 A CN103475708 A CN 103475708A CN 201310407438 CN201310407438 CN 201310407438 CN 201310407438 A CN201310407438 A CN 201310407438A CN 103475708 A CN103475708 A CN 103475708A
- Authority
- CN
- China
- Prior art keywords
- software
- node
- boot
- background server
- remote
- 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
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Disclosed is a remote software updating method. Under the environments of target hardware and U-boot guiding software, a software image is downloaded to the target hardware in a remote communication mode, and software updating, on the target hardware, of non-U-boot parts comprising operation systems and application programs is realized. According to the remote software updating method, updated software version record management and software updating state management, in wireless networking, of all nodes with identical hardware configuration are realized in upper computer software. By the application of the remote software updating method, updating, at target hardware nodes, of the operation system and the application program can be realized under specific target hardware environments, the manual operation of conducting software updating on each hardware point is avoided, the workload of development personnel and maintenance personnel is effectively reduced, and the operation cost and the maintenance cost are lowered.
Description
Technical field
The invention belongs to computer embedded software, Internet of Things field, be specifically related to the remote software update method on a kind of Internet of Things multinode hardware based on U-boot.
Background technology
Software upgrading, refer to that the software developer is when writing software, because the designer considers not comprehensive or program function imperfection, after software publishing, after the modification to program or adding new function, again issues and be deployed to the process of goal systems.
U-boot, Universal BootLoader, be a system guiding software of increasing income.By the project PPCBoot of increasing income, grown up, ARMboot has been incorporated to PPCBoot, and the Loader of some other arch is collectively referred to as U-Boot.First version U-Boot-0.2.0 issue on December 17th, 2002.U-Boot provides two kinds of operator schemes: start-up loading (Boot loading) pattern and download (Downloading) pattern, and there is the repertoire of large-scale Boot Loader.U-Boot is protected by the GPL authorized agreement.
Node in sensing network belongs to the embedded system type, and generally, the software upgrading of the system of these nodes need to be with RS232 or jtag interface mode, is connected to host computer with wire cable and carries out successively the software of each node is upgraded.A sensing network consists of a large amount of sensor nodes, after whole sensing network is disposed, adopts wired cable to connect successively the mode that each node is carried out to software upgrading and is difficult to operation, upgrades cost higher, has affected the actual deployment application of sensor network.
Summary of the invention
In order to solve under sensor network environment, the software upgrading of each sensor node is the problem of difficulty comparatively, the invention provides a kind of remote software update method based on U-boot, and its main contents are:
A kind of remote software update method, comprise the steps:
(1) for the hardware platform of sensor node, customization U-boot, the functions such as U-boot can realize that the Software Mirroring of hardware platform is downloaded, transmits, write, verification, radio communication and renewal feedback;
(2) U-boot is written on the memory of gateway node;
(3) background server employing 3G or GPRS or mobile wireless network or WiFi or Ethernet are set up and are communicated by letter with the gateway node in sensor network;
(4) utilize supporting Development Tool Chain compiling to generate and upgrade software image file used, and this software image file is deployed on background server, managed by the background server management software;
(5) background server sends the software upgrading instruction to each node of transducer;
(6) after sensor node is received and upgraded instruction, sensor node system resets automatically, and U-boot upgrades needed software image file to the background server request, and this document is write to the memory on gateway node;
(7) after write operation completes, sensor node system restarts, and after this node is consistent to server end inquiring and authenticating software version, sends and is updated successfully status data, otherwise send, upgrades the status of fail data;
(8) repeating step (4)~(7), until in network, all node updates are complete.
Further, described memory is sheet data file chip.
Further, adopt Zigbee or 433Mhz communication between described gateway node
Further, each node in sensor network, update software successively near and far on communication link.
The invention provides a kind of solution of remote update sensor network, sensor node for specific target hardware platform, the functions such as the image file that has increased software upgrading on the Boot of this node Loader transmits, writes, in conjunction with the software function of background server, thereby realize the software upgrading of whole each node of sensor network.
Innovative point of the present invention is following several respects:
The present invention provides the method for each node software in a kind of batch updating network connected based on non-cable for each node in sensor network.
The present invention has realized the mirror image management to the destination node update software with software mode on background server.
Customize on the present invention U-boot used at each sensor node, increased file download, verification newly, write the functions such as specific model memory.
Utilize this programme, can realize that to the node in sensor network software batch upgrades very easily.
The accompanying drawing explanation
Fig. 1 is Internet of Things network connection diagram.
1-background server 2-sensor network
Zigbee communication protocol in the communication mode 4-sensor network of 3-background server and sensor network
5-sensor network gateway node 6-sensor node
Embodiment
The detailed process of remote software update method the present invention proposed below in conjunction with accompanying drawing is described in detail.
The present invention program's realization is divided into two stages---i.e. the software upgrading stage after the customization of U-boot before sensor node deployment and whole sensor network disposition.
(1), before each node deployment, U-boot is customized and is written on the memory of node;
(2) after disposing, utilize supporting Development Tool Chain compiling to generate and upgrade software image file used, send the renewal instruction by background server to each node of sensor network, successively the software of the part of the non-U-boot on each node upgraded, thereby realized the software upgrading of whole sensor network nodes.
Technical scheme of the present invention is specific as follows:
The U-boot customization.Hardware platform for sensor node, realize the functions such as the image file that stores core for node hardware writes, file transfer, file verification, radio communication on U-boot, after increase realizing the automatic enabled instruction of system and image file have been upgraded, send the function that new state more arrives background server.
Set up communicating by letter of background server and node.Background server employing 3G or GPRS or mobile wireless network or WIFi or Ethernet are set up and are communicated by letter with the gateway node in sensor network, and each node adopts Zigbee or 433Mhz communication.
Application and the work of software upgrading stage.
Complete at each sensor node deployment, after forming sensor network, in the time of need to be upgraded the software on each sensor node, press following flow performing:
The instrument chain supporting with sensor node becomes to upgrade image file used by the program compilation after upgrading, and this document is deployed on background server, by server management software, managed.
Background server sends the software upgrading instruction to each node of transducer.
After sensor node is received and upgraded instruction, node system resets automatically, and U-boot upgrades needed software image file to the background server request, and this document is write to the memory on gateway node.After write operation completes, node system restarts, and after this node is consistent to server end inquiring and authenticating software version, sends and is updated successfully status data, otherwise send, upgrades the status of fail data.Each node in sensor network, near and far successively by this method update software, until in network, all node updates are complete on communication link.
Below in conjunction with the drawings and specific embodiments, the invention will be further described:
Fig. 1 has described the schematic diagram of this programme.
Background server 1 employing 3G or GPRS or mobile wireless network or WIFi or Ethernet are set up and are communicated by letter with gateway 5 nodes in sensor network, and each node adopts Zigbee or 433Mhz communication.
The instrument chain supporting with sensor node 6 becomes to upgrade image file used by the program compilation after upgrading, and this document is deployed on background server 1, by server management software, managed.
Background server 1 sends the software upgrading instruction to each node 6 of transducer.
After sensor node 6 is received and upgraded instruction, sensor node 6 systems reset automatically, and U-boot upgrades needed software image file to background server 1 request, and this document is write to the memory on gateway node 5.After write operation completes, sensor node 6 system restarts, send and be updated successfully status data after sensor node 6 is consistent to background server 1 inquiring and authenticating software version, otherwise send, upgrades the status of fail data.Each node in sensor network, near and far successively by this method update software, until in network, all node updates are complete on communication link.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; Although with reference to preferred embodiment, the present invention is had been described in detail, those of ordinary skill in the field are to be understood that: still can modify or the part technical characterictic is equal to replacement the specific embodiment of the present invention; And not breaking away from the spirit of technical solution of the present invention, it all should be encompassed in the middle of the technical scheme scope that the present invention asks for protection.
Claims (4)
1. a remote software update method, comprise the steps:
(1) hardware platform for sensor node customizes U-boot;
(2) U-boot is written on the memory of gateway node;
(3) background server employing 3G or GPRS or mobile wireless network or WiFi or Ethernet are set up and are communicated by letter with the gateway node in sensor network;
(4) utilize supporting Development Tool Chain compiling to generate and upgrade software image file used, and this software image file is deployed on background server;
(5) background server sends the software upgrading instruction to each node of transducer;
(6) after sensor node is received and upgraded instruction, node system resets automatically, and U-boot upgrades needed software image file to the background server request, and this document is write to the memory on ingress;
(7) after write operation completes, node system restarts, and after this node is consistent to server end inquiring and authenticating software version, sends and is updated successfully status data, otherwise send, upgrades the status of fail data;
(8) repeating step (4)~(7), until in network, all node updates are complete.
2. remote software update method as claimed in claim 1, is characterized in that, described memory is sheet data file chip.
3. remote software update method as claimed in claim 1, is characterized in that, each node in sensor network is update software successively near and far on communication link.
4. remote software update method as claimed in claim 1, is characterized in that, adopts Zigbee or 433Mhz communication between described gateway node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201310407438 CN103475708A (en) | 2013-09-09 | 2013-09-09 | Remote software updating method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201310407438 CN103475708A (en) | 2013-09-09 | 2013-09-09 | Remote software updating method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103475708A true CN103475708A (en) | 2013-12-25 |
Family
ID=49800401
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201310407438 Pending CN103475708A (en) | 2013-09-09 | 2013-09-09 | Remote software updating method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103475708A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016004564A1 (en) * | 2014-07-07 | 2016-01-14 | Hewlett-Packard Development Company, L.P. | Inheritance of anqp elements |
CN106406947A (en) * | 2016-09-13 | 2017-02-15 | 广东欧珀移动通信有限公司 | Method and apparatus for preventing system service process from restarting, and mobile terminal |
CN106688206A (en) * | 2014-03-06 | 2017-05-17 | 赛西蒂***股份有限公司 | Application environment for lighting sensor networks |
CN109683941A (en) * | 2018-12-27 | 2019-04-26 | 四川九洲空管科技有限责任公司 | A kind of answering machine method for upgrading software based on single-chip on-line loaded |
-
2013
- 2013-09-09 CN CN 201310407438 patent/CN103475708A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106688206A (en) * | 2014-03-06 | 2017-05-17 | 赛西蒂***股份有限公司 | Application environment for lighting sensor networks |
CN106688206B (en) * | 2014-03-06 | 2020-03-03 | 维里逊专利及许可公司 | Application environment of lighting sensor network |
WO2016004564A1 (en) * | 2014-07-07 | 2016-01-14 | Hewlett-Packard Development Company, L.P. | Inheritance of anqp elements |
CN106406947A (en) * | 2016-09-13 | 2017-02-15 | 广东欧珀移动通信有限公司 | Method and apparatus for preventing system service process from restarting, and mobile terminal |
CN106406947B (en) * | 2016-09-13 | 2019-09-17 | Oppo广东移动通信有限公司 | The method and device that prevents system service process from restarting, mobile terminal |
CN109683941A (en) * | 2018-12-27 | 2019-04-26 | 四川九洲空管科技有限责任公司 | A kind of answering machine method for upgrading software based on single-chip on-line loaded |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9971333B2 (en) | Programming auxiliary system of programmable controller and method thereof | |
US8904074B2 (en) | Method and apparatus for distributing configuration files in a distributed control system | |
CN102403034B (en) | DSP controls single-board device and remote upgrade method thereof and server | |
US20120117557A1 (en) | Method and system for upgrading wireless data card | |
CN103092633B (en) | A kind of servo control software on-line rewriting method based on 1553B bus | |
CN104007996A (en) | Reliable firmware upgrading realizing method for distributed control system | |
CN101815988A (en) | Firmware image update and management | |
CN107402776A (en) | A kind of mobile phone wireless upgrading stm32 singlechip controller firmware methods based on bluetooth 4 | |
KR20100041447A (en) | Apparatus and method for automatic testing of softwares or digital divices | |
CN102609326A (en) | Data downloading processing method and data downloading processing device | |
CN103475708A (en) | Remote software updating method | |
CN106411619A (en) | Wireless equipment upgrading method based on low-power-consumption wide area network | |
CN102223380B (en) | Client terminal automatic updating frame based on Webservice and application thereof | |
CN103970565A (en) | Method for implementing FPGA multi-path downloading configuration in server system | |
CN104167822B (en) | A kind of method for parameter configuration for distribution automation terminal device | |
CN112104501A (en) | Remote software upgrading method for agricultural machinery subsoiling Internet of things terminal equipment | |
CN107346244B (en) | A kind of automobile EPS director demon automation download system and method | |
Nikolov | Research firmware update over the air from the cloud | |
CN105808278A (en) | Client version upgrading method and device | |
CN106851626B (en) | The realization device and method of Android system batch upgrade under LAN environment | |
CN103092642A (en) | Apparatus, system and method for upgrading firmware of energy metering device | |
CN115098156B (en) | Network mode management system and management method | |
CN102711095B (en) | A kind of method of the node in wireless sensor network being carried out to radio upgrade | |
CN112152846A (en) | Metering instrument remote upgrading method based on Internet of things | |
CN104092732A (en) | Intelligent terminal software updating method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20131225 |
|
WD01 | Invention patent application deemed withdrawn after publication |