CN101685338B - Method of saving system resources of notebook computer and notebook computer - Google Patents

Method of saving system resources of notebook computer and notebook computer Download PDF

Info

Publication number
CN101685338B
CN101685338B CN2008102234357A CN200810223435A CN101685338B CN 101685338 B CN101685338 B CN 101685338B CN 2008102234357 A CN2008102234357 A CN 2008102234357A CN 200810223435 A CN200810223435 A CN 200810223435A CN 101685338 B CN101685338 B CN 101685338B
Authority
CN
China
Prior art keywords
notebook computer
information
module
resource
compared
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
Application number
CN2008102234357A
Other languages
Chinese (zh)
Other versions
CN101685338A (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 CN2008102234357A priority Critical patent/CN101685338B/en
Publication of CN101685338A publication Critical patent/CN101685338A/en
Application granted granted Critical
Publication of CN101685338B publication Critical patent/CN101685338B/en
Active 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

Abstract

The present invention provides a method of saving system resources of a notebook computer and a notebook computer, the system of the notebook computer comprises a first system and a second system. Wherein, the first system is a main system, and the second system is an embedded system of the computer system and has a power consumption lower than that of the first system. The method comprises processes of obtaining the information to be compared of devices corresponding to a first system running currently, wherein, the information to be compared is used for judging whether the first system enters a second system or not; calling standard information for judging whether the first system enters the second system or not; processing the information to be compared and the standard information to generate a result information; when the result information indicates that the first system needs to enter the second system, generating a switch command; switching the first system to the second system according to the switch command. By adopting the invention, system resource expenses can be reduced and system resources of a notebook computer can be saved.

Description

A kind of method and notebook computer of saving the system resource of notebook computer
Technical field
The present invention relates to computer realm, particularly relate to a kind of method and notebook computer of saving the system resource of notebook computer.
Background technology
Along with development of science and technology, notebook computer becomes the indispensable electronic product of user.Various notebook computers in the market, performance of computer systems and power consumption all improve constantly, thereby high performance state of notebook computer etc. occurred.The user is during using notebook computer, and when carrying out simple operations such as documents editing, web page browsing, notebook-computer system only need simply be kept operation and get final product; Need not CPU (Central Process Unit, CPU), hard disk or internal memory operate under the high performance pattern, and when the user in the large-scale 3D recreation of operation; During perhaps high-quality video playback, just need CPU, hard disk or the internal memory of notebook-computer system to possess high-performance, at this moment; The high-performance of notebook computer will cause the high power consumption of notebook-computer system resource; Therefore, can find out during using notebook, do not carry out what operation if do not consider the user; All make notebook-computer system operate in high power consumption situation following time, can consume unnecessary system resource undoubtedly.
In the prior art, a kind of method of switching the use pattern of notebook computer is arranged, this method is through under the main system of notebook computer, switches that different use patterns realizes.For example, the user is playing large-scale 3D recreation, when perhaps carrying out high-quality video playback; Be adjusted to high performance mode through button, in this pattern, CPU, internal memory etc. is in the state of high-frequency running; At this moment, the system resource utilization rate of notebook computer is more relatively.In order to reduce consumption, when the user is carrying out simple operations, when the running environment that need not notebook computer possesses high performance state to the notebook-computer system resource; Can the system of notebook computer be adjusted to energy saver mode, under energy saver mode, notebook computer will reduce the usage degree of some equipment automatically; It can not be utilized cmpletely; For example, video card, the peripheral port that some do not have to use etc.
But there is shortcoming simultaneously in this method, because in energy saver mode, notebook computer has just stopped the work of part hardware; The method of operation of notebook-computer system is not made change, therefore, processors such as CPU, internal memory still are in high performance state; Though can satisfy under the prerequisite of demand that the user only does simple operations, prolong the battery service time of notebook computer, CPU; The high-performance of processors such as internal memory; Make the system of notebook computer unnecessary system resource is provided, and the user does not use, the very big system resource that must waste notebook computer when carrying out simple operations to this part resource to the user.
In a word, need the urgent technical matters that solves of those skilled in the art to be exactly at present: a kind of method of saving the system resource of notebook computer of the proposition how can innovate, to solve the problem of the system resource of waste notebook computer in the prior art.
Summary of the invention
Technical matters to be solved by this invention provides a kind of method of saving the system resource of notebook computer, can reduce the consumption of the system resource of notebook computer.
The present invention also provides a kind of notebook computer, in order to guarantee realization and the application of said method in reality.
In order to address the above problem, the invention discloses a kind of method of saving the system resource of notebook computer, said method is applied to comprise in the notebook computer of first system and second system; Wherein, Said first system is a main system, and said second system is an embedded system, and the power consumption of said second system is lower than the power consumption of said first system; When current operational system was said first system, said method comprised:
Obtain the information to be compared of said first system's relevant device, said information to be compared is used to judge whether said first system gets into said second system;
Call one and be used to judge whether said first system gets into the standard information of said second system;
Said information to be compared and said standard information are handled, to generate an object information;
When said object information representes that said first system need get into said second system, generate one and switch order;
According to said switching command said first system is switched to said second system and carry out, comprising: according to said switching command, the display device with said notebook computer is connected in said second system with basic input-output device respectively; Reload the relevant hardware driver, to accomplish switching from said first system to second system.
Preferably, said information to be compared is the current capability value of battery;
Said standard information is first capacity threshold of said battery;
Wherein, Said said information to be compared and said standard information are handled; Be specially to produce an object information: more said current capability value and said first capacity threshold; When said current capability value during, generate in order to show that said first system need get into the object information of said second system less than said first capacity threshold.
Preferably, said when said object information representes that said first system need get into said second system, generate one and switch the step of order, specifically comprise:
Produce an information, said information is used to point out the user that said first system is switched to said second system;
When user's feedback information representes that said first system need get into said second system, generate one and switch order.
Preferably, said said information to be compared and said standard information are handled, are specially to generate an object information:
More said current capability value and said first capacity threshold;
When said current capability value during less than said first capacity threshold, the more said current capability value and second capacity threshold;
When said current capability value during, generate in order to need get into the object information of said second system by said first system less than said second capacity threshold.
Preferably, said information to be compared is the utilization rate of system resource,
Said standard information is that first of system resource is used threshold value;
Wherein, Said said information to be compared and said standard information are handled; Producing an object information is specially: the utilization rate of more said system resource and first is used threshold value; When said utilization rate is used threshold value less than said first, generate in order to show that said first system need get into the object information of said second system.
Preferably, saidly said first system is switched to after the step of said second system, also comprises according to said switching command:
The utilization rate of second system resource of more said notebook computer and second is used the size of threshold value;
When the utilization rate of said second system resource was used threshold value greater than second, then first system that switches to of second system with the current operation of said notebook computer carried out.
Preferably, saidly said first system is switched to after the step of said second system, also comprises according to said switching command:
When the current working procedure of second system of said notebook computer needs the hardware resource of first system, first system that switches to of second system of the current operation of said notebook computer is carried out.
Preferably, saidly said first system is switched to after said second system, also comprises according to said switching command:
Preserve the progress information that is moving in said first system.
Preferably, before the information to be compared of the said first system's relevant device that obtains current operation, also comprise:
Whether the current working procedure of judging said notebook computer needs high performance state, when said current working procedure does not need high performance state, then carries out the step of the information to be compared of the first system's relevant device that obtains current operation.
The embodiment of the invention also discloses a kind of notebook computer; The system of said notebook computer comprises first system and second system; Wherein, said first system is a main system, and said second system is the embedded system of notebook computer; And low in energy consumption than said first system, said notebook computer comprises:
Acquisition module is used to obtain the information to be compared of said first system's relevant device, and said information to be compared is used to judge whether said first system gets into said second system;
Calling module is used to call one and judges whether said first system gets into the standard information of said second system;
Processing module is used for said information to be compared and said standard information are handled, to generate an object information;
Generation module is used for when said object information representes that said first system need get into said second system, generating one and switching order;
Handover module is used for according to said switching command said first system being switched to said second system and carries out; Said handover module comprises: the connexon module, be used for according to said switching command, and the display device with notebook computer is connected in said second system with basic input-output device respectively; Load submodule, be used to load the relevant hardware driver, to accomplish switching from said first system to second system.
Preferably, said information to be compared is the current capability value of battery; Said standard information is the capacity threshold of said battery; Said processing module comprises:
First comparison sub-module is used for the size of more said current capability value and said first capacity threshold;
First generates submodule, is used for when said current capability value during less than said capacity threshold, and generation is in order to show that said first system need get into the object information of said second system.
Preferably, said generation module comprises:
Produce submodule, be used to produce an information, said information is used to point out the user that said first system is switched to said second system;
Second generates submodule, is used for when user's feedback information representes that said first system need get into said second system, generates one and switches and order.
Preferably, said processing module comprises:
Second comparison sub-module is used for more said current capability value and said first capacity threshold;
The 3rd comparison sub-module is used for when said current capability value during less than said first capacity threshold more said current capability value and second capacity threshold;
The 3rd generates submodule, is used for when said current capability value during less than said second capacity threshold, and generation is in order to show that current operational system need be got into the object information of said second system by said first system.
Preferably, said information to be compared is the utilization rate of system resource, and said standard information is that first of system resource is used threshold value.
Said processing module comprises:
The 4th comparison sub-module, the utilization rate and first that is used for more said system resource is used the size of threshold value;
The 4th generates submodule, is used for when said utilization rate is used threshold value less than said first, generating in order to show that said first system need get into the object information of said second system.
Preferably, also comprise:
Comparison module, the utilization rate and second that is used for second system resource of more said notebook computer is used the size of threshold value;
First recovers module, is used for when said utilization rate is used threshold value greater than second, with second system recovery to the first system execution of the current operation of said notebook computer.
Preferably, also comprise:
Second recovers module, when being used for the hardware resource when current working procedure needs first system of said second system of said notebook computer, with second system recovery to the first system execution of the current operation of said notebook computer.
Preferably, also comprise:
Preserve module, be used for preserving the progress information that said first system is moving.
Preferably, also comprise:
Second judge module is used to judge whether the current working procedure of said notebook computer needs high performance state;
Execution module, be used for when the result of said second judge module for not the time, carry out the step of the information to be compared of the first system's relevant device that obtains current operation.
The embodiment of the invention discloses a kind of notebook computer, said notebook computer comprises: first hardware system and second hardware system, and said first hardware system comprises:
Embedded controller is used for issuing switching command to general-purpose serial bus USB change-over switch and demonstration arbitration modules;
Show to be used for arbitration modules, the display device of said notebook computer is switched to second hardware system from first hardware system of current operation according to said switching command;
The USB change-over switch is used for according to said switching command, and the basic input-output device of said notebook computer is switched to second hardware system from first hardware system of current operation;
Said second hardware system comprises:
Video image formation VGA output interface, said VGA output interface is connected with the video format conversion module, when said second hardware system moves, is used for the input signal after the said video format conversion module converts is outputed to the display device of notebook computer;
Inner low speed bus interface is used for the switching command according to said embedded controller, to the low-power-consumption embedded processor transmitting system control bus SMBus of said second hardware system order, starts working to wake said second hardware system up.
Preferably, said second hardware system also comprises:
The video format conversion module when said second hardware system moves, is used for the LED image that liquid crystal display // screen can show that converts into rgb format.
Compared with prior art, the present invention has the following advantages:
In embodiments of the present invention; The system of the notebook computer of mentioning can comprise first system and second system; Wherein, Said first system can be main system, and said second system can be the low-power-consumption embedded system of notebook computer, the information to be compared of the first system relevant device of the present invention through obtaining current operation; Said information to be compared is used to judge whether said first system gets into said second system, and calls one and be used to judge whether said first system gets into the standard information of said second system; And said information to be compared and said standard information handled, to generate an object information; When said object information representes that said first system need get into said second system, one switch order according to what generate, said first system is switched to said second system.Said second system is the embedded type low-power consumption system; Compare with energy saver mode in the prior art; In second system, CPU, internal memory and hard disk etc. all are in the state of lower power consumption, therefore when second system of notebook computer moves; Can on the basis of the service time that prolongs cells in notebook computer, save the system resource of notebook computer.
Description of drawings
Fig. 1 is the process flow diagram of the method embodiment 1 of a kind of system resource of saving notebook computer of the present invention;
Fig. 2 is the process flow diagram of the method embodiment 2 of a kind of system resource of saving notebook computer of the present invention;
Fig. 3 is the process flow diagram of the method embodiment 3 of a kind of system resource of saving notebook computer of the present invention;
Fig. 4 is the process flow diagram of the method embodiment 4 of a kind of system resource of saving notebook computer of the present invention;
Fig. 5 is the structured flowchart of the embodiment 1 of a kind of notebook computer of the present invention;
Fig. 6 is the structured flowchart of the embodiment 2 of a kind of notebook computer of the present invention;
Fig. 7 is the structured flowchart of the embodiment 3 of a kind of notebook computer of the present invention;
Fig. 8 is the structured flowchart of the embodiment 4 of a kind of notebook computer of the present invention;
Fig. 9 is the structured flowchart of the hardware system of a kind of notebook computer of the present invention.
Embodiment
For make above-mentioned purpose of the present invention, feature and advantage can be more obviously understandable, below in conjunction with accompanying drawing and embodiment the present invention done further detailed explanation.
The present invention can be used in numerous general or special purpose calculation element environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multiprocessor device, comprise DCE of above any device or equipment or the like.
The present invention can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract, program, object, assembly, data structure or the like.Also can in DCE, put into practice the present invention, in these DCEs, by through communication network connected teleprocessing equipment execute the task.In DCE, program module can be arranged in this locality and the remote computer storage medium that comprises memory device.
With reference to figure 1, show the process flow diagram of the method embodiment 1 of a kind of system resource of saving notebook computer of the present invention, the system of said notebook computer comprises first system and second system; Wherein, Said first system is a main system, and said second system is the embedded system of notebook computer, and low in energy consumption than said first system; When current operational system was said first system, said method specifically can may further comprise the steps:
Step 101: obtain the information to be compared of first system's relevant device of current operation, said information to be compared is used to judge whether said first system gets into said second system;
Step 102: call one and be used to judge whether said first system gets into the standard information of said second system;
Step 103: said information to be compared and said standard information are handled, to generate an object information;
Step 104: when said object information representes that said first system need get into said second system, generate one and switch order;
Step 105: according to said switching command said first system is switched to said second system and carry out.
Need to prove that in the present embodiment, said first system is a main system, said second system is the low-power dissipation system of notebook computer; Promptly be mini system, in practical application, during notebook computer start work, acquiescence gets into said first system; First system is the main system of notebook computer, and in first system, notebook computer is in high performance state; CPU, internal memory, hard disk etc. are in high power consumption state, and in the time of first system works, second system is in dormant state; The information to be compared of said first system's relevant device; Can be the current capability value of cells in notebook computer; Also can be the utilization rate of the system resource of notebook computer; Can also be other information of notebook computer relevant device, said standard information can be the capacity threshold of the cells in notebook computer that is provided with in advance, and the setting of said capacity threshold is relevant with the charge value that cells in notebook computer is in the state of saturation of charging; Can said first threshold be set at 10% of battery saturation value; Can be the use threshold value of the system resource of notebook computer, said capacity threshold does not influence realization of the present invention with the size of using threshold value yet, and the present invention need not this is made qualification;
Can find out that in the present embodiment, the system of notebook computer is a commingled system, comprise two systems of first system and second system; Said first system is the main system of notebook computer, when notebook computer start operation, generally moves first system, when the user needs; Perhaps the battery electric quantity of notebook computer is not enough, when perhaps the system resource utilization rate of notebook computer is low excessively, just switches to said second system; Said second system is a low-power dissipation system integrated in the notebook computer, and in said second system, the running frequency of CPU is lower; Internal memory or hard disk etc. also are in low power consumpting state, for example, and when carrying out documents editing; If under said first system, be merely able to work 20 minutes, after switching to said second system, can work 3 hours.Therefore when the user need not notebook computer and carries out the high performance operation state; Switching to second system to notebook computer from said first system carries out; The user can accomplish the widespread usage program in said first system; Thereby on the basis of the service time that prolongs notebook computer, can greatly reduce power consumption, and then the system resource of having saved notebook computer.
With reference to figure 2, show the process flow diagram of the method embodiment 2 of a kind of system resource of saving notebook computer of the present invention, the system of said notebook computer comprises first system and second system; Wherein, said first system is a main system, and said second system is the embedded system of notebook computer; And low in energy consumption than said first system promptly is mini system, in practical application; During notebook computer start work, acquiescence gets into said first system, and first system is the main system of notebook computer; In first system, notebook computer is in high performance state, and CPU, internal memory, hard disk etc. are in high power consumption state; In the time of first system works, second system is in dormant state.When current operational system was said first system, said method can may further comprise the steps:
Step 201: obtain the current capability value of cells in notebook computer, said current capability value is used to judge whether said first system gets into said second system;
In reality, can (Embedded Controller EC) gets access to the current capability value of cells in notebook computer in the chip, wherein, said chip can detect the information about power of notebook computer always in the course of work of notebook computer from embedded controller;
Step 202: call first capacity threshold of cells in notebook computer, said first capacity threshold is used to judge whether said first system gets into said second system;
Wherein, The setting of said first threshold is relevant with the charge value that cells in notebook computer is in the charging state of saturation, can said first threshold be set at 10% of battery saturation value, wherein; The setting of said threshold value can be according to user's needs; Perhaps set by user's own according to the performance of notebook computer, the size of said first threshold does not influence realization of the present invention, and the present invention does not limit this;
Step 203: the size of more said current capability value and said first capacity threshold;
Step 204:, generate in order to show that said first system need get into the object information of said second system when said current capability value during less than said first capacity threshold;
In reality, the binary language that said object information can be discerned for computing machine for example can use 0 or 1 to identify different object informations; When said current capacity during, explain that the residue of cells in notebook computer is less relatively service time less than first capacity threshold;
Step 205: produce an information, said information is used to point out the user that said first system is switched to said second system;
Can use the mode at interface to produce this information, switch to second system by first system of current use;
Step 206: when user's feedback information representes that said first system need get into said second system, generate one and switch order;
The user selects to switch on the interface of said information, then generates a switching command, wherein, in practical application, can generate said switching command by embedded controller EC;
In this step, the user can assign object information to the EC chip through basic input-output system BIOS after selecting to switch; Generate said switching command by the EC chip; Through driving the register of visit EC chip, change the value of a certain position in the register, in reality; When concrete value is 0, promptly be to change 1 into 0; Need to prove, promptly be when first system switches to second system when changing 1 into 0, if system restart, what acquiescence got into is first system, and at this moment, the value of this position of register of EC chip reverts to 0 again; The value of said first system corresponding 0 or 1 does not influence realization of the present invention;
Step 207: according to said switching command said first system is switched to said second system and carry out.
Preferably, said step 207 specifically can comprise following substep:
Substep 2071: according to said switching command, the display device with notebook computer is connected in said second system with basic input and output BIOS equipment respectively;
In practical application; The EC chip is issued to said command information low speed USB change-over switch and shows arbitration modules; Described two modules, similar and two switching nodes can switch in said first system and second system according to the command information of EC chip; According to said command information, low speed USB change-over switch with show arbitration modules, can be respectively (Basic Input-output System BIOS) is connected to said second system with basic input-output device with the display device of notebook computer; Wherein, said EC chip can (System Management Bus SMBus) orders, and starts working to wake said second system up to the inside of said second system low speed bus interface transmitting system control bus;
Substep 2072: load the relevant hardware driver, to accomplish switching from said first system to second system.
Said second system detects after the new hardware, loads the corresponding driving program, and at this moment, said second system starts working, and the current operational system of notebook computer becomes second system by first system.
With reference to figure 3, show the process flow diagram of the method embodiment 3 of a kind of system resource of saving notebook computer of the present invention, the system of said notebook computer comprises first system and second system, wherein; Said first system is a main system, and said second system is the low-power dissipation system of notebook computer, promptly is mini system; In practical application, during notebook computer start work, acquiescence gets into said first system; First system is the main system of notebook computer, and in first system, notebook computer is in high performance state; CPU, internal memory, hard disk etc. are in high power consumption state, and in the time of first system works, second system is in dormant state.When current operational system was said first system, said method can may further comprise the steps:
Step 301: obtain the current capability value of cells in notebook computer, said current capability value is used to judge whether said first system gets into said second system;
In reality, can (Embedded Controller EC) gets access to the current capability value of cells in notebook computer in the chip, wherein, said chip can detect the information about power of notebook computer always in the course of work of notebook computer from embedded controller;
Step 302: call first capacity threshold of cells in notebook computer, said first capacity threshold is used to judge whether said first system gets into said second system;
Wherein, The setting of said first threshold is relevant with the charge value that cells in notebook computer is in the charging state of saturation, can said first threshold be set at 10% of battery saturation value, wherein; The setting of said threshold value can be according to user's needs; Perhaps set by user's own according to the performance of notebook computer, the size of said first threshold does not influence realization of the present invention, and the present invention does not limit this;
Step 303: the size of more said current capability value and said first capacity threshold;
Step 304: when said current capability value during less than said first capacity threshold, the size of the more said current capability value and second capacity threshold;
Wherein, Said second capacity threshold should be less than said first capacity threshold in reality; The setting of said second capacity threshold also with cells in notebook computer be in the charging state of saturation charge value relevant, can said second capacity threshold be set at 5% of battery saturation value, wherein; The setting of said second capacity threshold can be according to user's needs; Perhaps set by user's own according to the performance of notebook computer, the size of said second capacity threshold does not influence realization of the present invention, and the present invention does not limit this;
Step 305:, generate in order to need get into the object information of said second system by said first system when said current capability value during less than said second capacity threshold;
Step 306: when said object information representes that said first system need get into said second system, generate one and switch order;
Step 307: according to said switching command said first system is switched to said second system and carry out.
Step 308: preserve the progress information that is moving in said first system.
After switch operating is accomplished, can call the software interface in said first system, preserve the current progress information that is moving; For example, the user is when the document information of pre-treatment, the user mode of application program etc.; At this moment; Said first system gets into non-operating mode, can be dormant state, holding state etc.
With reference to figure 4, show the process flow diagram of the method embodiment 4 of a kind of system resource of saving notebook computer of the present invention, the system of said notebook computer comprises first system and second system; Wherein, said first system is a main system, and said second system is the embedded system of notebook computer; And low in energy consumption than said first system promptly is mini system, in practical application; During notebook computer start work, acquiescence gets into said first system, and first system is the main system of notebook computer; In first system, notebook computer is in high performance state, and CPU, internal memory, hard disk etc. are in high power consumption state; In the time of first system works, second system is in dormant state.When current operational system was said first system, said method can may further comprise the steps:
Step 401: whether the current working procedure of judging notebook computer needs high performance state;
In laptop computer applications; Application without type has system resource requirement in various degree, and in the present embodiment, according to the consumption degree of system resource is divided into two big types with the working procedure of notebook computer: the first kind is to need high-speed CPU; The high capacity internal memory; The program of a large amount of system resources such as video card, for example large-scale 3D recreation, high quality image process etc.; Second type is the CPU that only needs low speed, low capacity internal memory, the program of basic display processing power, for example document process, media play basically;
Step 402: when need not high performance state, obtain the system resource utilization rate of first system of current operation, said system resource utilization rate is used to judge whether said first system gets into said second system;
In the present embodiment, when notebook computer moves, can detect the utilization rate of the system resource of the current operation of said notebook computer;
Step 403: first of calling system resource is used threshold value, and said first uses threshold value to be used to judge whether said first system gets into said second system;
Step 404: the utilization rate of more said system resource and first is used the size of threshold value;
Step 405: when said utilization rate is used threshold value less than said first, generate in order to show that said first system need get into the object information of said second system;
Step 406: when said object information representes that said first system need get into said second system, generate one and switch order;
Step 407: said first system is switched to said second system according to said switching command.
Wherein, step 403 to step 406 describes in embodiment 2 in detail, repeats no more at this;
Preferably, present embodiment can also comprise:
Step 408: the utilization rate of second system resource of more said notebook computer and second is used the size of threshold value;
Step 409: when said utilization rate was used threshold value greater than second, then first system that switches to of second system with the current operation of notebook computer carried out;
Wherein, When the system resource utilization rates such as program, CPU and internal memory of the current operation of second system reach certain value; Represent that the system resource of second system of current operation has been not enough to satisfy the demand of notebook computer running environment; Therefore, again first system that switches to of second system of the current operation of notebook computer is carried out;
Perhaps also can work as the hardware resource that certain program of moving of second system needs main system just to have, then also can second system be switched to first system works.
For aforesaid each method embodiment; For simple description; So it all is expressed as a series of combination of actions, but those skilled in the art should know that the present invention does not receive the restriction of described sequence of movement; Because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
With reference to figure 5, show the structured flowchart of the embodiment 1 of a kind of notebook computer of the present invention, in said notebook computer; Have first system and second system, wherein, said first system is a main system; Said second system is the embedded system of notebook computer; And when low in energy consumption than said first system, current operational system were said first system, said notebook computer can comprise with lower module:
Acquisition module 501 is used to obtain the information to be compared of first system's relevant device of current operation, and said information to be compared is used to judge whether said first system gets into said second system;
Calling module 502 is used to call a standard information, and said standard information is used to judge whether said first system gets into said second system;
Processing module 503 is used for said information to be compared and said standard information are handled, to generate an object information;
Generation module 504 is used for when said object information representes that said first system need get into said second system, generating one and switching order;
Handover module 505 is used for according to said switching command said first system being switched to said second system.
In the present embodiment; The system of notebook computer is a commingled system, comprises two systems of first system and second system, and said first system is the main system of notebook computer; When the cells in notebook computer electric weight is sufficient; Perhaps when notebook computer is started shooting, generally move first system, when the object information that produces when said processing module representes that said first system need get into said second system; A switching command according to generation module generates switches to said second system with said first system.Said second system is a low-power dissipation system integrated in the notebook computer, and in said second system, the running frequency of CPU is lower; Internal memory or hard disk etc. also are in low power consumpting state; For example, when carrying out documents editing, if under said first system, be merely able to work 20 minutes; After switching to said second system, can work 3 hours.Therefore when handover module notebook computer when said first system switches to second system; The user can accomplish the widespread usage program in said first system; Thereby on the basis of the service time that prolongs notebook computer; Can greatly reduce the power consumption of notebook computer, and then the system resource of having saved notebook computer.
With reference to figure 6, show the structured flowchart of the embodiment 2 of a kind of notebook computer of the present invention, in said notebook computer, there are first system and second system; Wherein, said first system is a main system, and the embedded type low-power consumption system that said second system is a notebook computer promptly is a mini system; In practical application, during notebook computer start work, acquiescence gets into said first system; First system is the main system of notebook computer, and in first system, notebook computer is in high performance state; CPU, internal memory, hard disk etc. are in high power consumption state, and in the time of first system works, second system is in dormant state.When current operational system was said first system, said notebook computer can comprise:
Acquisition module 601 is used to obtain the current capability value of cells in notebook computer, and said current capability value is used to judge whether said first system gets into said second system;
In reality; Acquisition module can be from embedded controller (Embedded Controller; EC) get access to the current capability value of cells in notebook computer in the chip, wherein, said chip can detect the information about power of notebook computer always in the course of work of notebook computer;
Calling module 602 is used to call first capacity threshold of cells in notebook computer, and said first capacity threshold is used to judge whether said first system gets into said second system;
First comparison sub-module 603 is used for the size of more said current capability value and said first capacity threshold;
First generates submodule 604, is used for when said current capability value during less than said first capacity threshold, and generation is in order to show that said first system need get into the object information of said second system;
In reality, the binary language that said object information can be discerned for computing machine for example can use 0 or 1 to identify different object informations; When said current capacity during, explain that the residue of cells in notebook computer is less relatively service time less than first capacity threshold;
Produce submodule 605, be used to produce an information, said information is used to point out the user that said first system is switched to said second system;
Second generates submodule 606, is used for when user's feedback information representes that said first system need get into said second system, generates one and switches and order.
Connexon module 607 is used for according to said switching command, and the display device with notebook computer is connected in said second system with basic input and output BIOS equipment respectively;
Load submodule 608, be used to load the relevant hardware driver, to accomplish switching from said first system to second system.
In the present embodiment; Said information to be compared is the current capability value of said cells in notebook computer; Said standard information is first capacity threshold of said battery; Acquisition module can obtain the current capability value of Notebook Battery from the inner EC chip of notebook computer, and by first come the comparison notebook computer than module than son the current residual electric weight whether greater than first capacity threshold, wherein first capacity threshold can be set to 10% of the total electric weight of notebook computer in reality; When dump energy during less than first capacity threshold; The current operational system of notebook computer is switched to second system by first system, thereby can on the basis of the system resource of saving notebook computer, save the system resource of notebook computer.
With reference to figure 7, show the process flow diagram of the embodiment 3 of a kind of notebook computer of the present invention, the system of said notebook computer comprises first system and second system, wherein; Said first system is a main system, and said second system is the low-power dissipation system of notebook computer, promptly is mini system; In practical application, during notebook computer start work, acquiescence gets into said first system; First system is the main system of notebook computer, and in first system, notebook computer is in high performance state; CPU, internal memory, hard disk etc. are in high power consumption state, and in the time of first system works, second system is in dormant state.Said notebook computer can comprise with lower module:
Acquisition module 701 is used to obtain the current capability value of cells in notebook computer, and said current capability value is used to judge whether said first system gets into said second system;
In reality; Acquisition module can be from embedded controller (Embedded Controller; EC) get access to the current capability value of cells in notebook computer in the chip, wherein, said chip can detect the information about power of notebook computer always in the course of work of notebook computer;
Calling module 702 is used to call first capacity threshold of cells in notebook computer, and said first capacity threshold is used to judge whether said first system gets into said second system;
Second comparison sub-module 703 is used for more said current capability value and said first capacity threshold;
The 3rd comparison sub-module 704 is used for when said current capability value during less than said first capacity threshold size of the more said current capability value and second capacity threshold;
The 3rd generates submodule 705, is used for when said current capability value during less than said second capacity threshold, and generation is in order to show that current operational system need be got into the object information of said second system by said first system;
Generation module 706 is used for when said object information representes that said first system need get into said second system, generating one and switching order;
Handover module 707 is used for according to said switching command said first system being switched to said second system and carries out;
Preserve module 708, be used for preserving the progress information that said first system is moving.
Preferably; In the present embodiment, can also the progress information that is moving in said first system be preserved, so just can restart notebook computer the user by said preservation module; When getting into said first system, continue the operation of various processes easily.
With reference to figure 8, show the structured flowchart of the embodiment 4 of a kind of notebook computer of the present invention, in said notebook computer, there are first system and second system; Wherein, said first system is a main system, and the embedded type low-power consumption system that said second system is a notebook computer promptly is a mini system; In practical application, during notebook computer start work, acquiescence gets into said first system; First system is the main system of notebook computer, and in first system, notebook computer is in high performance state; CPU, internal memory, hard disk etc. are in high power consumption state, and in the time of first system works, second system is in dormant state.When current operational system was said first system, said notebook computer can comprise with lower module:
Second judge module 801 is used to judge whether the current working procedure of notebook computer needs high performance state;
Execution module 802, be used for when the result of said second judge module when being, carry out the step of the system resource utilization rate of first system that obtains current operation, said system resource utilization rate is used to judge whether said first system gets into said second system;
Calling module 803, first of calling system resource is used threshold value, and said first uses threshold value to be used to judge whether said first system gets into said second system;
The 4th comparison sub-module 804, the utilization rate and first that is used for more said system resource is used the size of threshold value;
The 4th generates submodule 805, is used for when the result of said second comparison sub-module uses threshold value for said utilization rate less than first, generating in order to show that said first system need get into the object information of said second system;
Generation module 806 is used for when said object information representes that said first system need get into said second system, generating one and switching order;
Handover module 807 is used for according to said switching command said first system being switched to said second system.
Comparison module 808, the utilization rate and second that is used for second system resource of more said notebook computer is used the size of threshold value;
First recovers module 809, is used for when said utilization rate is used threshold value greater than second, and then first system that switches to of second system with the current operation of notebook computer carries out;
Perhaps said first recovers module also can be the second recovery module; Said second recovers module; When being used for the hardware resource when current working procedure needs first system of second system of notebook computer, second system recovery to the first system of the current operation of notebook computer is carried out.
With reference to figure 9, show the structured flowchart of the system of a kind of system resource of saving notebook computer of the present invention, said system can comprise first hardware system 901 and second hardware system 902, said first hardware system specifically can comprise:
Embedded controller 9011 is used for issuing switching command to general-purpose serial bus USB change-over switch and demonstration arbitration modules;
Show to be used for arbitration modules 9012, the display device of said notebook computer is switched to second hardware system from first hardware system of current operation according to said switching command;
USB change-over switch 9013 is used for according to said switching command, and the basic input-output device of said notebook computer is switched to second hardware system from first hardware system of current operation;
Said second hardware system specifically can comprise:
Video image formation VGA output interface 9021; Said VGA output interface is connected with the video format conversion module; When said second hardware system moves, be used for the input signal after the said video format conversion module converts is outputed to the display device of notebook computer;
Inner low speed bus interface 9022 is used for the switching command according to said embedded controller, to the low-power-consumption embedded processor transmitting system control bus SMBus of said second hardware system order, starts working to wake said second hardware system up.
Preferably, can also comprise in said second hardware system:
Video format conversion module 9023 when said second hardware system moves, is used for the LED image that LCDs can show that converts into rgb format.
Can find out that the system in the embodiment of the invention is actually a kind of commingled system, in reality; Can be integrated in the notebook computer, thereby can realize that by the switching of first hardware system to second hardware system, second hardware system is an embedded system; Power consumption is very low, therefore, and after the user switches to the use of second hardware system; Can obtain than continue using first hardware system longer battery service time, thereby save system resource.
Need to prove that each embodiment in this instructions all adopts the mode of going forward one by one to describe, what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For device type embodiment, because it is similar basically with method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
Need to prove; In this article; Relational terms such as first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint relation or the order that has any this reality between these entities or the operation.And; Term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability; Thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements; But also comprise other key elements of clearly not listing, or also be included as this process, method, article or equipment intrinsic key element.Under the situation that do not having much more more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises said key element and also have other identical element.
More than a kind of method and notebook computer of saving the system resource of notebook computer provided by the present invention carried out detailed introduction; Used concrete example among this paper principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (8)

1. method of saving the system resource of notebook computer, said method is applied to comprise in the notebook computer of first system and second system, wherein; Said first system is a main system; Said second system is an embedded system, and the power consumption of said second system is lower than the power consumption of said first system, it is characterized in that; When current operational system was said first system, said method comprised:
Obtain the information to be compared of said first system's relevant device, said information to be compared is used to judge whether said first system gets into said second system; Call one and be used to judge whether said first system gets into the standard information of said second system; Said information to be compared is the utilization rate of system resource, and said standard information is that first of system resource is used threshold value; Said information to be compared and said standard information are handled, to generate an object information; Be specially: the utilization rate of more said system resource and first is used threshold value, when said utilization rate is used threshold value less than said first, generates in order to show that said first system need get into the object information of said second system;
When said object information representes that said first system need get into said second system, generate one and switch order;
According to said switching command said first system being switched to said second system carries out;
The utilization rate of second system resource of more said notebook computer and second is used the size of threshold value;
When the utilization rate of said second system resource was used threshold value greater than second, then first system that switches to of second system with the current operation of said notebook computer carried out.
2. the method for claim 1 is characterized in that, saidly according to said switching command said first system is switched to after said second system, also comprises:
Preserve the progress information that is moving in said first system.
3. the method for claim 1 is characterized in that, before the information to be compared of the said first system's relevant device that obtains current operation, also comprises:
Whether the current working procedure of judging said notebook computer needs high performance state, when said current working procedure does not need high performance state, then carries out the step of the information to be compared of the first system's relevant device that obtains current operation.
4. notebook computer, the system of said notebook computer comprises first system and second system, wherein; Said first system is a main system, and said second system is the embedded system of notebook computer, and low in energy consumption than said first system; It is characterized in that said notebook computer comprises:
Acquisition module is used to obtain the information to be compared of said first system's relevant device, and said information to be compared is used to judge whether said first system gets into said second system; Said information to be compared is the utilization rate of system resource; Calling module is used to call one and judges whether said first system gets into the standard information of said second system; Said standard information is that first of system resource is used threshold value;
Processing module is used for said information to be compared and said standard information are handled, to generate an object information; Said processing module comprises: the 4th comparison sub-module, and the utilization rate and first that is used for more said system resource is used the size of threshold value; The 4th generates submodule, is used for when said utilization rate is used threshold value less than said first, generating in order to show that said first system need get into the object information of said second system;
Generation module is used for when said object information representes that said first system need get into said second system, generating one and switching order;
Handover module is used for according to said switching command said first system being switched to said second system and carries out;
Comparison module, the utilization rate and second that is used for second system resource of more said notebook computer is used the size of threshold value;
First recovers module, is used for when said utilization rate is used threshold value greater than second, with second system recovery to the first system execution of the current operation of said notebook computer.
5. notebook computer as claimed in claim 4 is characterized in that, also comprises:
Preserve module, be used for preserving the progress information that said first system is moving.
6. notebook computer as claimed in claim 4 is characterized in that, also comprises:
Second judge module is used to judge whether the current working procedure of said notebook computer needs high performance state;
Execution module, be used for when the result of said second judge module for not the time, carry out the step of the information to be compared of the first system's relevant device that obtains current operation.
7. notebook computer comprises: first hardware system and second hardware system, and said first hardware system comprises:
Embedded controller is used for issuing switching command to general-purpose serial bus USB change-over switch and demonstration arbitration modules;
Show arbitration modules, the method that is used for the system resource of saving notebook computer according to claim 1 produces said switching command, and the display device of said notebook computer is switched to second hardware system from first hardware system of current operation;
The USB change-over switch is used for according to said switching command, and the basic input-output device of said notebook computer is switched to second hardware system from first hardware system of current operation;
Said second hardware system comprises:
Video image formation VGA output interface, said VGA output interface is connected with the video format conversion module, when said second hardware system moves, is used for the input signal after the said video format conversion module converts is outputed to the display device of notebook computer;
Inner low speed bus interface is used for the switching command according to said embedded controller, to the low-power-consumption embedded processor transmitting system control bus SMBus of said second hardware system order, starts working to wake said second hardware system up.
8. notebook computer as claimed in claim 7 is characterized in that, said second hardware system also comprises:
The video format conversion module when said second hardware system moves, is used for the LED image that LCDs can show that converts into rgb format.
CN2008102234357A 2008-09-27 2008-09-27 Method of saving system resources of notebook computer and notebook computer Active CN101685338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102234357A CN101685338B (en) 2008-09-27 2008-09-27 Method of saving system resources of notebook computer and notebook computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102234357A CN101685338B (en) 2008-09-27 2008-09-27 Method of saving system resources of notebook computer and notebook computer

Publications (2)

Publication Number Publication Date
CN101685338A CN101685338A (en) 2010-03-31
CN101685338B true CN101685338B (en) 2012-08-22

Family

ID=42048519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102234357A Active CN101685338B (en) 2008-09-27 2008-09-27 Method of saving system resources of notebook computer and notebook computer

Country Status (1)

Country Link
CN (1) CN101685338B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102778943B (en) 2011-05-10 2016-07-06 联想(北京)有限公司 Condition control method, device and portable terminal device
CN102413246B (en) * 2011-11-29 2013-11-13 宇龙计算机通信科技(深圳)有限公司 Method for switching sharing application between multiple systems and mobile terminal
CN102929713A (en) * 2012-10-08 2013-02-13 清华大学 Loosely coupled heterogeneous multi-core processing system supporting parallelism of multiple operating systems
CN103220435B (en) * 2013-03-29 2016-06-01 北京智谷睿拓技术服务有限公司 The information output method of terminal and device
CN103455403B (en) * 2013-08-26 2016-03-30 百度在线网络技术(北京)有限公司 Method of testing and device
CN105302271A (en) * 2014-07-30 2016-02-03 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for reducing power consumption of user equipment
CN112130990B (en) * 2020-08-25 2022-05-10 珠海市一微半导体有限公司 Robot task operation method and system
CN112306213B (en) * 2020-11-02 2024-03-08 上海闻泰电子科技有限公司 Display card mode switching method and device based on terminal, storage medium and terminal
CN115080126A (en) * 2021-03-12 2022-09-20 Oppo广东移动通信有限公司 Switching method and device of shared hardware, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1752895A (en) * 2004-09-21 2006-03-29 Lg电子株式会社 Apparatus and method for controlling system operation based on battery state
CN1862449A (en) * 2005-05-14 2006-11-15 深圳市顶星数码网络技术有限公司 Method for protecting cells in notebook computer
CN101004631A (en) * 2006-01-20 2007-07-25 佛山市顺德区顺达电脑厂有限公司 Method for displaying awakening event of computer system in graphics context mode
CN101171564A (en) * 2005-05-11 2008-04-30 英特尔公司 Seamless transition of operating environments in mobile systems for power optimization

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1752895A (en) * 2004-09-21 2006-03-29 Lg电子株式会社 Apparatus and method for controlling system operation based on battery state
CN101171564A (en) * 2005-05-11 2008-04-30 英特尔公司 Seamless transition of operating environments in mobile systems for power optimization
CN1862449A (en) * 2005-05-14 2006-11-15 深圳市顶星数码网络技术有限公司 Method for protecting cells in notebook computer
CN101004631A (en) * 2006-01-20 2007-07-25 佛山市顺德区顺达电脑厂有限公司 Method for displaying awakening event of computer system in graphics context mode

Also Published As

Publication number Publication date
CN101685338A (en) 2010-03-31

Similar Documents

Publication Publication Date Title
CN101685338B (en) Method of saving system resources of notebook computer and notebook computer
US8479031B2 (en) System switching unit having a switch to switch on/off a channel for data interaction between a first system and the bus interface of a second system according to the operation state of the second system
CN102692991B (en) Coordinating performance parameters in multiple circuits
CN102789304B (en) Power management method and related device
CN102193765B (en) Display information updating device and method
GB2457171A (en) Control of power in an integrated circuit which has power domains having power islands
CN102566739A (en) Multicore processor system and dynamic power management method and control device thereof
CN105051704A (en) Electronic device
CN105446916B (en) USB bus state switching method and device
CN103076868B (en) The electronic system of method for managing power supply and application the method
JP2011014042A (en) Information processing apparatus, method for controlling power on the same, and computer executable program
CN103902322A (en) System switching method and electronic equipment
WO2006071944A2 (en) Method, apparatus and system to generate an interrupt by monitoring an external interface
CN103105920A (en) Energy-saving system and energy-saving method
CN102141920B (en) Method for dynamically configuring C-State and communication equipment
CN202939603U (en) Externally-arranged data processing device
CN101866212A (en) Multi-mode power source managing device and managing method
US9098259B1 (en) Secure digital input/output low-power mode
CN104076892A (en) Power supply management method and power supply management system
Culbert Low power hardware for a high performance PDA
Ashwini et al. Middleware for efficient power management in mobile devices
CN111897581B (en) Screen-off awakening method and device, storage medium and all-in-one machine equipment
CN104391564A (en) Power consumption control method and device
CN107590087B (en) Electronic equipment and hard disk access method of electronic equipment
CN113867963A (en) Electronic equipment and processing method

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