TW201115298A - System and method for recording consumed time - Google Patents

System and method for recording consumed time Download PDF

Info

Publication number
TW201115298A
TW201115298A TW98136183A TW98136183A TW201115298A TW 201115298 A TW201115298 A TW 201115298A TW 98136183 A TW98136183 A TW 98136183A TW 98136183 A TW98136183 A TW 98136183A TW 201115298 A TW201115298 A TW 201115298A
Authority
TW
Taiwan
Prior art keywords
time
computer system
variable
memory unit
recording
Prior art date
Application number
TW98136183A
Other languages
Chinese (zh)
Other versions
TWI405071B (en
Inventor
Yu-Feng Chien
Yi-Ming Lin
Original Assignee
Universal Scient Ind Co Ltd
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 Universal Scient Ind Co Ltd filed Critical Universal Scient Ind Co Ltd
Priority to TW98136183A priority Critical patent/TWI405071B/en
Publication of TW201115298A publication Critical patent/TW201115298A/en
Application granted granted Critical
Publication of TWI405071B publication Critical patent/TWI405071B/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

A system and method for recording consumed time. One embodiment of the system includes a memory unit recording a variable related to used time, a processor, and a timer. The timer periodically announces a notice according to the expiration of a predetermined time. The processor receives the notice, updating the variable recorded in the memory unit, and rewrites the updated variable back to the memory unit. Therefore the accumulated consumed time of a device with the memory unit is able to be obtained according to length of the predetermined time and the variable recorded in the memory unit.

Description

201115298 六、發明說明: 【發明所屬之技術領域】 本發明係關於一種使用時間記錄系統及其方法,特別 涉及一種裝置累計使用時間的記錄系統及方法。 【先前技術】 電腦系統和其週邊裝置所包含的軟、硬體皆有一定的 使用年限,軟體的使用年限(如授權期限)可以經由軟體 内的程式進行追蹤和控制;但硬體設備,例如電腦主機内 的主機板、或是週邊的顯示螢幕等裝置,在產業界習知的 作法上,除了銷售硬體時在被售出的裝置上貼上購買曰期 標籤,以做為商品保固期間的起點之外,消費者幾乎沒有 其他評估所購入之硬體裝置之使用年限的方法。 义 若購買曰期標籤脫落遺失、購入的骏置為二手產口 或硬體裝置在不關域上鋪使科,更^從產;的 生產批號或特殊賴粗估裝置的歧時間。在 下,更難以記騎職I⑽被細過 ^正 確得知硬贿㈣下的使財命錢,對 :時機的使用者或負責維修的廠商而言都帶來== L發明内容】 本U之目的係於提供一種記 間的系統和方法,_電 《裝置使用 用電恥糸統週期性更新週邊裝置或 201115298 甸系、、'先本身的3己錄值’以便藉由疋時被更新的記錄值而得 知電腦相關設備累計被使用過的時間。 本發明提供一種使用時間記錄系統,適用於電腦系 其中—個實施例包括—個用以記錄與使用時間相關之 變數的記憶單元、一計時單元及一處理單元。計時單元根 據-預定時間循環地計時,並且在預定時間屆期時發出通 ,給處理單元;處理單元接㈣知簡記憶單元讀取變 數、累加變數,以及將更新後之變數寫入記憶單元,藉此 2據計時單元計時的預定時間長度及記憶單元中記錄的 =數’而獲得電腦系統或其週邊裝置已累積經過的使用時 間。 本發明另提供一種使用日车pp々東 裡·呀間3己錄方法,其中-種實施 電腦系統為啟動狀態的時間,循環地根據一預定 時間計日寸,並於預定時間屆期時發送通知;接著電腦系统 =康通知累加—記憶單元所記錄有關於使用時間白卜變 數,再將更新·寫明—記 預定時間的時間長度及畔愔g^ 丨j根撒 署了 m P 70中所記錄的變數,得知設 置了所早欲裝置已累計被使用的時間。 之進明及貫作方式’請參閱以下圖式及實施例 【實施方式】 第一圖提供一種使用陆pq — ^ 寺間圮錄糸統實施例方塊圖,本 例係以記fe電腦系統1之传 ^使用日守間為例。其中,電腦系統 201115298 1連接用以顯示資訊_示裝置2。電腦祕i包括—’ 單元12,用以記錄與電腦系統1使用時間相關的一變數, 並由.又置有4時單%刚的—邏輯控制器iG、—處理單一 14及-基本輸出人系統16共同執行更新變數之作業,^ 達到記錄電腦系統1使用時間的效果。此外,電腦系统i 還包括-存放在儲存單元18的管雜式電腦系統!201115298 VI. Description of the Invention: [Technical Field] The present invention relates to a use time recording system and method thereof, and more particularly to a recording system and method for accumulating usage time of a device. [Prior Art] The software and its peripheral devices contain a certain number of years of use, and the age of the software (such as the authorization period) can be tracked and controlled by the software program; but hardware devices, for example, A motherboard such as a motherboard in a computer mainframe or a peripheral display screen, in the industry, in addition to selling hardware, a postage label is attached to the sold device as a product warranty period. Beyond the starting point, consumers have few other ways to assess the useful life of the hardware devices they purchase. If the purchase of the expired label is lost, the purchased Jun set is the second-hand production port or the hardware device is placed on the non-closed area, and the production batch number or the special evaluation device is used. In the next, it is more difficult to remember that the riding I (10) is fined ^ correctly to know the hard money under the hard bribe (four), for: the user of the timing or the manufacturer responsible for maintenance bring == L invention content] The purpose is to provide a system and method for recording a room. The device uses the electric shame to periodically update the peripheral device or the 201115298 Dian system, and the 'first own recorded value' to be updated by the time. Record the value and know the time when the computer-related equipment has been used cumulatively. The present invention provides a time recording system for use in a computer system. One embodiment includes a memory unit for recording time-dependent variables, a timing unit, and a processing unit. The timing unit periodically counts according to the predetermined time, and issues a pass to the processing unit at the predetermined time period; the processing unit connects (4) the memory unit reads the variable, accumulates the variable, and writes the updated variable to the memory unit, Thereby, the usage time accumulated by the computer system or its peripheral devices is obtained by the predetermined length of time counted by the timing unit and the number=recorded in the memory unit. The present invention further provides a method for using the Japanese vehicle pp 々 里 · 呀 呀 , , , , , , , , , , , 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 电脑 々 々 々 々 々 Notice; then the computer system = Kang notice accumulate - the memory unit records the usage time white variable, and then updates and writes - the length of time and the time of the scheduled time g ^ 根 j roots spread in m P 70 The recorded variables are known to set the time at which the device has been accumulated for use. Please refer to the following figures and examples [Embodiment] The first figure provides a block diagram of the use of the land pq — ^ Temple Interpretation System. This example is based on the computer system 1 The pass ^ uses the day guard room as an example. Among them, the computer system 201115298 1 is connected to display the information_display device 2. The computer secret i includes - 'unit 12, which is used to record a variable related to the usage time of the computer system 1, and is set to have a 4 o'clock single-only logic controller iG, - handle a single 14 and - basic output person The system 16 collectively performs the job of updating the variables, and achieves the effect of recording the usage time of the computer system 1. In addition, the computer system i also includes a tube computer system stored in the storage unit 18!

透過官理程式18 G將計算出來的電料統1使㈣間輸出 到顯示裝置2顯示。 U 在本例中’ §己憶單元u中的變數會定時被更新,用以 累計電腦纽1已經過的使㈣間。為了定時更新變數, 設置在邏輯控制H 1G的計時單元丨⑻在電腦系統丨處於啟 動狀態時,循環地依據―預定時間的長度計時,並週期性 地於預定咖屆滿時發出通知給處理單元14,以通知處理 單元14更新§己錄在記憶單元η之變數。 邏輯控制器10係例如一南橋晶片或整合晶片組,計時 單兀100則可為南橋晶片中的看門狗計時器(Watchdog Timer)或一可程式計時器(pr〇grammabietimer)。以看門 狗计時為為例,其可根據一個預先設置在邏輯控制器⑺ 之註冊檔(registry)中的預定時間計時。當預定時間屆滿 時,看門狗計時器即發出一中斷通知,例如:系統管理中 _ (system management interrupt, SMI)至處理單元 14,使 處理單元14先儲存原本的系統狀態,並進入系統管理模式 (system management mode,SMM)。當處理單元 14 進入系 統管理模式後’先判別所接收到的系統管理中斷的類別, 201115298 再到基本輸出入系統16中讀取相應的中斷服務常式 (interrupt service丨.〇utine,肌),根據中斷服務常式的指令 執行特殊的作業。在本例中,當處理單元14接收到中斷通 知後,即先判斷出該中斷通知是由計時單元1〇()所發出, 接著於基本輸出入系統16中讀取對應的更新常式16〇加以 執行。若細可程式計時輯時,則可再進—步搭配驅動 程式以適應不同電腦系統1的作m以執行上述計時 及通知程序。 更新常式160係用於將記憶單元丨2中所記錄的變數更 新,使得變數與計時單元100計時屆滿的次數成正 1The calculated electric system 1 is outputted to the display device 2 through the official program 18G. U In this example, the variables in the unit ue will be updated periodically to accumulate the (4) between the computer and the new one. In order to periodically update the variables, the timing unit 丨 (8) set in the logic control H 1G is cyclically timed according to the length of the predetermined time when the computer system is in the activated state, and periodically issues a notification to the processing unit 14 when the predetermined coffee expires. The notification processing unit 14 updates the variables that have been recorded in the memory unit η. The logic controller 10 is, for example, a south bridge chip or an integrated chip set, and the timing unit 100 can be a watchdog timer or a programmable timer (pr〇grammabietimer) in the south bridge chip. Taking the watchdog timing as an example, it can be timed according to a predetermined time preset in the registry of the logic controller (7). When the predetermined time expires, the watchdog timer issues an interrupt notification, for example, system management interrupt (SMI) to the processing unit 14, so that the processing unit 14 first stores the original system state and enters the system management. System management mode (SMM). After the processing unit 14 enters the system management mode, the type of the system management interrupt received is first determined, and the corresponding interrupt service routine (interrupt service 丨.〇utine, muscle) is read into the basic input/output system 16 in 201115298. Special jobs are executed according to the instructions of the interrupt service routine. In this example, when the processing unit 14 receives the interrupt notification, it first determines that the interrupt notification is issued by the timing unit 1(), and then reads the corresponding update routine 16 in the basic input-output system 16. Implement it. If you can program the time series, you can use the driver to adapt to the different computer system 1 to execute the above timing and notification program. The update routine 160 is used to update the variables recorded in the memory unit 丨 2 so that the variables are positive with the number of times the timing unit 100 expires.

y N 中處理單元14根據更新常式16Q的指令,先讀取記憶單 元12中所記錄的變數,再將變數加上一定值以更新變數, 並再度將更新後的變數寫回記憶單元12當中,成為新的記 錄。 舉例而言,若欲在電腦系統丨出廠銷售後開始追蹤其 使用時間’在電腦系統1出薇之前,可由製造商端在記憶 單元12中將變數设置為〇以作為初始值。自電腦系統1 售出後首次被啟動開始,計時單元100即持續在每次電腦 系統1為啟動狀態時,根據預定時間的長度計時,每一次 預疋時間屆滿後,處理單元14即根據更新常式之指 令,從記憶單元12讀取變數,將變數加上定值(例如每次 加1),再將被更新過的變數寫入記憶單元12中取代原本 的變數。藉此,記憶單元12中的變數即會隨著預定時間屆 滿的次數而遞增,藉此可根據預設時間的長度及記憶單元 201115298 最新峨,而物腦系統丨累計經過的 器t當處‘二:職接於邏輯控制 早兀14攸5貝 '寫記憶單元12中之 係透過邏輯控制器職匯流排而存取記憶單元12。夺’ 可知’為了能物減更新記憶單元 所構的錢,記鮮元12彳_ 例如可抹时編㈣細縫(咖_)、t_;=T 可編程唯讀記憶體(醜0Μ)、快閃記憶 2 m_ry)f,以利處理單元14重覆存取㈣ ^ 系統1關閉後仍保留記憶單元12中的記錄。 隹電月匈 為了便於得知電腦系統1已經過的使用時間,處理 兀14可讀取儲存在儲存單元18 (如硬碟)中的管 ⑽’利用官理程式的指令,根據預定時間的長度及:己 憶^元12、所記錄的最新的變數,計算出電腦系統1累計使 用日守間’威將計算結果輸㈣㈣裝置2加以顯示。 7如:處理單元14根據管理程式18〇之指令,自邏輯 控制器10的註冊檔讀取出預定時間為5分鐘,即計時單元 1〇〇母隔5分鐘就會通知處理單元14將變數更新一次,並 且從記憶單元12巾到變數為⑶,即可計算出電腦系 統1自開始被追蹤使用時間時起,已經過了 600分鐘。 除了記錄電腦系統本身之使用時間外,第二圖還提供 -種以週邊褒置為例的使用時間記錄系統實施例的方塊 201115298 圖。在本例中包含一個週邊裝置3及用於更新週邊裴 之記錄的電腦系統la。週邊裝置3設置有一 、置3 叱丨思早元3〇, 用以記憶與週邊裝置3使用時間相關的變數。電腦二会 則包括了具有計時單元100的邏輯控制器1〇、片’'''' a ,. k理嚴i Η,以及存放了更新常式160的基本輸出入系統Μ。、 裝置3可為設置有記憶單元3G的顯稀置或條㈣= (bar code scanner)等設備。 田為 時’記憶單元 流排而連結到The processing unit 14 in y N first reads the variables recorded in the memory unit 12 according to the instruction of the update routine 16Q, adds a certain value to the variable to update the variable, and writes the updated variable back to the memory unit 12 again. , become a new record. For example, if the computer system is to be tracked after the factory is sold, the usage time will be set to ’ before the computer system 1 is turned on, and the variable can be set to 〇 in the memory unit 12 as the initial value by the manufacturer. Since the computer system 1 is started for the first time after being sold, the timing unit 100 continues to count according to the length of the predetermined time each time the computer system 1 is in the startup state, and after each expiration of the preview time, the processing unit 14 is updated according to the update. The instruction reads the variable from the memory unit 12, adds a fixed value to the variable (for example, increments by one), and writes the updated variable to the memory unit 12 instead of the original variable. Thereby, the variable in the memory unit 12 is incremented according to the number of times the predetermined time expires, whereby the length of the preset time and the latest time of the memory unit 201115298 can be obtained, and the accumulated brain device 当 is everywhere. Second, the system is connected to the memory unit 12 in the write memory unit 12 to access the memory unit 12 through the logical controller job bus. In order to be able to reduce the money constructed by the memory unit, remember that the fresh element is 12彳_ for example, it can be erased (4) fine seam (coffee_), t_;=T programmable read-only memory (ugly 0Μ), Flash memory 2 m_ry)f, in order to facilitate the processing unit 14 to repeatedly access (4) ^ The record in the memory unit 12 remains after the system 1 is turned off. In order to facilitate the knowledge of the elapsed usage time of the computer system 1, the processing unit 14 can read the tube (10) stored in the storage unit 18 (such as a hard disk) using the instructions of the official program, according to the length of the predetermined time. And: I have recalled the latest variables of the 12th, and calculated the computer system 1 cumulative use of the day-to-day sputum calculation results (4) (4) device 2 to display. 7: The processing unit 14 reads the predetermined time from the registration file of the logic controller 10 for 5 minutes according to the instruction of the management program 18, that is, the timing unit 1 is notified to the processing unit 14 to update the variable 5 minutes. Once, and from the memory unit 12 to the variable (3), it can be calculated that the computer system 1 has passed 600 minutes since the start of the tracking time. In addition to recording the time of use of the computer system itself, the second figure also provides a block diagram of the 201110298 block of an embodiment of a time recording system using peripherals as an example. In this example, a peripheral device 3 and a computer system la for updating the records of the peripheral ports are included. The peripheral device 3 is provided with a set of 3 叱丨思早元3〇 for memorizing variables related to the usage time of the peripheral device 3. The second session of the computer includes a logic controller 1 having a timing unit 100, a slice '''' a, a k-throat, and a basic input-output system in which the update routine 160 is stored. The device 3 may be a device such as a thin strip or a bar code scanner provided with the memory unit 3G. Tian Weishi’s memory unit is connected to

當週邊裝置3電性連接到電腦系統la 30透過系統管理匯流排或内部整合電路匯 邏輯控制器10。 如前一實施例所述,計時單元100在電腦系統&處於 啟動狀態時’會循環地依據預定時間計時,並在每次^定 時間屆滿時發通知給處理單元14。基本輸出人系統= 中的不同位址存放對應不同中斷的中斷服務常式,在本例 中,主要即包括對應於計時單元1〇〇所發出之中斷通知的 更新常式160。處理單元14每次接收到計時單元1〇〇發出 的中斷通知後,即會開始根據更新常式16〇的指令,^由 邏輯控制器1G及匯流排讀取週輕置3之記憶單元3〇所 記錄的變數’將變數累加上—定值後,再將更新過的變數 經由邏輯控制器10寫回週邊裝置3;最後並使計時單元1〇〇 重新計時。藉此,只要it邊I置3連接在電腦系統la上, 即可經由記憶單元30中的變數及計時單元1〇〇計算的預定 時間而得知週邊裝置3在電腦系統la啟動後所經過的使用 時間。 201115298 此外,本實施例中的記憶單元3〇亦如前-實施例所 述’採用非揮發性記料元來保存:祕,因此即使電腦系 統h關暖再啟動、或是將週邊裝置3與電齡統^分 離後與具有相同架構的另—電腦系統連接(例如:將待測 的顯示裝置從-主機卸除後再連接到另—主機),記憶單元 30中的义數仍可接續先前已被記錄的變數繼續累加,以獲 得正確的資訊。 相同地本例中的電腦系統la也在儲存單元Μ中存 放了管理程式180。當處理單元14接收電腦系統u操作 ί之命令時,可讀取管理程式⑽的指令,分別根據記憶 早兀30,情記錄的魏與賴控繼1()巾般的預定時 間。十开出週邊衣置3到最後一次更新記錄時所累積經過 的使用時間’並可進—步將結果―在顯示裝置上。 透過上述範例而記錄電腦系統或週邊裝置之使用時 間,可簡便地在電腦系統或裝置工作期間準^追縱其已經 過的使用時間。由於電腦系統中的組就件或各項硬體裝 置皆有-定的使料限’因此’記錄與電腦系統搭配運作 的裝置、或電腦彡統本身已被使㈣賴,有助於使用者 及製造商追蹤維修或汰換時機。 上述實施例所述的電腦系統i及la皆可為銷售端點系 統。請參閱第三圖所示的—種銷售端點(ρ· 〇f恤, P0S)架構7F意圖,其中包括銷售端點系統主機4〇a到 40c ’每一銷售端點系統主機他到*各連接一顯示裝 置42a到42c及一條碼掃描器他到44c,分別用於顯示 201115298 及輸入銷售資訊。 銷售端點系統主機4〇a中具有如第一圖所示之電腦系 統1之元件’其中包括記憶單元400,用以記錄主機4〇a 在買場或超市等銷售端點被操作使用的時間長度。而顯示 裝置42b及條碼掃描器44c則如同上述第二圖所示實施例 的週邊裝置3,分別在裝置内設置了記憶單元42〇及44〇, 以便透過銷售端點系統主機4〇b及40c記錄該等装置被使 用的時間。待測之裝置及電腦系統的使用時間可透過管理 程式顯示在顯示裝置42a到42c上,以供使用者或管理者 判讀。為便於說明及簡化圖式,第三圖中各主機撕到 40c中的元件,其記錄及更新的手段請分別參照第一圖及 第二圖所示的電腦系統1及la。 除了可在銷售端點系統主機術到♦分別檢閱記憶 系統或裝置的使用時間外’為了方便銷售端點系統使用者 (賣場經營者)管理其所擁有的多數銷售端點系統主機, 如第三圖所示,銷售端點系統主機4 〇 a到4 〇 C經由有線或 無線方式與遠端的管理令心46連結,管理中心恥可利用 相容的管理介面,例如視窗管理介面( Management Interface,WMI)遠端監控、管理前端所有主 機4㈣40c及週邊裝置(顯示裝置或條碼掃描器)的使 用時間。 管理者可根據被記錄的使用時間來評估是否編列添麟 設備的預算、鎖售端點主機或顯示裳置、掃㈣的事造商 則可根擄已經過的㈣時間判斷所述設備是否仍在保固期 201115298 間,藉此可減少維修服務所產生的困擾和糾紛。 第四圖提供一種使用時間記錄方法實施例之流程圖, 其係用以測試一種設置有記憶單元之週邊裝置或電腦系統 的使用時間,所述的記憶單元用以記憶與電腦系統或週邊 裝置已經過之使用時間相關的變數。以下說明以週邊裝置 之使用時間為例,請一併參照第二圖所示之方塊圖。 在本例中’電腦系統la啟動後(S501 ),計時單元1〇〇 就開始根據固定長度的一預定時間計時(S503),並依據 經過的時間判斷預定時間是否已屆期(S5〇5),若預定時 鲁 間尚未屆滿即根據步驟S5〇3繼續進行計時;若計算到預 定時間已屆期,計時單元1〇〇即發送出一中斷通知至處理 單元 14 (S507)。 處理單元14接收到中斷通知後,即執行記錄週邊裝置 3之使用時間的程序:首先先讀取記憶單元3〇所記錄的變 數(S509);接著將讀取到的變數按照一定值進行累加 (S511),例如將變數值加丨;再將累加後的變數寫入記憶 單元30取代原變數(S513) ’以更新記憶單元3〇中的記 · 錄。處理單元14係讀取存放於基本輸出入系統16中對應 於中斷通知的更新常式160,並根據更新常式16〇之指令 以執行述的更新及記錄程序。 為了持續記錄週邊裝置3的使用時間,處理單元14 將更新過的變數寫入記憶單元30 (即步驟S5n)之後, 將計時單元1〇〇中表示預定時間已屆期的記錄清除 (S515),例如清除看門狗計時器因溢位而設置的旗標 12 201115298 (flag) ’使計時單元100返回步驟S5〇3重新起算,及執 行步驟S503以下的程序,產生週期性地更新記憶單元3〇 所記錄的變數之效果,以準確追蹤週邊裝置3之使用時間。 另外,當處理單元14執行步驟S513以更新記憶單元 30中的變數後,為了便於使用者得知週邊裝置3的使用時 間,可透過管理程式18〇依據記憶單元3中記錄的變數及 計時單元100所計數的預定時間,計算出週邊裝置3〇已經 過的使用時間(S517),並將計算結果輸出到顯示裝置上When the peripheral device 3 is electrically connected to the computer system la 30 through the system management bus or the internal integrated circuit sink logic controller 10. As described in the previous embodiment, the timing unit 100 periodically cycles through the predetermined time when the computer system & is in the activated state, and notifies the processing unit 14 when each predetermined time expires. The different addresses in the basic output system = store the interrupt service routines corresponding to different interrupts. In this example, the update routine 160 corresponding to the interrupt notification issued by the timing unit 1 is mainly included. Each time the processing unit 14 receives the interrupt notification issued by the timing unit 1 , it will start to follow the instruction of the update routine 16 , and the memory unit 3 is read by the logic controller 1G and the bus bar. After the recorded variable 'adds the variable' to the fixed value, the updated variable is written back to the peripheral device 3 via the logic controller 10; finally, the timing unit 1 is re-timed. Therefore, as long as the I side 3 is connected to the computer system la, the predetermined time calculated by the memory unit 30 and the timing unit 1〇〇 can be used to know the past device 3 after the computer system la is activated. usage time. In addition, the memory unit 3 in the present embodiment is also stored as a non-volatile recording element as described in the previous embodiment. Therefore, even if the computer system h is turned off and then restarted, or the peripheral device 3 is After the battery is separated, it is connected to another computer system with the same architecture (for example, the display device to be tested is removed from the host and then connected to the other host), and the number in the memory unit 30 can still be connected. The variables that have been recorded continue to accumulate to get the correct information. Similarly, the computer system la in this example also stores the management program 180 in the storage unit. When the processing unit 14 receives the command of the computer system u operation ί, the command of the management program (10) can be read, respectively, according to the memory of the early 30, and the record of the Wei and Lai control is followed by a predetermined time of 1 (). Ten out of the surrounding clothes 3 to the last time the record was accumulated when the last time the record was recorded, and the result can be entered on the display device. By recording the usage time of the computer system or peripheral devices through the above examples, it is easy to track the elapsed usage time of the computer system or device during operation. Since the group in the computer system or the various hardware devices have a certain limit, so the device that records the operation with the computer system, or the computer system itself has been made (4), which helps the user. And the manufacturer tracks the timing of repairs or replacements. The computer systems i and la described in the above embodiments may all be sales endpoint systems. Please refer to the third-figure sales point (p· 〇 f-shirt, P0S) architecture 7F intent, including the sales endpoint system host 4〇a to 40c 'each sales endpoint system host he to * each A display device 42a to 42c and a code scanner are connected to 44c for displaying 201115298 and inputting sales information, respectively. The sales endpoint system host 4A has an element of the computer system 1 as shown in the first figure, which includes a memory unit 400 for recording the time when the host terminal 4 is operated at a sales terminal such as a shopping mall or a supermarket. length. The display device 42b and the barcode scanner 44c are similar to the peripheral device 3 of the embodiment shown in the second embodiment, and the memory units 42 and 44 are respectively disposed in the device for transmitting the terminal system hosts 4〇b and 40c. Record the time at which the devices were used. The usage time of the device to be tested and the computer system can be displayed on the display devices 42a to 42c through the management program for interpretation by the user or the administrator. For convenience of explanation and simplification of the drawings, each host in the third figure tears the components in 40c, and the means for recording and updating are respectively referred to the computer systems 1 and 1a shown in the first and second figures. In addition to the ability to monitor the memory system or the device's usage time, respectively, in order to facilitate the sale of the endpoint system user (store operator) to manage most of the sales endpoint system hosts it owns, such as the third As shown, the sales endpoint system host 4 〇a to 4 〇C is connected to the remote management authority 46 via wire or wireless, and the management center can utilize a compatible management interface, such as a management interface (Management Interface, WMI) Remotely monitors and manages the usage time of all hosts 4 (4) 40c and peripheral devices (display devices or barcode scanners). The manager can evaluate whether to list the budget of the Timing equipment, the host of the lock terminal or the display of the skirt, and the manufacturer of the sweep (4) according to the recorded usage time, and judge whether the device is still based on the time (4) that has passed. During the warranty period 201115298, the troubles and disputes caused by the repair service can be reduced. The fourth figure provides a flow chart of an embodiment of a time recording method for testing the usage time of a peripheral device or a computer system provided with a memory unit for memorizing with a computer system or peripheral device. Time-dependent variables that pass through. The following is an example of the use time of the peripheral device. Please refer to the block diagram shown in the second figure. In this example, after the computer system la is started (S501), the timing unit 1 starts counting a predetermined time according to a fixed length (S503), and judges whether the predetermined time has expired based on the elapsed time (S5〇5). If the time between reservations has not expired, the timing is continued according to step S5〇3; if it is calculated that the predetermined time has expired, the timing unit 1 sends an interrupt notification to the processing unit 14 (S507). After receiving the interrupt notification, the processing unit 14 executes a program for recording the usage time of the peripheral device 3: first, the variables recorded by the memory unit 3 are read first (S509); then the read variables are accumulated according to a certain value ( S511), for example, the variable value is added; the accumulated variable is written to the memory unit 30 instead of the original variable (S513)' to update the record in the memory unit 3A. The processing unit 14 reads the update routine 160 corresponding to the interrupt notification stored in the basic input/output system 16, and executes the update and recording program according to the instruction of the update routine 16〇. In order to continuously record the usage time of the peripheral device 3, the processing unit 14 writes the updated variable to the memory unit 30 (ie, step S5n), and clears the record indicating that the predetermined time has expired in the timing unit 1 (S515), For example, the flag 12 201115298 (flag) is set to clear the watchdog timer due to overflow. The timing unit 100 returns to step S5〇3 to restart, and the program below step S503 is executed to generate the memory unit 3 periodically. The effect of the recorded variables to accurately track the usage time of the peripheral device 3. In addition, after the processing unit 14 performs the step S513 to update the variables in the memory unit 30, in order to facilitate the user to know the usage time of the peripheral device 3, the management unit 18 can be used to record the variables and timing unit 100 recorded in the memory unit 3. The predetermined time counted, the usage time of the peripheral device 3〇 is calculated (S517), and the calculation result is output to the display device.

顯示(S519)或是傳送到管理中心(S521)以供管理端人 員監控。 在電腦系統la啟動之前’可先將週邊裝置3透過匯流 排與電齡統la連接,以便於電腦系統la啟動後,處理 單元14可以隨時讀取到記憶單元3〇巾的變數。而記憶單 兀30中之變數則可預先設置一初始值。 、本實施例中所述的週邊裝置,除了如第二圖之實施例 所述’係為-透過g流排而連接於電齡統丨a的顯示裝置 或條碼掃描器之外;電腦系統本身,例如—銷售端點系統 主機’亦可在設置用以存放變數的—記憶單元後,婉由上 述手段記錄f腦祕倾已經過的使㈣間(請參照第一 根據上述各實施例所揭示用以記錄電腦系統或週邊裝 ⑽手段,週雛計時的方式,可準確地記 邊裝置或電腦系統本身自出廠後(或其他預設 勺土準日_祕)所經補制日㈣;尤其是可與電腦系 201115298 ’’充刀離的週邊裝置,如上述的顯*裝置或條碼掃描器等, 即使該等週邊裝置從原先所連接的電腦系統分離,再連結 到具有相同架構的另一電腦系統,週邊裝置的使用時間仍 可正確地持_記錄下去,以利使用者及銷售廠商根據裝置 的使用壽命及其已㈣的時間,進摘置或維修設備的評 估。 然而,上述各實施例當中之項目及元件,僅係為闡述 本發明所舉之例示,並無自限所請求保護之範圍之意圖。 凡遵循本判之精概根據本發明所揭示之技術手段,而 進行微&之修飾錢變者,耗本發明所保護之範脅。 【圖式簡單說明】 第圖.本發明所提供一種使用時間記錄系統實施例方塊 圖; 第-圖.本發明所提供—種使科間記齡統實施例方塊 圖; 第—圖·本發明所提供-種銷售端料、統雜實施例示意 圖;及 第四圖.本發明所提供—種使科間記錄方法實施例流程 圖。 【主要元件符號說明】 1,la電腦系統 10邏輯控制器 201115298 100計時單元 12記憶單元 14處理單元 16基本輸出入糸統 160更新常式 18儲存單元 180管理程式 2顯示裝置 • 3週邊裝置 30記憶單元 40a-40c銷售端點系統主機 42a-42c顯示裝置 44a-44c條碼掃描器 400, 420, 440記憶單元 , 46管理中心 S501-S521流程步驟 15The display (S519) is either transmitted to the management center (S521) for monitoring by the management personnel. Before the computer system la is started, the peripheral device 3 can be connected to the electric age system through the bus bar, so that the processing unit 14 can read the variables of the memory unit 3 at any time after the computer system la is started. The variable in the memory unit 30 can be preset with an initial value. The peripheral device described in the embodiment is other than the display device or the bar code scanner connected to the electronic age system a through the g-flow row as described in the embodiment of the second figure; the computer system itself For example, the "sales terminal system host" may also be used to record the variable-memory unit, and the above-mentioned means may be used to record the interim (4) that has been passed by the above-mentioned means (please refer to the first embodiment according to the above embodiments. The method used to record the computer system or peripheral equipment (10), the timing of the chronograph, can accurately record the date of the device or the computer system itself after the factory (or other preset scoops _ secret) (4); It is a peripheral device that can be separated from the computer system 201115298, such as the above-mentioned display device or barcode scanner, even if the peripheral devices are separated from the originally connected computer system, and then connected to another device having the same architecture. In the computer system, the usage time of peripheral devices can still be correctly recorded, so that users and vendors can evaluate the equipment for picking up or repairing equipment according to the service life of the device and the time (4). However, the items and elements of the above-described embodiments are merely illustrative of the invention and are not intended to limit the scope of the claimed invention. And the modification of the micro & money, the protection of the threat of the invention. [Simplified description of the drawings] Figure 1. The present invention provides a block diagram of an embodiment of the use of time recording system; The present invention provides a block diagram of an embodiment of the inter-class ageing system; a drawing of the present invention provides a schematic diagram of a sales end material and a mixed embodiment; and a fourth drawing. Method flow chart of the method embodiment [Description of main component symbols] 1, la computer system 10 logic controller 201115298 100 timing unit 12 memory unit 14 processing unit 16 basic output system 160 update routine 18 storage unit 180 management program 2 display device • 3 peripheral devices 30 memory units 40a-40c sell endpoint system hosts 42a-42c display devices 44a-44c barcode scanners 400, 420, 440 memory units, 46 management center S501-S521 process steps Step 15

Claims (1)

201115298 七、申請專利範圍: 種使用%間記錄系統,適用於一電腦系統,包括. 一記憶單元’用以記錄與使用時__一 .· 一計時單元,交要疋, 依據-錢域她狀_,循環地 通知;^ 時’並於該預定時間屆期時發出一 一,理=元’接收該通知叫據—更财式更新該記憶 早凡所§己錄之該變數。 , • ^申二專利_第i項述之使㈣m 電腦系統更包括: 凡八甲》亥 =本輪出m該更財式魏於該基本輸出入系 3::=:項所述之使料_統,其1 一:^制器,該計時單元設置於該邏輯控制器,該邏 輯控制器控制該記憶單元。 ~ 4. =申請專利範圍第3項所述之使用時間記錄系m 该計時單元係為—看n狗計時器或—可程式計時^ 5. 如申料利翻第〗項所述之使用時間記錄系I其中, 5亥處理早凡根據該更新常式讀取該記憶單元之該變數,累 加該變數,將累加後之該變數寫入 _ 時單元重新計時。 ⑽H及使料 6·如申請專利範圍第】項所述之使用時間記錄系統,且中, 該記憶單元設置於該電腦系統之—週邊裝置,該週邊裝置 16 201115298 連接於該電腦系統。 7. 如U利㈣第6項所述之使料間記錄祕,其中, 5玄週邊裝置係為一顯示裝置。 8. 如申請專利範圍第所述之使用時間記錄系統,其中, 5亥s己憶裝置設置於該電腦系統。 9. Γ申請,範圍第1項所述之使用時間記錄系統,其中, X十時單元%出之g亥通知係為—系統管理中斷。201115298 VII. Patent application scope: The use of the inter-recording system is applicable to a computer system, including. A memory unit is used for recording and use. __一.· A timing unit, hand in hand, according to - Qian domain she Form _, cyclically notify; ^ when 'and at the time of the scheduled time to issue one, the rational = yuan 'receive the notice called the data - more financially updated the memory of the § recorded. , ^ ^ 2nd patent _ i item described in (4) m computer system further includes: Where the Bajia "Hai = this round out m the more financial formula Wei in the basic output into the system 3:: =: The device is configured to the logic controller, and the logic controller controls the memory unit. ~ 4. = The application time record mentioned in item 3 of the patent application scope is m. The timekeeping unit is - see the n-dog timer or - programmable timing ^ 5. The usage time as stated in the claim In the recording system I, the variable is read by the variable according to the update routine, and the variable is accumulated, and the accumulated time is written to the unit when the accumulated variable is re-timed. (10) H and make-up material 6. The use time recording system as described in the scope of the patent application, wherein the memory unit is disposed in a peripheral device of the computer system, and the peripheral device 16 201115298 is connected to the computer system. 7. As described in Item 6 of Uli (4), the device is recorded as a display device. 8. The use time recording system as described in the scope of the patent application, wherein the 5Hs memory device is disposed in the computer system. 9. ΓApplication, the time recording system described in item 1 of the scope, wherein the X-hour unit is the system management interruption. 1〇\如申請專利範圍第1項所述之使用時間記錄系統,其中, 该更新常式係為一中斷服務常式。 如申請專利範圍第i項所述之使用時間記錄⑽, 該電腦系統更包括: /、T '官王里程式,儲存於該電腦系統之—儲存單心根據該 ^數及該狀時間以獲得該週邊裝置的—使用時間; &quot;t該處理單7&quot;根據該管理程式讀取該變數及該預定 時間,以計算出該使用時間。 頂疋 12·Π:!利範圍第1項所述之使用時間記錄系統,其中, /口己隐皁元係為一非揮發性記憶單元。 13·=請專利範圍第1項所述之使用時間記錄系統,1中, w亥電腦系統係為一銷售端點系統。 /、 14.—種使用時間記錄方法,包括: 當 統為啟動狀態之期間,循環地根據— 間計時,並於該預定時間屆期時發送一通知.. 該電腦系統根據該通知,累加— - , 時間相關之-變數;及 所記錄與使用 17 201115298 將更新後之該變數寫入該記憶單元。 15. 如申請專利範圍第14項所述之使用時間記錄方法,立 中,該計時單元發送該通知之步驟前,包括. 啟動該電腦系統。 · 16. 如申請專利範圍第15項所述之使用時 中,啟動該電腦系統之步驟前,包括: 、’’、/ 連接設置有該記憶單元之—週邊 A如申請專利範㈣14項所述之使系統。 令’該計時單元發送該通知之步驟前,包^己錄方法’其 啟動δ又置有該記憶單元之該電腦系統。 申請專利範圍第14項所述之使用時間 立 通知,及根據該通知開始執行-更新 根據該更新常式讀取該記憶單 累加該變數以更新該變數。 1數,及 返回循環根據該預包括: 發送該通知之步驟執行。 …預疋時間屆滿時 20:申請專利範圍第14項 令,將更新後之該變數用時間兄錄方法,其 根據該變數及C元之步驟後,包括: 又子間汁异—使用時間。 201115298 21. 如申請專利範圍第2〇 飞計:該使用時間之步驟後,更間記錄方法,其 ,’具不S亥使用時間。 22. 如申請專利範圍第 令,計算該使用時間之Γ所述之使用時間記錄方法,其 傳送該使用時間至ϋ驟後,更包括: 官理中心,以監控該使用時間。1〇\ The use time recording system as described in claim 1 of the patent application, wherein the update routine is an interrupt service routine. For example, the usage time record (10) described in the scope of claim patent, the computer system further includes: /, T 'guan Wang mileage type, stored in the computer system - the storage unit is based on the number and the time to obtain The usage time of the peripheral device; &quot;t the processing order 7&quot; reads the variable and the predetermined time according to the management program to calculate the usage time. Top 疋 12·Π: The use time recording system described in item 1 of the benefit range, wherein the / crypto soap element is a non-volatile memory unit. 13·=Please use the time recording system described in item 1 of the patent scope. In 1, the computer system is a sales endpoint system. /, 14. - Use time recording method, including: During the period of the startup state, cyclically according to the inter-time, and send a notification at the predetermined time period. The computer system accumulates according to the notification - - , time related - variable; and recorded and used 17 201115298 The updated variable is written to the memory unit. 15. If the time recording method described in claim 14 is applied, the timing unit sends the computer system before the step of transmitting the notification. · 16. In the use of the application as described in item 15 of the patent application, before the step of starting the computer system, including: , '', / connection is provided with the memory unit - peripheral A as described in the application for patent (4) Make the system. Before the step of transmitting the notification by the timing unit, the method </ RTI> </ RTI> </ RTI> </ RTI> procuring the δ and the computer system of the memory unit. The application time specified in item 14 of the patent application is notified, and the execution is started according to the notification-update. The memory sheet is read according to the update routine. The variable is accumulated to update the variable. The 1 number, and the return loop are performed according to the pre-included: the step of sending the notification. ... When the expiration time expires 20: Apply for the scope of the patent, the 14th order, the updated variable will be recorded in the time, according to the variable and the C-factor step, including: 201115298 21. If the patent application scope is 2nd, the flight meter: after the time of use, the method of recording is further recorded, and the time is not used. 22. If the scope of the patent application is calculated, the method of recording the time of use described in the calculation of the time of use, after transmitting the time of use to after the step, further comprises: a government center to monitor the time of use.
TW98136183A 2009-10-26 2009-10-26 System and method for recording consumed time TWI405071B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98136183A TWI405071B (en) 2009-10-26 2009-10-26 System and method for recording consumed time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98136183A TWI405071B (en) 2009-10-26 2009-10-26 System and method for recording consumed time

Publications (2)

Publication Number Publication Date
TW201115298A true TW201115298A (en) 2011-05-01
TWI405071B TWI405071B (en) 2013-08-11

Family

ID=44934390

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98136183A TWI405071B (en) 2009-10-26 2009-10-26 System and method for recording consumed time

Country Status (1)

Country Link
TW (1) TWI405071B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI790440B (en) * 2020-05-11 2023-01-21 致茂電子股份有限公司 Electronic component testing system and time certification method
TWI842025B (en) * 2022-07-25 2024-05-11 大陸商集創北方(珠海)科技有限公司 Method and device for updating equipment cumulative usage time

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8392243B2 (en) * 2005-10-12 2013-03-05 Catalina Marketing Corporation Integrated POS computer system
US20080104704A1 (en) * 2006-10-27 2008-05-01 Ravikumar Mohandas Security for physically unsecured software elements
US20080250164A1 (en) * 2007-04-04 2008-10-09 Jaan-Huei Chen Recording multimedia data on removable storage device
US20080291023A1 (en) * 2007-05-24 2008-11-27 Microsoft Corporation RFID Discovery, Tracking, and Provisioning of Information Technology Assets

Also Published As

Publication number Publication date
TWI405071B (en) 2013-08-11

Similar Documents

Publication Publication Date Title
TWI519945B (en) Server and method and apparatus for server downtime metering
JP2014021678A (en) Information processing apparatus, and control method for the same
TW201415213A (en) Self-test system and method thereof
TW201405303A (en) System and method for monitoring baseboard management controller
US20140229754A1 (en) Power telemetry remote monitoring
TW201115298A (en) System and method for recording consumed time
JP4931213B2 (en) History recording device
JP2009238211A (en) Information processing apparatus and elapsed time measurement method
US7187626B2 (en) Method and apparatus for tracking usage of a multi-functional electronic device
EP3756100A1 (en) Data collection to monitor devices for performance
JP5185918B2 (en) Electronic device and program
US20070028124A1 (en) Measuring power-on-time in data processing systems
TW201020766A (en) Watchdog circuit capable of preserving information and the reset information preserving method thereof
JP2016058048A (en) Facility management device, and facility management method
WO2018138798A1 (en) Computer device, task initiation method, and task initiation program
JP2019138713A (en) Timer measuring device, electronic timepiece, timer measurement method, and program
CN102063364A (en) Service time recording system and recording method
JP2003270371A (en) Clock device in computer system
TW200805033A (en) Method for recording use time of a computer system
JP7136175B2 (en) Data processing device, electronic equipment, data processing method and program
JP5789112B2 (en) Information management system and information management program
JP2010020357A (en) Information processing apparatus and method of recording use start date thereof
JP2002015207A (en) Advertisement management system, device, system, and method for advertisement display, and recording medium
US20120188851A1 (en) Electronic apparatus, timepiece device, pedometer, and program
JP4699809B2 (en) Time delivery system