CN103677871A - Online upgrading system and method - Google Patents

Online upgrading system and method Download PDF

Info

Publication number
CN103677871A
CN103677871A CN201210332471.3A CN201210332471A CN103677871A CN 103677871 A CN103677871 A CN 103677871A CN 201210332471 A CN201210332471 A CN 201210332471A CN 103677871 A CN103677871 A CN 103677871A
Authority
CN
China
Prior art keywords
module
online
operational terminal
upgrading
upgrade
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
CN201210332471.3A
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.)
Shanghai Das Linkin Technology & Development Co Ltd
Original Assignee
Shanghai Das Linkin Technology & Development 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 Shanghai Das Linkin Technology & Development Co Ltd filed Critical Shanghai Das Linkin Technology & Development Co Ltd
Priority to CN201210332471.3A priority Critical patent/CN103677871A/en
Publication of CN103677871A publication Critical patent/CN103677871A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an online upgrading system and method. The system comprises a management center and a plurality of working terminals, wherein the management center comprises an acquiring module, a selection module, a transmitting module and an answering signal receiving module, and each working terminal at least comprises a receiving module, an answering signal transmitting module, a starting module, an operation module, a refreshing module and a switching module. According to the online upgrading system and method, buses are used for transmitting execution codes to all the working terminals section by section, program areas are programmed by Boot programs of the working terminals, online code upgrading is achieved, and the current situations that the upgrading of all terminal equipment of the system is achieved through manual switching and intervention and the system is maintained manually are changed thoroughly.

Description

Online upgrade system and method
Technical field
The present invention relates to a kind of online upgrade system and method, particularly relate to a kind of online upgrade system and method for Energy Consumed Statistic System equipment.
Background technology
At present, the maintenance of energy consumption metering system equipment and upgrading have taken a large amount of man power and material of system, especially can not guarantee the real-time response demand of system.How making system carry out real-time online upgrading, save system applies resource, save the maintenance resource of system, is the problem that energy consumption metering system must solve.
Summary of the invention
The deficiency existing for overcoming above-mentioned prior art, the present invention's object is to provide a kind of online upgrade system and method, it is by realizing online upgrading, thoroughly changed by manual switching intervention and realized the software upgrading of each terminal device of system and the present situation of system manual maintenance, the maintenance resource of having saved system, has improved efficiency.
For reaching above-mentioned and other object, the invention provides a kind of online upgrade system, comprising:
Administrative center, this administrative center comprises that obtaining module, selected module, transmission module and answer signal receives module, and wherein, this obtains module for reading upgrade code, and this selected module is for the selected operational terminal that will upgrade; This sends module and is used for to selected operational terminal transmitting apparatus reset instruction, and to selected operational terminal, send online upgrade after the answer signal that receives selected operational terminal, and the upgrade code that comprises address information is sent to selected operational terminal, simultaneously, when upgrading completes, send upgrading END instruction, this answer signal receives module for receiving the answer signal of operational terminal; And
A plurality of operational terminals, each operational terminal at least comprises reception module, answer signal sends module, start module, operation module, refresh module and switch module, the device reset instruction that wherein this reception module sends for receiving this administrative center, online upgrading instruction, upgrading END instruction and the upgrade code that comprises address information, this answer signal sends module to send answer signal in receiving this device reset instruction Hou Xianggai administrative center, this startup module is after receiving the device reset instruction of self, restart this operational terminal, and start start-up routine, this operation module is with after receiving this online upgrading instruction, move online ROMPaq, this refreshes module with after receiving the upgrade code that comprises address information, by address information, corresponding program area code is refreshed, this switching module is after receiving this upgrading END instruction, switch to the operation of normal procedure district.
Further, each operational terminal also comprises a wait module, to start after this start-up routine in this startup module, waits for some seconds.
Further, this operation module, at waiting time, if operational terminal receives this online upgrading instruction, moves online ROMPaq, otherwise, enter normal program operation.
Further, each operational terminal comprises promoter region and program area, and this start-up routine is deposited in this promoter region.
Further, this administrative center carries out recognition of devices with selected by equipment sequence code.
Further, this administrative center is by RS485 bus and each operational terminal communication.
Further, this administrative center carries out online upgrading according to equipment Serial Number one by one to operational terminal.
For reaching above-mentioned and other object, the present invention also provides a kind of online upgrading method, comprises the steps:
Administrative center reads the upgrade code of each operational terminal, and the operational terminal of selected required upgrading;
This administrative center is to selected operational terminal transmitting apparatus reset instruction;
After receiving the device reset instruction of self, selected operational terminal restarts, and starts start-up routine, and Xiang Gai administrative center sends answer signal simultaneously;
After receiving answer signal, this administrative center sends online upgrade to selected operational terminal, and the upgrade code that comprises address information is sent to this selected operational terminal;
After receiving online upgrading instruction, this selected operational terminal moves online ROMPaq;
The upgrade code that reception comprises address information, and by address information, corresponding program area code is refreshed;
When upgrading completes, this administrative center sends upgrading END instruction; And
Operational terminal, after receiving upgrading END instruction, switches to the operation of normal procedure district.
Further, if selected operational terminal does not receive this online upgrading instruction within a predetermined time, enter normal program operation.
Further, the method is applied to energy consumption metering system.
Compared with prior art, a kind of online upgrade system of the present invention and method are by utilizing RS485 bus that one section one section of run time version is sent to equipment (operational terminal), Boot program by the Boot district of equipment is programmed to program area, realized online code upgrade, the present invention passes through online upgrading, thoroughly changed by manual switching intervention and realized the software upgrading of each terminal device of system and the present situation of system manual maintenance, saved the maintenance resource of system, improved efficiency.
Accompanying drawing explanation
Fig. 1 is the system architecture diagram of a kind of online upgrade system of the present invention;
Fig. 2 is the configuration diagram of the preferred embodiment of a kind of online upgrade system of the present invention;
Fig. 3 is the operational terminal program area configuration schematic diagram of the present invention's preferred embodiment;
Fig. 4 is the flow chart of steps of a kind of online upgrading method of the present invention;
Fig. 5 is the workflow diagram of administrative center's 10 ends in preferred embodiment of the present invention;
Fig. 6 is the workflow diagram of operational terminal 11 ends in preferred embodiment of the present invention.
Embodiment
Below, by specific instantiation accompanying drawings embodiments of the present invention, those skilled in the art can understand other advantage of the present invention and effect easily by content disclosed in the present specification.The present invention also can be implemented or be applied by other different instantiation, and the every details in this instructions also can be based on different viewpoints and application, carries out various modifications and change not deviating under spirit of the present invention.
Fig. 1 is the system architecture diagram of a kind of online upgrade system of the present invention, and Fig. 2 is the configuration diagram of the preferred embodiment of a kind of online upgrade system of the present invention.As shown in Figures 1 and 2, a kind of online upgrade system of the present invention, is applied to energy consumption metering system, comprising: administrative center 10 and a plurality of operational terminal 11.
Wherein administrative center 10 comprises that obtaining module 101, selected module 102, transmission module 103 and answer signal receives module 104.Obtain module 101 for reading upgrade code, i.e. the execution fresh code of equipment; Selected module 102 is for the selected equipment that will upgrade, the operational terminal 11 that will upgrade, and in preferred embodiment of the present invention, administrative center 10 carries out recognition of devices by equipment sequence code (uniqueness); Send module 103 for the operational terminal transmitting apparatus reset instruction to selected, and to selected operational terminal, send online upgrade after the answer signal that receives selected operational terminal, and the upgrade code that comprises address information is sent to selected operational terminal, simultaneously, when completing, upgrading sends upgrading END instruction, in preferred embodiment of the present invention, administrative center 10 utilizes RS485 bus to send each instruction to operational terminal 11; Answer signal receives module 104 for receiving the answer signal of operational terminal 11.
As shown in Figure 3, in preferred embodiment of the present invention, operational terminal 11 has startup (Boot) district and program area, and it at least comprises that reception module 110, answer signal send module 111, start module 112, move module 113, refresh module 114 and switch module 115.The upgrade code of receive device reset instruction that module 110 sends for receiving management center 10, online upgrading instruction, upgrading END instruction and comprising address information; Answer signal sends module 111 to send answer signal in receiving device reset instruction Hou Xiang administrative center 10; Start module 112 after receiving the device reset instruction of self, restart this operational terminal, and start (Boot) program; Operation module 113 is with after receiving online upgrading instruction, and the online ROMPaq of operational terminal 11 operation, moves otherwise operational terminal 11 enters normal program; Refresh module 114 with after receiving the upgrade code that comprises address information, by address information, corresponding program area code is refreshed; Switch module 115 after receiving upgrading END instruction, switch to the operation of normal procedure district.In the present invention, during individual equipment (being operational terminal) upgrading, miscellaneous equipment does not start Boot program, therefore do not affect the normal work of miscellaneous equipment.
Preferably, in preferred embodiment of the present invention, operational terminal 11 also can comprise a wait module, to start after this startup (Boot) program in starting module 112, waits for some seconds, as 20 seconds, operation module 113, at waiting time, if receive online upgrading instruction, moves online ROMPaq, otherwise, enter normal program operation.
Visible, in preferred embodiment of the present invention, when system need to be when being installed on on-the-spot operational terminal (single, a plurality of, whole) and carrying out necessary upgrading, the online upgrade function of administrative center's 10 operation, the execution fresh code of fetch equipment, carries out online upgrading one by one by the sequence number of equipment.After each device upgrade completes, automatically move fresh code, the auto-update of finishing equipment.
Fig. 4 is the flow chart of steps of a kind of online upgrading method of the present invention.As shown in Figure 4, a kind of online upgrading method of the present invention, can be applicable to energy consumption metering system, comprises the steps:
Step 401, administrative center 10 reads the upgrade code of each operational terminal, and the operational terminal 11 of selected required upgrading, in preferred embodiment of the present invention, administrative center 10 carries out operational terminal identification by equipment sequence code (uniqueness) is with selected;
Step 402, administrative center 10 is to selected operational terminal transmitting apparatus reset instruction;
Step 403, operational terminal 11, after receiving the device reset instruction of self, restarts this operational terminal, and starts (Boot) program, sends answer signal to administrative center 10 simultaneously;
Step 404, administrative center 10, after receiving answer signal, sends online upgrade to selected operational terminal, and the upgrade code that comprises address information is sent to selected operational terminal;
Step 405, selected operational terminal, after receiving online upgrading instruction, moves online ROMPaq, otherwise, enter normal program operation;
Step 406, operational terminal receives the upgrade code that comprises address information, and by address information, corresponding program area code is refreshed;
Step 407, when upgrading completes, administrative center 10 sends upgrading END instruction;
Step 408, operational terminal receives after upgrading END instruction, switches to the operation of normal procedure district.
Below cooperation one specific embodiment is further illustrated to the present invention's online upgrading method.Fig. 5 is the workflow diagram of administrative center's 10 ends in preferred embodiment of the present invention, and Fig. 6 is the workflow diagram of operational terminal 11 ends in preferred embodiment of the present invention.As shown in Figure 5, the workflow of administrative center's 10 ends is as follows: read upgrade code; The selected equipment (operational terminal) that needs upgrading; Judge whether the equipment of selected needs upgrading; If have, utilize RS485 bus to send enabled instruction (device reset instruction) to it, if nothing finishes online upgrading process; Judge whether to receive the answer signal of operational terminal; If receive answer signal, send online upgrade, if do not receive, generate the unsuccessful report of upgrading; Whether judgement upgrading completes; If complete, send upgrading END instruction.As shown in Figure 6, the workflow of operational terminal 11 ends is as follows: judged whether online upgrading instruction; If have, receive online upgrade, if nothing judges whether to surpass 20 seconds, if surpass 20Miao Ze start-up routine district program, otherwise continue to wait for; Judge whether the END instruction of upgrading; If not, press address by upgrade code write-in program district, repeat above-mentioned steps until receive upgrading END instruction, otherwise switch to the operation of normal procedure district.
In sum, a kind of online upgrade system of the present invention and method are by utilizing RS485 bus that one section one section of run time version is sent to equipment (operational terminal), Boot program by the Boot district of equipment is programmed to program area, realized online code upgrade, the present invention passes through online upgrading, thoroughly changed by manual switching intervention and realized the software upgrading of each terminal device of system and the present situation of system manual maintenance, saved the maintenance resource of system, improved efficiency.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any those skilled in the art all can, under spirit of the present invention and category, modify and change above-described embodiment.Therefore, the scope of the present invention, should be as listed in claims.

Claims (10)

1. an online upgrade system, comprising:
Administrative center, this administrative center comprises that obtaining module, selected module, transmission module and answer signal receives module, and wherein, this obtains module for reading upgrade code, and this selected module is for the selected operational terminal that will upgrade; This sends module and is used for to selected operational terminal transmitting apparatus reset instruction, and to selected operational terminal, send online upgrade after the answer signal that receives selected operational terminal, and the upgrade code that comprises address information is sent to selected operational terminal, simultaneously, when upgrading completes, send upgrading END instruction, this answer signal receives module for receiving the answer signal of operational terminal; And
A plurality of operational terminals, each operational terminal at least comprises reception module, answer signal sends module, start module, operation module, refresh module and switch module, the device reset instruction that wherein this reception module sends for receiving this administrative center, online upgrading instruction, upgrading END instruction and the upgrade code that comprises address information, this answer signal sends module to send answer signal in receiving this device reset instruction Hou Xianggai administrative center, this startup module is after receiving the device reset instruction of self, restart this operational terminal, and start start-up routine, this operation module is with after receiving this online upgrading instruction, move online ROMPaq, this refreshes module with after receiving the upgrade code that comprises address information, by address information, corresponding program area code is refreshed, this switching module is after receiving this upgrading END instruction, switch to the operation of normal procedure district.
2. online upgrade system as claimed in claim 1, is characterized in that: each operational terminal also comprises a wait module, to start after this start-up routine in this startup module, waits for some seconds.
3. online upgrade system as claimed in claim 2, is characterized in that: this operation module, at waiting time, if operational terminal receives this online upgrading instruction, moves online ROMPaq, otherwise, enter normal program operation.
4. online upgrade system as claimed in claim 1, is characterized in that: each operational terminal comprises promoter region and program area, and this start-up routine is deposited in this promoter region.
5. online upgrade system as claimed in claim 1, is characterized in that: this administrative center carries out recognition of devices with selected by equipment sequence code.
6. online upgrade system as claimed in claim 1, is characterized in that: this administrative center is by RS485 bus and each operational terminal communication.
7. online upgrade system as claimed in claim 1, is characterized in that: this administrative center carries out online upgrading according to equipment Serial Number one by one to operational terminal.
8. an online upgrading method, comprises the steps:
Administrative center reads the upgrade code of each operational terminal, and the operational terminal of selected required upgrading;
This administrative center is to selected operational terminal transmitting apparatus reset instruction;
After receiving the device reset instruction of self, selected operational terminal restarts, and starts start-up routine, and Xiang Gai administrative center sends answer signal simultaneously;
After receiving answer signal, this administrative center sends online upgrade to selected operational terminal, and the upgrade code that comprises address information is sent to this selected operational terminal;
After receiving online upgrading instruction, this selected operational terminal moves online ROMPaq;
The upgrade code that reception comprises address information, and by address information, corresponding program area code is refreshed;
When upgrading completes, this administrative center sends upgrading END instruction; And
Operational terminal, after receiving upgrading END instruction, switches to the operation of normal procedure district.
9. online upgrading method as claimed in claim 8, is characterized in that: if selected operational terminal does not receive this online upgrading instruction within a predetermined time, enter normal program operation.
10. online upgrading method as claimed in claim 8, is characterized in that: the method is applied to energy consumption metering system.
CN201210332471.3A 2012-09-10 2012-09-10 Online upgrading system and method Pending CN103677871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210332471.3A CN103677871A (en) 2012-09-10 2012-09-10 Online upgrading system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210332471.3A CN103677871A (en) 2012-09-10 2012-09-10 Online upgrading system and method

Publications (1)

Publication Number Publication Date
CN103677871A true CN103677871A (en) 2014-03-26

Family

ID=50315535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210332471.3A Pending CN103677871A (en) 2012-09-10 2012-09-10 Online upgrading system and method

Country Status (1)

Country Link
CN (1) CN103677871A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005486A (en) * 2015-06-25 2015-10-28 许继集团有限公司 Program online upgrading system and method for intelligent transformer substation equipment
CN106325943A (en) * 2016-08-26 2017-01-11 维沃移动通信有限公司 Method for downloading firmware data, terminal and controller
CN109218520A (en) * 2018-08-14 2019-01-15 南京英安特科技实业有限公司 A method of realizing that alarm host machine remotely programs and upgrades by cell phone application

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828535A (en) * 2005-03-03 2006-09-06 中兴通讯股份有限公司 After-error recovery method of transmission equipment card software on-line update
CN1933416A (en) * 2005-09-12 2007-03-21 中兴通讯股份有限公司 Long-distance on-line staging method with self-recovery function
CN101409641A (en) * 2008-11-04 2009-04-15 中兴通讯股份有限公司 System and method for implementing remote download through control module main-standby mode
CN101430645A (en) * 2007-11-06 2009-05-13 上海摩波彼克半导体有限公司 Method for downloading and upgrading data card software based on computer
CN101729287A (en) * 2008-10-31 2010-06-09 大唐移动通信设备有限公司 IPMC on-line upgrading method and device
CN101770384A (en) * 2010-01-18 2010-07-07 深圳市航盛电子股份有限公司 Car audio system and software upgrading method thereof
CN102073517A (en) * 2009-11-23 2011-05-25 中兴通讯股份有限公司 Upgrading and backup method and device for embedded system
CN102075564A (en) * 2010-12-23 2011-05-25 李华嵩 Remote software upgrading technique
CN102314369A (en) * 2011-10-09 2012-01-11 杭州先锋电子技术股份有限公司 Self-upgrade method for equipment in remote online monitoring system
CN102486733A (en) * 2010-12-03 2012-06-06 中兴通讯股份有限公司 Method and device for upgrading boot program

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828535A (en) * 2005-03-03 2006-09-06 中兴通讯股份有限公司 After-error recovery method of transmission equipment card software on-line update
CN1933416A (en) * 2005-09-12 2007-03-21 中兴通讯股份有限公司 Long-distance on-line staging method with self-recovery function
CN101430645A (en) * 2007-11-06 2009-05-13 上海摩波彼克半导体有限公司 Method for downloading and upgrading data card software based on computer
CN101729287A (en) * 2008-10-31 2010-06-09 大唐移动通信设备有限公司 IPMC on-line upgrading method and device
CN101409641A (en) * 2008-11-04 2009-04-15 中兴通讯股份有限公司 System and method for implementing remote download through control module main-standby mode
CN102073517A (en) * 2009-11-23 2011-05-25 中兴通讯股份有限公司 Upgrading and backup method and device for embedded system
CN101770384A (en) * 2010-01-18 2010-07-07 深圳市航盛电子股份有限公司 Car audio system and software upgrading method thereof
CN102486733A (en) * 2010-12-03 2012-06-06 中兴通讯股份有限公司 Method and device for upgrading boot program
CN102075564A (en) * 2010-12-23 2011-05-25 李华嵩 Remote software upgrading technique
CN102314369A (en) * 2011-10-09 2012-01-11 杭州先锋电子技术股份有限公司 Self-upgrade method for equipment in remote online monitoring system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005486A (en) * 2015-06-25 2015-10-28 许继集团有限公司 Program online upgrading system and method for intelligent transformer substation equipment
CN106325943A (en) * 2016-08-26 2017-01-11 维沃移动通信有限公司 Method for downloading firmware data, terminal and controller
CN106325943B (en) * 2016-08-26 2019-10-15 维沃移动通信有限公司 A kind of method for down loading of firmware data, terminal and controller
CN109218520A (en) * 2018-08-14 2019-01-15 南京英安特科技实业有限公司 A method of realizing that alarm host machine remotely programs and upgrades by cell phone application

Similar Documents

Publication Publication Date Title
CN107133086B (en) Task processing method, device and system based on distributed system
KR101257857B1 (en) Integrated terminal for advanced metering infrastructure and controlling method
CN110429708B (en) Method and system for realizing plug and play of power distribution equipment
CN104239196A (en) Method and device for detecting abnormal operation of application program and mobile terminal
CN205101636U (en) Faucet system, faucet and water purifier with faucet
CN105155208A (en) Washing device, control method and system thereof and mobile terminal
CN104601203A (en) Dynamic connection parameter regulation method and device for low-power consumption Bluetooth equipment
CN101964821A (en) Method and system for loading operating environment of remote terminal
CN105929697A (en) Maintenance method of smart home, device and terminal
CN103049319A (en) Method for managing background application program in divided period and terminal thereof
CN103677871A (en) Online upgrading system and method
CN106850241A (en) A kind of vehicle-mounted OBD terminals and its remote upgrade method
CN108632211B (en) Binding method and device of intelligent equipment
CN112183937A (en) Method and device for issuing patrol task, storage medium and electronic equipment
CN104182283A (en) Task synchronization method
CN110430293B (en) Pairing method and device of multi-split system, storage medium and processor
CN109742751B (en) Method, device and system for identifying and serving control strategy of security control device of power system
CN111131536A (en) Efficient configuration method, device and system for communication address and electric meter
CN102819474A (en) Test method and device for system operation
CN205113206U (en) Automotive electronics module and identity identification system , vehicle thereof
JP4279960B2 (en) Wireless data meter reading system and radio wave condition detection method
CN112987597B (en) FSU control method, device, equipment and computer readable storage medium
CN109282434A (en) Firmware installation method, system and air conditioner
CN115131092A (en) Big data-based smart campus sharing equipment utilization rate monitoring method and equipment
CN111352529B (en) Method, device, terminal and storage medium for reporting touch event

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140326

RJ01 Rejection of invention patent application after publication