CN100399281C - Hardware driving and software updating method based on multiplexed embedded system with expandable form - Google Patents

Hardware driving and software updating method based on multiplexed embedded system with expandable form Download PDF

Info

Publication number
CN100399281C
CN100399281C CNB031093701A CN03109370A CN100399281C CN 100399281 C CN100399281 C CN 100399281C CN B031093701 A CNB031093701 A CN B031093701A CN 03109370 A CN03109370 A CN 03109370A CN 100399281 C CN100399281 C CN 100399281C
Authority
CN
China
Prior art keywords
upgrading
hardware
reserved area
embedded system
upgrade
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.)
Expired - Lifetime
Application number
CNB031093701A
Other languages
Chinese (zh)
Other versions
CN1506822A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB031093701A priority Critical patent/CN100399281C/en
Publication of CN1506822A publication Critical patent/CN1506822A/en
Application granted granted Critical
Publication of CN100399281C publication Critical patent/CN100399281C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The present invention relates to a method for updating hardware drivers and software of a reusable embedded system based on extensible forms. The present invention is characterized in that a small block of special area is partitioned from the embedded system and used as an upgrade reserved area which reserves a sheet of initialized extensible standby driver table, and the upgrade reserved area stores the driver information and descriptive information of hardware which can be upgraded and the editions of applications which can be upgraded; the embedded system is integrated with an executable upgrade program which is especially used for upgrades and can be attached to the upgrade reserved area, and a user uses the executable upgrade program to update selected hardware or software; if the hardware to be updated does not exist in the standby driver table, the user exits from the embedded system, directly writes brand new driver files into the update reserved area and expands the standby driver table. The present invention has strong reusability and high safety, has expansion interfaces to unknown hardware and uses one suit of software platform to adapt to a plurality of different hardware platforms.

Description

Hardware driving and Oftware updating method based on the reusable embedded system of extendible list
Technical field
The invention belongs to the program control technology field, specifically a kind of hardware driving and Oftware updating method of the reusable embedded system based on extendible list.
Background technology
Embedded system generally all is the system of sealing because consider stability, reliability, in case need renewal hardware or application software just need rebulid the whole software system.Chen Weihuas etc. have adopted each hardware to change in the semi-automatic upgrading scheme of patent of invention publication number 02123452.3 disclosed embedded OS and have just write hardware driving and upgrading mark from the outside, finish the method for upgrading then by system, but many times may be the replacing of limited several hardware, write lastest imformation with external program there is no need at every turn fully, and should reduce in plug-in mode as embedded OS as far as possible and to write data to system, to guarantee the security of system.
Summary of the invention
For overcoming above-mentioned deficiency, the hardware driving and the Oftware updating method that the purpose of this invention is to provide a kind of reusable embedded system based on extendible list, when hardware or software upgrading take place when, it can obtain upgrade information from the external world as few as possible, finishes relevant hardware as far as possible and drive renewal and software upgrading in the environment of sealing.
For finishing above-mentioned purpose, the technical solution used in the present invention is: based on the hardware driving and the Oftware updating method of the reusable embedded system of extendible list, its step comprises:
(a) in embedded system, mark a specific regions and do the upgrading reserved area, in the upgrading reserved area, keep an initialized open-ended alternative table-drive;
(b) deposit the version of the activation bit of scalable hardware and descriptive information, scalable application program in the upgrading reserved area;
(c) an integrated executable upgrade program that can articulate the upgrading reserved area that is specifically designed to upgrading in embedded system;
(d) when needs upgrading hardware or software, the user uses this ROMPaq that user-selected hardware or software are upgraded, if the hardware of upgrading is not have in the alternative table-drive, then withdraw from embedded system, directly write brand-new driving file, expand alternative table-drive simultaneously to embedded system upgrading reserved area.
The hardware driving and the software that need to upgrade must be upgraded before it loads.
ROMPaq is upgraded according to the following steps:
(a) carry out proof of identity;
(b) pass through as if verification, then execution in step c; If verification is not passed through, then restart system;
(c) articulate upgrading reserved area and read alternative table-drive, inquiry whether upgrade and display result selective, if upgrading is then installed AKU by the result that the user selects, and carry out necessary configuration file on demand and revise, then do not continue next step if do not upgrade;
(d) unloading upgrading reserved area;
(e) finish upgrading, restart system.
The present invention uses a cover software platform, select configuration can adapt to a plurality of different hardware platforms through simple, it has strengthened the reusability of system, set up under the relatively more sufficient situation at alternative table-drive, all operations is just finished in internal system, need not any external data support, has higher safety assurance, simultaneously, the extensibility of the alternative table-drive system that makes has the expansion interface to unknown hardware.
Description of drawings
Fig. 1 is the partitioned organization figure of the alternative table-drive of the present invention;
Fig. 2 is the process flow diagram of ROMPaq of the present invention;
Fig. 3 is the embodiment operational flowchart.
Embodiment
The present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
With X86 Implementation of Embedded System personal computing applianceization, the hardware platform fundamental element is the hardware of ordinary individual's computer, but have several different models or type with kind hardware, the result of permutation and combination has tens of kinds like this, if all design a cover software platform at every kind of combination, obviously development and maintenance cost is too high.
Consult Fig. 1, the present invention is provided with a subregion and does the upgrading reserved area in this embedded system, and this upgrading reserved area does not articulate under default situations.Upgrading keeps an initialized open-ended alternative table-drive in the reserved area, and has deposited the version of the activation bit of scalable just part and descriptive information, scalable application program.
An integrated executable upgrade program that can articulate the upgrading reserved area that is specifically designed to upgrading in system, when needs upgrade hardware or software, the user uses this ROMPaq that user-selected hardware or software are upgraded, if the hardware that upgrades is not have in the alternative table-drive, then log off, directly write brand-new driving file, expand alternative table-drive simultaneously to the system upgrade reserved area.
ROMPaq is a textual interface program, promptly can add the U key with shift key and breathe out after kernel starts.All drivings that need upgrade must be upgraded before it loads.To upgrade the video card driving is example, we send key when starting and preset dual mode when system start-up: a kind of is directly to start to operating system, this kind video card drives and loads, can not upgrade, during normal the operation all is this situation, advanced level user can start to textual interface and manually boot operating system then, and the renewal that video card is driven needs just can carry out in this case.Same, also need before loading, upgrade any other Hardware drive module.Another kind is the exhalation ROMPaq, and this program is articulating the reserved area of upgrading automatically under advanced level user's pattern, and it reads out current obtainable alternative driving tabulation respectively according to the structure of alternative table-drive and tabulation is shown to the user then.
A possible interface is: current video card and the video card that will use, wanting to change a method of driving is: the at first title that drives of definition, path etc., current video card is installed is driven bag, the additional ROMPaq of operation, some hardware need carry out the modification of some key words to corresponding configuration file, ROMPaq is a parameter with current video card, revise the explanation of video card drive arrangements, comprise adding section and revising current use and drive to will be with video card etc., particular hardware has nothing in common with each other, need provide additional ROMPaq respectively, it is identical with manual modification configuration file to finish function.
System restarts the back acquiescence and enters in the normal use, drives to upgrade and finishes.It should be noted that all driving bags should be verified at experiment porch re-uses after errorless.
As shown in Figure 2, ROMPaq can add the exhalation of U key by shift key as being applied and integrated in the system of hiding, its operating process is: carry out proof of identity earlier, if verification is passed through, then articulate the upgrading reserved area and read alternative table-drive, whether inquiry upgrades, select to install AKU by the user then, and carry out necessary configuration file on demand and revise, unloading upgrading reserved area, finish upgrading at last, restart system.If proof of identity can't pass, then direct start-up system.
Be an example below:
1. set up a upgrading reserved partition hda18 in the X86 embedded system, its structure is as follows:
Figure C0310937000051
Wherein: BackupDriverList.tab is " an alternative table-drive "
Tnt2_nv.rpm is a driver package, and tnt2_nv.txt drives imprint.
Applicationl.exe is an application program.
The cellular construction of " alternative table-drive " BackupDriverList.tab is as follows:
Typedef?struct?HWInfoUnit
{
Int HWType; // type of hardware such as LX_VGA or APPLICATION
Char HWName[80]; // hardware title such as tnt2_nv or applicationl
char?HWDriverLocat[256];
The position of // AKU or program is as/Driver/LX_VGA/tnt2_nv.rpm
Or/Exe/Applicationl.exe
};
2. ROMPaq Update.exe is applied and integrated in the system its operating process such as Fig. 3 as what hide:
(a) carry out proof of identity;
(b) pass through as if verification, then execution in step c; If verification is not passed through, then restart system;
(c) articulate upgrading reserved area and read alternative table-drive, inquiry whether upgrade and display result selective, if upgrading is then installed AKU by the result that the user selects, and carry out necessary configuration file on demand and revise, then do not continue next step if do not upgrade;
(d) unloading upgrading reserved area;
(e) finish upgrading, restart system.

Claims (2)

1. based on the hardware driving and the Oftware updating method of the reusable embedded system of extendible list, it is characterized in that: the hardware and software of needs upgrading must be upgraded before it loads, and this method may further comprise the steps:
(a) in embedded system, mark a specific regions and do the upgrading reserved area, in the upgrading reserved area, keep an initialized open-ended alternative table-drive;
(b) deposit the version of the activation bit of scalable hardware and descriptive information, scalable application program in the upgrading reserved area;
(c) an integrated executable upgrade program that can articulate the upgrading reserved area that is specifically designed to upgrading in embedded system;
(d) when needs upgrading hardware or software, the user uses this ROMPaq that user-selected hardware or software are upgraded, if the hardware of upgrading is not have in the alternative table-drive, then withdraw from embedded system, directly write brand-new driving file, expand alternative table-drive simultaneously to embedded system upgrading reserved area.
2. the hardware driving and the Oftware updating method of the reusable embedded system based on extendible list according to claim 1, it is characterized in that: ROMPaq is upgraded according to the following steps:
(1) carries out proof of identity;
(2) pass through as if verification, then execution in step (3); If verification is not passed through, then execution in step (5);
(3) articulate upgrading reserved area and read alternative table-drive, inquiry whether upgrade and display result selective, if upgrading is then installed AKU by the result that the user selects, and carry out necessary configuration file on demand and revise, then do not continue next step if do not upgrade;
(4) unloading upgrading reserved area;
(5) finish upgrading, restart system.
CNB031093701A 2002-12-09 2003-04-08 Hardware driving and software updating method based on multiplexed embedded system with expandable form Expired - Lifetime CN100399281C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031093701A CN100399281C (en) 2002-12-09 2003-04-08 Hardware driving and software updating method based on multiplexed embedded system with expandable form

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN02155510 2002-12-09
CN02155510.9 2002-12-09
CNB031093701A CN100399281C (en) 2002-12-09 2003-04-08 Hardware driving and software updating method based on multiplexed embedded system with expandable form

Publications (2)

Publication Number Publication Date
CN1506822A CN1506822A (en) 2004-06-23
CN100399281C true CN100399281C (en) 2008-07-02

Family

ID=34276107

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031093701A Expired - Lifetime CN100399281C (en) 2002-12-09 2003-04-08 Hardware driving and software updating method based on multiplexed embedded system with expandable form

Country Status (1)

Country Link
CN (1) CN100399281C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487907A (en) * 2015-12-07 2016-04-13 青岛海信电器股份有限公司 Difference package manufacturing method and device

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1315043C (en) * 2004-06-24 2007-05-09 华为技术有限公司 Compatibility upgrading method of embedded programm
JP4482029B2 (en) 2004-07-08 2010-06-16 アンドリュー・コーポレイション Radio base station and radio base station operation method
DE102004055993A1 (en) * 2004-11-19 2006-05-24 Vega Grieshaber Kg A system arrangement and method in a process-processing system for detecting mismatched functionality between a device software and an associated device driver
CN100403263C (en) * 2006-08-16 2008-07-16 华为技术有限公司 Method for loading equipment software according to allocation
CN102402445A (en) * 2011-11-21 2012-04-04 北京星网锐捷网络技术有限公司 Program upgrading method, program upgrading device and embedded equipment
CN104407895A (en) * 2014-12-01 2015-03-11 浪潮集团有限公司 Method and device for enabling X86 new platform to support WIN2000 by expanding traditional bridge chips
CN105506918B (en) * 2015-11-30 2017-08-29 海信(山东)冰箱有限公司 A kind of washing machine and its control method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5566335A (en) * 1993-03-16 1996-10-15 Hewlett-Packard Company Method and apparatus for firmware upgrades in embedded systems
WO2001004749A1 (en) * 1999-07-08 2001-01-18 Axis Ab Method and apparatus for upgrading firmware in an embedded system
CN1346085A (en) * 2000-09-26 2002-04-24 民生科技股份有限公司 Method for updating program code used for embedded microcontrol unit
CN1362667A (en) * 2001-01-04 2002-08-07 财团法人资讯工业策进会 Embedded structure with software capable of being updated fast and its software updating method
US6473899B1 (en) * 1996-08-28 2002-10-29 Extended Systems, Inc. Field configurable embedded computer system
US20020170050A1 (en) * 2001-03-14 2002-11-14 General Instrument Corporation Methods and apparatus for upgrading firmware in an embedded system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5566335A (en) * 1993-03-16 1996-10-15 Hewlett-Packard Company Method and apparatus for firmware upgrades in embedded systems
US6473899B1 (en) * 1996-08-28 2002-10-29 Extended Systems, Inc. Field configurable embedded computer system
WO2001004749A1 (en) * 1999-07-08 2001-01-18 Axis Ab Method and apparatus for upgrading firmware in an embedded system
CN1346085A (en) * 2000-09-26 2002-04-24 民生科技股份有限公司 Method for updating program code used for embedded microcontrol unit
CN1362667A (en) * 2001-01-04 2002-08-07 财团法人资讯工业策进会 Embedded structure with software capable of being updated fast and its software updating method
US20020170050A1 (en) * 2001-03-14 2002-11-14 General Instrument Corporation Methods and apparatus for upgrading firmware in an embedded system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
可升级的高可信嵌入式系统模型. 陈宇,熊光泽.计算机应用,第22卷第2期. 2002
可升级的高可信嵌入式系统模型. 陈宇,熊光泽.计算机应用,第22卷第2期. 2002 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487907A (en) * 2015-12-07 2016-04-13 青岛海信电器股份有限公司 Difference package manufacturing method and device

Also Published As

Publication number Publication date
CN1506822A (en) 2004-06-23

Similar Documents

Publication Publication Date Title
US8539471B2 (en) Updating firmware of an electronic device
US6928579B2 (en) Crash recovery system
US6594723B1 (en) Method and apparatus for updating data in nonvolatile memory
US7047403B2 (en) Method and system for operating system recovery and method of using build-to-configuration mode to model computer system
US6889340B1 (en) Use of extra firmware flash ROM space as a diagnostic drive
US7305544B2 (en) Interleaved boot block to support multiple processor architectures and method of use
CN100399268C (en) Computer system not relying on operation system renewing software data and method
CN102591675B (en) Method and system for management of multiple software images with shared memory blocks
US7000231B1 (en) Method of manufacturing operating system master template, method of manufacturing a computer entity and product resulting therefrom, and method of producing a production version of an operating system
US9959125B2 (en) Field update of boot loader using regular device firmware update procedure
JPH11502045A (en) Method and arrangement for providing BIOS to host computer
CN100399281C (en) Hardware driving and software updating method based on multiplexed embedded system with expandable form
JP2015102889A (en) Method for updating firmware, electronic device, computer and computer program
CN113626822B (en) UEFI firmware starting method and device integrating LinuxBoot
CN101371228A (en) A procedure for booting a first computer using the operating system of a second computer
US8214825B2 (en) Electronic device and method for installing software
US20020156945A1 (en) Computer system, resource allocating method thereof and resource allocating program thereof
CN103902317B (en) Operating method and electronic equipment
JP2003122699A (en) Information processing system and its peripheral equipment
JP2005515524A (en) Devices used in a network environment
CN102681859A (en) Method for starting Windows operation systems from USB (universal serial bus) mass storage device
CN1797337B (en) Method for installing software of computer automatically
KR20090023863A (en) System and method for updating firmware
US11755335B2 (en) Bios variable-based application deployments
CN1331047C (en) Method for synchronous updating basic input/output system and operation system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20080702