TWI400600B - Method for recovering system setting and computer system - Google Patents

Method for recovering system setting and computer system Download PDF

Info

Publication number
TWI400600B
TWI400600B TW98106142A TW98106142A TWI400600B TW I400600 B TWI400600 B TW I400600B TW 98106142 A TW98106142 A TW 98106142A TW 98106142 A TW98106142 A TW 98106142A TW I400600 B TWI400600 B TW I400600B
Authority
TW
Taiwan
Prior art keywords
setting
operating system
reply
software program
new
Prior art date
Application number
TW98106142A
Other languages
Chinese (zh)
Other versions
TW201032032A (en
Inventor
Chun Hua Lee
Original Assignee
Acer Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Acer Inc filed Critical Acer Inc
Priority to TW98106142A priority Critical patent/TWI400600B/en
Publication of TW201032032A publication Critical patent/TW201032032A/en
Application granted granted Critical
Publication of TWI400600B publication Critical patent/TWI400600B/en

Links

Landscapes

  • Stored Programmes (AREA)

Description

系統設定回復方法及電腦系統System setting reply method and computer system

本發明係關於一種系統設定回復方法,特別是一種可視情況回復作業系統適當設定之系統設定回復方法。The present invention relates to a system setting reply method, and more particularly to a system setting reply method that is appropriately set by a visual recovery operation system.

於電腦作業系統下執行軟體程式時,部分軟體程式在執行過程中會需要變更作業系統之設定,以利於軟體程式運作或達到某些功能。一般來說,這類軟體程式在變更系統設定之前會先詢問使用者是否同意變更設定,或是要求使用者自行設定以符合執行程式之環境需求,但於軟體程式執行完畢後卻不會主動將這些變更後的設定回復。舉例來說,對於一些應用於資料同步的軟體程式,若需要將二台電腦的資料同步時,大部分這類軟體程式會要求使用者自行開啟共用資料夾,並建立網路磁碟機以供其使用(例如Allway Sync);而有些程式會主動替使用者開啟共用資料夾,但於實行前先詢問使用者是否同意此行為(例如Easy2Sync);但前述軟體程式並不負責已開啟的共用資料夾之回復工作,如此在使用者未主動關閉共用資料夾之狀態下,將對作業系統之安全性造成影響。此外,部分軟體程式並未明確告知使用者已變更了哪些系統設定,如此也會造成使用者欲自行回復系統設定之困擾。When the software program is executed under the computer operating system, some software programs need to change the settings of the operating system during the execution to facilitate the operation of the software program or to achieve certain functions. In general, such software programs will ask the user whether they agree to change the settings before changing the system settings, or ask the user to set the environment to meet the requirements of the execution program, but will not take the initiative after the software program is executed. These changed settings are replied. For example, for some software programs used for data synchronization, if you need to synchronize the data of two computers, most of these software programs will require users to open the shared folder and create a network drive for the data. Its use (such as Allway Sync); and some programs will actively open the shared folder for the user, but ask the user whether to agree to this behavior (such as Easy2Sync) before the implementation; but the above software program is not responsible for the shared data that has been opened. The reply of the clip works, so that the user's security is not affected when the user does not actively close the shared folder. In addition, some software programs do not explicitly inform the user which system settings have been changed, which may cause users to voluntarily respond to system settings.

本發明之主要目的係在提供一種可視情況回復作業系統適當設定之系統設定回復方法。The main object of the present invention is to provide a system setting reply method that is appropriately set in a visual response operating system.

為達到上述之目的,本發明之系統設定回復方法係應用於電腦系統,電腦系統包括作業系統及執行於作業系統下之軟體程式,軟體程式可變更作業系統之設定。本發明之系統設定回復方法包括以下步驟:執行軟體程式;判斷軟體程式是否需要變更作業系統之原始設定,以執行備份程序用以記錄新設定;判斷是否需要回復作業系統之設定,以執行回復程序用以比對作業系統之現有設定與新設定是否相同,以回復適當之作業系統之設定。藉此,本發明之系統設定回復方法可針對軟體程式所改變之電腦系統設定自動進行回復動作,以提高作業系統之安全性;且於軟體程式執行過程中,當使用者因需求主動變更電腦系統設定時,藉由本發明之系統設定回復方法可判斷電腦系統設定之變更狀態以保留使用者新變更之電腦系統設定,來提高使用便利性並減少使用者之困擾。In order to achieve the above object, the system setting recovery method of the present invention is applied to a computer system. The computer system includes an operating system and a software program executed under the operating system, and the software program can change the setting of the operating system. The system setting reply method of the present invention comprises the steps of: executing a software program; determining whether the software program needs to change the original setting of the operating system to execute a backup program for recording new settings; determining whether it is necessary to reply to the setting of the operating system to execute the reply program It is used to compare the existing settings of the operating system with the new settings to restore the settings of the appropriate operating system. Therefore, the system setting reply method of the present invention can automatically perform a reply action for the computer system setting changed by the software program to improve the security of the operating system; and during the execution of the software program, when the user actively changes the computer system due to the demand During the setting, the system setting reply method of the present invention can determine the change status of the computer system setting to retain the user's newly changed computer system settings, thereby improving the convenience of use and reducing the user's troubles.

本發明之電腦系統係應用於前述之系統設定回復方法,電腦系統包括作業系統、軟體程式及系統設定回復模組。軟體程式係於作業系統下執行,軟體程式可變更作業系統之設定;系統設定回復模組用以判斷軟體程式是否需要變更作業系統之原始設定,以執行備份程序用以記錄新設定,並判斷是否需要回復作業系統設定,以執行回復程序用以比對作業系統之現有設定與新設定是否相同,以回復適當之作業系統之設定。The computer system of the present invention is applied to the aforementioned system setting reply method, and the computer system includes an operating system, a software program, and a system setting reply module. The software program is executed under the operating system, and the software program can change the setting of the operating system; the system setting reply module is used to determine whether the software program needs to change the original setting of the operating system to execute a backup program for recording new settings, and to determine whether It is necessary to reply to the operating system settings to execute a reply program for comparing the existing settings of the operating system with the new settings to restore the settings of the appropriate operating system.

為能讓 貴審查委員能更瞭解本發明之技術內容,特舉出較佳實施例說明如下。In order to enable the reviewing committee to better understand the technical contents of the present invention, the preferred embodiments are described below.

以下請先參考圖1係本發明之電腦系統1之系統方塊圖。如圖1所示,本發明之電腦系統1包括儲存裝置10及處理器20,儲存裝置10包括作業系統12、軟體程式14及系統設定回復模組16;處理器20與儲存裝置10電性連接,且藉由處理器20可執行作業系統12、軟體程式14或系統設定回復模組16。軟體程式14係於作業系統12下執行,軟體程式14於執行過程中為達到部分功能或需求,會主動變更作業系統12之設定。系統設定回復模組16用以判斷軟體程式14是否需要變更作業系統12之原始設定以執行備份程序用以記錄新設定,並判斷是否需要回復作業系統12之設定以執行回復程序用以比對作業系統12之現有設定與新設定是否相同,並依據其比對結果以選擇回復適當之作業系統12之設定。系統設定回復模組16可為儲存於儲存裝置10內之一應用軟體、寫入作業系統12或軟體程式14之一程式碼或為其他型式,以達到前述功能,但本發明並不以此為限。此外,前述提及之設定可包括系統或程式之各種狀態,並不侷限於單純之系統或程式的選項。1 is a system block diagram of a computer system 1 of the present invention. As shown in FIG. 1 , the computer system 1 of the present invention includes a storage device 10 and a processor 20 . The storage device 10 includes an operating system 12 , a software program 14 , and a system setting reply module 16 . The processor 20 is electrically connected to the storage device 10 . The processor 20 can execute the operating system 12, the software program 14 or the system setting reply module 16 by the processor 20. The software program 14 is executed under the operating system 12, and the software program 14 actively changes the setting of the operating system 12 in order to achieve partial functions or requirements during execution. The system setting reply module 16 is configured to determine whether the software program 14 needs to change the original settings of the operating system 12 to execute a backup program for recording new settings, and determine whether it is necessary to restore the settings of the operating system 12 to execute a reply program for comparing the jobs. Whether the existing settings of the system 12 are the same as the new settings, and depending on the result of the comparison, the selection of the appropriate operating system 12 is selected. The system setting reply module 16 can be one of the application software, the writing operation system 12 or the software program 14 stored in the storage device 10 or other types to achieve the foregoing functions, but the present invention does not limit. In addition, the aforementioned settings may include various states of the system or program and are not limited to simple system or program options.

請參考圖2係本發明之系統設定回復方法之流程圖。須注意的是,以下雖以圖1所示之電腦系統1為例說明本發明之系統設定回復方法,但本發明並不以適用於電腦系統1為限,任何其他具類似架構之電腦系統亦可適用本發明之系統設定回復方法。如圖2所示,本發明之系統設定回復方法包括步驟210至步驟230。以下將詳細說明本發明之自動測試方法之各個步驟。Please refer to FIG. 2, which is a flowchart of a system setting reply method of the present invention. It should be noted that although the computer system 1 shown in FIG. 1 is taken as an example to illustrate the system setting recovery method of the present invention, the present invention is not limited to the computer system 1, and any other computer system having a similar architecture is also The system setting reply method of the present invention can be applied. As shown in FIG. 2, the system setting reply method of the present invention includes steps 210 to 230. The respective steps of the automatic test method of the present invention will be described in detail below.

首先進行步驟210:執行軟體程式14。如圖1所示,本發明之系統設定回復方法係應用於前述之電腦系統1。電腦系統1之儲存裝置10包括作業系統12及軟體程式14,當電腦系統1載入作業系統12時會先進入一使用者登入程序,當使用者登入後可載入對應之作業系統12之一原始設定,以開啟或執行作業系統12之相關功能;於載入作業系統12後,可於作業系統12環境下執行軟體程式14。First, proceed to step 210: execute the software program 14. As shown in FIG. 1, the system setting reply method of the present invention is applied to the aforementioned computer system 1. The storage device 10 of the computer system 1 includes an operating system 12 and a software program 14. When the computer system 1 is loaded into the operating system 12, a user login program is first entered, and when the user logs in, one of the corresponding operating systems 12 can be loaded. The original settings are used to enable or execute the relevant functions of the operating system 12; after loading the operating system 12, the software program 14 can be executed in the operating system 12 environment.

如圖2所示,於步驟210後進行步驟220,其中步驟220可包括步驟221及步驟222。As shown in FIG. 2, after step 210, step 220 is performed, where step 220 may include step 221 and step 222.

步驟221:判斷軟體程式14是否需要變更作業系統12之一原始設定。如圖1所示,儲存裝置10更包括系統設定回復模組16,由於軟體程式14於執行過程中為達到部分功能或需求,會主動變更作業系統12之原始設定,因此可藉由系統設定回復模組16來判斷執行中之軟體程式14是否需要變更作業系統12之原始設定,並依據其判斷結果以決定是否續行步驟222。Step 221: Determine whether the software program 14 needs to change one of the original settings of the operating system 12. As shown in FIG. 1 , the storage device 10 further includes a system setting reply module 16 . Since the software program 14 actively changes the original setting of the operating system 12 during the execution to achieve a part of functions or requirements, the system can be configured to reply. The module 16 determines whether the executing software program 14 needs to change the original setting of the operating system 12, and determines whether to continue the step 222 according to the judgment result.

步驟222:執行一備份程序。如圖2所示,當判斷作業系統12之原始設定被軟體程式14變更時,系統設定回復模組16可執行一備份程序用以記錄作業系統12之一新設定,並進行後續步驟230。Step 222: Perform a backup procedure. As shown in FIG. 2, when it is determined that the original setting of the operating system 12 is changed by the software program 14, the system setting reply module 16 can execute a backup program for recording a new setting of the operating system 12, and proceeds to a subsequent step 230.

以下請先參考圖3係本發明之系統設定回復方法之備份程序之流程圖。如圖3所示,本發明之系統設定回復方法之備份程序包括下列步驟:Please refer to FIG. 3 below for a flowchart of a backup procedure of the system setting reply method of the present invention. As shown in FIG. 3, the backup program of the system setting reply method of the present invention includes the following steps:

步驟310:記錄作業系統12之原始設定。如圖1所示,藉由系統設定回復模組16可取得作業系統12之原始設定的相關資訊,並將其記錄於儲存裝置10中。Step 310: Record the original settings of the operating system 12. As shown in FIG. 1 , the system setting reply module 16 can obtain related information of the original settings of the operating system 12 and record it in the storage device 10 .

步驟320:藉由軟體程式14變更原始設定以形成新設定。如圖1所示,當作業系統12之原始設定記錄完成後,軟體程式14即可執行變更作業系統12之設定的動作,經變更之作業系統12之設定將形成一新設定,以使軟體程式14可達到特定之功能。Step 320: The original settings are changed by the software program 14 to form a new setting. As shown in FIG. 1, after the original setting record of the operating system 12 is completed, the software program 14 can perform the setting operation of changing the operating system 12, and the changed setting of the operating system 12 will form a new setting for the software program. 14 can achieve a specific function.

步驟330:記錄新設定。如圖1所示,藉由系統設定回復模組16可取得作業系統12之新設定的相關資訊,並將其記錄於儲存裝置10中。Step 330: Record the new settings. As shown in FIG. 1, the system setting reply module 16 can obtain the relevant information of the new setting of the operating system 12 and record it in the storage device 10.

此外,於步驟310後更可執行步驟340:設定回復程序執行於作業系統12載入一使用者登入程序時。如圖1所示,為防止軟體程式14於執行過程中因發生錯誤導致電腦系統1當機必須重新啟動,造成已變更之作業系統12之設定未能即時回復之狀況,系統設定回復模組16設定回復程序於作業系統12載入使用者登入程序時自動執行,以期在電腦系統1重新啟動並載入作業系統12時可回復適當之作業系統12之原始設定。In addition, after step 310, step 340 can be further executed: the setting reply program is executed when the operating system 12 loads a user login program. As shown in FIG. 1 , in order to prevent the software program 14 from being restarted due to an error during the execution of the software program 14 , the setting of the changed operating system 12 fails to be immediately restored, and the system sets the reply module 16 . The set reply procedure is automatically executed when the operating system 12 loads the user login program, in order to restore the original settings of the appropriate operating system 12 when the computer system 1 is restarted and loaded into the operating system 12.

又如圖2所示,於步驟220後進行步驟230,其中步驟230可包括步驟231及步驟232。As shown in FIG. 2, after step 220, step 230 is performed, where step 230 may include step 231 and step 232.

步驟231:判斷是否需要回復作業系統12之設定。如圖1所示,由於作業系統12之設定已被軟體程式14所變更,因此藉著系統設定回復模組16來判斷是否有需要回復作業系統12之設定之狀況,並依據其判斷結果以決定是否續行步驟232。前述需要回復作業系統12之設定之狀況包括:(1)當軟體程式14已執行完成某些功能或使用者欲關閉軟體程式14時,軟體程式14應自動回復已變更之作業系統12之設定;(2)當軟體程式14因發生錯誤導致不正常關閉,而使用者重新執行軟體程式14時;(3)透過前述步驟340之設定,於軟體程式14執行過程中因電腦系統1當機必須重新啟動,而在作業系統12載入使用者登入程序時,應回復適當之作業系統12之設定。Step 231: Determine whether it is necessary to reply to the setting of the operating system 12. As shown in FIG. 1, since the setting of the operating system 12 has been changed by the software program 14, the system setting reply module 16 determines whether there is a need to restore the setting of the operating system 12, and determines according to the judgment result. Continue with step 232. The foregoing conditions for the response to the setting of the operating system 12 include: (1) when the software program 14 has performed certain functions or the user wants to close the software program 14, the software program 14 should automatically reply to the changed operating system 12 settings; (2) When the software program 14 is abnormally shut down due to an error, and the user re-executes the software program 14; (3) through the setting of the foregoing step 340, the computer system 1 must be restarted during the execution of the software program 14 Startup, and when the operating system 12 loads the user login program, the appropriate operating system 12 settings should be replied to.

步驟232:執行一回復程序。如圖1所示,當判斷作業系統12之設定需要回復時,系統設定回復模組16可執行回復程序用以比對作業系統12之現有設定與新設定是否相同,以調整適當之作業系統12之設定。Step 232: Perform a reply procedure. As shown in FIG. 1, when it is determined that the setting of the operating system 12 needs to be replied, the system setting reply module 16 can execute a reply program for comparing whether the existing settings of the operating system 12 and the new settings are the same to adjust the appropriate operating system 12 The setting.

以下請參考圖4係本發明之系統設定回復方法之回復程序之流程圖。如圖4所示,本發明之系統設定回復方法之回復程序包括下列步驟:Please refer to FIG. 4, which is a flowchart of a reply procedure of the system setting reply method of the present invention. As shown in FIG. 4, the reply procedure of the system setting reply method of the present invention includes the following steps:

步驟410:檢查是否存在新設定。如圖1所示,藉由系統設定回復模組16可檢查儲存裝置10內是否具有自前述備份程序之步驟330所記錄之新設定,當確認有新設定存在時,即可續行步驟420。Step 410: Check if there is a new setting. As shown in FIG. 1, the system setting reply module 16 can check whether the storage device 10 has a new setting recorded in step 330 of the backup program. When it is confirmed that a new setting exists, the step 420 can be continued.

步驟420:記錄作業系統12之現有設定。如圖1所示,由於備份程序與回復程序之執行可能相隔一段時間,在這段時間內使用者可能因需求另外對作業系統12之設定進行變更,因此必須藉由系統設定回復模組16取得作業系統12於執行回復程序時點之現有設定的相關資訊,並將其記錄於儲存裝置10中。Step 420: Record the existing settings of the operating system 12. As shown in FIG. 1, since the backup program and the reply program may be executed for a certain period of time, during which time the user may additionally change the setting of the operating system 12 due to the requirement, the system must be configured by the system setting reply module 16. The operating system 12 records the relevant information of the existing settings at the time of the replying process and records it in the storage device 10.

如圖4所示,於步驟420後進行步驟430,其中步驟430可包括步驟431至步驟434。As shown in FIG. 4, after step 420, step 430 is performed, wherein step 430 may include steps 431 to 434.

步驟431:比對現有設定與新設定是否相同。如圖1所示,藉由系統設定回復模組16來比對記錄於儲存裝置10之現有設定及新設定是否相同,若於執行步驟330到執行步驟420這段時間內,使用者因需求而對作業系統12之設定進行變更,則可能造成現有設定及新設定有所差異之情況。Step 431: Compare whether the existing setting is the same as the new setting. As shown in FIG. 1 , the system setting reply module 16 compares whether the existing settings and the new settings recorded in the storage device 10 are the same. If the user performs the process from step 330 to step 420, the user needs the user. Changes to the settings of the operating system 12 may result in differences between existing settings and new settings.

步驟432:將現有設定回復為原始設定。如圖1所示,當判斷作業系統12之現有設定與新設定相同時,系統設定回復模組16即可將作業系統12之現有設定依據步驟310之記錄檔回復為作業系統12最初之原始設定,以回復軟體程式14對作業系統12之設定所作之變更。Step 432: Revert the existing settings to the original settings. As shown in FIG. 1, when it is determined that the existing setting of the operating system 12 is the same as the new setting, the system setting reply module 16 can restore the existing setting of the operating system 12 to the original setting of the operating system 12 according to the recording file of step 310. In response to the change in the settings of the operating system 12 by the software program 14.

步驟433:保留現有設定。如圖1所示,當判斷作業系統12之現有設定與新設定不同時,代表使用者曾經自行變更過作業系統12之設定,為避免回復設定後與使用者之原意不符,因此系統設定回復模組16會維持作業系統12之現有設定不作變更,以保留使用者之最新設定。Step 433: Keep the existing settings. As shown in FIG. 1 , when it is determined that the existing setting of the operating system 12 is different from the new setting, the user has changed the setting of the operating system 12 on his own, and in order to avoid the inconsistency with the user's original intention after the reply setting, the system sets the reply mode. Group 16 will maintain the existing settings of operating system 12 unchanged, to preserve the user's latest settings.

步驟434:判斷作業系統12之設定是否回復完畢。如圖2所示,於執行步驟432或步驟433後,系統設定回復模組16會判斷作業系統12之設定是否已回復完畢,若是回復動作未完成將重新執行步驟430之相關步驟。Step 434: It is judged whether the setting of the operating system 12 is completed. As shown in FIG. 2, after performing step 432 or step 433, the system setting reply module 16 determines whether the setting of the operating system 12 has been restored. If the replying action is not completed, the relevant steps of step 430 are re-executed.

此外,於步驟430後更可進行步驟440:清除所有已記錄之作業系統12之設定備份檔。於回復程序結束之前,藉由系統設定回復模組16將前述步驟所取得並記錄於儲存裝置10之作業系統12之設定備份檔(包括原始設定、新設定及現存設定)予以清除,以避免舊設定備份檔之存在會影響電腦系統1再次執行本發明之系統設定回復方法時的處理結果。In addition, after step 430, step 440 can be further performed: clearing the set backup files of all recorded operating systems 12. Before the end of the replying process, the system setting reply module 16 clears the set backup files (including the original settings, the new settings, and the existing settings) obtained by the foregoing steps and recorded in the operating system 12 of the storage device 10 to avoid the old Setting the existence of the backup file affects the processing result when the computer system 1 executes the system setting reply method of the present invention again.

請一併參考圖1及圖5。圖5係本發明之系統設定回復方法之一實施例示意圖。如圖1及圖5所示,在本實施例中,軟體程式14係為一改變防火牆設定之程式,在軟體程式14執行過程中需要改變防火牆設定值以達到此程式之部分功能。假設作業系統12之防火牆原始設定值為ALL,表示所有IP均可通過防火牆。如狀況a所示,當軟體程式14在執行過程中因需求改變防火牆設定值為只限IP:10.36.143.168通過,此即為一新設定值。當軟體程式14需要回復作業系統12之防火牆設定時,在一般狀況下判斷回復時點之防火牆設定值(現存設定值)亦為IP:10.36.143.168,因此最後會將防火牆設定值回復為原始設定值ALL。Please refer to Figure 1 and Figure 5 together. FIG. 5 is a schematic diagram of an embodiment of a system setting recovery method of the present invention. As shown in FIG. 1 and FIG. 5, in the embodiment, the software program 14 is a program for changing the firewall settings. During the execution of the software program 14, the firewall settings need to be changed to achieve some functions of the program. Assume that the original firewall setting of the operating system 12 is ALL, indicating that all IPs can pass through the firewall. As shown in the situation a, when the software program 14 changes the firewall setting value according to the demand during the execution only IP: 10.36.143.168, this is a new set value. When the software program 14 needs to reply to the firewall setting of the operating system 12, under normal circumstances, the firewall setting value (existing setting value) at the time of reply is also IP: 10.36.143.168, so the firewall setting value will be restored to the original setting value. ALL.

如狀況b所示,軟體程式14在執行過程中因需求將防火牆設定值自ALL(原始設定值)改變為IP:10.36.143.168(新設定值),假設此時使用者希望設定所有子網域的IP均可通過防火牆,而在回復程序執行前將作業系統12之防火牆設定變更為SUBNET。在此狀況下當軟體程式14需要回復作業系統12之防火牆設定時,判斷回復時點之防火牆設定值(現存設定值)為SUBNET,與新設定值並不相同,因此會保留現存設定值SUBNET以符合使用者之意志,不會盲目地回復為原始設定值ALL。As shown in case b, the software program 14 changes the firewall setting value from ALL (original setting value) to IP: 10.36.143.168 (new setting value) during execution, assuming that the user wishes to set all subdomains at this time. The IP can pass through the firewall, and the firewall settings of the operating system 12 are changed to SUBNET before the reply program is executed. In this case, when the software program 14 needs to reply to the firewall setting of the operating system 12, it is determined that the firewall setting value (existing setting value) at the time of reply is SUBNET, which is not the same as the new setting value, so the existing setting value SUBNET is retained to match The will of the user does not blindly return to the original set value ALL.

綜上所陳,本發明無論就目的、手段及功效,在在均顯示其迥異於習知技術之特徵,為一大突破,懇請貴審查委員明察,早日賜准專利,俾嘉惠社會,實感德便。惟須注意,上述實施例僅為例示性說明本發明之原理及其功效,而非用於限制本發明之範圍。任何熟於此項技藝之人士均可在不違背本發明之技術原理及精神下,對實施例作修改與變化。本發明之權利保護範圍應如後述之申請專利範圍所述。In summary, the present invention is a breakthrough in terms of its purpose, means and efficacy, and it is different from the characteristics of the prior art. It is a great breakthrough for the reviewer to ask for an early patent, and to benefit the society. Debian. It is to be noted that the above-described embodiments are merely illustrative of the principles of the invention and its advantages, and are not intended to limit the scope of the invention. Modifications and variations of the embodiments can be made by those skilled in the art without departing from the spirit and scope of the invention. The scope of protection of the present invention should be as described in the scope of the patent application to be described later.

1...電腦系統1. . . computer system

10...儲存裝置10. . . Storage device

12...作業系統12. . . working system

14...軟體程式14. . . Software program

16...系統設定回復模組16. . . System setting reply module

20...處理器20. . . processor

圖1係本發明之電腦系統之系統方塊圖。1 is a block diagram of a system of a computer system of the present invention.

圖2係本發明之系統設定回復方法之流程圖。2 is a flow chart of a system setting reply method of the present invention.

圖3係本發明之系統設定回復方法之備份程序流程圖。3 is a flow chart of a backup procedure of the system setting reply method of the present invention.

圖4係本發明之系統設定回復方法之回復程序流程圖。4 is a flow chart of a reply procedure of the system setting reply method of the present invention.

圖5係本發明之系統設定回復方法之一實施例示意圖。FIG. 5 is a schematic diagram of an embodiment of a system setting recovery method of the present invention.

Claims (15)

一種系統設定回復方法,係應用於一電腦系統,該電腦系統包括一作業系統及執行於該作業系統下之一軟體程式,該軟體程式可變更該作業系統之設定,該系統設定回復方法包括以下步驟:執行該軟體程式;判斷該軟體程式是否需要變更該作業系統之一原始設定;當該軟體程式需要變更該作業系統之該原始設定時,執行一備份程序用以記錄一新設定;判斷是否需要回復該作業系統之設定;以及當需要回復該作業系統之設定時,執行一回復程序,該回復程序包括以下步驟:檢查是否存在該新設定;當存在該新設定時,記錄該作業系統之一現有設定;以及比對該現有設定與該新設定是否相同;當該現有設定與該新設定相同時,將該現有設定回復為該原始設定;當該現有設定與該新設定不同時,保留該現有設定。 A system setting reply method is applied to a computer system, the computer system includes an operating system and a software program executed under the operating system, the software program can change the setting of the operating system, and the system setting reply method includes the following Step: executing the software program; determining whether the software program needs to change one of the original settings of the operating system; when the software program needs to change the original setting of the operating system, executing a backup program to record a new setting; Retrieving the settings of the operating system; and when it is necessary to reply to the settings of the operating system, executing a replying process, the replying process comprising the steps of: checking whether the new setting exists; when the new setting exists, recording the operating system An existing setting; and whether the existing setting is the same as the new setting; when the existing setting is the same as the new setting, the existing setting is restored to the original setting; when the existing setting is different from the new setting, the reservation is retained This existing setting. 如申請專利範圍第1項所述之系統設定回復方法,其中該回復程序係執行於該軟體程式自動回復該作業系統之設定時。 The system setting reply method of claim 1, wherein the replying procedure is performed when the software program automatically replies to the setting of the operating system. 如申請專利範圍第1項所述之系統設定回復方法,其中該回復程序係執行於該軟體程式因不正常關閉而重新被執行時。 The system setting reply method of claim 1, wherein the replying procedure is executed when the software program is re-executed due to abnormal shutdown. 如申請專利範圍第1項所述之系統設定回復方法,其中該回復程序係執行於該作業系統載入一使用者登入程序時。 The system setting reply method of claim 1, wherein the replying procedure is performed when the operating system loads a user login procedure. 如申請專利範圍第1項所述之系統設定回復方法,其中該備份程序包括以下步驟:記錄該作業系統之該原始設定;藉由該軟體程式變更該原始設定以形成該新設定;以及記錄該新設定。 The system setting reply method of claim 1, wherein the backup program comprises the steps of: recording the original setting of the operating system; changing the original setting by the software program to form the new setting; and recording the New settings. 如申請專利範圍第5項所述之系統設定回復方法,其中於記錄該作業系統之該原始設定後,更包括以下步驟:設定該回復程序執行於該作業系統載入一使用者登入程序時。 The system setting reply method of claim 5, wherein after recording the original setting of the operating system, the method further comprises the step of: setting the reply program to be executed when the operating system loads a user login program. 如申請專利範圍第1項所述之系統設定回復方法,其中該回復程序更包括以下步驟:清除所有已記錄之該作業系統之設定備份檔。 The system setting reply method of claim 1, wherein the replying process further comprises the step of: clearing all the recorded backup files of the operating system that have been recorded. 一種電腦系統,包括一儲存裝置,該儲存裝置包括:一作業系統;一軟體程式,係於該作業系統下執行,該軟體程式可變更該作業系統設定;以及一系統設定回復模組,用以判斷該軟體程式是否需要變更該作業系統之一原始設定,當該軟體程式需要變更該作業系統之該原始設定時,執行一備份程序用以記錄一新設定;當該系統設定回復模組判斷需要回復該作業系統之設定時,執行一回復程序;其中於該回復程序中藉 由該系統設定回復模組檢查該新設定是否存在,當存在該新設定時,該系統設定回復模組記錄該作業系統之一現有設定,並比對該新設定與該現有設定是否相同;當該現有設定與該新設定相同時,該系統設定回復模組將該現有設定回復為該原始設定;當該現有設定與該新設定不同時,該系統設定回復模組保留該現有設定。 A computer system includes a storage device, the storage device includes: an operating system; a software program executed under the operating system, the software program can change the operating system setting; and a system setting reply module for Determining whether the software program needs to change one of the original settings of the operating system, when the software program needs to change the original setting of the operating system, executing a backup program for recording a new setting; when the system setting reply module determines that it is needed When replying to the settings of the operating system, executing a reply procedure; wherein the reply procedure is borrowed The system setting reply module checks whether the new setting exists. When the new setting exists, the system setting reply module records an existing setting of the operating system, and compares whether the new setting is the same as the existing setting; When the existing setting is the same as the new setting, the system setting reply module returns the existing setting to the original setting; when the existing setting is different from the new setting, the system setting reply module retains the existing setting. 如申請專利範圍第8項所述之電腦系統,其中該系統設定回復模組係於該軟體程式自動回復該作業系統之設定時,執行該回復程序。 The computer system of claim 8, wherein the system setting reply module executes the reply procedure when the software program automatically replies to the setting of the operating system. 如申請專利範圍第8項所述之電腦系統,其中該系統設定回復模組係於該軟體程式因不正常關閉而重新被執行時,執行該回復程序。 The computer system of claim 8, wherein the system setting reply module executes the reply procedure when the software program is re-executed due to abnormal shutdown. 如申請專利範圍第8項所述之電腦系統,其中該系統設定回復模組係於該作業系統載入一使用者登入程序時,執行該回復程序。 The computer system of claim 8, wherein the system setting reply module executes the reply procedure when the operating system loads a user login program. 如申請專利範圍第8項所述之電腦系統,其中於該備份程序中藉由該系統設定回復模組記錄該作業系統之該原始設定及變更後之該新設定於該儲存裝置。 The computer system of claim 8, wherein the system setting reply module records the original setting and the changed setting of the operating system in the backup device. 如申請專利範圍第8項所述之電腦系統,其中於該備份程序中藉由該系統設定回復模組設定於該作業系統載入一使用者登入程序時執行該回復程序。 The computer system of claim 8, wherein the system is configured to execute the reply procedure when the operating system loads a user login program by using the system setting reply module. 如申請專利範圍第8項所述之電腦系統,其中於該回復程序中藉由該系統設定回復模組記錄該作業系統之該現有設定於該儲存裝置。 The computer system of claim 8, wherein the current setting of the operating system is recorded in the storage device by the system setting reply module in the replying process. 如申請專利範圍第8項所述之電腦系統,其中於該回復程序結束前藉由該系統設定回復模組清除所有已記錄於該儲存裝置之該作業系統之設定備份檔。 The computer system of claim 8, wherein the setting backup file of the operating system recorded in the storage device is cleared by the system setting reply module before the replying process ends.
TW98106142A 2009-02-26 2009-02-26 Method for recovering system setting and computer system TWI400600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98106142A TWI400600B (en) 2009-02-26 2009-02-26 Method for recovering system setting and computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98106142A TWI400600B (en) 2009-02-26 2009-02-26 Method for recovering system setting and computer system

Publications (2)

Publication Number Publication Date
TW201032032A TW201032032A (en) 2010-09-01
TWI400600B true TWI400600B (en) 2013-07-01

Family

ID=44854753

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98106142A TWI400600B (en) 2009-02-26 2009-02-26 Method for recovering system setting and computer system

Country Status (1)

Country Link
TW (1) TWI400600B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6820214B1 (en) * 1999-07-26 2004-11-16 Microsoft Corporation Automated system recovery via backup and restoration of system state
TW200839504A (en) * 2007-03-22 2008-10-01 Inventec Appliances Corp Method for restoration data backup
TW200847021A (en) * 2007-05-17 2008-12-01 Asustek Comp Inc Automatic backup, restore and update BIOS computer system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6820214B1 (en) * 1999-07-26 2004-11-16 Microsoft Corporation Automated system recovery via backup and restoration of system state
TW200839504A (en) * 2007-03-22 2008-10-01 Inventec Appliances Corp Method for restoration data backup
TW200847021A (en) * 2007-05-17 2008-12-01 Asustek Comp Inc Automatic backup, restore and update BIOS computer system

Also Published As

Publication number Publication date
TW201032032A (en) 2010-09-01

Similar Documents

Publication Publication Date Title
US7447888B2 (en) Method for restoring computer operating system
EP1693757B1 (en) System and method for using a file system to automatically backup a file as a generational file
US7203865B2 (en) Application level and BIOS level disaster recovery
TWI475402B (en) Remote backup system and remote backup method thereof
US20080209261A1 (en) Data repair and synchronization method of dual flash read only memory
US20080275921A1 (en) Self-managed processing device
US20100082957A1 (en) Information processing device
KR20060047712A (en) Systems and methods for automatic maintenance and repair of entites in data model
JP5183542B2 (en) Computer system and setting management method
EP2649750A2 (en) Providing transparent failover in a file system
US8225138B2 (en) High-speed recovery for computing systems
US7640454B1 (en) System and method for point-in-time recovery of application resource sets
JP4641443B2 (en) Log information management apparatus, log information management method, and log information management program
WO2015043155A1 (en) Method and device for network element backup and recovery based on command set
WO2017097233A1 (en) Fault tolerance method for data storage load and iptv system
CN115793985A (en) Safe storage method, device, equipment and storage medium
US20070143591A1 (en) Method for non-destructive restoration of a corrupted operating system
WO2020233001A1 (en) Distributed storage system comprising dual-control architecture, data reading method and device, and storage medium
US20110264951A1 (en) System and Method for Recovery of Primary Storage Resource Failure
US20160170842A1 (en) Writing to files and file meta-data
WO2014103037A1 (en) Information processing device, information processing method, and information processing program
TWI400600B (en) Method for recovering system setting and computer system
US20160004607A1 (en) Information processing apparatus and information processing method
JP4358943B2 (en) Automatic backup system and recording medium recording automatic backup program
KR101272802B1 (en) Computer fault processing system and method with mobile device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees