Patent ID: 7870548
Filing Date: 2011-01-11
Classification: G06F,G06T

Abstract:
1. A method of updating an image file, said method being performed by a server when a workable image file pre-stored in a storage unit of said server is being updated by a new image file, said method comprising the steps of: starting initialization of update and setting an image update status code in a boot sector established in said storage unit to a first value, wherein said first value represents that a current start of said server is not a first start after said workable image file in a first image area has been updated and that said server will be started by using said workable image file to invoke an operating system; determining whether content of said new image file is complete; when the content of said new image file is determined to be complete, setting said image update status code to a second value, duplicating said workable image file in said first image area to a second image area of said storage unit as a backup image file, and duplicating said new image file to said first image area as a current working image file, wherein said second value represents that current start of said server is not a first start after said workable image file in said first image area has been updated and that said server will be started by using said backup image file in said second image area to invoke said operating system; determining whether said new image file is successfully duplicated to said first image area when said new image file is determined to have been successfully duplicated to said first image area, setting said image update status code to a third value, wherein said third value represents that current start of said server is a first start after said workable image file in said first image area has been updated and that said server will be started by using said new image file in said first image area to invoke said operating system; and invoking said operating system by using said workable image file, said backup image file or said new image file according to said image update status code in said boot sector.