CN108334358B - Notebook computer system restart control method based on EC single chip microcomputer - Google Patents
Notebook computer system restart control method based on EC single chip microcomputer Download PDFInfo
- Publication number
- CN108334358B CN108334358B CN201711354701.5A CN201711354701A CN108334358B CN 108334358 B CN108334358 B CN 108334358B CN 201711354701 A CN201711354701 A CN 201711354701A CN 108334358 B CN108334358 B CN 108334358B
- Authority
- CN
- China
- Prior art keywords
- restarting
- signals
- state
- restart
- notebook computer
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to a notebook computer system restart control method based on an EC single chip microcomputer, which is characterized by comprising the following steps: s1: monitoring whether a restart command is received, if the restart command is monitored, turning to the step S2, otherwise, turning to the step S1 to continue monitoring; s2: entering a restarting action, wherein the restarting action triggers a function to modify the state of the system into a restarting state, a restarting time sequence control function excludes control over nuclear power and screen signals, and a plurality of non-electric restarting signals are pulled down and pulled up only according to the restarting time sequence; s3: and after the series of actions are restarted, the system state is switched to the starting, and the notebook computer normally loads the operating system.
Description
Technical Field
The invention belongs to the technical field of notebook system restart control, and particularly relates to a notebook system restart control method based on an EC single chip microcomputer.
Background
An EC (embedded Controller) is a 16-bit single chip microcomputer. In the process of powering on and starting the notebook computer, the EC controls the time sequence of most important signals and external equipment such as a keyboard, a fan, a charging indicator light and the like. When the notebook computer is connected with an external power supply, the EC is in a running state no matter in a power-on state or a power-off state. ECs play an irreplaceable important role in notebook internal management.
The traditional notebook computer restarting mode is power-down restarting. When the EC receives a restart command, the EC enters a restart time sequence control section, all electric signals are sequentially pulled down according to a power-down time sequence, the charging indicator light is turned off from on, the screen backlight is turned from on to dark, the state of the notebook computer is switched to shutdown, after a certain time delay, the electric signals are sequentially pulled up according to the power-up time sequence, the system state indicator light and the screen backlight are lightened, the notebook computer is switched to a startup state, and system loading is carried out. The electric signal is pulled down and pulled up by the restarting mode, the process from pressing a restarting key to finishing restarting the loading system of the system is prolonged, the power failure phenomena such as screen backlight and indicator lights affect the experience of a user, and the requirement of the user on restarting the notebook computer is difficult to meet. This is a disadvantage of the prior art.
Therefore, aiming at the defects in the prior art, the notebook computer system restarting control method based on the EC single chip microcomputer is provided; it is very necessary to solve the above technical problems.
Disclosure of Invention
The invention aims to provide a notebook system restart control method based on an EC single chip microcomputer to solve the technical problems.
In order to achieve the purpose, the invention provides the following technical scheme:
a notebook computer system restart control method based on an EC single chip microcomputer is characterized in that the contents of program design completed by a restart module comprise the compiling and packaging of a restart action function, a restart action trigger function and a restart time sequence control function. The restarting action function is used as the function of the uppermost layer in the restarting action process, a series of actions after the EC receives the restarting command are completely and uniquely controlled, the change of the state of the system is completed by the entry, the restarting command is ensured not to modify other state information of the system mistakenly, and the reliability of the functional module is ensured.
And adding a restart state in the original default system state. The restart action trigger function modifies the state of the system into a restart state, the restart time sequence control function excludes the control of nuclear power and screen signals, and a plurality of non-electric restart signals are pulled down and pulled up only according to the restart time sequence. When the partial signals are pulled down, because the power supply is controlled in the EC main program in millisecond unit and the pull-down signals do not need delay operation, the pull-down function is newly added to finish the pull-down action operation of all the non-electric signals in one millisecond event, and the pull-up action is kept in rhythm triggered according to the millisecond event, so that the normal pull-up operation of some signals needing delay waiting is realized. And after the series of actions are restarted, the system state is switched to the starting, and the notebook computer normally loads the operating system. The design ensures that the notebook computer enters a restart state after receiving a restart signal, and completes the restart of components such as a CPU, an ICH, a TCM and the like under the condition that nuclear power is not powered down, and the appearance shows that the backlight of a screen of the notebook computer is not dark, a system state indicator lamp is not turned off, and an operating system is normally loaded.
The functional functions in the program design are written by adopting a layer-by-layer packaging method, the definition of a system restart state is newly added, the excellent transplantable characteristic of the program is ensured, an EC millisecond event trigger mechanism is adapted in rhythm, and the working efficiency of an EC management notebook computer power supply is ensured to be kept at a higher level.
The method has the advantages that the EC enters the function of the restarting action after receiving the restarting command, the system state is changed into the restarting state, the non-electric control signals are subjected to pull-up and pull-down actions according to the existing time sequence according to the action rhythm of the millisecond event, the electric control signals and the screen control signals are excluded in the process, the power-off-free restarting is realized, the restarting time of the notebook computer is shortened, and the user experience is optimized.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
Fig. 1 is a flowchart of a notebook system restart control method based on an EC single chip microcomputer provided by the present invention.
Fig. 2 is a timing signal diagram.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings by way of specific examples, which are illustrative of the present invention and are not limited to the following embodiments.
As shown in fig. 1 and 2, the contents of the program design completed by the restart module in the notebook system restart control method based on the EC single chip microcomputer provided by the present invention include the writing and encapsulation of a restart action function, a restart action trigger function, and a restart timing control function. The restarting action function is used as the function of the uppermost layer in the restarting action process, a series of actions after the EC receives the restarting command are completely and uniquely controlled, the change of the state of the system is completed by the entry, the restarting command is ensured not to modify other state information of the system mistakenly, and the reliability of the functional module is ensured.
And adding a restart state in the original default system state. The restart action trigger function modifies the state of the system into a restart state, the restart time sequence control function excludes the control of nuclear power and screen signals, and a plurality of non-electric restart signals are pulled down and pulled up only according to the restart time sequence. When the partial signals are pulled down, because the power supply is controlled in the EC main program in millisecond unit and the pull-down signals do not need delay operation, the pull-down function is newly added to finish the pull-down action operation of all the non-electric signals in one millisecond event, and the pull-up action is kept in rhythm triggered according to the millisecond event, so that the normal pull-up operation of some signals needing delay waiting is realized. And after the series of actions are restarted, the system state is switched to the starting, and the notebook computer normally loads the operating system. The design ensures that the notebook computer enters a restart state after receiving a restart signal, and completes the restart of components such as a CPU, an ICH, a TCM and the like under the condition that nuclear power is not powered down, and the appearance shows that the backlight of a screen of the notebook computer is not dark, a system state indicator lamp is not turned off, and an operating system is normally loaded.
The above disclosure is only for the preferred embodiments of the present invention, but the present invention is not limited thereto, and any non-inventive changes that can be made by those skilled in the art and several modifications and amendments made without departing from the principle of the present invention shall fall within the protection scope of the present invention.
Claims (1)
1. A notebook computer system restart control method based on an EC single chip microcomputer is characterized by comprising the following steps:
s1: monitoring whether a restart command is received, if the restart command is monitored, turning to the step S2, otherwise, turning to the step S1 to continue monitoring;
s2: entering a restarting action, wherein the restarting action triggers a function to modify the state of the system into a restarting state, a restarting time sequence control function excludes control over nuclear power and screen signals, and a plurality of non-electric restarting signals are pulled down and pulled up only according to the restarting time sequence;
s3: after the series of actions are restarted, the system state is switched to the starting, and the notebook computer normally loads an operating system;
the step S2 specifically includes the following steps:
step S21: when the partial signals are pulled down, because the power supply is controlled in the EC main program in millisecond unit and the pull-down signals do not need delay operation, the pull-down function is newly added to finish the pull-down action operation of all the non-electric signals in one millisecond event;
s22: and the pull-up action is kept according to the rhythm triggered by the millisecond event, so that the normal pull-up operation of the signal needing delay waiting is realized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711354701.5A CN108334358B (en) | 2017-12-15 | 2017-12-15 | Notebook computer system restart control method based on EC single chip microcomputer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711354701.5A CN108334358B (en) | 2017-12-15 | 2017-12-15 | Notebook computer system restart control method based on EC single chip microcomputer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108334358A CN108334358A (en) | 2018-07-27 |
CN108334358B true CN108334358B (en) | 2021-05-07 |
Family
ID=62922761
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711354701.5A Active CN108334358B (en) | 2017-12-15 | 2017-12-15 | Notebook computer system restart control method based on EC single chip microcomputer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108334358B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112306752B (en) * | 2020-10-30 | 2024-03-29 | 佳讯飞鸿(北京)智能科技研究院有限公司 | Automatic power-down restarting circuit and corresponding gateway of Internet of things |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102270029A (en) * | 2011-07-21 | 2011-12-07 | 曙光信息产业(北京)有限公司 | Method for warmly starting mainboard of Loongson blade |
CN103870293A (en) * | 2012-12-13 | 2014-06-18 | 联想(北京)有限公司 | Information obtaining method, information display method and device and electronic device |
CN106484185A (en) * | 2016-10-14 | 2017-03-08 | 合肥联宝信息技术有限公司 | A kind of method and device of manipulation smart machine touch screen |
CN107122005A (en) * | 2017-04-17 | 2017-09-01 | 南京百敖软件有限公司 | A kind of notebook EC control devices |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4580528B2 (en) * | 2000-09-25 | 2010-11-17 | 株式会社東芝 | Computer system and its resume processing method |
US9197913B2 (en) * | 2012-03-29 | 2015-11-24 | Sony Corporation | System and method to improve user experience with streaming content |
-
2017
- 2017-12-15 CN CN201711354701.5A patent/CN108334358B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102270029A (en) * | 2011-07-21 | 2011-12-07 | 曙光信息产业(北京)有限公司 | Method for warmly starting mainboard of Loongson blade |
CN103870293A (en) * | 2012-12-13 | 2014-06-18 | 联想(北京)有限公司 | Information obtaining method, information display method and device and electronic device |
CN106484185A (en) * | 2016-10-14 | 2017-03-08 | 合肥联宝信息技术有限公司 | A kind of method and device of manipulation smart machine touch screen |
CN107122005A (en) * | 2017-04-17 | 2017-09-01 | 南京百敖软件有限公司 | A kind of notebook EC control devices |
Also Published As
Publication number | Publication date |
---|---|
CN108334358A (en) | 2018-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8250393B2 (en) | Power management method and related chipset and computer system | |
US10007507B2 (en) | Method for updating firmware of a battery included in a rechargeable battery module, portable electronic device, and rechargeable battery module | |
CN104272388A (en) | Ultra-deep power-down mode for memory devices | |
JP5915733B2 (en) | Information processing apparatus, information processing method, and program | |
CN104007804A (en) | Operation method and device of mobile equipment | |
CN104182243A (en) | Sleep state control system, computer system and sleep state detection method thereof | |
US8219842B2 (en) | Computer system and method for energy-saving operation of a computer system | |
CN115826728A (en) | Chip power management method and device | |
CN108334358B (en) | Notebook computer system restart control method based on EC single chip microcomputer | |
WO2016110000A1 (en) | Adjustment method, device and system for power-down reboot of single plate | |
TWI693513B (en) | Server system and power saving method thereof | |
CN101436097B (en) | Electronic device and wake-up method thereof | |
CN105653297A (en) | Electronic device and control method thereof | |
CN112114901A (en) | Standby control circuit, method, device and storage medium | |
TWI482090B (en) | System capable of booting through a universal serial bus device and method thereof | |
JP2015210715A (en) | Information processor, power control program and usb device | |
CN201166827Y (en) | Computer power supply | |
CN111124826A (en) | Method and system for protecting normal power-on start of CPU | |
CN101872233A (en) | Automatic on-off schedule control method and system thereof | |
KR102264485B1 (en) | A power saving apparatus and method of a computer system by using gate circuits | |
JP2013232083A (en) | Information processing device, information processing method, and program | |
CN215298171U (en) | Memory reset circuit, mainboard and computer equipment | |
KR102633382B1 (en) | An energy-saving computer system for controlling the power according to regulation of clock rates in CPU core and controlling method therefor | |
TWI768373B (en) | Power control method for a memory storage device and a memory storage system | |
US20130179714A1 (en) | Backup power supply circuit and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |