CN101149944A - Multimedia player and its automatic restarting method - Google Patents

Multimedia player and its automatic restarting method Download PDF

Info

Publication number
CN101149944A
CN101149944A CNA2006101542370A CN200610154237A CN101149944A CN 101149944 A CN101149944 A CN 101149944A CN A2006101542370 A CNA2006101542370 A CN A2006101542370A CN 200610154237 A CN200610154237 A CN 200610154237A CN 101149944 A CN101149944 A CN 101149944A
Authority
CN
China
Prior art keywords
mentioned
processing unit
central processing
power supply
receive
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
Application number
CNA2006101542370A
Other languages
Chinese (zh)
Inventor
江镇成
林忠毅
李昌鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BenQ Corp
Original Assignee
BenQ Corp
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 BenQ Corp filed Critical BenQ Corp
Priority to CNA2006101542370A priority Critical patent/CN101149944A/en
Publication of CN101149944A publication Critical patent/CN101149944A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Power Sources (AREA)

Abstract

The automatically restarting method includes: initializing a micro-controller and stating a central processor; judging whether receiving a cut-off request from the central processor, if not, judging whether periodically receiving monitoring information from a monitoring program; cutting the power-supply of the central processor and restarting it if the state of not periodically receiving information from the monitoring program went on beyond a established period.

Description

Multimedia player and the method that resets automatically thereof
Technical field
The present invention relates to multimedia player, particularly relate to a kind of method that resets automatically of multimedia player.
Background technology
Present multimedia player (for example, the DVD videocorder) must pull out power supply again and plugs (i.e. energising again after the outage) and just can allow system's running normally again when generation systems is unusual.
Fig. 1 is the configuration diagram that shows multimedia player.
This multimedia player comprises a central processing unit (CPU) 110, a microcontroller (MicroController Unit, MCU) 120, one vacuum cold light display (Vacuum Fluorescent Display, VFD) 130, one real-time clock (Real Time Clock, RTC) 140 and one power supply unit (Power) 150.Power supply unit 150 these multimedia players of supply and each the assembly required electric power that is wherein comprised.
When this multimedia player plugs in, start microcontroller 120 earlier to control the whole multimedia system, arouse central processing unit 110 then and transfer the control of this multimedia system to central processing unit 110.When the vacuum cold light display 130 of header board receives operation when requiring (for example, the triggering of button or telepilot (not shown)), central processing unit 110 is passed in this requirement handled.When standby (Standby) pattern is desired to enter by system, central processing unit 110 sends one and interrupts and notify microcontroller 120, microcontroller 120 initiatively cuts off the power supply of central processing unit 110, and then the control of multimedia system is transferred to microcontroller 120 from central processing unit 110.At this moment, vacuum cold light display 130 operation of receiving requires to be handled by microcontroller 120.
The blocked operation of system's control can be carried out by the triggering of power key, yet, under some system exception condition shape and can't cut off the power supply of central processing unit 110 by the triggering of power key.Therefore, some pre-set operation (for example, subscription and video recording) promptly can't normally be carried out.Unique solution is pulled out power lead exactly.
Therefore, the present invention proposes a kind of method that allows multimedia system reset automatically, and the system that makes is taking place to recover normal operation automatically.
Summary of the invention
Based on above-mentioned purpose, the embodiment of the invention has disclosed a kind of method that resets automatically.Initialization one microcontroller also starts a central processing unit.Judge whether to receive an outage requirement from this central processing unit.If do not receive this outage requirement, then judge whether periodically to receive a monitoring message from a watchdog routine from this central processing unit.If the situation that periodically receives this monitoring message from this watchdog routine does not surpass a given time, the power supply that then cuts off this central processing unit is also opened the power supply of this central processing unit more again.
The embodiment of the invention has also disclosed a kind of multimedia player, comprises a central processing unit, a watchdog routine and a microcontroller.This central processing unit is in order to send an outage requirement.This microcontroller is initialised according to a power supply message and starts this central processing unit, judge whether to receive this outage requirement from this central processing unit, if do not receive this outage requirement from this central processing unit, then judge whether periodically to receive a monitoring message from this watchdog routine, if the situation that periodically receives this monitoring message from this watchdog routine does not surpass a given time, the power supply that then cuts off this central processing unit is also opened the power supply of this central processing unit more again.
Description of drawings
Fig. 1 is the configuration diagram that shows multimedia player.
Fig. 2 is the flow chart of steps of the method that resets automatically of the embodiment of the invention.
The reference numeral explanation
110~central processing unit
120~microcontroller
130~vacuum cold light display
140~real-time clock
150~power supply unit
Has embodiment
For make purpose of the present invention, feature, and advantage can become apparent preferred embodiment cited below particularly, and in conjunction with the detailed explanation of Fig. 1 to Fig. 2.Instructions of the present invention provides different embodiment that the technical characterictic of the different embodiments of the present invention is described.Wherein, the configuration of each assembly among the embodiment is the usefulness for explanation, is not in order to restriction the present invention.And the part of the drawing reference numeral among the embodiment repeats, and is for the purpose of simplifying the description, is not the relevance that means between the different embodiment.
The method that the embodiment of the invention has disclosed a kind of multimedia player and resetted automatically.
Fig. 2 is the flow chart of steps of the method that resets automatically of the embodiment of the invention.
With reference to figure 1, when multimedia player plugs in, start the power supply of microcontroller 120 earlier and it is carried out initialization (step S1).Then, microcontroller 120 is also opened the power supply (promptly opening the primary power of this multimedia player) (step S2) of central processing unit 110 simultaneously, the monitoring message (step S3) that microcontroller 120 was waited for that outage from central processing unit 110 requires and periodically sent to microcontroller 120 when central processing unit 110 normal operations by a watchdog routine (Watchdog) (not shown) this moment.If central processing unit 110 has reservation operation (for example, subscription and video recording) or other operation to handle, then multimedia system is kept the state by central processing unit 110 controls always.
Then, microcontroller 120 judges whether to receive that from central processing unit 110 outage requires (PowerDown Request) (step S4).If central processing unit 110 is not carried out any operation in a Preset Time, then can send an outage and require notice microcontroller 120 to cut off its power supply (promptly closing the primary power of this multimedia player), and make multimedia player enter standby (Standby) pattern (step S5).In standby mode, microcontroller 120 may receive the button pushed on header board vacuum cold light display 130 or the telepilot (not shown), push power key or the CD dish withdraws from the control command of (Tray Out) key, perhaps real-time clock 140 time of reservation operation arrive and the interrupt request sent (Interrupt Request IRQ) (also is called control command) (step S6).Microcontroller 120 judges whether to receive above-mentioned control command (step S7).Because at present central processing unit 110 is in off-position, when microcontroller 120 was received above-mentioned control command part, the power supply (promptly opening the primary power of this multimedia player) that must open central processing unit 110 once more was to carry out corresponding operation (step S2).If not, continue to wait for and to push the control command of the button on header board vacuum cold light display 130 or the telepilot (not shown), the control command of pushing power key or CD dish ESC Escape that perhaps real-time clock 140 arrived and the interrupt request (IRQ) (also being called control command) (step S6) sent in the time of reservation operation.
As mentioned before, when central processing unit 110 is grasped controls, the monitoring message that microcontroller 120 is waited for always that the outage of central processing unit 110 requires and periodically sent to microcontroller 120 when central processing unit 110 normal operations by a watchdog routine (Watchdog) (not shown).If microcontroller 120 is not received any outage requirement from central processing unit 110, then microcontroller 120 judges whether periodically to receive monitoring message (step S8) from this watchdog routine.If then microcontroller 120 continues to wait for the monitoring message (step S3) that outage from central processing unit 110 requires and periodically sent to microcontroller 120 when central processing unit 110 normal operations by a watchdog routine (Watchdog).If periodically do not receive the state of monitoring message above a given time from this watchdog routine, expression central processing unit 110 is being handled the irregular behavior requirement or is being taken place unusual, microcontroller 120 was waited for and was pushed the button on header board vacuum cold light display 130 or the telepilot (not shown), the control command of pushing power key or CD dish ESC Escape this moment, and perhaps real-time clock 140 arrived and the interrupt request (IRQ) (also being called control command) (step S9) sent in the time of reservation operation.
Microcontroller 120 judges whether to receive above-mentioned control command (step S10).If then microcontroller 120 initiatively cuts away the power supply (promptly cutting out the primary power of this multimedia player) (step S11) of central processing unit 110 and opens the power supply (step S2) of central processing unit 110 more again so that allow central processing unit 110 running normally again.If not, then microcontroller 120 judges then whether the duration of not receiving above-mentioned control command surpasses a given time (step S12).If not, then get back to step S9, otherwise microcontroller 120 initiatively cuts away the power supply (step S11) of central processing unit 110 and opens the power supply (step S2) of central processing unit 110 more again so that allow central processing unit 110 running normally again.
Above-mentioned watchdog routine (Watchdog) is arranged in the central processing unit 110 periodically to monitor the operating state of central processing unit 110.In addition, the embodiment of the invention illustrates its operation that provides and the operation requirement of sending with central processing unit 110, microcontroller 120, vacuum cold light display 130 respectively with real-time clock 140 respectively, but carries out the difference configuration doing in fact to look different design requirement.For example, real-time clock 140 can be arranged in the microcontroller 120.
The method that resets automatically of the embodiment of the invention is by the assistance of watchdog routine (Watchdog), when central processing unit 110 generations are unusual, can utilize microcontroller to restart and make multimedia system recover normal operation, and not need to plug again the power supply of multimedia player.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; those skilled in the art can be used for a variety of modifications and variations under the premise without departing from the spirit and scope of the present invention, so protection scope of the present invention is as the criterion with claim of the present invention.

Claims (10)

1. a method that resets automatically comprises the following steps:
Initialization one microcontroller;
Start a central processing unit;
Judge whether to receive an outage requirement from above-mentioned central processing unit;
If do not receive above-mentioned outage requirement, then judge whether periodically to receive a monitoring message from a watchdog routine from above-mentioned central processing unit; And
If the situation that periodically receives above-mentioned monitoring message from above-mentioned watchdog routine does not surpass a given time, then cut off the power supply of above-mentioned central processing unit and open the power supply of above-mentioned central processing unit more again.
2. the method that resets automatically as claimed in claim 1, it also comprises the following steps:
When the situation that does not periodically receive above-mentioned monitoring message and do not receive above-mentioned monitoring message from above-mentioned watchdog routine surpasses above-mentioned given time, then judge whether to receive a control command; And
If receive above-mentioned control command, the power supply that then cuts off above-mentioned central processing unit is also opened the power supply of above-mentioned central processing unit more again.
3. the method that resets automatically as claimed in claim 1, it also comprises the power supply that above-mentioned microcontroller cuts off the power supply of above-mentioned central processing unit and opens above-mentioned central processing unit more again.
4. the method that resets automatically as claimed in claim 3, wherein, above-mentioned control command produces the button on self-pressing one a header board vacuum cold light display or the telepilot or carries out a reservation operation.
5. the method that resets automatically as claimed in claim 2, it also comprises the following steps:
If receive above-mentioned outage requirement from above-mentioned central processing unit, then above-mentioned microcontroller cuts off the power supply of above-mentioned central processing unit;
Above-mentioned microcontroller judges whether to receive above-mentioned control command; And
If then open the power supply of above-mentioned central processing unit.
6. multimedia player comprises:
One central processing unit, it is in order to send an outage requirement;
One watchdog routine, it is in order to transmit a monitoring message; And
One microcontroller, be initialised and start above-mentioned central processing unit according to a power supply message, judge whether to receive above-mentioned outage requirement from above-mentioned central processing unit, if do not receive above-mentioned outage requirement from above-mentioned central processing unit, then judge whether periodically to receive a monitoring message from above-mentioned watchdog routine, if the situation that periodically receives above-mentioned monitoring message from above-mentioned watchdog routine does not surpass a given time, then cut off the power supply of above-mentioned central processing unit and open the power supply of above-mentioned central processing unit more again.
7. multimedia player as claimed in claim 6, also comprise a controller, it is in order to produce a control command, wherein, when the situation that does not periodically receive above-mentioned monitoring message and do not receive above-mentioned monitoring message from above-mentioned watchdog routine when above-mentioned microcontroller surpasses above-mentioned given time, then above-mentioned microcontroller judges whether to receive above-mentioned control command, and cut off the power supply of above-mentioned central processing unit and open the power supply of above-mentioned central processing unit more again if receive above-mentioned control command, then above-mentioned microcontroller.
8. multimedia player as claimed in claim 7, wherein, above-mentioned controller is a header board vacuum cold light display, a telepilot or a real-time clock.
9. multimedia player as claimed in claim 6, wherein, if receive above-mentioned outage requirement from above-mentioned central processing unit, then above-mentioned microcontroller cuts off the power supply of above-mentioned central processing unit, and opens the power supply of above-mentioned central processing unit when receiving above-mentioned control command.
10. multimedia player as claimed in claim 6, wherein, above-mentioned watchdog routine is arranged in the above-mentioned central processing unit.
CNA2006101542370A 2006-09-18 2006-09-18 Multimedia player and its automatic restarting method Pending CN101149944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006101542370A CN101149944A (en) 2006-09-18 2006-09-18 Multimedia player and its automatic restarting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006101542370A CN101149944A (en) 2006-09-18 2006-09-18 Multimedia player and its automatic restarting method

Publications (1)

Publication Number Publication Date
CN101149944A true CN101149944A (en) 2008-03-26

Family

ID=39250422

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006101542370A Pending CN101149944A (en) 2006-09-18 2006-09-18 Multimedia player and its automatic restarting method

Country Status (1)

Country Link
CN (1) CN101149944A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108983949A (en) * 2018-07-16 2018-12-11 深圳市本牛科技有限责任公司 Method, computer equipment and the storage medium of low-power consumption wake-up terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108983949A (en) * 2018-07-16 2018-12-11 深圳市本牛科技有限责任公司 Method, computer equipment and the storage medium of low-power consumption wake-up terminal

Similar Documents

Publication Publication Date Title
CN105916010B (en) A kind of standby and awakening method and device of smart television
WO2018120209A1 (en) Mode switching warning circuit and method for robot, and robot
CN1584847B (en) Operational state preservation in the absence of AC power
CN113032788A (en) Firmware image switching method, device and medium in computer system
CN101149944A (en) Multimedia player and its automatic restarting method
JP5182463B2 (en) Projection apparatus and control method
TW200842562A (en) Method for judging a rebooting action of a computer system and related computer system
JP2004362543A (en) Safety power disconnection system and its method
CN106445046B (en) A kind of computer equipment and computer equipment method for start-up and shutdown
JP2001016222A (en) Network system, electronic equipment and power supply control method
US7251726B2 (en) Multiple functionality associated with a computer ON/OFF pushbutton switch
US7242562B2 (en) Fan protection method and apparatus
US8612783B2 (en) Remote controlled computer system that avoids accidental power cycling by selectively transmitting a manual trigger signal to a motherboard based on the presence of a power activating signal from a connected power supply
KR20000068286A (en) Slave DSP reboots stalled master CPU
JP2002041189A (en) Unintegruptible power supply device
WO2015128001A1 (en) Image display device having reduced screen-on duration when powered for the first time
USRE46520E1 (en) Server cluster and control mechanism thereof
US10921875B2 (en) Computer system, operational method for a microcontroller, and computer program product
TW201820137A (en) Device having restarting function
JPH06161610A (en) Computer equipment
CN108770166A (en) A kind of X-ray emitter power-off protection control method, device and equipment
TWI551983B (en) Failure detection and switch method for multi-cpu system
JP2011203990A (en) State control device, state control system, state control method, and computer program
JPH0944278A (en) Power saving control equipment, portable equipment using the same and power saving control method
CN101398904B (en) Automatic protection device of fastening mechanism and method and apparatus for releasing the protection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20080326