[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN1517899A - Method of renewing operating system of embedded equipment - Google Patents

Method of renewing operating system of embedded equipment Download PDF

Info

Publication number
CN1517899A
CN1517899A CNA031004482A CN03100448A CN1517899A CN 1517899 A CN1517899 A CN 1517899A CN A031004482 A CNA031004482 A CN A031004482A CN 03100448 A CN03100448 A CN 03100448A CN 1517899 A CN1517899 A CN 1517899A
Authority
CN
China
Prior art keywords
operating system
embedded device
image file
renewal
zone bit
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
CNA031004482A
Other languages
Chinese (zh)
Other versions
CN1261893C (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 CN 03100448 priority Critical patent/CN1261893C/en
Publication of CN1517899A publication Critical patent/CN1517899A/en
Application granted granted Critical
Publication of CN1261893C publication Critical patent/CN1261893C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

A method for renewal the operating system of embedded equipment features that an renewal operating system is used to replace old one for adding function of system and repairing abnormal system, and the updating is conducted by either network or external USB memory.

Description

Upgrade the method for the operating system of embedded device
Technical field
A kind of method of upgrading the operating system of embedded device of the present invention is meant especially and a kind ofly by Network Transmission or External memory equipment the operating system of embedded device is carried out method for updating, belongs to computing machine
Technical field.
Background technology
The volume of embedded device is generally all smaller, so mostly use capacity and take all smaller memory device, stores of physical space its employed operating system and upper level applications.This mode has characteristics: after this memory device is installed on the embedded device, if think that operating system and application program on the updated stored equipment are just pretty troublesome.
If the operating system of upgrading embedded device can adopt following two kinds of methods usually with the function of increase system and the performance of optimization system:
1, takes embedded device apart, replace original memory device in the embedded device with a memory device that has baked and be equipped with new operating system.
2, write a update software or be used for specially operating system is upgraded by network or by USB (universal serial bus) (UniversalSerial Bus, be called for short USB) or by CF card etc.
In the method for these two kinds of upgrading operation systems, because the inner structure of embedded device is very tight, therefore, adopt first method that memory device is wherein installed, dismantled and all compare difficulty, the equipment installation, maintenance and the maintainer that need specialty could realize; And the easy disassembling of embedded device is caused the damage of related hardware.
Second method is the update method that is embedded into the widely used operating system of formula equipment, but the various software upgrading ways that adopt have a common shortcoming at present: because it only adopts an operating system, when image file (image) file (for a certain reason) of operating system can not normally start, also just can not start update software, and then can't finish renewal work by update software.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of method of upgrading the operating system of embedded device, mode by Network Transmission or External memory equipment communication is convenient, simply, neatly the operating system of embedded device is upgraded, solve the problem that existing embedded device upgrades the operating system inconvenience.
The object of the present invention is achieved like this:
A kind of method of upgrading the operating system of embedded device is upgraded special-purpose operating system by one and is come the operating system of embedded device is upgraded; Specifically the mode by network download realizes that it comprises at least:
Step 10: dispose the parameter relevant with procotol in embedded device and the main frame respectively, the IP address and the subnet mask of configuration embedded device make itself and host work within the same network segment; Set up embedded device and main frame being communicated with on network;
Step 11: main frame is given embedded device with new operating system image file by Network Transmission;
Step 12: embedded device receives this new operating system image file, and upgrades the operating system of embedded device;
Step 13: the zone bit of its Master boot sector of embedded device is set to normal starting state value.
A kind of method of upgrading the operating system of embedded device is upgraded special-purpose operating system by one and is come the operating system of embedded device is upgraded; Specifically the mode that imports by external memory realizes that it comprises at least:
Step 20: the external memorizer that will preserve the image file of new operating system is connected with embedded device by corresponding interface;
Step 21: embedded device reads the image file of new operating system from this external memorizer, and upgrades the operating system of embedded device;
Step 22: the zone bit of its Master boot sector of embedded device is set to normal starting state value.
Operating system loading program in the above-mentioned embedded device reads the image file of new operating system or the image file of origin operation system by definite startup of the zone bit of judging Master boot sector, and then determines whether to carry out the renewal of operating system; Be specially:
When the value of statistical indicant of the zone bit of this Master boot sector was normal starting state value, embedded device started the origin operation system; Otherwise, carry out operating system update.
After origin operation system start-up success, also need the zone bit of Master boot sector to be set to normal starting state value.The zone bit of this Master boot sector is by artificial setting, or is provided with automatically by embedded device.
Above-mentioned external memorizer comprises at least: storer, CF card, SM card, MS or MMC with USB interface.
The operating system of using method of the present invention to upgrade embedded device does not need disassemblerassembler, so can not cause the damage of the hardware of embedded device; Hardware is promptly renewable extraly because the general tool of embedded device with network function and USB interface, does not need.Along with embedded device be extensive use of, advantage of the present invention can be more and more obvious, the scope of application also can be more and more wider.
Description of drawings
Fig. 1 is the process flow diagram of one embodiment of the invention.
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing and specific embodiment:
Core of the present invention is that the load software " loader " by embedded system selects a special operating system image file (image) automatically and utilize the network function of embedded device or the renewal that the usb interface is realized operating system.
Preserve image file (image) file of two operating systems on embedded device, one is the image file (image) of operating system just commonly used, and one is the image file (image) that is used for upgrading the operating system of usefulness.
Referring to Fig. 1, the load software of embedded device reads the zone bit of Master boot sector, when being masked as 0, with the mark position is 1, and the image file (image) of guiding operating system just commonly used, after the image file (image) of operating system successfully starts with the zone bit of Master boot sector clear 0; When zone bit was 1, the image file (image) of the operating system of usefulness was upgraded in guiding.Obviously, if in start-up course the generation problem, above-mentioned zone bit then remains " 1 " always, therefore when start next time, embedded device will upgrade the operation flag position automatically.
Refer again to Fig. 1, after the operating system of guiding renewal usefulness, embedded device prompting user selects update mode, may further comprise the steps when selecting network to upgrade:
A. configure host network parameter and on main frame, start a router and give embedded device by Network Transmission with the image file (image) of the new operating system of embedded device;
B. start the image file (image) that a reception program receives new operating system at embedded device, upgrade the operating system of embedded device;
C. with the zone bit of Master boot sector clear 0.
When selecting the circumscribed USB memory updating, may further comprise the steps:
A. the circumscribed USB storer that will preserve image file (image) file of new operating system inserts on the usb interface, confirms then;
B. embedded device reads image file (image) file and the preservation of new operating system from the circumscribed USB storer;
C. the zone bit with Master boot sector is clearly 0.
External memory equipment among the present invention is a USB storage, if this embedded device is supported other storages, for example: CF card, SM card, MS and MMC etc., its External memory equipment is not limited to above-mentioned USB storage.
It should be noted that at last: above embodiment only in order to the explanation the present invention and and unrestricted technical scheme described in the invention; Therefore, although this instructions has been described in detail the present invention with reference to each above-mentioned embodiment,, those of ordinary skill in the art should be appreciated that still and can make amendment or be equal to replacement the present invention; And all do not break away from the technical scheme and the improvement thereof of the spirit and scope of the present invention, and it all should be encompassed in the middle of the claim scope of the present invention.

Claims (6)

1, a kind of method of upgrading the operating system of embedded device is characterized in that: upgrade special-purpose operating system by one and come the operating system of embedded device is upgraded; Specifically the mode by network download realizes that it comprises at least:
Step 10: dispose the parameter relevant with procotol in embedded device and the main frame respectively, the IP address and the subnet mask of configuration embedded device make itself and host work within the same network segment; Set up embedded device and main frame being communicated with on network;
Step 11: main frame is given embedded device with new operating system image file by Network Transmission;
Step 12: embedded device receives this new operating system image file, and upgrades the operating system of embedded device;
Step 13: the zone bit of its Master boot sector of embedded device is set to normal starting state value.
2, a kind of method of upgrading the operating system of embedded device is characterized in that: upgrade special-purpose operating system by one and come the operating system of embedded device is upgraded; Specifically the mode that imports by external memory realizes that it comprises at least:
Step 20: the external memorizer that will preserve the image file of new operating system is connected with embedded device by corresponding interface;
Step 21: embedded device reads the image file of new operating system from this external memorizer, and upgrades the operating system of embedded device;
Step 22: the zone bit of its Master boot sector of embedded device is set to normal starting state value.
3, the method for the operating system of renewal embedded device according to claim 1 and 2, it is characterized in that: the operating system loading program of embedded device determines to start the image file of the operating system that reads renewal usefulness or the image file of origin operation system by the zone bit of judging Master boot sector, and then determines whether to carry out the renewal of operating system; Be specially:
When the value of statistical indicant of the zone bit of this Master boot sector was normal starting state value, embedded device started the origin operation system; Otherwise, carry out operating system update.
4, the method for the operating system of renewal embedded device according to claim 3 is characterized in that: after origin operation system start-up success, also the zone bit of Master boot sector is set to normal starting state value.
5, the method for the operating system of renewal embedded device according to claim 3 is characterized in that: the zone bit of Master boot sector is by artificial setting, or is provided with automatically by embedded device.
6, the method for the operating system of renewal embedded device according to claim 2 is characterized in that: described external memorizer comprises at least: storer, CF card, SM card, MS and MMC with USB interface.
CN 03100448 2003-01-14 2003-01-14 Method of renewing operating system of embedded equipment Expired - Fee Related CN1261893C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03100448 CN1261893C (en) 2003-01-14 2003-01-14 Method of renewing operating system of embedded equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03100448 CN1261893C (en) 2003-01-14 2003-01-14 Method of renewing operating system of embedded equipment

Publications (2)

Publication Number Publication Date
CN1517899A true CN1517899A (en) 2004-08-04
CN1261893C CN1261893C (en) 2006-06-28

Family

ID=34281164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03100448 Expired - Fee Related CN1261893C (en) 2003-01-14 2003-01-14 Method of renewing operating system of embedded equipment

Country Status (1)

Country Link
CN (1) CN1261893C (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100377085C (en) * 2006-03-31 2008-03-26 浙江大学 Method for implementing hardware image starting optimizing of embedded operating system
CN100456244C (en) * 2006-08-23 2009-01-28 王悦 Device and method for guiding, updating and maintenance based on USB Host
CN100561433C (en) * 2006-09-30 2009-11-18 四川长虹电器股份有限公司 Embedded system and upgrade method thereof
US7634646B2 (en) 2004-09-28 2009-12-15 Aruze Corporation Network terminal device, delivery server and client/server system
WO2011006309A1 (en) * 2009-07-15 2011-01-20 Wang Ying Method and device for restoring system backup
CN102456047A (en) * 2010-10-26 2012-05-16 大唐移动通信设备有限公司 Method and device for repairing system file based on X86 architecture
CN102880478A (en) * 2011-07-15 2013-01-16 启碁科技股份有限公司 Software updating method
CN102968319A (en) * 2012-11-14 2013-03-13 北京交控科技有限公司 VxWorks image loading method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7634646B2 (en) 2004-09-28 2009-12-15 Aruze Corporation Network terminal device, delivery server and client/server system
CN100377085C (en) * 2006-03-31 2008-03-26 浙江大学 Method for implementing hardware image starting optimizing of embedded operating system
CN100456244C (en) * 2006-08-23 2009-01-28 王悦 Device and method for guiding, updating and maintenance based on USB Host
CN100561433C (en) * 2006-09-30 2009-11-18 四川长虹电器股份有限公司 Embedded system and upgrade method thereof
WO2011006309A1 (en) * 2009-07-15 2011-01-20 Wang Ying Method and device for restoring system backup
CN102456047A (en) * 2010-10-26 2012-05-16 大唐移动通信设备有限公司 Method and device for repairing system file based on X86 architecture
CN102456047B (en) * 2010-10-26 2015-07-01 大唐移动通信设备有限公司 Method and device for repairing system file based on X86 architecture
CN102880478A (en) * 2011-07-15 2013-01-16 启碁科技股份有限公司 Software updating method
CN102880478B (en) * 2011-07-15 2015-11-25 启碁科技股份有限公司 Oftware updating method
CN102968319A (en) * 2012-11-14 2013-03-13 北京交控科技有限公司 VxWorks image loading method

Also Published As

Publication number Publication date
CN1261893C (en) 2006-06-28

Similar Documents

Publication Publication Date Title
RU2419839C2 (en) Software update system and method for portable ota supporting mobile terminal
CN1889041A (en) Software staging and back spacing method
CN104375844A (en) Firmware upgrading method and device
CN1261893C (en) Method of renewing operating system of embedded equipment
CN101030140A (en) Device and method for on-line updating fastener programm
CN105573864A (en) Terminal system recovery method and system
CN1694070A (en) Staging method of POS terminal equipment
CN103902399B (en) Software system repair processing method and software system repair processing device
CN101639785A (en) Method and device for software updating
CN102541595A (en) Method and device for upgrading intelligent device and intelligent device
CN1295903C (en) A safe system starting method
CN1272708C (en) Custom method of embedded appliance applied software
CN1199108C (en) Method of automatic updating embedded device operating system using CF card
CN1834909A (en) Updating method for distance equipment system software
CN1786910A (en) BIOS on-line upgrading method
CN110474793A (en) A kind of upgrade method and device of the network equipment
CN111949290B (en) Hot patch management method and device, electronic equipment and storage medium
CN1315043C (en) Compatibility upgrading method of embedded programm
CN104423997A (en) Remote base station version installing method and remote base station version installing device
CN115113887B (en) Multi-security software compatible configuration method, device, equipment and storage medium
CN103970556A (en) Updating method and system for power amplification software in radio remote equipment
CN1955925A (en) TV system software updating method with power-off protection
CN112764793B (en) Method for incrementally updating parameters of function block
CN100343816C (en) Method of restoring single board software edition
CN101078990A (en) Client terminal start-up software dynamic updating method and device

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20060628

Termination date: 20210114

CF01 Termination of patent right due to non-payment of annual fee