Patent ID: 6308288
Filing Date: 2001-10-23
Classification: G06F

Abstract:
Testing method of the integrity of software pre-installed in a computer hard disk, said method mainly includes the following procedures that are performed to test software pre-installed on a hard disk:(1) First, utilizing a file information access function through a lower level operation to directly read data on the physical magnetic tracks of a hard disk and obtain file names, file sizes, file storage locations, and other information stored in all partitions, including hidden partitions and normal partitions;(2) According to said information searching for hard disk partitions pre-installed with software being tested, instructing an operator to input the names of disregarded known files or directories, arranging said file and directory names inputted by the operator, and then storing said file and directory names in a designated file;(3) After sequentially reading the record information of every file in the directories of said hard disk, comparing said record information with said disregarded known file and directory names; if the names are identical, skipping the disregarded files according to a disregard form; otherwise, storing the file information obtained;(4) After reading and comparing every file record in the directories of said hard disk, then closing all the information files of said pre-installed software being tested and, furthermore, indicating completion and generating a standard pre-installed software information file;(5) Opening the aforesaid file storing the disregarded known file and directory names;(6) After the file information of the software pre-installed on the hard disk being read, eliminating the disregarded known file and directory names and, furthermore, storing the remaining file information in a temporary file; and(7) Finally determining whether errors have occurred in the information files of the software pre-installed on said hard disk by comparing said standard pre-installed software information with said temporary file, and, furthermore, recording information of errors while providing an indication as a reference to the operator.