CN107229495A - A kind of system and method for preventing EMS remote upgrade from failing - Google Patents
A kind of system and method for preventing EMS remote upgrade from failing Download PDFInfo
- Publication number
- CN107229495A CN107229495A CN201710380961.3A CN201710380961A CN107229495A CN 107229495 A CN107229495 A CN 107229495A CN 201710380961 A CN201710380961 A CN 201710380961A CN 107229495 A CN107229495 A CN 107229495A
- Authority
- CN
- China
- Prior art keywords
- primary processor
- update
- master
- status values
- areas
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/202—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
- G06F11/2038—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant with a single idle spare processing component
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of system for preventing EMS remote upgrade from failing, including primary processor, auxiliary processor, SAM Stand Alone Memory and reset circuit, Boot Loader areas are wherein divided into inside primary processor, APP Operational Zones, Down Load areas and Back Up areas, primary processor carries out updating operation according to the ROMPaq in Down Load areas to APP Operational Zones, the intercommunication of auxiliary processor and primary processor, confirm the running situation of primary processor, reset operation is carried out to primary processor by reset circuit in operation exception, SAM Stand Alone Memory storage inside has Master_Update_Status values, Master_Update_Status state of value changes are carried out by primary processor or auxiliary processor.
Description
Technical field
The present invention relates to energy-storage system upgrade method, more particularly to a kind of prevent what EMS remote upgrade from failing
System and method.
Background technology
Family typically carries out concentration control using EMS with energy-storage system to inverter, battery system and energy meter
Tubulation is managed, and because family is distributed in each place with energy-storage system, manufacturer generally uses long-range liter to reduce after-sales service cost
The mode of level enters line program to EMS and updates upgrading, and most conventional operation is exactly to be downloaded ROMPaq by network
Into local energy management system, the processor in local energy management system carries out updating operation, but remote upgrade can not
Ensure absolutely to succeed, always deposit another equipment component remote upgrade failure, may result in whole energy storage system this when
System can not work, now manufacturer would have to user scene handled, which not only adds after cost, and can lead
Apply that family is dissatisfied and situation about compensating, cause irremediable loss, and Consumer's Experience sense is poor.
The content of the invention
To overcome the defect of prior art, the invention provides a kind of side for preventing EMS remote upgrade from failing
Method, the collective effect in terms of software and hardware two after the machine of delaying occurs in remote upgrade failure, passes through auxiliary processor and coordinated and reset
Circuit carry out reset operation, while recovering initial setting up automatically, it is ensured that EMS upgrade failure in the case of still
It can normally run, not result in irremediable loss.
Present invention is disclosed a kind of system for preventing EMS remote upgrade from failing, including primary processor, vice division chief
Manage device, SAM Stand Alone Memory and reset circuit are wherein divided into Boot-Loader areas inside primary processor, APP Operational Zones,
Down-Load areas and Back-Up areas, primary processor are upgraded according to the ROMPaq in Down-Load areas to APP Operational Zones
Operation, the intercommunication of auxiliary processor and primary processor confirms the running situation of primary processor, in operation exception by multiple
Position circuit carries out reset operation to primary processor, and SAM Stand Alone Memory storage inside has Master_Update_Status values, passed through
Primary processor or auxiliary processor carry out Master_Update_Status state of value changes.
The Master_Update_Status values have normally, download and complete to be upgraded, upgrading is completed and four kinds of machine of delaying
State value.
A kind of method for preventing EMS remote upgrade from failing, including following content:
S1, EMS startup optimization, primary processor are entered by the bootstrap in Boot-Loader areas, in SAM Stand Alone Memory
Master_Update_Status values conduct interviews judgement, if Master_Update_Status values are normal, enter APP fortune
Operation program normal operating inside row area, execution;
Communicated when S2, APP are normally run by network with cloud platform, will by network if detecting high in the clouds has more new procedures
Download program is updated to be changed to download by Master_Update_Status values to Down-Load areas, and after download terminates
Into to be upgraded;
S3, primary processor reenter Boot-Loader areas, and Master_Update_Status values in SAM Stand Alone Memory are carried out
Access and judge, if Master_Update_Status values complete to be upgraded to download, primary processor is according in Down-Load areas
ROMPaq program upgrade operations are carried out to APP Operational Zones, and by Master_Update_Status values after upgrading terminates
It is changed to upgrading to complete, while restarting EMS;
After S4, EMS are restarted, primary processor is entered by the bootstrap in Boot-Loader areas, in SAM Stand Alone Memory
Master_Update_Status values conduct interviews judgement, if Master_Update_Status values complete for upgrading, into APP
Operational Zone, performs the procedure operation after upgrading, while auxiliary processor enters row data communication with primary processor, if APP Operational Zones journey
Sequence upgrading failure causes primary processor to be delayed machine, and auxiliary processor can not receive the data of primary processor return, and then is diagnosed as rising
Level failure;
Master_Update_Status values are changed to the machine of delaying by S5, auxiliary processor according to diagnostic result, and electricity is resetted while starting
Road carries out reset operation to primary processor;
Primary processor after S6, reset is entered by the bootstrap in Boot-Loader areas, in SAM Stand Alone Memory
Master_Update_Status values conduct interviews judgement, if Master_Update_Status values are machine of delaying, primary processor leads to
APP Operational Zones are carried out recovery initialization operation by the stand-by program for crossing Back-Up areas, and by Master_ after recovering well
Update_Status values are changed to normally, and restart EMS, and then repeat the above steps S1 ~ S6.
Compared with prior art, a kind of system and method for preventing EMS remote upgrade from failing of the invention,
With following usefulness:
Auxiliary processor and reset circuit are added on hardware, real-time communication is carried out using auxiliary processor and primary processor, in master
Processor occurs after abnormal machine of delaying, and abnormal judgement is carried out by auxiliary processor, while being answered by reset circuit primary processor
Bit manipulation, and the progress internal processes initialization operation after operation is resetted, and wait carry out updating operation again next time, can be effective
Prevent remote upgrade failure from causing system to occur thoroughly delaying machine situation, visited in-situ processing without manufacturer, reduce selling for company
Maintenance cost, and reduce user's loss afterwards, it is ensured that user satisfaction.
Brief description of the drawings
Fig. 1 is the flow frame diagram of the disclosed method for preventing EMS remote upgrade from failing.
Embodiment
Below in conjunction with the accompanying drawing of the present invention, the technical scheme to the embodiment of the present invention carries out clear, complete description.
A kind of disclosed system for preventing EMS remote upgrade from failing, including primary processor, it is secondary
It is divided into Boot-Loader areas inside processor, SAM Stand Alone Memory and reset circuit, wherein primary processor, APP Operational Zones,
Down-Load areas and Back-Up areas, primary processor are upgraded according to the ROMPaq in Down-Load areas to APP Operational Zones
Operation, the intercommunication of auxiliary processor and primary processor confirms the running situation of primary processor, in operation exception by multiple
Position circuit carries out reset operation to primary processor, and SAM Stand Alone Memory storage inside has Master_Update_Status values, passed through
Primary processor or auxiliary processor carry out Master_Update_Status state of value changes.
The Master_Update_Status values have normally, download and complete to be upgraded, upgrading is completed and four kinds of machine of delaying
State value.
As shown in figure 1, a kind of method for preventing EMS remote upgrade from failing, including following content:
S1, EMS startup optimization, primary processor are entered by the bootstrap in Boot-Loader areas, in SAM Stand Alone Memory
Master_Update_Status values conduct interviews judgement, if Master_Update_Status values are normal, enter APP fortune
Operation program normal operating inside row area, execution;
Communicated when S2, APP are normally run by network with cloud platform, will by network if detecting high in the clouds has more new procedures
Download program is updated to be changed to download by Master_Update_Status values to Down-Load areas, and after download terminates
Into to be upgraded;
S3, primary processor reenter Boot-Loader areas, and Master_Update_Status values in SAM Stand Alone Memory are carried out
Access and judge, if Master_Update_Status values complete to be upgraded to download, primary processor is according in Down-Load areas
ROMPaq program upgrade operations are carried out to APP Operational Zones, and by Master_Update_Status values after upgrading terminates
It is changed to upgrading to complete, while restarting EMS;
After S4, EMS are restarted, primary processor is entered by the bootstrap in Boot-Loader areas, in SAM Stand Alone Memory
Master_Update_Status values conduct interviews judgement, if Master_Update_Status values complete for upgrading, into APP
Operational Zone, performs the procedure operation after upgrading, while auxiliary processor enters row data communication with primary processor, if APP Operational Zones journey
Sequence upgrading failure causes primary processor to be delayed machine, and auxiliary processor can not receive the data of primary processor return, and then is diagnosed as rising
Level failure;
Master_Update_Status values are changed to the machine of delaying by S5, auxiliary processor according to diagnostic result, and electricity is resetted while starting
Road carries out reset operation to primary processor;
Primary processor after S6, reset is entered by the bootstrap in Boot-Loader areas, in SAM Stand Alone Memory
Master_Update_Status values conduct interviews judgement, if Master_Update_Status values are machine of delaying, primary processor leads to
APP Operational Zones are carried out recovery initialization operation by the stand-by program for crossing Back-Up areas, and by Master_ after recovering well
Update_Status values are changed to normally, and restart EMS, and then repeat the above steps S1 ~ S6.
The technology contents and technical characteristic of the present invention have revealed that as above, but those skilled in the art still may base
Make a variety of replacements and modification without departing substantially from spirit of the present invention in the announcement of the present invention, therefore, the scope of the present invention should not be limited
In the content disclosed in embodiment, and various replacements and modification without departing substantially from the present invention should be included, and be present patent application right
It is required that being covered.
Claims (3)
1. a kind of system for preventing EMS remote upgrade from failing, it is characterised in that:Including primary processor, vice processing
Boot-Loader areas, APP Operational Zones, Down- are divided into inside device, SAM Stand Alone Memory and reset circuit, wherein primary processor
Load areas and Back-Up areas, primary processor carry out updating operation according to the ROMPaq in Down-Load areas to APP Operational Zones,
The intercommunication of auxiliary processor and primary processor, confirms the running situation of primary processor, in operation exception by resetting electricity
Road carries out reset operation to primary processor, and SAM Stand Alone Memory storage inside has Master_Update_Status values, passes through main place
Manage device or auxiliary processor carries out Master_Update_Status state of value changes.
2. a kind of system for preventing EMS remote upgrade from failing according to claim 1, it is characterised in that:Institute
Stating Master_Update_Status values has normally, downloads and completes to be upgraded, upgrading is completed and four kinds of state values of machine of delaying.
3. a kind of method for preventing EMS remote upgrade from failing, it is characterised in that including following content:
S1, EMS startup optimization, primary processor are entered by the bootstrap in Boot-Loader areas, in SAM Stand Alone Memory
Master_Update_Status values conduct interviews judgement, if Master_Update_Status values are normal, enter APP fortune
Operation program normal operating inside row area, execution;
Communicated when S2, APP are normally run by network with cloud platform, will by network if detecting high in the clouds has more new procedures
Download program is updated to be changed to download by Master_Update_Status values to Down-Load areas, and after download terminates
Into to be upgraded;
S3, primary processor reenter Boot-Loader areas, and Master_Update_Status values in SAM Stand Alone Memory are carried out
Access and judge, if Master_Update_Status values complete to be upgraded to download, primary processor is according in Down-Load areas
ROMPaq program upgrade operations are carried out to APP Operational Zones, and by Master_Update_Status values after upgrading terminates
It is changed to upgrading to complete, while restarting EMS;
After S4, EMS are restarted, primary processor is entered by the bootstrap in Boot-Loader areas, in SAM Stand Alone Memory
Master_Update_Status values conduct interviews judgement, if Master_Update_Status values complete for upgrading, into APP
Operational Zone, performs the procedure operation after upgrading, while auxiliary processor enters row data communication with primary processor, if APP Operational Zones journey
Sequence upgrading failure causes primary processor to be delayed machine, and auxiliary processor can not receive the data of primary processor return, and then is diagnosed as rising
Level failure;
Master_Update_Status values are changed to the machine of delaying by S5, auxiliary processor according to diagnostic result, and electricity is resetted while starting
Road carries out reset operation to primary processor;
Primary processor after S6, reset is entered by the bootstrap in Boot-Loader areas, in SAM Stand Alone Memory
Master_Update_Status values conduct interviews judgement, if Master_Update_Status values are machine of delaying, primary processor leads to
APP Operational Zones are carried out recovery initialization operation by the stand-by program for crossing Back-Up areas, and by Master_ after recovering well
Update_Status values are changed to normally, and restart EMS, and then repeat the above steps S1 ~ S6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710380961.3A CN107229495A (en) | 2017-05-25 | 2017-05-25 | A kind of system and method for preventing EMS remote upgrade from failing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710380961.3A CN107229495A (en) | 2017-05-25 | 2017-05-25 | A kind of system and method for preventing EMS remote upgrade from failing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107229495A true CN107229495A (en) | 2017-10-03 |
Family
ID=59933415
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710380961.3A Pending CN107229495A (en) | 2017-05-25 | 2017-05-25 | A kind of system and method for preventing EMS remote upgrade from failing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107229495A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825405A (en) * | 2019-10-24 | 2020-02-21 | 苏州海鹏科技有限公司 | Inverter program updating method |
CN113608769A (en) * | 2021-08-16 | 2021-11-05 | 广东亿云智控技术有限公司 | Method based on parallel processing and self-upgrading of multiple single-chip microcomputers |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1786909A (en) * | 2004-12-10 | 2006-06-14 | 华为技术有限公司 | Method for on-line upgrade of based input and output system |
CN101369237A (en) * | 2007-08-14 | 2009-02-18 | 中兴通讯股份有限公司 | Watchdog reset circuit and reset method |
CN104021014A (en) * | 2014-05-23 | 2014-09-03 | 江苏兆伏新能源有限公司 | Firmware upgrading method based on double-CPU system |
CN105808296A (en) * | 2016-03-08 | 2016-07-27 | 江苏万帮德和新能源科技有限公司 | Client side software startup method used for charging pile to safely upgrade own program |
-
2017
- 2017-05-25 CN CN201710380961.3A patent/CN107229495A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1786909A (en) * | 2004-12-10 | 2006-06-14 | 华为技术有限公司 | Method for on-line upgrade of based input and output system |
CN101369237A (en) * | 2007-08-14 | 2009-02-18 | 中兴通讯股份有限公司 | Watchdog reset circuit and reset method |
CN104021014A (en) * | 2014-05-23 | 2014-09-03 | 江苏兆伏新能源有限公司 | Firmware upgrading method based on double-CPU system |
CN105808296A (en) * | 2016-03-08 | 2016-07-27 | 江苏万帮德和新能源科技有限公司 | Client side software startup method used for charging pile to safely upgrade own program |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825405A (en) * | 2019-10-24 | 2020-02-21 | 苏州海鹏科技有限公司 | Inverter program updating method |
CN113608769A (en) * | 2021-08-16 | 2021-11-05 | 广东亿云智控技术有限公司 | Method based on parallel processing and self-upgrading of multiple single-chip microcomputers |
CN113608769B (en) * | 2021-08-16 | 2024-05-03 | 广东亿云智控技术有限公司 | Method for parallel processing and self-upgrading based on multiple single-chip microcomputer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106095480B (en) | A kind of method and device of optical module firmware upgrading | |
CN104090796B (en) | A kind of embedded device method for updating program and system | |
CN105487980B (en) | The method and device that repairing applications are operating abnormally | |
CN102364891B (en) | Method for upgrading software of embedded Ethernet equipment and embedded Ethernet equipment | |
US20090222650A1 (en) | Communication device and firmware update method thereof | |
CN107333181A (en) | Linux system intelligent television software upgrade method | |
CN106610840A (en) | FOTA (Firmware Over-The-Air) upgrade method and system | |
CN105930236A (en) | Application program version returning method based on BMS Bootloaderupgrade | |
CN105743933B (en) | A kind of module updating method and system of router | |
CN104951308B (en) | The management optimization mode and device of Docker Registry | |
CN104503782A (en) | Remote software upgrading method for in-situ relay protection device | |
CN106020884A (en) | Network camera system online update method | |
CN111897558A (en) | Kubernets upgrading method and device for container cluster management system | |
CN106445580A (en) | Method and device for BMC (Baseboard Management Controller) with external upgrading | |
CN104915226A (en) | Network device software starting method, device and network device | |
CN110633091A (en) | Electronic module and software wireless upgrading method thereof | |
CN107229495A (en) | A kind of system and method for preventing EMS remote upgrade from failing | |
CN110401729B (en) | Cloud platform server network migration method, system, terminal and storage medium | |
CN107844312A (en) | A kind of software upgrading monitoring method and system | |
CN107844311A (en) | A kind of server firmware upgrade method and device | |
CN105072044B (en) | Utilize the system and method for router guiding system remote restoration route device | |
CN107656765A (en) | A kind of method, system and the terminal device of equipment initialization | |
CN109375953B (en) | Operating system starting method and device | |
CN102184109A (en) | Boot software automatic updating control method and device | |
CN103713911B (en) | A kind of single version upgrade 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171003 |