CN100412761C - Method for displaying awakening event of computer system in graphics context mode - Google Patents

Method for displaying awakening event of computer system in graphics context mode Download PDF

Info

Publication number
CN100412761C
CN100412761C CNB2006100330882A CN200610033088A CN100412761C CN 100412761 C CN100412761 C CN 100412761C CN B2006100330882 A CNB2006100330882 A CN B2006100330882A CN 200610033088 A CN200610033088 A CN 200610033088A CN 100412761 C CN100412761 C CN 100412761C
Authority
CN
China
Prior art keywords
computer system
wake events
saving mode
mode
battery saving
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.)
Expired - Fee Related
Application number
CNB2006100330882A
Other languages
Chinese (zh)
Other versions
CN101004631A (en
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.)
Mitac Computer Shunde Ltd
Shunda Computer Factory Co Ltd
Mitac International Corp
Original Assignee
Mitac Computer Shunde Ltd
Mitac International 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 Mitac Computer Shunde Ltd, Mitac International Corp filed Critical Mitac Computer Shunde Ltd
Priority to CNB2006100330882A priority Critical patent/CN100412761C/en
Publication of CN101004631A publication Critical patent/CN101004631A/en
Application granted granted Critical
Publication of CN100412761C publication Critical patent/CN100412761C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)

Abstract

A method of using alpha-photographic mode to display wake-up event of computer system (CS) includes storing a state value of energy-saving mode into the first address when CS is to be entered to an energy-saving mode, obtaining a state value of wake-up event and storing obtained value to the second address when wake-up event is detected by CS, commanding CS to execute a resident program to fetch state values in two said addresses when CS is recovered from energy-saving mode to original operation state, displaying an alpha-photographic information corresponding to energy- saving mode and said wake-up event according said state values.

Description

The method that shows the wake events of computer system with graphics context mode
Technical field
The invention relates to that a kind of the demonstration with graphics context mode is meant a kind of method that the system state and the wake events of computer system are shown with the graph text information that is easy to be understood especially at the method for the wake events of computer system.
Background technology
Consult shown in Figure 1, it is the work flow of existing a kind of computer system, shown in step 10, computer system is under working order, can judge simultaneously whether its peripheral device is operated or uses, if when not being operated for some time, in order to save power supply, as step 11~13, computing machine prepares to enter a battery saving mode, and it starts the wake events detecting function, and through BIOS or operating system, some peripheral device that will not be used or operate, for example hard disk, display, keyboard, mouse ... the power supply temporary close that waits make CPU enter this battery saving mode.Wherein, according to the behaviour in service of peripheral device, battery saving mode can be sleep pattern (i.e. the S1 state of what is called), suspend the random memory pattern (i.e. the S3 state of what is called) that writes back, time-out writes back hard disk mode (i.e. the S4 state of what is called) or shutdown mode (i.e. the S5 state of what is called) one of them.And this wake events means the system event that any peripheral device of computer system is produced when being triggered (for example keyboard is pressed, mouse is moved etc.), and these wake events are to be set in the System on Chip/SoC (chipset) of computing machine by BIOS earlier, then, as step 14, the generation of a wake events (wakeup event) can be waited for and detect to System on Chip/SoC.Then, shown in step 15 and 16, when System on Chip/SoC detects a wake events, System on Chip/SoC will trigger computer system and be returned to original duty by battery saving mode and a state value of this wake events is temporarily stored in one of system chipset system state buffer (figure does not show), then, as step 17, carry out BIOS and make the state value that reads in this system state buffer, with inspection is that wake events is triggered, remove this system state buffer then, and, control is given back operating system as step 18, make and carry out follow-up computer operation.
And as shown in the above description,, system gets back to duty owing to building the person of putting and can't learn easily that computer system is waken up by that wake events.Therefore, known a kind of way is the test card of planting on computer main frame panel, for example POST (Power On Self Test) blocks, the diagnosis sign indicating number that comes detection system state and wake events to be produced, with the peripheral device of finding out computer system wakeup according to diagnosis sign indicating number why, to judge that this peripheral device is whether as computer system wakeup expectedly, but, owing to why diagnose yard system state that can't directly show its representative or wake events, system builds the person's of putting diagnosis sign indicating number contrast instruction card of must noting, just can learn the meaning of diagnosis sign indicating number representative, therefore, under the situation of diagnosis sign indicating number contrast instruction card not, system builds the system mistake that the person of putting promptly is difficult to cause at wake events and carries out debug.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of and shows the method for the wake events of computer system with the graph text information display system state that is easy to be understood and wake events with graphics context mode.
To achieve these goals, the present invention shows the method for the wake events of computer system with graphics context mode, its computer system can enter a battery saving mode by a duty, and when detecting a wake events, after one state value of this wake events is temporarily stored in a status register, return to described duty by this battery saving mode again.And this method comprises the steps: (a) when the preparation of this computer system enters this battery saving mode, and a state value of this battery saving mode is stored in one first address.(b) when this computer system detects this wake events, read the state value in this status register and be stored in one second address.(c) after this computer system is returned to this duty by this battery saving mode, make this computer system carry out a resident program, make the state value that reads in this first and second address, and, show a graph text information corresponding with this battery saving mode and this wake events according to these state values.
The method that shows the wake events of computer system with graphics context mode of the present invention, simple and directly perceived, and its cocoa graphics context mode that wake events and system state can be understood easily, be presented on the computer screen intuitively, make things convenient for operating personnel's deciphering, had practical value.
Description of drawings
Fig. 1 is the run chart of existing a kind of computer system;
Fig. 2 is the process flow diagram of the present invention with a preferred embodiment of the method for the wake events of graphics context mode demonstration computer system.
Embodiment
About addressing other technology contents, characteristics and effect before the present invention, with reference to the accompanying drawings in the detailed description of a preferred embodiment of formula, can clearly present in following cooperation.
Consult shown in Figure 2, be the preferred embodiment of the present invention with the method for the wake events of graphics context mode demonstration computer system, wherein, step 21 and 22 is and the step 10 of the Fig. 1,11 is identical, and under the situation of computer system running, when system's peripheral device was not used in a period of time, computer system is promptly prepared and is entered a battery saving mode, and battery saving mode according to peripheral device by length standby time, it may be the sleep pattern of S1 state, the time-out of S3 state writes back pattern ram, the time-out of S4 state writes back hard disk mode, or the shutdown mode of S5 state one of them.And being characterized as of present embodiment, execution in step 23, before computer system enters battery saving mode, one state value of this battery saving mode (be S1, S3, S4 or S5 one of them) is stored in the one first default address of computer system, and in the present embodiment, this first address is a CMOS.Then, carry out step 24~29 (identical) with step 12~17 of Fig. 1, the BIOS of computer system starts the wake events detecting function, and behind the status register (figure does not show) in order to the state value of temporary wake events of scavenge system chipset, promptly enter battery saving mode, and wait for and whether detecting has a wake events to take place by System on Chip/SoC, so, when System on Chip/SoC detects a wake events, System on Chip/SoC promptly triggers computer system and is returned to original duty by battery saving mode, state value with this wake events is temporarily stored in this status register simultaneously, carries out BIOS then, reads and check state value in the status register by BIOS, to learn is that wake events (being peripheral device) computer system wakeup, at this moment, another feature of present embodiment is, carry out step 30, after making BIOS be stored in the state value that is read in one second address, remove this status register again, in the present embodiment, this second address is a CMOS.Then, as step 31, after BIOS gives back operating system with control, computer system promptly carry out step 32, carry out a default resident program, and be preset with some and various system states (S1, S3, S4, S5) and the corresponding pattern of wake events (or literal) in this resident program, for example press the wake events that lower keyboard produces, represent the wake events of rolling mouse generation etc. with mouse with the keyboard representative.This described resident program can remove to read the state value in first and second address (being CMOS), and judges state value, if state value is zero, the expression computer system does not enter battery saving mode, then stops this resident program.If state value is non-vanishing, the expression computer system just returns back to duty by battery saving mode, then resident program is promptly by in the default pattern, choose with this battery saving mode and the corresponding pattern of wake events (or word literary composition) and be presented on the computer screen, therefore, in the process of computer system running, the battery saving mode that computer system once entered, and the wake events that wakes this battery saving mode up will be by with a corresponding pattern or a literal, be presented on the computer screen one by one, system state and wake events can be shown with the graph text information that comes into plain view and understand easily, so, system builds the person of putting (or user) can be under the situation of the diagnosis sign indicating number that need not check the POST card, know clearly very much the system for computer state, enter which kind of battery saving mode, and waken up, and help the debug of speed-up computation machine system by that wake events.

Claims (5)

1. method that shows the wake events of computer system with graphics context mode, wherein, this computer system can enter a battery saving mode by a duty, and when detecting a wake events, after one state value of this wake events is temporarily stored in a status register, be returned to duty by battery saving mode; This method comprises the following steps:
(a) when the preparation of this computer system enters this battery saving mode, a state value of this battery saving mode is stored in one first address;
(b) when this computer system detects this wake events, read the state value in this status register and be stored in one second address; And
(c) after this computer system is returned to this duty by this battery saving mode, make this computer system carry out a resident program, make the state value that reads in this first and second address, and according to this state value that reads, the graph text information that demonstration is corresponding with battery saving mode and wake events.
2. it is characterized in that the method for the wake events of computer system according to claim 1 described demonstration with graphics context mode: described battery saving mode is sleep pattern, suspend the random memory pattern that writes back, suspend and write back a kind of of hard disk mode or shutdown mode.
3. show the method for the wake events of computer system according to claim 1 is described with graphics context mode, it is characterized in that: described wake events is meant the system event that produces when the peripheral device of computer system is triggered.
4. show the method for the wake events of computer system according to claim 1 is described with graphics context mode, it is characterized in that: described first and second address is a CMOS.
5. show the method for the wake events of computer system according to claim 1 is described with graphics context mode, it is characterized in that: described resident program promptly is loaded in the computer system automatically for when this computer system starting.
CNB2006100330882A 2006-01-20 2006-01-20 Method for displaying awakening event of computer system in graphics context mode Expired - Fee Related CN100412761C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100330882A CN100412761C (en) 2006-01-20 2006-01-20 Method for displaying awakening event of computer system in graphics context mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100330882A CN100412761C (en) 2006-01-20 2006-01-20 Method for displaying awakening event of computer system in graphics context mode

Publications (2)

Publication Number Publication Date
CN101004631A CN101004631A (en) 2007-07-25
CN100412761C true CN100412761C (en) 2008-08-20

Family

ID=38703824

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100330882A Expired - Fee Related CN100412761C (en) 2006-01-20 2006-01-20 Method for displaying awakening event of computer system in graphics context mode

Country Status (1)

Country Link
CN (1) CN100412761C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685338B (en) * 2008-09-27 2012-08-22 联想(北京)有限公司 Method of saving system resources of notebook computer and notebook computer
CN102053901B (en) * 2009-10-30 2014-03-26 鸿富锦精密工业(深圳)有限公司 Hybrid sleeping mode testing system and method
JP2015152844A (en) * 2014-02-18 2015-08-24 キヤノン株式会社 Image forming apparatus, control method of image forming apparatus, and program
TWI577162B (en) 2015-02-11 2017-04-01 宏碁股份有限公司 Method for maintaining transmission control protocol connection and computer system
CN105991743B (en) * 2015-03-03 2019-06-04 宏碁股份有限公司 Maintain the method and computer system of transmission control protocol line

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020083349A1 (en) * 2000-12-21 2002-06-27 Khatri Mukund Purshottam System and method for handling numerous power management signals
US6826701B1 (en) * 2000-04-20 2004-11-30 Microsoft Corporation Re-running general purpose event control methods in a computer system
CN1581021A (en) * 2003-08-07 2005-02-16 宏达国际电子股份有限公司 Method for reducing cold start rate for computer system and its computer system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6826701B1 (en) * 2000-04-20 2004-11-30 Microsoft Corporation Re-running general purpose event control methods in a computer system
US20020083349A1 (en) * 2000-12-21 2002-06-27 Khatri Mukund Purshottam System and method for handling numerous power management signals
CN1581021A (en) * 2003-08-07 2005-02-16 宏达国际电子股份有限公司 Method for reducing cold start rate for computer system and its computer system

Also Published As

Publication number Publication date
CN101004631A (en) 2007-07-25

Similar Documents

Publication Publication Date Title
CN100412761C (en) Method for displaying awakening event of computer system in graphics context mode
CN102866934B (en) Based on dormancy and the waken system of the embedded device of non-volatile random access memory
CN100338581C (en) Operating system-independent method and system of determining CPU utilization
CN106959386B (en) A kind of creepage detection method and mobile terminal
CN102135910A (en) Method for switching operating systems and electronic device using same
CN103714037A (en) Calculator and hardware parameter setting method thereof
TW594021B (en) Main computer board on/off testing device, method and system
CN101685337B (en) Desk computer and power-saving method thereof
CN110543259B (en) Fingerprint unlocking method of display equipment and display equipment
CN101354604B (en) CD driver electric power management method of computer system
CN214896630U (en) Fingerprint sensing device
US20150377937A1 (en) Calculating Power Consumption of Electonic Devices
CN104461816B (en) A kind of computer main board automatic on/off test of computer card
US7213159B2 (en) Method for testing and verifying power management features of computer system
CN103376828B (en) Notebook computer
TWI442280B (en) Power saving method and touch display apparatus
CN104424086A (en) Computer error detection module and method
CN1329795C (en) Power supply status automatic test method for computer apparatus
CN101000575A (en) Computer program execution bottleneck analysing processing method and system
CN101980103A (en) Power state management method and related computer system
TWI284836B (en) Method of using graphics pattern to display wake-up event of computer system
CN113835760A (en) System starting method, electronic device and storage medium
CN1540516B (en) Method of carrying out testing state of application program in preset timing through interactive routine
CN105637494A (en) Techniques for processing custom events
CN101604279B (en) Method for automatically simulating manual detection after starting computer, detecting system and external storage device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080820

Termination date: 20130120