CN1567225A - Application management system and method - Google Patents
Application management system and method Download PDFInfo
- Publication number
- CN1567225A CN1567225A CN 03147853 CN03147853A CN1567225A CN 1567225 A CN1567225 A CN 1567225A CN 03147853 CN03147853 CN 03147853 CN 03147853 A CN03147853 A CN 03147853A CN 1567225 A CN1567225 A CN 1567225A
- Authority
- CN
- China
- Prior art keywords
- application program
- computer system
- monitoring module
- processor
- running state
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种应用程序管理系统和方法,特别涉及一种可以通过外部处理器来监控计算机系统应用程序的运行状态的应用程序管理系统和方法。The present invention relates to an application program management system and method, in particular to an application program management system and method capable of monitoring the running status of computer system application programs through an external processor.
背景技术Background technique
随着家电向智能型发展的趋势,新一代计算机系统除了具有一般的计算机功能之外,还引入了家电的概念,即计算机系统可以具有播放音乐(CD/MP3)与音像光盘(VCD/DVD)、电视(TV)与观看相片(PHOTO)等功能。With the trend of smart home appliances, the new generation of computer systems has introduced the concept of home appliances in addition to general computer functions, that is, the computer system can play music (CD/MP3) and audio-visual discs (VCD/DVD) , TV (TV) and viewing photos (PHOTO) and other functions.
现在一般的计算机系统已经可以满足使用者在视听娱乐方面的需求。计算机系统可以提供不同的操作模式,如计算机模式与娱乐模式等,以便使使用者在计算机系统中执行一些特定的多媒体功能与应用软件,例如音乐播放、图像播放、电视节目播放、广播收听、相片观赏、音像录制等。Now the general computer system can meet the needs of users in audio-visual entertainment. The computer system can provide different operating modes, such as computer mode and entertainment mode, so that users can execute some specific multimedia functions and application software in the computer system, such as music playback, image playback, TV program playback, radio listening, photo Viewing, audio and video recording, etc.
当使用者只想利用计算机系统进行多媒体音像播放时,通常是将计算机系统当作家电使用。在一般情况下,当特定模式下的应用程序因为不明原因而发生异常,如当机或暂停时,由于不了解故障发生的原因,使用者往往不知如何处理这种情况,而必须花费多余的时间来等待计算机系统的反应,甚至是在计算机系统因当机而没有反应时,这就降低了使用者对计算机系统的满意度。When users only want to use the computer system to play multimedia audio and video, they usually use the computer system as a home appliance. In general, when an application in a specific mode is abnormal due to unknown reasons, such as crashing or suspending, users often do not know how to deal with this situation because they do not understand the cause of the failure, and must spend extra time To wait for the response of the computer system, even when the computer system does not respond due to a crash, this reduces the user's satisfaction with the computer system.
发明内容Contents of the invention
本发明的主要目的是提供一种可以通过外部处理器来监控计算机系统应用程序的运行状态的应用程序管理系统和方法,其在应用程序的运行发生异常时,用于使计算机系统自动重新开机,并重新执行应用程序。The main purpose of the present invention is to provide an application program management system and method that can monitor the running status of computer system application programs through an external processor, which is used to automatically restart the computer system when the application program is running abnormally. and re-execute the application.
根据本发明的实施例的、适用于计算机系统的应用程序管理系统,包括:第一处理器和第二处理器。第一处理器用于执行应用程序。第二处理器包括监控模块,用于监控应用程序的运行状态。当应用程序的运行状态发生异常时,监控模块使计算机系统重新开机,并由第一处理器重新执行该应用程序。An application program management system suitable for a computer system according to an embodiment of the present invention includes: a first processor and a second processor. The first processor is used to execute application programs. The second processor includes a monitoring module for monitoring the running status of the application program. When the running state of the application program is abnormal, the monitoring module restarts the computer system, and the first processor re-executes the application program.
根据本发明的实施例的应用程序管理方法,首先,由第一处理器执行应用程序。然后,由第二处理器的监控模块监控应用程序的运行状态。当应用程序的运行状态发生异常时,监控模块使计算机系统重新开机,并由第一处理器重新执行应用程序。According to the application program management method of the embodiment of the present invention, firstly, the application program is executed by the first processor. Then, the running state of the application program is monitored by the monitoring module of the second processor. When the running state of the application program is abnormal, the monitoring module restarts the computer system, and the first processor re-executes the application program.
其中,应用程序在每个第一预定时间间隔将存活信号传送到第二处理器的监控模块,并且,若监控模块在第二预定时间内没有收到该存活信号,就判断应用程序的运行状态发生了异常。另外,监控模块还可以在每个第一预定时间间隔将确认信号传送到应用程序,应用程序根据确认信号,将存活信号传送到监控模块,并且,若监控模块在第二预定时间内没有收到该存活信号,就判断应用程序的运行状态发生异常。Wherein, the application program transmits the survival signal to the monitoring module of the second processor at every first predetermined time interval, and if the monitoring module does not receive the survival signal within the second predetermined time interval, it judges the running state of the application program An exception has occurred. In addition, the monitoring module can also transmit the confirmation signal to the application program at each first predetermined time interval, and the application program transmits the survival signal to the monitoring module according to the confirmation signal, and if the monitoring module does not receive the confirmation signal within the second predetermined time interval The survival signal determines that the running state of the application program is abnormal.
附图说明Description of drawings
为了使本发明的上述目的、特征和优点能更加清晰易懂,下文通过结合附图,对本发明的优选实施例进行了详细说明,其中:In order to make the above-mentioned purposes, features and advantages of the present invention clearer and easier to understand, preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein:
图1是示出了根据本发明的实施例的应用程序管理系统的系统示意图。FIG. 1 is a system diagram showing an application program management system according to an embodiment of the present invention.
图2是示出了根据本发明的实施例的应用程序管理方法的流程图。FIG. 2 is a flowchart illustrating an application program management method according to an embodiment of the present invention.
附图标号说明:Explanation of reference numbers:
100:应用程序管理系统100: Application Management System
110:计算机系统110: Computer systems
111:应用程序111: Applications
112:第一处理器112: First Processor
120:第二处理器120: second processor
121:监控模块121: Monitoring module
S201、S202、…、S205:操作步骤S201, S202, ..., S205: Operation steps
具体实施方式Detailed ways
图1是示出了根据本发明的实施例的应用程序管理系统的系统示意图。FIG. 1 is a system diagram showing an application program management system according to an embodiment of the present invention.
根据本发明的实施例的应用程序管理系统100包括:计算机系统110和第二处理器120。其中,计算机系统110包括用于执行应用程序111的第一处理器112。值得注意的是,该应用程序111是与计算机系统110的不同操作模式相对应的特定应用程序。计算机系统110可以在计算机模式(由完整的操作系统来操作计算机)和娱乐模式(由简化的操作系统来操作计算机)下操作,其中,娱乐模式可以包括多个子模式,如音乐模式、影片模式、电视模式、收音机模式、与相片模式等。在这种情况下,应用程序111可以是在计算机模式下执行的任何程序,或者是与娱乐模式下的不同子模式相对应的特定应用程序,并执行了相应的功能。The application program management system 100 according to the embodiment of the present invention includes: a computer system 110 and a second processor 120 . Wherein, the computer system 110 includes a first processor 112 for executing an application program 111 . It should be noted that the application program 111 is a specific application program corresponding to different operation modes of the computer system 110 . The computer system 110 can operate in a computer mode (the computer is operated by a complete operating system) and an entertainment mode (the computer is operated by a simplified operating system), wherein the entertainment mode can include multiple sub-modes, such as music mode, movie mode, TV mode, radio mode, and photo mode, etc. In this case, the application program 111 may be any program executed in the computer mode, or a specific application program corresponding to different sub-modes in the entertainment mode, and execute corresponding functions.
第二处理器可以是与计算机系统110相连的外部处理器。第二处理器包括:监控模块121,如看门狗程序,用于监控计算机系统110中应用程序111的运行状态。当应用程序的运行状态发生异常时,监控模块121就会通过第二处理器120将控制信号传送到计算机系统的电源电路(图中未示出),以使计算机系统110重新开机,并由第一处理器112重新执行应用程序111。The second processor may be an external processor connected to the computer system 110 . The second processor includes: a monitoring module 121 , such as a watchdog program, configured to monitor the running status of the application program 111 in the computer system 110 . When the running state of the application program is abnormal, the monitoring module 121 will send a control signal to the power supply circuit (not shown in the figure) of the computer system through the second processor 120, so that the computer system 110 is restarted, and the second A processor 112 re-executes the application program 111 .
值得注意的是,监控模块121可以通过两种方式来监控计算机系统110中应用程序111的运行状态。第一种方式是在应用程序111中编写一个程序,以使在每个第一预定时间间隔将存活信号传送到第二处理器120的监控模块121。若监控模块121在第二预定时间内没有收到应用程序111传送的存活信号,就判断应用程序111的运行状态发生异常。It should be noted that the monitoring module 121 can monitor the running status of the application program 111 in the computer system 110 in two ways. The first way is to write a program in the application program 111 to transmit the survival signal to the monitoring module 121 of the second processor 120 every first predetermined time interval. If the monitoring module 121 does not receive the survival signal transmitted by the application program 111 within the second predetermined time, it determines that the running state of the application program 111 is abnormal.
另外,第二种方式是通过监控模块121在每个第一预定时间间隔将确认信号传送到计算机系统110的应用程序111,并且在应用程序111中也编写了一个程序,当应用程序111收到监控模块121传送的确认信号时,应用程序111会根据确认信号,将存活信号传送回监控模块121。在这种情况下,若监控模块121在第二预定时间内没有收到应用程序111传送的存活信号,就判断应用程序111的运行状态发生异常。In addition, the second way is to transmit the confirmation signal to the application program 111 of the computer system 110 through the monitoring module 121 at every first predetermined time interval, and a program is also written in the application program 111, when the application program 111 receives When the monitoring module 121 sends the confirmation signal, the application program 111 will send the survival signal back to the monitoring module 121 according to the confirmation signal. In this case, if the monitoring module 121 does not receive the survival signal transmitted by the application program 111 within the second predetermined time, it determines that the running state of the application program 111 is abnormal.
图2是示出了根据本发明的实施例的应用程序管理方法的流程图。FIG. 2 is a flowchart illustrating an application program management method according to an embodiment of the present invention.
首先,在步骤S201中,由计算机系统110的第一处理器112执行应用程序111。然后,在步骤S202中,由第二处理器120的监控模块121监控应用程序111的运行状态。此时,在应用程序的运行状态未发生异常的情况下(步骤S203中的“否”),流程回到步骤S202,监控模块121继续监控应用程序111的运行状态。First, in step S201 , the first processor 112 of the computer system 110 executes the application program 111 . Then, in step S202 , the monitoring module 121 of the second processor 120 monitors the running state of the application program 111 . At this time, if there is no abnormality in the running state of the application program ("No" in step S203), the process returns to step S202, and the monitoring module 121 continues to monitor the running state of the application program 111.
而当应用程序的运行状态发生异常时(步骤S203中的“是”),在步骤S204中,监控模块121将控制信号传送到计算机系统的电源电路,以使计算机系统110重新开机。最后,在步骤S205中,由第一处理器重新执行应用程序111。And when the running state of the application program is abnormal (“Yes” in step S203 ), in step S204 , the monitoring module 121 sends a control signal to the power supply circuit of the computer system to restart the computer system 110 . Finally, in step S205, the application program 111 is re-executed by the first processor.
类似地,可以通过两种方式来监控计算机系统110中应用程序111的运行状态。第一种方式是在应用程序111中编写一个程序,以使在每个第一预定时间间隔将存活信号传送到第二处理器120的监控模块121。若监控模块121在第二预定时间内没有收到应用程序111传送的存活信号,就判断应用程序111的运行状态发生了异常。Similarly, the running status of the application program 111 in the computer system 110 can be monitored in two ways. The first way is to write a program in the application program 111 to transmit the survival signal to the monitoring module 121 of the second processor 120 every first predetermined time interval. If the monitoring module 121 does not receive the survival signal transmitted by the application program 111 within the second predetermined time, it determines that the running state of the application program 111 is abnormal.
另外,第二种方式是通过监控模块121在每个第一预定时间间隔将确认信号传送到计算机系统110的应用程序111,并且,在应用程序111中也编写了一个程序,当应用程序111收到监控模块121传送的确认信号时,应用程序111会根据确认信号,将存活信号传送回监控模块121中。此时,若监控模块121在第二预定时间内没有收到应用程序111传送的存活信号,就判断应用程序111的运行状态发生了异常。In addition, the second way is to transmit the confirmation signal to the application program 111 of the computer system 110 at every first predetermined time interval through the monitoring module 121, and a program is also written in the application program 111, when the application program 111 receives When receiving the confirmation signal sent by the monitoring module 121, the application program 111 will send the survival signal back to the monitoring module 121 according to the confirmation signal. At this time, if the monitoring module 121 does not receive the survival signal transmitted by the application program 111 within the second predetermined time, it determines that the running state of the application program 111 is abnormal.
因此,根据本发明提供的应用程序管理系统和方法,可以通过外部处理器来监控计算机系统中应用程序的运行状态,以便在应用程序的运行发生异常时,使计算机系统自动重新开机,并重新执行应用程序。Therefore, according to the application program management system and method provided by the present invention, the running state of the application program in the computer system can be monitored through the external processor, so that when the application program runs abnormally, the computer system is automatically restarted and re-executed application.
虽然通过优选实施例公开了本发明,但是这些优选实施例并非用来限定本发明。本领域专业技术人员应该明白,在不脱离本发明的精神和范围的情况下,可以对本发明做些许更动与润饰,因此,本发明的保护范围应当以所附权利要求限定的保护范围为准。Although the invention has been disclosed through preferred embodiments, these preferred embodiments are not intended to limit the invention. Those skilled in the art should understand that some changes and modifications can be made to the present invention without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope defined by the appended claims .
Claims (19)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 03147853 CN1567225A (en) | 2003-06-25 | 2003-06-25 | Application management system and method |
| EP20040076739 EP1492007B1 (en) | 2003-06-25 | 2004-06-10 | System and method of controlling a computer supporting multiple operation modes |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 03147853 CN1567225A (en) | 2003-06-25 | 2003-06-25 | Application management system and method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1567225A true CN1567225A (en) | 2005-01-19 |
Family
ID=34472065
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 03147853 Pending CN1567225A (en) | 2003-06-25 | 2003-06-25 | Application management system and method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1567225A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100389404C (en) * | 2006-08-01 | 2008-05-21 | 西安西电捷通无线网络通信有限公司 | Method for monitoring and abnormal processing of computer application program |
| CN101599039B (en) * | 2008-06-03 | 2011-11-02 | 华为技术有限公司 | Exception handling method and device in embedded C language environment |
| CN102567895A (en) * | 2010-12-31 | 2012-07-11 | 上海博泰悦臻电子设备制造有限公司 | Method for displaying advertisement on electronic equipment |
| CN103246844A (en) * | 2013-06-03 | 2013-08-14 | 武仁杰 | Progress protection card based on USB |
| CN106339379A (en) * | 2015-07-07 | 2017-01-18 | 阿里巴巴集团控股有限公司 | Website running status monitoring method and device |
-
2003
- 2003-06-25 CN CN 03147853 patent/CN1567225A/en active Pending
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100389404C (en) * | 2006-08-01 | 2008-05-21 | 西安西电捷通无线网络通信有限公司 | Method for monitoring and abnormal processing of computer application program |
| CN101599039B (en) * | 2008-06-03 | 2011-11-02 | 华为技术有限公司 | Exception handling method and device in embedded C language environment |
| CN102567895A (en) * | 2010-12-31 | 2012-07-11 | 上海博泰悦臻电子设备制造有限公司 | Method for displaying advertisement on electronic equipment |
| CN103246844A (en) * | 2013-06-03 | 2013-08-14 | 武仁杰 | Progress protection card based on USB |
| CN103246844B (en) * | 2013-06-03 | 2016-12-28 | 武仁杰 | Process Protection card based on USB |
| CN106339379A (en) * | 2015-07-07 | 2017-01-18 | 阿里巴巴集团控股有限公司 | Website running status monitoring method and device |
| CN106339379B (en) * | 2015-07-07 | 2019-08-16 | 阿里巴巴集团控股有限公司 | Website running state monitoring method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10503371B2 (en) | Virtual tabs supporting web content suspension | |
| USRE43716E1 (en) | Method of fast switching control for different operation systems operated in computer | |
| US9037923B2 (en) | Intelligent rolling upgrade for data storage systems | |
| CN103221919B (en) | Method of provisioning firmware in a service environment where an operating system (OS) is absent | |
| US9009776B2 (en) | Information processing apparatus and output control method | |
| US20150095758A1 (en) | Web content suspension compatibility and suspended web content lifetime | |
| CN106101834A (en) | Intelligent television and control method thereof | |
| CN1282923C (en) | Computer system operable in multiple modes of operation and method of operation thereof | |
| US20090138740A1 (en) | Method and computer device capable of dealing with power fail | |
| WO2019005323A1 (en) | Modularized collaborative performance issue diagnostic system | |
| US7383469B2 (en) | Application management system and method | |
| CN1567225A (en) | Application management system and method | |
| CN101425923A (en) | Method for remote setting basic input and output system information | |
| US20080059275A1 (en) | Automatic task performance as scheduled using embedded secondary processor | |
| JP4589645B2 (en) | Recovering from an access violation caused by an audio processing object | |
| CN101364400A (en) | Information processing device and output switching control method | |
| CN111819859B (en) | Display device and operating method thereof | |
| TWI778295B (en) | Information handling system, power operation controller thereof and method of handling power requests during cluster operations | |
| CN120011106A (en) | Middleware communication method, device, equipment and storage medium | |
| CN1317115A (en) | Maintaining access to video stack after application crash | |
| US20050223307A1 (en) | Computer system for executing multimedia player system and the method thereof | |
| CN106970815A (en) | Audio software upgrade method and device, audio playback device | |
| JP2013061841A (en) | Information processing device and test method for information processing device | |
| JP2007052764A (en) | Multimedia computer system with dual-cpu and its multimedia instant play method | |
| CN101924748A (en) | Digital content system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication |