CN106293831A - A kind of method and system of embedded software I&M - Google Patents

A kind of method and system of embedded software I&M Download PDF

Info

Publication number
CN106293831A
CN106293831A CN201610644773.2A CN201610644773A CN106293831A CN 106293831 A CN106293831 A CN 106293831A CN 201610644773 A CN201610644773 A CN 201610644773A CN 106293831 A CN106293831 A CN 106293831A
Authority
CN
China
Prior art keywords
embedded software
installation
file
installation kit
module
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
CN201610644773.2A
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 CN201610644773.2A priority Critical patent/CN106293831A/en
Publication of CN106293831A publication Critical patent/CN106293831A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Abstract

The invention discloses the method and system of a kind of embedded software I&M, its method includes: obtains installation kit and the file verification code of embedded software, and detects;Detection embedded software is installed the most;If detecting and not installing, then the installation kit to acquired embedded software carries out decompression installation, and reduction produced configuration file backup;If detecting and installing, then judge that mounted embedded software is the most consistent with the installation kit version of acquired embedded software;If version is inconsistent, then the installation kit to acquired embedded software carries out decompression installation, and reduction produced configuration file backup;If judging, version is consistent, the most properly functioning mounted embedded software, simultaneously monitors the configuration file of properly functioning embedded software, and detects and change then backed-up config file.Beneficial effect: can be effectively improved production efficiency, reduces engineering maintenance amount, effectively reduces entreprise cost.

Description

A kind of method and system of embedded software I&M
Technical field
The present invention relates to field of embedded technology, particularly relate to a kind of method of embedded software I&M and be System.
Background technology
At present, embedded device in process of production, generally completes to embed by computer or other auxiliary downloaders The download of formula software, inefficient and operator needs certain professional skill, even if using batch to download, setting up batch and downloading Platform also will be increased input cost.
Embedded device runs at engineering site, there will be hardware fault unavoidably, needs to change board, and by program recovery With the most consistent, it is ensured that on-the-spot operation.Backup and reduction is operated in engineering maintenance indispensable, reduces the work of backup and reduction Amount, improves reduction accuracy, it is quite necessary to.
Summary of the invention
Present invention is primarily targeted at, overcome deficiency of the prior art, it is provided that a kind of embedded software is installed and dimension The method and system protected, improves production efficiency, reduces engineering maintenance amount, effectively reduces entreprise cost.
In order to achieve the above object, the technical solution adopted in the present invention is:
A kind of method of embedded software I&M, comprises the following steps:
1) obtain installation kit and the file verification code of embedded software, and the installation kit and file verification code to embedded software enters Row detection;
2) detection embedded software is installed the most;
If detecting, embedded software is not installed, then the installation kit to acquired embedded software carries out decompression installation, and goes back Former produced configuration file backup;
If detecting, embedded software is installed, then perform next step;
3) judge that mounted embedded software is the most consistent with the installation kit version of acquired embedded software;
If judging, version is inconsistent, then the installation kit to acquired embedded software carries out decompression and installs, and reduces and produced Configuration file backup;
If judging, version is consistent, and the most properly functioning mounted embedded software simultaneously monitors properly functioning embedded software Configuration file, and detect and change then backed-up config file.
The present invention is further arranged to: described step 2) in detection embedded software the most install, specifically,
Detect whether the file of Installation Mark created after embedded software is installed exists, judged that embedded software is No install;
If there is not Installation Mark file, then judge that embedded software is not installed;
If there is Installation Mark file, then judge that embedded software is installed.
The present invention is further arranged to: judge mounted embedded software and acquired embedding in described step 4) The installation kit version of formula software is the most consistent, specifically,
After detecting that embedded software is installed, generate the MD5 check code of mounted embedded software file, by itself and institute The file verification code obtained compares, it may be judged whether consistent;
If consistent, then judge that mounted embedded software is consistent with the installation kit version of acquired embedded software;
If inconsistent, then judge that mounted embedded software is inconsistent with the installation kit version of acquired embedded software.
The present invention also provides for the system of a kind of embedded software I&M, including input module, detection module, installation Module, operation module and backup module, described input module, detection module, operation module and backup module are sequentially connected, described Module is installed be connected with detection module;
Described input module, for obtaining installation kit and the file verification code of embedded software;
Described detection module, is used for detecting embedded software and the most installs, it is judged that mounted embedded software is with acquired The installation kit version of embedded software the most consistent;
Described installation module, installs for the installation kit of acquired embedded software is carried out decompression, and also reason backup mould Configuration file backup produced by block;
Described operation module, for properly functioning mounted embedded software;
Described backup module, for monitoring the configuration file of properly functioning embedded software, and detects that change then backup is joined Put file.
The system of the present invention is further arranged to: described installation module creates after completing embedded software installation and installs Logo file.
The system of the present invention is further arranged to: described detection module, after detecting that embedded software is installed, generates The MD5 check code of mounted embedded software file.
Compared with prior art, the invention have the advantages that:
Embedded software can be realized automatically install in the production phase, be effectively improved production efficiency;Can monitor that configuration changes in real time Become, back up and reduce embedded software and configuration file thereof, facilitate engineering maintenance, effectively reduce entreprise cost.
Foregoing is only the general introduction of technical solution of the present invention, in order to be better understood upon the technological means of the present invention, under Face combines accompanying drawing, and the invention will be further described.
Accompanying drawing explanation
Fig. 1 is the structural representation of the system of the present invention a kind of embedded software I&M.
Detailed description of the invention
Below in conjunction with Figure of description, the present invention is further illustrated.
The present invention provides a kind of method of embedded software I&M, comprises the following steps:
1) obtain installation kit and the file verification code of embedded software, and the installation kit and file verification code to embedded software enters Row detection.
2) detection embedded software is installed the most;
If detecting, embedded software is not installed, then the installation kit to acquired embedded software carries out decompression installation, and goes back Former produced configuration file backup;
If detecting, embedded software is installed, then perform next step.
Wherein, detection embedded software is installed the most, specifically,
Detect whether the file of Installation Mark created after embedded software is installed exists, judged that embedded software is No install;
If there is not Installation Mark file, then judge that embedded software is not installed;
If there is Installation Mark file, then judge that embedded software is installed.
3) judge that mounted embedded software is the most consistent with the installation kit version of acquired embedded software;
If judging, version is inconsistent, then the installation kit to acquired embedded software carries out decompression and installs, and reduces and produced Configuration file backup;
If judging, version is consistent, and the most properly functioning mounted embedded software simultaneously monitors properly functioning embedded software Configuration file, and detect and change then backed-up config file.
Wherein, it is judged that mounted embedded software is the most consistent with the installation kit version of acquired embedded software, Specifically,
After detecting that embedded software is installed, generate the MD5 check code of mounted embedded software file, by itself and institute The file verification code obtained compares, it may be judged whether consistent;
If consistent, then judge that mounted embedded software is consistent with the installation kit version of acquired embedded software;
If inconsistent, then judge that mounted embedded software is inconsistent with the installation kit version of acquired embedded software.
As it is shown in figure 1, the present invention provides the system of a kind of embedded software I&M, including input module, detection Module, installation module, operation module and backup module, described input module, detection module, operation module and backup module are successively Being connected, described installation module is connected with detection module.
Described input module, for obtaining installation kit and the file verification code of embedded software;Described detection module, is used for Detection embedded software is installed the most, it is judged that mounted embedded software and the installation kit version of acquired embedded software This is the most consistent;Described installation module, installs for the installation kit of acquired embedded software is carried out decompression, and also reason Configuration file backup produced by backup module;Described operation module, for properly functioning mounted embedded software;Described Backup module, for monitoring the configuration file of properly functioning embedded software, and detects and changes then backed-up config file.
Wherein, described installation module creates Installation Mark file after completing embedded software installation;Described detection mould Block, after detecting that embedded software is installed, generates the MD5 check code of mounted embedded software file.
The ultimate principle of the present invention, principal character and advantage have more than been shown and described.The technical staff of the industry should Understanding, the present invention is not restricted to the described embodiments, and the simply explanation present invention's described in above-described embodiment and description is former Reason, without departing from the spirit and scope of the present invention, the present invention also has various changes and modifications, these changes and improvements Both fall within scope of the claimed invention.Claimed scope is by appending claims and equivalent circle thereof Fixed.

Claims (6)

1. the method for an embedded software I&M, it is characterised in that comprise the following steps:
1) obtain installation kit and the file verification code of embedded software, and the installation kit and file verification code to embedded software enters Row detection;
2) detection embedded software is installed the most;
If detecting, embedded software is not installed, then the installation kit to acquired embedded software carries out decompression installation, and goes back Former produced configuration file backup;
If detecting, embedded software is installed, then perform next step;
3) judge that mounted embedded software is the most consistent with the installation kit version of acquired embedded software;
If judging, version is inconsistent, then the installation kit to acquired embedded software carries out decompression and installs, and reduces and produced Configuration file backup;
If judging, version is consistent, and the most properly functioning mounted embedded software simultaneously monitors properly functioning embedded software Configuration file, and detect and change then backed-up config file.
The method of a kind of embedded software I&M the most according to claim 1, it is characterised in that: described step 2) In detection embedded software the most install, specifically,
Detect whether the file of Installation Mark created after embedded software is installed exists, judged that embedded software is No install;
If there is not Installation Mark file, then judge that embedded software is not installed;
If there is Installation Mark file, then judge that embedded software is installed.
The method of a kind of embedded software I&M the most according to claim 1, it is characterised in that: described step 4) In judge that mounted embedded software is the most consistent with the installation kit version of acquired embedded software, specifically,
After detecting that embedded software is installed, generate the MD5 check code of mounted embedded software file, by itself and institute The file verification code obtained compares, it may be judged whether consistent;
If consistent, then judge that mounted embedded software is consistent with the installation kit version of acquired embedded software;
If inconsistent, then judge that mounted embedded software is inconsistent with the installation kit version of acquired embedded software.
4. the system of an embedded software I&M, it is characterised in that: include input module, detection module, installation mould Block, running module and backup module, described input module, detection module, operation module and backup module are sequentially connected, described peace Die-filling piece is connected with detection module;
Described input module, for obtaining installation kit and the file verification code of embedded software;
Described detection module, is used for detecting embedded software and the most installs, it is judged that mounted embedded software is with acquired The installation kit version of embedded software the most consistent;
Described installation module, installs for the installation kit of acquired embedded software is carried out decompression, and also reason backup mould Configuration file backup produced by block;
Described operation module, for properly functioning mounted embedded software;
Described backup module, for monitoring the configuration file of properly functioning embedded software, and detects that change then backup is joined Put file.
The system of a kind of embedded software I&M the most according to claim 4, it is characterised in that: described installation mould Block creates Installation Mark file after completing embedded software installation.
The system of a kind of embedded software I&M the most according to claim 4, it is characterised in that: described detection mould Block, after detecting that embedded software is installed, generates the MD5 check code of mounted embedded software file.
CN201610644773.2A 2016-08-09 2016-08-09 A kind of method and system of embedded software I&M Pending CN106293831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610644773.2A CN106293831A (en) 2016-08-09 2016-08-09 A kind of method and system of embedded software I&M

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610644773.2A CN106293831A (en) 2016-08-09 2016-08-09 A kind of method and system of embedded software I&M

Publications (1)

Publication Number Publication Date
CN106293831A true CN106293831A (en) 2017-01-04

Family

ID=57666834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610644773.2A Pending CN106293831A (en) 2016-08-09 2016-08-09 A kind of method and system of embedded software I&M

Country Status (1)

Country Link
CN (1) CN106293831A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109460320A (en) * 2018-11-02 2019-03-12 南京南瑞继保电气有限公司 A kind of backup and reduction method for automation of transformation substations equipment
CN111427611A (en) * 2020-04-02 2020-07-17 四川航天系统工程研究所 Embedded software version state control method realized by utilizing fingerprint code
CN111695113A (en) * 2020-06-01 2020-09-22 南方电网数字电网研究院有限公司 Method and device for detecting installation compliance of terminal software and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090083730A1 (en) * 2007-09-20 2009-03-26 Richardson Ric B Installing Protected Software Product Using Unprotected Installation Image
CN102609326A (en) * 2012-01-17 2012-07-25 大唐移动通信设备有限公司 Data downloading processing method and data downloading processing device
CN103218235A (en) * 2012-01-19 2013-07-24 宇龙计算机通信科技(深圳)有限公司 Terminal and software installation method
CN103294487A (en) * 2012-02-22 2013-09-11 腾讯科技(深圳)有限公司 Method, device and system for installing software
CN103885798A (en) * 2014-03-03 2014-06-25 联想(北京)有限公司 Data processing method and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090083730A1 (en) * 2007-09-20 2009-03-26 Richardson Ric B Installing Protected Software Product Using Unprotected Installation Image
CN102609326A (en) * 2012-01-17 2012-07-25 大唐移动通信设备有限公司 Data downloading processing method and data downloading processing device
CN103218235A (en) * 2012-01-19 2013-07-24 宇龙计算机通信科技(深圳)有限公司 Terminal and software installation method
CN103294487A (en) * 2012-02-22 2013-09-11 腾讯科技(深圳)有限公司 Method, device and system for installing software
CN103885798A (en) * 2014-03-03 2014-06-25 联想(北京)有限公司 Data processing method and electronic device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109460320A (en) * 2018-11-02 2019-03-12 南京南瑞继保电气有限公司 A kind of backup and reduction method for automation of transformation substations equipment
CN111427611A (en) * 2020-04-02 2020-07-17 四川航天系统工程研究所 Embedded software version state control method realized by utilizing fingerprint code
CN111695113A (en) * 2020-06-01 2020-09-22 南方电网数字电网研究院有限公司 Method and device for detecting installation compliance of terminal software and computer equipment
CN111695113B (en) * 2020-06-01 2023-12-05 南方电网数字平台科技(广东)有限公司 Terminal software installation compliance detection method and device and computer equipment

Similar Documents

Publication Publication Date Title
CN106293831A (en) A kind of method and system of embedded software I&M
KR20150033711A (en) Run-time error repairing method, device and system
CN105550579A (en) Method for measuring BMC integrity on basis of TPCM
WO2008017796A8 (en) Apparatus and method for performing integrity checks on software
EP1046995A3 (en) Method and apparatus for debugging optimized code
BRPI0511928A (en) method for monitoring operation of a control loop in a process facility, tangible medium, system for monitoring operation of a control loop in a process facility, and, method for facilitating the monitoring operation of at least a portion of a facility of process
WO2006123971A3 (en) Deterministic-probabilistic safety analysis and evaluation method and system
TW200721008A (en) Method and system for switching between embedded operating systems of computer platform
CN103973858B (en) The Auto-Test System of mobile terminal
ATE428983T1 (en) SYSTEM AND METHOD FOR TESTING WIRELESS COMPONENT APPLICATIONS
CN104573494A (en) Safety mobile office method based on WMI software whitelist mechanism
EP2405357A3 (en) Methods systems and apparatus for determining whether built-in-test fault codes are indicative of an actual fault condition or a false alarm
CN104331310A (en) Background application one-click installation method and system
CN102902563A (en) Linux operating system and method for mounting file system in starting process of Linux operating system
CN111141012A (en) Pipeline stress control method and air conditioner control system
CN104111878A (en) Automatic hadoop cluster restoration technology on basis of snapshots of virtual machines
US20130176133A1 (en) Device and method for monitoring process controller health
CN106600010A (en) Intelligent emergency processing information system based on scene adaptation
CN103177213B (en) A kind of software vulnerability restorative procedure and system
CN111399862A (en) Batch installation method and device of Windows missing driver and computer equipment
CN105824749A (en) Method for analyzing abnormality of user-mode progress under linux system
TW200717229A (en) Monitoring method for computer systems
CN105740101A (en) Automatic backup and automatic restoration method and apparatus for MySQL database
CN106407029A (en) Method and system for facilitating field location of fault of payment terminal
CN102087607A (en) Method and device for installing patch packets

Legal Events

Date Code Title Description
C06 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: 20170104

RJ01 Rejection of invention patent application after publication