CN105843628A - Automatic archiving method for embedded devices - Google Patents

Automatic archiving method for embedded devices Download PDF

Info

Publication number
CN105843628A
CN105843628A CN201610230954.0A CN201610230954A CN105843628A CN 105843628 A CN105843628 A CN 105843628A CN 201610230954 A CN201610230954 A CN 201610230954A CN 105843628 A CN105843628 A CN 105843628A
Authority
CN
China
Prior art keywords
file
filing
firmware
archive
archiving method
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
CN201610230954.0A
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.)
NR Electric Co Ltd
NR Engineering Co Ltd
Original Assignee
NR Electric Co Ltd
NR Engineering 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 NR Electric Co Ltd, NR Engineering Co Ltd filed Critical NR Electric Co Ltd
Priority to CN201610230954.0A priority Critical patent/CN105843628A/en
Publication of CN105843628A publication Critical patent/CN105843628A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation

Abstract

The invention discloses an automatic archiving method for embedded devices. Firmware files corresponding to multiple sub-models of each to-be-archived device are put under the same directory, the directories are read and a directory list is formed; the firmware files are read out in sequence from the list and downloaded to the devices, the devices are connected after being restarted, the archived files are uploaded, and the steps are performed repeatedly until batched archiving is finished. With the adoption of the archiving method, labor and time costs can be effectively reduced, and meanwhile, the engineering implementation efficiency can be improved.

Description

A kind of embedded equipment automatic archiving method
Technical field
The invention belongs to embedded system development field, be specifically related to a kind of embedded equipment automatic archiving method.
Background technology
In the product promotion of international, domestic user, owing to country variant, different regions are to embedded equipment Functional requirement variation, there is the situation of function apolegamy, can form multiple subtype number, different sons in single assembly The firmware file of model is different, needs the definite value file of filing packing, recorded wave file, communication point list file Distinct, these files are that device is formed when startup optimization.If the embedding to each different subtypes number Formula device carries out manual filing, and the manpower of filing and time cost can be the highest.Furthermore, engineering staff is real at the scene It is also required to during executing embedded equipment is configured, is also required to after configuration embedded equipment is filed. If filing dynamic to each different subtype trumpeters, the engineering construction cycle can the longest, efficiency of the practice can be the lowest.Therefore Need a kind of embedded equipment automatic archiving method, can effectively reduce manpower and time cost, can carry simultaneously High engineering efficiency of the practice.This case thus produces.
Summary of the invention
Present invention aim to address that every table apparatus files inefficient problem manually, improve device filing Efficiency.In order to reach above-mentioned purpose, the present invention provides a kind of embedded equipment automation archiving method, by reading Taking configuration information, Automatic Link Establishment also downloads the file into device, is again coupled to device after device resets, on Dress filing file, it is characterised in that comprise the following steps:
Step 1: by configuration software, carries out maximizing configuration, and it is right to form different subtype number device hardware The firmware file answered and archive information file, be stored in the filing catalogue that local computer is specified;
Step 2: communication software reads filing catalogue, subdirectory, forms device subtype firmware file list;
Step 3: communication software reads archive information file, obtains the listed files needing to fill filing from device With device IP address information;
Step 4: communication software attachment means, takes out a device firmware file from firmware file list, downloads Device firmware file, issues reset command, rebooting device after download;
Step 5: the communication software cycle attempts attachment means, until after device is restarted, device in reconnect;
Step 6: upper dress needs the device file of filing one by one, stores assigned catalogue, and according to corresponding son Model name is packed into archive file;
Repeating step 4 and arrive step 6, serial completes the download of each subtype firmware file, device is restarted, reconnected Device, upper dress archive file process.
Wherein, the firmware file described in described step 1 includes: device program file, device configuration file.
Wherein, the archive information file described in described step 1 includes: device definite value file, device communication point List file, device wave file, device version information file etc., can expand new listed files flexibly.
Wherein, described step 2 is full-automatic operation process to step 6, it is not necessary to manual intervention.
Use after such scheme, there is advantages that with certain line protective devices PCS-931 and be , there are more than 30 sub-models in example, before using this method, being accomplished manually filing needs 5 days 40 hours. After using this method, only need to utilize 8 hours evenings after work, so that it may be automatically performed all subtypes number Filing-up work, is greatly saved human input, improves research and development filing efficiency, 26 kinds of protection observing and controlling series Device has carried out batch application.
Accompanying drawing explanation
Fig. 1 is embedded equipment filing flow chart in the present invention
Detailed description of the invention
Below with reference to accompanying drawing, technical scheme is described in detail.As it is shown in figure 1, it is specifically real Execute step to include:
1) by configuration software, device hardware carries out maximizing configuration, and forms the firmware that different subtype number is corresponding File and archive information file, be stored in the filing catalogue that local computer is specified;
2) all device firmware files to be filed are put into same catalogue by configuration software, are formed according to subtype name Subdirectory;
3) communication software reads this catalogue and subdirectory, forms batch filing apparatus firmware file list (n device Firmware);
4) communication software reads archive information file, forms the listed files needing filing, the information literary composition of configuration filing Part, it is preferable that archive information file configuration example is as follows:
<FileList DeviceIP=" 198.120.0.1 ">
<File Name=" 103_network.txt "/>
<File Name=" version.txt "/>
<File Name=" config.txt "/>
<File Name=" setting.txt "/>
</FileList>
Employing XML file describes, can the new archive file list of flexible expansion.
5) communication software is according to the IP preset, after first connection device, enter downloads, reconnect, upper dress filing is flowed Journey;
6) i=0 is set;
7) from firmware list, take out i-th firmware to be downloaded;
8), after having downloaded device, communication software issues and restarts order, and device receives reset command, resetting means;
9) the communication software cycle attempts attachment means, until after device is restarted, device in reconnect;
10) the communication software upper device file needing filing that fills one by one, storage to assigned catalogue, and according to correspondence Sub-model name is packed into archive file;
11) i=i+1 is set;
12) if i < n, step 7 is repeated)-11), serial completes the download of each subtype firmware file, device is restarted, Reconnect device, upper dress archive file process.If i >=n, each subtype archive file of finishing device is received Collection packing, terminates flow process.
Above example is only the technological thought that the present invention is described, it is impossible to limit protection scope of the present invention with this, Every technological thought proposed according to the present invention, any change done on the basis of technical scheme, each fall within this Within invention protection domain.

Claims (3)

1. an embedded equipment automatic archiving method, it is characterised in that by reading configuration information, automatically Attachment means also downloads the file into device, is again coupled to device, upper dress filing file, bag after device resets Include following steps:
Step 1: by configuration software, carries out maximizing configuration, and it is right to form different subtype number device hardware The firmware file answered and archive information file, be stored in the filing catalogue that local computer is specified;
Step 2: communication software reads filing catalogue, subdirectory, forms device subtype firmware file list;
Step 3: communication software reads archive information file, obtains the listed files needing to fill filing from device With device IP address information;
Step 4: communication software attachment means, takes out a device firmware file from firmware file list, downloads Device firmware file, issues reset command, rebooting device after download;
Step 5: communication software periodically attempts attachment means, until after device is restarted, reconnect filling Put;
Step 6: upper dress needs the device file of filing one by one, stores assigned catalogue, and according to corresponding son Model name is packed into archive file;
Repeating step 4 and arrive step 6, serial completes the download of each subtype firmware file, device is restarted, reconnected Device, upper dress archive file process.
2. a kind of embedded equipment automatic archiving method as claimed in claim 1, it is characterised in that: step Firmware file described in 1 includes: device program file, device configuration file.
3. a kind of embedded equipment automatic archiving method as claimed in claim 1, it is characterised in that: step Archive information file described in 1 includes: device definite value file, device communication point list file, device wave file, Device version information file etc., can expand new listed files flexibly.
CN201610230954.0A 2016-04-14 2016-04-14 Automatic archiving method for embedded devices Pending CN105843628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610230954.0A CN105843628A (en) 2016-04-14 2016-04-14 Automatic archiving method for embedded devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610230954.0A CN105843628A (en) 2016-04-14 2016-04-14 Automatic archiving method for embedded devices

Publications (1)

Publication Number Publication Date
CN105843628A true CN105843628A (en) 2016-08-10

Family

ID=56597676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610230954.0A Pending CN105843628A (en) 2016-04-14 2016-04-14 Automatic archiving method for embedded devices

Country Status (1)

Country Link
CN (1) CN105843628A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207951A (en) * 2010-03-29 2011-10-05 软件Ag公司 Systems and/or methods for distributed data archiving
CN103150517A (en) * 2013-02-06 2013-06-12 杭州电子科技大学 Secure secret electronic file storage and archiving method and method for checking matching of user permission and file open permission
CN105183797A (en) * 2015-08-25 2015-12-23 许继集团有限公司 Substation file management and control method based on IEC61850 file service

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207951A (en) * 2010-03-29 2011-10-05 软件Ag公司 Systems and/or methods for distributed data archiving
CN103150517A (en) * 2013-02-06 2013-06-12 杭州电子科技大学 Secure secret electronic file storage and archiving method and method for checking matching of user permission and file open permission
CN105183797A (en) * 2015-08-25 2015-12-23 许继集团有限公司 Substation file management and control method based on IEC61850 file service

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈宏君 等: "新一代保护测控装置胚胎工具软件设计与应用", 《电力系统自动化》 *

Similar Documents

Publication Publication Date Title
CN103176824B (en) A kind of method and device of system upgrade
CN106302753A (en) The method and system of client-side program incremental update
CN101841536B (en) Remote automatic upgrading method for digital monitoring equipment
CN105094875A (en) Software upgrading method and device
CN103942067B (en) Smart machine clears up the method and device of software installation APMB package automatically
CN107247592B (en) Model management system and method under multi-service scene
CN106371881B (en) Method and system for updating program version in server
CN104063257A (en) System and method for FPGA automatic loading
WO2014201770A1 (en) Application migration method, device and system for mobile terminal
CN103176826B (en) A kind of method of free configurating terminal device default language and terminal default language configuration system
CN109634687A (en) The starting method and apparatus of application software in a kind of embedded Linux system
CN106569854B (en) Method and system for setting equipment firmware and realizing factory test
CN104063243A (en) Application store solution applied to intelligent dressing equipment
CN105119732A (en) Device and method for distributing hosts in cluster environment
CN108037929A (en) A kind of message treatment method and system
CN109710297B (en) Method for upgrading and backing equipment wholly or in modules
CN105138604A (en) Terminal data processing method and apparatus
CN105893068A (en) Offline upgrading method and device of intelligent equipment
CN105843628A (en) Automatic archiving method for embedded devices
CN106357812A (en) Method for transmitting data among Android devices, data transmission device and Bluetooth device
CN107908408A (en) A kind of long-distance cloud mobile phone application installation method
CN104270269A (en) Method for automatically configuring network cards
CN101159605B (en) Flow control method capable of implementing state memory and recovery
CN106201622A (en) The manufacture method of recordable paper and device
CN104836842A (en) Method and device for synchronizing FTP server files

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160810