CN109117261A - A kind of control method and electronic equipment - Google Patents

A kind of control method and electronic equipment Download PDF

Info

Publication number
CN109117261A
CN109117261A CN201811162746.7A CN201811162746A CN109117261A CN 109117261 A CN109117261 A CN 109117261A CN 201811162746 A CN201811162746 A CN 201811162746A CN 109117261 A CN109117261 A CN 109117261A
Authority
CN
China
Prior art keywords
electronic equipment
noise
processor
environment
environmental
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811162746.7A
Other languages
Chinese (zh)
Other versions
CN109117261B (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 CN201811162746.7A priority Critical patent/CN109117261B/en
Publication of CN109117261A publication Critical patent/CN109117261A/en
Application granted granted Critical
Publication of CN109117261B publication Critical patent/CN109117261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • 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)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)

Abstract

This application provides a kind of control method and electronic equipment, one of control method includes: to obtain the environmental parameter of electronic equipment local environment;Obtain the load of the processor of the electronic equipment;If the environmental parameter shows that the electronic equipment is in lower noise environment, and the load is less than default load, controls the electronic equipment and enters environmental noise adaptive model;To realize that the environmental noise of electronic equipment is adaptive, user experience is improved.

Description

A kind of control method and electronic equipment
Technical field
This application involves automatic control technology field, more particularly to a kind of control method and electronic equipment.
Background technique
Currently, many electronic equipments can generate noise in the process of running.As electronic equipment is radiated using fan When, system can control the revolving speed of fan based on the temperature of CPU, when the temperature of CPU instantaneously increases, can control fan Revolving speed instantaneously increase, fan fluctuation of service is caused, to generate noise.
And in practical applications, user is actually by locating for electronic equipment to the susceptibility for the noise that electronic equipment generates External environment influence, for example, user is low to the susceptibility for the noise that electronic equipment generates if external environment noise is big, And if external environment noise is small, user is high to the susceptibility for the noise that electronic equipment generates, therefore how to realize electronic equipment Environmental noise adaptive into the technical problem urgently overcome for those skilled in the art.
Summary of the invention
In view of this, the application provides a kind of control method and electronic equipment, to solve the above technical problems.
To achieve the above object, the application provides the following technical solutions:
A kind of control method, comprising:
Obtain the environmental parameter of electronic equipment local environment;
Obtain the load of the processor of the electronic equipment;
If the environmental parameter shows that the electronic equipment is in lower noise environment, and the load is less than preset negative It carries, controls the electronic equipment and enter environmental noise adaptive model.
Preferably, the environmental parameter for obtaining electronic equipment local environment, comprising:
The environmental parameter of the electronic equipment local environment is obtained by the sound collector of electronic equipment;
Alternatively, obtaining the electronic equipment local environment by being located at the sound transducer at the first position of electronic equipment Environmental parameter.
Preferably, determine that the electronic equipment is in lower noise environment based on environmental parameter, comprising:
Obtain the maximum ambient noise parameters of the environmental parameter;
Noise threshold is preset when determining that the maximum ambient noise parameters are less than, and is less than the default noise threshold most When the duration of overall situation noise parameters is more than the first preset durations, determine that the electronic equipment is in low noise ring Border;
Alternatively, determining that the electronic equipment is in lower noise environment based on environmental parameter, comprising:
Obtain the maximum ambient noise parameters of the environmental parameter;
Noise threshold is preset when determining that the maximum ambient noise parameters are greater than, and is greater than the threshold value noise threshold most When the duration of overall situation noise parameters is less than the second preset durations, determine that the electronic equipment is in low noise ring Border.
Preferably, the sound collector can be started by the first hardware driving and the second hardware driving respectively;
First hardware driving includes audio decoder module, and sound-content data can be decoded from environmental parameter;
Second hardware driving does not include the audio decoder module, for driving the sound collector to obtain environment Parameter, and maximum ambient noise parameters are obtained from the environmental parameter, record the duration of maximum ambient noise parameters.
Preferably, the control electronic equipment enters after environmental noise adaptive model, further includes:
When determining that the electronic equipment is not in lower noise environment, alternatively, determining that the load of the processor is more than or equal to When default load, controls the electronic equipment and exit the environmental noise adaptive mode.
Preferably, in the case where the electronic equipment is in environmental noise adaptive model, further includes:
The minimum for reducing the processor continues power consumption parameter;
And/or it reduces the maximum of the processor and continues power consumption parameter;
And/or reduce the frequency reducing point of the processor;
And/or reduce the maximum overclocking power consumption parameter of the processor;
And/or reduce the overclocking duration parameters of the processor.
A kind of electronic equipment, comprising:
Collector, for obtaining the environmental parameter of electronic equipment local environment;
Memory, for storing program;
Processor is used to obtain the load of the processor of the electronic equipment for executing described program, described program, such as Environmental parameter described in fruit shows that the electronic equipment is in lower noise environment, and the load is loaded less than default, described in control Electronic equipment enters environmental noise adaptive model.
Preferably, the collector is the sound collector on the electronic equipment;
Alternatively, the collector is the sound transducer being located at the first position of electronic equipment.
Preferably, wherein the sound collector can be started by the first hardware driving and the second hardware driving respectively;
First hardware driving includes audio decoder module, and sound-content data can be decoded from environmental parameter;
Second hardware driving does not include the audio decoder module, for driving the sound collector to obtain environment Parameter.
Preferably, wherein the first position is with the second position and/or the third place at a distance of the position of pre-determined distance;
Wherein, the second position is the position of the electronic equipment sound intermediate frequency output device, and the third place is institute State the position that active heat sink is imported and exported in electronic equipment.
It can be seen via above technical scheme that this application discloses a kind of control method, including obtain locating for electronic equipment The environmental parameter of environment obtains the load of the processor of electronic equipment, if environmental parameter shows that electronic equipment is in low noise Environment, and load and be less than default load, controlling electronic devices enters environmental noise adaptive model;That is, electronic equipment When can be under lower noise environment, processor-based load be to decide whether that it is adaptive that controlling electronic devices enters environmental noise Mode, if the load of processor is less than default load, controlling electronic devices enters environmental noise adaptive model, thus real The environmental noise of existing electronic equipment is adaptive, improves user experience.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only embodiments herein, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to the attached drawing of offer other Attached drawing.
Fig. 1 is a kind of flow diagram for control method that the application embodiment of the method one provides;
Fig. 2 is that one kind that the application embodiment of the method two provides determines that electronic equipment is in low noise ring based on environmental parameter The flow diagram of the method in border;
Fig. 3 is that one kind that the application embodiment of the method three provides determines that electronic equipment is in low noise ring based on environmental parameter The flow diagram of the method in border;
Fig. 4 is a kind of flow diagram for processing method that the application embodiment of the method four provides;
Fig. 5 a is the power consumption comparison diagram provided in the application embodiment of the method four;
Fig. 5 b is the rotation speed of the fan comparison diagram provided in the application embodiment of the method four;
Fig. 6 is the structural schematic diagram for a kind of electronic equipment that the application Installation practice one provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
The application embodiment of the method one discloses a kind of control method, as shown in Figure 1, this method comprises the following steps:
Step 101: obtaining the environmental parameter of electronic equipment local environment;
The environmental parameter is for judging whether electronic equipment current environment is lower noise environment, specifically, as one Kind implementation, can obtain electronic equipment local environment by being located at the sound transducer at the first position of electronic equipment Environmental parameter.
It, can be with and in order to guarantee that sound transducer environmental parameter collected can accurately reflect electronic equipment local environment The position on an electronic device far from the sound source on electronic equipment, optionally, sound source on electronic equipment is arranged in sound transducer Position may include: the position of audio output device in electronic equipment, active heat sink inlet and outlet position.So, electric Be arranged in sub- equipment sound transducer first position can for the second position with setting audio output device at a distance of it is default away from From position, and/or, in electronic equipment be arranged sensor first position be with setting active heat sink import and export third position It sets at a distance of the position of pre-determined distance.
Pre-determined distance will receive the influence of the sound source in electronic equipment to guarantee sensor not or receive in electronic equipment The influence of sound source is smaller be it is best, occurrence can be set based on actual conditions.And above mentioned audio output device The loudspeaker being specifically as follows in electronic equipment, active heat sink inlet and outlet can be imported and exported for fan.
As another implementation, electronic equipment local environment can be obtained by the sound collector of electronic equipment Environmental parameter.
Sound collector in current electronic equipment starts especially by hardware driving, and hardware driving includes audio decoder Module can decode sound-content data from environmental parameter.It should be noted that the sound collection of current electronic equipment Device only has a hardware driving including audio decoder module such as microphone.
And in the electronic equipment of the application, sound collector can be started by two hardware drivings respectively, specifically, Respectively the first hardware driving and the second hardware driving, wherein the first hardware driving includes audio decoder module, can be from environment Sound-content data are decoded in parameter, and the second hardware driving does not include audio decoder module, for driving sound collector Obtain environmental parameter, get maximum ambient noise parameters from environmental parameter, record maximum ambient noise parameters it is lasting when Between (maximum ambient noise parameters, the effect for recording the duration of maximum ambient noise parameters can refer to later).
That is, will use the second hardware driving starting electronic equipment during executing the application control method Sound collector since the second hardware driving does not include audio decoder module, can not examine to obtain environmental parameter The sound-content in environmental parameter is surveyed, and is extracted in environmental parameter for judging whether electronic equipment is in low noise ring The parameter in border.
Step 102: obtaining the load of the processor of the electronic equipment;
The load of processor is referred to as the task amount that processor is presently processing, specifically can by resource manager or Person is specifically using the load for carrying out reading processor.
Step 103: if the environmental parameter shows that the electronic equipment is in lower noise environment, and the load is less than Default load, controls the electronic equipment and enters environmental noise adaptive model.
When electronic equipment is in lower noise environment, illustrate that the noise of current environment is lower, then user sets electronics The standby noise generated is also more sensitive, such as more sensitive to the noise of the fan generation of electronic equipment, in this case, if place The load for managing device is less than default load, illustrates that current operating environment is lower to electronic equipment performance requirement, electronic equipment enters ring Border noise adaptive mode will not have too big influence to current operating environment, and user will not perceive under electronic equipment performance Drop.
Wherein, environmental noise adaptive model be referred to as can the performance parameter to processor adaptively adjust to reduce electricity The mode for the noise that sub- equipment generates in the process of running.
In the present embodiment, when electronic equipment can be under lower noise environment, processor-based load is to decide whether to control Electronic equipment processed enters environmental noise adaptive model, if the load of processor is less than default load, controlling electronic devices Into environmental noise adaptive model, to realize that the environmental noise of electronic equipment is adaptive, user experience is improved.
How the application based on environmental parameter determines electronic equipment by embodiment of the method two and the description of embodiment of the method three It is specific in lower noise environment:
In the application embodiment of the method two, as shown in Fig. 2, determining that electronic equipment is in low noise ring based on environmental parameter Border, comprising:
Step 201: obtaining the maximum ambient noise parameters of environmental parameter;
Step 202: presetting noise threshold when determining that the maximum ambient noise parameters are less than, and be less than default noise threshold Maximum ambient noise parameters duration be more than the first preset durations when, determine that electronic equipment is in low noise ring Border.
Wherein, the duration of the maximum ambient noise parameters in environmental parameter and maximum ambient noise parameters can be by Above mentioned second hardware driving is obtained based on the monitoring of environmental parameter.
Default noise threshold and the first preset durations can be preset based on actual conditions, as the following table 1 to Family, which is investigated, obtains data it is found that user is in Bed room, it is typically desirable to when environmental noise is lower than 35db, electronic equipment It can persistently accomplish rest state.User is in Living room, it is typically desirable to when environmental noise is lower than 55db~65db, Electronic equipment can persistently accomplish rest state.So different environment can be in based on electronic equipment, and set different Noise threshold such as determines electronic equipment in Bed room, and presetting noise threshold is 35db, determines electronic equipment in Living Room, presetting noise threshold is 60db.Or it can be not based on environment locating for electronic equipment, and directly set a noise threshold Value such as directly sets noise threshold as 35db.That is, if maximum noise is lower than 35dba in environment, and the duration reaches Then determine that electronic equipment is in lower noise environment to certain time length.
Table 1
Environment UE Suggestion
Bed room ≤35
Living room ≤60(±5)
In the application embodiment of the method three, as shown in figure 3, determining that the electronic equipment is in low noise based on environmental parameter Sound environment, may include steps of:
Step 301: obtaining the maximum ambient noise parameters of the environmental parameter;
Step 302: presetting noise threshold when determining that the maximum ambient noise parameters are greater than, and be greater than the default noise When the duration of the maximum ambient noise parameters of threshold value is less than the second preset durations, determine that the electronic equipment is in low Noisy environment.
Wherein, the duration of the maximum ambient noise parameters in environmental parameter and maximum ambient noise parameters can be by Above mentioned second hardware driving is obtained based on the monitoring of environmental parameter.
Default noise threshold and the first preset durations can be preset based on actual conditions, can will such as be preset Noise threshold is set as 35dba.That is, if maximum noise is higher than 35dba in environment, but the duration is not up to one Timing is long then to determine that electronic equipment is in lower noise environment.
Wherein, the second preset durations are less than the first preset durations.
In another embodiment of the application, the average value of ambient noise parameters is also based on to determine locating for electronic equipment Whether environment is lower noise environment, and the average value of ambient noise parameters can be the flat of multiple peak values more than default noise threshold , the peak value of 35gba has 5 as being more than, then then take the average value of 5 ambient noise parameters, and by the average value and the Two default noise thresholds (are different from above-mentioned default noise threshold, or above-mentioned threshold value noise threshold are referred to as first and default is made an uproar Sound threshold value) it is compared, if it is less than the second default noise threshold, it is determined that electronic equipment local environment is lower noise environment. Wherein, the second default noise threshold is greater than the first default noise threshold.
The application embodiment of the method four discloses a kind of processing method, as shown in figure 4, this method comprises the following steps:
Step 401: obtaining the environmental parameter of electronic equipment local environment;
Step 402: obtaining the load of the processor of the electronic equipment;
Step 403: if the environmental parameter shows that the electronic equipment is in lower noise environment, and the load is less than Default load, controls the electronic equipment and enters environmental noise adaptive model;
Step 404: when determining that the electronic equipment is not in lower noise environment, alternatively, determining the load of the processor When more than or equal to default load, controls the electronic equipment and exit the environmental noise adaptive model.
That is, after controlling electronic devices enters environmental noise adaptive model, still to ring locating for electronic equipment The load of border and processor is monitored, if it is determined that electronic equipment is not in lower noise environment or if it is determined that processor Load be more than or equal to default load, then directly exit environmental noise adaptive model.
It, can be right in the case where the electronic equipment is in environmental noise adaptive model in the application embodiment of the method five The following parameter of processor is adjusted as follows:
The minimum for reducing the processor continues power consumption parameter;
And/or it reduces the maximum of the processor and continues power consumption parameter;
And/or reduce the frequency reducing point of the processor;
And/or reduce the maximum overclocking power consumption parameter of the processor;
And/or reduce the overclocking duration parameters of the processor.
Wherein, the minimum of processor, which continues power consumption parameter, can be referred to as PL1min, and the maximum of processor continues power consumption ginseng Number can be referred to as PL1max, minimum continuous service power consumption number be processor temperature reach system permission maximum temperature value it Afterwards, the minimum value that continuous service power consumption can drop to, maximum continuous service power consumption number are the highests that the temperature of CPU allows in system In temperature, maximum value that continuous service power consumption can achieve.
Maximum overclocking power consumption parameter can be referred to as PL2, and maximum overclocking power consumption parameter is the maximum for allowing processor overclocking Ability.The overclocking duration parameters of processor are the time for allowing processor to continue overclocking.
The frequency reducing point of processor can be referred to as PSV, the maximum temperature value allowed for processor.
The reduction amplitude of the specific above parameter can be preset, and the reduction amplitude of different parameters can be different.
As shown in table 2 below, the setting of the various power consumption parameters of processor under different mode is described, Normal mode is The normal mode (being not in environmental noise adaptive model) of electronic equipment, AAA mode are that the environmental noise of electronic equipment is adaptive Answer mode.As can be seen from Table 2, electronic equipment is under environmental noise adaptive model, PL1MAX, PL1MIN and PL2MAX's The setting value (parameter under Argument) of parameter is respectively less than electronic equipment and is under normal mode, PL1MAX, PL1MIN and The setting value of the parameter of PL2MAX.
Table 2
Action Set Code Argument
Normal mode PL1MAX 16000
Normal mode PL1MIN 13000
Normal mode PL2MAX 30000
AAA mode PL1MIN 8000
AAA mode PL1MAX 10000
AAA mode PL2MAX 15000
It, can will be in electronics that is, when electronic equipment is withdrawn into normal mode by environmental noise adaptive model Equipment is in the power consumption parameter turned down under environmental noise adaptive model and is turned up again, the power consumption that can be specifically restored to before turning down Parameter.
Optionally, in the case where electronic equipment is in environmental noise adaptive model, in order to further decrease making an uproar for fan generation Sound can also reduce the maximum speed of fan in electronic equipment, such as remove the most high-order of fan, and fan highest noise control is made to exist Rest state, such as 28dba.
Fig. 5 a shows the comparison diagram of power consumption in the case where electronic equipment is in normal mode and under environmental noise adaptive model, Figure 5b shows that the comparison diagrams of rotation speed of the fan in the case where electronic equipment is in normal mode and under environmental noise adaptive model.Such as figure Shown in 5a, electronic equipment is not in situation fluctuated (right figure) in the power consumption of environmental noise adaptive model, and electronics is set Standby power consumption in the normal mode will appear situation fluctuated (left figure).As shown in Figure 5 b, electronic equipment is in environmental noise The revolving speed of fan under adaptive model will not occur up and down situation (right figure), and electronic equipment is in the normal mode The revolving speed of fan will appear situation fluctuated (left figure), it is clear that the application global optimization system noise allows user low The noise of fan will not be experienced under noisy environment.
Corresponding with a kind of above-mentioned control method, present invention also provides a kind of electronic equipment, below by way of several devices Embodiment is described in detail.
The application Installation practice one provides a kind of electronic equipment, as shown in fig. 6, a kind of electronic equipment includes: acquisition Device 100, memory 200 and processor 300;Wherein:
Collector 100, for obtaining the environmental parameter of electronic equipment local environment;
Memory 200, for storing program;
Processor 300 is used to obtain the load of the processor of the electronic equipment for executing described program, described program, If the environmental parameter shows that the electronic equipment is in lower noise environment, and the load is less than default load, controls institute It states electronic equipment and enters environmental noise adaptive model.
The environmental parameter is for judging whether electronic equipment current environment is lower noise environment, specifically, as one Kind implementation, collector 100 can be the sound transducer being located at the first position of electronic equipment.
It, can be with and in order to guarantee that sound transducer environmental parameter collected can accurately reflect electronic equipment local environment The position on an electronic device far from the sound source on electronic equipment, optionally, sound source on electronic equipment is arranged in sound transducer Position may include: the position of audio output device in electronic equipment, active heat sink inlet and outlet position.So, electric Be arranged in sub- equipment sound transducer first position can for the second position with setting audio output device at a distance of it is default away from From position, and/or, in electronic equipment be arranged sensor first position be with setting active heat sink import and export third position It sets at a distance of the position of pre-determined distance.
Pre-determined distance will receive the influence of the sound source in electronic equipment to guarantee sensor not or receive in electronic equipment The influence of sound source is smaller be it is best, occurrence can be set based on actual conditions.And above mentioned audio output device The loudspeaker being specifically as follows in electronic equipment, active heat sink inlet and outlet can be imported and exported for fan.
As another implementation, collector 100 can be the sound collector on electronic equipment.
Sound collector in current electronic equipment starts especially by hardware driving, and hardware driving includes audio decoder Module can decode sound-content data from environmental parameter.It should be noted that the sound collection of current electronic equipment Device only has a hardware driving including audio decoder module such as microphone.
And in the electronic equipment of the application, sound collector can be started by two hardware drivings respectively, specifically, Respectively the first hardware driving and the second hardware driving, wherein the first hardware driving includes audio decoder module, can be from environment Sound-content data are decoded in parameter, and the second hardware driving does not include audio decoder module, for driving sound collector Obtain environmental parameter, get maximum ambient noise parameters from environmental parameter, record maximum ambient noise parameters it is lasting when Between (maximum ambient noise parameters, the effect for recording the duration of maximum ambient noise parameters can refer to later).
That is, will use the second hardware driving starting electronic equipment during executing the application control method Sound collector since the second hardware driving does not include audio decoder module, can not examine to obtain environmental parameter The sound-content in environmental parameter is surveyed, and is extracted in environmental parameter for judging whether electronic equipment is in low noise ring The parameter in border.
The load of processor is referred to as the task amount that processor is presently processing, specifically can by resource manager or Person is specifically using the load for carrying out reading processor.
When electronic equipment is in lower noise environment, illustrate that the noise of current environment is lower, then user sets electronics The standby noise generated is also more sensitive, such as more sensitive to the noise of the fan generation of electronic equipment, in this case, if place The load for managing device is less than default load, illustrates that current operating environment is lower to electronic equipment performance requirement, electronic equipment enters ring Border noise adaptive mode will not have too big influence to current operating environment, and user will not perceive under electronic equipment performance Drop.
Wherein, environmental noise adaptive model be referred to as can the performance parameter to processor adaptively adjust to reduce electricity The mode for the noise that sub- equipment generates in the process of running.
In the present embodiment, when electronic equipment can be under lower noise environment, processor-based load is to decide whether to control Electronic equipment processed enters environmental noise adaptive model, if the load of processor is less than default load, controlling electronic devices Into environmental noise adaptive model, to realize that the environmental noise of electronic equipment is adaptive, user experience is improved.
The application describes processor when executing program by Installation practice two and Installation practice three, and described program is such as What determines that electronic equipment is in lower noise environment based on environmental parameter.
Specifically, processor executes program in the application Installation practice two, described program is used to be based on environmental parameter Determine that electronic equipment is in lower noise environment, comprising: the maximum ambient noise parameters for obtaining environmental parameter, when determining the maximum Ambient noise parameters are less than default noise threshold, and the duration for being less than the maximum ambient noise parameters of default noise threshold is super When crossing the first preset durations, determine that electronic equipment is in lower noise environment.
Wherein, the duration of the maximum ambient noise parameters in environmental parameter and maximum ambient noise parameters can be by Above mentioned second hardware driving is obtained based on the monitoring of environmental parameter.
Default noise threshold and the first preset durations can be preset based on actual conditions, such as by default noise Threshold value is set as 35dba.
In the application Installation practice three, processor executes program, and described program is used to determine electricity based on environmental parameter Sub- equipment is in lower noise environment, comprising: the maximum ambient noise parameters for obtaining the environmental parameter, when determining the maximum loop Border noise parameters are greater than default noise threshold, and are greater than the duration of the maximum ambient noise parameters of the threshold value noise threshold When less than the second preset durations, determine that the electronic equipment is in lower noise environment.
Wherein, the duration of the maximum ambient noise parameters in environmental parameter and maximum ambient noise parameters can be by Above mentioned second hardware driving is obtained based on the monitoring of environmental parameter.
Default noise threshold and the first preset durations can be preset based on actual conditions, can will such as be preset Noise threshold is set as 35dba.That is, if maximum noise is higher than 35dba in environment, but the duration is not up to one Timing is long then to determine that electronic equipment is in lower noise environment.
Wherein, the second preset durations are less than the first preset durations.
In another embodiment of the application, the average value of ambient noise parameters is also based on to determine locating for electronic equipment Whether environment is lower noise environment, and the average value of ambient noise parameters can be the flat of multiple peak values more than default noise threshold , the peak value of 35gba has 5 as being more than, then then take the average value of 5 ambient noise parameters, and by the average value and the Two default noise thresholds (are different from above-mentioned default noise threshold, or above-mentioned threshold value noise threshold are referred to as first and default is made an uproar Sound threshold value) it is compared, if it is less than the second default noise threshold, it is determined that electronic equipment local environment is lower noise environment. Wherein, the second default noise threshold is greater than the first default noise threshold.
In the application Installation practice four, for processor in the program for executing memory storage, program is described for obtaining The load of the processor of electronic equipment, if the environmental parameter shows that the electronic equipment is in lower noise environment, and described Load is less than default load, controls the electronic equipment and enters after environmental noise adaptive model, is also used to described in determine Electronic equipment is not in lower noise environment, alternatively, when determining that the load of the processor is more than or equal to default load, described in control Electronic equipment exits the environmental noise adaptive model.
That is, after controlling electronic devices enters environmental noise adaptive model, still to ring locating for electronic equipment The load of border and processor is monitored, if it is determined that electronic equipment is not in lower noise environment or if it is determined that processor Load be more than or equal to default load, then directly exit environmental noise adaptive model.
It, can be right in the case where the electronic equipment is in environmental noise adaptive model in the application embodiment of the method five The following parameter of processor is adjusted as follows:
The minimum for reducing the processor continues power consumption parameter;
And/or it reduces the maximum of the processor and continues power consumption parameter;
And/or reduce the frequency reducing point of the processor;
And/or reduce the maximum overclocking power consumption parameter of the processor;
And/or reduce the overclocking duration parameters of the processor.
Wherein, the minimum of processor, which continues power consumption parameter, can be referred to as PL1min, and the maximum of processor continues power consumption ginseng Number can be referred to as PL1max, minimum continuous service power consumption number be processor temperature reach system permission maximum temperature value it Afterwards, the minimum value that continuous service power consumption can drop to, maximum continuous service power consumption number are the highests that the temperature of CPU allows in system In temperature, maximum value that continuous service power consumption can achieve.
Maximum overclocking power consumption parameter can be referred to as PL2, and maximum overclocking power consumption parameter is the maximum for allowing processor overclocking Ability.The overclocking duration parameters of processor are the time for allowing processor to continue overclocking.
The frequency reducing point of processor can be referred to as PSV, the maximum temperature value allowed for processor.
The reduction amplitude of the specific above parameter can be preset, and the reduction amplitude of different parameters can be different.
It, can will be in electricity it should be noted that when electronic equipment is withdrawn into normal mode by environmental noise adaptive model Sub- equipment is in the power consumption parameter turned down under environmental noise adaptive model and is turned up again, the function that can be specifically restored to before turning down Consume parameter.
Optionally, in the case where electronic equipment is in environmental noise adaptive model, in order to further decrease making an uproar for fan generation Sound, described program can be also used for reducing the maximum speed of fan in electronic equipment, such as remove the most high-order of fan, make fan most High noisy is controlled in rest state, such as 28dba.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of control method, comprising:
Obtain the environmental parameter of electronic equipment local environment;
Obtain the load of the processor of the electronic equipment;
If the environmental parameter shows that the electronic equipment is in lower noise environment, and the load is less than default load, control It makes the electronic equipment and enters environmental noise adaptive model.
2. according to the method described in claim 1, wherein, the environmental parameter for obtaining electronic equipment local environment, comprising:
The environmental parameter of the electronic equipment local environment is obtained by the sound collector of electronic equipment;
Alternatively, obtaining the ring of the electronic equipment local environment by being located at the sound transducer at the first position of electronic equipment Border parameter.
3. according to the method described in claim 2, wherein, determining that the electronic equipment is in low noise ring based on environmental parameter Border, comprising:
Obtain the maximum ambient noise parameters of the environmental parameter;
Noise threshold is preset when determining that the maximum ambient noise parameters are less than, and is less than the maximum loop of the default noise threshold When the duration of border noise parameters is more than the first preset durations, determine that the electronic equipment is in lower noise environment;
Alternatively, determining that the electronic equipment is in lower noise environment based on environmental parameter, comprising:
Obtain the maximum ambient noise parameters of the environmental parameter;
Noise threshold is preset when determining that the maximum ambient noise parameters are greater than, and is greater than the maximum loop of the threshold value noise threshold When the duration of border noise parameters is less than the second preset durations, determine that the electronic equipment is in lower noise environment.
4. according to the method described in claim 3, wherein, the sound collector can pass through the first hardware driving and the respectively The starting of two hardware drivings;
First hardware driving includes audio decoder module, and sound-content data can be decoded from environmental parameter;
Second hardware driving does not include the audio decoder module, for driving the sound collector to obtain environment ginseng Number, and maximum ambient noise parameters are obtained from the environmental parameter, record the duration of maximum ambient noise parameters.
5. according to the method described in claim 1, wherein, the control electronic equipment enters environmental noise adaptive model Later, further includes:
When determining that the electronic equipment is not in lower noise environment, alternatively, it is default to determine that the load of the processor is more than or equal to When load, controls the electronic equipment and exit the environmental noise adaptive mode.
6. according to the method described in claim 1, wherein, in the case where the electronic equipment is in environmental noise adaptive model, going back Include:
The minimum for reducing the processor continues power consumption parameter;
And/or it reduces the maximum of the processor and continues power consumption parameter;
And/or reduce the frequency reducing point of the processor;
And/or reduce the maximum overclocking power consumption parameter of the processor;
And/or reduce the overclocking duration parameters of the processor.
7. a kind of electronic equipment, wherein include:
Collector, for obtaining the environmental parameter of electronic equipment local environment;
Memory, for storing program;
Processor is for executing described program, and described program is used to obtain the load of the processor of the electronic equipment, if institute It states environmental parameter and shows that the electronic equipment is in lower noise environment, and the load is less than default load, controls the electronics Equipment enters environmental noise adaptive model.
8. electronic equipment according to claim 7, the collector is the sound collector on the electronic equipment;
Alternatively, the collector is the sound transducer being located at the first position of electronic equipment.
9. electronic equipment according to claim 8, wherein the sound collector can pass through the first hardware driving respectively Start with the second hardware driving;
First hardware driving includes audio decoder module, and sound-content data can be decoded from environmental parameter;
Second hardware driving does not include the audio decoder module, for driving the sound collector to obtain environment ginseng Number.
10. electronic equipment according to claim 8, wherein the first position is and the second position and/or the third place At a distance of the position of pre-determined distance;
Wherein, the second position is the position of the electronic equipment sound intermediate frequency output device, and the third place is the electricity The position that active heat sink is imported and exported in sub- equipment.
CN201811162746.7A 2018-09-30 2018-09-30 Control method and electronic equipment Active CN109117261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811162746.7A CN109117261B (en) 2018-09-30 2018-09-30 Control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811162746.7A CN109117261B (en) 2018-09-30 2018-09-30 Control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN109117261A true CN109117261A (en) 2019-01-01
CN109117261B CN109117261B (en) 2020-11-20

Family

ID=64857298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811162746.7A Active CN109117261B (en) 2018-09-30 2018-09-30 Control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN109117261B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109522A (en) * 2019-05-10 2019-08-09 联想(北京)有限公司 A kind of processing method and electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050276570A1 (en) * 2004-06-15 2005-12-15 Reed Ogden C Jr Systems, processes and apparatus for creating, processing and interacting with audiobooks and other media
CN201898688U (en) * 2010-11-26 2011-07-13 英业达股份有限公司 Electronic device
CN102760461A (en) * 2012-05-28 2012-10-31 杭州联汇数字科技有限公司 Volume adaptive control audio playing equipment and method
CN103354445A (en) * 2013-06-20 2013-10-16 广东欧珀移动通信有限公司 Adaptive environment music playing apparatus and method thereof
CN103546637A (en) * 2013-10-22 2014-01-29 德赛电子(惠州)有限公司 Adaptive method of mobile terminal contextual model
CN103595849A (en) * 2012-08-16 2014-02-19 腾讯科技(深圳)有限公司 Volume control method and terminal thereof
CN103685694A (en) * 2012-09-11 2014-03-26 联想(北京)有限公司 Prompt method and electronic equipment
CN104601804A (en) * 2014-12-30 2015-05-06 西安乾易企业管理咨询有限公司 Method of changing incoming call mode adaptive to environment
CN105654851A (en) * 2014-12-01 2016-06-08 Nlt科技股份有限公司 Display device and electronic apparatus
CN106183973A (en) * 2016-07-18 2016-12-07 成都安程通科技有限公司 A kind of automobile sound volume control device
CN108282719A (en) * 2018-02-07 2018-07-13 合肥联宝信息技术有限公司 A kind of control method and equipment of voice signal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050276570A1 (en) * 2004-06-15 2005-12-15 Reed Ogden C Jr Systems, processes and apparatus for creating, processing and interacting with audiobooks and other media
CN201898688U (en) * 2010-11-26 2011-07-13 英业达股份有限公司 Electronic device
CN102760461A (en) * 2012-05-28 2012-10-31 杭州联汇数字科技有限公司 Volume adaptive control audio playing equipment and method
CN103595849A (en) * 2012-08-16 2014-02-19 腾讯科技(深圳)有限公司 Volume control method and terminal thereof
CN103685694A (en) * 2012-09-11 2014-03-26 联想(北京)有限公司 Prompt method and electronic equipment
CN103354445A (en) * 2013-06-20 2013-10-16 广东欧珀移动通信有限公司 Adaptive environment music playing apparatus and method thereof
CN103546637A (en) * 2013-10-22 2014-01-29 德赛电子(惠州)有限公司 Adaptive method of mobile terminal contextual model
CN105654851A (en) * 2014-12-01 2016-06-08 Nlt科技股份有限公司 Display device and electronic apparatus
CN104601804A (en) * 2014-12-30 2015-05-06 西安乾易企业管理咨询有限公司 Method of changing incoming call mode adaptive to environment
CN106183973A (en) * 2016-07-18 2016-12-07 成都安程通科技有限公司 A kind of automobile sound volume control device
CN108282719A (en) * 2018-02-07 2018-07-13 合肥联宝信息技术有限公司 A kind of control method and equipment of voice signal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109522A (en) * 2019-05-10 2019-08-09 联想(北京)有限公司 A kind of processing method and electronic equipment

Also Published As

Publication number Publication date
CN109117261B (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN107564518B (en) Intelligent device control method and device and computer device
TWI432950B (en) Method and apparatus for adaptive power budget allocation between multiple components in a computing system
US9746833B2 (en) Electronic device and smart method for controlling alarm
US8224497B2 (en) Energy limit in a sliding window in power and heat management
WO2016131248A1 (en) Method and apparatus for aiding sleep
US8589712B2 (en) Determining a power saving mode based on a hardware resource utilization trend
TW201351111A (en) Controlling a cooling system for a computer system
JP6636644B2 (en) Waking a computing device based on ambient noise
JP2004038291A (en) Control method for clock frequency and electronic equipment
CN109458692A (en) A kind of method and intelligent electric appliance controlling intelligent electric appliance
CN110425709A (en) A kind of site environment energy-saving control method
CN109117261A (en) A kind of control method and electronic equipment
CN107894064A (en) Temperature control method, device, equipment and storage medium based on Wearable
CN113883672B (en) Noise type identification method, air conditioner and computer readable storage medium
WO2016180241A1 (en) Energy-conservation management method and apparatus for terminal and terminal
US20140358288A1 (en) Fan speed control system, method, and computing device
CN114738969A (en) Air conditioner control method and device, computer readable storage medium and air conditioner
CN105317722A (en) Control system for fan and control method for fan
CN111914000A (en) Server power capping method and system based on power consumption prediction model
CN111007732A (en) Air conditioner vision wake-up-free identification method and system based on scale change and intelligent home
CN110109521A (en) A kind of processing method and electronic equipment
CN110941189A (en) Intelligent household system and control method thereof and readable storage medium
CN113465143B (en) Control method and device for preventing high-frequency transmission sound during heating of air conditioner and air conditioner
CN108683981A (en) Loud speaker water discharge method, device, electronic equipment and the storage medium of electronic equipment
CN110109522A (en) A kind of processing method and electronic equipment

Legal Events

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