九、發明說明: 【發明所屬之技術領域】 本發明是關於一種電腦系統使用時間記錄方法,且特 別是關於一種記錄電腦系統出貨之後的累計使用時間的方 法。 【先前技術】 龟月自糸統通常由主機板(main board)、中央處理器 (Central Processing Unit,簡稱為CPU)以及儲存裝置等 為系統組悲分析、開機自我測試以及載入作業系統等三 設備構成。當我們打開電腦系統後,電腦内部的中 器便會自動執行-連串的指令,這些指令依^== 類。在開_ ’首先分析巾域理器魏、記憶體大小以 及儲存裝置型鮮:#訊’以料其他動作之重要參 o ^ ^ rb tfr -rm m tIX. Description of the Invention: [Technical Field of the Invention] The present invention relates to a time recording method for a computer system, and in particular to a method for recording the accumulated usage time after shipment of a computer system. [Prior Art] The turtle system is usually composed of a main board, a central processing unit (CPU), and a storage device for system group analysis, boot self-test, and load operation system. Equipment composition. When we turn on the computer system, the internal controller of the computer will automatically execute a series of instructions, which are based on the ^== class. At the beginning _ ’ first analyze the area of the towel, the size of the memory, and the type of storage device: #讯’ is important for other actions o ^ ^ rb tfr -rm m t
19488twf.doc/e 200805033,p ^VjJ3 =紛’損壞系統供應商品Ϊ形象以及提高线供應商成 【發明内容】 錄方Ξ此:ί發明目的是在提供—種電腦系統使用時間記 的時Η腦系統出貨前最後—次開機時設定初始值 ==鼻出累計使用時間,以達到顯示電腦系統出19488twf.doc/e 200805033, p ^VjJ3 = </ br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> The brain system is shipped last time - the initial value is set at the time of power-on = the cumulative use time of the nose is used to reach the display computer system
數之目的。可確認使用者之前是否曾經 開機使用,避免系統廠商與使用者之間的消費糾紛。 用t,及其他目的,本發明提出—種電腦系統使 ΐ/ίΓ 上述之時間記錄方法,在—實施例中包 應商須在電腦系統出貨前最後-次開機時,使 用&里転式將目前時間記錄為基準使 間變數的初始值。之接,A > , 儿疋才 =之後在母二人發生週期性中斷時:,;則累 押^最後’在電腦系制基本輸系統設定選 不基準使用賴,以及根據時間變數顯示累計使用 時間。 ;依^本發明的較佳實_所述之電腦线使用時間 U己錄方去上述之目前時間來自電腦系統的即時計時器 (real-time clock)。 >依照本發明的較佳實闕所述之電腦祕使用時間 '己錄方法’上述之週期性中斷為電腦系統的南橋晶片 (south bridge)的週期性系統管理中斷(peri〇dic system management interrupt,即 peri〇dic SMI)。 依知、本發明的較佳實施例所述之電腦系統使用時間 2〇B 19488twf.doc/e 200805033 設定南㈣’使週期性中 土述m贼科間記錄方法,在—實施例 理程式,用以記錄基準使用時間並設定時間變 計此”程式亦可__基準使用時間及累 本發明由系統供應商在出貨前使用管理 =7欠,間(即基準使用時間)心 斷力ϋ统在開機狀態下接收定期發送的週期性中 二準使用時間以及累計使用時=== a糸拍基本輸出人系統設定 上述=以達到確認使用者是否曾經開機 易懂文上述和其他目的、特徵和優點能更明顧 作詳細朗如;。發明之較佳實_,並配合所附圖式, 【實施方式】 - 本發=:::二更;:瞭’以下特舉 錄方為實施例, 統使用時間記錄;=實:紹本實施例之電腦系 200805033,gb 19488twf,oc/e 的目前時間記錄為基準使用時間(步驟S110)。在這個出貨 前最後一次開機時,也必須設定一個時間變數的初始值(步 驟S115),本實施例的初始值為零。電腦系統於每一次= 機時,會由主機板的基本輸出入系統晶片取得程式碼以^ 行自我測試,並初始化各項硬體。本實施例的基本輸出入 系統使用快閃記憶體(flash memory)儲存上述的美車你 時間及其他資料。 便用 之後,當接收到事先指定的週期性中斷時,累加上 的時間變數(步驟mo),例如在每次中斷發生時將時間變 數加一。本實施例的時間變數也是儲存在基本輸出入系 的快閃記憶體中’而且本實施例使用南橋晶片的週期性系 統管理中_獻狀職性情。本實_的計時週期 ^-分鐘’若有必要可以選用其他。在統開機 後,南橋“即會定期發魏期性巾斷m統可根 接收此週期性巾斷之次數與_性情之職長度 算出累計使用時間。 σΤ 然後’在電腦韻的基本輸丨人线設定選單中頻示 基準使用時間(步驟咖卜當使用者進人基本輸出入系ς 設定選單(請參關2)時,基本如H齡讀取基準使用 時間之記錄,並將此記軸示在群下方之區塊2 , 其呈現形式例如是「年/月/日時:分:秒」。 —隶後在基本輸出入系統設定選單中’根據時間變 顯示累計使用。時間(步驟SH0)。在使用者進入基本輸出入 系統設定選科’基本輸丨人线同時會讀料間變數之 2008050332gb 19488twf.doc/e 記錄,並將此時間變數換算為累計 下,區塊21〇中(請參照圖2)。在 中 時;變數乘上週期性中斷之週期即可推算出累= ^ ,、呈現形式例如是「曰/時/分」。 值得-提的是,本發明亦提供一管理程式 f準使用咖並設定_魏的初始值。電腦純在出貨、 别可能會崎開機職,以確保電腦祕之品質。、 統出廠前系統供應射用辭理程式記錄最後 】,並且將_變數初始化,之後顯示的使料間才會= q圖3A為本發明較佳實施例之管理程式介面示意圖。 3A,圖中介面包含更新選項31()以及顯示選項 2〇。更新選項310用以更新基準使用時間並且將時間變數 =始化’右要選擇此選項則鍵入〇。此時基準使用時間合 更新為目前時間’咖變數會設定為預設的初始值,並^ 喊果訊息330。本實施例提供之管理程式亦可用以查詢 基準使用時間及累計使用時間等資訊。例如圖3B的管理 程式介面中的顯示選項320’即是用以顯示基準使用時間 及累a十使用時間,若要選擇此選項則鍵入丨。此時,基準 使用時間與累計使用時間會顯示在結果訊息33〇之區塊。 其中,顯示於結果訊息330之區塊的資訊與顯示在基本輪 出入系統設定選單之區塊210中的資訊相同。 /若使用者以電腦系統故障且電腦系統未曾開機為由 1系統供應商要求退貨。此時系統供應商可依據累計使用 時間判斷使用者是否曾經開機。事實上,即使沒有基準使 200805033, -------2GB 19488twf.doc/e 用時間的記錄’若有累計使用時間即可判斷電腦系統在出 貨之後是否f經使用,請對照以下實施例。The purpose of the number. It can be confirmed whether the user has been turned on before, to avoid consumer disputes between system manufacturers and users. With t, and other purposes, the present invention proposes a computer system to enable the above-mentioned time recording method. In the embodiment, the package provider must use the & The current time is recorded as the initial value of the reference inter-variable. After the connection, A >, daughter-in-law = after the mother two people have a periodic interruption:,; then the remnant ^ the last 'in the computer system basic transmission system settings are not based on the use of the benchmark, and according to the time variable display cumulative usage time. According to the preferred embodiment of the present invention, the computer line usage time U has been recorded to the above-mentioned current time from the real-time clock of the computer system. > The computer interrupted use time described in the preferred embodiment of the present invention has been periodically interrupted by a periodic system management interrupt of a south bridge of a computer system. , ie peri〇dic SMI). According to the invention, the computer system usage time described in the preferred embodiment of the present invention is 2〇B 19488twf.doc/e 200805033, and the method of recording the periodicity of the thief in the periodicity is described. It is used to record the reference usage time and set the time variation. This program can also be used as the reference time and the invention. The system is used by the system supplier before shipment. Management = 7 under, between (ie, reference time). In the power-on state, the periodic secondary transmission time and the cumulative use time of the regular transmission are received. === a糸 The basic output system is set to the above = to confirm whether the user has turned on the easy-to-understand text and other purposes and features. And the advantages can be more clearly considered as a detailed description; the preferred embodiment of the invention, and with the accompanying drawings, [embodiment] - the present invention =::: two more;: 'The following special record is implemented For example, the system uses the time record; = real: the computer system of this embodiment is 200805033, gb 19488twf, and the current time of oc/e is recorded as the reference usage time (step S110). At the last boot before this shipment, it is also necessary Set a time variable The initial value (step S115), the initial value of the embodiment is zero. The computer system obtains the code from the basic output of the motherboard into the system chip for each test, and initializes each hardware. The basic input/output system of this embodiment uses flash memory to store the time and other information of the above-mentioned US car. After use, when the periodic interrupt specified in advance is received, the accumulated time variable ( Step mo), for example, incrementing the time variable by one each time the interrupt occurs. The time variable of this embodiment is also stored in the flash memory of the basic input and output system' and the periodic system management using the south bridge wafer in this embodiment _Dedication of temperament. The timing of this real _ ^-minute ' If necessary, you can choose other. After the start of the system, the South Bridge "will be regularly issued a period of time, the system can receive this periodic towel. The cumulative use time is calculated for the number of times and the length of the temperament. Τ Τ Then 'In the basic rhyme line setting menu of the computer rhyme, the reference time is used. (Steps when the user enters the basic input and output system 设定 setting menu (please refer to 2), basically read as H-age The record of the reference usage time, and the axis is displayed in the block 2 below the group, and its presentation form is, for example, "year/month/day hour: minute: second". - after the basic input and output system setting menu' The time change shows the cumulative use time (step SH0). When the user enters the basic input and output system setting, the basic input line is the same as the 2008050332gb 19488twf.doc/e record, and the time variable is converted to In the middle of block 21〇 (please refer to Figure 2). In the middle time; the variable is multiplied by the period of the periodic interrupt to calculate the tired = ^, and the presentation form is, for example, "曰/hour/minute". It is to be noted that the present invention also provides a management program for quasi-use of coffee and setting the initial value of _Wei. The computer is purely shipped, and may not be able to start the job to ensure the quality of the computer. Use the lexical program to record the last], and And the _ variable is initialized, and then the displayed between the materials will be = q Figure 3A is a schematic diagram of the management program interface of the preferred embodiment of the present invention. 3A, the map mediation includes update option 31 () and display options 2 〇. Update options 310 is used to update the reference usage time and change the time variable = initialization. Right select this option and type 〇. At this time, the reference usage time is updated to the current time. The coffee variable is set to the preset initial value, and ^ yue The management program provided in this embodiment can also be used to query information such as the reference usage time and the accumulated usage time. For example, the display option 320' in the management program interface of FIG. 3B is used to display the reference usage time and use the accumulated ten. Time, if you want to select this option, type 丨. At this time, the reference usage time and the accumulated usage time will be displayed in the block of the result message 33. Among them, the information displayed in the block of the result message 330 is displayed in the basic round of entry and exit. The information in the block 210 of the system setting menu is the same. / If the user fails the computer system and the computer system has not been turned on, the system supplier requests the return. When the system supplier can judge whether the user has turned on according to the accumulated usage time, in fact, even if there is no benchmark to make 200805033, -------2GB 19488twf.doc/e use time record 'if there is accumulated usage time To determine if the computer system is used after shipment, please refer to the following examples.
>圖4繪示為本發明另一較佳實施例之電腦系統使用時 間記錄方法絲11。請參關4,首先,為—個時間變數 設定初始值(步驟S41G)。接下來,當接收到事先指定的 週期性中斷時累加此時間變數(步驟S42〇)。之後,在基本 輸出入系驗定選單中,根據時間變數顯示累計使用時間 (步驟S43G)。由於本實施例之步驟與上—實施例之步驟 S115、S120以及步驟S140相同,故不再詳述。 氣τ、上所述,本發明至少包括以下優點·· # 1·系統供應商可查詢詳細之電腦系統使用時間記錄, 藉由此記錄可_制者是否已制過電腦系統。 2:系:統供應商可藉由電腦系統的基本輸出人系統設定 k早或官理程式觀看累計制_,關斷是雜供嘗後 3.系統供助擁有管理程式,可藉以更新基準使 =以及累計使㈣料記錄。f理程式不提供給一般使用 者太所以使用者無法自行變更上述之記錄。因此可 用者與系統供應商之間的消費糾紛。 尤仗 雖然本發明已以較佳實施例揭露如上 限定本剌,任何熟習此聽者,林·本發明= ,,内,當可作些許之更動與潤飾,因此本發明之= 耗圍當視後附之申請專利範圍所界定者為準。 【圖式簡單說明】 2008050332gb 19488twf.doc/e> Fig. 4 is a diagram showing a method 11 of using a time recording method for a computer system according to another preferred embodiment of the present invention. Please refer to step 4, first, set an initial value for the time variable (step S41G). Next, this time variable is accumulated when a periodically designated periodic interrupt is received (step S42). Thereafter, in the basic input/output system verification menu, the accumulated usage time is displayed based on the time variable (step S43G). Since the steps of this embodiment are the same as the steps S115, S120 and S140 of the above-described embodiments, they will not be described in detail. The gas τ, as described above, includes at least the following advantages: • The system supplier can query the detailed computer system usage time record, thereby recording whether the computer system has been manufactured. 2: Department: The system can use the basic output system of the computer system to set k or the official program to watch the cumulative system _, the shutdown is after the miscellaneous supply. 3. The system provides the management program, which can be used to update the benchmark. = and accumulate (4) material records. The program is not available to the general user, so the user cannot change the above record by himself. Therefore, consumer disputes between the user and the system supplier.于仗 Although the present invention has been disclosed in the preferred embodiment as defined above, any of the listeners, Lin·the present invention =,, within, when some changes and retouching can be made, therefore the present invention = consumption The scope defined in the appended patent application shall prevail. [Simple description of the diagram] 2008050332gb 19488twf.doc/e
圖1繪不為本發明較佳實施例之電腦系統使用時 錄方法流程圖。 A 、2繪示為本發明較佳實施例之基本輸出人系統設定 選單介面示意圖。 圖3A及圖3B為本發明較佳實施例之管理程式介面示 意圖。 圖4繪示為本發明另一較佳實施例之電腦系統使用時 間記錄方法流程圖。 【主要元件符號說明】 S110〜S140 :流程圖步驟 210 : 區塊 310 : 更新選項 320 : 顯示遷項 330 : 結果訊息 8410^ 、S430 :流程圖步驟1 is a flow chart showing a method for recording a computer system according to a preferred embodiment of the present invention. A and 2 are schematic diagrams showing a basic output system setting menu interface according to a preferred embodiment of the present invention. 3A and 3B are schematic illustrations of a management program interface in accordance with a preferred embodiment of the present invention. 4 is a flow chart showing a method for recording time of use of a computer system according to another preferred embodiment of the present invention. [Main component symbol description] S110~S140: Flowchart step 210: Block 310: Update option 320: Display relocation item 330: Result message 8410^, S430: Flow chart step