CN1936774A - Method for realizing real-time clock waking-up of notebook computer - Google Patents

Method for realizing real-time clock waking-up of notebook computer Download PDF

Info

Publication number
CN1936774A
CN1936774A CN 200510104971 CN200510104971A CN1936774A CN 1936774 A CN1936774 A CN 1936774A CN 200510104971 CN200510104971 CN 200510104971 CN 200510104971 A CN200510104971 A CN 200510104971A CN 1936774 A CN1936774 A CN 1936774A
Authority
CN
China
Prior art keywords
time
real
time clock
notebook computer
rtc
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.)
Granted
Application number
CN 200510104971
Other languages
Chinese (zh)
Other versions
CN100410846C (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB2005101049711A priority Critical patent/CN100410846C/en
Publication of CN1936774A publication Critical patent/CN1936774A/en
Application granted granted Critical
Publication of CN100410846C publication Critical patent/CN100410846C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention discloses a method to realize real-time awakening of clock by notebook computer. It including: Inputting the awakening time into the register of RTC by the timing module, and sent sleep requirement step to the system at the same time. The BIOS module of the system will read out the information of the register of RTC after it has found the sleep requirement and determine it is whether or not the requirement for the awakening of the real-time clock. If it is, then it will read out the time information of the register of RTC and sent out it to the controller of EC. The system will enter the step of the state of S4 according to the above sleep requirement. The controller of EC will carry on the time after it have received time information, and it will sent awaken requirement to the system when the above awaken time arrive. The method of this invention has overcome the increasing of the cost for the need to equip RTC at the KBC end or the shortcoming that the cost of power will be greater because it needs the RTC to charge in the progress of real-time clock awakening by RTC, the method is easy to operate.

Description

The implementation method of real-time clock waking-up of notebook computer
Technical field
The present invention relates to the implementation method of real-time clock waking-up, be specifically related to a kind of implementation method of real-time clock waking-up of notebook computer.
Background technology
Real-time clock waking-up is the basic performance test requirement of of notebook computer, and its purpose is to test in the time of setting, and whether real-time clock can wake system up from the S4 state.As shown in Figure 3, under the S4 state, system is in sleep state, and data are saved in hard disk, and all important register datas in the mainboard BIOS reservation chip, and chipset itself also will be supported the energy management function simultaneously.System is under the S4 state, as is subjected to wake request and can returns to normal condition, and data and mapping are then accordingly from disk recovery system up till now.
Real-time clock waking-up mainly contains two kinds of implementation methods in the prior art, and a kind of is to realize by the real-time clock (RTC) of the South Bridge chip on the mainboard, and another kind is realized by the real-time clock of KBC (keyboard controller).In first method, time block is written to wakeup time in the RTC register of south bridge, and issue allows system enter the request of S4, thereby system enters the S4 state, when wakeup time then, real-time clock equipment by south bridge wakes system up from the S4 state, this method must guarantee that south bridge has electricity under the S4 state, has so just strengthened the power consumption of system under the S4 state.In the second approach, time block is written to wakeup time in the RTC register of south bridge, and issue allows system enter the request of S4, after the BIOS module of system detects this sleep request, read the wakeup time of setting from the RTC register of south bridge, and it is written to the RTC relevant register of KBC, allow system enter into the S4 state then, when wakeup time then, RTC by KBC wakes system up from the S4 state, under the S4 state, electricity is arranged, but have the KBC chip of real-time clock (RTC) on price, to want much expensive than the KBC chip that does not have real-time clock (RTC) without south bridge.
Summary of the invention
The object of the present invention is to provide a kind of implementation method of with low cost, convenient-to-running real-time clock waking-up.
Technical scheme bag of the present invention is: a kind of implementation method of real-time clock waking-up of notebook computer, be characterised in that, comprise: wakeup time is write in the register of south bridge RTC by time block, send sleep step of asking and the real-time clock waking-up status information that south bridge is set to system simultaneously; After the BIOS module of system detects this sleep request, read the status information of south bridge register and judge this information, if be confirmed to be the real-time clock waking-up solicited message, then read the temporal information in the south bridge RTC register and send to the step of embedded controller, if unconfirmedly be the real-time clock waking-up status information then directly enter next step; The step that system enters the S4 state according to aforesaid sleep request; After the embedded controller time of receipt (T of R) information, carry out timing, when treating the wakeup time arrival of aforementioned setting, send the step of wake request to system.
Usefulness of the present invention is, can realize the function of real-time clock waking-up and need not be provided with the higher RTC chip of cost in keyboard controller KBC, also do not need the south bridge circuit of mainboard charged, helps prolongs standby time thereby save power supply.
Description of drawings
Fig. 1 is a modular structure synoptic diagram of the present invention;
Fig. 2 is a notebook computer real time clock realization method process flow diagram of the present invention;
Fig. 3 enters S4 state and the synoptic diagram from the S4 recovering state to normal condition for system.
Embodiment
Below in conjunction with accompanying drawing embodiments of the present invention are further described.
The invention provides a kind of implementation method of real-time clock waking-up, core is to utilize BIOS and embedded controller EC to realize the function of real-time clock waking-up, is realized by time block, BIOS (Basic Input or Output System (BIOS)) and EC (embedded controller).
As shown in Figure 1, the present invention relates to three construction modules: time block, BIOS (Basic Input or Output System (BIOS)) and embedded controller EC.Wherein time block is used for being provided with wakeup time and issue sleep request.BIOS (Basic Input or Output System (BIOS)) and EC (embedded controller) finish the real-time clock waking-up function jointly, in BIOS (Basic Input or Output System (BIOS)) part, it receives sleep request and real-time clock waking-up requirement, and from south bridge RTC register, read and comprise current time and the wakeup time equal time information that is provided with by time block, and send temporal information to embedded controller EC.In the EC part, receive after current time and wakeup time or the difference information of the two that main frame sends to, carry out timing by timing module then, and judge whether wakeup time arrives, if arrived the wakeup time of setting, then sent wake request to system system is waken up to normal condition from the S4 state by wake module.
As shown in Figure 2, method of the present invention may further comprise the steps:
(1) time block writes wakeup time (for example 20 seconds) in the south bridge RTC register, and sends the request (wherein real-time clock waking-up request be reflected in the information of the status register of south bridge be the real-time clock waking-up requesting state information) of sleep request and real-time clock waking-up to system;
(2) BIOS reads the information of the status register of south bridge on the mainboard, and information analyzed, if judge that the information of status register is the real-time clock waking-up solicited message, then from south bridge RTC register, read and write the temporal information that comprises wakeup time and current time in system, and the two or the two difference sent to embedded controller EC, make system enter the S4 state then, if instead judge the information of status register be not the real-time clock waking-up information requested then system directly enter the S4 state;
(3) embedded controller EC according to the temporal information that comprises current time and wakeup time and the difference of the two that receives from BIOS (Basic Input or Output System (BIOS)) after, by himself with timing module carry out timing, when wakeup time during, wake the current system that has entered the S4 state up by a wake module to (equaling current time or the two difference as wakeup time is zero).
Therefore the implementation method of notebook real-time clock waking-up of the present invention need not be provided with RTC equipment in keyboard controller KBC, can save cost, does not need system to be in that south bridge keeps charged under the S4 state yet, thereby reduces energy consumption.

Claims (6)

1. the implementation method of a real-time clock waking-up of notebook computer is characterized in that may further comprise the steps:
By time block wakeup time is write in the south bridge RTC register, send the sleep request to system simultaneously;
After the BIOS of system detects this sleep request, read the information of south bridge status register and judge whether this information is the real-time clock waking-up solicited message, if be confirmed to be the real-time clock waking-up solicited message, then read the temporal information in the south bridge RTC register and send to embedded controller EC;
System enters the S4 state;
After the embedded controller EC time of receipt (T of R) information, carry out timing, when treating the wakeup time arrival of aforementioned setting, send wake request to system.
2. the implementation method of real-time clock waking-up of notebook computer as claimed in claim 1 is characterised in that directly to enter the S4 state when information that BIOS reads the south bridge status register fails to confirm as the real-time clock waking-up solicited message.
3. the implementation method of real-time clock waking-up of notebook computer as claimed in claim 1 or 2 is characterised in that described temporal information is current time and wakeup time.
4. the implementation method of real-time clock waking-up of notebook computer as claimed in claim 1 or 2 is characterised in that wake request sent to system by the wake module in the embedded controller.
5. the implementation method of real-time clock waking-up of notebook computer as claimed in claim 1 is characterised in that the described wakeup time that is write by time block is for entering a period of time after the S4 state begins from system.
6. the implementation method of real-time clock waking-up of notebook computer as claimed in claim 1 is characterised in that the described wakeup time that is write by time block is to be later than the current time in system sometime.
CNB2005101049711A 2005-09-22 2005-09-22 Method for realizing real-time clock waking-up of notebook computer Expired - Fee Related CN100410846C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101049711A CN100410846C (en) 2005-09-22 2005-09-22 Method for realizing real-time clock waking-up of notebook computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101049711A CN100410846C (en) 2005-09-22 2005-09-22 Method for realizing real-time clock waking-up of notebook computer

Publications (2)

Publication Number Publication Date
CN1936774A true CN1936774A (en) 2007-03-28
CN100410846C CN100410846C (en) 2008-08-13

Family

ID=37954314

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101049711A Expired - Fee Related CN100410846C (en) 2005-09-22 2005-09-22 Method for realizing real-time clock waking-up of notebook computer

Country Status (1)

Country Link
CN (1) CN100410846C (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398697B (en) * 2007-09-27 2011-03-30 联想(北京)有限公司 Method for implementing auto covering setup of notebook computer
CN103412634A (en) * 2013-07-30 2013-11-27 深圳市汇顶科技股份有限公司 Device and method for awakening MCU (micro control unit) of SOC (system on chip) chip
CN105159722A (en) * 2015-09-10 2015-12-16 深圳微步信息股份有限公司 Method for RTC (Real Time Clock) wake-up system and computer
CN105653279A (en) * 2015-12-29 2016-06-08 小米科技有限责任公司 Clock system and wakeup method for mobile terminal and functional chip
CN109189201A (en) * 2018-06-28 2019-01-11 海能达通信股份有限公司 Condition control method, control circuit and the mobile terminal of processor
WO2020134636A1 (en) * 2018-12-29 2020-07-02 百富计算机技术(深圳)有限公司 Method and apparatus for improving wake-up precision of low-resolution real time clock, and electronic device
CN113050497A (en) * 2021-03-23 2021-06-29 阿尔特汽车技术股份有限公司 Method for timing correction, and corresponding controller, vehicle, device, and medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6058443A (en) * 1997-02-18 2000-05-02 Advanced Micro Devices, Inc. System for partitioning PC chipset functions into logic and port integrated circuits
TW515995B (en) * 2001-06-18 2003-01-01 Via Tech Inc Method allowing to configure computer system as wake on LAN
CN1412647A (en) * 2001-10-11 2003-04-23 纬创资通股份有限公司 Circuit structure capable of regulating external frequency of central processor and its operation method
CN100452005C (en) * 2003-10-28 2009-01-14 威盛电子股份有限公司 System and method for controlling interrput

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398697B (en) * 2007-09-27 2011-03-30 联想(北京)有限公司 Method for implementing auto covering setup of notebook computer
CN103412634A (en) * 2013-07-30 2013-11-27 深圳市汇顶科技股份有限公司 Device and method for awakening MCU (micro control unit) of SOC (system on chip) chip
CN103412634B (en) * 2013-07-30 2016-08-10 深圳市汇顶科技股份有限公司 The MCU Rouser of a kind of SOC and method
CN105159722A (en) * 2015-09-10 2015-12-16 深圳微步信息股份有限公司 Method for RTC (Real Time Clock) wake-up system and computer
CN105159722B (en) * 2015-09-10 2018-08-17 深圳微步信息股份有限公司 RTC wakes up the method and computer of system
CN105653279A (en) * 2015-12-29 2016-06-08 小米科技有限责任公司 Clock system and wakeup method for mobile terminal and functional chip
CN109189201A (en) * 2018-06-28 2019-01-11 海能达通信股份有限公司 Condition control method, control circuit and the mobile terminal of processor
CN109189201B (en) * 2018-06-28 2021-12-10 海能达通信股份有限公司 State control method and control circuit of processor and mobile terminal
WO2020134636A1 (en) * 2018-12-29 2020-07-02 百富计算机技术(深圳)有限公司 Method and apparatus for improving wake-up precision of low-resolution real time clock, and electronic device
CN113050497A (en) * 2021-03-23 2021-06-29 阿尔特汽车技术股份有限公司 Method for timing correction, and corresponding controller, vehicle, device, and medium

Also Published As

Publication number Publication date
CN100410846C (en) 2008-08-13

Similar Documents

Publication Publication Date Title
CN100410846C (en) Method for realizing real-time clock waking-up of notebook computer
CN101598969B (en) Platform power management based on latency guidance
CN102193765B (en) Display information updating device and method
US7783905B2 (en) Method for reducing power consumption of a computer system in the working state
CN101859173B (en) Electronic device for reducing power consumption during sleep mode of computer motherboard and motherboard thereof
CN101802750B (en) Apparatus and method for reducing power consumption in system on chip
CN104024980A (en) Connected standby sleep state
CN101351762A (en) Method and apparatus for a zero voltage processor sleep state
CN102037428A (en) Integrated circuit with secondary-memory controller for providing a sleep state for reduced power consumption and method therefor
CN104345869B (en) Secure digital input/output unit, system and its control method
US9477293B2 (en) Embedded controller for power-saving and method thereof
CN103857021B (en) Control method, blue-tooth device and the electronic installation of blue-tooth device
CN100508635C (en) Resynchronization method of mobile terminal under stand-by state woke up from sleep mode
US7886177B2 (en) Method and apparatus of collecting timer ticks
CN102929381B (en) Electronic system and method for managing power supply thereof
EP1573491B1 (en) An apparatus and method for data bus power control
US20080178026A1 (en) Computer system and power saving method thereof
CN101707796A (en) Power saving method for mobile communication terminal in idle mode
CN100530041C (en) Electric power management method of memory mechanism and system thereof
CN105101371A (en) Mobile phone power-saving management method
US7363408B2 (en) Interruption control system and method
US7634669B2 (en) Method of power management of a central processing unit connecting with a plurality of host bridges
CN102681650B (en) The storage system of a kind of Energy control power-economizing method and correspondence thereof
WO2013159464A1 (en) Multiple core processor clock control device and control method
KR100737549B1 (en) An apparatus and method for address bus power control

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: 20080813

Termination date: 20200922