1283829 的資料模式是固定的 D —、 原有之SMI處理程式進置=提供使用者根據實際需求對 因此,如何開夢 闌截或加入等處理動作。 些控制以符合使用㈣處理程式做 ,為此相關研發領域所需迫切面臨之=制糸統及方法, 【發明内容】 、 為解決上述習知技 提供-種中斷控制系統及方法‘·,’ 要目的在於 從而符合使用者之實際需求。_乍業更具莖活性, *,提供-種中斷控制系統及* 以提升其應用價值中斷作業進行監控及糾錯處理, 為達上述及其他目的,本 統及方法。該中斷控^ρ &供一種中斷控制系 ,俾供設置特定之中斷控制指令之以提置介面, 儲存區及第二資料儲存區,:早第一資料 有中斷控制程式之儲μ…弟—貝料儲存區中儲存 存單元電性連,以及分別與該設置單元及儲 接之巾央處理單元,其心 ==的中斷控制指令儲存至該第二資料儲= 、’執灯储存於該第一資料儲存區之中斷控制程式,以 =::ΓΓ據該特定之中斷控制指令執行相應 式運仃於该電子設備之作業系統中。該中斷服務系統係藉 18510 6 1283829 =系統管❹斷處理程式(SMlHan(Her)處 程式中。該系統復包括用二;於=^^ =程式wdler)之編輯單元。該特定:;:: 1曰令係有包括系統管理中斷處理程式之禁能、致处 ::性禁能、週期性致能、以該用戶管理中斷;置: =系統管理中斷處理程式中、自該系統管理中二' 之中斷處理指令係於關閉該電子設備後二广 央處理單元係透過該中斷控制程式對該電子設備 知入輸出(I/O)端口執行寫入操作以觸發 斷控制,式控制該中斷服務系統執行相應中二 Μ δ玄中斷服務系統會產生用以顯示 之回應碼於該中斷控制程式。該中央處理二;執灯狀况 η =統接收執行-中斷訊號時或該執行—符合 糾令所定義之規則的作⑽,即啟動該中斷控制程式。 =斷控制方法包括首先’儲存中斷控制程式 ==區中;其次’顯示一設置介面,俾供設置特定之 工制指令’亚儲存該特定之中斷控制指令至第二資料 二區中;以及最後執行儲存於該第一資料儲存區之中斷 式’以控制該中斷服務系統依據該特定之中斷控制 行相應之中斷處理作業。其中’該中斷控制系統係 ‘、、、應用程式運行於該電子設備之作業系統中。該中斷 18510 1283829 =統:藉由一系統管理中斷處理程式⑽一) 二里=曙’且該系統管理中斷處理程式係嵌設於 中斷處理程式(一ndler),並將該用戶管 理私式儲存於該第二資料儲存區。兮〜 係有包括系統管理中斷處理程式之;二斷控制指令 能、、H h 不此、致旎、週期性禁 管理Ϊ二t能:以該用戶管理中斷處理程式置換該系統 •:二=Γ、將該用戶管理中斷處理程式添加至該 糸、,先s理中畊處理程式中、自該系統管理 刪,用戶管理中斷處理程式。該中胃 程式對該電子設備之輸入輸出(1/㈠端口執行 斷^作以觸發-中斷訊號。於該中斷控制程式 ^務祕執行彳目應情處理作⑽,該情服務系統會 f生用以顯示其當前執行狀況之回應碼於該中斷控制程 二::央處理單元係於該中斷服務系統接收執行一中斷 馨^虎㈣執行一符合該中斷控制指令所定義之規則的作举 4,即啟動該中斷控制程式。 ’、 本發明之中斷控制系統及方法係透過建立一用以控 制中斷服務系統之中斷控制系統,俾對該系統管理中斷處 ==中斷處理的相關控制管理,以令系統管理中斷 作業付5使用者之實際需要。 【實施方式】 以下係藉由特定的具體實施例說明本發明之實施方 式’熟悉此技藝之人士可由本說明書所揭示之内容輕易地 18510 8 1283829 明之其他優點與功效。本發明亦可藉由其他不同 ^肢貫例加以施行或應用,本說明書中的各項細節亦可 土 ;不同硯點與應用,在不悖離本發 修飾與變更。 砰卜進订各種 該f 1圖係為本發明之中斷控制系統1〇之基本架構 =塊^圖。如圖所示,本發明至中斷控制系統u係應用 於一電子設備1 ,如個人雷腦、箬 们人兒月自聿记型電腦、個人數位助 丨統2。:tW’於該電腦設備1中具有一中斷服務系 、洗20。本备明之中斷控制系統1 〇係用以控制該中斷服務 糸統20依據一預設之中斷控制指令,執行相應的中斷控制 作業。於本案中,該中斷服務系、統20係透過一運行於BI〇s 程式中之系統管理中斷處理程式(SMI Handler) 21執行 相關中斷處理作業。而該中斷控制系統1()係為—應用程式 運订於。亥电子设備!之作業系統中,如win_s系統以及 廳系統等。當該電子設備i自電源啟動並進入開機模式 f後’即以BIOS完成自我開機測試(p〇wer 〇n Self Testii^, POST),藉以將該系統管理中斷處理程式21載入記倩體之 指定位置中,且接著進入該作業系統,並藉由該中斷控制 系統10俾對該系統管理中斷處理程式21進行控制。 該中斷控制系統10係包括一儲存單元1〇1、一編輯單 元11、設置單元12以及一中央處理單元13。在此須提出 說明的是,該中斷控制系統10另具有其他各式功能單元, 為簡化圖式及說明,此處之架構僅顯示與本發明有關之構 件,其他無關之構件,並未顯示於本圖式中。 p 18510 9 1283829 該儲存單元1 〇 1中,復包括一第一資料儲存區1 02以 及一第二資料儲存區103,其中,該第一資料儲存區102 係用以儲存一 〃中斷控制程式〃及透過該編輯單元11所編 輯之程式資料(請容後詳述),其可為一記憶體(Memory ), 而該第二資料儲存區103則用於儲存該設置單元12之設置 結果資料(請容後詳述),且所有儲存於該第二資料儲存 區103中之資料,係於該電腦關閉電腦設備之電源後即會 自動清除,該第二資料儲存區103係為一隨機存取記憶體 • (RAM) 〇 。亥、、扁輯單元11係用以提供一編輯介面,俾供使用者 依據實際需求,編輯相應之用戶管理中斷處理程式(User Handler)。 二亥叹置單元12則用以提供設置介面,於本實施例中, U介面係為一包含有多個’’巾斷控制指令選項之選 擇介面,俾供❹者選擇—符合其需求 該中斷控制指令,,選項包含右备紀― 制才日7 之杯、5pt 、員匕3有糸統管理中斷處理程式21 一 “、週期性禁能、週期性致能、置換(亦即, 以該用戶管理中斷處理程式置 換(亦即, 2"、添加(亦即,將該用戶管;;處理程式 系統管理中斷處理程式21中)以及刪二:式:加至該 管理中斷處理程式21中刪除該 I糸統 功能選項。其中,該3能,,與處理程式)等 啟動該系統管理中斷處理程式21 / 刀別指禁止或 月&。而 明所提供之用戶管理中斷處理程式將彳= 是,本發 18510 1283829The data mode of 1283829 is fixed D — the original SMI processing program is placed in. The user is provided according to the actual demand. Therefore, how to open the dream, cut or join the processing action. These controls are used in accordance with the use of (4) processing programs, and the related research and development fields are urgently faced with the system and methods, and the invention provides an interrupt control system and method for solving the above-mentioned conventional techniques. The purpose is to meet the actual needs of the user. _ 乍 更具 更具 更具 更具 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , The interrupt control ^ρ & is provided for an interrupt control system for setting a specific interrupt control command to provide an interface, a storage area and a second data storage area: the first data has an interrupt control program storage... - the electrical storage unit of the storage unit in the bedding storage area, and the processing unit of the central unit with the setting unit and the storage unit respectively, the interrupt control command of the heart == is stored to the second data storage =, 'the light is stored in the The interrupt control program of the first data storage area is executed in the operating system of the electronic device by =:: according to the specific interrupt control command. The interrupt service system is borrowed from 18510 6 1283829 = system management program (SMlHan (Her) program. The system includes two; in ^^^ = program wdler) editing unit. The specific:;:: 1 command has the system management interrupt handler disabled, causing:: sexual disable, periodic enable, interrupt management with the user; set: = system management interrupt handler, The interrupt processing instruction in the second management of the system is after the electronic device is turned off, and the second processing unit performs a write operation on the electronic device knowledge input/output (I/O) port through the interrupt control program to trigger the off control. The control system executes the corresponding interrupt service system to generate a response code for displaying the interrupt control program. The central processing unit 2; the light status η = when receiving the execution-interrupt signal or the execution - conforms to the rule defined by the command (10), that is, the interrupt control program is started. = The break control method includes first 'storing the interrupt control program == area; secondly' displaying a setting interface for setting a specific work order instruction to store the specific interrupt control command to the second data area 2; and finally Executing an interrupt type stored in the first data storage area to control the interrupt service system according to the corresponding interrupt control line corresponding interrupt processing operation. Wherein the interrupt control system is ‘,, the application runs in the operating system of the electronic device. The interrupt 18510 1283829 = system: through a system management interrupt processing program (10) a) Erli = 曙 ' and the system management interrupt processing program is embedded in the interrupt handler (a ndler), and the user manages private storage In the second data storage area.兮~ has a system management interrupt handler; the second break control command can, H h not, 旎, periodic ban management Ϊ 2 t can: replace the system with the user management interrupt handler •: 2 = Γ, the user management interrupt handler is added to the 糸, first in the cultivating process, from the system management delete, the user management interrupt handler. The middle stomach program performs an interrupt on the input/output (1/(1) port of the electronic device to trigger-interrupt the signal. In the interrupt control program, the task is executed (10), and the service system will generate The response code for displaying the current execution status is in the interrupt control process 2: the central processing unit receives the execution interrupt in the interrupt service system, and executes a rule that meets the rules defined by the interrupt control instruction. The interrupt control program is started. The interrupt control system and method of the present invention establishes an interrupt control system for controlling the interrupt service system, and manages the related control of the system management interrupt == interrupt processing. The system management interrupts the operation to the actual needs of the user. [Embodiment] The following describes the embodiments of the present invention by way of specific embodiments. Those skilled in the art can easily disclose the contents disclosed in the specification by 18510 8 1283829 Other advantages and effects of the invention. The invention can also be applied or applied by other different examples, the details in the present specification. Can also be soil; different defects and applications, without departing from the modification and modification of the hair. 进bu to make a variety of the f 1 diagram is the basic structure of the interrupt control system of the present invention = block ^ map. It is shown that the present invention to the interrupt control system u is applied to an electronic device 1, such as a personal thunder brain, a personal memory card, and a personal digital assistant system 2. The tW' has the computer device 1 An interrupt service system, washing 20. The interrupt control system 1 of the present invention is used to control the interrupt service system 20 to perform a corresponding interrupt control operation according to a preset interrupt control command. In the present case, the interrupt service system The system 20 performs the relevant interrupt processing operation through a system management interrupt processing program (SMI Handler) 21 running in the BI〇s program, and the interrupt control system 1() is the application program. In the operating system, such as the win_s system and the hall system, etc. When the electronic device i is powered on and enters the boot mode f, the BIOS completes the self-test (p〇wer 〇n Self Testii^, POST). The department The management interrupt processing program 21 loads the designated location of the recording body, and then enters the operating system, and controls the system management interrupt processing program 21 by the interrupt control system 10. The interrupt control system 10 includes a The storage unit 〇1, an editing unit 11, the setting unit 12 and a central processing unit 13. It should be noted that the interrupt control system 10 has other various functional units, which are simplified for illustration and description. The structure of the present invention only shows the components related to the present invention, and other unrelated components are not shown in the figure. p 18510 9 1283829 The storage unit 1 〇1 includes a first data storage area 102 and a The second data storage area 103 is configured to store an interrupt control program and program data edited by the editing unit 11 (details will be described later), which may be a memory The second data storage area 103 is used to store the setting result data of the setting unit 12 (please be detailed later), and all of them are stored in the second data storage area 1 The data in 03 is automatically cleared when the computer turns off the power of the computer device. The second data storage area 103 is a random access memory (RAM) 〇 . The Hi, and Flat Units 11 are used to provide an editing interface for the user to edit the corresponding User Management Interrupt Handler (User Handler) according to actual needs. The second sigh unit 12 is used to provide a setting interface. In this embodiment, the U interface is a selection interface including a plurality of 'snap control command options, which are selected by the supplier—the interrupt is met according to the demand. The control command, the option includes the right reserve - the day of the 7th cup, the 5pt, the member 3 has the system management interrupt handler 21 ", periodic disable, periodic enable, replace (that is, The user management interrupt handler replacement (that is, 2", add (that is, the user pipe;; handler system management interrupt handler 21) and delete 2: add to the management interrupt handler 21 to delete The I system function option. Among them, the 3 can, and the processing program, etc. start the system management interrupt handler 21 / knife not to prohibit or month & and the user management interrupt handler provided by Ming will be 彳 = Yes, this is 18510 1283829
Γ週期性禁能n期性m為每隔—設定時間 示止或啟動該系統管理中斷處理 B 分鐘禁止或啟動—次咳…"式2卜比如:每隔60 能。中_處理㈣21執行功 系統管理中斷處理程式2】之處理 理〆添〆功能抑於I 式執行相關中斷處 夕二,、‘於執仃系統管理中斷處理程式21 入至系統管理中斷處I”:處理私式’而所有使用者加 弋,齡Ηβ 4 ^式21之用戶管理中斷處理程 式e亥中所服務系統2〇會將其拷貝至 —y)。為了找出具有足夠儲存空間^ 管理中斷處理程式I、卡 寸口用戶 理中斷产…、 ory’其搜索順序為該系統管 料所處理程式2 i所在之MemQry(從細 區段(s—(假如晶片組舆職支援它)二 ^而顯貝^指刪除該用戶管理中斷處理程式,而 僅執仃该系統管理中斷處理程式21。 、/中、央處理單元13係與該設置單元12及儲存單元 電性連接,其用以將透過該設置單元12所設置之 的中斷控制指令儲存至該第二資料儲存區1G3中(A中, =:!第二資料儲存區103中之中斷控制指令係當電腦 能自動清除),並監控該中斷服務系統20之運行狀 二玄中斷服務系統2〇於接收執行—中斷訊號時或執行 :合该中斷控制指令所定義之規則的作業時,即啟動儲 子於該第一資料儲存區102之中斷控制程式,俾控制該中 11 18510 1283829 -週期性禁能,並將該回應碼回傳至該中辭批㈣ -藉以將^傳之編碼顯示於使用者知曉。制程式, 承月i所述,本發明係藉由於電腦作業 斷控制應用程式,俾_使用者 .....先中建立-中 並… 應之中斷控制指令, 才工制该-电知之中斷服務系統依據 .應之中斷控制管理,不僅可 =則"執行相 、、舌袖,、"u 幻使糸統官理中斷作業更具有豫 -/ 付a使用者之實際需求;亦可提供使用Γ 發明餅雷聰々么μ — 风1/、1史用者猎由本 于^之系統管理中斷作業進行監栌、纠#令a •俾提升其應用價值。 選m工糾錯之功效, 以上所述之實施例,僅係用以說明 效,而非用以限定本發明之……,月之锊點及功 之實質技術内容係廣義二=支t内:的範圍,本發明 杯 ’、義地疋義於下述之申請專利範圍中, 可他人所完成之技術實體 利範圍定義者為完全相同、=種;=所申請專 視為涵蓋於此專利範圍中。^種寻效之貪更,均將被 _【圖式簡單說明】 :1圖係為本發明之中斷控制系統所需之基本架構方 现不思圖;以及 弟2圖係為本發明之中斷控制方法之處理流程示意 圖。 【主要元件符號說明】 1 電子設備 10 101 中斷控制系統 儲存單元 18510 1283829 102 弟一貧料儲存區 103 第二貧料儲存區 11 編輯單元 12 設置單元 13 中央處理單元 20 中斷服務系統 21 系統管理中斷處理程式(SMI Handler ) S210〜S280 步驟 15 18510Γ Periodically disabled n-phase m is every - set time to stop or start the system management interrupt processing B minutes prohibit or start - cough ... " type 2 Bu, for example: every 60. _Processing (4) 21 Execution System Management Interrupt Processing Program 2] The processing of the 〆 〆 〆 〆 抑 I I I I I I I I , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , : Handling private 'and all users' coronation, the user management interrupt handler in the age of β 4 ^ 21 will copy it to -y). In order to find out that there is enough storage space ^ Management Interrupt processing program I, card user interface interrupt production..., ory' its search order is the MemQry where the system processing program 2 i is located (from the fine segment (s-(if the chip group is derelict to support it) ^^ And the user management interrupt processing program is deleted, and only the system management interrupt processing program 21 is executed. The central processing unit 13 is electrically connected to the setting unit 12 and the storage unit, and is used for The interrupt control command set by the setting unit 12 is stored in the second data storage area 1G3 (A, =:! The interrupt control command in the second data storage area 103 is automatically cleared by the computer), and is monitored. The interruption The operation of the storage system 20 is interrupted when receiving the execution-interrupt signal or executing the operation of the rule defined by the interrupt control instruction, that is, interrupting the storage of the storage in the first data storage area 102 Control program, 俾 control the 11 18510 1283829 - periodic disable, and return the response code to the middle of the batch (4) - by which the code of the pass is displayed to the user. Program, Chengyue i The present invention is based on the computer operation control application, 俾 _ user ..... first establish - in the middle and ... should interrupt the control command, only the system - the electronic know the interrupt service system based on the interruption Control management, not only = then "execution phase," tongue sleeves,, "u illusionist 官 官 官 官 官 官 更 / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / 々 μ μ — Wind 1/, 1 history user hunting by the system management interrupt operation of the ^ to monitor, correct # order a • 俾 to enhance its application value. Select m work error correction effect, the above described examples , only for illustrative purposes, not for limiting the hair Mingzhi......, the essence of the month and the technical content of the work is the scope of the generalized two = branch within t: the scope of the present invention, which is in the scope of the following patent application, the technical entity that can be completed by others The definition of the scope of interest is exactly the same, = species; = the application is specifically considered to cover the scope of this patent. The greed of seeking for efficiency will be _ [schematic description]: 1 is the invention The basic architecture required for the interrupt control system is not considered; and the second diagram is the processing flow of the interrupt control method of the present invention. [Main component symbol description] 1 Electronic device 10 101 Interrupt control system storage unit 18510 1283829 102 The first poor storage area 103 the second poor storage area 11 editing unit 12 setting unit 13 central processing unit 20 interrupt service system 21 system management interrupt processing program (SMI Handler) S210~S280 step 15 18510