Movatterモバイル変換


[0]ホーム

URL:


CN102495747A - Method for remotely and automatically updating software of intelligent monitoring device of power transmission line - Google Patents

Method for remotely and automatically updating software of intelligent monitoring device of power transmission line
Download PDF

Info

Publication number
CN102495747A
CN102495747ACN2011104136933ACN201110413693ACN102495747ACN 102495747 ACN102495747 ACN 102495747ACN 2011104136933 ACN2011104136933 ACN 2011104136933ACN 201110413693 ACN201110413693 ACN 201110413693ACN 102495747 ACN102495747 ACN 102495747A
Authority
CN
China
Prior art keywords
application program
mcu
transmission line
monitoring device
intelligent monitoring
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
CN2011104136933A
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.)
Wuxi Gallop Technology Co Ltd
Original Assignee
Wuxi Gallop Technology 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 Wuxi Gallop Technology Co LtdfiledCriticalWuxi Gallop Technology Co Ltd
Priority to CN2011104136933ApriorityCriticalpatent/CN102495747A/en
Publication of CN102495747ApublicationCriticalpatent/CN102495747A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

The invention provides a method for remotely and automatically updating software of an intelligent monitoring device of a power transmission line, comprising the following steps of: dividing a memorizer of an MCU (Micro-programmed Control Unit) into a program area and a buffer area; installing an application program in one part of the program area and installing a BIOS (Basic Input Output System) in the other part; communicating the application program through a communication interface and a remote communication part; communicating the remote communication part with a local computer through a public communication network; when finding out that the local computer has the software to be updated, reading the software into the buffer area and writing in an updating mark; when the MCU is started or restarted, firstly operating the BIOS to enter into a relative interruption of the updating of the application program, so as to finish the updating of the software; and then skipping to the updated application program from the interruption. According to the invention, the super-low power consumption MCU in the intelligent monitoring device of the power transmission line has the function of remotely updating the software.

Description

Transmission line of electricity intelligent monitoring device software remote auto update method
Technical field
The present invention relates to the transmission line of electricity monitoring technical field, be specifically related to a kind of transmission line of electricity intelligent monitoring device software remote auto update method.
Background technology
The transmission line of electricity intelligent monitoring device be mounted in being used on the iron tower of power transmission line monitor transmission line of electricity freeze thickness, wave amplitude, iron tower degree of tilt and the device of meteorologic parameter on every side; Its work under bad environment, reliability requirement are very high, carry out field software and upgrade very difficulty.For guaranteeing that transmission line of electricity intelligent monitoring device reliably working and function update, often need upgrade its application program, because the singularity of its installation site, when having determined that it is carried out program updates, remote update is the best approach.
At present, mostly transmission line of electricity intelligent monitoring device processor inside is digital signal processor (DSP) or advanced RISC machines (ARM), and use single-chip microcomputer (MCU) is also arranged.The update method of processor application programs; Also the difference because of processor is different: because DSP and ARM inside have bootstrap routine (BOOT-ROOM), so type processor can carry out remote update with inner telecommunications components and the public communication network of device by the bootstrap routine application programs through self built-in communication component; And MCU is not owing to there is bootstrap routine; So can't carry out the remote update of application program through above method; Even the MCU that has has boot program loads device (BSL); But this type of BSL can't upgrade the application program of self as the bootstrap routine of DSP or ARM, also just can't carry out remote update.
Transmission line of electricity intelligent monitoring device processor inside uses the benefit of MCU to be, can use the MCU of super low-power consumption, and it is minimum that the power consumption of total system is dropped to, and the power consumption of system is one of main technical indicator of system.Use super low-power consumption MCU, application program is simplified most, system running speed is the fastest, reacts the rapidest, so, realize that the remote update of super low-power consumption MCU application program has the meaning of particular importance as far as the transmission line of electricity intelligent monitoring device.
Summary of the invention
The purpose of this invention is to provide a kind of transmission line of electricity intelligent monitoring device software remote auto update method, make the super low-power consumption MCU in the transmission line of electricity intelligent monitoring device have the function of software remote update.
Technical scheme of the present invention is following:
A kind of transmission line of electricity intelligent monitoring device software remote auto update method comprises the steps:
(1) starts or restart MCU, operation BIOS;
(2) whether the memory inside of inspection MCU has updating mark, if updating mark is arranged, then changes step (3a) ~ (3c) over to; If there is not updating mark, then change step (4) over to;
(3a) program code and the interrupt service routine in application space and interrupt service routine space are wiped;
The new application program that (3b) will be kept in the buffer zone is write application space and interrupt service routine space with new interrupt service routine;
(3c) will preserve new application program and wipe, the updating mark of preserving will be wiped, change step (1) over to the buffer zone of new interrupt service routine;
(4) jump to the porch of application program, run application;
(5) through telecommunications components, in the inspection local computer whether the redaction of application program is arranged, if redaction is arranged, then change step (6) over to; If there is not redaction, then change step (7) over to;
(6) redaction of application program is downloaded to be wiped free of in the clean buffer zone, the storer inner at MCU writes updating mark, changes step (1) over to;
(7) application program is normally moved.
In the technique scheme:
Said MCU is the MCU of a kind of FLASH of having storer and built-in communication interface;
Said FLASH memory inside is divided into program area and two zones of buffer zone; Said program area is equipped with application program and BIOS.
Said telecommunications components is the intraware of transmission line of electricity intelligent monitoring device, and it can be communicated by letter with MCU, can communicate by letter with public communication network again.
Useful technique effect of the present invention is:
One, the present invention uses the processor of super low-power consumption MCU as the transmission line of electricity intelligent monitoring device; Make the power consumption of transmission line of electricity intelligent monitoring device reach minimum; Make the travelling speed and the reaction velocity of transmission line of electricity intelligent monitoring device reach the fastest, greatly improved the overall performance of transmission line of electricity intelligent monitoring device.
Two, the present invention makes telecommunications components, the public communication network that configuration MCU transmission line of electricity intelligent monitoring device can include through the built-in communication interface of MCU, device; Software in the local computer is carried out remote update automatically and brings into operation automatically, and this just makes the transmission line of electricity intelligent monitoring device of configuration MCU have actual use value.
Three, the present invention has used the processor of super low-power consumption MCU as the transmission line of electricity intelligent monitoring device, has further improved the overall performance of transmission line of electricity intelligent monitoring device.
Description of drawings
Fig. 1 is that system of the present invention forms synoptic diagram.
Fig. 2 is a FB(flow block) of the present invention.
Embodiment
Further specify below in conjunction with the accompanying drawing specific embodiments of the invention.
Fig. 1 shows system of the present invention and forms synoptic diagram.As shown in Figure 1;MCU 2 in the transmission line of electricity intelligent monitoring device 1 non-indigenous is that a kind of have can be from the super low-power consumption MCU of erasable flash memory (FLASH) 3 and built-incommunication interface 8; The FLASH storer 3 of this MCU is divided into two zones, and one is program area 4, and another is a buffer zone 5; 4 are equipped with two programs in the program area; One is Basic Input or Output System (BIOS) (BIOS) 6, and another is an application program 7, and buffer zone 5 is to be used for the temporary application program that is used to upgrade that from local computer, reads.In the life cycle of transmission line of electricity intelligent monitoring device,BIOS 6 is constant or does not upgrade in advance, the just application program 7 that changes or upgrade.Application program 7 is communicated by letter with thetelecommunications components 9 in the transmission line of electricity intelligent monitoring device 1 through the built-incommunication interface 8 of MCU, and thistelecommunications components 9 is communicated by letter withlocal computer 11 throughpublic communication network 10 again.
Fig. 2 shows FB(flow block) of the present invention.As shown in Figure 2; During the application program operation,, whether redaction (the step 5) of application program is arranged in the inspection local computer through telecommunications components; When in finding local computer, the application software that can supply upgrade being arranged; Then new application software is read into and has been wiped free of among the MCU in the clean buffer zone, the ad-hoc location at the inner storer of MCU writes updating mark then, restarts MCU (step 6).
When MCU starts or restarts, at first move BIOS (step 1), carry out specific operation after, jump to application program by BIOS again, run application; When MCU produces inside or external interrupt, at first enter into the BIOS relevant and interrupt with MCU hardware, interrupt jumping to the interrupt service routine operation of application program again by BIOS.
When BIOS moves; Whether the ad-hoc location of at first checking the storer that MCU is inner has updating mark (step 2); If have; Then at first the program code and the interrupt service routine in application space and interrupt service routine space are wiped (step 3a), the new application program that will be kept at again in the buffer zone is write application space and interrupt service routine space (step 3b) with new interrupt service routine, will preserve new application program again and wipe with the buffer zone of new interrupt service routine; Then the updating mark of preserving is wiped, restart MCU (step 3c) at last; If BIOS finds there is not the program updates sign, then jump to the porch of application program, still move previous application program (step 4).
At this moment, when checking that once more (during step 5), find has not had available renewal in the local computer to the redaction whether application program is arranged in the local computer, and the application program (step 7) of renewal has been accomplished in then normal operation.
In the present embodiment; Super low-power consumption MCU 2 in the transmission line of electricity intelligent monitoring device 1 selects the MSP430F5438A of U.S. Texas Instruments (TI) for use;Communication interface 8 in the MSP430F5438A is selected UART0 for use; Can the interrupt service routine of bios program, BIOS interrupt routine and application program, application program be placed in the 0x005c00-0x01ffff space of the inner erasable FLASH storer of MSP430F5438A, can buffer zone be arranged on 0x020000-0x02ffffspace.Telecommunications components 9 in the transmission line of electricity intelligent monitoring device 1 is selected the MC52i of the built-in ICP/IP protocol stack of Siemens Company for use, andpublic communication network 10 is selected the GPRS of China Mobile for use, andlocal computer 11 is selected any suitable computing machine, for example PC for use.
Above-described only is preferred implementation of the present invention, the invention is not restricted to above embodiment.Be appreciated that other improvement and variation that those skilled in the art directly derive or associate under the prerequisite that does not break away from basic design of the present invention, all should think to be included within protection scope of the present invention.

Claims (1)

CN2011104136933A2011-12-102011-12-10Method for remotely and automatically updating software of intelligent monitoring device of power transmission linePendingCN102495747A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2011104136933ACN102495747A (en)2011-12-102011-12-10Method for remotely and automatically updating software of intelligent monitoring device of power transmission line

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2011104136933ACN102495747A (en)2011-12-102011-12-10Method for remotely and automatically updating software of intelligent monitoring device of power transmission line

Publications (1)

Publication NumberPublication Date
CN102495747Atrue CN102495747A (en)2012-06-13

Family

ID=46187575

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2011104136933APendingCN102495747A (en)2011-12-102011-12-10Method for remotely and automatically updating software of intelligent monitoring device of power transmission line

Country Status (1)

CountryLink
CN (1)CN102495747A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114428633A (en)*2022-01-052022-05-03支付宝(杭州)信息技术有限公司Firmware upgrading method, device and equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20020112052A1 (en)*2001-02-132002-08-15Peter BrittinghamRemote computer capabilities querying and certification
CN1851645A (en)*2006-01-172006-10-25华为技术有限公司Upgrading device and method in operation for monolithic processor system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20020112052A1 (en)*2001-02-132002-08-15Peter BrittinghamRemote computer capabilities querying and certification
CN1851645A (en)*2006-01-172006-10-25华为技术有限公司Upgrading device and method in operation for monolithic processor system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
栗欣: "《单片机程序远程升级的设计》", 《微计算机信息》*

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114428633A (en)*2022-01-052022-05-03支付宝(杭州)信息技术有限公司Firmware upgrading method, device and equipment

Similar Documents

PublicationPublication DateTitle
JP6139385B2 (en) Method for monitoring and managing processor activity in power-saving mode of portable electronic device and electronic device supporting the same
JP5561298B2 (en) Process control system
CN102681857B (en)A kind of realize vehicle-mounted software system reparation or the method for upgrading, device
KR101283864B1 (en)Resource management method and building-in device
CN106293848A (en)A kind of method and device of system upgrade
US20120017219A1 (en)Multi-CPU Domain Mobile Electronic Device and Operation Method Thereof
CN100517226C (en) A method, system and upgrade client for realizing data upgrade
CN110058889A (en)A kind of application awakening method and device
NO20083692L (en) Adaptive energy management
CN101770557B (en)Method for calculating service time of software in system
CN110457053A (en) A remote automatic update system for terminals based on NB-IoT
CN101103335A (en) Application management device and storage medium storing its software
KR20100074527A (en)Construction machine remote management system and method for controlling data receiving/transmitting on key off state
CN104378810B (en)The low-consumption wireless communication system and the detection means of communication of a kind of borehole wall detection terminal
CN105402847A (en)System data backup method and central air conditioning unit adopting same
CN105677141A (en)Application program management method and terminal
CN103576656A (en)Method, device and system for controlling household appliances
EP2280348A1 (en)Method and system for saving operational state of running applications when unexpected shutdown events occur
CN102567062B (en)System for upgrading software based on monitoring vehicle
CN115111816A (en)Method and device for detecting electronic expansion valve and storage medium
CN103036975B (en)virtual machine control method and device
CN102495747A (en)Method for remotely and automatically updating software of intelligent monitoring device of power transmission line
CN101534200A (en)Power-saving working method of client computer
CN105094911B (en)A key upgrade method and a key upgrading tool for wireless communication module
CN102129228B (en)Monitoring system and configuration method thereof

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C02Deemed withdrawal of patent application after publication (patent law 2001)
WD01Invention patent application deemed withdrawn after publication

Application publication date:20120613


[8]ページ先頭

©2009-2025 Movatter.jp