CN102508684A - Method for downloading and updating programs of distribution transformer monitoring terminal - Google Patents

Method for downloading and updating programs of distribution transformer monitoring terminal Download PDF

Info

Publication number
CN102508684A
CN102508684A CN2011103576781A CN201110357678A CN102508684A CN 102508684 A CN102508684 A CN 102508684A CN 2011103576781 A CN2011103576781 A CN 2011103576781A CN 201110357678 A CN201110357678 A CN 201110357678A CN 102508684 A CN102508684 A CN 102508684A
Authority
CN
China
Prior art keywords
program
next step
terminal
jump
condensing routine
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
CN2011103576781A
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.)
Ningbo Sanxing Electric Co Ltd
Original Assignee
Ningbo Sanxing Electric 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 Ningbo Sanxing Electric Co Ltd filed Critical Ningbo Sanxing Electric Co Ltd
Priority to CN2011103576781A priority Critical patent/CN102508684A/en
Publication of CN102508684A publication Critical patent/CN102508684A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of distribution transformer detection, in particular to a method for downloading and updating programs of a distribution transformer monitoring terminal, which includes steps of downloading a program package, decompressing the program package to an assigned address, restarting for updating and the like. The method only uses intrinsic functions of a terminal chip without increasing terminal complexity and cost.

Description

The program down loading updating method of distribution transformer monitoring terminal
Technical field
The present invention relates to the power transformer detecting technical field, relate in particular to a kind of program down loading updating method of distribution transformer monitoring terminal.
Background technology
In electrical power distribution system, substation transformer is a power equipment of voltage directly being distributed to low-voltage customer, and its service data is the important component part of whole power distribution network basic data, and whether good whether these data normally be power distribution network operation important reflection.And distribution transformer monitoring terminal is used for monitoring in real time the operating various parameters of substation transformer exactly; Data according to gathering are carried out statistical study; Find the abnormal conditions of substation transformer emerged in operation in time and control timely or solves, can realize that stable, the optimization of electrical network moves.Distribution transformer monitoring terminal when defective appears in the installed device program, when perhaps the user has proposed new demand, need carry out remote update to terminal program as the built-in terminal product simultaneously, to guarantee the correctness of terminal operating.
The method for updating program of prior art distribution transformer monitoring terminal mainly contains two kinds: 1, adopt embedded real-time operating system; This method has mainly increased the requirement to memory capacity; So need to change the bigger hardware of memory capacity, increased hardware cost; 2, adopt the method that increases the outer control programming system, this method has not only reduced the reliability at terminal itself, and has increased the complexity and the cost at terminal.So these two kinds of methods are not the best approaches.
Summary of the invention
Technical matters to be solved by this invention is: provide a kind of to utilize the function of terminal chip itself and do not increase the program down loading updating method of the distribution transformer monitoring terminal of terminal complexity and cost.
The technical scheme that the present invention adopts is: a kind of program down loading updating method of distribution transformer monitoring terminal, and it is characterized in that: it may further comprise the steps:
Whether inspection existed the program updates sign when (1) terminal program started, if do not exist updating mark then to get into next step, if exist updating mark then to jump to step (6);
(2) if normal working procedure when receiving the condensing routine bag that main website sends over, gets into next step, does not then continue normal working procedure if receive;
(3) receive the condensing routine bag, and the condensing routine bag is stored in the external memory storage of correspondence position on the terminal chip, get into next step then;
(4) whether inspection condensing routine bag receives fully, fully then gets into next step if receive, and does not fully then jump to step (3) if receive;
(5) add the program updates sign, preserve data, jump to step (11) then
(6) call refresh routine, get into next step then;
(7) from the external memory storage of terminal chip, take out the condensing routine bag,, get into next step then then to its decompress(ion);
(8) application program in the internal storage of terminal chip is wiped, will separate the program copy that presses then in the internal storage of terminal chip, get into next step again;
(9) whether detection condensing routine bag is all got and is over, if getting to be over then gets into next step, does not then jump to step (7) if got;
(10) clear program updating mark gets into next step then;
(11) restart, promptly jump to step (1).
As preferably, described terminal chip model is LPC2378.
The program down loading updating method of a kind of distribution transformer monitoring terminal of the present invention compared with prior art has following significant advantage and beneficial effect:
This method makes full use of the function of terminal inner chip itself, does not increase the complicacy of peripheral components and system, has practiced thrift cost, and can well accomplish the down loading updating task of program.
Description of drawings
Accompanying drawing is the process flow diagram of the program down loading updating method of distribution transformer monitoring terminal of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is done to further describe, but the present invention is not limited only to following embodiment.
Shown in accompanying drawing, a kind of program down loading updating method of distribution transformer monitoring terminal, it is characterized in that: it may further comprise the steps:
Whether inspection existed the program updates sign when (1) terminal program started, if do not exist updating mark then to get into next step, if exist updating mark then to jump to step (6);
(2) if normal working procedure when receiving the condensing routine bag that main website sends over, gets into next step, does not then continue normal working procedure if receive;
(3) receive the condensing routine bag, and the condensing routine bag is stored in the external memory storage of correspondence position on the terminal chip, get into next step then;
(4) whether inspection condensing routine bag receives fully, fully then gets into next step if receive, and does not fully then jump to step (3) if receive;
(5) add the program updates sign, preserve data, jump to step (11) then
(6) call refresh routine, get into next step then;
(7) from the external memory storage of terminal chip, take out the condensing routine bag,, get into next step then then to its decompress(ion);
(8) application program in the internal storage of terminal chip is wiped, will separate the program copy that presses then in the internal storage of terminal chip, get into next step again;
(9) whether detection condensing routine bag is all got and is over, if getting to be over then gets into next step, does not then jump to step (7) if got;
(10) clear program updating mark gets into next step then;
(11) restart, promptly jump to step (1).
Described terminal chip model is LPC2378.
The practical implementation step of the program down loading updating method of distribution transformer monitoring terminal of the present invention: at first be to start terminal program, detection is enough to have the program updates sign, if there is not the program updates sign, and then normal working procedure.When normal working procedure, receiving the condensing routine bag that main website sends over; The condensing routine bag can be accepted in the terminal; Be stored in it in the external memory storage of correspondence position on the terminal chip then, and then check whether the condensing routine bag has received fully, accept and store if do not receive fully then continue; If received complete then add the program updates sign, preserve data and restart.Just start terminal program after restarting, begin inspection again and whether have the program updates sign, because added the program updates sign just now; So there is the program updates sign, call refresh routine then, take out the condensing routine bag in the external memory storage from terminal chip; These condensing routine bags of decompress(ion) are then removed the program that is applied in the internal storage in the terminal chip afterwards earlier, then will separate in the program copy that the presses internal storage in the terminal chip; Whether detect the condensing routine bag has more got and has been over; If do not got, continuation taking-up condensing routine bag decompress(ion) then duplicates, and is over if get; Then the clear program updating mark restarts then.Still can detect after restarting specifically and whether have the program updates sign; Because wiped the program updates sign just now; Do not have the program updates sign specifically; Program just can normally have been moved, if main website does not send the condensing routine bag that upgrades usefulness, then the program at terminal will normally be moved always.

Claims (2)

1. the program down loading updating method of a distribution transformer monitoring terminal, it is characterized in that: it may further comprise the steps:
Whether inspection existed the program updates sign when (1) terminal program started, if do not exist updating mark then to get into next step, if exist updating mark then to jump to step (6);
(2) if normal working procedure when receiving the condensing routine bag that main website sends over, gets into next step, does not then continue normal working procedure if receive;
(3) receive the condensing routine bag, and the condensing routine bag is stored in the external memory storage of correspondence position on the terminal chip, get into next step then;
(4) whether inspection condensing routine bag receives fully, fully then gets into next step if receive, and does not fully then jump to step (3) if receive;
(5) add the program updates sign, preserve data, jump to step (11) then
(6) call refresh routine, get into next step then;
(7) from the external memory storage of terminal chip, take out the condensing routine bag,, get into next step then then to its decompress(ion);
(8) application program in the internal storage of terminal chip is wiped, will separate the program copy that presses then in the internal storage of terminal chip, get into next step again;
(9) whether detection condensing routine bag is all got and is over, if getting to be over then gets into next step, does not then jump to step (7) if got;
(10) clear program updating mark gets into next step then;
(11) restart, promptly jump to step (1).
2. the program down loading updating method of distribution transformer monitoring terminal according to claim 1, it is characterized in that: described terminal chip model is LPC2378.
CN2011103576781A 2011-11-14 2011-11-14 Method for downloading and updating programs of distribution transformer monitoring terminal Pending CN102508684A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103576781A CN102508684A (en) 2011-11-14 2011-11-14 Method for downloading and updating programs of distribution transformer monitoring terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103576781A CN102508684A (en) 2011-11-14 2011-11-14 Method for downloading and updating programs of distribution transformer monitoring terminal

Publications (1)

Publication Number Publication Date
CN102508684A true CN102508684A (en) 2012-06-20

Family

ID=46220776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103576781A Pending CN102508684A (en) 2011-11-14 2011-11-14 Method for downloading and updating programs of distribution transformer monitoring terminal

Country Status (1)

Country Link
CN (1) CN102508684A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581101A (en) * 2003-08-12 2005-02-16 联想(北京)有限公司 Embedded system upgrading method
US20050144616A1 (en) * 2003-10-27 2005-06-30 Hammond Brad T. System and method for updating a software program
CN101453374A (en) * 2008-12-29 2009-06-10 武汉烽火网络有限责任公司 On-line updating method and system for network appliance

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581101A (en) * 2003-08-12 2005-02-16 联想(北京)有限公司 Embedded system upgrading method
US20050144616A1 (en) * 2003-10-27 2005-06-30 Hammond Brad T. System and method for updating a software program
CN101453374A (en) * 2008-12-29 2009-06-10 武汉烽火网络有限责任公司 On-line updating method and system for network appliance

Similar Documents

Publication Publication Date Title
CN105979103B (en) Battery power guarantee method and device for portable electronic product and mobile terminal
US9785428B2 (en) Internal software updating method and system
CN101557583B (en) Remote-updating and version-switching method of repeater equipment embedded software
US20170206079A1 (en) Method and Device for Upgrading Software
CN103117879B (en) A kind of computer hardware operational factor network monitoring system
CN103428333B (en) Mobile terminal, server and errors repair method
CN105677477A (en) Method and device for optimizing application program resources and electronic equipment
CN103177077B (en) The storage of a kind of APK file and output intent
CN106877442B (en) Battery management method
CN103886729B (en) Warning image display method and system
CN102624875B (en) Method for replacing or updating language packs of terminal equipment
CN102946600A (en) Method and system for updating mobile terminal parameters by firmware
CN104461786A (en) Recovery method and system for Android system
CN109688427A (en) A kind of smart television and its system repair
CN102339264B (en) A kind of satellite borne electronic system equipment plug and play control method and system
CN102567062B (en) System for upgrading software based on monitoring vehicle
CN102426529A (en) Method, device and system for firmware update
CN103024540A (en) Method for collecting network activation information of intelligent television
CN115712447A (en) Method and system for realizing incremental upgrading of intelligent electric meter
CN104750516A (en) Upgrading method for terminal equipment operating system
CN105472377A (en) Television debugging method and apparatus thereof
CN105470590A (en) Method and device for managing battery parameters
CN105262805A (en) Method and system for automatic updating of learning data of mobile terminal
CN102508684A (en) Method for downloading and updating programs of distribution transformer monitoring terminal
WO2020192669A1 (en) Gas meter intelligent controller and firmware upgrade start-up method therefor

Legal Events

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

Application publication date: 20120620