CN103354505B - A kind of electronic installation group's software batch upgrade method - Google Patents
A kind of electronic installation group's software batch upgrade method Download PDFInfo
- Publication number
- CN103354505B CN103354505B CN201310269785.8A CN201310269785A CN103354505B CN 103354505 B CN103354505 B CN 103354505B CN 201310269785 A CN201310269785 A CN 201310269785A CN 103354505 B CN103354505 B CN 103354505B
- Authority
- CN
- China
- Prior art keywords
- electronic installation
- software
- cluster network
- electronic
- information table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000009434 installation Methods 0.000 title claims abstract description 106
- 238000000034 method Methods 0.000 title claims abstract description 33
- 101000746134 Homo sapiens DNA endonuclease RBBP8 Proteins 0.000 claims abstract description 7
- 101000969031 Homo sapiens Nuclear protein 1 Proteins 0.000 claims abstract description 7
- 102100021133 Nuclear protein 1 Human genes 0.000 claims abstract description 7
- 238000004891 communication Methods 0.000 claims description 4
- 230000005611 electricity Effects 0.000 claims description 3
- 238000007689 inspection Methods 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 description 4
- 206010037660 Pyrexia Diseases 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 241000196324 Embryophyta Species 0.000 description 1
- 241000220317 Rosa Species 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000000875 corresponding effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000007711 solidification Methods 0.000 description 1
- 230000008023 solidification Effects 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
The present invention relates to a kind of electronic installation group's software batch upgrade method, its technical characteristics is: comprise the following steps: in cluster network, the timing of all electronic installations sends heartbeat message on cluster network;Electronic installation in cluster network receives heartbeat message and safeguards the device information table of self;Arbitrarily choose an electronic installation in cluster network, utilize the bootstrap within electronic installation, by the COM1 specified, this electronic installation is carried out software upgrading;After electronic installation is restarted automatically, actively find the low electronic installation of cluster network internal program version by the device information table of electronic installation self and it is carried out software upgrading.The present invention is reasonable in design, by updating an electronic device program in cluster network, just can realize the renewal of the program of all electronic installations in whole cluster network, have flexible, efficiency is high, realize the features such as convenient.
Description
Technical field
The invention belongs to electronic device software upgrade technique field, especially a kind of electronic installation group's software batch
Upgrade method.
Background technology
Electronic installation, in research and development and production phase, can pass through the multiple technologies such as emulator, fever writes in factory
Means complete the program upgrading of electronic installation.But, electronic device applications in industry spot time, it is clear that no
The facility environment requirement needed for program is carried out in possessing factory.For this problem, rose in recent years by guiding
Completing the technology of electronic device program upgrading, this technology is by electronic installation inside solidification guidance code, logical
Cross corresponding COM1, according to the communication protocol of agreement, complete program upgrading.This solves work
Industry field electronic devices program upgrade problem so that emulator of not the most being correlated with, the feelings of fever writes equipment
Under condition, only it is possibly realized by a certain COM1 upgrading electronic device program.Though said method can partly solve
Certainly software upgrade problem, but still come with some shortcomings: the method only applicable object is separate unit electronic installation, and
It not electronic installation group.If field erected equipment amount is big, such as hundreds, thousands of or more time,
The equipment of industry spot is the most widely distributed simultaneously, tens kilometers, and kilometers the most up to a hundred make in this way
Upgrade one by one, it is clear that inefficiency, need to consume substantial amounts of manpower and materials.
For the method for upgrading software of electronic installation group, Wuhan Fenghuo Network Co., Ltd. was in 2009 once
Applied for following patent of invention: a kind of method of batch upgrade in cluster network.This patented method is by literary composition
Part server===" relay file servers===" three layers of terminal, successively carry out file transmission upgrading.
The method can promote and improve below the efficiency of electronic installation group's software batch upgrading, but still existence really
Some is not enough: (1) the method needs to dispose special computer as file upgrade server in cluster network,
And the electronic installation in network needs to support snmp protocol, this requirement does not have versatility, it is impossible to be suitable for one
As the industrial applications of embedded electronic device;(2) the method need prior specified file server with
And relay file servers, and must successively one-level one-level carry out file transmission, upgrade method underaction;
(3), when the method carries out the upgrading of electronic installation group's software batch, (or relaying is civilian can only pass through file server
Part server) to successively each terminal being carried out point-to-point upgrading, inefficient.
Summary of the invention
It is an object of the invention to overcome the deficiencies in the prior art, it is provided that a kind of highly versatile, flexible and
Electronic installation group's software batch upgrade method that efficiency is high.
The present invention solves it and technical problem is that and take techniques below scheme to realize:
A kind of electronic installation group's software batch upgrade method, comprises the following steps:
Step 1: in cluster network, the timing of all electronic installations sends heartbeat message on cluster network;
Step 2: the electronic installation in cluster network receives heartbeat message and ties up the device information table of self
Protect;
Step 3: arbitrarily choose an electronic installation in cluster network, utilize the bootstrap within electronic installation,
By the COM1 specified, this electronic installation is carried out software upgrading;
Step 4: after the electronic installation in step 3 is restarted automatically, by the device information table of electronic installation self
Actively find the low electronic installation of cluster network internal program version and it is carried out software upgrading, until in network
The program of all electronic installations is same version.
And, also include the inspection step after cluster network upgrading after described step 4: when in cluster network
After the program of all electronic installations has been upgraded, use electronic installation selected in step 3 by device information
Table prints, it is judged that the upgraded version situation of all electronic installations in cluster network.
And, described electronic installation is provided with unique ID and device information table, each electronic installation all with
Bootstrap, and there is the function by communication interface upgrading electronic device software.
And, described heartbeat message includes electronic installation self ID and program version number.
And, described device information table includes ID and the program version number of other electronic installation.
And, described step 4 actively finds journey in cluster network by the device information table of electronic installation self
When the electronic installation that sequence version is low is upgraded, it then follows following principle: selecting device information table internal program successively
The relatively low electronic installation of version is upgraded;The electronic installation that one program version is high once can only be upgraded one
Low program version electronic installation;The electronic installation of one lowest version program once can only be by a high program version
Electronic installation updates.
Advantages of the present invention and good effect be:
1, this upgrade method is flexible: for an electronic installation cluster network, no matter electronics dress in network
Being equipped with how many, distributional region has the widest, arbitrarily updates an electronic device program in cluster network, just may be used
The renewal of the program of all electronic installations in realizing whole cluster network.
2, the manual intervention of this upgrade method is few: by network program batch upgrading method, no matter a cluster net
In network, electronic installation has how many, whole electronic installations in only needing manual intervention once can complete cluster network
Upgrading task.
3, this upgrade method efficiency is high: high by batch upgrading method efficiency, even one has 1000
The large-scale collective electron plant network of platform electronic installation, the shortest update time, just correspond to 10 times
Separate unit electronic installation update time.
4, this upgrade method realizes conveniently, whole implementation process, it is not necessary to additional hardware is supplemented, all by soft
Part realizes.
Accompanying drawing explanation
Fig. 1 is the process chart of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the present invention is further described.
A kind of electronic installation group's software batch upgrade method, it is possible to realize each electronic installation in cluster network
Carry out software batch upgrade function.The topological structure of cluster network can be hub-and-spoke configuration or bus structures, collection
Each electronic installation of group network is equipped with unique ID mark, and each electronic installation is all with guiding journey
Sequence, has the function by communication interface (such as serial line interface etc.) upgrading electronic device program, Mei Ge electricity
Sub-device all can send data in the way of unicast or multicast.
As it is shown in figure 1, electronic installation group's software batch upgrade method comprises the following steps:
Step 1: in cluster network, the timing of all electronic installations sends heartbeat message on cluster network.
In this step, heartbeat message frequency is frame or other frequencies each second one;Heartbeat message includes electronics
Device self ID and program version number.
Step 2: the electronic installation in cluster network receives heartbeat message and ties up the device information table of self
Protect.
In step, electronic installation receives the heartbeat message that other electronic installations send, and extracts electronics therein
Device ID and program version number, then store this electronic installation by electronic installation ID and program version number
In device information table.
Every electronic installation is equipped with device information table, and this device information table is used for this electronic device records network
The ID of interior other electronic installations all and program version number.
Step 3: arbitrarily choose an electronic installation in cluster network, utilize the bootstrap within electronic installation,
By the COM1 specified, this electronic installation is carried out software upgrading.
Step 4: after the electronic installation chosen in step 3 has been upgraded and automatically restarted, this electronic installation
The highest version that program version is in cluster network, this electronic installation is by the device information table of self actively
The electronic installation finding cluster network internal program version low is upgraded, until all electronic installations in network
Program is same version, thus the purpose of all electronic device programs in the whole network that reaches to upgrade.
In this step, after the program of the electronic installation that step 3 is selected is updated, this electronic installation is by dimension
The device information table protected determine this electronic device program version be in network highest version time, selecting device successively
The relatively low electronic installation of information table internal program version is upgraded;The electronic installation that one program version is high, one
A secondary low program version electronic installation of can only upgrading;One lowest version program electronic device, once can only be by
One high program version electronic installation updates;After a certain electronic device program has been updated, automatically carry out
Warm reset operates, and makes electronic device functions under latest edition program;So circulation is until all electricity in network
The program of sub-device is all updated, and it is artificial dry that whole process only has the upgrading of First electronic device program to need
In advance, the upgrading of remaining electronic device program all need not manual intervention, fully automated carries out.
Step 5: after the program of all electronic installations in cluster network has been upgraded, can use in step 3
Device information table is printed by selected electronic installation by COM1, it is judged that electronics in cluster network
The upgraded version situation of device.
. it is emphasized that embodiment of the present invention is illustrative rather than determinate, therefore
The present invention includes the embodiment being not limited to described in detailed description of the invention, every by those skilled in the art's root
Other embodiments drawn according to technical scheme, also belong to the scope of protection of the invention.
Claims (4)
1. electronic installation group's software batch upgrade method, it is characterised in that: comprise the following steps:
Step 1: in cluster network, the timing of all electronic installations sends heartbeat message on cluster network;
Step 2: the electronic installation in cluster network receives heartbeat message and ties up the device information table of self
Protect;
Step 3: arbitrarily choose an electronic installation in cluster network, utilize the guiding software within electronic installation,
By the COM1 specified, this electronic installation is carried out software upgrading;
Step 4: after the electronic installation in step 3 is restarted automatically, by the device information table of electronic installation self
Actively find the low electronic installation of software version in cluster network and it is carried out software upgrading, until cluster network
The software of interior all electronic installations is same version;
The inspection step after cluster network upgrading is also included: when all electronics in cluster network after described step 4
After the software upgrading of device completes, by an electronic installation, device information table is printed, it is judged that cluster net
The upgraded version situation of all electronic installations in network;
Described electronic installation is provided with unique ID and device information table, and each electronic installation is all soft with guiding
Part, and there is the function by communication interface upgrading electronic device software.
A kind of electronic installation group's software batch upgrade method the most according to claim 1, it is characterised in that:
Described heartbeat message includes electronic installation self ID and software version number.
A kind of electronic installation group's software batch upgrade method the most according to claim 1, it is characterised in that:
Described device information table includes ID and the software version number of other electronic installation.
A kind of electronic installation group's software batch upgrade method the most according to claim 1, it is characterised in that:
In described step 4 actively finds cluster network by the device information table of electronic installation self, software version is low
When electronic installation is upgraded, it then follows following principle: the electricity that in selecting device information table, software version is relatively low successively
Sub-device is upgraded;The electronic installation that one software version is high once can only be upgraded a low software version electronics
Device;The electronic installation of one lowest version software once can only be updated by a high software version electronic installation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310269785.8A CN103354505B (en) | 2013-06-28 | 2013-06-28 | A kind of electronic installation group's software batch upgrade method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310269785.8A CN103354505B (en) | 2013-06-28 | 2013-06-28 | A kind of electronic installation group's software batch upgrade method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103354505A CN103354505A (en) | 2013-10-16 |
CN103354505B true CN103354505B (en) | 2016-08-10 |
Family
ID=49310821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310269785.8A Active CN103354505B (en) | 2013-06-28 | 2013-06-28 | A kind of electronic installation group's software batch upgrade method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103354505B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104750014B (en) * | 2013-12-27 | 2017-08-11 | 施耐德电器工业公司 | A large amount of plogrammable-controller applications/firmware upgrade methods |
CN104133715B (en) * | 2014-08-13 | 2018-05-11 | 新华三技术有限公司 | A kind of power over Ethernet device firmware upgrade method and device |
CN105187262A (en) * | 2015-10-27 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | Router upgrading method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6938075B1 (en) * | 1998-12-24 | 2005-08-30 | Computer Associates Think, Inc. | Method and apparatus for hierarchical software distribution packages including composite packages |
CN101132573A (en) * | 2006-08-23 | 2008-02-27 | 中兴通讯股份有限公司 | Method for implementing terminal batch upgrading |
CN101145948A (en) * | 2007-03-21 | 2008-03-19 | 中兴通讯股份有限公司 | Software upgrade method, device and network element |
CN101447884A (en) * | 2007-11-26 | 2009-06-03 | 华为技术有限公司 | Method for achieving software upgrade by cooperation among network elements, equipment and system therefor |
CN101465757A (en) * | 2009-01-15 | 2009-06-24 | 武汉烽火网络有限责任公司 | Method for batch upgrade in cluster network |
-
2013
- 2013-06-28 CN CN201310269785.8A patent/CN103354505B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6938075B1 (en) * | 1998-12-24 | 2005-08-30 | Computer Associates Think, Inc. | Method and apparatus for hierarchical software distribution packages including composite packages |
CN101132573A (en) * | 2006-08-23 | 2008-02-27 | 中兴通讯股份有限公司 | Method for implementing terminal batch upgrading |
CN101145948A (en) * | 2007-03-21 | 2008-03-19 | 中兴通讯股份有限公司 | Software upgrade method, device and network element |
CN101447884A (en) * | 2007-11-26 | 2009-06-03 | 华为技术有限公司 | Method for achieving software upgrade by cooperation among network elements, equipment and system therefor |
CN101465757A (en) * | 2009-01-15 | 2009-06-24 | 武汉烽火网络有限责任公司 | Method for batch upgrade in cluster network |
Also Published As
Publication number | Publication date |
---|---|
CN103354505A (en) | 2013-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102779056B (en) | Remote hardware method for updating program and system | |
CN103678133A (en) | Task scheduling system for application software cloud testing | |
CN105553684B (en) | A kind of communication system and its router upgrade method of application | |
CN103716188B (en) | The management of Linux server cluster management and maintaining method | |
CN101686145A (en) | Equipment capable of upgrading, upgrading method and system | |
CN104461647A (en) | Implementation method for remotely refreshing server power modules in batch | |
CN107332688B (en) | Graph database-based modeling method and device for electric power information communication system | |
CN103974380A (en) | Terminal access position keep-alive method and device | |
CN103354505B (en) | A kind of electronic installation group's software batch upgrade method | |
CN105049502A (en) | Method of upgrading equipment software in cloud network management system and device | |
CN105511881A (en) | General airborne interactive data management method | |
CN105490826A (en) | Configuration management system and method based on automatic discovery | |
CN104270434A (en) | Service state monitoring system based on cloud service | |
CN104698374A (en) | Method for improving testing efficiency and accuracy of automatic relay protecting tester | |
CN106406946A (en) | Method for automatically upgrading system software of multi-master and slave devices | |
CN104318091A (en) | Moonlet ground testing method based on virtualization computer system | |
CN105141484A (en) | Android equipment remote debugging method based on cloud server | |
CN107733717B (en) | Network configuration method for mobile operation and maintenance of cloud platform | |
CN104717023A (en) | Communication performance predictable 1553B bus engineering telemetric data acquiring method | |
CN105262805A (en) | Method and system for automatically updating learning data of mobile terminal | |
CN103685405B (en) | Network service system and the method updating firmware thereof | |
CN105467921A (en) | Remote online data updating system and method of soft PLC module | |
CN102681876A (en) | Online distributed system updating method | |
CN103686685A (en) | Wireless communication module over-the-air upgrading method | |
CN104346209A (en) | Updating method of substrate management controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |