[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

TWI398755B - Method for restoring an embedded system - Google Patents

Method for restoring an embedded system Download PDF

Info

Publication number
TWI398755B
TWI398755B TW95148551A TW95148551A TWI398755B TW I398755 B TWI398755 B TW I398755B TW 95148551 A TW95148551 A TW 95148551A TW 95148551 A TW95148551 A TW 95148551A TW I398755 B TWI398755 B TW I398755B
Authority
TW
Taiwan
Prior art keywords
interrupt
processing routine
pin
embedded system
input
Prior art date
Application number
TW95148551A
Other languages
Chinese (zh)
Other versions
TW200828000A (en
Inventor
Mo-Ying Tong
Original Assignee
Hon Hai Prec 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW95148551A priority Critical patent/TWI398755B/en
Publication of TW200828000A publication Critical patent/TW200828000A/en
Application granted granted Critical
Publication of TWI398755B publication Critical patent/TWI398755B/en

Links

Landscapes

  • Bus Control (AREA)
  • Retry When Errors Occur (AREA)

Description

嵌入式系統恢復方法 Embedded system recovery method

本發明涉及一種電腦系統安全管理的方法,特別涉及一種嵌入式系統恢復方法。 The invention relates to a method for computer system security management, in particular to an embedded system recovery method.

隨著資訊系統的網路化並日益服務於關鍵應用,資訊系統安全已成為資訊系統成功運行的基本前提,企業開始為資訊安全大量投資,資訊安全產品和服務也成為市場熱點。然而由於目前網路上充斥著各種各樣的電腦病毒,其傳染性、隱蔽性、潛伏性及破壞性是我們難以想像的,而且目前的殺毒軟體並不能預測到未來所產生的新病毒,因此電腦用戶在使用電腦過程中被病毒感染是常有的事,而且一旦感染病毒,電腦上的許多系統配置檔都可能處於癱瘓狀態。再加上有時用戶的不當操作,一些電腦系統也難免出現各種問題,因而對於電腦上的各種系統而言,一旦系統配置檔出現問題時,對這些系統配置檔的恢復是有必要的。 With the networking of information systems and the increasingly serving of critical applications, information system security has become a basic premise for the successful operation of information systems. Enterprises have begun to invest heavily in information security, and information security products and services have also become hot spots in the market. However, because the Internet is full of various computer viruses, its contagious, concealed, latent and destructive is unimaginable, and the current anti-virus software can not predict the new virus generated in the future, so the computer It is not uncommon for a user to be infected with a virus while using a computer, and many system profiles on the computer may be paralyzed when infected. In addition, sometimes the user's improper operation, some computer systems will inevitably have various problems, so for various systems on the computer, once the system configuration file has problems, it is necessary to restore these system configuration files.

對於嵌入式系統而言,由於該系統係針對特定的任務而設計的,系統一旦出現異常,就會破壞其系統配置資訊,而這些配置資訊對企業及個人來說都是至關重要的,而通過手工恢復不僅浪費大量的時間,而且很可能因為對系統配置資訊的 不瞭解,導致所恢復的系統配置資訊不全面或有誤。因而,如何能夠提供一種恢復嵌入式系統的配置資訊的方法,係目前嵌入式系統亟待解決的安全問題之一。 For embedded systems, because the system is designed for a specific task, once the system is abnormal, it will destroy its system configuration information, which is crucial for enterprises and individuals. Not only is a lot of time wasted by manual recovery, but it is also likely because of the configuration information for the system. If you do not understand, the system configuration information recovered will be incomplete or incorrect. Therefore, how to provide a method for restoring the configuration information of the embedded system is one of the security problems that need to be solved in the embedded system.

鑒於以上內容,有必要提供一種嵌入式系統恢復方法,其可方便快捷的恢復嵌入式系統的配置資訊,同時提高了恢復的準確性。 In view of the above, it is necessary to provide an embedded system recovery method, which can conveniently and quickly restore the configuration information of the embedded system, and improve the accuracy of recovery.

一種嵌入式系統恢復方法。該方法包括如下步驟:在電腦中運行嵌入式系統;於所述的電腦中提供通用輸入輸出設備,該通用輸入輸出設備包括開關、第一針腳、第二針腳、發光二極體,該開關連接一個輸入按鍵;備份該嵌入式系統的系統配置檔;將第一針腳設置為輸入端,第二針腳設置為輸出端;註冊中斷處理常式;按下所述的輸入按鍵,觸動該開關閉合,使第一針腳產生高電平,從而產生硬體中斷;調用中斷處理常式處理上述硬體中斷所產生的中斷信號;判斷是否接收到中斷處理常式所發送過來的通用輸入輸出中斷資訊;當接收到中斷處理常式的通用輸入輸出中斷資訊時,發送高低間斷電平控制信號給第二針腳,使發光二極體發光;調用系統配置檔,恢復所述嵌入式系統的系統配置;發送低電平控制信號給第二針腳,使發光二極體熄滅。 An embedded system recovery method. The method includes the steps of: operating an embedded system in a computer; providing a universal input/output device in the computer, the universal input and output device comprising a switch, a first pin, a second pin, and a light emitting diode, the switch connection An input button; backing up the system configuration file of the embedded system; setting the first pin as the input end, the second pin as the output end; registering the interrupt processing routine; pressing the input button to touch the switch to close Making the first pin generate a high level, thereby generating a hardware interrupt; calling an interrupt processing routine to process the interrupt signal generated by the hardware interrupt; determining whether the general input/output interrupt information sent by the interrupt processing routine is received; Receiving the general-purpose input/output interrupt information of the interrupt processing routine, transmitting a high-low discontinuous level control signal to the second pin to cause the light-emitting diode to emit light; calling the system configuration file to restore the system configuration of the embedded system; A low level control signal is applied to the second pin to extinguish the light emitting diode.

相較於習知技術,所述的嵌入式系統恢復方法,其利用GPIO(General Purpose Input/Output,通用輸入輸出)設備來一鍵恢復嵌入式系統的配置檔,提高了恢復的效率及準確 性。 Compared with the prior art, the embedded system recovery method uses a GPIO (General Purpose Input/Output) device to restore the configuration file of the embedded system with one key, thereby improving the recovery efficiency and accuracy. Sex.

1‧‧‧電腦 1‧‧‧ computer

2‧‧‧輸入設備 2‧‧‧Input equipment

11‧‧‧BIOS 11‧‧‧BIOS

12‧‧‧GPIO設備 12‧‧‧GPIO equipment

13‧‧‧CPU 13‧‧‧CPU

14‧‧‧Flash-ROM 14‧‧‧Flash-ROM

15‧‧‧匯流排 15‧‧‧ Busbar

圖1係本發明嵌入式系統恢復方法的應用環境的結構圖。 1 is a structural diagram of an application environment of an embedded system recovery method of the present invention.

圖2係圖1中GPIO設備的按鍵恢復電路圖。 FIG. 2 is a circuit diagram of a button recovery circuit of the GPIO device in FIG. 1.

圖3係本發明嵌入式系統恢復方法的較佳實施例的流程圖。 3 is a flow chart of a preferred embodiment of the embedded system recovery method of the present invention.

圖4係圖3中初始化GPIO系統設置的子流程圖。 Figure 4 is a sub-flow diagram of initializing the GPIO system setup in Figure 3.

圖5係中斷處理常式頂半部處理中斷信號的子流程圖。 Figure 5 is a sub-flow diagram of interrupt processing routine top half processing interrupt signals.

圖6係中斷處理常式底半部處理中斷信號的子流程圖。 Figure 6 is a sub-flow diagram of the interrupt processing signal in the bottom half of the interrupt processing routine.

參閱圖1所示,係本發明嵌入式系統恢復方法的應用環境的結構圖。本嵌入式系統恢復方法的應用環境主要包括電腦1及輸入設備2。所述的電腦1包括BIOS(Basic Input/Output System,基本輸入輸出系統)11,GPIO(General Purpose Input/Output,通用輸入輸出)設備12,CPU(Central Processing Unit,中央處理器)13及匯流排15。其中,所述的BIOS 11中包括有Flash-ROM(閃速記憶體)14。所述的BIOS 11,GPIO設備12及CPU 13均連接到匯流排15。 Referring to FIG. 1, it is a structural diagram of an application environment of the embedded system recovery method of the present invention. The application environment of the embedded system recovery method mainly includes a computer 1 and an input device 2. The computer 1 includes a BIOS (Basic Input/Output System) 11, a GPIO (General Purpose Input/Output) device 12, a CPU (Central Processing Unit) 13 and a bus bar. 15. The BIOS 11 includes a Flash-ROM (Flash Memory) 14. The BIOS 11, the GPIO device 12 and the CPU 13 are all connected to the bus bar 15.

所述的電腦1可以係IBM架構的個人電腦(IBM Personal Computer,IBM PC),也可以係Apple公司的Mac PC,還可以係任意其他適用的電腦。 The computer 1 can be an IBM Personal Computer (IBM PC) or an Apple Mac PC, or any other suitable computer.

所述的GPIO設備12的按鍵恢復電路圖如圖2所示,該電路圖包括有開關K1,第一電阻R1,第二電阻R2,第三電阻R3,電容C1,LED(Light Emitting Diode,發光二極體)L1,第一針腳P1,第二針腳P2以及提供3.3V電壓的電源V1。其中,所述的第一針腳P1,第一電阻R1,開關K1,第三電阻R3,LED L1,第二針腳P2依次進行串聯,所述的第二電阻R2與所述的電容C1並聯連接,該並聯連接的第二電阻R2與電容C1一端連接到所述的第一針腳P1及第一電阻R1之間連線,另一端接地。所述的電源V1連接到開關K1與第三電阻R3之間的連線。所述的LED L1的正極連接到第三電阻R3,負極連接到第二針腳P2。所述的電容C1正極連接到所述的第一針腳P1及第一電阻R1之間連線,負極接地。所述的開關K1還與所述的輸入設備2中一輸入按鍵連接,當按下該輸入設備2中的該相應的輸入按鍵時,開關K1合上,第一針腳P1端電平高,從而產生硬體中斷。當系統發送高電平給第二針腳P2時,由於LED L1另一端通過電阻R3連接有電源V1,該LED L1所處的電路接通,該LED L1有電流通過,故此時該LED L1亮;當系統發送低電平給第二針腳P2時,該LED L1中沒有電流通過,故此時該LED L1熄滅;當系統發送高低間斷電平給第二針腳P2時,該LED L1中有間斷電流通過,故此時該LED L1閃爍。 The key recovery circuit diagram of the GPIO device 12 is as shown in FIG. 2, and the circuit diagram includes a switch K1, a first resistor R1, a second resistor R2, a third resistor R3, a capacitor C1, and an LED (Light Emitting Diode). L1, first pin P1, second pin P2, and a power supply V1 that supplies a voltage of 3.3V. The first pin P1, the first resistor R1, the switch K1, the third resistor R3, the LED L1, and the second pin P2 are sequentially connected in series, and the second resistor R2 is connected in parallel with the capacitor C1. The second resistor R2 connected in parallel and one end of the capacitor C1 are connected to the line between the first pin P1 and the first resistor R1, and the other end is grounded. The power source V1 is connected to a connection between the switch K1 and the third resistor R3. The anode of the LED L1 is connected to the third resistor R3, and the cathode is connected to the second pin P2. The positive electrode C1 is connected to the connection between the first pin P1 and the first resistor R1, and the negative electrode is grounded. The switch K1 is also connected to an input button of the input device 2, when the corresponding input button of the input device 2 is pressed, the switch K1 is closed, and the first pin P1 is at a high level, thereby A hardware interrupt is generated. When the system sends a high level to the second pin P2, since the other end of the LED L1 is connected to the power source V1 through the resistor R3, the circuit in which the LED L1 is located is turned on, and the LED L1 has a current, so that the LED L1 is lit at this time; When the system sends a low level to the second pin P2, no current flows through the LED L1, so the LED L1 is extinguished at this time; when the system sends a high and low discontinuous level to the second pin P2, there is a discontinuous current in the LED L1. Pass, so the LED L1 flashes at this time.

所述的Flash-ROM 14中存儲有作業系統,嵌入式系統及其系統配置檔。該作業系統可以係Windows作業系統或Unix/Linux作業系統。所述的嵌入式系統安裝運行於所述的 作業系統上。 The Flash-ROM 14 stores an operating system, an embedded system, and a system configuration file thereof. The operating system can be a Windows operating system or a Unix/Linux operating system. The embedded system installation operates on the On the operating system.

參閱圖3所示,係嵌入式系統恢復方法的較佳實施例的流程圖。其中步驟S11,步驟S12及步驟S14是在電腦系統的核心層(Kernel Layer)進行執行,也即,在與作業系統層同一級別的層次上執行。步驟S13,步驟S15,步驟S16,步驟S17及步驟S18係在應用層上進行執行。 Referring to Figure 3, there is shown a flow diagram of a preferred embodiment of an embedded system recovery method. Step S11, step S12 and step S14 are performed at the core layer of the computer system, that is, at the same level as the operating system layer. Step S13, step S15, step S16, step S17 and step S18 are performed on the application layer.

首先,步驟S11,將系統配置資訊備份到Flash-ROM 14中,形成一系統配置檔。其中,該系統配置檔包括恢復嵌入式系統的系統啟動資訊,用戶資訊,以及所啟動的服務等。 First, in step S11, the system configuration information is backed up to the Flash-ROM 14 to form a system configuration file. The system configuration file includes system startup information, user information, and services started to restore the embedded system.

步驟S12,初始化GPIO系統設置。該初始化GPIO系統設置的步驟如圖4所示,主要包括:設置GPIO設備的按鍵恢復電路中各針腳的輸入/輸出埠(步驟S121);註冊中斷處理常式,即為中斷處理常式分配相應的中斷號(步驟S122);設置允許系統接收GPIO硬體中斷信號(步驟S123)。 In step S12, the GPIO system settings are initialized. The step of initializing the GPIO system setting is as shown in FIG. 4, and mainly includes: setting an input/output port of each pin in the button recovery circuit of the GPIO device (step S121); registering an interrupt processing routine, that is, assigning an interrupt processing routine The interrupt number (step S122); the setting allows the system to receive the GPIO hardware interrupt signal (step S123).

其中,所述的GPIO設備的按鍵恢復電路如圖2所示,在本實施例中,將第一針腳P1設置為輸入口,將第二針腳P2設置為輸出口。所述的GPIO設備通常有26個輸入端的針腳,且每個針腳對應一個中斷號,這些中斷號通常位於32-64之間。 The button recovery circuit of the GPIO device is as shown in FIG. 2. In this embodiment, the first pin P1 is set as an input port, and the second pin P2 is set as an output port. The GPIO device typically has 26 input pins, and each pin corresponds to an interrupt number, which is typically between 32-64.

其中,步驟S122中為中斷處理常式分配的中斷號應當與所述的第一針腳P1所對應的中斷號一致,即若第一針腳P1所對應的中斷號為37,則為中斷處理常式分配的中斷號應當為37,即表示,當產生中斷的中斷號為37時,才可調用該中斷處理 常式處理中斷信號。所述的中斷處理常式包括頂半部和底半部。其中頂半部係一個快速、非同步的對硬體做出快速回應並在最短時間內完成操作的中斷處理程式,該中斷處理程式可以搶佔內核中的任務並且在執行時會遮罩其他中斷。底半部係一種推後執行的任務,只有當作業系統有空閒時才會執行該底半部。 The interrupt number assigned to the interrupt processing routine in step S122 should be consistent with the interrupt number corresponding to the first pin P1, that is, if the interrupt number corresponding to the first pin P1 is 37, the interrupt processing routine is The assigned interrupt number should be 37, which means that the interrupt processing can be called when the interrupt number that generates the interrupt is 37. The routine handles the interrupt signal. The interrupt processing routine includes a top half and a bottom half. The top half is a fast, asynchronous, interrupt handler that responds quickly to the hardware and completes the operation in the shortest amount of time. The interrupt handler can preempt the tasks in the kernel and mask other interrupts during execution. The bottom half is a post-pushing task that is executed only when the operating system is idle.

步驟S13,當嵌入式系統運轉不正常,系統配置遭到破壞時,按下輸入設備2上的相應輸入按鍵,觸動開關K1合上,產生硬體中斷。如圖2所示,當開關K1合上時,第一針腳P1端為高電平,產生中斷信號。 In step S13, when the embedded system is not working properly and the system configuration is damaged, pressing the corresponding input button on the input device 2, the touch switch K1 is closed, and a hardware interruption is generated. As shown in FIG. 2, when the switch K1 is closed, the first pin P1 is at a high level, and an interrupt signal is generated.

步驟S14,調用中斷處理常式處理該中斷信號。其中,所述的中斷處理常式處理該中斷信號的步驟如圖5及圖6所示。 In step S14, the interrupt processing routine is called to process the interrupt signal. The step of the interrupt processing routine processing the interrupt signal is as shown in FIG. 5 and FIG. 6.

步驟S15,判斷是否接收到中斷處理常式發送過來的GPIO中斷資訊。 In step S15, it is determined whether the GPIO interrupt information sent by the interrupt processing routine is received.

步驟S16,當接收到中斷處理常式發送過來的GPIO中斷資訊時,則發送高低間斷電平控制信號給GPIO設備的第二針腳P2,使LED L1處於閃爍狀態,依此表示正在進行系統配置檔恢復。 Step S16, when receiving the GPIO interrupt information sent by the interrupt processing routine, sending a high and low interrupt level control signal to the second pin P2 of the GPIO device, so that the LED L1 is in a blinking state, thereby indicating that the system configuration is in progress. File recovery.

步驟S17,從Flash-ROM 14中調用系統配置檔,恢復系統配置。 In step S17, the system configuration file is called from the Flash-ROM 14, and the system configuration is restored.

步驟S18,系統配置恢復完成後,發送低電平控制信號給GPIO設備的第二針腳P2,使LED L1熄滅,依此表示系統配置 檔恢復完畢。 Step S18, after the system configuration recovery is completed, send a low level control signal to the second pin P2 of the GPIO device, so that the LED L1 is turned off, thereby indicating the system configuration. The file is restored.

在步驟S15中,若沒有接收到中斷處理常式的GPIO中斷資訊,則繼續該步驟S15進行判斷是否接收到中斷處理常式的GPIO中斷資訊。 In step S15, if the GPIO interrupt information of the interrupt processing routine is not received, the step S15 is continued to determine whether or not the GPIO interrupt information of the interrupt processing routine is received.

參閱圖5所示,係中斷處理常式頂半部處理中斷信號的子流程圖。 Referring to FIG. 5, it is a sub-flowchart that interrupts the processing of the top half processing interrupt signal.

步驟S161,從第一針腳P1端讀取高電平信號,接收硬體中斷信號。 Step S161, reading a high level signal from the first pin P1 end, and receiving a hardware interrupt signal.

步驟S162,進一步判斷所接收到的硬體中斷信號是否為GPIO中斷信號。所述的判斷係根據該信號的中斷號來進行判斷的,當中斷號位於32-64之間時,則表示該中斷為GPIO中斷信號;否則,表示該中斷不是GPIO中斷信號。 Step S162, further determining whether the received hardware interrupt signal is a GPIO interrupt signal. The judgment is made according to the interrupt number of the signal. When the interrupt number is between 32-64, it indicates that the interrupt is a GPIO interrupt signal; otherwise, it indicates that the interrupt is not a GPIO interrupt signal.

步驟S163,若所述的硬體中斷信號是GPIO中斷信號,則設置該中斷信號產生時的中斷標誌。例如,當所述的硬體中斷信號是GPIO中斷信號時,則通過一總體變數N=N+1來記錄中斷標誌。該總體變數的初始值為0。 Step S163, if the hardware interrupt signal is a GPIO interrupt signal, set an interrupt flag when the interrupt signal is generated. For example, when the hardware interrupt signal is a GPIO interrupt signal, the interrupt flag is recorded by an overall variable N=N+1. The initial value of this global variable is zero.

步驟S164,調度中斷處理常式底半部進行處理該中斷信號。 Step S164, scheduling the interrupt processing routine bottom half to process the interrupt signal.

在步驟S162中,若該信號不是GPIO中斷信號,則結束流程。 In step S162, if the signal is not a GPIO interrupt signal, the flow is terminated.

參閱圖6所示,係中斷處理常式底半部處理中斷信號的子流程圖。 Referring to FIG. 6, a sub-flowchart for interrupting the processing of the interrupt signal by the bottom half of the routine is processed.

步驟S165,將所述中斷標誌清零。即將總體變數N的值清零 。 In step S165, the interrupt flag is cleared. Clear the value of the total variable N .

步驟S166,發送GPIO中斷資訊給應用層,即發送GPIO中斷資訊給步驟S15進行處理。 In step S166, the GPIO interrupt information is sent to the application layer, that is, the GPIO interrupt information is sent to the step S15 for processing.

Claims (5)

一種嵌入式系統恢復方法,該方法包括如下步驟:在電腦中運行嵌入式系統;於所述的電腦中提供通用輸入輸出設備,該通用輸入輸出設備包括開關、第一針腳、第二針腳、發光二極體,該開關連接一個輸入按鍵;備份該嵌入式系統的系統配置檔;將第一針腳設置為輸入端,第二針腳設置為輸出端;註冊中斷處理常式;按下所述的輸入按鍵,觸動該開關閉合,使第一針腳產生高電平,從而產生硬體中斷;調用中斷處理常式處理上述硬體中斷所產生的中斷信號,所述中斷處理常式包括先後執行的頂半部及底半部,所述頂半部係一個快速、非同步的對硬體做出快速回應並在最短時間內完成操作的中斷處理程式,該中斷處理程式可以搶佔內核中的任務並且在執行時會遮罩其他中斷,所述底半部係一種推後執行的任務,只有當作業系統有空閒時才會執行該底半部;判斷是否接收到中斷處理常式所發送過來的通用輸入輸出中斷資訊;當接收到中斷處理常式的通用輸入輸出中斷資訊時,發送高低間斷電平控制信號給第二針腳,使發光二極體發光; 調用系統配置檔,恢復所述嵌入式系統的系統配置;發送低電平控制信號給第二針腳,使發光二極體熄滅。 An embedded system recovery method, the method comprising the steps of: running an embedded system in a computer; providing a universal input/output device in the computer, the universal input and output device comprising a switch, a first pin, a second pin, and a light a diode, the switch is connected to an input button; backing up the system configuration file of the embedded system; setting the first pin as an input terminal, the second pin as an output terminal; registering an interrupt processing routine; pressing the input Pressing the button, the switch is closed, causing the first pin to generate a high level, thereby generating a hardware interrupt; calling an interrupt processing routine to process the interrupt signal generated by the hardware interrupt, the interrupt processing routine including the top half executed successively The top and bottom half, the top half is a fast, asynchronous interrupt handler that responds quickly to the hardware and completes the operation in the shortest amount of time. The interrupt handler can preempt the tasks in the kernel and execute Other interruptions are masked, and the bottom half is a post-execution task that is executed only when the operating system is idle. Half; determine whether to receive the general-purpose input and output interrupt information sent by the interrupt processing routine; when receiving the general-purpose input/output interrupt information of the interrupt processing routine, send a high-low intermittent level control signal to the second pin, so that Luminous diode light; Calling the system configuration file to restore the system configuration of the embedded system; sending a low level control signal to the second pin to extinguish the light emitting diode. 如申請專利範圍第1項所述的嵌入式系統恢復方法,其中該方法還包括:設置允許系統接收通用輸入輸出中斷信號。 The embedded system recovery method of claim 1, wherein the method further comprises: setting the system to allow the general-purpose input/output interrupt signal to be received. 如申請專利範圍第1項所述的嵌入式系統恢復方法,其中所述的中斷處理常式頂半部處理中斷信號的步驟包括:接收硬體中斷信號;判斷所接收到的硬體中斷信號是否為通用輸入輸出中斷信號;當所接收到的硬體中斷信號是通用輸入輸出中斷信號時,設置中斷標誌;調度中斷處理常式底半部進行處理中斷信號。 The method for recovering an embedded system according to claim 1, wherein the step of processing the interrupt signal in the top half of the interrupt processing routine comprises: receiving a hardware interrupt signal; determining whether the received hardware interrupt signal is It is a general-purpose input/output interrupt signal; when the received hardware interrupt signal is a general-purpose input/output interrupt signal, an interrupt flag is set; and the bottom part of the interrupt processing routine is processed to process the interrupt signal. 如申請專利範圍第3項所述的嵌入式系統恢復方法,其中所述的調度中斷處理常式底半部處理中斷信號的步驟包括:將中斷標誌清零;返回一通用輸入輸出中斷資訊。 The method for recovering an embedded system according to claim 3, wherein the step of processing the interrupt processing routine interrupt half of the routine interrupt processing comprises: clearing the interrupt flag; returning a general input/output interrupt information. 如申請專利範圍第1項所述的嵌入式系統恢復方法,其中所述註冊中斷處理常式是指為中斷處理常式分配中斷號,且該中斷號與所述的第一針腳所對應的中斷號一致。 The embedded system recovery method according to claim 1, wherein the registration interrupt processing routine refers to assigning an interrupt number to the interrupt processing routine, and the interrupt number is interrupted by the first stitch. The number is the same.
TW95148551A 2006-12-22 2006-12-22 Method for restoring an embedded system TWI398755B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW95148551A TWI398755B (en) 2006-12-22 2006-12-22 Method for restoring an embedded system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW95148551A TWI398755B (en) 2006-12-22 2006-12-22 Method for restoring an embedded system

Publications (2)

Publication Number Publication Date
TW200828000A TW200828000A (en) 2008-07-01
TWI398755B true TWI398755B (en) 2013-06-11

Family

ID=44817493

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95148551A TWI398755B (en) 2006-12-22 2006-12-22 Method for restoring an embedded system

Country Status (1)

Country Link
TW (1) TWI398755B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW544585B (en) * 2000-10-02 2003-08-01 Ibm Method and apparatus for suspending and resuming operation of a computer system
EP1369765A2 (en) * 2002-05-20 2003-12-10 Sony Corporation Information processing apparatus, program loading method, recording medium, program updating method and circuit device
TW200414056A (en) * 2002-09-06 2004-08-01 Intel Corp Self-nesting interrupts
WO2005076144A2 (en) * 2004-02-10 2005-08-18 Sendo International Limited Electronic device and methods of implementing the 1-wire protocol using an interrupt

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW544585B (en) * 2000-10-02 2003-08-01 Ibm Method and apparatus for suspending and resuming operation of a computer system
EP1369765A2 (en) * 2002-05-20 2003-12-10 Sony Corporation Information processing apparatus, program loading method, recording medium, program updating method and circuit device
TW200414056A (en) * 2002-09-06 2004-08-01 Intel Corp Self-nesting interrupts
WO2005076144A2 (en) * 2004-02-10 2005-08-18 Sendo International Limited Electronic device and methods of implementing the 1-wire protocol using an interrupt

Also Published As

Publication number Publication date
TW200828000A (en) 2008-07-01

Similar Documents

Publication Publication Date Title
US8255902B1 (en) Systems and methods for determining and quantifying the impact of an application on the health of a system
US7966278B1 (en) Method for determining the health impact of an application based on information obtained from like-profiled computing systems using clustering
CN103198256B (en) For detection of detection system and the method for Application Status
TWI721656B (en) Hot swapping technique for expansion cards
US10540498B2 (en) Technologies for hardware assisted native malware detection
TW201730763A (en) Hardware recovery methods, hardware recovery systems, and computer-readable storage device
TWI436588B (en) Setting method of power lock-up and electronic apparatus thereof
TW200841248A (en) Information processing apparatus and method, program, and recording medium
US9712382B2 (en) Retrieving console messages after device failure
TWI461885B (en) Over clocking control device and over clocking control method
CN103631736B (en) device resource control method and device
JP2017509996A (en) System and method for identifying the source of a suspicious event
TW201413440A (en) Method for controlling power mode switching
TWI398755B (en) Method for restoring an embedded system
WO2016101607A1 (en) Central processing unit and boot method thereof
CN110505246B (en) Client network communication detection method, device and storage medium
JP2004362543A (en) Safety power disconnection system and its method
CN101201764B (en) Method for restoring embedded system
US8732690B1 (en) Computing device configured for installing an application
US12001556B2 (en) Anti-virus chip and anti-virus method
TW201527965A (en) System and method for detecting a BIOS test process of a computer
WO2023092919A1 (en) Bmc time management method, system, and apparatus, and computer medium
CN107145405A (en) The baseboard management controller of server and its operating method and control circuit
US20190123496A1 (en) Hub apparatus
TWI630478B (en) Method and device for monitoring a temperature of an electronic element

Legal Events

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