CN102346675A - System and method for updating drive program of embedded system - Google Patents

System and method for updating drive program of embedded system Download PDF

Info

Publication number
CN102346675A
CN102346675A CN2010102439000A CN201010243900A CN102346675A CN 102346675 A CN102346675 A CN 102346675A CN 2010102439000 A CN2010102439000 A CN 2010102439000A CN 201010243900 A CN201010243900 A CN 201010243900A CN 102346675 A CN102346675 A CN 102346675A
Authority
CN
China
Prior art keywords
driver
mentioned
newer
execution
entry program
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
CN2010102439000A
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.)
Mitac International Corp
Original Assignee
Mitac International Corp
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 Mitac International Corp filed Critical Mitac International Corp
Priority to CN2010102439000A priority Critical patent/CN102346675A/en
Publication of CN102346675A publication Critical patent/CN102346675A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a system and a method for updating a drive program of an embedded system. The system comprises a flash memory, an image file, a drive program installation package and a memory. The method comprises the following steps: installing a drive program updating installation package with a drive program updating package and a drive program updating inlet program; restarting the embedded system; operating the drive program in the updating inlet program in the image file; waiting for access to the flash memory; judging whether the drive program updating inlet program needs to be operated; calling the drive program updating inlet program; judging whether the version of the drive program updating package is newer than the version of the image file; judging whether information on each drive program is successfully acquired from an information file; judging whether the drive program in the drive program updating package is correct; updating the drive program into the memory; judging whether updating of the drive program is completed; and updating other parts. The drive program of the embedded system can be updated with no needs for updating of the image file.

Description

Embedded system is the system and method for newer driver more
[technical field]
The present invention provides the more system and method for newer driver of a kind of embedded system, refers to the more system and method for newer driver of a kind of embedded system that need not to upgrade image file especially.
[background technology]
The product that embedded system is housed is after shipment; The user might find some problems after using a period of time; Addressing these problems to need more newer driver; But in embedded system, do not have at present a kind of method can be under the situation of not upgrading image (image file) newer driver more.Upgrade image file, at first will need the research staff that new image file is discharged,,, bring very big workload to the research staff so research and development discharge a lot of version image files possibly because Projects with Different can not be used identical image file; Because image file can not directly be upgraded by the user,, so just strengthened the workload of customer service so the customer service meeting is taken image file and then upgraded to the user; The user need arrive customer service could upgrade image file, brings very big inconvenience to the user.
Thus it is clear that,, all make troubles for research staff, customer service and user upgrading on the basis of image file to embedded system newer driver more.
[summary of the invention]
The object of the present invention is to provide the more systems approach of newer driver of a kind of embedded system, utilize this system and method, can need not to upgrade image file and can reach renewal the embedded system driver.
For reaching above-mentioned purpose, the present invention provides the more system of newer driver of a kind of embedded system, this more the system of newer driver comprise:
One flash memory (flash), it is visited in order to wait for;
One image file, it comprises driver and several drivers that need upgrade that upgrades entry program;
One driver installation kit; It comprises a driver update entry program and a driver update bag; This driver update entry program is moved in order to the driver when above-mentioned renewal entry program and above-mentioned flash memory is called can visit the time; This driver update bag comprises several drivers; This driver update bag, upgrades the above-mentioned driver that several need upgrade with these several drivers when newer than image file in order to be called when above-mentioned driver update the entry program back and the version of this driver update bag;
One internal memory (RAM) is in order to store the driver of above-mentioned renewal.
Especially, above-mentioned driver update bag also comprises configuration file, in order to upgrade the configuration file that needs renewal in the image file.
For reaching above-mentioned purpose, the present invention provides the more method of newer driver of a kind of embedded system, and this method comprises the following steps:
(1) the driver update installation kit that comprises driver update bag and driver update entry program is installed;
(2) restart this embedded system;
(3) driver of renewal entry program in the operation image file;
(4) wait flash memory (flash) can be visited;
(5) need to judge whether operation driver update entry program; If above-mentioned being judged as " be ", execution in step (6) then; Otherwise process ends;
(6) call driver is upgraded entry program;
(7) judge whether the version of driver update bag is newer than image file; If above-mentioned being judged as " be ", execution in step (8) then; Otherwise process ends;
(8) judge from message file whether successfully to obtain each drive information; If above-mentioned being judged as " be ", execution in step (9) then;
(9) judge whether the driver in the driver update bag is correct; If above-mentioned being judged as " be ", execution in step (10) then;
(10) more newer driver arrives internal memory (RAM) the inside;
(11) judge whether that all driver updates accomplish, if above-mentioned being judged as " is " execution in step (12) then; Otherwise execution in step (9);
(12) upgrade other part.
Especially, when above-mentioned steps (8) or (9) judged result be " denying ", then execution in step: (13) deletion message file and updating file; Process ends is interrupted if so can reach installation process afterwards, only is the driver update failure, the purpose that system can normally use.
Compared to prior art; Utilize the more method of newer driver of embedded system of the present invention; Behind install driver update contruction bag; Restarting systems; Because system can be before driver move; Calling program upgrades entry program; Driver in the driver update bag is copied in the internal memory; After system moves like this is exactly new driver; Can reach renewal thereby need not to upgrade image file, all bring convenience for research staff, customer service and user the embedded system driver.
For the object of the invention, structural attitude and function thereof are had further understanding, conjunction with figs. describes in detail as follows now:
[description of drawings]
Fig. 1 illustrates and is the embedded system of the present invention system module figure of newer driver more.
Fig. 2 illustrates and is the embedded system of the present invention method flow diagram of newer driver more.
[embodiment]
See also Fig. 1, the present invention provides the more system of newer driver of a kind of embedded system, this more the system of newer driver comprise:
One flash memory 1 (flash), it is visited in order to wait for;
One image file 2, it comprises driver 3 and several drivers that need upgrade 4 that upgrades entry program;
One driver update installation kit 5; It comprises a driver update entry program 6 and a driver update bag 7; This driver update entry program 6 is in order to be called when the driver of above-mentioned renewal entry program 3 can be visited by operation and above-mentioned flash memory 1; This driver update bag 7 comprises several drivers 8; This driver update bag 7, upgrades with 8 pairs of above-mentioned drivers that several need upgrade 4 of these several drivers when newer than image file 2 in order to be called when above-mentioned driver update entry program 6 back and the version of this driver update bag 7;
One internal memory 9 (RAM) is in order to store the driver of above-mentioned renewal.
Especially, above-mentioned driver update bag 7 also comprises configuration file 10, in order to upgrade the configuration file 11 that needs renewal in the image file 2.
See also Fig. 2, the present invention provides the more method of newer driver of a kind of embedded system, and this method comprises the following steps:
Step 101: the driver update installation kit that comprises driver update bag and driver update entry program is installed;
Step 102: restart this embedded system;
Step 103: the driver that upgrades entry program in the operation image file;
Step 104: wait flash memory (flash) can be visited;
Step 105: need to judge whether operation driver update entry program; If above-mentioned being judged as " is " that then execution in step 106; Otherwise process ends;
Step 106: call driver is upgraded entry program;
Step 107: whether the version of judging the driver update bag is newer than image file; If above-mentioned being judged as " is " that then execution in step 108; Otherwise process ends;
Step 108: whether judgement is obtained each drive information from message file successful; If above-mentioned being judged as " is " that then execution in step 109;
Step 109: judge whether the driver in the driver update bag is correct; If above-mentioned being judged as " is " that then execution in step 110;
Step 110: more newer driver is to the internal memory the inside;
Step 111: judge whether all driver updates completion, if above-mentioned being judged as " is " that then execution in step 112; Otherwise execution in step 109;
Step 112: upgrade other part (like configuration file).
When above-mentioned steps 108 or step 109 judged result are " denying ", then execution in step 113: deletion message file and updating file; Process ends is interrupted if so can reach installation process afterwards, only is the driver update failure, the purpose that system can normally use.
Certainly, before above-mentioned steps 101, can be step: download the driver update installation kit from network, thereby can make things convenient for user installation to use.
Utilize the more system and method for newer driver of embedded system of the present invention; Behind install driver update contruction bag; Restarting systems; Because system can be before driver move; Caller upgrades entry program; Driver in the driver update bag is copied in the internal memory; After system moves like this is exactly new driver; Thereby need not to upgrade image file and can reach renewal the embedded system driver; Therefore; The research staff need not to discharge a lot of editions image files; Customer service need not to take image file and then upgrades to the user; The user need not customer service and upgrades more newer driver of image file, all brings convenience for research staff, customer service and user.

Claims (5)

1. the embedded system system of newer driver more is characterized in that, this more the system of newer driver comprise:
One flash memory, it is visited in order to wait for;
One image file, it comprises driver and several drivers that need upgrade that upgrades entry program;
One driver installation kit; It comprises a driver update entry program and a driver update bag; This driver update entry program is moved in order to the driver when above-mentioned renewal entry program and above-mentioned flash memory is called can visit the time; This driver update bag comprises several drivers; This driver update bag, upgrades the above-mentioned driver that several need upgrade with these several drivers when newer than image file in order to be called when above-mentioned driver update the entry program back and the version of this driver update bag;
One internal memory is in order to store the driver of above-mentioned renewal.
2. embedded system as claimed in claim 1 is the system of newer driver more, it is characterized in that, above-mentioned driver update bag also comprises configuration file, in order to upgrade the configuration file that needs renewal in the image file.
3. the embedded system method of newer driver more is characterized in that this method comprises the following steps:
(1) the driver update installation kit that comprises driver update bag and driver update entry program is installed;
(2) restart this embedded system;
(3) driver of renewal entry program in the operation image file;
(4) wait flash memory (flash) can be visited;
(5) need to judge whether operation driver update entry program; If above-mentioned being judged as " be ", execution in step (6) then; Otherwise process ends;
(6) call driver is upgraded entry program;
(7) judge whether the version of driver update bag is newer than image file; If above-mentioned being judged as " be ", execution in step (8) then; Otherwise process ends;
(8) judge from message file whether successfully to obtain each drive information; If above-mentioned being judged as " be ", execution in step (9) then;
(9) judge whether the driver in the driver update bag is correct; If above-mentioned being judged as " be ", execution in step (10) then;
(10) more newer driver arrives internal memory (RAM) the inside;
(11) judge whether that all driver updates accomplish, if above-mentioned being judged as " is " execution in step (12) then; Otherwise execution in step (9);
(12) upgrade other part.
4. embedded system as claimed in claim 3 is the method for newer driver more, it is characterized in that, when above-mentioned steps (8) or (9) judged result are " denying ", then execution in step: (13) deletion message file and updating file; Process ends afterwards.
5. like claim 3 or the 4 described embedded systems method of newer driver more, it is characterized in that, in above-mentioned steps (1) before, execution in step: download the driver update installation kit from network.
CN2010102439000A 2010-08-03 2010-08-03 System and method for updating drive program of embedded system Pending CN102346675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102439000A CN102346675A (en) 2010-08-03 2010-08-03 System and method for updating drive program of embedded system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102439000A CN102346675A (en) 2010-08-03 2010-08-03 System and method for updating drive program of embedded system

Publications (1)

Publication Number Publication Date
CN102346675A true CN102346675A (en) 2012-02-08

Family

ID=45545379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102439000A Pending CN102346675A (en) 2010-08-03 2010-08-03 System and method for updating drive program of embedded system

Country Status (1)

Country Link
CN (1) CN102346675A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1797336A (en) * 2004-12-28 2006-07-05 光宝科技股份有限公司 Equipment and method of system software capable of updating embedded type system automatically
CN101034359A (en) * 2007-03-30 2007-09-12 上海杰盛无线通讯设备有限公司 Renew method for microwave remote outdoor unit software
CN101169729A (en) * 2007-12-06 2008-04-30 三一重工股份有限公司 Embedded type system and method for renewing application program
CN101694623A (en) * 2009-09-29 2010-04-14 上海夏新电子开发有限公司 Method for updating handheld device software
CN101782859A (en) * 2010-03-18 2010-07-21 上海乐毅信息科技有限公司 Upgrading method of embedded system in application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1797336A (en) * 2004-12-28 2006-07-05 光宝科技股份有限公司 Equipment and method of system software capable of updating embedded type system automatically
CN101034359A (en) * 2007-03-30 2007-09-12 上海杰盛无线通讯设备有限公司 Renew method for microwave remote outdoor unit software
CN101169729A (en) * 2007-12-06 2008-04-30 三一重工股份有限公司 Embedded type system and method for renewing application program
CN101694623A (en) * 2009-09-29 2010-04-14 上海夏新电子开发有限公司 Method for updating handheld device software
CN101782859A (en) * 2010-03-18 2010-07-21 上海乐毅信息科技有限公司 Upgrading method of embedded system in application

Similar Documents

Publication Publication Date Title
CN102622241B (en) A kind of method for upgrading software and device
CN101344854B (en) Method for upgrading embedded type Linux equipment through SD card
EP2456257B1 (en) Method and system for upgrading wireless data card
CN101697133A (en) Software upgrading method, software upgrading system and client
CN101594613A (en) The method of terminal equipment and upgrading thereof, system
CN106020861A (en) FOTA upgrading method and system for smart watch
CN101110788A (en) Method and system for updating client software
CN101593121A (en) The method of on-line software updating, Apparatus and system
CN110231949A (en) Method for upgrading system, device, electronic equipment and storage medium
CN101826026A (en) Embedded equipment and on-line updating system and method of firmware in embedded equipment
KR101201276B1 (en) Method, software and apparatus for performing actions on a wireless device using action lists and versioning
US20120210317A1 (en) Method and apparatus for updating data card
CN105260209A (en) Hot-update solution of program
IL166169A (en) Versioning support in object-oriented programming languages and tools
CN103106083B (en) A kind of loading method of firmware and device
EP2805233B1 (en) Installation engine and package format for parallelizable, reliable installations
CN108121560A (en) Difference bag upgrade method, device, terminal and computer readable storage medium
CN105740027A (en) Application program updating method and device
CN114398048A (en) Method and device for automatically upgrading APP and computer equipment
CN105094919A (en) Application program starting method
CN105653298A (en) Application program update method and terminal
CN106951292B (en) Method and device for modifying static options in BIOS
US20170199733A1 (en) Method for terminal to update operating system, terminal and system
CN107741854A (en) The installation method and device of the trawl performance of a kind of electronic equipment
US20060111084A1 (en) System and method for over-the-air update of wireless communication devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120208