IP Library Granted Patent US 9,792,105
Granted Patent B2
US 9,792,105 · App. 14/341,428 · Granted Oct 17, 2017

Method and system for booting and automatically updating software, and recovering from update error, and computer readable recording medium storing method

Inventor: Jong-suk Lee (Suwon-si, KR)
Assignee: SAMSUNG ELECTRONICS CO., LTD.
G06F8/65G06F8/71G06F9/4401G06F11/1417G06F11/1433G06F15/177G06F9/445G06F9/44536G06F2201/865
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 9,792,105
App. No.
14/341,428
Granted
Oct 17, 2017
Kind
B2
Abstract

Provided are a booting method of updating software components installed in a system and recovering from an error that occurs in an update, a method and system for automatically updating the software and recovering from the error, and a computer readable recording medium storing the method. The master boot record and the backup boot record are used to stably update a kernel and effectively recover from an update error. The component configuration database is used to update a plurality of software components including a kernel in a transaction, and perfectly recover from an update error.

Claims (28)

1. A method of updating software, the method comprising:

updating a plurality of software components listed by an update package; and

in response to determining that the updating the software components has failed, recovering from an update error by converting backup components of the software components into corresponding original software components,

wherein the updating the software components comprises:

copying a master boot record including information on a kernel of a current version on a backup boot record; and

updating the kernel of the current version into a kernel of a new version by recording information on the kernel of the new version on the master boot record, the information on the kernel of the new version comprising address information on the kernel of the new version and a validity flag indicating whether the kernel of the new version is valid,

wherein the recovering comprises:

determining whether the updating the kernel of the current version into the kernel of the new version has failed; and

in response to determining that the updating the kernel of the current version into the kernel of the new version has failed, copying the backup boot record to the master boot record.

2. The method of claim 1 , wherein the determining comprises:

checking state information of a transaction for the updating the software components; and

in response to the checked state information indicating that the transaction is done, determining whether the updating the software components has succeeded.

3. A non-transitory computer readable medium having embodied thereon a computer program for executing a method of updating software, the method comprising:

updating a plurality of software components listed by an update package;

and in response to determining that the updating the software components has failed, recovering from an update error by converting backup components of the software components into corresponding original software components,

wherein the updating the software components comprises:

copying a master boot record including information on a kernel of a current version on a backup boot record; and

updating the kernel of the current version into a kernel of a new version by recording information on the kernel of the new version on the master boot record, the information on the kernel of the new version comprising address information on the kernel of the new version and a validity flag indicating whether the kernel of the new version is valid,

wherein the recovering comprises:

determining whether the updating the kernel of the current version into the kernel of the new version has failed; and

in response to determining that the updating the kernel of the current version into the kernel of the new version has failed, copying the backup boot record to the master boot record.

4. An apparatus configured to update software, the apparatus comprising:

a memory configured to store information on a software update and an update engine for updating software using the information on the software update; and

a processor configured to execute the update engine,

wherein the update engine is configured to update a plurality of software components listed by an update package, and in response to determining that the update of the software components has failed, recover from an update error by converting backup components of the software components into corresponding original software components,

wherein the memory is configured to store a kernel of a current version, a master boot record including information on a kernel of a current version, and a backup boot record, and the update engine is configured to copy the master boot record on the backup boot record and update the kernel of the current version into a kernel of a new version by recording information on the kernel of the new version on the master boot record, the information on the kernel of the new version comprising address information on the kernel of the new version and a validity flag indicating whether the kernel of the new version is valid, and

wherein the update engine is configured to determine whether the update of the kernel has failed, and, in response to determining that the update of the kernel has failed, copy the backup boot record to the master boot record.

5. The apparatus of claim 4 , wherein the update engine is configured to check state information of a transaction for the update, and, in response to the checked state information indicating that the transaction is done, determine whether the update of the software components has succeeded.

Priority Claims (1)
KR 10-2005-0089692 · Sep 27, 2005 · national
Continuity (3)
Continuation 13291901 · Nov 8, 2011
Division 11513057 · Aug 31, 2006
Related Publication 20140337608A1 · Nov 13, 2014