IP Library Granted Patent US 8,788,800
Granted Patent B2
US 8,788,800 · App. 13/323,860 · Granted Jul 22, 2014

OS processing method, system and non-transitory computer readable storage medium thereof

Inventors: Yen-Wen Huang (New Taipei, TW); Chung-Ting Kao (Taipei, TW); Hui-Kuang Chung (Taipei, TW); Han-Chao Lee (Taipei, TW)
Assignee: Institute for Information Industry
G06F9/445
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,788,800
App. No.
13/323,860
Granted
Jul 22, 2014
Kind
B2
Abstract

An operating system (OS) processing method for a host computer includes the following steps: when the host computer is booting, a boot loader is read from a boot reading device according to a boot priority order of the host computer. A signature detecting program included in the boot loader is executed to detect data stored in a specified address of a master boot record (MBR) of the host computer. When it is determined that the present version signature of the host computer does not match the preset version signature according to the data stored in the specified address, an OS image is read from the boot reading device, an OS is installed on the host computer according to the OS image. The data stored in the specified address of the MBR is amended according to an image version signature of the installed OS.

Claims (45)

1. An operating system (OS) processing method for a host computer, wherein the host computer comprises a master boot record (MBR), the OS processing method comprises:

(a) when the host computer is booting, reading a boot loader from a boot reading device according to a boot priority order of the host computer, wherein the boot loader comprises a preset version signature;

(b) executing a signature detecting program comprised in the boot loader to detect data stored in a specified address of the MBR of the host computer, wherein the data stored in the specified address corresponds to a present version signature of a present OS of the host computer;

(c) when it is determined that the present version signature of the host computer does not match the preset version signature according to the data stored in the specified address, reading an OS image from the boot reading device of the host computer, installing an OS on the host computer according to the OS image, and taking the installed OS as the present OS of the host computer; and

(d) amending the data stored in the specified address of the MBR according to an image version signature of the installed OS for corresponding to the present version signature of the present OS of the host computer.

2. The OS processing method of claim 1 , wherein the operation (c) comprises:

if it is determined that the present version signature of the host computer does not match the preset version signature according to the data stored in the specified address, further reading the image version signature to determine if the present OS of the host computer needs to be updated; and

if it is determined that the present OS is needed to be updated, updating the present OS of the host computer according to the OS image, and amending the data stored in the specified address of the MBR according to the image version signature of the installed OS for corresponding to the present version signature of the present OS of the host computer.

3. The OS processing method of claim 1 , wherein the operation (c) comprises:

if it is determined that the present version signature does not match the preset version signature according to the data stored in the specified address, further determining if the data stored in the specified address is less than the preset version signature; and

if it is determined that the data stored in the specified address is less than the preset version signature, installing the OS on the host computer according to the OS image, amending the data stored in the specified address of the MBR according to the image version signature of the installed OS for corresponding to the present version signature of the present OS of the host computer.

4. The OS processing method of claim 1 , wherein the data stored in the specified address of the MBR of the host computer is the present version signature of the present OS of the host computer.

5. The OS processing method of claim 4 , wherein the specified address of the MBR is address 444 or 445 of the MBR.

6. The OS processing method of claim 1 , wherein:

the data stored in the specified address represents a storage location on the host computer for storing the present version signature, and

the operation (b) comprises reading data stored in the storage location on the host computer and taking the read data as the present version signature.

7. The OS processing method of claim 1 , wherein the host computer is a physical host computer or a virtual host computer.

8. The OS processing method of claim 1 , wherein the present version signature is generated with an error-detecting method, the operation (c) further comprises:

determining if the data stored in the specified address corresponding to the present version signature of the host computer is correct by the error-detecting method for determining if the present version signature of the host computer matches the preset version signature; and

if it is determined not correct, installing the OS on the host computer according to the OS image, and taking the installed OS as the present OS of the host computer.

9. An OS processing system disposed on a host computer, wherein the OS processing system comprised:

a storage unit comprising an MBR, wherein the storage unit stores a boot priority order of the host computer;

a boot reading device for reading a boot loader according to the boot priority order of the host computer when the host computer is booting, wherein the boot loader comprises a preset version signature; and

a processing unit communicated with the storage unit and the boot reading device, wherein the processing unit comprises:

a boot module for executing a signature detecting program comprised in the boot loader to detect data stored in a specified address of the MBR of the storage unit, wherein the data stored in the specified address corresponds to a present version signature of a present OS of the host computer;

a determining module for reading an OS image from the boot reading device when it is determined that the present version signature of the host computer does not match the preset version signature according to the data stored in the specified address, and installing an OS on the host computer according to the OS image, and taking the installed OS as the present OS of the host computer; and

a signature amending module for amending the data stored in the specified address of the MBR according to an image version signature of the installed OS for corresponding to the present version signature of the present OS of the host computer.

10. The OS processing system of claim 9 , wherein the processing unit further comprises:

an update module for further reading the image version signature to determine if the present OS of the host computer needs to be updated if it is determined that the present version signature of the host computer does not match the preset version signature according to the data stored in the specified address,

wherein if it is determined that the present OS of the host computer needs to be updated, the update module updates the present OS of the host computer according to the OS image, and amends the data stored in the specified address of the MBR according to the image version signature of the installed OS for corresponding to the present version signature of the present OS of the host computer.

11. The OS processing system of claim 9 , wherein the processing unit further comprises:

a comparing module for further determining if the data stored in the specified address is less than the preset version signature if it is determined that the present version signature does not match the preset version signature according to the data stored in the specified address,

wherein if it is determined that the data stored in the specified address is less than the preset version signature, the processing unit installs the OS on the host computer according to the OS image, takes the installed OS as the present OS of the host computer, amends the data stored in the specified address of the MBR according to the image version signature of the installed OS for corresponding to the present version signature of the present OS of the host computer.

12. The OS processing system of claim 9 , wherein the specified address of the MBR is address 444 or 445 of the MBR of the storage unit.

13. The OS processing system of claim 9 , wherein the data stored in the specified address represents a storage location of the storage unit for storing the present version signature, the determining module comprises:

a reading sub-module for reading data stored in the storage location of the storage unit to be taken as the present version signature and provide to the determining module.

14. The OS processing system of claim 9 , wherein the boot reading device is a flash memory, a floppy disk, a hard disk, an optical storage device, a flash disk, a magnetic storage device or a remote server which can be accessed through a network.

15. The OS processing system of claim 9 , wherein the present version signature is generated with an error-detecting method, the processing unit further comprises:

an error detecting module for determining if the data stored in the specified address corresponding to the present version signature of the host computer is correct utilizing the error-detecting method to be a factor to determine if the present version signature of the host computer matches the preset version signature,

wherein if it is determined not correct, the processing unit installs the OS on the host computer according to the OS image, and takes the installed OS as the present OS of the host computer.

16. A non-transitory computer readable storage medium with a computer program to execute an OS processing method for a host computer, wherein the host computer comprises an MBR, the OS processing method comprises:

(a) when the host computer is booting, reading a boot loader from a boot reading device according to a boot priority order of the host computer, wherein the boot loader comprises a preset version signature;

(b) executing a signature detecting program comprised in the boot loader to detect data stored in a specified address of the MBR of the host computer, wherein the data stored in the specified address corresponds to a present version signature of a present OS of the host computer;

(c) when it is determined that the present version signature of the host computer does not match the preset version signature according to the data stored in the specified address, reading an OS image from the boot reading device of the host computer, installing an OS on the host computer according to the OS image, and taking the installed OS as the present OS of the host computer; and

(d) amending the data stored in the specified address of the MBR according to an image version signature of the installed OS for corresponding to the present version signature of the present OS of the host computer.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 13, 2011
From: HUANG, YEN-WEN; KAO, CHUNG-TING; CHUNG, HUI-KUANG; LEE, HAN-CHAO
To: INSTITUTE FOR INFORMATION INDUSTRY
Reel/Frame 027374/0038 →
Priority Claims (1)
TW 100141070 A · Nov 10, 2011 · national
Continuity (1)
Related Publication 20130124841A1 · May 16, 2013