CN104461594A - Updating method and device of embedded operating system - Google Patents

Updating method and device of embedded operating system Download PDF

Info

Publication number
CN104461594A
CN104461594A CN201310433674.6A CN201310433674A CN104461594A CN 104461594 A CN104461594 A CN 104461594A CN 201310433674 A CN201310433674 A CN 201310433674A CN 104461594 A CN104461594 A CN 104461594A
Authority
CN
China
Prior art keywords
embedded
upgrade file
upgrade
file bag
master 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.)
Granted
Application number
CN201310433674.6A
Other languages
Chinese (zh)
Other versions
CN104461594B (en
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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201310433674.6A priority Critical patent/CN104461594B/en
Publication of CN104461594A publication Critical patent/CN104461594A/en
Application granted granted Critical
Publication of CN104461594B publication Critical patent/CN104461594B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an updating method and device of an embedded operating system. In the method, an updating file package from a server is received, and the updating file package is stored in a preset storage area; the embedded operating system is restarted; the updating file package is obtained from the preset storage area, and integrality and accuracy verification is performed on the updating file package; if verification is successful, the updating file package is used for updating, and data modified in the updating operation process are written into a protected disk by means of a preset command in an EWF after updating operation. According to the technical scheme, remote updating of embedded equipment is achieved, and reliability and safety of the updating operation are high.

Description

The upgrade method of embedded OS and device
Technical field
The present invention relates to built-in field, in particular to a kind of upgrade method and device of embedded OS.
Background technology
At present, for the embedded device in correlation technique, the function of its remote upgrade is most important, and this function significantly can simplify remote maintenance and the management difficulty of embedded device.Such as: when embedded device generation software fault (bug) or when needing to increase New function, namely carry out remote upgrade to safeguard and more new task to embedded device program by network.
Windows XP Embedded operating system is a kind of embedded OS of Microsoft's research and development, can by adopting the function of Componentized form customization Windows operating system, thus the abundant customization characteristic making embedded development personnel can only select needed for the embedded device of those little coverages.The embedded device that presently used Windows XP Embedded builds operating system increases increasingly, such as: safety monitoring equipment, retail sales point terminal, thin client and advanced set-top box etc.
In remote upgrade procedure, no matter be based on (SuSE) Linux OS or the embedded device based on Windows XP Embedded operating system, reliability in its escalation process and security process all need to take into full account, simultaneously due to the difference of dissimilar operating system self existence, also there is larger difference in both reliabilities in escalation process and security process, but, lack the technical scheme of how carrying out remote upgrade for the embedded device based on Windows XP Embedded operating system in correlation technique.
Summary of the invention
The invention provides a kind of upgrade method and device of embedded OS, at least to solve in correlation technique the problem lacking and carry out the technical scheme of remote upgrade for the embedded device based on embedded OS.
According to an aspect of the present invention, a kind of upgrade method of embedded OS is provided.
Upgrade method according to embedded OS of the present invention comprises: receive the upgrade file bag coming from server, and upgrade file bag is stored to default storage area; Embedded OS is restarted, from default storage area, obtains upgrade file bag and integrality and accuracy verification are carried out to upgrade file bag; If verification succeeds, then adopt upgrade file bag to carry out updating operation, and the data revised in updating operation process are write shielded disk by the pre-set commands adopting enhancement mode to write in filtrator (EWF) after updating operation completes.
Preferably, embedded OS is restarted, from default storage area, obtain upgrade file bag and integrality is carried out to upgrade file bag and accuracy verification comprises: while startup embedded OS, starting remote upgrade service routine, wherein, remote upgrade service routine is preconfigured to be and runs with during starting of embedded operation system; Remote upgrade service routine is adopted to detect whether there is upgrade file bag in default storage area; If existed, then integrality and accuracy verification are carried out to upgrade file bag.
Preferably, adopt upgrade file bag to carry out updating operation and comprise: adopt remote upgrade service routine to detect process list, judge that embedded master routine in embedded OS is current and whether run; If so, then embedded master routine is closed; Upgrade file bag is adopted to upgrade embedded master routine.
Preferably, adopt upgrade file bag to carry out renewal to embedded master routine to comprise: carry out deconsolidation process to upgrade file bag, obtain the first upgrade file set and the second upgrade file set, wherein, first upgrade file set is used for adding new data in embedded master routine, and the second upgrade file set is used for replacing the data existed in embedded master routine; The first upgrade file set and the second upgrade file set is adopted to upgrade embedded master routine.
Preferably, above-mentioned embedded OS is Windows XP Embedded operating system.
According to a further aspect in the invention, a kind of update device of embedded OS is provided.
Update device according to embedded OS of the present invention comprises: receiver module, for receiving the upgrade file bag coming from server, and upgrade file bag is stored to default storage area; Correction verification module, for restarting embedded OS, obtaining upgrade file bag and carrying out integrality and accuracy verification to upgrade file bag from default storage area; Upgraded module, if for verification succeeds, adopts upgrade file bag to carry out updating operation, and after updating operation completes, adopts the pre-set commands in EWF that the data revised in updating operation process are write shielded disk.
Preferably, correction verification module comprises: start unit, and for starting remote upgrade service routine while startup embedded OS, wherein, remote upgrade service routine is preconfigured to be and runs with during starting of embedded operation system; First detecting unit, detects whether there is upgrade file bag in default storage area for adopting remote upgrade service routine; Verification unit, for when the first detecting unit exports as being, then carries out integrality and accuracy verification to upgrade file bag.
Whether preferably, upgrading template comprises: the second detecting unit, for adopting remote upgrade service routine to detect process list, judging that embedded master routine in embedded OS is current and running; Closing unit, for when the second detecting unit exports as being, then closes embedded master routine; Updating block, upgrades embedded master routine for adopting upgrade file bag.
Preferably, updating block comprises: obtain subelement, for carrying out deconsolidation process to upgrade file bag, obtain the first upgrade file set and the second upgrade file set, wherein, first upgrade file set is used for adding new data in embedded master routine, and the second upgrade file set is used for replacing the data existed in embedded master routine; Upgrading subelement, for adopting the first upgrade file set and the second upgrade file set, embedded master routine being upgraded.
Preferably, above-mentioned embedded OS is Windows XP Embedded operating system.
By the present invention, adopt the upgrade file bag receiving and come from server, and upgrade file bag is stored to default storage area, embedded OS is restarted, from default storage area, obtains upgrade file bag and integrality and accuracy verification are carried out to upgrade file bag, if verification succeeds, upgrade file bag is then adopted to carry out updating operation, and after updating operation completes, adopt the pre-set commands in EWF that the data revised in updating operation process are write shielded disk, namely after receiving the upgrade file bag coming from server, perform a reboot operation to embedded system terminal to reduce to shielded disk, and by adopting the pre-set commands of EWF technology that the data revised in escalation process are write to shielded disk, thus to guarantee in escalation process shielded disk can not infect by virus, solve in correlation technique the problem lacking and carry out the technical scheme of remote upgrade for the embedded device based on embedded OS thus, and then achieve remote upgrade is carried out to embedded device, and updating operation reliability is strong, security is high.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of the upgrade method of embedded OS according to the embodiment of the present invention;
Fig. 2 is that remote upgrade controller carries out to embedded system terminal the schematic diagram controlled of upgrading according to the preferred embodiment of the invention;
Fig. 3 is that the inner remote upgrade file bag according to receiving of embedded system terminal performs the process flow diagram of updating operation according to the preferred embodiment of the invention;
Fig. 4 is the structured flowchart of the update device of embedded OS according to the embodiment of the present invention;
Fig. 5 is the structured flowchart of the update device of embedded OS according to the preferred embodiment of the invention.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
In the following description, except as otherwise noted, the symbol otherwise with reference to the action performed by one or more computing machine and operation represents each embodiment describing the application.Wherein, computing machine comprises the various products such as personal computer, server, mobile terminal, employs the equipment that central processing unit (CPU), single-chip microcomputer, digital signal processor (DSP) etc. have a process chip and all can be called computing machine.Thus, be appreciated that processing unit that this kind of action performed sometimes referred to as computing machine and operation comprise computing machine is to the manipulation of electric signal representing data with structured form.It is safeguarded in this manipulation transforms data or the position in the accumulator system of computing machine, and this reshuffles or changes the operation of computing machine in the mode that those skilled in the art understands.The data structure of service data is the physical location of the storer of the particular community that the form with data defines.But although describe the present invention in above-mentioned context, it does not also mean that restrictive, as understood by those skilled in the art, hereinafter described action and each side of operation also can realize with hardware.
Turn to accompanying drawing, wherein identical reference number refers to identical element, and the principle of the application is shown in a suitable computing environment and realizes.Below describe the embodiment based on described the application, and should not think about the alternative embodiment clearly do not described herein and limit the application.
Following examples can be applied in computing machine, such as: be applied in personal computer (PC), also can be applied in the mobile terminal that have employed at present in intelligent operating system, and be not limited to this.Operating system for computing machine or mobile terminal does not have particular/special requirement, as long as can detect contact, determine whether this contact is consistent with pre-defined rule, and realizes corresponding function according to the attribute of this contact.
Fig. 1 is the process flow diagram of the upgrade method of embedded OS according to the embodiment of the present invention.As shown in Figure 1, the method can comprise following treatment step:
Step S102: receive the upgrade file bag coming from server, and upgrade file bag is stored to default storage area;
Step S104: restart embedded OS, obtains upgrade file bag and carries out integrality and accuracy verification to upgrade file bag from default storage area;
Step S106: if verification succeeds, then adopt upgrade file bag to carry out updating operation, and after updating operation completes, adopt the pre-set commands in EWF that the data revised in updating operation process are write shielded disk.
In correlation technique, lack the technical scheme of carrying out remote upgrade for the embedded device based on embedded OS.Adopt method as shown in Figure 1, receive the upgrade file bag coming from server, and upgrade file bag is stored to default storage area, embedded OS is restarted, from default storage area, obtains upgrade file bag and integrality and accuracy verification are carried out to upgrade file bag, if verification succeeds, upgrade file bag is then adopted to carry out updating operation, and after updating operation completes, adopt the pre-set commands in EWF that the data revised in updating operation process are write shielded disk, namely after receiving the upgrade file bag coming from server, perform a reboot operation to embedded system terminal to reduce to shielded disk, and by adopting the pre-set commands of EWF technology that the data revised in escalation process are write to shielded disk, thus to guarantee in escalation process shielded disk can not infect by virus, solve in correlation technique the problem lacking and carry out the technical scheme of remote upgrade for the embedded device based on embedded OS thus, and then achieve remote upgrade is carried out to embedded device, and updating operation reliability is strong, security is high.
Enhancement mode write filtrator (Enhanced Write Filter; referred to as EWF) resist technology provide a kind of protect disk with prevent write means, it makes operating system (OS) can start from read-only media (such as: CD ROM, write-protect hard disk or flash memory).All all covering is redirected to the write that the disk being subject to EWF protection carries out.These writes are buffered in covering and as a part for disk and provide, and produce the presentation that this disk can be write thus.Covering may be present in disk or random-access memory (RAM), if needed, the data stored can also be submitted to shielded disk in covering.
In preferred implementation process, above-mentioned embedded OS is Windows XP Embedded operating system.
Windows XP Embedded operating system is the modularization version of Windows XP Professional operating system, and the function collection that Windows XP Professional operating system is abundant is incorporated in embedded device by it.By modularization function, Windows XP Embedded operating system can build the runtime images only comprising the necessary Windows assembly of embedded device like a cork.In brief, Windows XP Embedded operating system is equivalent to a simple version of Windows XP Professional operating system.
As a preferred embodiment of the present invention, Fig. 2 is that remote upgrade controller carries out to embedded system terminal the schematic diagram controlled of upgrading according to the preferred embodiment of the invention.As shown in Figure 2, remote upgrade is initiated by remote upgrade controller (being equivalent to above-mentioned server), is described in detail below by the information interaction between remote upgrade controller and embedded system terminal:
Step S202: when remote upgrade controller is determined to need to carry out remote upgrade to embedded system terminal, first, upgrade file bag can be sent to embedded system terminal by network by remote upgrade controller; Then, the upgrade file bag received is stored in glue file catalogue (i.e. above-mentioned default storage area) by embedded system terminal.
It should be noted that, in above-mentioned steps, to the reception of upgrade file bag with to store be all come by the master routine of embedded system terminal.
Step S204: after upgrade file bag is sent to embedded system terminal by remote upgrade controller, and then also can send reset command and restart operation to make embedded system terminal perform.
In the preferred embodiment, this step is mainly in order to strengthen the security of remote upgrade procedure.As everyone knows; Windows operating system existing defects in anti-virus; and Windows XP Embedded operating system is self-contained EWF resist technology, and EWF provides a kind of disk of protecting to prevent the means write, thus effectively can prevent virus infections.Under normal circumstances; the operating system of embedded device and master program file all can be subject to EWF protection; and remote upgrade procedure can carry out file copy and overlapping operation to the master routine of embedded device, and the pre-set commands (such as: commit order) of these amended data separate EWF technology is submitted to shielded disk.If before remote upgrade procedure starts; embedded device infects virus; although due to the protection of EWF technology; virus can't produce any impact to shielded disk; but viral data also can be submitted to shielded disk while amended data are submitted to shielded disk by the commit command operation performed in remote upgrade procedure.Therefore; after receiving upgrade file bag, perform a reboot operation to embedded system terminal can avoid above-mentioned situation to occur effectively; because system reset operation can carry out restoring operation to shielded disk, thus to ensure in escalation process shielded disk can not infect by virus.
Preferably, in step S104, embedded OS is restarted, from default storage area, obtain upgrade file bag and to upgrade file bag carry out integrality and accuracy verification can comprise following operation:
Step S1: start remote upgrade service routine while startup embedded OS, wherein, remote upgrade service routine is preconfigured to be and runs with during starting of embedded operation system;
Step S2: adopt remote upgrade service routine to detect whether there is upgrade file bag in default storage area;
Step S3: if existed, then carry out integrality and accuracy verification to upgrade file bag.
In a preferred embodiment, when embedded system terminal is after receiving upgrade file bag, embedded OS will be restarted.Therefore, in order to upgrade file bag effectively be detected, to strengthen the reliability of remote upgrade operation, remote upgrade service routine can be arranged to system service program and register start self-starting type, be added into starting up's item, to start remote upgrade service routine while startup embedded OS.In addition, to consider that in escalation process embedded system terminal power-off may occur or network disconnects because there is exception, thus cause receiving upgrade file and contract out existing mistake, if through integrality and accuracy verification, find that check results display upgrade file bag is invalid, then can delete upgrade file bag, not carry out updating operation.
Preferably, in step s 106, adopt upgrade file bag to carry out updating operation can comprise the following steps:
Whether step S4: adopt remote upgrade service routine to detect process list, judge that embedded master routine in embedded OS is current and run;
Step S5: if then close embedded master routine;
Step S6: adopt upgrade file bag to upgrade embedded master routine.
In a preferred embodiment, owing to needing to upgrade the embedded master routine in embedded OS, if but embedded master routine is current runs, so cannot perform updating operation to embedded master routine.For this reason, before execution updating operation, remote upgrade service routine first to be adopted to detect process list, judge that embedded master routine in embedded OS is current and whether run, if so, then close embedded master routine; If not, then directly updating operation can be carried out.
Preferably, in step s 6, adopt upgrade file bag to carry out renewal to embedded master routine and can comprise following operation:
Step S61: deconsolidation process is carried out to upgrade file bag, obtain the first upgrade file set and the second upgrade file set, wherein, first upgrade file set is used for adding new data in embedded master routine, and the second upgrade file set is used for replacing the data existed in embedded master routine;
Step S62: adopt the first upgrade file set and the second upgrade file set to upgrade embedded master routine.
In a preferred embodiment, the data revised in escalation process can comprise two parts:
Part I, the data existed in current embedded master routine, therefore, need to perform overlapping operation to this partial data, adopt the corresponding data split out in upgrade file bag, the data existed replaced in embedded master routine;
Part II, the data do not existed in current embedded master routine, therefore, need to perform copy function to this partial data, by the new data direct copying extremely embedded master routine split out in upgrade file bag.
Below in conjunction with the preferred implementation shown in Fig. 3, above-mentioned preferred implementation process is further described.
Fig. 3 is that the inner remote upgrade file bag according to receiving of embedded system terminal performs the process flow diagram of updating operation according to the preferred embodiment of the invention.As shown in Figure 3, this flow process can comprise following treatment step:
Step S302: embedded system terminal starts embedded OS.
Step S304: embedded system terminal starts remote upgrade service routine.
In the preferred embodiment, according to embedded system terminal above-mentioned after receiving upgrade file bag, embedded OS will be restarted.Therefore, in order to upgrade file bag effectively be detected, to strengthen the reliability of remote upgrade operation, remote upgrade service routine can be arranged to system service program and register start self-starting type, being added into starting up's item.
Step S306: embedded system terminal is when os starting, and remote upgrade service routine also will start, whether remote upgrade service routine exists upgrade file bag under detecting glue file catalogue after starting; If do not exist, then remote upgrade service routine stops detecting; If exist, then can verify the integrality of remote upgrade file bag and accuracy, to determine the validity of upgrade file bag, continue to perform step S308.
In the preferred embodiment, validity check mainly to consider that in escalation process embedded system terminal power-off may occur or network disconnects because there is exception, thus cause receiving upgrade file and contract out existing mistake, if check results display upgrade file bag is invalid, then can delete upgrade file bag, not carry out updating operation.
Step S308: remote upgrade service routine, by detecting process list to determine whether embedded master routine starts, if embedded master routine starts, then continues to perform step S310; Otherwise, carry out continuation detection according to the time interval of presetting.
Step S310: embedded system terminal closes embedded master routine.
Step S312: embedded system terminal is after the embedded master routine of closedown, and remote upgrade service routine will carry out upgrade file bag fractured operation, and carries out file copy and overlapping operation to embedded master routine again after fractionation completes.
Step S314: embedded system terminal, after completing and carrying out file copy and overlapping operation to embedded master routine, is deleted upgrade file bag.
Step S316: embedded system terminal is after the replacement operation completing embedded master routine, remote upgrade service routine can utilize EWF technology to perform commit command operation and the data revised in escalation process are submitted to shielded disk, thus data are written in disk veritably, then embedded OS is restarted, what perform in this step restarts individual preference or the personal habits that user is mainly considered in operation, restart be in order to ensure upgrading after embedded master routine can normally run, certainly, user also can select through to restart after a period of time again or use current embedded master routine and do not restart always.
It should be noted that, after upgrade file bag being sent to embedded system terminal at remote upgrade controller, and then also can send reset command and restart operation to make embedded system terminal perform, therefore, the commit command operation performed in this step can not write viral data, and whole flow process is safe.
Step S318: after completing the restarting of embedded OS, so far, whole remote upgrade procedure all completes.
Fig. 4 is the structured flowchart of the update device of embedded OS according to the embodiment of the present invention.As shown in Figure 4, the update device of this embedded OS can comprise: receiver module 10, for receiving the upgrade file bag coming from server, and upgrade file bag is stored to default storage area; Correction verification module 20, for restarting embedded OS, obtaining upgrade file bag and carrying out integrality and accuracy verification to upgrade file bag from default storage area; Upgraded module 30, if for verification succeeds, adopts upgrade file bag to carry out updating operation, and after updating operation completes, adopts the pre-set commands in EWF that the data revised in updating operation process are write shielded disk.
Adopt device as shown in Figure 4, solve in correlation technique the problem lacking and carry out the technical scheme of remote upgrade for the embedded device based on embedded OS, and then achieve and carry out remote upgrade to embedded device, and updating operation reliability is strong, security is high.
In preferred implementation process, above-mentioned embedded OS is Windows XP Embedded operating system.
Preferably, as shown in Figure 5, correction verification module 20 can comprise: start unit 200, for starting remote upgrade service routine while startup embedded OS, wherein, remote upgrade service routine is preconfigured to be and runs with during starting of embedded operation system; First detecting unit 202, detects whether there is upgrade file bag in default storage area for adopting remote upgrade service routine; Verification unit 204, for when the first detecting unit exports as being, then carries out integrality and accuracy verification to upgrade file bag.
Preferably, as shown in Figure 5 whether, upgrading template 30 can comprise: the second detecting unit 300, for adopting remote upgrade service routine to detect process list, judging that embedded master routine in embedded OS is current and running; Closing unit 302, for when the second detecting unit exports as being, then closes embedded master routine; Updating block 304, upgrades embedded master routine for adopting upgrade file bag.
Preferably, updating block 304 can comprise: obtain subelement (not shown), for carrying out deconsolidation process to upgrade file bag, obtain the first upgrade file set and the second upgrade file set, wherein, first upgrade file set is used for adding new data in embedded master routine, and the second upgrade file set is used for replacing the data existed in embedded master routine; Upgrading subelement (not shown), for adopting the first upgrade file set and the second upgrade file set, embedded master routine being upgraded.
From above description, can find out, above embodiments enable following technique effect (it should be noted that these effects are effects that some preferred embodiment can reach): the technical scheme that the invention provides a kind of embedded device remote upgrade for Windows XP Embedded operating system, whole remote upgrade procedure is simple and effective.Technical scheme provided by the present invention takes full advantage of the EWF resist technology of Windows XP Embedded operating system; carry out strictly controlling to the data write in escalation process; thus effectively prevent viral data are written in shielded disk, enhance the security of remote upgrade.In addition, technical scheme provided by the present invention is independent from embedded master routine by remote upgrade function, is arranged to system service program and registers start self-starting type, can the process of ACTIVE CONTROL upgrading process wherein various abnormal conditions; Remote upgrade service routine also can carry out integrality and accuracy verification to upgrade file bag, thus effectively avoids because in escalation process, embedded system terminal power-off may occur or network disconnects the caused problem receiving invalid upgrade file bag because there is exception.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, and in some cases, step shown or described by can performing with the order be different from herein, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a upgrade method for embedded OS, is characterized in that, comprising:
Receive the upgrade file bag coming from server, and described upgrade file bag is stored to default storage area;
Embedded OS is restarted, from described default storage area, obtains described upgrade file bag and integrality and accuracy verification are carried out to described upgrade file bag;
If verification succeeds, then adopt described upgrade file bag to carry out updating operation, and the data revised in updating operation process are write shielded disk by the pre-set commands adopting enhancement mode to write in filtrator EWF after described updating operation completes.
2. method according to claim 1, is characterized in that, restarts described embedded OS, from described default storage area, obtain described upgrade file bag and to described upgrade file bag carry out described integrality and accuracy verification comprise:
While the described embedded OS of startup, start remote upgrade service routine, wherein, described remote upgrade service routine is preconfigured to be and runs with during described starting of embedded operation system;
Described remote upgrade service routine is adopted to detect whether there is described upgrade file bag in described default storage area;
If existed, then described integrality and accuracy verification are carried out to described upgrade file bag.
3. method according to claim 2, is characterized in that, adopts described upgrade file bag to carry out updating operation and comprises:
Adopt described remote upgrade service routine to detect process list, judge that embedded master routine in described embedded OS is current and whether run;
If so, then described embedded master routine is closed;
Described upgrade file bag is adopted to upgrade described embedded master routine.
4. method according to claim 3, is characterized in that, adopts described upgrade file bag to carry out renewal to described embedded master routine and comprises:
Deconsolidation process is carried out to described upgrade file bag, obtain the first upgrade file set and the second upgrade file set, wherein, described first upgrade file set is used for adding new data in described embedded master routine, and described second upgrade file set is used for replacing the data existed in described embedded master routine;
Described first upgrade file set and described second upgrade file set is adopted to upgrade described embedded master routine.
5. method according to any one of claim 1 to 4, is characterized in that, described embedded OS is WindowsXP Embedded operating system.
6. a update device for embedded OS, is characterized in that, comprising:
Receiver module, for receiving the upgrade file bag coming from server, and is stored to default storage area by described upgrade file bag;
Correction verification module, for restarting embedded OS, obtaining described upgrade file bag and carrying out integrality and accuracy verification to described upgrade file bag from described default storage area;
Upgraded module; if for verification succeeds; adopt described upgrade file bag to carry out updating operation, and the data revised in updating operation process are write shielded disk by the pre-set commands adopting enhancement mode to write in filtrator EWF after described updating operation completes.
7. device according to claim 6, is characterized in that, described correction verification module comprises:
Start unit, for starting remote upgrade service routine while the described embedded OS of startup, wherein, described remote upgrade service routine is preconfigured to be and runs with during described starting of embedded operation system;
First detecting unit, detects whether there is described upgrade file bag in described default storage area for adopting described remote upgrade service routine;
Verification unit, for when described first detecting unit exports as being, then carries out described integrality and accuracy verification to described upgrade file bag.
8. device according to claim 7, is characterized in that, described upgrading template comprises:
Whether the second detecting unit, for adopting described remote upgrade service routine to detect process list, judging that embedded master routine in described embedded OS is current and running;
Closing unit, for when described second detecting unit exports as being, then closes described embedded master routine;
Updating block, upgrades described embedded master routine for adopting described upgrade file bag.
9. device according to claim 8, is characterized in that, described updating block comprises:
Obtain subelement, for carrying out deconsolidation process to described upgrade file bag, obtain the first upgrade file set and the second upgrade file set, wherein, described first upgrade file set is used for adding new data in described embedded master routine, and described second upgrade file set is used for replacing the data existed in described embedded master routine;
Upgrading subelement, for adopting described first upgrade file set and described second upgrade file set, described embedded master routine being upgraded.
10. the device according to any one of claim 6 to 9, is characterized in that, described embedded OS is WindowsXP Embedded operating system.
CN201310433674.6A 2013-09-22 2013-09-22 The upgrade method and device of embedded OS Active CN104461594B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310433674.6A CN104461594B (en) 2013-09-22 2013-09-22 The upgrade method and device of embedded OS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310433674.6A CN104461594B (en) 2013-09-22 2013-09-22 The upgrade method and device of embedded OS

Publications (2)

Publication Number Publication Date
CN104461594A true CN104461594A (en) 2015-03-25
CN104461594B CN104461594B (en) 2019-01-15

Family

ID=52907704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310433674.6A Active CN104461594B (en) 2013-09-22 2013-09-22 The upgrade method and device of embedded OS

Country Status (1)

Country Link
CN (1) CN104461594B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095505A (en) * 2016-06-13 2016-11-09 天脉聚源(北京)传媒科技有限公司 A kind of method and device of software upgrading
CN107015827A (en) * 2017-03-20 2017-08-04 深圳市共进电子股份有限公司 The method of embedded system and its automatic running third party's extender
WO2018045700A1 (en) * 2016-09-07 2018-03-15 中兴通讯股份有限公司 On-board automatic diagnosis system device and upgrading method therefor
CN108897565A (en) * 2018-06-19 2018-11-27 深圳市道通智能航空技术有限公司 Method for upgrading software, device and electronic equipment in a kind of electronic equipment
CN110099130A (en) * 2019-05-15 2019-08-06 腾讯科技(深圳)有限公司 Configure update method, device and server
CN110874225A (en) * 2018-08-29 2020-03-10 杭州海康威视数字技术股份有限公司 Data verification method and device, embedded equipment and storage medium
CN111625840A (en) * 2020-05-29 2020-09-04 杭州海康威视数字技术股份有限公司 Program checking method, program upgrading method and device
CN113204366A (en) * 2021-06-02 2021-08-03 上海酒贝乐信息技术有限公司 Remote upgrading method for intelligent wine selling machine system
CN114610358A (en) * 2022-04-19 2022-06-10 无锡市恒通电器有限公司 Calibration method for remote upgrade installation package of single-phase electric energy meter
CN116719549A (en) * 2023-08-02 2023-09-08 麒麟软件有限公司 Novel Linux operating system lossless upgrading method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330399A (en) * 2007-06-19 2008-12-24 上海风格信息技术有限公司 Method for upgrading built-in equipment
CN101996254A (en) * 2010-11-18 2011-03-30 福建升腾资讯有限公司 Software rollback method based on file system layer
CN102023876A (en) * 2009-09-14 2011-04-20 漳州科能电器有限公司 Embedded system capable of upgrading software on line and online upgrading method
CN102129378A (en) * 2010-01-20 2011-07-20 腾讯科技(深圳)有限公司 Software menu updating method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330399A (en) * 2007-06-19 2008-12-24 上海风格信息技术有限公司 Method for upgrading built-in equipment
CN102023876A (en) * 2009-09-14 2011-04-20 漳州科能电器有限公司 Embedded system capable of upgrading software on line and online upgrading method
CN102129378A (en) * 2010-01-20 2011-07-20 腾讯科技(深圳)有限公司 Software menu updating method and device
CN101996254A (en) * 2010-11-18 2011-03-30 福建升腾资讯有限公司 Software rollback method based on file system layer

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095505A (en) * 2016-06-13 2016-11-09 天脉聚源(北京)传媒科技有限公司 A kind of method and device of software upgrading
WO2018045700A1 (en) * 2016-09-07 2018-03-15 中兴通讯股份有限公司 On-board automatic diagnosis system device and upgrading method therefor
CN107015827A (en) * 2017-03-20 2017-08-04 深圳市共进电子股份有限公司 The method of embedded system and its automatic running third party's extender
CN107015827B (en) * 2017-03-20 2020-06-16 深圳市共进电子股份有限公司 Embedded system and method for automatically operating third-party extension program thereof
CN108897565A (en) * 2018-06-19 2018-11-27 深圳市道通智能航空技术有限公司 Method for upgrading software, device and electronic equipment in a kind of electronic equipment
WO2019242133A1 (en) * 2018-06-19 2019-12-26 深圳市道通智能航空技术有限公司 Software upgrading method in electronic device, apparatus and electronic device
CN108897565B (en) * 2018-06-19 2021-06-18 深圳市道通智能航空技术股份有限公司 Software upgrading method and device in electronic equipment and electronic equipment
CN110874225A (en) * 2018-08-29 2020-03-10 杭州海康威视数字技术股份有限公司 Data verification method and device, embedded equipment and storage medium
CN110874225B (en) * 2018-08-29 2023-05-02 杭州海康威视数字技术股份有限公司 Data verification method and device, embedded equipment and storage medium
CN110099130B (en) * 2019-05-15 2021-09-28 腾讯科技(深圳)有限公司 Configuration updating method and device and server
CN110099130A (en) * 2019-05-15 2019-08-06 腾讯科技(深圳)有限公司 Configure update method, device and server
CN111625840A (en) * 2020-05-29 2020-09-04 杭州海康威视数字技术股份有限公司 Program checking method, program upgrading method and device
CN113204366A (en) * 2021-06-02 2021-08-03 上海酒贝乐信息技术有限公司 Remote upgrading method for intelligent wine selling machine system
CN114610358A (en) * 2022-04-19 2022-06-10 无锡市恒通电器有限公司 Calibration method for remote upgrade installation package of single-phase electric energy meter
CN116719549A (en) * 2023-08-02 2023-09-08 麒麟软件有限公司 Novel Linux operating system lossless upgrading method
CN116719549B (en) * 2023-08-02 2023-11-28 麒麟软件有限公司 Novel Linux operating system lossless upgrading method

Also Published As

Publication number Publication date
CN104461594B (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN104461594A (en) Updating method and device of embedded operating system
CN103718165B (en) BIOS flash memory attack protection and notice
EP3494471B1 (en) Systems and methods for secure recovery of host system code
CN100489805C (en) Autonomous memory checker for runtime security assurance and method therefore
US9703635B2 (en) Method, computer program, and computer for restoring set of variables
US9205809B2 (en) Vehicle unit and method for operating the vehicle unit
US9015458B2 (en) Computer system and method for updating basic input/output system by switching between local mode and bypass mode through baseboard management controller
US9891996B2 (en) Apparatus and method for recovering an information handling system from a non-operational state
US10599419B2 (en) Secure firmware updates using virtual machines to validate firmware packages
US8843926B2 (en) Guest operating system using virtualized network communication
JP6095796B2 (en) Activation mechanism for "Bring Your Own" management
JP6201049B2 (en) System and method for updating system level services in a read-only system image
US20180046809A1 (en) Secure host operating system running a virtual guest operating system
US8838952B2 (en) Information processing apparatus with secure boot capability capable of verification of configuration change
US20140149644A1 (en) Electronic apparatus, method of updating firmware, and computer-readable recording medium
US20190228157A1 (en) Computing device having two trusted platform modules
US10185633B2 (en) Processor state integrity protection using hash verification
JP2010182196A (en) Information processing apparatus and file verification system
US10514972B2 (en) Embedding forensic and triage data in memory dumps
US9448888B2 (en) Preventing a rollback attack in a computing system that includes a primary memory bank and a backup memory bank
US20230342476A1 (en) Bootloaders
RU2606565C2 (en) Firmware agent
CN104346572A (en) Construction method of universal external intelligent terminal safety operation environment
WO2019137280A1 (en) Terminal anomaly repair method, apparatus, mobile terminal, and storage medium
CN112115477B (en) Kernel repairing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant