CN108710558A - Progress control method and device for computer - Google Patents

Progress control method and device for computer Download PDF

Info

Publication number
CN108710558A
CN108710558A CN201810449725.7A CN201810449725A CN108710558A CN 108710558 A CN108710558 A CN 108710558A CN 201810449725 A CN201810449725 A CN 201810449725A CN 108710558 A CN108710558 A CN 108710558A
Authority
CN
China
Prior art keywords
parameter
operating status
state
display card
independent display
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
CN201810449725.7A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810449725.7A priority Critical patent/CN108710558A/en
Publication of CN108710558A publication Critical patent/CN108710558A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3024Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Power Sources (AREA)

Abstract

The disclosure is directed to a kind of progress control methods and device for computer to avoid the wasting of resources to make full use of the fan cooling ability of computer.The method includes:Detect the operating status of the independent display card of computer;According to the correspondence of above-mentioned operating status and operating status and performance parameter, the performance parameter of the CPU of computer is adjusted so that CPU is run according to the performance parameter control computer after adjustment.Disclosed technique scheme can make full use of the fan cooling ability of computer, avoid the wasting of resources.

Description

Progress control method and device for computer
Technical field
This disclosure relates to technical field of electronic equipment more particularly to a kind of progress control method and dress for computer It sets.
Background technology
In the related technology, some computers, for example, solely showing laptop, fan cooling ability is fixed, for meter The heat power consumption of calculation machine central processing unit (Central Processing Unit, referred to as CPU) and the independent display card of computer The sum of heat power consumption.However, computer can not make full use of fan cooling ability sometimes, result in waste of resources.For example, when independent When video card does not work, the heat-sinking capability of fan is rich, and this results in the wastings of resources.
Invention content
To overcome the problems in correlation technique, the embodiment of the present disclosure provides a kind of operation controlling party for computer Method and device avoid the wasting of resources to make full use of the fan cooling ability of computer.
According to the first aspect of the embodiments of the present disclosure, a kind of progress control method for computer is provided, including:
Detect the operating status of the independent display card of computer;
According to the correspondence of the operating status and operating status and performance parameter, the center of the computer is adjusted The performance parameter of processor CPU so that the CPU controls the computer according to the performance parameter after adjustment and runs.
In one embodiment, the operating status of the independent display card of the detection computer, it may include:
Detect the state parameter of the independent display card;
The operating status of the independent display card is determined according to the state parameter.
In one embodiment, the state parameter can be temperature parameter or current parameters.
In one embodiment, the operating status that the independent display card is determined according to the state parameter, it may include:
When the state parameter is within a preset period of time sky, determine that the operating status is in off state;
When the state parameter is respectively less than predetermined threshold value in the preset time period, determine that the operating status is sky Not busy state;
When the state parameter is all higher than in the preset time period or is equal to predetermined threshold value, the operation shape is determined State is in working condition.
In one embodiment, the state parameter is the power supply parameter of the power supply of the independent display card;
The operating status that the independent display card is determined according to the state parameter, including:
When determining that no power supply is independent display card power supply according to the power supply parameter, the operation shape is determined State is in off state;
When being powered for the independent display card there are the power supply of the first number according to power supply parameter determination, determine The operating status is idle state;
When being powered for the independent display card there are the power supply of the second number according to power supply parameter determination, determine The operating status is in working condition;Wherein, second number is more than first number.
In one embodiment, the correspondence according to the operating status and operating status and performance parameter, The performance parameter of the central processor CPU of the computer is adjusted, including:
When the operating status is in off state or when idle state, the performance parameter is adjusted to first performance ginseng Number;The power consumption of CPU CPU when being run according to computer described in the first performance state modulator is the first power consumption;
When the operating status is in working condition, the power consumption parameter is adjusted to the second performance parameter;Wherein, described The power consumption of CPU CPU when being run according to computer described in the second performance state modulator is the second power consumption;Second work( Consumption is less than first power consumption.
According to the second aspect of the embodiment of the present disclosure, a kind of operating control device for computer, described device are provided It may include:
Detection module is configured as the operating status of the independent display card of detection computer;
Module is adjusted, the correspondence according to the operating status and operating status and performance parameter is configured as, is adjusted The performance parameter of the central processor CPU of the whole computer so that the CPU is according to described in the performance parameter control after adjustment Computer is run.
In one embodiment, the detection module, it may include:
Detection sub-module is configured as detecting the state parameter of the independent display card;
First determination sub-module is configured as determining the operating status of the independent display card according to the state parameter.
In one embodiment, the state parameter can be temperature parameter or current parameters.
In one embodiment, first determination sub-module may include:
Second determination sub-module is configured as when the state parameter is within a preset period of time sky, described in determination Operating status is in off state;
Third determination sub-module is configured as being respectively less than predetermined threshold value in the preset time period in the state parameter When, determine that the operating status is idle state;
4th determination sub-module is configured as being all higher than in the preset time period in the state parameter or equal to pre- If when threshold value, determining that the operating status is in working condition.
In one embodiment, the state parameter is the power supply parameter of the power supply of the independent display card;Described One determination sub-module may include:
5th determination sub-module is configured as determining that no power supply is aobvious for the independence according to the power supply parameter When card power supply, determine that the operating status is in off state;
6th determination sub-module is configured as determining that there are the power supplies of the first number to be according to the power supply parameter When the independent display card power supply, determine that the operating status is idle state;
7th determination sub-module is configured as determining that there are the power supplies of the second number to be according to the power supply parameter When the independent display card power supply, determine that the operating status is in working condition;Wherein, second number is more than described first and counts Mesh.
In one embodiment, the adjustment module, it may include:
The first adjustment submodule, is configured as being in off state in the operating status or when idle state, by the property Energy parameter adjustment is first performance parameter;Described in when the CPU is run according to computer described in the first performance state modulator The power consumption of CPU is the first power consumption;
Second adjustment submodule is configured as, when the operating status is in working condition, the power consumption parameter being adjusted For the second performance parameter;Wherein, the CPU when CPU is run according to computer described in the second performance state modulator Power consumption is the second power consumption;Second power consumption is less than first power consumption.
According to the third aspect of the embodiment of the present disclosure, a kind of operating control device for computer is provided, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as executing:Method described in above-mentioned first aspect.
According to the fourth aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, is stored thereon with calculating Machine program, the computer program realize the method described in above-mentioned first aspect when being executed by processor.
The technical scheme provided by this disclosed embodiment can include the following benefits:By the independence for detecting computer The operating status of video card, and adjust CPU's according to the correspondence of determining operating status and operating status and performance parameter Performance parameter so that CPU is run according to the performance parameter control computer after adjustment.Wherein, independent display card is in different fortune Power consumption is different when row state, and the power consumption of CPU is different when CPU is run according to different performance state modulator computer.In this way, according to only The performance parameter of the operating status adjustment CPU of vertical video card, may be implemented the power consumption for adjusting CPU according to the power consumption of independent display card, has Conducive to the fan cooling ability of computer is made full use of, the wasting of resources is avoided.Meanwhile it being adjusted according to the operating status of independent display card The reasonable distribution of resource may be implemented in the performance of CPU.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the present invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the flow chart according to the progress control method for computer shown in an exemplary embodiment.
Fig. 2 is the flow chart of the progress control method for computer shown according to another exemplary embodiment.
Fig. 3 is a kind of block diagram of operating control device for computer shown according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of the operating control device for computer shown according to another exemplary embodiment.
Fig. 5 is a kind of block diagram of the operating control device for computer shown according to another exemplary embodiment.
Fig. 6 is a kind of block diagram of the operating control device for computer shown according to another exemplary embodiment.
Fig. 7 is a kind of block diagram of the operating control device for computer shown according to another exemplary embodiment.
Fig. 8 is a kind of block diagram of operating control device for computer shown according to an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects being described in detail in claims, of the invention.
In an exemplary application scene, heat power consumption that solely the fan cooling ability of aobvious laptop is CPU (can be with Under may be simply referred to as " power consumption ") with the sum of the heat power consumption of independent display card.It is, solely the heat power consumption of the CPU of aobvious laptop with The heat power consumption of independent display card is fixed respectively, and when independent display card does not work, the heat-sinking capability of fan is rich, is caused in this way The wasting of resources.
For the above technical issues, the embodiment of the present disclosure provides a kind of progress control method and dress for computer It sets, the fan cooling ability of computer can be made full use of, avoid the wasting of resources.
Fig. 1 is according to the flow chart of the progress control method for computer shown in an exemplary embodiment, this is used for The progress control method of computer can be applied to the computer (such as solely aobvious laptop) for having independent display card.Such as Fig. 1 Shown, which includes the following steps S101~S102:
In step S101, the operating status of the independent display card of computer is detected.
In one embodiment, the operating status of independent display card includes closed state, idle state and working condition.Solely Power consumption is different when vertical video card is in different operating statuses, for example, power dissipation ratio is in work when independent display card is in idle condition It is small when state.
It in one embodiment, can be and true according to the state parameter of detection by detecting the state parameter of independent display card Determine the operating status of independent display card.In one exemplary embodiment, computer can be by the BIOS (Basic that configure Input Output System, basic input output system) or EC (Embed Controller, embedded controller) inspections Survey the state parameter of independent display card.
In one embodiment, state parameter can be temperature parameter or current parameters.When the state parameter is when default Between when being sky in section, it may be determined that the operating status of independent display card is in off state.Wherein, independent display card is closed When independent display card do not run, therefore, even if performing the action for detecting the state parameter, but can not detect state join Number, therefore, sky is denoted as by state parameter.So state parameter, which is empty expression, is not detected state parameter, when state parameter is sky When can determine that the operating status of independent display card is in off state.When the state parameter is respectively less than in the preset time period When predetermined threshold value, it may be determined that the operating status of independent display card is idle state.When the state parameter is in the preset time When being all higher than in section or being equal to predetermined threshold value, it may be determined that the operating status of independent display card is in working condition.
In one exemplary embodiment, above-mentioned state parameter can be detected according to predetermined period, in preset time period It is interior to obtain multiple status parameter values.When multiple status parameter values are sky in preset time period, it may be determined that independent aobvious The operating status of card is in off state.When multiple status parameter values are respectively less than predetermined threshold value in preset time period, it may be determined that The operating status of independent display card is idle state.When multiple status parameter values are all higher than or are equal to predetermined threshold value in preset time period When, it may be determined that the operating status of independent display card is in working condition.
In one exemplary embodiment, the state parameter of independent display card can be the temperature parameter of independent display card.It is independent The temperature sensor that the temperature parameter of video card can be configured by independent display card obtains.Predetermined threshold value can be 35-60 DEG C, such as 45℃.The duration of preset time period can be -30 seconds 1 second, such as 4 seconds.Computer can be obtained solely by EC with predetermined period The temperature value of the temperature sensor detection of vertical video card configuration, as above-mentioned temperature parameter.Wherein, predetermined period can be 5- 500ms, such as 15ms.For example, EC can obtain a temperature value with each predetermined period 15ms, when in preset time period When the temperature value obtained in 4 seconds durations is respectively less than 45 DEG C of preset temperature threshold, it may be determined that the operating status of independent display card is Idle state;When the temperature value obtained in 4 seconds durations is all higher than or when equal to 45 DEG C of preset temperature threshold, it may be determined that The operating status of independent display card is in working condition;When the temperature parameter obtained in 4 seconds durations is sky, that is, it can't detect temperature When angle value, it may be determined that the operating status of independent display card is in off state.Certainly, the specific number that the embodiment of the present disclosure is enumerated is simultaneously It cannot function as the limitation of the embodiment of the present disclosure.
In another exemplary embodiment, the state parameter of independent display card can be current parameters, which can Think the total consumption electric current of independent display card, can be detected and be obtained by current sensor, it specifically, can be independent by detecting Electric current on the power supply circuit of video card obtains above-mentioned current parameters.The operating status of independent display card is determined according to current parameters Method determines that the method for the operating status of independent display card is similar to according to temperature parameter, and details are not described herein.
In another exemplary embodiment, the state parameter of independent display card can be the confession of the power supply of independent display card Electrical parameter, the power supply parameter can carry the information of the number for the power supply powered for independent display card.Wherein, in power supply parameter The number of the power supply of carrying is to provide the power supply of electric energy to independent display card when detecting the state parameter of independent display card The number of power supply, the number without the power supply for not providing electric energy to independent display card at this time to be included in power supply.It is independent The number of power supply is different when video card is in different operating statuses.In one exemplary embodiment, it will can each supply Power supply is electrically connected with EC, independent display card simultaneously.EC can be by detecting the power supply circuit between power supply and independent display card Whether it is access to detect whether power supply is independent display card power supply.Certainly, EC can also detect power supply by other means Whether power supply is independent display card power supply.
Illustratively, when independent display card is in running order, power supply+NVVDDS/+NVVDD (independent display card core electricity Source) ,+FBVDDQ_MEM power supply of video memory operating voltage (provide) ,+1.0V_GPU (power supply that video card 1.0V voltages are provided) ,+ 1.8V_GPU_AON (provide video card 1.8V often in the power supply of voltage) ,+1.8V_GPU (power supply that video card 1.8V voltages are provided) with And it the+PEX_VDD power supply of video card 1.0V voltages (provide) while powering for independent display card.In the present embodiment, for the ease of Illustrate ,+NVVDDS ,+FBVDDQ_MEM ,+1.0V_GPU ,+1.8V_GPU_AON ,+1.8V_GPU ,+PEX_VDD are corresponding respectively to be compiled Number 01,02,03,04,05,06.When independent display card is in idle condition, power supply 02,04 is powered for independent display card simultaneously, Power supply 01,03,05,06 is not powered.When independent display card is closed, power supply 01-06 is not independent aobvious Card power supply.When detecting power supply parameter, EC can first detect whether power supply 01,03,05,06 is independent display card power supply.When When power supply 01-06 is that independent display card is powered, determine that power supply parameter is 6.When power supply 01,03,05,06 is not independent aobvious When card power supply, then detect whether power supply 02,04 is independent display card power supply, when power supply 02,04 is independent display card simultaneously It when power supply, determines that power supply parameter is 2, when power supply 01-06 is not independent display card power supply, determines that power supply parameter is 0.When So, in practical applications, other modes may be used and obtain power supply parameter, the mode of embodiment of the present disclosure offer is provided.
In exemplary embodiments mentioned above, when the power supply parameter indicates that no power supply supplies for the independent display card When electric, it may be determined that the operating status of independent display card is in off state.It is determined there are the first number when according to the power supply parameter, Such as 2, power supply be the independent display card power when, determine independent display card operating status be idle state.Work as root According to the power supply parameter determine exist the second number, such as 6, power supply be the independent display card power when, determine solely The operating status of vertical video card is in working condition;Wherein, second number is more than first number.
In one exemplary embodiment, it is independent aobvious there is no power supply when independent display card is closed Card power supply, when independent display card is in idle condition, there are 2 power supplies to power simultaneously for independent display card, works as independent display card When in running order, there are 6 power supplies to power simultaneously for independent display card.When power supply parameter indicates that no power supply is When the independent display card power supply, it may be determined that the operating status of independent display card is in off state.When power supply parameter instruction is deposited When 2 power supplies are that the independent display card is powered, determine that the operating status of independent display card is idle state.When the power supply When parameter instruction is powered there are 6 power supplies for the independent display card, determine that the operating status of independent display card is in working condition.
In step s 102, according to the correspondence of the operating status and operating status and performance parameter, institute is adjusted State the performance parameter of the central processor CPU of computer so that the CPU controls the calculating according to the performance parameter after adjustment Machine is run.
In one embodiment, when the operating status is in off state or idle state, by the performance parameter tune Whole is first performance parameter;When the operating status is in working condition, the power consumption parameter is adjusted to the second performance parameter. Wherein, the power consumption of the CPU is the first power consumption when the CPU is run according to computer described in the first performance state modulator, The power consumption of CPU CPU when being run according to computer described in the second performance state modulator is the second power consumption;Described Two power consumptions are less than first power consumption.
In one exemplary embodiment, the performance parameter of CPU can be power consumption parameter, the work(of the power consumption parameter and CPU Consume positive correlation.For example, power consumption parameter is bigger, the power consumption of CPU is bigger.In one exemplary embodiment, for the CPU of Intel For, power consumption parameter can be power limit (power consumption limit).
Table 1
Operating status Performance parameter
Closed state First power consumption parameter
Idle state First power consumption parameter
Working condition Second power consumption parameter
In one embodiment, operating status can be as shown in table 1 with the correspondence of power consumption energy parameter.It is independent when determining After the operating status of video card, corresponding power consumption energy parameter can be obtained according to operating status inquiry table 1.Wherein, when the operation State is in off state or when idle state, and the power consumption parameter is adjusted to the first power consumption parameter.When the operating status is When working condition, the power consumption parameter is adjusted to the second power consumption parameter;Wherein, the first power consumption parameter and the second power consumption parameter are equal For according to the pre-set parameter of the heat-sinking capability of the fan of computer, and the first power consumption parameter is joined more than second power consumption Number.
In one exemplary embodiment, the first power consumption parameter can be 25 watts, and the second power consumption parameter can be 15 watts.Also It is that, when independent display card is in working condition with CPU, the power consumption of CPU is 15 watts, the heat-sinking capability of fan is enough will be independent aobvious Card is dispersed with the CPU heats generated.When independent display card is closed or when idle state, the power consumption of CPU is 25 watts.Also It is, when independent display card is closed or when idle state, even if the power consumption of CPU is increased to 25 watts, the heat-sinking capability of fan Also it is enough to disperse the heat that CPU is generated.In this way, when independent display card does not work or energy consumption is relatively low, it can be according to fan richness Abundant heat-sinking capability is turned up by the power consumption of CPU, improves the computing capability of CPU, improves resource utilization, and avoids resource wave Take.
In the present embodiment, by detecting the operating status of the independent display card of computer, and according to determining operating status And the performance parameter of the correspondence of operating status and performance parameter adjustment CPU so that CPU is according to the performance parameter after adjustment Control computer is run.Wherein, power consumption is different when independent display card is in different operating statuses, and CPU is according to different performance parameter The power consumption of CPU is different when control computer is run.In this way, the performance parameter of CPU is adjusted according to the operating status of independent display card, it can To realize the power consumption for adjusting CPU according to the power consumption of independent display card, is conducive to the fan cooling ability for making full use of computer, avoids The wasting of resources.Meanwhile the performance of CPU is adjusted according to the operating status of independent display card, the reasonable distribution of resource may be implemented.
Fig. 2 is the flow chart of the progress control method for computer shown according to another exemplary embodiment.This reality It applies in example, is introduced so that state parameter is temperature parameter as an example, as shown in Fig. 2, being used for the operation of computer in the present embodiment Control method includes the following steps S201~S203:
In step s 201, the temperature parameter of independent display card is obtained.
In step S202, when the temperature parameter is within a preset period of time sky, determine that the operating status is Closed state;When the temperature parameter is respectively less than predetermined threshold value in the preset time period, determine that the operating status is Idle state;When the temperature parameter is all higher than in the preset time period or is equal to predetermined threshold value, the operation is determined State is in working condition.
In step S203, when the operating status is in off state or when idle state, the power consumption parameter is adjusted For the first power consumption parameter;When the operating status is in working condition, the power consumption parameter is adjusted to the second power consumption parameter;Its In, the first power consumption parameter is more than second power consumption parameter.
In the present embodiment, computer (such as solely aobvious laptop) can obtain the temperature of independent display card configuration by EC The temperature value of sensor detection is spent as temperature parameter.Computer can determine the independence by EC according to the temperature parameter The operating status of video card, and joined according to the performance of the correspondence of operating status and operating status and performance parameter adjustment CPU Number.
In one exemplary embodiment, predetermined threshold value can be 35-60 DEG C, such as 45 DEG C.The duration of preset time period It can be -30 seconds 1 second, such as 4 seconds.Computer can obtain the temperature sensor of independent display card configuration by EC with predetermined period The temperature value of detection, as above-mentioned temperature parameter.Wherein, predetermined period can be 5-500ms, such as 15ms.For example, EC can obtain a temperature value with each predetermined period 15ms, when the temperature value obtained in 4 seconds durations of preset time period Respectively less than 45 DEG C of preset temperature threshold when, it may be determined that the operating status of independent display card is idle state;When in 4 seconds durations The temperature value of acquisition is all higher than or when equal to 45 DEG C of preset temperature threshold, it may be determined that the operating status of independent display card is work State.When in 4 seconds durations temperature parameter be sky, that is, when can't detect temperature value, it may be determined that the operation shape of independent display card State is in off state.Certainly, the specific number that the embodiment of the present disclosure is enumerated can not be as the limitation of the embodiment of the present disclosure.
Continue exemplary embodiments mentioned above, computer uses the CPU of Intel, when the operating status of independent display card is to close When closed state or idle state, corresponding power limit can be 25 watts, when the operating status of independent display card is in working condition When, corresponding power limit can be 15 watts.It is, when independent display card and CPU are in working condition, the power consumption of CPU It it is 15 watts, the heat-sinking capability of fan is enough to disperse independent display card and the CPU heats generated.When independent display card is closed Or when idle state, the power consumption of CPU is 25 watts.It is, when independent display card is closed or when idle state, even if The power consumption of CPU is increased to 25 watts, and the heat-sinking capability of fan is also enough to disperse the heat that CPU is generated.
Continue exemplary embodiments mentioned above, when EC determines that the operating status of independent display card is according to the temperature parameter of acquisition When closed state or idle state, power limit are adjusted to 25 watts, in this way, when user does not use independent display card It waits, better cpu performance can be obtained.When EC determines that the operating status of independent display card is work shape according to the temperature parameter of acquisition When state, power limit are adjusted to 15 watts, in this way, when user needs 3D operations (to need independent display card work to realize preferable Display effect) when, the normal mode that CPU restores to dynamic again, the operational capability of independent display card has also obtained normally It plays.Moreover, in the present embodiment, it can realize dynamic adjustment cpu performance with adjust automatically CPU parameters, improve resource to greatest extent Utilization rate avoids the wasting of resources.
In the present embodiment, the temperature of independent display card can be obtained using the temperature sensor that independent display card itself has Parameter, and determine according to temperature parameter the operating status of independent display card, in this way, can be the case where not increasing any hardware cost Lower adjustment CPU parameters can also be saved into making full use of the fan cooling ability of computer while avoiding the wasting of resources This.
Fig. 3 is the block diagram according to the operating control device for computer shown in an exemplary embodiment.Such as Fig. 3 institutes Show, the operating control device for computer that the embodiment of the present disclosure provides, including:
Detection module 31 is configured as the operating status of the independent display card of detection computer;
Module 32 is adjusted, the correspondence according to the operating status and operating status and performance parameter is configured as, Adjust the performance parameter of the central processor CPU of the computer so that the CPU controls institute according to the performance parameter after adjustment State computer operation.
Fig. 4 is the block diagram of the operating control device for computer shown according to another exemplary embodiment.The inspection Module 31 is surveyed, including:
Detection sub-module 311 is configured as detecting the state parameter of the independent display card;
First determination sub-module 312 is configured as determining the operating status of the independent display card according to the state parameter.
Fig. 5 is the block diagram of the operating control device for computer shown according to another exemplary embodiment.This implementation In example, the state parameter is temperature parameter or current parameters.As shown in figure 5, first determination sub-module 312 includes:
Second determination sub-module 3121 is configured as when the state parameter is within a preset period of time sky, is determined The operating status is in off state;
Third determination sub-module 3122 is configured as being respectively less than in the preset time period in the state parameter default When threshold value, determine that the operating status is idle state;
4th determination sub-module 3123 is configured as being all higher than or waiting in the preset time period in the state parameter When predetermined threshold value, determine that the operating status is in working condition.
Fig. 6 is the block diagram of the operating control device for computer shown according to another exemplary embodiment.This implementation In example, the state parameter is the power supply parameter of the power supply of the independent display card.As shown in fig. 6, described first determines son Module 312 includes:
5th determination sub-module 3124 is configured as determining that no power supply is described only according to the power supply parameter When vertical video card power supply, determine that the operating status is in off state;
6th determination sub-module 3125 is configured as determining that there are the power supply of the first number electricity according to the power supply parameter When source is that the independent display card is powered, determine that the operating status is idle state;
7th determination sub-module 3126 is configured as determining that there are the power supply of the second number electricity according to the power supply parameter When source is that the independent display card is powered, determine that the operating status is in working condition;Wherein, second number is more than described the One number.
Fig. 7 is the block diagram of the operating control device for computer shown according to another exemplary embodiment.This implementation In example, as shown in fig. 7, the adjustment module 32, including:
The first adjustment submodule 321, is configured as being in off state in the operating status or when idle state, will be described Performance parameter is adjusted to first performance parameter;The CPU is according to computer operation when institute described in the first performance state modulator The power consumption for stating CPU is the first power consumption;
Second adjustment submodule 322 is configured as when the operating status is in working condition, by the power consumption parameter tune Whole is the second performance parameter;Wherein, the CPU when CPU is run according to computer described in the second performance state modulator Power consumption be the second power consumption;Second power consumption is less than first power consumption.
About the device in above-described embodiment, wherein processor executes the concrete mode of operation in related this method It is described in detail in embodiment, explanation will be not set forth in detail herein.
Fig. 8 is a kind of block diagram of operating control device for computer shown according to an exemplary embodiment.For example, Device 800 can be computer (such as solely aobvious laptop), game console, tablet device, personal digital assistant etc..
With reference to Fig. 8, device 800 may include following one or more components:Processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and Communication component 816.
The integrated operation of 802 usual control device 800 of processing component such as operates phase with display, data communication, and record Associated operation.Processing element 802 may include one or more processors 820 to execute instruction, to complete above-mentioned method All or part of step.In addition, processing component 802 may include one or more modules, convenient for processing component 802 and other Interaction between component.For example, processing component 802 may include multi-media module, to facilitate multimedia component 808 and processing group Interaction between part 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown Example includes the instruction for any application program or method that are operated on device 800, picture, video etc..Memory 804 can be with It is realized by any kind of volatibility or non-volatile memory device or combination thereof, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM) may be programmed Read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of device 800.Electric power assembly 806 may include power management system System, one or more power supplys and other generated with for device 800, management and the associated component of distribution electric power.
Multimedia component 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When equipment 800 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In some embodiments, audio component 810 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor module 814 can detect the state that opens/closes of equipment 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800 Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application application-specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (14)

1. a kind of progress control method for computer, which is characterized in that the method includes:
Detect the operating status of the independent display card of computer;
According to the correspondence of the operating status and operating status and performance parameter, the central processing of the computer is adjusted The performance parameter of device CPU so that the CPU controls the computer according to the performance parameter after adjustment and runs.
2. according to the method described in claim 1, it is characterized in that, it is described detection computer independent display card operating status, Including:
Detect the state parameter of the independent display card;
The operating status of the independent display card is determined according to the state parameter.
3. according to the method described in claim 2, it is characterized in that, the state parameter is temperature parameter or current parameters.
4. according to the method described in claim 3, it is characterized in that, described determine the independent display card according to the state parameter Operating status, including:
When the state parameter is within a preset period of time sky, determine that the operating status is in off state;
When the state parameter is respectively less than predetermined threshold value in the preset time period, determine that the operating status is idle shape State;
When the state parameter is all higher than in the preset time period or is equal to predetermined threshold value, determine that the operating status is Working condition.
5. according to the method described in claim 2, it is characterized in that, the state parameter is the power supply of the independent display card Power supply parameter;
The operating status that the independent display card is determined according to the state parameter, including:
When determining that no power supply is independent display card power supply according to the power supply parameter, determine that the operating status is Closed state;
When being powered for the independent display card there are the power supply of the first number according to power supply parameter determination, described in determination Operating status is idle state;
When being powered for the independent display card there are the power supply of the second number according to power supply parameter determination, described in determination Operating status is in working condition;Wherein, second number is more than first number.
6. according to the method described in claim 1, it is characterized in that, described according to the operating status and operating status and property The correspondence of energy parameter, adjusts the performance parameter of the central processor CPU of the computer, including:
When the operating status is in off state or when idle state, the performance parameter is adjusted to first performance parameter;Institute The power consumption for stating CPU when CPU is run according to computer described in the first performance state modulator is the first power consumption;
When the operating status is in working condition, the power consumption parameter is adjusted to the second performance parameter;Wherein, the CPU The power consumption of the CPU is the second power consumption when being run according to computer described in the second performance state modulator;Second power consumption Less than first power consumption.
7. a kind of operating control device for computer, which is characterized in that described device includes:
Detection module is configured as the operating status of the independent display card of detection computer;
Module is adjusted, the correspondence according to the operating status and operating status and performance parameter is configured as, adjusts institute State the performance parameter of the central processor CPU of computer so that the CPU controls the calculating according to the performance parameter after adjustment Machine is run.
8. device according to claim 7, which is characterized in that the detection module, including:
Detection sub-module is configured as detecting the state parameter of the independent display card;
First determination sub-module is configured as determining the operating status of the independent display card according to the state parameter.
9. device according to claim 8, which is characterized in that the state parameter is temperature parameter or current parameters.
10. device according to claim 9, which is characterized in that first determination sub-module includes:
Second determination sub-module is configured as, when the state parameter is within a preset period of time sky, determining the operation State is in off state;
Third determination sub-module, when being configured as being respectively less than predetermined threshold value in the preset time period in the state parameter, Determine that the operating status is idle state;
4th determination sub-module is configured as being all higher than in the preset time period in the state parameter or equal to default threshold When value, determine that the operating status is in working condition.
11. device according to claim 8, which is characterized in that the state parameter is the power supply electricity of the independent display card The power supply parameter in source;First determination sub-module includes:
5th determination sub-module is configured as determining that no power supply supplies for the independent display card according to the power supply parameter When electric, determine that the operating status is in off state;
6th determination sub-module is configured as determining there are the power supply of the first number to be described according to the power supply parameter When independent display card is powered, determine that the operating status is idle state;
7th determination sub-module is configured as determining there are the power supply of the second number to be described according to the power supply parameter When independent display card is powered, determine that the operating status is in working condition;Wherein, second number is more than first number.
12. device according to claim 7, which is characterized in that the adjustment module, including:
The first adjustment submodule is configured as being in off state in the operating status or when idle state, the performance is joined Number is adjusted to first performance parameter;CPU CPU when being run according to computer described in the first performance state modulator Power consumption is the first power consumption;
Second adjustment submodule is configured as when the operating status is in working condition, and the power consumption parameter is adjusted to Two performance parameters;Wherein, the power consumption of the CPU when CPU is run according to computer described in the second performance state modulator For the second power consumption;Second power consumption is less than first power consumption.
13. a kind of operating control device for computer, which is characterized in that described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as perform claim and requires 1 to 6 any one of them method.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Claim 1 to 6 any one of them method is realized when being executed by processor.
CN201810449725.7A 2018-05-11 2018-05-11 Progress control method and device for computer Pending CN108710558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810449725.7A CN108710558A (en) 2018-05-11 2018-05-11 Progress control method and device for computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810449725.7A CN108710558A (en) 2018-05-11 2018-05-11 Progress control method and device for computer

Publications (1)

Publication Number Publication Date
CN108710558A true CN108710558A (en) 2018-10-26

Family

ID=63868957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810449725.7A Pending CN108710558A (en) 2018-05-11 2018-05-11 Progress control method and device for computer

Country Status (1)

Country Link
CN (1) CN108710558A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116737488A (en) * 2022-10-26 2023-09-12 荣耀终端有限公司 Parameter monitoring method and electronic equipment
WO2024098975A1 (en) * 2022-11-10 2024-05-16 荣耀终端有限公司 Power consumption control method and related apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8060761B2 (en) * 2007-10-16 2011-11-15 Asustek Computer Inc. Electrical power sharing circuit has control unit for controlling performance of CPU and GPU based on a reference value
US8700925B2 (en) * 2009-09-01 2014-04-15 Nvidia Corporation Regulating power using a fuzzy logic control system
US8826048B2 (en) * 2009-09-01 2014-09-02 Nvidia Corporation Regulating power within a shared budget
CN105116993A (en) * 2015-09-29 2015-12-02 深圳微步信息股份有限公司 Temperature detection circuit and computer main board circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8060761B2 (en) * 2007-10-16 2011-11-15 Asustek Computer Inc. Electrical power sharing circuit has control unit for controlling performance of CPU and GPU based on a reference value
US8700925B2 (en) * 2009-09-01 2014-04-15 Nvidia Corporation Regulating power using a fuzzy logic control system
US8826048B2 (en) * 2009-09-01 2014-09-02 Nvidia Corporation Regulating power within a shared budget
CN105116993A (en) * 2015-09-29 2015-12-02 深圳微步信息股份有限公司 Temperature detection circuit and computer main board circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116737488A (en) * 2022-10-26 2023-09-12 荣耀终端有限公司 Parameter monitoring method and electronic equipment
CN116737488B (en) * 2022-10-26 2024-05-17 荣耀终端有限公司 Parameter monitoring method and electronic equipment
WO2024098975A1 (en) * 2022-11-10 2024-05-16 荣耀终端有限公司 Power consumption control method and related apparatus

Similar Documents

Publication Publication Date Title
KR101837333B1 (en) Method and apparatus for awakening electronic device
CN105850115B (en) Electronic equipment and its control method
CN105528055B (en) Run the processing method and processing device of object
CN107407951B (en) Electronic device and battery information providing method thereof
CN104578372B (en) The method and device of control terminal equipment charge
KR102151135B1 (en) Method for managing power and electronic device thereof
CN105282430A (en) Electronic device using composition information of picture and shooting method using the same
WO2018129991A1 (en) Charging method, charging device and terminal
US10448338B2 (en) Adaptive sleep delay
EP2922212A2 (en) Method, apparatus and system for controlling emission
CN108631401A (en) Charging circuit, method, electronic equipment and storage medium
CN110225167B (en) Terminal and processing method
CN105807894B (en) Using the treating method and apparatus for holding lock
CN106532876B (en) Power supply control method and device and computer equipment
CN103944991A (en) Method and device for controlling data synchronization
CN105426069A (en) Method And Apparatus For Generating Preview Data
CN110930964B (en) Display screen brightness adjusting method and device, storage medium and terminal
CN108710558A (en) Progress control method and device for computer
KR20150086932A (en) Method for processing data and an electronic device thereof
TW201516635A (en) Charging method and mobile electronic device
CN110708747A (en) Data transmission rate adjusting method, system, storage medium and mobile terminal
JP2019537116A (en) Method of adjusting screen-on period of terminal and terminal
CN106451670B (en) A kind of charge control method, device and terminal device
CN106557403B (en) TPE test method, device and equipment
CN105159434A (en) Time display method, device and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination