CN102262550A - Computer system and turning-on and turning-off method thereof - Google Patents

Computer system and turning-on and turning-off method thereof Download PDF

Info

Publication number
CN102262550A
CN102262550A CN2011101308730A CN201110130873A CN102262550A CN 102262550 A CN102262550 A CN 102262550A CN 2011101308730 A CN2011101308730 A CN 2011101308730A CN 201110130873 A CN201110130873 A CN 201110130873A CN 102262550 A CN102262550 A CN 102262550A
Authority
CN
China
Prior art keywords
computer system
internal memory
bios
basic input
chipset
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
CN2011101308730A
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.)
Compal Electronics Inc
Original Assignee
Compal Electronics Inc
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 Compal Electronics Inc filed Critical Compal Electronics Inc
Publication of CN102262550A publication Critical patent/CN102262550A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Stored Programmes (AREA)
  • Power Sources (AREA)

Abstract

The invention relates to a computer system and a turning-on and turning-off method thereof. The computer system comprises a memory, a chip set, a basic input output system, an embedded controller and an operating system for executing the computer system. The method comprises steps: when the basic input output system intercepts a turning-off instruction emitted by the operating system, informing the embedded controller of preparing to enter a stand-by state, setting content of a buffer of the chip set according to the stand-by state, reserving the current working state data of the computer system, and maintaining that power is supplied to the memory so as to guarantee that the computer system is in a stand-by state.

Description

Computer system and method for start-up and shutdown thereof
Technical field
The present invention relates to the invention relates to a kind of method for start-up and shutdown of computer system, and particularly relevant for a kind of method for start-up and shutdown and the computer system of carrying out the method that can reduce the on time.
Background technology
According to every statistics, the popularity rate of computer system has trend of rising year by year, the expression modern more and more be accustomed to computer system as routine office work, link up contact, information browse, and the instrument during amusement and recreation.
In general, computer system must be through the action of a series of hardware initialization after the user presses power key, to be detectedly could normally start after errorless.Wherein, (Basic Input/Output System BIOS) is just playing the part of considerable role to Basic Input or Output System (BIOS).Particularly, behind the power supply of opening computer system, Basic Input or Output System (BIOS) will be loaded internal memory and begin to carry out start selftest (Power On Self Test, POST), carry out initialization and detect action with nextport hardware component NextPort, and then guarantee that these nextport hardware component NextPorts can operate as normal computer system.Whether the start selftest comprises the central processing unit of initializing computer system, normal with flag and the buffer status of checking central processing unit.The go forward side by side setting action of line correlation of function, the detecting internal memory of checking South Bridge chip and north bridge chips, and various peripherals such as keyboard, mouse, input/output port and sensor are carried out initialization.After the flow performing of selftest of waiting to start shooting finishes, then can select opening device, and then the load operation system is to finish the start flow process of whole computer system according to the power-up sequence of user's appointment.
According to advanced configuration and electricity interface (Advanced Configuration and Power Interface, standard ACPI), general shutdown process can the company's of making power supply at interior all devices Close All.At this moment, computer system just enters off-mode (S5 state).And when following less important startup computer system, must time-consuming wait computer system intactly carry out above-mentioned start flow process.Therefore, speed how to accelerate the to start computer system target that just becomes those skilled in the art and endeavoured.
Summary of the invention
In view of this, the invention provides a kind of method for start-up and shutdown of computer system, the speed during in order to the quickening computer system starting.
The invention provides a kind of computer system, can finish startup with fast speeds.
The present invention proposes a kind of method for start-up and shutdown of computer system, and this computer system comprises internal memory, chipset, basic input/output system and embedded controller, and has an operating system to be executed in computer system.Wherein, internal memory can be DRAM (Dynamic Random Access Memory) (Dynamic Random Access Memory, DRAM) or non-voltile memory.The method comprises that when basic input/output system was intercepted the shutdown command that operating system sends, the notice embedded controller prepared to enter standby (ACPI S3) state.Content according to the buffer of holding state setting chip group.Keep the present operating state data of computer system, and keep power supply and make computer system enter holding state to internal memory.
In one embodiment of this invention, wherein make to internal memory after computer system enters the step of holding state keeping power supply, the method also comprises the power supply that starts computer system.Judge whether computer system hardware change takes place.If not, then utilize the setting of the correlation buffer of the operating state data answer chipset in the internal memory, start visual graphic array (the Video Graphics Array of computer system, VGA) display, execution is about the affirmation program of the hard disk of computer system, check the correctness of the initialization data of local Advanced Programmable Interrupt Controllers APICs (Local Advanced Programmable Interrupt Controller, Local APCI), and the open operation system.
In one embodiment of this invention, the step of wherein carrying out about the affirmation program of hard disk also comprises the function of checking INT 13 breaks in service, check rank host controller interface (Advanced Host Controller Interface, the correctness of the initialization data of base address AHCI) (base address), and the function of confirming the IO interface of hard disk.
In one embodiment of this invention, wherein after judging whether computer system hardware change step also takes place, the method comprises also that if the generation hardware change is arranged (Power On Self Test is POST) to start computer system then to carry out complete start selftest.
In one embodiment of this invention, wherein hardware change comprises internal memory change, central processing unit change, peripherals change (as: hard disk change, expansion board (Extended card) change, WLAN (wireless local area network, WLAN) and the change between 3G network or the like), and real-time frequency (Real Time Clock, RTC) power supply change.
In one embodiment of this invention, wherein the operating state data of computer system is to be retained in internal memory, and in save as DRAM (Dynamic Random Access Memory) (Dynamic Random Access Memory, DRAM), and make to internal memory after computer system enters the step of holding state keeping power supply, the method also comprises judges whether the time that computer system enters holding state arrives default value.If, then will be retained in non-volatile (non-volatile) storage device that operating state data in the internal memory writes to computer system, and the shutdown job procedure of computer system.
In one embodiment of this invention, wherein after the step of the power supply that starts computer system, the method also comprises earlier checking in the internal memory whether have operating state data, if not, judges whether non-volatile storage has operating state data again.If then operating state data is loaded into internal memory.
From another viewpoint, the present invention proposes a kind of computer system, and its execution has an operating system.This computer system comprises internal memory, chipset, embedded controller, and Basic Input or Output System (BIOS).Wherein, chipset is coupled to internal memory, and embedded controller is coupled to chipset, and Basic Input or Output System (BIOS) can be coupled to chipset or embedded controller.Basic Input or Output System (BIOS) is when intercepting the shutdown command that operating system sends, see through chipset notice embedded controller and prepare to enter holding state, content according to the buffer of holding state setting chip group, keep the present operating state data of computer system, when computer system enters holding state, keep power supply to internal memory.
In one embodiment of this invention, wherein behind the power supply that starts computer system, Basic Input or Output System (BIOS) judges whether computer system hardware change takes place.If not, Basic Input or Output System (BIOS) utilizes the operating state data in the internal memory to reply the setting of the correlation buffer of chipset, start the visual graphic array display of computer system, execution is about the affirmation program of the hard disk of computer system, check the correctness of the initialization data of local Advanced Programmable Interrupt Controllers APICs, and the open operation system.
In one embodiment of this invention, wherein Basic Input or Output System (BIOS) is when the affirmation program of carrying out about the hard disk of computer system, can check the function of INT 13 breaks in service, check the correctness of initialization data of the base address of rank host controller interface, and the function of confirming the IO interface of hard disk.
In one embodiment of this invention, wherein Basic Input or Output System (BIOS) is carried out complete start selftest to start computer system when judging computer system generation hardware change.
In one embodiment of this invention, wherein hardware change comprises internal memory change, central processing unit change, peripherals change (as: hard disk change, expansion board (Extended card) change, WLAN (wireless local area network, WLAN) and the change between 3G network or the like), and real-time frequency power supply change.
In one embodiment of this invention, wherein the operating state data of computer system is to be retained in internal memory, and in save as DRAM (Dynamic Random Access Memory).This computer system more comprises non-volatile storage, and it is coupled to chipset.Wherein, computer system wakeup when embedded controller arrives default value in the time that computer system enters holding state, Basic Input or Output System (BIOS) judges that whether computer system is waken up because enter the time arrival default value of holding state.If Basic Input or Output System (BIOS) sees through the operating state data that chipset will be retained in the internal memory and writes to non-volatile storage, store and finish the back and notify embedded controller by embedded controller shut down computer system and power supply.
In one embodiment of this invention, wherein behind the power supply that starts computer system, Basic Input or Output System (BIOS) checks in the internal memory whether have operating state data earlier, if not, judges whether non-volatile storage has operating state data again.If Basic Input or Output System (BIOS) sees through chipset operating state data is loaded into internal memory.
Based on above-mentioned, the present invention is when shutting down computer operating system, and the control computer system enters holding state but not off-mode (S5 state) that all devices is all closed, and then can keep previous operating state data in internal memory.Base this, when starting computer system once more, just can utilize data in the internal memory to reach the purpose of quick startup.
For above-mentioned feature and advantage of the present invention can also be become apparent, embodiment cited below particularly, and cooperate appended graphic being described in detail below.
Description of drawings
Figure 1A to 1C is the calcspar of the computer system that illustrates according to one embodiment of the invention.
Fig. 2 is the process flow diagram of the closedown method of the computer system that illustrates according to one embodiment of the invention.
Fig. 3 is the process flow diagram of the starting-up method of the computer system that illustrates according to one embodiment of the invention.
Fig. 4 A to 4C is the calcspar of the computer system that illustrates according to another embodiment of the present invention.
Fig. 5 is the process flow diagram of the closedown method of the computer system that illustrates according to another embodiment of the present invention.
Fig. 6 is the process flow diagram of the starting-up method of the computer system that illustrates according to another embodiment of the present invention.
Symbol description
100,100 ', 100 ": computer system 110: internal memory
120: chipset 121: central processing unit
122: integral chip 123: north bridge chips
125: South Bridge chip 130: embedded controller
140: Basic Input or Output System (BIOS)
S210~S250: each step of the closedown method of the described computer system of one embodiment of the invention
S310~S380: each step of the starting-up method of the described computer system of one embodiment of the invention
400,400 ', 400 ": computer system
450: non-volatile storage
S510~S590: each step of the closedown method of the described computer system of another embodiment of the present invention
S610~S690: each step of the starting-up method of the described computer system of another embodiment of the present invention
Embodiment
Figure 1A is the calcspar of the computer system that illustrates according to one embodiment of the invention.See also Figure 1A, computer system 100 comprises internal memory 110, chipset 120, embedded controller 130, and Basic Input or Output System (BIOS) (Basic Input/Output System, BIOS) 140.Wherein, carry out in working order the time when computer system 100 operating system is arranged.
Internal memory 110 for example be DRAM (Dynamic Random Access Memory) (Dynamic Random Access Memory, DRAM) or non-voltile memory (Non-volatile memory, NVM).Internal memory 110 is primary memorys of computer system 100, in order to load various programs and data when computer system 100 operates, carries out and utilization for the central processing unit 121 of computer system 100.
In the present embodiment, chipset 120 comprises central processing unit 121, north bridge chips (north bridge) 123 and South Bridge chip (south bridge) 125, and internal memory 110 is the north bridge chips 123 that are coupled in the chipset 120, and embedded controller 130 is the South Bridge chips 125 that are coupled in the chipset 120 with Basic Input or Output System (BIOS) 140.Both see through north bridge chips 123 and South Bridge chip 125 periphery component interconnection and link up.Wherein, north bridge chips 123 is responsible for the signal transmission between central processing unit 121, internal memory 110 and the peripheral component interconnect bus, and South Bridge chip 125 then is in order to control other peripherals.
Embedded controller 130 is in order to the keyboard input medias such as (not illustrating) of control computer system 100, and can manage power supply.
Basic Input or Output System (BIOS) 140 for example is the program code in the last ROM (read-only memory) (Read Only Memory, ROM does not illustrate) of motherboard (not illustrating) that is stored in computer system 100.In the present embodiment, Basic Input or Output System (BIOS) 140 is also especially in order to carrying out a special mechanism when computer system 100 shutdown, and then computer system 100 is imported standby (ACPI S3) states.And when started computer system 100 next time, (Power On Self Test POST), and reached the purpose of quick startup computer system 100 to omit complete start selftest.
Figure 1B is the calcspar of the computer system that illustrates according to another embodiment of the present invention.The computer system 100 ' of present embodiment is similar to the computer system 100 shown in Figure 1A, thus below only describe at the difference place.Shown in Figure 1B, in the chipset 120 ' of computer system 100 ', comprise the integral chip 122 of having integrated central processing unit and north bridge chips, and South Bridge chip 125.And internal memory 110 is the integral chips 122 that are coupled in the chipset 120 ', and embedded controller 130 is the South Bridge chips 125 that are coupled in the chipset 120 with Basic Input or Output System (BIOS) 140.Because except the difference of above-mentioned coupling mode, the function of each member of computer system 100 ' is all identical with counterpart member in the computer system 100, so do not giving unnecessary details at this.
What must specify is, in other embodiments of the invention, Basic Input or Output System (BIOS) 140 also can be coupled to embedded controller 130 (as the computer system 100 of Fig. 1 C " shown in).
In order to further specify the detailed operation mode of Basic Input or Output System (BIOS) 140 when computer system 100 is shut down, below come especially exemplified by another embodiment that the present invention will be described.Fig. 2 is the process flow diagram of the closedown method of the computer system that illustrates according to one embodiment of the invention.Please consult Figure 1A and Fig. 2 simultaneously.
For the computer system 100 that belongs to duty, press START button or " Ctrl+Alt+Del " Macintosh of desktop the user, when then selecting " shutdown " option, shown in step S210, Basic Input or Output System (BIOS) 140 can be intercepted the shutdown command that operating system is sent.
Then in step S220, Basic Input or Output System (BIOS) 140 notice embedded controllers 130 prepare to enter holding state.Particularly, Basic Input or Output System (BIOS) 140 can see through the flag value of setting embedded controller 130, and then the indicator (indicator) of notice embedded controller 130 turning off standby states, thereby what make that embedded controller 130 learns that next computer system 100 will enter is holding state.
Then shown in step S230, Basic Input or Output System (BIOS) 140 is according to the content of one or more correlation buffer in the holding state setting chip group 120.In the present embodiment, Basic Input or Output System (BIOS) 140 will setting chip group 120 in the content of correlation buffer of South Bridge chip 125.This measure is that then chipset 120 carries out Status Change because operating system can write relevant setting value the buffer in the chipset 120 when preparing to enter off-mode (S5 state).Therefore, really enter off-mode for fear of chipset 120, Basic Input or Output System (BIOS) 140 can change the content of buffer into the setting value relevant with holding state.
Shown in step S240, keep the present operating state data (this operating state data is to be retained in internal memory 110) of computer system 100.At last shown in step S250, embedded controller 130 control power circuits are kept power supply to internal memory 110 and are preserved wherein operating state data, and then make computer system 100 enter holding state.
What deserves to be mentioned is, because present embodiment is to see through Basic Input or Output System (BIOS) 140 notice chipsets 120 to enter holding state with embedded controller 130 but not enter off-mode, but the behavior of operating system itself does not change, so operating system assert still that computer system 100 prepares to enter is off-mode.In other words, from the angle of operating system, the data of its state and storage all with generally enter off-mode and be as good as.
Below will the detailed operation mode of each member in the computer system 100 be described when under the user during less important unlatching computer system 100 with Fig. 3.
At first shown in step S310, the user presses the power key of computer system 100 to start the power supply of computer system 100.In one embodiment, Basic Input or Output System (BIOS) 140 can be by the flag value that reads embedded controller 130 or other non-voltile memory to judge whether computer system 100 experienced each step shown in Figure 2 when shutting down last time.If flag value shows that computer system 100 before had been to close according to traditional process, 140 of Basic Input or Output System (BIOS)s can be carried out complete start selftest, and (Power On Self Test POST) starts computer system 100.That is in the case, must carry out initialization action to all nextport hardware component NextPorts.
If but flag value shows computer system 100 was to replace and enter off-mode to enter holding state when shutting down last time, then shown in step S320, Basic Input or Output System (BIOS) 140 judge computer system 100 be in holding state during whether any hardware change of generation is arranged.For instance, hardware change comprises internal memory change (for example changing or Extended RAM), central processing unit change (for example changing central processing unit), peripherals change (for example hard disk change, various expansion board (Extended card) change, WLAN (wireless local area network, WLAN) and the change between 3G network or the like), and real-time frequency (Real Time Clock, RTC) one of them or its combination person of power supply change (for example changing the battery of real-time frequency chip).
In detail,, represent that present related hardware model can be different with the hardware configuration that internal memory 110 is write down if internal memory change or the change of real-time frequency power supply take place, and if internal memory takes place changes, then may lose the operating state data of original reservation.The base this, if Basic Input or Output System (BIOS) 140 judges that computer system 100 has the generation hardware change, then shown in step S330, Basic Input or Output System (BIOS) 140 will be carried out complete start selftest (all nextport hardware component NextPorts are carried out initialization action) and be started computer system 100.
Yet if hardware change does not take place computer system 100, in step S340, Basic Input or Output System (BIOS) 140 can utilize the operating state data that is kept in the internal memory 110 to reply the setting of the correlation buffer of chipset 120 so.
In addition, Basic Input or Output System (BIOS) 140 also can be carried out initialized action to the hardware unit of minority.Specifically, shown in step S350, because visual graphic array (the Video Graphics Array of computer system 100, VGA) related data of display (not illustrating) can't be stored in internal memory 110, but can be stored in the chip and internal memory of VGA display itself, therefore, Basic Input or Output System (BIOS) 140 can start the visual graphic array through the initialization action of the VGA BIOS (VBIOS/DXE Driver) that carries out the VGA display.
Then shown in step S360, in order to want to read the hard disk (not illustrating) of computer system 100, Basic Input or Output System (BIOS) 140 will be carried out several the affirmation programs about hard disk.For instance, whether Basic Input or Output System (BIOS) 140 can be checked interruptable controller, normal as the function of INT 13 breaks in service to judge.In addition, support rank host controller interface (Advanced Host Controller Interface in computer system 100, AHCI) under the situation, Basic Input or Output System (BIOS) 140 also can check into whether the initialization data of the base address of rank host controller interface (base address) is correct.And Basic Input or Output System (BIOS) 140 also can be sent to hard disk with instruction through the IO interface of hard disk, and then whether the function of the IO interface of affirmation hard disk is errorless.
In addition, because the local Advanced Programmable Interrupt Controllers APICs that central processing unit had (the Local Advanced Programmable Interrupt Controller of computer system 100, Local APCI) related data is to be stored in central processing unit, and central processing unit is not powered when computer system 100 is in holding state, therefore when operating, computer system 100 can normally be responsible for the Interrupt Process of central processing unit in order to ensure local Advanced Programmable Interrupt Controllers APICs, shown in step S370, Basic Input or Output System (BIOS) 140 will be checked the correctness of the initialization data of local Advanced Programmable Interrupt Controllers APICs.
In step S380, loading and open operation system are to finish the start flow process of computer system 100 at last.
In Fig. 2 and embodiment shown in Figure 3, when computer system 100 will be shut down, Basic Input or Output System (BIOS) 140 notice chipsets 120 and embedded controller 130 and then control computer system 100 enter holding state but not off-mode, and keep operating state data at that time.Because computer system 100 internal memory 110 when being in holding state still can continue to be powered, therefore operating state data wherein can be retained.When treating to open computer system 100 next time, just can utilize the operating state data that is retained in the internal memory 110 to reply the setting value of the buffer of chipset 120 fast, and as long as after the computer hardware to minority detects, but just load operation system is to finish boot program.
What must specify is, though be to be each step that example illustrates method for start-up and shutdown of the present invention with Fig. 3 in the above-described embodiments with the computer system shown in Figure 1A 100 collocation Fig. 2, the computer system 100 ' of Figure 1B and the computer system 100 of Fig. 1 C " also can execution graph 2 and each step shown in Figure 3.
Fig. 4 A is the calcspar of the computer system that illustrates according to another embodiment of the present invention.See also Fig. 4, computer system 400 comprises internal memory 110, chipset 120, embedded controller 130, Basic Input or Output System (BIOS) 140, and non-volatile storage 450.In the present embodiment, internal memory 110 is a DRAM (Dynamic Random Access Memory).Because chipset 120, embedded controller 130 have same or analogous function with the counterpart member of the computer system 100 shown in Basic Input or Output System (BIOS) 140 and Figure 1A, so do not repeat them here.
Non-volatile storage 450 is coupled to the South Bridge chip 125 in the chipset 120.Non-volatile storage 450 for example is hard disk, flash memory (flash memory), or other any after loss of power, that stored data can not disappear storage device.
Fig. 4 B is the calcspar of the computer system that illustrates according to another embodiment of the present invention.The computer system 400 ' of Fig. 4 B is roughly similar to the framework of the computer system 400 of Fig. 4 A, difference therebetween is that central processing unit and the north bridge chips in the chipset 120 ' of computer system 400 ' is to be integrated into an integral chip 122, and in the chipset 120 of computer system 400,125 of central processing unit 121, north bridge chips 123 and South Bridge chips are member independently.
Fig. 4 C is the calcspar of the computer system that illustrates according to another embodiment of the present invention.Shown in Fig. 4 C, Basic Input or Output System (BIOS) 140 is not to be connected to chipset 120 shown in Fig. 4 A, 4B, and Basic Input or Output System (BIOS) 140 is to be connected to embedded controller 130 in the present embodiment.
And following the detailed process of the closedown method of computer system 400 will be described with Fig. 4 A and Fig. 5.Because step S510 to S550 shown in Figure 5 is same or similar with step S210 to S250 shown in Figure 2, so no longer explaining at this.
After making computer system 400 closely go into holding state, this moment, internal memory 110 can receive the power supply of power supply when seeing through step S510 to S550.Yet in order also to save power consumption further, in the present embodiment, shown in step S560, embedded controller 130 judges repeatedly whether the time that computer system 400 enters holding state arrives a default value.Wherein, default value for example is 24 hours, but the present invention is not limited this.
If judging computer systems 400 to enter holding state time is up, embedded controller 130 reaches default value, then shown in step S565, and embedded controller 130 computer system wakeups 400.And shown in step S570, Basic Input or Output System (BIOS) 140 is judged whether computer system 400 is waken up because computer system 400 enters holding state time is up and reaches default value.
If not, then shown in step S580, carry out normal in-cycle work program.
If then shown in step S585, Basic Input or Output System (BIOS) 140 writes to non-volatile storage 450 with the operating state data in the internal memory 110, and shown in step S590, the shutdown job procedure of computer system 400.That is Basic Input or Output System (BIOS) 140 notice embedded controllers 130 are with shut down computer by embedded Control 130 devices system 400 and power supply.So just can further reduce the consumption of power supply.And the former operating state data that is retained in the internal memory 110 can not disappear because being written into non-volatile storage 450 yet.
Fig. 6 is the detailed process of the starting-up method of the computer system 400 that illustrates according to another embodiment of the present invention.Because the step of Fig. 6 and Fig. 3 is roughly the same, thus below only describe with regard to both difference.
After starting the power supply of computer system 400 shown in the step S610, shown in step S613, Basic Input or Output System (BIOS) 140 checks in the internal memory 110 whether have operating state data.If not, then shown in step S615, judge whether non-volatile storage 450 has operating state data.
If not volatility storage device 450 has operating state data, represent that then the time that computer system 400 enters holding state has above default value.This moment, the operating state data that Basic Input or Output System (BIOS) 140 will be stored in the non-volatile storage 450 was re-loaded to internal memory 110 shown in step S620.
Then just shown in step S630 to S690, under the situation that hardware change does not take place, then utilize the operating state data in the internal memory 110 to start computer system 400 fast.
If judge that at step S613 internal memory 110 has had operating state data, or judge that at step S615 non-volatile storage 450 does not store operating state data, the starting-up method of the described computer system 400 of present embodiment is also with the action shown in the execution in step S630 to S690.
In the above-described embodiments, be to enter standby mode but not shutdown mode equally, and then operating state data is retained in internal memory 110 with control computer system 400 in the time will shutting down.Yet surpass default value in case enter the time of standby mode, do not have power supply also can preserve the non-volatile storage 450 of data, so reach the purpose of saving electric power even if just the operating state data in the internal memory 110 is changed to be stored to.
What must specify is, though be to be each step that example illustrates method for start-up and shutdown of the present invention with Fig. 6 in the above-described embodiments with the computer system shown in Fig. 4 A 400 collocation Fig. 5, the computer system 400 ' of Fig. 4 B and the computer system 400 of Fig. 4 C " also can execution graph 5 and each step shown in Figure 6.
In sum, computer system of the present invention and method for start-up and shutdown thereof are to enter holding state but not off-mode in the seasonal computer system of preparation shutdown, just operating state data at that time can be kept in the internal memory thus.Thereafter in the time will starting computer system once more, just can utilize the data that are kept in the internal memory to accelerate to start the speed of computer system.And when starting computer system, also can whether have the hardware change of generation to check to computer system.If be in holding state during hardware change once took place, then can be according to original start flow process, thus guarantee that computer system can normally be started.
Though the present invention discloses as above with embodiment; right its is not in order to limit the present invention; have in the technical field under any and know the knowledgeable usually; without departing from the spirit and scope of the present invention; when doing a little change and retouching, so protection scope of the present invention is when being as the criterion according to the content that claim defined.

Claims (14)

1. the method for start-up and shutdown of a computer system, this computer system comprises an internal memory, a chipset, an embedded controller and a Basic Input or Output System (BIOS), and has an operating system to be executed in this computer system, it is characterized in that this method comprises:
When this Basic Input or Output System (BIOS) is intercepted the shutdown command that this operating system sends, notify this embedded controller to prepare to enter a holding state;
Set the content of at least one buffer of this chipset according to this holding state by this Basic Input or Output System (BIOS);
Keep the present operating state data of this computer system; And
Keeping power supply makes this computer system enter this holding state to this internal memory.
2. the method for start-up and shutdown of computer system according to claim 1 is characterized in that, makes to this internal memory after this computer system enters the step of this holding state keeping power supply, and this method also comprises:
Start the power supply of this computer system;
Judge whether this computer system one hardware change takes place;
If not, then utilize this operating state data in this internal memory to reply the setting of this at least one buffer of this chipset;
Start a visual graphic array display of this computer system;
Execution is about the affirmation program of a hard disk of this computer system;
Check the correctness of the initialization data of a local Advanced Programmable Interrupt Controllers APICs; And
Open this operating system.
3. the method for start-up and shutdown of computer system according to claim 2 is characterized in that, execution also comprises about the step of the affirmation program of this hard disk:
Check the function of an INT 13 breaks in service;
Check that one advances the correctness of initialization data of the base address of rank host controller interface; And
Confirm the function of an IO interface of this hard disk.
4. the method for start-up and shutdown of computer system according to claim 2 is characterized in that, after judging whether this computer system the step of this hardware change takes place, this method also comprises:
If then carry out a complete start selftest to start this computer system.
5. the method for start-up and shutdown of computer system according to claim 2 is characterized in that, this hardware change comprises internal memory change, central processing unit change, peripherals change, and real-time frequency power supply change.
6. the method for start-up and shutdown of computer system according to claim 2, it is characterized in that, this operating state data of this computer system is to be retained in this internal memory, and save as a DRAM (Dynamic Random Access Memory) in being somebody's turn to do, and make to this internal memory after this computer system enters the step of this holding state keeping power supply, this method also comprises:
Judge whether the time that this computer system enters this holding state arrives a default value;
If then will be retained in the non-volatile storage that this operating state data in this internal memory writes to this computer system; And
Carry out a shutdown job procedure of this computer system.
7. the method for start-up and shutdown of computer system according to claim 6 is characterized in that, after the step of the power supply that starts this computer system, this method also comprises:
Check whether this internal memory has this operating state data;
If not, judge then whether this non-volatile storage has this operating state data; And
If then this operating state data is loaded into this internal memory.
8. computer system, carrying out has an operating system, it is characterized in that this computer system comprises:
One internal memory;
One chipset couples this internal memory;
One embedded controller couples this chipset; And
One Basic Input or Output System (BIOS), couple this chipset or this embedded controller wherein this Basic Input or Output System (BIOS) when intercepting the shutdown command that this operating system sends, seeing through this chipset notifies this embedded controller to prepare to enter a holding state, set the content of at least one buffer of this chipset according to this holding state, keep the present operating state data of this computer system, and keep power supply by this embedded controller and make this computer system enter this holding state to this internal memory.
9. computer system according to claim 8 is characterized in that, behind the power supply that starts this computer system, this Basic Input or Output System (BIOS) judges whether this computer system one hardware change takes place,
If not, this Basic Input or Output System (BIOS) utilizes this operating state data in this internal memory to reply the setting of this at least one buffer of this chipset, start a visual graphic array display of this computer system, execution is about the affirmation program of a hard disk of this computer system, check the correctness of the initialization data of a local Advanced Programmable Interrupt Controllers APICs, and open this operating system.
10. computer system according to claim 9, it is characterized in that, this Basic Input or Output System (BIOS) is when the affirmation program of carrying out about this hard disk of this computer system, check the function of an INT 13 breaks in service, check that one advances the correctness of initialization data of the base address of rank host controller interface, and the function of confirming an IO interface of this hard disk.
11. computer system according to claim 9 is characterized in that, this Basic Input or Output System (BIOS) is carried out a complete start selftest to start this computer system when judging that this hardware change takes place this computer system.
12. computer system according to claim 9 is characterized in that, this hardware change comprises internal memory change, central processing unit change, peripherals change, and real-time frequency power supply change.
13. computer system according to claim 9 is characterized in that, this operating state data of this computer system is to be retained in this internal memory, and saves as a DRAM (Dynamic Random Access Memory) in being somebody's turn to do, and this computer system also comprises:
One non-volatile storage couples this chipset,
Wherein this embedded controller wakes this computer system up when the time that this computer system enters this holding state arrives a default value,
This Basic Input or Output System (BIOS) is judged whether this computer system is waken up and is arrived this default value because this computer system enters the time of this holding state, if, this Basic Input or Output System (BIOS) writes to this non-volatile storage through this operating state data that this chipset will be retained in this internal memory, and notifies this embedded controller to close this computer system and power supply by this embedded controller.
14. computer system according to claim 13 is characterized in that, behind the power supply that starts this computer system, this Basic Input or Output System (BIOS) checks whether this internal memory has this operating state data,
If not, this Basic Input or Output System (BIOS) judges whether this non-volatile storage has this operating state data,
If this Basic Input or Output System (BIOS) sees through this chipset this operating state data is loaded into this internal memory.
CN2011101308730A 2010-05-31 2011-05-17 Computer system and turning-on and turning-off method thereof Pending CN102262550A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US34990110P 2010-05-31 2010-05-31
US61/349,901 2010-05-31

Publications (1)

Publication Number Publication Date
CN102262550A true CN102262550A (en) 2011-11-30

Family

ID=45009188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101308730A Pending CN102262550A (en) 2010-05-31 2011-05-17 Computer system and turning-on and turning-off method thereof

Country Status (2)

Country Link
CN (1) CN102262550A (en)
TW (1) TWI534707B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150288A (en) * 2013-03-14 2013-06-12 福州瑞芯微电子有限公司 SOC achieving quick start-up and realization method of SOC
CN105138479A (en) * 2015-08-07 2015-12-09 联想(北京)有限公司 Information processing method and electronic equipment
CN105700985A (en) * 2016-01-15 2016-06-22 合肥联宝信息技术有限公司 Notebook computer loop test tool
CN105760314A (en) * 2016-03-14 2016-07-13 山东超越数控电子有限公司 Method for controlling starting-up screen luminance of system by virtue of EC SCI
CN108733421A (en) * 2017-04-14 2018-11-02 仁宝电脑工业股份有限公司 Computer installation and its data guard method
WO2021233363A1 (en) * 2020-05-21 2021-11-25 华为技术有限公司 Computing device and bios update method therefor, and medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI479420B (en) 2013-01-16 2015-04-01 Wistron Corp Computer and booting method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744039A (en) * 2004-08-31 2006-03-08 华硕电脑股份有限公司 Starting-up method, computer system and its production method
CN101515194A (en) * 2008-02-21 2009-08-26 鸿富锦精密工业(深圳)有限公司 Computer operating state converting method
CN101710253A (en) * 2009-11-25 2010-05-19 安凯(广州)微电子技术有限公司 Deep-sleep method of embedded system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744039A (en) * 2004-08-31 2006-03-08 华硕电脑股份有限公司 Starting-up method, computer system and its production method
CN101515194A (en) * 2008-02-21 2009-08-26 鸿富锦精密工业(深圳)有限公司 Computer operating state converting method
CN101710253A (en) * 2009-11-25 2010-05-19 安凯(广州)微电子技术有限公司 Deep-sleep method of embedded system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《电脑爱好者》 20080815 白色 "电脑关机,睁眼睡还是闭眼睡" 第37页第2段,第6段 1-14 , 第16期 *
白色: ""电脑关机,睁眼睡还是闭眼睡"", 《电脑爱好者》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150288A (en) * 2013-03-14 2013-06-12 福州瑞芯微电子有限公司 SOC achieving quick start-up and realization method of SOC
CN103150288B (en) * 2013-03-14 2016-04-06 福州瑞芯微电子股份有限公司 A kind of SOC of quick turn-on and its implementation
CN105138479A (en) * 2015-08-07 2015-12-09 联想(北京)有限公司 Information processing method and electronic equipment
CN105138479B (en) * 2015-08-07 2019-03-29 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105700985A (en) * 2016-01-15 2016-06-22 合肥联宝信息技术有限公司 Notebook computer loop test tool
CN105700985B (en) * 2016-01-15 2018-12-28 合肥联宝信息技术有限公司 Loop test jig for laptop
CN105760314A (en) * 2016-03-14 2016-07-13 山东超越数控电子有限公司 Method for controlling starting-up screen luminance of system by virtue of EC SCI
CN108733421A (en) * 2017-04-14 2018-11-02 仁宝电脑工业股份有限公司 Computer installation and its data guard method
WO2021233363A1 (en) * 2020-05-21 2021-11-25 华为技术有限公司 Computing device and bios update method therefor, and medium
CN113703799A (en) * 2020-05-21 2021-11-26 华为技术有限公司 Computing device and BIOS updating method and medium thereof

Also Published As

Publication number Publication date
TW201142710A (en) 2011-12-01
TWI534707B (en) 2016-05-21

Similar Documents

Publication Publication Date Title
CN102262550A (en) Computer system and turning-on and turning-off method thereof
US9098305B2 (en) Computer system and bootup and shutdown method thereof
US7213139B2 (en) System for gathering and storing internal and peripheral components configuration and initialization information for subsequent fast start-up during first execution of fast start-up
CN101470509B (en) Computer system control method, computer system and notebook computer
JP5076317B2 (en) Information processing apparatus, information processing method, and program thereof
JP3264272B2 (en) Computer and power control method for computer
EP1351146A1 (en) Power management system and method with recovery after power failure
US9395919B1 (en) Memory configuration operations for a computing device
JP2006120114A (en) Computer which has multifunctional power button and related method
TW201011524A (en) Method and controller for power management
US6895517B2 (en) Method of synchronizing operation frequencies of CPU and system RAM in power management process
US20100125726A1 (en) Thin client host wakeup method and thin client host
US20090132798A1 (en) Electronic device and method for resuming from suspend-to-memory state thereof
CN113703799A (en) Computing device and BIOS updating method and medium thereof
JP2009524126A (en) Mobile computing device and data packet receiving method thereof
TWI352281B (en) Method for judging a rebooting action of a compute
US7962735B2 (en) Servo device auto-booted upon power supply recovery and method thereof
CN1391164A (en) On-off test method for motherboard of computer
CN101436097B (en) Electronic device and wake-up method thereof
CN101281416A (en) Method for ensuring system closedown completion
CN113791738A (en) Normalized low-power-consumption processing method and device based on solid state disk and computer equipment
JPH1173330A (en) Computer system
CN101901153A (en) Electronic device, starting method thereof and method for installing instant start operation system
CN105068835A (en) Mobile terminal and debugging information display method thereof
TWI823253B (en) A computing system, a computer-implemented method and a computer-program product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20111130