TW201820137A - Device having restarting function - Google Patents

Device having restarting function Download PDF

Info

Publication number
TW201820137A
TW201820137A TW105139137A TW105139137A TW201820137A TW 201820137 A TW201820137 A TW 201820137A TW 105139137 A TW105139137 A TW 105139137A TW 105139137 A TW105139137 A TW 105139137A TW 201820137 A TW201820137 A TW 201820137A
Authority
TW
Taiwan
Prior art keywords
information
application
motherboard
microcontroller
reset signal
Prior art date
Application number
TW105139137A
Other languages
Chinese (zh)
Inventor
鄧進利
Original Assignee
精英電腦股份有限公司
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 精英電腦股份有限公司 filed Critical 精英電腦股份有限公司
Priority to TW105139137A priority Critical patent/TW201820137A/en
Publication of TW201820137A publication Critical patent/TW201820137A/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

A device having restarting function includes an operation system, an information communication interface and a motherboard. The operation system implements an application. The motherboard exchanges communication information with the application via the information communication interface. The motherboard monitors the exchange of the communication information. When the motherboard exchanges the communication information with the application unsuccessfully and exceeds a predetermined period, the motherboard generates a reset signal. The reset signal is configured to restart the device. In the operation of the device having restarting function, the device can be reset selectively through monitoring a status of the exchange of the communication information via the motherboard.

Description

具有重啟功能的裝置Device with restart function

本發明係關於一種具有重啟功能的裝置,特別是一種通過韌體與軟體的溝通介面來達到重啟功能的裝置。The invention relates to a device with a restart function, in particular to a device for achieving a restart function through a communication interface between a firmware and a software.

隨著科技的發展越趨成熟,電腦不再僅是受限於特定專業人士所使用,反而成為一般人們生活中不可或缺的工具之一。然而,電腦在運行的過程中,常因某些因素,導致電腦的系統當機或是處於異常不穩定的狀態而無法供使用者正常操作。此時,為了使電腦從當機或異常狀態中恢復至正常操作狀態,通常需要通過電腦中所具備的重啟機制重新啟動電腦系統,例如微軟公司所提供的藍白當機畫面(Blue Screen of Death, BSOD)。然而,以目前現有的電腦重啟機制來說,只能防止電腦硬體的當機,而針對電腦作業系統或應用軟體運行過程中所產生的當機或異常狀態,並無法提供保護。As technology develops more and more mature, computers are no longer limited to the use of specific professionals, but become one of the indispensable tools in people's lives. However, during the operation of the computer, the computer system is often down or abnormally unstable due to some factors, and the user cannot operate normally. At this time, in order to restore the computer from the crash or abnormal state to the normal operating state, it is usually necessary to restart the computer system through the restart mechanism provided in the computer, for example, the blue screen of Death provided by Microsoft Corporation (Blue Screen of Death) , BSOD). However, with the current computer restart mechanism, it can only prevent the computer hardware from crashing, and it cannot provide protection against the crash or abnormal state generated during the operation of the computer operating system or the application software.

本發明提出一種具有重啟功能的裝置,可以通過韌體與軟體的溝通介面,針對電腦作業系統中應用軟體的狀態,來啟動裝置的重啟功能,達到不僅保護裝置,亦可以保護作業系統與應用軟體層的效果。The invention provides a device with a restart function, which can start the restart function of the device by using the communication interface between the firmware and the software for the state of the application software in the computer operating system, thereby not only protecting the device but also protecting the operating system and the application software. The effect of the layer.

依據本發明之一實施例揭露一種具有重啟功能的裝置,包含作業系統、資訊溝通介面與主板。作業系統執行應用程式。主板通過資訊溝通介面與應用程式交換溝通資訊。主板監控溝通資訊的交換。當主板與應用程式交換溝通資訊不成功,且超過預定時間時,主板產生重置信號且依據重置信號重啟裝置。An apparatus having a restart function includes an operating system, an information communication interface, and a main board according to an embodiment of the present invention. The operating system executes the application. The motherboard exchanges information with the application through the information communication interface. The main board monitors the exchange of communication information. When the motherboard exchanges information with the application is unsuccessful and exceeds the predetermined time, the motherboard generates a reset signal and restarts the device according to the reset signal.

依據本發明之另一實施例揭露一種具有重啟功能的裝置,包含作業系統、資訊溝通介面、微控制器與主板。作業系統執行應用程式。微控制器設置於主板上。微控制器通過資訊溝通介面與應用程式交換溝通資訊。微控制器監控溝通資訊的交換。當微控制器與應用程式交換溝通資訊不成功,且超過預定時間時,微控制器產生重置信號且將重置信號傳送至主板。主板依據重置信號重啟裝置。According to another embodiment of the present invention, a device with a restart function includes an operating system, an information communication interface, a microcontroller, and a motherboard. The operating system executes the application. The microcontroller is set on the motherboard. The microcontroller exchanges information with the application through the information communication interface. The microcontroller monitors the exchange of communication information. When the microcontroller exchanges information with the application unsuccessfully and exceeds a predetermined time, the microcontroller generates a reset signal and transmits the reset signal to the motherboard. The motherboard restarts the device according to the reset signal.

依據本發明之另一實施例揭露一種具有重啟功能的裝置,包含作業系統、資訊溝通介面、微控制器與主板。作業系統執行應用程式,微控制器通過第一資訊溝通介面與應用程式交換第一溝通資訊。主板通過第一資訊溝通介面與應用程式交換第二溝通資訊。其中當微控制器與應用程式交換第一溝通資訊不成功,且超過預定時間時,微控制器產生第一重置信號,當主板與應用程式交換第二溝通資訊不成功,且超過預定時間時,主板產生第二重置信號。主板依據第一重置信號或第二重置信號以重啟裝置。According to another embodiment of the present invention, a device with a restart function includes an operating system, an information communication interface, a microcontroller, and a motherboard. The operating system executes the application, and the microcontroller exchanges the first communication information with the application through the first information communication interface. The motherboard exchanges the second communication information with the application through the first information communication interface. When the first communication information is exchanged between the microcontroller and the application is unsuccessful, and the predetermined time is exceeded, the microcontroller generates a first reset signal. When the motherboard and the application exchange the second communication information, the communication information is unsuccessful and exceeds the predetermined time. The motherboard generates a second reset signal. The main board restarts the device according to the first reset signal or the second reset signal.

依據本發明之另一實施例揭露一種具有重啟功能的系統,包含中控主機、遠端管理介面與具有重啟功能的裝置。中控主機,用以提供控制指令。具有重啟功能的裝置通過遠端管理介面與中控主機進行溝通。具有重啟功能的裝置包含作業系統、資訊溝通介面、主板與微控制器。作業系統執行應用程式且用以接收控制指令。微控制器電性連接主板,且通過資訊溝通介面與應用程式進行溝通。微控制器依據控制指令,選擇性地產生重置信號,主板依據重置信號重啟具有重啟功能的裝置。According to another embodiment of the present invention, a system with a restart function includes a central control host, a remote management interface, and a device having a restart function. The central control host is used to provide control commands. The device with the restart function communicates with the central control host through the remote management interface. The device with restart function includes operating system, information communication interface, motherboard and microcontroller. The operating system executes the application and is used to receive control commands. The microcontroller is electrically connected to the motherboard and communicates with the application through the information communication interface. The microcontroller selectively generates a reset signal according to the control command, and the motherboard restarts the device with the restart function according to the reset signal.

綜合以上所述,於本發明所提供的具有重啟功能的裝置中,應用程式與微控制器及主板之間通過資訊溝通介面交換溝通資訊,並藉由微控制器監控溝通資訊的交換,當溝通資訊的交換不成功且超過預定時間,微控制器則判斷裝置當機而產生重置信號來重啟裝置,進而達到保護的效果。In summary, in the device with the restart function provided by the present invention, the application communicates with the microcontroller and the main board through the information communication interface, and the communication information is exchanged by the microcontroller to communicate. If the exchange of information is unsuccessful and exceeds the predetermined time, the microcontroller determines that the device is down and generates a reset signal to restart the device, thereby achieving the protection effect.

以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the disclosure and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention, and to provide further explanation of the scope of the invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

請參照圖1,圖1係依據本發明之一實施例所繪示的具有重啟功能的裝置。如圖1所示,具有重啟功能的裝置1包含作業系統10、資訊溝通介面12與主板14。於此實施例中,作業系統10中安裝有應用程式101,作業系統10可以執行應用程式101。於實務上,作業系統10係為電腦系統的核心,主要係用來負責系統中的基本運作,例如管理記憶體、配置系統的資源、控制網路或管理檔案系統等。舉例來說,作業系統10可以是常用的作業系統Windows, Mac OSX ,Linux等,本發明不以作業系統的種類為限。主板14通過資訊溝通介面12與應用程式101交換溝通資訊。所述的資訊溝通介面12用以提供一個資訊交換的路徑,使得應用程式101與主板14之間可以進行資訊的傳遞。於一個例子中,資訊溝通介面12係為視窗管理監測(Windows Management Instrumentation, WMI)。視窗管理監測(WMI)通過編程和指令碼語言提供一致的溝通途徑,使應用程式101與微控制器14相互溝通。Please refer to FIG. 1. FIG. 1 is a diagram of a device with a restart function according to an embodiment of the invention. As shown in FIG. 1, the device 1 having a restart function includes an operating system 10, an information communication interface 12, and a main board 14. In this embodiment, the application 101 is installed in the operating system 10, and the operating system 10 can execute the application 101. In practice, the operating system 10 is the core of the computer system, and is mainly used to be responsible for the basic operations in the system, such as managing memory, configuring system resources, controlling the network, or managing the file system. For example, the operating system 10 may be a commonly used operating system Windows, Mac OSX, Linux, etc., and the present invention is not limited to the type of operating system. The main board 14 exchanges communication information with the application 101 through the information communication interface 12. The information communication interface 12 is configured to provide a path for information exchange, so that information can be transmitted between the application 101 and the main board 14. In one example, the information communication interface 12 is Windows Management Instrumentation (WMI). Windows Management Monitoring (WMI) provides a consistent communication path through programming and scripting language to enable application 101 and microcontroller 14 to communicate with each other.

主板14監控溝通資訊的交換,當主板14與應用程式101交換溝通資訊不成功,且超過預定時間時,主板14產生重置信號,重置信號用以重啟具有重啟功能的裝置1。於一實施例中,如圖1所示,主板14包含有一計時器16,在應用程式101與主板14的計時器16進行溝通資訊的交換時,計時器16會監控整個溝通資訊交換的過程,若雙方的交換溝通資訊未成功,而且未成功的狀態持續的時間超過預定的時間時,主板14的計時器16會判定具有重啟功能的裝置1發生異常,進而產生重置信號。於一個例子中,主板14可以是電腦硬體架構中的主機板。於一實施例中,主板14與應用程式101之間所交換的溝通資訊包含第一資訊與第二資訊。第一資訊係由應用程式101通過資訊溝通介面被傳送至主板14,而第二資訊係由主板14通過資訊溝通介面12被傳送至應用程式101。當超過預定時間,主板14未接收到來自應用程式101的第一資訊,或主板14無法傳送第二資訊至應用程式101時,主板14產生重置信號且依據重置信號重啟具有重啟功能的裝置1。The main board 14 monitors the exchange of communication information. When the main board 14 exchanges communication information with the application 101 is unsuccessful and exceeds a predetermined time, the main board 14 generates a reset signal for restarting the device 1 having the restart function. In one embodiment, as shown in FIG. 1, the main board 14 includes a timer 16, which monitors the entire communication information exchange process when the application 101 exchanges information with the timer 16 of the main board 14. If the exchange information of the two parties is unsuccessful and the unsuccessful state lasts longer than the predetermined time, the timer 16 of the main board 14 determines that the device 1 having the restart function has an abnormality, thereby generating a reset signal. In one example, the motherboard 14 can be a motherboard in a computer hardware architecture. In one embodiment, the communication information exchanged between the main board 14 and the application 101 includes the first information and the second information. The first information is transmitted from the application 101 to the main board 14 through the information communication interface, and the second information is transmitted from the main board 14 to the application 101 through the information communication interface 12. When the main board 14 does not receive the first information from the application 101, or the main board 14 cannot transmit the second information to the application 101, the main board 14 generates a reset signal and restarts the device having the restart function according to the reset signal. 1.

以一個實際的例子來說,具有重啟功能的裝置1在正常運行的狀態下,其作業程系統10中的應用程式101會傳送資訊(如前述的第一資訊)至主板14,而主板14亦會傳送資訊(如前述的第二資訊) 至應用程式101,以完成溝通資訊的交換。然而,當作業系統10所執行的應用程式101發生異常時,例如應用程式因處理的資料量過於龐大,可能使應用程式101運行時產生異常而失去發送資訊的功能,進而導致主板14接收不到來自應用程式101的資訊。此時主板14通過監控溝通資訊的交換,便可以得知雙方的溝通資訊發生了異常的情況而導致溝通資訊的交換不成功,倘若主板14持續接收不到來自應用程式101的資訊,且超過了一個預設的時間值,主板14便會判斷具有重啟功能的裝置1發生當機或異常狀況,進而產生重置信號,使得具有重啟功能的裝置1可以通過所述的重置信號重新地啟動。In a practical example, the device 101 with the restart function in the normal running state, the application 101 in the operating system 10 transmits information (such as the first information mentioned above) to the main board 14, and the main board 14 also Information (such as the second information described above) will be transmitted to the application 101 to complete the exchange of communication information. However, when an abnormality occurs in the application 101 executed by the operating system 10, for example, the amount of data processed by the application program is too large, which may cause the application 101 to generate an abnormality while running, and lose the function of transmitting information, thereby causing the motherboard 14 to fail to receive the information. Information from the application 101. At this time, by monitoring the exchange of communication information, the main board 14 can know that the communication information of the two parties is abnormal, and the exchange of communication information is unsuccessful. If the main board 14 continues to receive the information from the application 101, and exceeds For a preset time value, the main board 14 judges that the device 1 having the restart function is down or abnormal, thereby generating a reset signal, so that the device 1 having the restart function can be restarted by the reset signal.

於另一個例子中,當應用程式101發生異常時,應用程式101可能失去接收資訊的功能,而導致主板14所發送的資訊無法傳遞至應用程式101。若資訊持續地無法被傳送至應用程式101,表示溝通資訊的交換不成功,若不成功的狀態超過了一個預設的時間值,則主板14判斷具有重啟功能的裝置1當機,進而產生重置信號以重新啟動具有重啟功能的裝置1。所述的具有重啟功能的裝置1可以被應用於在設置於牆面的大型電子裝置(例如電視牆或電子看板)。通常該等大型電子裝置主要係用於傳播公開訊息(例如廣告資訊)給民眾。當裝置發生當機或異常時,可以通過前述具有重啟功能的裝置1的運作,即時地產生重置信號來重新開啟電子裝置,以避免訊息的傳播受到影響。In another example, when an abnormality occurs in the application 101, the application 101 may lose the function of receiving information, and the information sent by the motherboard 14 may not be transmitted to the application 101. If the information cannot be continuously transmitted to the application 101, indicating that the exchange of communication information is unsuccessful, if the unsuccessful state exceeds a preset time value, the main board 14 determines that the device 1 having the restart function is down, thereby generating a heavy A signal is asserted to restart device 1 with a restart function. The device 1 with a restart function can be applied to a large electronic device (such as a video wall or an electronic billboard) installed on a wall surface. Usually these large electronic devices are mainly used to spread public information (such as advertising information) to the public. When the device is down or abnormal, the reset signal can be generated by the operation of the device 1 having the restart function to restart the electronic device to prevent the propagation of the message from being affected.

請參照圖2,圖2係依據本發明之另一實施例所繪示的具有重啟功能的裝置。如圖2所示,具有重啟功能的裝置2包含作業系統20、資訊溝通介面22、微控制器24與主板26。與圖1實施例相同,作業系統20執行應用程式201。而微控制器24係設置於主板26上。微控制器24通過資訊溝通介面22與應用程式201交換溝通資訊。微控制器24監控溝通資訊的交換,當微控制器24與應用程式201交換該溝通資訊不成功,且超過一預定時間時,微控制器24便產生一個重置信號。而於圖2的實施例中,所述的重置信號會先被傳送至主板26,再經由主板26進一步依據重置信號重新啟動具有重啟功能的裝置2。於一個例子中,主板26具有通用輸出接腳(General-Purpose Output, GPO) 。主板26通過通用輸出接腳接收重置信號,進而將具有重啟功能的裝置2重新設定並啟動。Please refer to FIG. 2. FIG. 2 is a diagram of a device with a restart function according to another embodiment of the present invention. As shown in FIG. 2, the device 2 having a restart function includes an operating system 20, an information communication interface 22, a microcontroller 24, and a main board 26. The operating system 20 executes the application 201 as in the embodiment of FIG. The microcontroller 24 is disposed on the main board 26. The microcontroller 24 exchanges communication information with the application 201 via the information communication interface 22. The microcontroller 24 monitors the exchange of communication information. When the microcontroller 24 exchanges the communication information with the application 201 unsuccessfully and exceeds a predetermined time, the microcontroller 24 generates a reset signal. In the embodiment of FIG. 2, the reset signal is first transmitted to the main board 26, and the device 2 having the restart function is further restarted according to the reset signal via the main board 26. In one example, the motherboard 26 has a General-Purpose Output (GPO). The main board 26 receives the reset signal through the universal output pin, thereby resetting and starting the device 2 having the restart function.

於一實施例中,微控制器24與應用程式201之間所交換的溝通資訊包含第三資訊與第四資訊。第三資訊由應用程式201通過資訊溝通介面22被傳送至微控制器24。第四資訊由微控制器24通過資訊溝通介面22被傳送至應用程式201。當超過所述的預定時間,微控制器24未接收到來自應用程式201的第三資訊,或微控制器24無法傳送第四資訊至應用程式201時,則微控制器24產生重置信號,而使得主板26可以依據重置信號來重啟裝置。舉例來說,當應用程式201可能因運行時負載過重而導致處於異常狀態,應用程式201失去發送資訊的功能,而使得微控制器24無法接收到來自應用程式201的資訊。微控制器24通過監控溝通資訊的交換,便可以得知雙方的溝通資訊發生了異常的情況而導致溝通資訊的交換不成功。若是微控制器24持續接收不到來自應用程式101的資訊,且超過了一個預設的時間值,微控制器24便會判斷具有重啟功能的裝置2發生當機或異常狀況,進而產生重置信號,以使主板26依據重置信號來重啟裝置。於另一個例子中,當應用程式201發生異常時,應用程式201失去接收資訊的功能,而導致微控制器24所發送的資訊無法傳遞至應用程式201。若資訊持續地無法被傳送至應用程式201,表示溝通資訊的交換不成功。若不成功的狀態超過了一個預設的時間值,則微控制器24判斷具有重啟功能的裝置2當機,進而產生重置信號。且進一步將重置信號傳送至主板26,以重新啟動具有重啟功能的裝置2。In one embodiment, the communication information exchanged between the microcontroller 24 and the application 201 includes third information and fourth information. The third information is transmitted by the application 201 to the microcontroller 24 via the information communication interface 22. The fourth information is transmitted by the microcontroller 24 to the application 201 via the information communication interface 22. When the predetermined time is exceeded, the microcontroller 24 does not receive the third information from the application 201, or the microcontroller 24 cannot transmit the fourth information to the application 201, the microcontroller 24 generates a reset signal. The motherboard 26 can be caused to restart the device according to the reset signal. For example, when the application 201 may be in an abnormal state due to excessive load during operation, the application 201 loses the function of transmitting information, so that the microcontroller 24 cannot receive information from the application 201. By monitoring the exchange of communication information, the microcontroller 24 can know that the communication information of the two parties has an abnormal situation, and the exchange of communication information is unsuccessful. If the microcontroller 24 continues to receive no information from the application 101 and exceeds a preset time value, the microcontroller 24 determines that the device 2 with the restart function has a crash or an abnormal condition, thereby generating a reset. The signal is such that the motherboard 26 restarts the device in response to the reset signal. In another example, when an abnormality occurs in the application 201, the application 201 loses the function of receiving information, and the information sent by the microcontroller 24 cannot be transmitted to the application 201. If the information cannot be continuously transmitted to the application 201, the exchange of communication information is unsuccessful. If the unsuccessful state exceeds a preset time value, the microcontroller 24 determines that the device 2 having the restart function is down, thereby generating a reset signal. And the reset signal is further transmitted to the main board 26 to restart the device 2 having the restart function.

請參照圖3,圖3係為依據本發明之另一實施例所繪示的具有重啟功能的裝置。如圖3所示,具有重啟功能的裝置3包含作業系統30、資訊溝通介面32、微控制器34與主板36。作業系統30執行應用程式301。微控制器34設置於主板36上,其中微控制器34通過資訊溝通介面32與應用程式301交換第一溝通資訊,而主板36亦通過資訊溝通介面32與應用程式301交換第二溝通資訊。當微控制器34與應用程式301交換第一溝通資訊不成功,且不成功的狀態超過預定時間時,微控制器34會產生第一重置信號。同樣地,當主板36與應用程式301交換第二溝通資訊不成功,且不成功的狀態超過預定時間時,主板36會產生第二重置信號。主板36可以依據第一重置信號或第二重置信號,將具有重啟功能的裝置3重新啟動。於一實施例中,如圖3所示,主板36包含,通過資訊溝通介面32與應用程式301交換第二溝通資訊。主板36的計時器38係用以監控第二溝通資訊。當主板36的計時器38與應用程式301交換第二溝通資訊不成功,且不成功的狀態超過預定時間時,主板36的計時器38會產生所述的第二重置信號,用以重新啟動具有重啟功能的裝置3。Please refer to FIG. 3. FIG. 3 is a diagram of a device with a restart function according to another embodiment of the present invention. As shown in FIG. 3, the device 3 having a restart function includes an operating system 30, an information communication interface 32, a microcontroller 34, and a main board 36. The operating system 30 executes the application 301. The microcontroller 34 is disposed on the main board 36. The microcontroller 34 exchanges first communication information with the application 301 through the information communication interface 32, and the main board 36 exchanges the second communication information with the application 301 through the information communication interface 32. When the microcontroller 34 exchanges the first communication information with the application 301 unsuccessfully and the unsuccessful state exceeds the predetermined time, the microcontroller 34 generates a first reset signal. Similarly, when the motherboard 36 exchanges the second communication information with the application 301 unsuccessfully, and the unsuccessful state exceeds the predetermined time, the main board 36 generates a second reset signal. The main board 36 can restart the device 3 having the restart function according to the first reset signal or the second reset signal. In an embodiment, as shown in FIG. 3, the main board 36 includes the second communication information exchanged with the application 301 through the information communication interface 32. The timer 38 of the main board 36 is used to monitor the second communication information. When the timer 38 of the main board 36 exchanges the second communication information with the application 301, and the unsuccessful state exceeds the predetermined time, the timer 38 of the main board 36 generates the second reset signal for restarting. Device 3 with a restart function.

更具體來說,相較於圖1與圖2的實施例,於此圖3的實施例中,微控制器34與主板36均通過資訊溝通介面32與應用程式301進行溝通資訊的交換。當微控制器34或主板36至少其中之一無法與應用程式301成功交換溝通資訊時,主板36便會依據第一重置信號或第二重置信號來重新啟動具有重啟功能的裝置3。於一個實施例中,第一溝通資訊包含第五資訊與第六資訊。第五資訊係由應用程式301通過資訊溝通介面32被傳送至微控制器34。第六資訊由微控制器34通過資訊溝通介面32被傳送至應用程式301。於一個例子中,當應用程式301發生異常時,應用程式301可能失去接收資訊的功能而使得微控制器34無法將資訊傳送至應用程式301,或是應用程式301失去發送資訊的功能而使微控制器34接收不到資訊。More specifically, compared with the embodiment of FIG. 1 and FIG. 2, in the embodiment of FIG. 3, the microcontroller 34 and the motherboard 36 exchange information with the application 301 through the information communication interface 32. When at least one of the microcontroller 34 or the motherboard 36 is unable to successfully exchange communication information with the application 301, the main board 36 restarts the device 3 having the restart function according to the first reset signal or the second reset signal. In one embodiment, the first communication information includes the fifth information and the sixth information. The fifth information is transmitted by the application 301 to the microcontroller 34 via the information communication interface 32. The sixth information is transmitted by the microcontroller 34 to the application 301 via the information communication interface 32. In one example, when an abnormality occurs in the application 301, the application 301 may lose the function of receiving information, so that the microcontroller 34 cannot transmit information to the application 301, or the application 301 loses the function of transmitting information. Controller 34 does not receive the information.

當前述的兩種異常情形其中至少一個持續且超過了預定的時間時,微控制器34便會產生第一重置信號。基於同樣的道理,於另一實施例中,第二溝通資訊包含第七資訊與第八資訊。第七資訊係由應用程式301通過資訊溝通介面32被傳送至主板36。第八資訊由主板36通過資訊溝通介面32被傳送至應用程式301。當應用程式301發生異常時,應用程式301可能失去接收資訊的功能而使得主板36無法將資訊傳送至應用程式301,或是應用程式301失去發送資訊的功能而使主板36接收不到資訊。當前述的兩種異常情形其中至少一個持續且超過了預定的時間時,主板36便會產生第二重置信號。The microcontroller 34 generates a first reset signal when at least one of the two abnormal conditions described above continues for more than a predetermined time. Based on the same principle, in another embodiment, the second communication information includes the seventh information and the eighth information. The seventh information is transmitted by the application 301 to the main board 36 through the information communication interface 32. The eighth information is transmitted by the main board 36 to the application 301 through the information communication interface 32. When the application 301 is abnormal, the application 301 may lose the function of receiving information, so that the motherboard 36 cannot transmit information to the application 301, or the application 301 loses the function of sending information, so that the motherboard 36 does not receive the information. The main board 36 generates a second reset signal when at least one of the two abnormal conditions described above continues for more than a predetermined time.

請參照圖4,圖4係為依據本發明之一實施例所繪示的具有重啟功能的系統。如圖4所示,具有重啟功能的系統4包含中控主機40、遠端管理介面42與多個具有重啟功能的裝置44~48。中控主機40係用以提供控制指令。具有重啟功能的裝置44~48通過遠端管理介面42與中控主機40進行溝通。於此實施例中,中控主機40所發送的控制指令通過遠端管理介面42傳遞至具有重啟功能的裝置44~48。於一個例子中,遠端管理介面42可以是視窗管理監測(Windows Management Instrumentation, WMI),通過其特定語法使得具有重啟功能的裝置44~48接收到一致的控制指令。而具有重啟功能的裝置44具有作業系統440、資訊溝通介面444、微控制器446與主板448。作業系統440執行應用程式442且用以接收控制指令。微控制器446電性連接主板448,且通過資訊溝通介面444與應用程式442進行溝通。當作業系統440所執行的應用程式442接收到控制指令時,微控制器446依據控制指令,選擇性地產生重置信號。Please refer to FIG. 4. FIG. 4 is a diagram of a system with a restart function according to an embodiment of the invention. As shown in FIG. 4, the system 4 with a restart function includes a central control host 40, a remote management interface 42, and a plurality of devices 44 to 48 having a restart function. The central control host 40 is used to provide control commands. The devices 44 to 48 having the restart function communicate with the central control host 40 through the remote management interface 42. In this embodiment, the control commands sent by the central control host 40 are transmitted to the devices 44 to 48 having the restart function through the remote management interface 42. In one example, the remote management interface 42 can be Windows Management Instrumentation (WMI), with its specific syntax enabling devices 44-48 with restart functionality to receive consistent control commands. The device 44 with the restart function has an operating system 440, an information communication interface 444, a microcontroller 446, and a main board 448. Operating system 440 executes application 442 and is configured to receive control instructions. The microcontroller 446 is electrically connected to the motherboard 448 and communicates with the application 442 through the information communication interface 444. When the application 442 executed by the operating system 440 receives the control command, the microcontroller 446 selectively generates a reset signal in accordance with the control command.

具體來說,若是中控主機40所下達的控制指令係包含重置的信息,則微控制器446便可以依據控制指令來產生重置信號。主板448進一步依據重置信號重啟具有重啟功能的裝置4。同樣地,具有重啟功能的裝置46具有作業系統460、資訊溝通介面464、微控制器466、主板468以及作業系統460所執行的應用程式462。具有重啟功能的裝置48具有作業系統480、資訊溝通介面484、微控制器486、主板488及作業系統480所執行的應用程式482。其連接與作動方式與具有重啟功能的裝置44相同,便不予贅述。Specifically, if the control command issued by the central control host 40 includes reset information, the microcontroller 446 can generate a reset signal according to the control command. The main board 448 further restarts the device 4 having the restart function in accordance with the reset signal. Similarly, the device 46 having the restart function has an operating system 460, an information communication interface 464, a microcontroller 466, a main board 468, and an application 462 executed by the operating system 460. The device 48 with the restart function has an application system 480, an information communication interface 484, a microcontroller 486, a motherboard 488, and an application 482 executed by the operating system 480. The connection and actuation modes are the same as those of the device 44 having the restart function, and will not be described again.

於一個實際的例子中,當具有重啟功能的裝置44~48任一個發生當機時,其可以藉由裝置本身所具有的微控制器產生重置信號,進而使主板依據重置信號重新啟動裝置。而於另外一個例子中,當具有重啟功能的裝置44~48任一個發生當機時,可以通過中控主機40下達包含有重置信息的控制指令,並通過遠端管理介面42傳送至具有重啟功能的裝置44~48的作業系統440~480,再進一步通過其資訊溝通介面444~484,將控制指令傳送至微控制器446~486。微控制器446~486便可以依據控制指令產生重置信號,分別使主板448~488重新啟動具有重啟功能的裝置44~48。In a practical example, when any of the devices 44 to 48 having the restart function is down, it can generate a reset signal by the microcontroller of the device itself, thereby causing the motherboard to restart the device according to the reset signal. . In another example, when any of the devices 44 to 48 having the restart function is down, the central control host 40 can issue a control command including the reset information and transmit it to the restart through the remote management interface 42. The operating systems 440-480 of the functional devices 44-48 further transmit control commands to the microcontrollers 446-486 via their information communication interfaces 444-484. The microcontrollers 446~486 can generate a reset signal according to the control command, and respectively cause the main boards 448~488 to restart the devices 44~48 with the restart function.

在一個實際的例子中,本發明所提出的具有重啟功能的系統4可以被應用在設置於牆面上的多個大型電子裝置或看板。一般來說,設置於牆面上的大型電子裝置或看板係用以播放訊息(例如廣告資訊),當電子裝置或看板發生當機或異常而無法播放訊息時,若是電子裝置或看板無法及時地自動重啟,而是必須等到人員發現時才進行重啟的動作,恐會造成不便,同時也浪費廣告播出的時間。因此,通過本發明的具有重啟功能的系統4的應用,可以藉由終端機台(例如圖4的中控主機40)連接多個大型電子裝置(例如圖4的具有重啟功能的裝置44~48),並於部分的多個大型電子裝置當機時可以及時地傳送控制指令,來重新啟動多個大型電子裝置,進而達到快速且方便的重啟效果。In a practical example, the system 4 with restart function proposed by the present invention can be applied to a plurality of large electronic devices or kanbans disposed on a wall surface. Generally speaking, a large electronic device or a kanban placed on a wall is used to play a message (such as advertising information). When an electronic device or a kanban is down or abnormal and cannot be played, if the electronic device or the kanban cannot be timely Automatically restart, but must wait until the person finds it to restart the action, which may cause inconvenience, but also waste the time of the advertisement. Therefore, through the application of the system 4 with the restart function of the present invention, a plurality of large-scale electronic devices can be connected by the terminal station (for example, the central control host 40 of FIG. 4) (for example, the devices 44-48 with the restart function of FIG. 4) ), and when a plurality of large-scale electronic devices are down, the control commands can be transmitted in time to restart a plurality of large-scale electronic devices, thereby achieving a quick and convenient restart effect.

綜合以上所述,本發明所提出的具有重啟功能的裝置,係通過微控制器來監控作業系統所執行的應用程式與微控制器及主板之間的溝通資訊的交換,並依據預定時間選擇性產生重置信號來重啟裝置。此一具有重啟功能的裝置不但針對電腦硬體當機時提供保護,其保護範圍更涵蓋了電腦的作業系統與應用程式。In summary, the device with the restart function proposed by the present invention monitors the exchange of communication information between the application executed by the operating system and the microcontroller and the motherboard through the microcontroller, and is selectively selected according to a predetermined time. A reset signal is generated to restart the device. This device with a restart function not only protects the computer when it is down, but also covers the operating system and applications of the computer.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。Although the present invention has been disclosed above in the foregoing embodiments, it is not intended to limit the invention. It is within the scope of the invention to be modified and modified without departing from the spirit and scope of the invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

1、2、3、44、46、48‧‧‧具有重啟功能的裝置1, 2, 3, 44, 46, 48‧‧‧ devices with restart function

4‧‧‧具有重啟功能的系統4‧‧‧System with restart function

10、20、30、440、460、480‧‧‧作業系統10, 20, 30, 440, 460, 480 ‧ ‧ operating systems

101、201、301、442、462、482‧‧‧應用程式101, 201, 301, 442, 462, 482‧‧‧ applications

12、22、32、444、464、484‧‧‧資訊溝通介面12, 22, 32, 444, 464, 484 ‧ ‧ information communication interface

24、34、446、466、486‧‧‧微控制器24, 34, 446, 466, 486‧‧‧ Microcontrollers

16、38‧‧‧計時器16, 38‧‧ ‧ timer

14、26、36、448、468、488‧‧‧主板14, 26, 36, 448, 468, 488‧‧‧ motherboards

40‧‧‧中控主機40‧‧‧Central Control Host

42‧‧‧遠端管理介面42‧‧‧ Remote Management Interface

圖1係為依據本發明之一實施例所繪示的具有重啟功能的裝置。 圖2係為依據本發明之另一實施例所繪示的具有重啟功能的裝置。 圖3係為依據本發明之另一實施例所繪示的具有重啟功能的裝置。 圖4係為依據本發明之一實施例所繪示的具有重啟功能的系統。FIG. 1 is a diagram of a device with a restart function according to an embodiment of the invention. FIG. 2 is a diagram of a device with a restart function according to another embodiment of the present invention. FIG. 3 is a diagram of a device with a restart function according to another embodiment of the present invention. FIG. 4 is a diagram of a system with a restart function according to an embodiment of the invention.

Claims (9)

一種具有重啟功能的裝置,包含:一作業系統,執行一應用程式;一資訊溝通介面;以及一主板,通過該資訊溝通介面與該應用程式交換一溝通資訊,該主板監控該溝通資訊的交換,當該主板與該應用程式交換該溝通資訊不成功,且超過一預定時間時,該主板產生一重置信號且依據該重置信號重啟該裝置。A device having a restart function, comprising: an operating system, executing an application; an information communication interface; and a motherboard through which the communication information is exchanged with the application, and the motherboard monitors the exchange of the communication information. When the motherboard exchanges the communication information with the application unsuccessfully and exceeds a predetermined time, the motherboard generates a reset signal and restarts the device according to the reset signal. 如請求項1所述的具有重啟功能的裝置,其中該溝通資訊包含:一第一資訊,由該應用程式通過該資訊溝通介面被傳送至該主板;以及一第二資訊,由該主板通過該資訊溝通介面被傳送至該應用程式;其中當超過該預定時間,該主板未接收到來自該應用程式的該第一資訊,或該主板無法傳送該第二資訊至該應用程式時,該主板產生該重置信號。The device with a restart function as described in claim 1, wherein the communication information includes: a first information transmitted by the application to the motherboard through the information communication interface; and a second information passed by the motherboard The information communication interface is transmitted to the application; wherein the motherboard generates the first information from the application when the predetermined time is not received, or the motherboard cannot transmit the second information to the application The reset signal. 一種具有重啟功能的裝置,包含:一作業系統,執行一應用程式;一資訊溝通介面; 一主板;以及一微控制器,設置於該主板上,該微控制器通過該資訊溝通介面與該應用程式交換一溝通資訊,該微控制器監控該溝通資訊的交換,當該微控制器與該應用程式交換該溝通資訊不成功,且超過該預定時間時,該微控制器產生一重置信號,且將該重置信號傳送至該主板,使該主板依據該重置信號重啟該裝置。A device having a restart function, comprising: an operating system, executing an application; an information communication interface; a motherboard; and a microcontroller disposed on the motherboard, the microcontroller communicating with the application through the information interface The program exchanges a communication message, the microcontroller monitors the exchange of the communication information, and when the microcontroller exchanges the communication information with the application is unsuccessful, and the predetermined time is exceeded, the microcontroller generates a reset signal. And transmitting the reset signal to the motherboard, so that the motherboard restarts the device according to the reset signal. 如請求項3所述的具有重啟功能的裝置,其中該主板具有一通用輸出接腳(General-Purpose Output, GPO),該主板通過該通用輸出接腳接收該重置信號以重啟該裝置。The device with a restart function as claimed in claim 3, wherein the motherboard has a General-Purpose Output (GPO), and the motherboard receives the reset signal through the universal output pin to restart the device. 如請求項3所述的具有重啟功能的裝置,其中該溝通資訊包含:一第三資訊,由該應用程式通過該資訊溝通介面被傳送至該微控制器;以及一第四資訊,由該微控制器通過該資訊溝通介面被傳送至該應用程式;其中當超過該預定時間,該微控制器未接收到來自該應用程式的該第三資訊,或該微控制器無法傳送該第四資訊至該應用程式時,該微控制器產生該重置信號。The device with a restart function as described in claim 3, wherein the communication information includes: a third information transmitted by the application to the microcontroller through the information communication interface; and a fourth information by the micro The controller is transmitted to the application through the information communication interface; wherein when the predetermined time is exceeded, the microcontroller does not receive the third information from the application, or the microcontroller cannot transmit the fourth information to The microcontroller generates the reset signal for the application. 一種具有重啟功能的裝置,包含:一作業系統,執行一應用程式;一資訊溝通介面;一微控制器,通過該資訊溝通介面與該應用程式交換一第一溝通資訊;以及一主板,通過該資訊溝通介面與該應用程式交換一第二溝通資訊;其中當該微控制器與該應用程式交換該第一溝通資訊不成功,且超過一預定時間時,該微控制器產生一第一重置信號,當該主板與該應用程式交換該第二溝通資訊不成功,且超過該預定時間時,該主板產生一第二重置信號,該主板依據該第一重置信號或該第二重置信號以重啟該裝置。A device having a restart function, comprising: an operating system, executing an application; an information communication interface; a microcontroller, exchanging a first communication message with the application through the information communication interface; and a motherboard The information communication interface exchanges a second communication information with the application; wherein when the microcontroller exchanges the first communication information with the application is unsuccessful and exceeds a predetermined time, the microcontroller generates a first reset Signaling, when the motherboard exchanges the second communication information with the application is unsuccessful, and the predetermined time is exceeded, the motherboard generates a second reset signal, and the motherboard according to the first reset signal or the second reset Signal to restart the device. 如請求項6所述的具有重啟功能的裝置,其中該第一溝通資訊包含:一第五資訊,由該應用程式通過該資訊溝通介面被傳送至該微控制器;以及一第六資訊,由該微控制器通過該資訊溝通介面被傳送至該應用程式;其中當超過該預定時間,該微控制器未接收到來自該應用程式的該第五資訊,或該微控制器無法傳送該第六資訊至該應用程式時,該微控制器產生該第一重置信號。The device with a restart function as described in claim 6, wherein the first communication information includes: a fifth information transmitted by the application to the microcontroller through the information communication interface; and a sixth information, The microcontroller is transmitted to the application through the information communication interface; wherein when the predetermined time is exceeded, the microcontroller does not receive the fifth information from the application, or the microcontroller cannot transmit the sixth The microcontroller generates the first reset signal when the information is sent to the application. 如請求項6所述的具有重啟功能的裝置,其中該第二溝通資訊包含:一第七資訊,由該應用程式通過該資訊溝通介面被傳送至該主板;以及一第八資訊,由該主板通過該資訊溝通介面被傳送至該應用程式;其中當超過該預定時間,該主板未接收到來自該應用程式的該第七資訊,或該主板無法傳送該第八資訊至該應用程式時,該主板產生該第二重置信號。The device with a restart function as described in claim 6, wherein the second communication information comprises: a seventh information transmitted by the application to the motherboard through the information communication interface; and an eighth information by the motherboard The information communication interface is transmitted to the application; wherein, when the predetermined time is exceeded, the motherboard does not receive the seventh information from the application, or the motherboard cannot transmit the eighth information to the application, The motherboard generates the second reset signal. 一種具有重啟功能的系統,包含:一中控主機,用以提供一控制指令;一遠端管理介面;以及至少一具有重啟功能的裝置,通過該遠端管理介面與該中控主機進行溝通,每一該具有重啟功能的裝置包含:一作業系統,執行一應用程式且用以接收該控制指令;一資訊溝通介面;一主板;以及一微控制器,電性連接該主板,且通過該資訊溝通介面與該應用程式進行溝通,該微控制器依據該控制指令,選擇性地產生一重置信號,該主板依據該重置信號重啟該具有重啟功能的裝置。A system with a restart function, comprising: a central control host for providing a control command; a remote management interface; and at least one device having a restart function, and communicating with the central control host through the remote management interface, Each of the devices having the restart function includes: an operating system, executing an application and receiving the control command; an information communication interface; a motherboard; and a microcontroller electrically connected to the motherboard and passing the information The communication interface communicates with the application, and the microcontroller selectively generates a reset signal according to the control command, and the motherboard restarts the device with the restart function according to the reset signal.
TW105139137A 2016-11-28 2016-11-28 Device having restarting function TW201820137A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105139137A TW201820137A (en) 2016-11-28 2016-11-28 Device having restarting function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105139137A TW201820137A (en) 2016-11-28 2016-11-28 Device having restarting function

Publications (1)

Publication Number Publication Date
TW201820137A true TW201820137A (en) 2018-06-01

Family

ID=63258059

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105139137A TW201820137A (en) 2016-11-28 2016-11-28 Device having restarting function

Country Status (1)

Country Link
TW (1) TW201820137A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI766567B (en) * 2020-12-11 2022-06-01 慧榮科技股份有限公司 Multi-screen display control device
US11630629B2 (en) 2020-12-11 2023-04-18 Silicon Motion, Inc. Multi-screen display control device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI766567B (en) * 2020-12-11 2022-06-01 慧榮科技股份有限公司 Multi-screen display control device
US11614998B2 (en) 2020-12-11 2023-03-28 Silicon Motion, Inc. Multi-screen display control device
US11630629B2 (en) 2020-12-11 2023-04-18 Silicon Motion, Inc. Multi-screen display control device

Similar Documents

Publication Publication Date Title
US20150127814A1 (en) Monitoring Server Method
WO2017121141A1 (en) Hot plug method, host controller, host and pcie bridge device
TWI676890B (en) Chahssis monitoring system and chassis monitoring method
TWI261748B (en) Policy-based response to system errors occurring during OS runtime
TW201911813A (en) Network Switching System
AU2014376751B2 (en) Redundant system and method for managing redundant system
TW201820137A (en) Device having restarting function
TWI723477B (en) Electronic apparatus, system and method capable of remotely maintaining the operation of electronic apparatus
JP2004362543A (en) Safety power disconnection system and its method
CN103984616A (en) Server monitoring method and server
KR101369430B1 (en) Apparatus and method for hang up management
CN105117300A (en) Apparatus for realizing high availability of heartbeat
WO2016062057A1 (en) Device and method for preventing bus from deadlocking, and computer storage medium
TWI483125B (en) Baseboard management controller recovery system and using method of the same
US11226862B1 (en) System and method for baseboard management controller boot first resiliency
CN110661043A (en) Battery management circuit, control method thereof and battery management system
JP4883492B2 (en) Virtual machine management system, computer, and program
TWM598968U (en) Out-of-band external control equipment and system
JPS596735A (en) Defect notifying system
CN108334359B (en) Server control method, system, equipment and computer storage medium
US20060004929A1 (en) Method and apparatus for recovering from inefficient behavior of devices on I/O buses
TWI802065B (en) Communication interface adapter capable of controlling power and signals of peripheral devices, method for dynamically assigning identification codes of communication interface adapter, and method for automatically diagnosing peripheral devices and repairing problems
CN112732504B (en) Server BMC serial port circuit
TW201303580A (en) Supervisor system resuming control
TWI715005B (en) Monitor method for demand of a bmc