TWI396986B - File management method - Google Patents
File management method Download PDFInfo
- Publication number
- TWI396986B TWI396986B TW97145808A TW97145808A TWI396986B TW I396986 B TWI396986 B TW I396986B TW 97145808 A TW97145808 A TW 97145808A TW 97145808 A TW97145808 A TW 97145808A TW I396986 B TWI396986 B TW I396986B
- Authority
- TW
- Taiwan
- Prior art keywords
- file
- computer
- computer model
- restore
- database
- Prior art date
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本發明是有關於一種系統還原檔案的管理方法,且特別是有關於一種不重複儲存檔案之系統還原檔案的管理方法。The invention relates to a method for managing a system restoration file, and in particular to a method for managing a system restoration file without repeatedly storing files.
對於電腦製造商而言,需根據各種語言、作業平台、或其他軟硬體架構的不同,而備有不同的映像檔,以載入或還原至所對應之不同電腦機型之電腦。舉例來說,當所要出貨之電腦具有微軟視窗作業系統(Microsoft Windows)以及Linux作業系統時,則需事先分別對微軟視窗作業系統以及Linux作業系統分別製作並儲存一映像檔,以載入或還原至所對應之不同電腦機型之電腦。For computer manufacturers, different images are required to load or restore to different computers of different computer models according to different languages, operating platforms, or other software and hardware architectures. For example, when the computer to be shipped has Microsoft Windows operating system (Microsoft Windows) and Linux operating system, it is necessary to separately create and store an image file for the Microsoft Windows operating system and the Linux operating system separately to load or Restore to the computer of the corresponding computer model.
隨著作業系統的推陳出新,作業系統所需要的儲存空間也隨著越來越大。因此,當對不同的電腦機型儲存多份具有同樣作業系統檔案之不同映像檔時,需要大量的儲存媒體,如多顆大容量硬碟,來儲存此些不同之映像檔。然而,在對應於不同電腦機型之映像檔中,僅有少部份之文件或檔案是不同的。其他在映像檔中的檔案,如作業系統,大部分是相同的。若分開對各電腦機型製作不同之映像檔,則會浪費許多儲存媒體之空間來儲存重複之檔案內容。With the innovation of the writing system, the storage space required by the operating system is also growing. Therefore, when storing multiple images of the same operating system file for different computer models, a large amount of storage media, such as a plurality of large-capacity hard disks, is required to store the different image files. However, in the image files corresponding to different computer models, only a small number of files or files are different. Other files in the image file, such as the operating system, are mostly the same. If you create different image files for each computer model separately, you will waste a lot of storage media space to store duplicate file content.
因此本發明之一技術態樣為一種檔案管理方法,記錄 對應於電腦機型所需之檔案,並僅將不存在於資料庫中之檔案存入資料庫。然後,自資料庫取出對應於電腦之電腦機型之檔案,並將取出之檔案載入電腦之儲存體。Therefore, one aspect of the present invention is a file management method, which records Corresponds to the files required by the computer model, and only stores the files that do not exist in the database into the database. Then, the file corresponding to the computer model of the computer is taken out from the database, and the retrieved file is loaded into the storage of the computer.
根據本發明一實施例,一種檔案管理方法包含以下步驟:提供一資料庫。According to an embodiment of the invention, a file management method comprises the steps of: providing a database.
取得對應於一電腦機型之至少一系統還原檔案。Obtaining at least one system restore file corresponding to a computer model.
檢查系統還原檔案是否存在於資料庫中。Check if the system restore file exists in the database.
當系統還原檔案不存在於資料庫中時,將系統還原檔案加入資料庫。When the system restore file does not exist in the database, add the system restore file to the database.
將系統還原檔案之資訊記錄至對應於電腦機型之一檔案資訊表。Record the information of the system restore file to the file information table corresponding to one of the computer models.
根據電腦機型,取得檔案資訊表,或根據自使用者介面取得之選擇訊號,選擇檔案資訊表。According to the computer model, obtain the file information table, or select the file information table according to the selection signal obtained from the user interface.
根據檔案資訊表,自資料庫取得系統還原檔案。According to the file information table, the system restore file is obtained from the database.
將系統還原檔案載入相同電腦機型之一電腦。Load the system restore file into one of the same computer models.
參照第1圖,係依照本發明一實施例的一種檔案管理方法之流程圖。檔案管理方法100記錄對應於電腦機型所需之系統還原檔案,並僅將不存在於資料庫中之系統還原檔案加入資料庫。然後,自資料庫取出對應於電腦之電腦機型之檔案,並將取出之檔案載入電腦之儲存體。檔案管理方法100包含以下步驟:在步驟110中,提供一資料庫。其中,此資料庫用以 儲存各電腦機型,例如是不同之電腦軟、硬體架構(Configuration),所需之預存還原檔案,且預存還原檔案可壓製為一整合還原映像檔以節省資料庫所需之儲存空間。此外,不同之電腦機型對應於不同之語言版本、作業系統、或其他軟硬體架構。Referring to Figure 1, a flow chart of a file management method in accordance with an embodiment of the present invention is shown. The file management method 100 records the system restore file corresponding to the computer model, and only adds the system restore file that does not exist in the database to the database. Then, the file corresponding to the computer model of the computer is taken out from the database, and the retrieved file is loaded into the storage of the computer. The file management method 100 includes the following steps: In step 110, a database is provided. Among them, this database is used The storage of various computer models, such as different computer software and hardware architectures, the required pre-stored restore files, and the pre-stored restore files can be suppressed into an integrated restore image file to save the storage space required by the database. In addition, different computer models correspond to different language versions, operating systems, or other hardware and software architectures.
在步驟120中,提供一電腦機型之一檔案資訊表。其中,檔案資訊表包含對應於電腦機型所需之系統還原檔案之檔名、檔案大小、版本或其他系統還原檔案相關之資訊記錄至中,用以在爾後根據檔案資訊表,自資料庫中取得對應於電腦機型之系統還原檔案。In step 120, a file information table of a computer model is provided. The file information table includes the file name, file size, version or other system-restored information related to the system restored file required by the computer model, and is used in the database according to the file information table. Obtain a system restore file corresponding to the computer model.
在步驟130中,提供一電腦機型之儲存體分割表。其中,儲存體分割表係作為分割電腦之儲存體之依據。舉例來說,當電腦之儲存體為一硬碟時,電腦可依據儲存體分割表對其硬碟作磁碟分割。此外,儲存體分割表可用一磁碟分割軟體產生並儲存。In step 130, a bank partition table of a computer model is provided. Among them, the storage segmentation table is used as the basis for dividing the storage of the computer. For example, when the storage of the computer is a hard disk, the computer can discard the hard disk according to the storage partition table. In addition, the bank partition table can be generated and stored by a disk partitioning software.
接下來,當進行系統還原或製作還原光碟時,即可根據電腦機型或使用者所指定之檔案資訊表,自資料庫取得系統還原檔案,而載入此電腦機型之電腦。在步驟140中,根據電腦機型,取得對應於電腦機型之檔案資訊表以及儲存體分割表。Next, when performing a system restore or making a restored optical disc, the system restore file can be obtained from the database according to the computer model or the file information table specified by the user, and the computer of the computer model can be loaded. In step 140, according to the computer model, a file information table corresponding to the computer model and a storage partition table are obtained.
此外,在步驟150中,亦可根據自使用者介面取得之選擇訊號,選擇檔案資訊表。換言之,使用者可透過使用者介面自行選擇所需之檔案資訊表。In addition, in step 150, the file information table may also be selected according to the selection signal obtained from the user interface. In other words, the user can select the desired file information table through the user interface.
在步驟160中,根據檔案資訊表,自資料庫取得系統還原檔案。系統還原檔案包含對應於電腦機型之驅動程 式、應用程式、作業系統之檔案或其他用以載入或還原電腦機型之電腦所需的檔案。In step 160, the system restore file is obtained from the database according to the file information table. The system restore file contains the driver corresponding to the computer model. File, application, operating system file or other file required to load or restore a computer model.
在步驟170中,可依照儲存體分割表分割相同電腦機型的電腦之儲存體。接下來,在步驟180中,將系統還原檔案載入電腦之儲存體。其中,系統還原檔案可透過網路利用單播(unicast)或多播(multicast)之方式傳送以載入至電腦。In step 170, the storage of the computer of the same computer model can be divided according to the storage partition table. Next, in step 180, the system restore file is loaded into the storage of the computer. Among them, the system restore file can be transmitted through the network using unicast or multicast to load to the computer.
此外,亦可將系統還原映像檔壓製為一系統還原映像檔(步驟190),並將系統還原映像檔儲存至一儲存媒介(步驟200),如光碟、隨身硬碟或其他儲存媒介,以使電腦讀取儲存媒介,並自儲存媒介取得系統還原映像檔,以將系統還原映像檔還原或載入電腦。舉例來說,可將系統還原映像檔燒錄為一還原光碟,使得電腦可藉由讀取還原光碟上之系統還原映像檔,而將系統還原映像檔還原或載入電腦。In addition, the system restore image file can also be suppressed into a system restore image file (step 190), and the system restore image file can be saved to a storage medium (step 200), such as a compact disc, a hard drive, or other storage medium, so that The computer reads the storage medium and obtains a system restore image from the storage medium to restore or load the system restore image file to the computer. For example, the system restore image can be burned to a restore disc, so that the computer can restore or load the system restore image file by reading the system restore image on the restore disc.
參照第2圖,係第1圖中提供檔案資訊表(步驟120)之一實施例。提供檔案資訊表(步驟120)可包含:在步驟122中,取得對應於電腦機型之至少一系統還原檔案。系統還原檔案可為對應於電腦機型之驅動程式、應用程式、作業系統之檔案或其他用以載入或還原電腦機型之電腦所需的檔案。Referring to Fig. 2, an embodiment of the file information table (step 120) is provided in Fig. 1. Providing the file information table (step 120) may include: in step 122, obtaining at least one system restore file corresponding to the computer model. The system restore file can be a file corresponding to a computer model driver, application, operating system file or other computer used to load or restore a computer model.
在步驟124中,逐一檢查系統還原檔案是否存在於資料庫中。其中,可逐一比對系統還原檔案與資料庫中至少一預存還原檔案,以檢查系統還原檔案是否存在於資料庫中。In step 124, it is checked one by one whether the system restore file exists in the database. Wherein, at least one pre-stored restored file in the file and the database may be restored one by one to check whether the system restored file exists in the database.
當系統還原檔案不存在於資料庫中時,將系統還原檔案加入資料庫(步驟126),並將系統還原檔案之資訊記錄至檔案資訊表(步驟128)。When the system restore file does not exist in the database, the system restore file is added to the database (step 126), and the information of the system restore file is recorded to the file information table (step 128).
當系統還原檔案已存在於資料庫中時,則直接將系統還原檔案之資訊記錄至檔案資訊表(步驟128)。When the system restore file already exists in the database, the information of the system restore file is directly recorded to the file information table (step 128).
如此一來,在將系統還原檔案之資訊記錄至檔案資訊表後,即可提供檔案資訊表。此外,僅將不存在於資料庫中之系統還原檔案加入資料庫,可減少資料庫所需之儲存空間。In this way, after the information of the system restoration file is recorded to the file information table, the file information table can be provided. In addition, adding only system restore files that do not exist in the database can reduce the storage space required by the database.
參照第3圖,係第1圖中提供檔案資訊表(步驟120)以及提供儲存體分割表(步驟130)之一實施例。其中,步驟120以及步驟130可自電腦之儲存體取得對應於電腦機型之檔案資訊表以及儲存體分割表。因此,步驟120以及步驟130可包含:Referring to Fig. 3, an embodiment of providing a file information table (step 120) and providing a bank partition table (step 130) is provided in Fig. 1. Steps 120 and 130 can obtain a file information table and a storage partition table corresponding to the computer model from the storage of the computer. Therefore, step 120 and step 130 may include:
在步驟210中,自電腦之儲存體取得對應於電腦機型之至少一系統還原檔案。系統還原檔案可為對應於電腦機型之驅動程式、應用程式、作業系統之檔案或其他用以載入或還原電腦機型之電腦所需的檔案。In step 210, at least one system restore file corresponding to the computer model is obtained from the storage of the computer. The system restore file can be a file corresponding to a computer model driver, application, operating system file or other computer used to load or restore a computer model.
在步驟220中,逐一檢查系統還原檔案是否存在於資料庫中(步驟124)。其中,可逐一比對系統還原檔案與資料庫中至少一預存還原檔案,以檢查系統還原檔案是否存在於資料庫中。In step 220, it is checked one by one whether the system restore archive exists in the repository (step 124). Wherein, at least one pre-stored restored file in the file and the database may be restored one by one to check whether the system restored file exists in the database.
當系統還原檔案不存在於資料庫中時,將系統還原檔案加入資料庫(步驟230),並將系統還原檔案之資訊記錄至檔案資訊表(步驟240)。然而,當系統還原檔案已存在 於資料庫中時,則直接將系統還原檔案之資訊記錄至檔案資訊表(步驟240)。When the system restore file does not exist in the database, the system restore file is added to the database (step 230), and the system restore file information is recorded to the file information table (step 240). However, when the system restore file already exists When in the database, the information of the system restored file is directly recorded to the file information table (step 240).
然後,可在系統還原檔案之資訊記錄至檔案資訊表後,將系統還原檔案自電腦之儲存體移除(步驟250),並記錄電腦之儲存體的分割結構,以作為儲存體分割表(步驟260)。Then, after the system restores the information of the file to the file information table, the system restore file is removed from the storage of the computer (step 250), and the partition structure of the storage body of the computer is recorded as a storage partition table (step 260).
由上述本發明較佳實施例可知,應用本發明具有下列優點。由於僅將不存在於資料庫之檔案加入資料庫,使得資料庫中不會存有重複之檔案,而減少資料庫所需之儲存空間。尤其,在多個電腦機型使用相同之作業系統時,相同作業系統之系統還原檔案僅儲存一份,可顯著的減少資料庫所需之儲存空間。It will be apparent from the above-described preferred embodiments of the present invention that the application of the present invention has the following advantages. Since only files that do not exist in the database are added to the database, there is no duplicate file in the database, and the storage space required for the database is reduced. In particular, when multiple computer models use the same operating system, only one copy of the system restore file of the same operating system can significantly reduce the storage space required by the database.
雖然本發明已以一較佳實施例揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been described above in terms of a preferred embodiment, it is not intended to limit the invention, and it is obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.
100‧‧‧檔案管理方法100‧‧‧File management method
110~200‧‧‧步驟110~200‧‧‧Steps
210~260‧‧‧步驟210~260‧‧‧Steps
為讓本發明之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附圖式之詳細說明如下:第1圖係依照本發明一實施例的一種檔案管理方法之流程圖。The above and other objects, features, advantages and embodiments of the present invention will become more <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt;
第2圖係第1圖中步驟120之一實施例。Figure 2 is an embodiment of step 120 in Figure 1.
第3圖係第1圖中步驟120以及步驟130之一實施例。Figure 3 is an embodiment of step 120 and step 130 in Figure 1.
100‧‧‧檔案管理方法100‧‧‧File management method
110~200‧‧‧步驟110~200‧‧‧Steps
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW97145808A TWI396986B (en) | 2008-11-26 | 2008-11-26 | File management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW97145808A TWI396986B (en) | 2008-11-26 | 2008-11-26 | File management method |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201020822A TW201020822A (en) | 2010-06-01 |
TWI396986B true TWI396986B (en) | 2013-05-21 |
Family
ID=44832388
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW97145808A TWI396986B (en) | 2008-11-26 | 2008-11-26 | File management method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI396986B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI498761B (en) * | 2014-06-17 | 2015-09-01 | Southerntaiwan University Of Science And Technology | An improved system of file explorer and its application method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5787491A (en) * | 1996-01-26 | 1998-07-28 | Dell Usa Lp | Fast method and apparatus for creating a partition on a hard disk drive of a computer system and installing software into the new partition |
TW540000B (en) * | 2001-12-31 | 2003-07-01 | Synnex Technology Internat Cor | Method for installing different software programs in a plurality of computers |
TWI293741B (en) * | 2005-12-02 | 2008-02-21 | Hon Hai Prec Ind Co Ltd | A system and method for managing standard operating procedure of workpieces |
-
2008
- 2008-11-26 TW TW97145808A patent/TWI396986B/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5787491A (en) * | 1996-01-26 | 1998-07-28 | Dell Usa Lp | Fast method and apparatus for creating a partition on a hard disk drive of a computer system and installing software into the new partition |
TW540000B (en) * | 2001-12-31 | 2003-07-01 | Synnex Technology Internat Cor | Method for installing different software programs in a plurality of computers |
TWI293741B (en) * | 2005-12-02 | 2008-02-21 | Hon Hai Prec Ind Co Ltd | A system and method for managing standard operating procedure of workpieces |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI498761B (en) * | 2014-06-17 | 2015-09-01 | Southerntaiwan University Of Science And Technology | An improved system of file explorer and its application method |
Also Published As
Publication number | Publication date |
---|---|
TW201020822A (en) | 2010-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6495568B2 (en) | Method, computer readable storage medium and system for performing incremental SQL server database backup | |
US8112464B2 (en) | On-demand access to container file directories | |
US8478729B2 (en) | System and method for controlling the storage of redundant electronic files to increase storage reliability and space efficiency | |
US7921083B2 (en) | File management device and electronic equipment | |
US8433867B2 (en) | Using the change-recording feature for point-in-time-copy technology to perform more effective backups | |
KR101971307B1 (en) | Efficient access to storage devices with usage bitmaps | |
JP5756394B2 (en) | Computer program, system, and method for restoring a restore set of files from backup objects stored in a sequential backup device | |
US20070288711A1 (en) | Snapshot copy management method used for logic volume manager | |
US8321482B2 (en) | Selectively modifying files of a container file | |
US20120109907A1 (en) | On-demand data deduplication | |
JP4402103B2 (en) | Data storage device, data relocation method thereof, and program | |
JP5938615B2 (en) | Computer program, system, and method for restoring deduplicated data objects from sequential backup devices | |
KR101369813B1 (en) | Accessing, compressing, and tracking media stored in an optical disc storage system | |
JP2012504281A (en) | Nested file system support | |
US7085962B1 (en) | Method and system for completing a backup job that was interrupted during a backup process | |
US8565051B2 (en) | Storage system and method for generating file system in the storage system | |
US20140089263A1 (en) | File recording apparatus, file system management method, and changer drive | |
TWI396986B (en) | File management method | |
JP4561872B2 (en) | Recording / reproducing apparatus and information processing method | |
JP6572775B2 (en) | Control device, storage device, data management program, and data management method | |
JP4375259B2 (en) | Replication volume generation management system, disk array device, and replication volume generation management program | |
JP2010152781A (en) | Backup server device, backup/restore program, and backup/restore method | |
US7715133B2 (en) | Method for duplicating data | |
US8074100B2 (en) | Method and apparatus for restore management | |
CN101751398B (en) | File management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |