CN112306806B - Electronic equipment control method and device and electronic equipment - Google Patents

Electronic equipment control method and device and electronic equipment Download PDF

Info

Publication number
CN112306806B
CN112306806B CN202011195337.4A CN202011195337A CN112306806B CN 112306806 B CN112306806 B CN 112306806B CN 202011195337 A CN202011195337 A CN 202011195337A CN 112306806 B CN112306806 B CN 112306806B
Authority
CN
China
Prior art keywords
hard disk
control
electronic device
temperature
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011195337.4A
Other languages
Chinese (zh)
Other versions
CN112306806A (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 CN202011195337.4A priority Critical patent/CN112306806B/en
Publication of CN112306806A publication Critical patent/CN112306806A/en
Application granted granted Critical
Publication of CN112306806B publication Critical patent/CN112306806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3268Power saving in hard disk drive
    • 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/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The control chip in the electronic equipment can dynamically acquire running state information of the electronic equipment, such as a hard disk state parameter and the like, and can be considered to be in a hard disk read-write mode under the condition that the hard disk state parameter is detected to meet the hard disk read-write control condition, so that the situation that the CPU power consumption is too high at the moment to obviously raise the temperature of the CPU, the rotating speed of a radiator is suddenly increased to generate larger noise is avoided, the control chip is switched to a first control rule from a second control rule executed in a non-hard disk read-write mode at the moment, and the requirement of low noise is met while the high read-write requirement of a user is met; and after the obtained hard disk state parameters do not accord with the hard disk read-write control conditions, switching to the second control rule to continue execution, thereby meeting the conventional work requirements of the electronic equipment.

Description

Electronic equipment control method and device and electronic equipment
Technical Field
The present disclosure relates generally to the field of computers, and more particularly, to a method and an apparatus for controlling an electronic device, and an electronic device.
Background
The Solid State Disk (Solid State Drive, SSD) is a hard Disk made of a Solid State electronic memory chip array, and has the advantages of high read-write speed, light weight, low energy consumption, small volume and the like compared with the traditional mechanical hard Disk.
With the popularization of SSDs with M2 interfaces, such as NVMe (Non-Volatile Memory express) PCIe (PeripheralComponent Interconnect express) M2 SSDs, the data read-write speed is greatly improved, but in the high-speed read-write process of SSDs, the CPU power consumption of electronic equipment is increased, at the moment, in order to avoid damage caused by overhigh CPU temperature, the rotating speed of a system fan is often increased to dissipate heat, so that the electronic equipment generates larger noise, and the use feeling of users on the electronic equipment is reduced.
Disclosure of Invention
In view of this, the present application provides an electronic device control method, the method including:
acquiring operation state information of the electronic equipment, wherein the operation state information comprises hard disk state parameters;
detecting that the hard disk state parameters accord with hard disk read-write control conditions, and executing a first control rule;
and detecting that the newly acquired hard disk state parameters do not accord with the hard disk read-write control conditions, and executing a second control rule.
Optionally, the detecting process of whether the hard disk state parameter meets the hard disk read-write control condition includes at least one implementation manner of:
detecting whether the occupancy rate of the hard disk reaches a first scheduling threshold;
detecting whether the occupancy rate of the hard disk reaches a second scheduling threshold value, but does not reach the first scheduling threshold value, and whether the temperature of the hard disk reaches a first temperature threshold value;
and detecting whether the temperature change trend of the hard disk temperature in the first time period is an ascending trend or not.
Optionally, the operation state information further includes a processor temperature of the electronic device; in the case of detecting whether the trend of temperature change of the hard disk temperature within the first period is an ascending trend, the hard disk read-write control condition further includes:
the temperature change trend of the temperature of the processor in the first duration is an ascending trend.
Optionally, the executing the first control rule includes:
executing a rotation speed constraint condition on a radiator of the electronic device, wherein the rotation speed constraint condition comprises that the rotation speed of the radiator is not greater than a first rotation speed threshold value; or alternatively, the first and second heat exchangers may be,
interrupting execution of a processor temperature control strategy of the electronic device, wherein the processor temperature control strategy comprises positive correlation of the rotating speed of a radiator of the electronic device and the temperature of a processor;
The executing the second control rule includes:
prohibiting execution of a rotational speed constraint of the radiator;
and restoring to execute the processor temperature control strategy of the electronic equipment.
Optionally, the executing the first control rule includes:
generating an interrupt control signal for a processor of the electronic device;
responding to the interrupt control signal, interrupting at least part of the read-write process executed by the processor so as to reduce the state parameter of the hard disk;
the executing the second control rule includes:
and controlling the processor to execute the existing read-write processes.
Optionally, the generating an interrupt control signal for a processor of the electronic device includes:
generating an interrupt control signal for a processor of the electronic device according to a preset duty cycle;
said interrupting at least part of the read-write process performed by said processor in response to said interrupt control signal, comprising:
and responding to the interrupt control signal, and controlling at least part of the read-write process executed by the processor to interrupt for a third time period every second time period.
Optionally, the method further comprises:
obtaining the matching degree of the hard disk state parameters and the hard disk read-write control conditions;
According to the matching degree, the preset duty ratio is adjusted, so that the interrupt control signal is updated according to the adjusted duty ratio;
wherein, the higher the matching degree is, the larger the duty ratio after adjustment is.
In yet another aspect, the present application further proposes an electronic device control apparatus, including:
the information acquisition module is used for acquiring the running state information of the electronic equipment, wherein the running state information comprises hard disk state parameters;
the first control module is used for detecting that the hard disk state parameters accord with hard disk read-write control conditions and executing a first control rule;
and the second control module is used for detecting that the newly acquired hard disk state parameters do not accord with the hard disk read-write control conditions and executing a second control rule.
In yet another aspect, the present application further proposes an electronic device, including a heat sink, a hard disk, a processor, a memory, and a control chip, wherein:
the memory is used for storing a program for realizing the control method of the electronic equipment;
the control chip is used for loading and executing the program stored in the memory so as to realize the steps of the control method of the electronic equipment.
Optionally, the electronic device further includes:
the first temperature sensor is used for detecting the temperature of the hard disk; and/or the number of the groups of groups,
a second temperature sensor for detecting a processor temperature;
the first temperature sensor is the internal sensor of the hard disk or an onboard local sensor arranged in a preset range of the hard disk.
Therefore, the application provides a control method and device for electronic equipment, and the control chip in the electronic equipment can dynamically acquire the running state information of the electronic equipment, such as a hard disk state parameter, and can be considered to be in a hard disk read-write mode under the condition that the hard disk state parameter is detected to meet the hard disk read-write control condition, so that the CPU power consumption is overhigh at the moment to obviously raise the temperature of the CPU, the rotating speed of a radiator is suddenly increased to generate larger noise, the control chip switches a second control rule executed in a non-hard disk read-write mode to be executed at the moment to a first control rule, and the requirement of low noise is met while the high read-write requirement of a user is met; and after the obtained hard disk state parameters do not accord with the hard disk read-write control conditions, switching to the second control rule to continue execution, thereby meeting the conventional work requirements of the electronic equipment.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
FIG. 1 is a schematic diagram of a hardware architecture of an electronic device suitable for the electronic device control method proposed in the present application;
FIG. 2 is a schematic diagram showing a variation of power consumption of a processor in a high-level read/write mode of an electronic device having a system architecture;
FIG. 3 is a schematic diagram of a variation of processor power consumption in a high read/write mode for an electronic device having another system architecture;
FIG. 4 is a flow chart of an alternative example of the electronic device control method proposed in the present application;
FIG. 5 is a flow chart of yet another alternative example of an electronic device control method as set forth in the present application;
FIG. 6 is a flow chart of yet another alternative example of an electronic device control method as set forth herein;
FIG. 7 is a flow chart of yet another alternative example of an electronic device control method as set forth herein;
FIG. 8 is a schematic waveform diagram of an optional interrupt control signal in the electronic device control method according to the present application;
fig. 9 is a schematic structural diagram of an alternative example of the electronic device control apparatus proposed in the present application;
fig. 10 is a schematic structural diagram of another alternative example of the electronic device control apparatus proposed in the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be noted that, for convenience of description, only a portion related to the present application is shown in the drawings. Embodiments and features of embodiments in this application may be combined with each other without conflict.
It should be appreciated that "system," "apparatus," "unit" and/or "module" as used in this application is one method for distinguishing between different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the word can be replaced by other expressions.
As used in this application and in the claims, the terms "a," "an," "the," and/or "the" are not specific to the singular, but may include the plural, unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" merely indicate that the steps and elements are explicitly identified, and they do not constitute an exclusive list, as other steps or elements may be included in a method or apparatus. The inclusion of an element defined by the phrase "comprising one … …" does not exclude the presence of additional identical elements in a process, method, article, or apparatus that comprises an element.
Wherein, in the description of the embodiments of the present application, "/" means or is meant unless otherwise indicated, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" means two or more than two. The following terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature.
Additionally, flowcharts are used in this application to describe the operations performed by systems according to embodiments of the present application. It should be appreciated that the preceding or following operations are not necessarily performed in order precisely. Rather, the steps may be processed in reverse order or simultaneously. Also, other operations may be added to or removed from these processes.
Referring to fig. 1, a schematic hardware structure of an electronic device suitable for the electronic device control method proposed in the present application may include, but is not limited to: personal computers (personal computer, PCs), netbooks, desktop computers, all In One (AIO), tiny microcomputers, and the like, the product type of the electronic device is not limited in this application, and the electronic device shown in fig. 1 is only an example, and should not bring any limitation to the functions and the application ranges of the embodiments of the present application.
As shown in fig. 1, the electronic device proposed in the present application may include a heat sink 11, a hard disk 12, a processor 13, a memory 14, and a control chip 15, where:
the number of the radiator 11, the hard disk 12, the processor 13, the memory 14 and the control chip 15 may be at least one, and all may be connected to a communication bus to implement data communication between each other.
The heat sink 11 can be used for conducting heat generated in the process of high-speed operation of a CPU and other components of the electronic device, and finally radiating the heat into air, so that the temperatures of the components can be controlled within a certain relatively stable range, and hardware damage caused by overhigh temperatures is avoided, and the working performance of the components is reduced.
It can be seen that the heat sink 11 mainly dissipates heat by heat conduction, heat convection, or the like, but is not limited to these two heat dissipation methods. In practical applications, the heat sink 11 may be fixedly installed in a housing of an electronic device, and may specifically include a fan, a heat sink made of a material with high heat conduction efficiency installed in a specific chip, etc., where the type of the heat sink 11 and the installation mode thereof are not limited, and may be determined according to circumstances.
In the embodiment of the present application, a passive radiator such as a fan is mainly taken as an example to describe the electronic device control method provided in the present application, and it can be understood that in the process of executing the electronic device control method, other kinds of radiators may also participate in the heat dissipation process, which is not described in detail in the present application.
The Hard Disk 12 (HDD) may be a most important storage device of an electronic device, and the application mainly uses a fixed Hard Disk (Solid State Disk or Solid State Drive, SSD) capable of implementing high-speed data read-write operation as an example, specifically, NVMe (Non-Volatile Memory express) PCIe (Peripheral Component Interconnect express) M2 SSD, etc., and the specific working principle of the Solid State Disk is not described in detail in the application.
In the scenario of performing data read-write operation on the electronic device, if the read-write operation is performed on a high-speed read-write storage device such as an SSD, additional pressure is often brought to system resource occupation, such as a change schematic diagram of processor power consumption of the electronic device with different system architectures shown in fig. 2 and 3 in a high-speed read-write mode, in the high-speed read-write mode, no matter what system architecture is, the power consumption of a CPU is generally and rapidly increased to a higher level, more CPU resources are occupied, and the CPU temperature is caused to be rapidly and significantly increased.
In this case, in order to avoid damage and degradation of the working performance caused by too high hardware temperature of the electronic device, the rotation speed of the radiator 11 is generally adjusted according to a preset CPU temperature control curve, for example, after the CPU temperature is increased, the rotation speed of the radiator is increased to improve the heat dissipation efficiency, but this often results in larger noise output by the electronic device during the high-speed read/write operation, which affects the user experience.
In addition, in the low-noise authentication process of the electronic device, the temperature control adjustment scheme cannot meet the low-noise requirement. In this regard, an improvement scheme is proposed to reduce the highest power consumption of the CPU by adjusting the configuration parameters of the CPU, but this processing manner often reduces the system performance of the electronic device at the same time, and cannot meet the user requirements. Alternatively, the limiting portion may affect the use of SSD for CPU power consumption; the processing modes such as the read-write speed and the like are directly limited, but the expansibility and the competitiveness of the electronic equipment are limited, and the exertion of the SSD transmission capability is also influenced.
For the problems, the application further proposes that the method can be executed according to the existing temperature control scheme in a non-high-speed read-write scene, so that the normal operation of the electronic equipment is ensured, and the use requirements, low noise requirements and the like of a user are met; under the high-speed read-write scene, the CPU power consumption can be reduced by limiting the rotation speed of the radiator, the running number of the CPU read-write processes and the like under the condition of not limiting the use and the transmission rate of the SSD, so that the low-noise requirement is met, and the competitiveness of the electronic equipment is improved. Therefore, the present application proposes a method for controlling an electronic device, and a specific implementation process may refer to descriptions of corresponding portions of the following embodiments, which are not described herein.
The processor 13 may include the above-mentioned central processing unit CPU, and may further include an application-specific integrated circuit (ASIC), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic device, etc. according to the need, which may be determined according to the functional requirements of the electronic device, and will not be described in detail herein.
The memory 14 may be used to store a program for implementing the electronic device control method proposed in the embodiment of the present application. The control chip 15 may be used to load and execute the program stored in the memory 14, so as to implement the steps of the control method for an electronic device according to the embodiment of the present application.
In this embodiment, the memory 14 may include a high-speed random access memory, a nonvolatile memory, and the like, and specifically may include at least one magnetic disk storage device or other volatile solid-state storage device, where the memory 14 may be the hard disk 12 or a separate storage device, and this application is not limited thereto, and may be applicable as required.
The control chip 15 may include an EC (embedded Controller), a super input/output chip SIO (i.e. a chip that provides a control processing function for standard I/O interfaces such as a PS/2 keyboard, a PS/2 mouse, a serial port COM, and a parallel port LPT interface on a motherboard of an electronic device, the working principle and the structure thereof are not limited in the present application), a Bios (Basic Input Output System) Controller, and the like, and may be determined according to the system configuration of the electronic device, and the specific type and the composition structure of the control chip 15 are not limited in the present application.
In some embodiments of the present application, the electronic device may further include:
the first temperature sensor is used for detecting the temperature of the hard disk; and/or the number of the groups of groups,
a second temperature sensor for detecting a processor temperature;
the first temperature Sensor is an internal Sensor of the hard disk, such as a PCIe M2 SSD NVMe Sensor or an onboard local Sensor OnboardLocal Sensor deployed in a preset range of the hard disk, and the second temperature Sensor may be an embedded temperature Sensor of the processor or an environmental temperature Sensor deployed around the processor, etc.
It will be appreciated that the structure of the electronic device shown in fig. 1 is not limited to the electronic device in the embodiment of the present application, and in practical applications, the electronic device may include more or fewer components than those shown in fig. 1, or at least one input device such as a touch sensing unit, a keyboard, a mouse, a camera, a microphone, etc. that senses a touch event on a touch display panel; such as at least one output device, such as a display, speaker, vibration mechanism, lamp, etc., and various types of sensors, communication modules, power modules, antennas, etc., are not specifically recited herein.
Referring to fig. 4, a flowchart of an alternative example of a control method of an electronic device according to the present application may be applied to an electronic device, where the product type and the composition structure of the electronic device are not limited, and reference may be made to, but not limited to, the description of the embodiment of the electronic device. The electronic device control method provided in the embodiment of the present application may be specifically executed by the above control chip, as shown in fig. 4, where the electronic device control method may include:
step S11, acquiring running state information of the electronic equipment;
In this embodiment of the present application, in order to solve the operation situation of an electronic device, the operation state of the electronic device may be monitored, and the operation state information of the electronic device may be obtained in real time or periodically, where the operation state information may include a hard disk state parameter, etc., and the operation state information obtained as required may further include other information such as a temperature of a processor CPU, an attitude parameter of the electronic device, etc., and may be determined according to specific application requirements.
The hard disk state parameters may include, but are not limited to, information such as the temperature of the fixed hard disk, the occupancy rate of the hard disk, and the like, and the content and the acquisition mode of the hard disk state parameters are not limited according to the circumstances.
Step S12, detecting that the hard disk state parameters in the running state information meet the hard disk read-write control conditions, and executing a first control rule;
in combination with the description of the corresponding parts of the above embodiments, the present application mainly proposes an electronic device control scheme in order to avoid the larger noise generated by the rapid increase of the rotation speed of the radiator due to the excessive power consumption and the excessive temperature of the CPU when the electronic device is in the hard disk read-write mode, i.e. performs the high-level read-write operation. In order to identify the hard disk read-write mode (or high read-write operation scene), the application does not limit the content contained in the hard disk read-write control condition according to the running state characteristics of the electronic equipment in the hard disk read-write mode, namely the condition that the electronic equipment enters the hard disk read-write mode is indicated, such as the condition that the hard disk occupancy rate is higher, the hard disk temperature continuously rises within a certain period of time, the CPU temperature also continuously rises, and the like.
For hard disk read-write control conditions with different contents, corresponding running state information can be obtained, and the application scene of the hard disk read-write control conditions which is determined specifically according to the change of the hard disk state is mainly described, so that the embodiment of the application can detect whether the hard disk state parameters contained in the running state information meet the hard disk read-write control conditions, if so, the electronic equipment can be considered to be in a hard disk read-write mode, and at the moment, a first control rule can be executed to avoid that the rotating speed of a radiator is increased rapidly and remarkably in the hard disk read-write mode, higher noise is generated, and the user experience is reduced. The specific content of the first control rule is not limited in this application, and reference may be made to, but is not limited to, descriptions of corresponding portions of the following embodiments.
Step S13, detecting that the newly acquired hard disk state parameters do not accord with the hard disk read-write control conditions, and executing a second control rule.
In the practical application of the electronic device, the duration of the hard disk read-write mode is often shorter, when the hard disk read-write mode is determined to be entered, a certain duration is taken to complete the data high-speed read-write operation, the hard disk read-write mode is exited, at this time, the state parameters of the hard disk of the electronic device are greatly changed, the CPU power consumption is reduced in the duration, the parameters such as the hard disk, the CPU temperature and the like are gradually reduced, and the radiator is not required to be operated at a high speed to radiate heat, so that the low-noise requirement can be met.
Therefore, under the condition that the newly acquired hard disk state parameters are detected not to be in accordance with the hard disk read-write control conditions, the electronic equipment can be considered to be not in the hard disk read-write mode, the first control rule can be omitted, the problem of high noise caused by high power consumption and high temperature in the hard disk read-write mode can be solved, at the moment, the second control rule can be executed to ensure that the normal working requirement of the electronic equipment is met, and the content of the second control rule is not limited and can be determined according to the situation.
In summary, in the embodiment of the present application, the control chip may dynamically obtain the running state information of the electronic device, such as the hard disk state parameter, and may consider that the electronic device is in the hard disk read-write mode when detecting that the hard disk state parameter meets the hard disk read-write control condition, so as to avoid that the CPU power consumption is too high at this time to significantly raise the temperature thereof, resulting in the sudden increase of the rotation speed of the radiator to generate larger noise, and the control chip will switch from the second control rule executed in the non-hard disk read-write mode to the first control rule for execution at this time, thereby meeting the high read-write requirement of the user and meeting the low noise requirement at the same time. And after the obtained hard disk state parameters do not accord with the hard disk read-write control conditions, switching to the second control rule to continue execution, thereby meeting the conventional work requirements of the electronic equipment.
Referring to fig. 5, for a flowchart of yet another alternative example of the electronic device control method proposed in the present application, this embodiment may be an alternative refinement implementation of the electronic device control method described in the foregoing embodiment, but is not limited to this refinement method described in this embodiment, and as shown in fig. 5, the method may include:
step S21, acquiring running state information of the electronic equipment;
step S22, detecting whether the occupancy rate of the hard disk contained in the running state information reaches a first scheduling threshold value; if so, executing step S25; if not, go to step S23;
in this embodiment of the present application, the foregoing hard disk state parameters include a hard disk occupancy rate and a hard disk temperature, which are described by taking an example, in a specific detection process, a system of an electronic device may dynamically identify the hard disk occupancy rate through a control chip, and if the currently identified hard disk occupancy rate reaches a first scheduling threshold, for example, a relatively high scheduling threshold such as 100%, 98%, etc., it may be determined that the electronic device is in a hard disk read-write mode at this time, and a control rule executed by the electronic device needs to be adjusted.
Step S23, detecting whether the occupancy rate of the hard disk reaches a second scheduling threshold, if so, entering step S24; if not, executing step S26;
According to the above manner, if the currently identified occupancy rate of the hard disk does not reach the first scheduling threshold, the second control rule may be executed continuously, or other hard disk state parameters may be further combined to identify whether the electronic device enters the hard disk read-write mode more reliably.
Therefore, in this embodiment, when the control chip recognizes that the current occupancy rate of the hard disk does not reach the first scheduling threshold, it may be determined whether the occupancy rate of the hard disk reaches the second scheduling threshold, that is, a value smaller than the first scheduling threshold, such as 90%, the value of the second scheduling threshold is not limited in the present application, if it is detected that the occupancy rate of the hard disk does not reach the second scheduling threshold, it may be considered that the current electronic device does not perform high-speed read-write operation, various operations currently exist in the electronic device, the occupancy rate of the hard disk resource is not too high, intervention on each currently existing process may not be performed, and the control chip may still control normal operation of the electronic device according to the second control rule.
Step S24, detecting whether the temperature of the hard disk contained in the running state information reaches a first temperature threshold value; if so, go to step S25; if not, executing step S26;
Step S25, executing a first control rule;
step S26, executing the second control rule.
If the above description indicates that the occupancy rate of the hard disk reaches the second scheduling threshold, the electronic device may be in the hard disk read-write mode, and at this time, the control chip may combine with other hard disk state parameters to further determine the working mode in which the electronic device is located. Specifically, in the embodiment of the present application, the hard disk state parameter, such as the hard disk temperature, is illustrated as an example, in practical application, the hard disk temperature may be sensed by a temperature Sensor of the hard disk, such as PCIe M2 SSD NVMe Sensor, or may be sensed by a temperature Sensor disposed around the hard disk, such as a system local Sensor Onboard Local Sensor, etc., and the method for obtaining the hard disk temperature is not limited in this application.
According to the embodiment of the application, the temperature value to which the temperature of the hard disk is usually raised can be detected in advance when the electronic equipment is in the hard disk read-write mode, the hard disk temperature critical value which can be used for judging whether the electronic equipment enters the hard disk read-write mode or not is determined through the modes of detecting for a plurality of times, averaging and the like and is recorded as the first temperature threshold value, the acquisition mode of the first temperature threshold value and the numerical value of the first temperature threshold value are not limited, the first temperature threshold values of the hard disks of the electronic equipment with different configurations can be different, and the application is not described in detail herein.
In combination with the analysis, when the control chip determines that the occupancy rate of the hard disk reaches the second scheduling threshold and the temperature of the hard disk reaches the first temperature threshold, the electronic equipment can be more reliably determined to be in the hard disk read-write mode, and in combination with the description of the technical conception of the application, the second control rule executed by the control chip is required to be switched to be executed by the first control rule, so that the problems of high noise and the like caused by controlling the operation of the electronic equipment according to the second control rule in the hard disk read-write mode are solved.
Of course, if the control chip recognizes that the temperature of the hard disk does not reach the first temperature threshold, the electronic device may not enter the hard disk read-write mode, and the second control rule may be continuously executed, so as to ensure normal operation of the electronic device. In still another possible implementation manner, the present application may further combine other operation status information to further determine whether the electronic device enters a hard disk read-write mode, or analyze the hard disk status parameters such as the above-mentioned hard disk occupancy rate, hard disk temperature, etc. through other detection manners (i.e. detection manners different from threshold comparison), which are not described in detail herein.
In still other embodiments of the present application, in the process of identifying whether the electronic device enters the hard disk read-write mode, according to actual needs, the control chip may also directly identify whether the hard disk temperature reaches the first temperature threshold, or reaches the second temperature threshold with a larger value, if so, the electronic device may be considered to enter the hard disk read-write mode, and the first control rule may be executed; if the first control rule is not met, the second control rule is continuously executed, or other running state information is further detected, such as the detection of the occupancy rate of the hard disk, and the like.
It can be seen that, in the process of detecting whether the electronic device enters the hard disk read-write mode, the detection sequence of each running state information (such as the above-mentioned hard disk occupancy rate, the hard disk temperature, etc.) is not limited, and is not limited to the sequence of execution described in the present application, and multiple running state information may also be detected simultaneously, so that multiple obtained detection results are combined to determine whether to execute the first control rule or the second control rule, and the specific implementation process is not detailed in one-to-one.
It can be understood that, whether the first control rule is determined to be executed or the second control rule is determined to be executed, the control chip may still dynamically detect the operation state information of the electronic device in the above manner, for example, detect whether to exit the hard disk read-write mode, so as to determine the control rule to be executed at the subsequent moment, and the specific implementation process is similar, which is not described in detail herein.
In summary, in the embodiment of the present application, the system of the electronic device dynamically identifies the hard disk state parameters such as the occupancy rate of the hard disk, the temperature of the hard disk, and the like through the control chip, and detects whether the hard disk state parameters reach the corresponding threshold value to determine whether the system of the electronic device enters the hard disk read-write mode (i.e., execute the working state of the high-speed read-write operation), if yes, the control chip can adjust the control rule of the electronic device running in the hard disk read-write mode, i.e., switch from the original second control rule to the first control rule for execution, so as to dynamically intervene in the CPU resource scheduling of the electronic device or limit the running speed of the radiator, and the like, and the problem that high noise is easy to generate in the hard disk read-write mode can be effectively solved without additional hardware support, so that the use experience of the electronic device by the user is improved, and the product competitiveness is promoted; after the electronic equipment exits from the hard disk read-write mode, the electronic equipment can still be controlled to normally operate according to the second control rule, and the control mode does not adversely affect the application performance beyond the hard disk read-write mode, so that the control mode can be suitable for various system platforms.
Referring to fig. 6, a flowchart of a further alternative example of the electronic device control method provided in the present application may be a further alternative refinement implementation of the electronic device control method described in the foregoing embodiment, which is different from the implementation method for identifying whether the electronic device enters the hard disk read-write mode described in the foregoing embodiment, but is not limited to the identification manner described in the foregoing embodiment. As shown in fig. 6, the method may include:
Step S31, acquiring operation state information of the electronic equipment, wherein the operation state information comprises hard disk temperature and processor temperature;
in connection with the description of the corresponding parts of the above embodiments, the above operation state information is not limited to the hard disk temperature and the processor temperature, but may also include other hard disk state parameters, or state parameters of other components of the electronic device, etc., and in this embodiment of the present application, how to use the hard disk temperature and the processor temperature to implement the implementation process of the hard disk read-write mode identification is mainly described, so that other operation state information is not described, but other types of operation state information may still be obtained according to application requirements, which is not described in detail herein.
Alternatively, the hard disk temperature and the processor temperature may be sensed by corresponding temperature sensors in the hard disk and the processor, or may be sensed by temperature sensors disposed around the hard disk and the processor, which is not limited by the specific detection method of the hard disk temperature and the processor temperature.
Step S32, acquiring respective temperature change trends of the hard disk temperature and the processor temperature in a first time period;
Step S33, detecting whether the temperature change trend of the hard disk is an ascending trend, if so, entering step S34; if not, executing step S37;
step S34, detecting whether the temperature change trend of the processor is an ascending trend, if so, entering step S35; if not, executing step S37;
step S35, executing a first control rule;
step S36, detecting whether the temperature change trend of the hard disk is a descending trend, if so, entering step S37; if not, continuing to execute the first control rule;
step S37; the second control rule is executed.
In the embodiment of the application, as the electronic equipment enters a hard disk read-write mode, when high-level read-write operation is performed, the hard disk can generate heat to enable the temperature of the hard disk to rise continuously; meanwhile, the temperature of the CPU is continuously increased due to the fact that the CPU executes a plurality of read-write processes, however, in practical application, the duration of the high-speed read-write operation is usually relatively short, such as 10s, and after a period of time, the electronic equipment can resume normal read-write operation (namely non-high-speed read-write operation), and the respective temperatures of the hard disk and the CPU can be gradually reduced to be within a normal temperature range. In general, when the temperatures of the hard disk and the CPU are maintained within the normal temperature range, noise generated by operation of the heat sink can meet the low-noise authentication requirement, and other intervention processing can be omitted.
Therefore, the method and the device can intervene on the working states of corresponding components in the electronic equipment during high-speed read-write operation, so that the electronic equipment can meet the low-noise requirement during the high-speed read-write operation. Specifically, in combination with the above analysis, the embodiment of the present application may detect the temperature change trend of each of the hard disk and the processor in the first duration to determine whether the electronic device enters the hard disk read-write mode, where the first duration may be determined by counting the working duration of the electronic device in the hard disk read-write mode generally, and combining information such as product types and system configuration of the electronic device, for example, average the working durations of each of the multiple scenes obtained by counting to obtain the first duration, and the application does not limit the value of the first duration and the obtaining method thereof.
As described in the foregoing embodiment, when it is detected that the temperature change trend of the hard disk is rising in the first period, that is, the temperature of the hard disk continuously rises in the first period, the electronic device may be considered to enter the hard disk read-write mode, and the first control rule may be directly executed; of course, in order to improve the reliability and accuracy of the identification of the hard disk read-write mode, the embodiment of the application can further detect whether the temperature of the CPU is continuously increased within the corresponding first duration, if so, it can be determined that the electronic device enters the hard disk read-write mode, the control chip switches from the originally executed second control rule to the first control rule for execution, and the application does not limit the contents of the two control rules.
In still other embodiments of the present application, in the process of identifying whether the system enters the hard disk read-write mode, the present application may also be implemented by considering only the temperature variation trend of the hard disk or the CPU of the processor, that is, any obtained temperature variation trend is an ascending trend, and it may be determined that the system enters the hard disk read-write mode, and execute the first control rule; of course, besides the temperature change trend of the two components, the method and the device can also be combined with other running state parameters of the electronic device and/or other identification modes, such as whether the temperature of the hard disk reaches a first temperature threshold, whether the occupancy rate of the hard disk reaches a first scheduling threshold or a second scheduling threshold, and the like, so that the judgment of the hard disk read-write mode of the electronic device is realized, and the method and the device are not described in detail herein.
It should be noted that, if the control chip combines multiple pieces of running state information of the electronic device to implement detection of the hard disk read-write mode, specific detection sequences of the multiple pieces of running state information may not be limited, for example, the steps of detecting the temperature of the hard disk and the temperature of the processor are not limited to the execution sequences described in the steps of this embodiment, and the temperature change trend of the processor may be detected first, and if the detection result is yes, then the temperature change trend of the hard disk may be detected; or, the control chip may detect multiple running state information at the same time, so as to determine whether the electronic device enters the hard disk read-write mode according to multiple detection results, which is not described in detail herein.
In the process of executing the first control rule, the control chip still can continuously and dynamically detect the temperature change trend of the hard disk, if the temperature change trend is changed into the descending trend, the electronic equipment can be considered to finish high-speed read-write operation, the second control rule can be switched to continue to execute, and the normal work of the electronic equipment is ensured. Of course, the present application may also determine whether the electronic device ends the high-speed read-write operation through other operation status information, that is, whether to exit the hard disk read-write mode, so as to determine whether to switch the currently executed control rule, and the detailed implementation process will not be described in detail in this application.
In summary, in the embodiment of the application, through dynamically detecting that the respective temperature change trend of the hard disk and the processor in the electronic device is an ascending trend within the first time, the electronic device can be considered to be performing high-speed read-write operation, the situation that the rotation speed of the radiator is too high to generate larger noise due to the fact that the rotation speed of the radiator is too high according to the second control rule is avoided, and the method and the device are switched to the first control rule for execution, so that the electronic device can meet the low-noise authentication requirement in the hard disk read-write mode, and the use experience of a user on the electronic device is improved.
In combination with the above description of the solutions of the embodiments, the implementation method for determining whether the electronic device enters the hard disk read-write mode according to whether the corresponding hard disk read-write condition is satisfied by dynamically detecting which one or more running state information of the electronic device is described in the present application is not limited, and as shown in the flow chart of fig. 7, the implementation method for detecting the hard disk read-write control condition may include, but is not limited to: detecting whether the occupancy rate of the hard disk reaches a first scheduling threshold; detecting whether the occupancy rate of the hard disk reaches a second scheduling threshold value but does not reach a first scheduling threshold value, and whether the temperature of the hard disk reaches a first temperature threshold value; detecting whether the temperature change trend of the hard disk temperature in the first time period is an ascending trend, and/or whether the temperature change trend of the processor temperature in the first time period is an ascending trend, etc., wherein one or more detection implementations can be combined with detection of other types of running state parameters, etc., and the corresponding detection method can be specifically determined according to the actual requirements of application scenes, and the application is not described in detail one by one.
After completing the detection of whether the electronic device enters the hard disk read-write mode, that is, whether the electronic device is performing the high-speed read-write operation, if the detection result is in the hard disk read-write mode, as shown in fig. 7, implementation manners of executing the first control rule may include, but are not limited to:
mode A1: executing a rotation speed constraint condition of a radiator of the electronic device, wherein the rotation speed constraint condition comprises that the rotation speed of the radiator is not greater than a first rotation speed threshold value;
mode A2: interrupting execution of a processor temperature control strategy of the electronic device, the processor temperature control strategy comprising a positive correlation of a rotational speed of a heat sink of the electronic device and a processor temperature;
mode A3: an interrupt control signal is generated for a processor of the electronic device, and at least part of the read-write process performed by the processor is interrupted in response to the interrupt control signal to reduce the hard disk state parameter.
With respect to the implementation methods for executing the first control rules listed above, in the case that it is determined that the hard disk read-write mode is not entered, the implementation method for executing the second control rule may include the following corresponding implementation methods:
mode B1: prohibiting execution of a rotational speed constraint condition of the radiator;
mode B2: restoring and executing a processor temperature control strategy of the electronic equipment;
Mode B3: the control processor executes each existing read-write process.
Therefore, in combination with the above description of the operation state of the electronic device in the hard disk read-write mode, in order to avoid the problem that the noise is large due to the significant increase of the rotation speed of the radiator when the operation is performed according to the processor temperature control strategy in the high-speed read-write operation process, any one or more of the first control rules of the above manner A1, manner A2, manner A3, and the like may be executed, which is not limited in this application.
For example, if it is determined that the temperature of the hard disk continuously increases and the temperature of the CPU of the processor also continuously increases in the first period, the method A1 may be executed to limit the highest rotation speed of the heat sink of the electronic device, that is, even if the rotation speed of the heat sink needs to be increased to increase the heat dissipation efficiency, the rotation speed that can be increased is not greater than the first rotation speed threshold, so as to solve the problem of high noise caused by the rotation speed of the heat sink being excessively increased, which results in the operation of the heat sink. Accordingly, after determining that the electronic device finishes the high-speed read-write operation, the mode B1 may be executed to restore the normal operation of the radiator, thereby meeting the heat dissipation requirement of the electronic device. It should be noted that, the value of the first rotation speed threshold and the obtaining manner thereof are not limited in this application.
In another possible implementation manner, under the condition that the electronic device executes the high-speed read-write operation according to the above manner, because the duration of the high-speed read-write operation is shorter, the generated high heat generally cannot damage the electronic device, so the application can execute the above manner A2, that is, the radiator can continue to work in an original state, and the heat dissipation is increased without increasing the rotating speed of the radiator, thereby solving the problem of high noise caused by continuing to execute the temperature control strategy of the processor.
In the execution process of the mode A2, as the high-speed read-write operation is finished, the hardware temperature is continuously reduced, and then the mode B2 can be executed, and the processing temperature control strategy of the electronic equipment is recovered, so that the performance of the electronic equipment under the conventional work is ensured; it can be understood that, when the electronic device is in the hard disk read-write mode, other modes other than the mode A2 are executed, and after the electronic device exits from the hard disk read-write mode, a mode corresponding to the first control rule may be executed for the second control rule, which is not described in detail herein.
In another possible implementation manner, under the condition that the electronic device executes the high-speed read-write operation according to the above manner, the embodiment of the application can also reduce the scheduling of continuously requesting resources from the CPU by the hard disk by performing interrupt processing on the read-write process of the CPU, thereby reducing the occupancy rate of the CPU resources, reducing the occupancy rate of the hard disk, improving the noise influence in the read-write mode of the hard disk, and meeting the low-noise authentication requirement. Therefore, after the control chip determines that the electronic device enters the hard disk read-write mode, the mode A3 can be executed to realize the intervention of the occupancy rate of the hard disk, and particularly, at least part of the read-write process executed by the CPU of the processor can be interrupted to reduce the occupancy rate of the hard disk, the temperature of the processor and other running state information, so that the technical problem that the rotation speed of the radiator is obviously increased and higher noise is generated due to the fact that the CPU continues to execute all the read-write processes is solved.
It should be noted that, the specific implementation process of the above mode A3 is not limited in this application. Optionally, according to any one of the implementation manners, after the control chip determines that the electronic device enters the hard disk read-write mode, an interrupt control signal for a processor of the electronic device may be generated according to a preset duty cycle, and at least part of the read-write process executed by the processor is controlled to interrupt the third duration every second duration in response to the interrupt control signal. Taking the square wave interrupt control signal as shown in fig. 8 as an example, the second duration and the third duration may be the same, for example, 1s, etc., or the second duration and the third duration may be different, and the values of the second duration and the third duration are not limited in the present application, and may be determined according to circumstances.
It can be seen that, for each read-write process executed by the processor, the read-write process can be controlled according to the interrupt control signal shown in fig. 8, and in the square wave shown in fig. 8, the duration corresponding to the peak can represent the on time of the CPU of the processor, that is, a second duration; accordingly, the duration corresponding to the trough can represent the closing time of the CPU, namely a third duration, so that in the execution process of the interrupt control signal, in the second duration corresponding to each crest, the read-write process can work normally, and in the third duration corresponding to each trough, the read-write process stops working, so that the number of read-write processes executed by the processor is reduced, the CPU power consumption is reduced, and the high noise generated by the radiator due to the fact that the CPU is continuously heated in a high-speed read-write mode is avoided.
The configuration of the start point and the end point of each second duration and each third duration in the interrupt control signal may be implemented according to factors such as requirements of an application scenario and specific system configuration of the electronic device, and is not limited to the duty ratio of the interrupt control signal shown in fig. 8. Therefore, the CPU occupancy rate adjustment can be dynamically triggered through the set CPU occupancy rate, namely the hard disk occupancy rate is dynamically adjusted, so that the purposes of CPU temperature control and low-noise authentication requirements are achieved.
Based on the above, the present application may further adjust the preset duty ratio according to the matching degree by obtaining the matching degree between the hard disk state parameter and the hard disk read-write control condition, so as to update the interrupt control signal according to the adjusted duty ratio, and further may execute according to the updated interrupt control signal in the subsequent electronic device control process. It can be understood that the higher the obtained matching degree is, the larger the duty ratio after adjustment is, and the duty ratio in this embodiment can represent the ratio of the interrupt duration (such as the third duration) to the total duration, so that the occupation ratio is increased, the interrupt duration can be prolonged, the power consumption of the CPU can be more effectively reduced, the temperature of the CPU is controlled under the high-speed read-write operation, and the reliability of the system is ensured. It should be noted that the implementation of the occupancy ratio determination or adjustment of the interrupt control signal is not limited to the implementation method described above.
Referring to fig. 9, a schematic structural diagram of an alternative example of the electronic device control apparatus provided in the present application, where the apparatus may be applicable to the above control chip, and a specific chip type is not limited, as shown in fig. 9, the apparatus may include:
an information obtaining module 21, configured to obtain operation state information of the electronic device, where the operation state information includes a hard disk state parameter;
the first control module 22 is configured to detect that the hard disk state parameter meets a hard disk read-write control condition, and execute a first control rule;
and the second control module 23 is configured to detect that the newly acquired hard disk state parameter does not conform to the hard disk read-write control condition, and execute a second control rule.
In one possible implementation manner, as shown in fig. 10, the apparatus may further include:
the detecting module 24 is configured to detect whether the hard disk status parameter meets the hard disk read-write control condition.
Specifically, the detection module may include, but is not limited to, the following detection units:
a first detecting unit 241, configured to detect whether the occupancy rate of the hard disk reaches a first scheduling threshold;
a second detecting unit 242, configured to detect whether the occupancy rate of the hard disk reaches a second scheduling threshold, but does not reach the first scheduling threshold, and whether the temperature of the hard disk reaches a first temperature threshold;
A third detecting unit 243, configured to detect whether a temperature variation trend of the hard disk temperature within a first period is an ascending trend;
optionally, in a case where the operation state information includes a processor temperature of the electronic device, the detection module may further include:
the fourth detecting unit 244 is configured to detect whether the temperature change trend of the hard disk temperature and the processor temperature in the first period is an increasing trend.
Based on the above-described embodiments, in one possible implementation, as shown in fig. 10, the first control module 22 may include at least one of the following units:
a first rotation speed control unit 221, configured to execute a rotation speed constraint condition on a heat sink of the electronic device, where the rotation speed constraint condition includes a rotation speed of the heat sink not greater than a first rotation speed threshold; or alternatively, the first and second heat exchangers may be,
the first temperature control unit 222 is configured to interrupt execution of a processor temperature control strategy of the electronic device, where the processor temperature control strategy includes that a rotational speed of a heat sink of the electronic device is positively correlated with a processor temperature, and the second control module 23 may include, but is not limited to, at least one of the following units:
a second rotation speed control unit 231 for prohibiting execution of a rotation speed constraint condition of the radiator;
And the second temperature control unit 232 is configured to resume executing the processor temperature control strategy of the electronic device.
In yet another possible implementation manner, as shown in fig. 10, the first control module 22 may also include:
an interrupt control signal generation unit 223 for generating an interrupt control signal for a processor of the electronic device;
an interrupt control unit 224 for interrupting at least part of the read/write process executed by the processor in response to the interrupt control signal to reduce the hard disk state parameter
Accordingly, the second control module 23 may include:
an interrupt recovery unit 233, configured to control the processor to execute each existing read/write process.
Alternatively, in practical application of the present application, the interrupt control signal generating unit 223 may be specifically configured to generate, according to a preset duty cycle, an interrupt control signal for a processor of the electronic device; accordingly, the interrupt control unit 224 may specifically be configured to control, in response to the interrupt control signal, to interrupt at least a part of the read/write process executed by the processor for a third duration every second duration. But is not limited thereto.
In still other embodiments of the present application, in the foregoing interrupt control scheme, the apparatus may further include:
The matching degree acquisition module is used for acquiring the matching degree of the hard disk state parameters and the hard disk read-write control conditions;
the occupation ratio adjusting module is used for adjusting the preset duty ratio according to the matching degree so as to update the interrupt control signal according to the adjusted duty ratio;
wherein, the higher the matching degree is, the larger the duty ratio after adjustment is.
It should be noted that, regarding the various modules, units, and the like in the foregoing embodiments of the apparatus, the various modules and units may be stored as program modules in a memory, and the processor executes the program modules stored in the memory to implement corresponding functions, and regarding the functions implemented by each program module and the combination thereof, and the achieved technical effects, reference may be made to descriptions of corresponding parts of the foregoing method embodiments, which are not repeated herein.
The application further provides a computer readable storage medium, on which a computer program may be stored, where the computer program may be called and loaded by a processor to implement each step of the electronic device control method described in the foregoing embodiment, and a specific implementation process may refer to descriptions of corresponding parts of the foregoing embodiment, which are not repeated.
Finally, it should be noted that, in the present description, each embodiment is described in a progressive or parallel manner, and each embodiment is mainly described as different from other embodiments, and identical and similar parts between the embodiments are only required to be referred to each other. The device and the electronic equipment disclosed in the embodiments correspond to the method disclosed in the embodiments, so that the description is simpler, and the relevant parts are referred to in the description of the method.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. An electronic device control method, the method comprising:
acquiring operation state information of the electronic equipment, wherein the operation state information comprises hard disk state parameters;
Detecting that the hard disk state parameters accord with hard disk read-write control conditions, and executing a first control rule;
detecting that the newly acquired hard disk state parameter does not accord with the hard disk read-write control condition, and executing a second control rule, wherein the noise generated by executing the first control rule is smaller than the noise generated by executing the second control rule when the electronic equipment accords with the hard disk read-write control condition;
the executing the first control rule includes:
executing a rotation speed constraint condition on a radiator of the electronic device, wherein the rotation speed constraint condition comprises that the rotation speed of the radiator is not greater than a first rotation speed threshold value; or alternatively, the first and second heat exchangers may be,
interrupting execution of a processor temperature control strategy of the electronic device, wherein the processor temperature control strategy comprises positive correlation of the rotating speed of a radiator of the electronic device and the temperature of a processor;
the executing the second control rule includes:
prohibiting execution of a rotational speed constraint of the radiator;
and restoring to execute the processor temperature control strategy of the electronic equipment.
2. The method of claim 1, wherein the detecting whether the hard disk state parameter meets the hard disk read-write control condition includes at least one implementation manner of:
Detecting whether the occupancy rate of the hard disk reaches a first scheduling threshold;
detecting whether the occupancy rate of the hard disk reaches a second scheduling threshold value, but does not reach the first scheduling threshold value, and whether the temperature of the hard disk reaches a first temperature threshold value;
and detecting whether the temperature change trend of the hard disk temperature in the first time period is an ascending trend or not.
3. The method of claim 2, the operational status information further comprising a processor temperature of the electronic device; in the case of detecting whether the trend of temperature change of the hard disk temperature within the first period is an ascending trend, the hard disk read-write control condition further includes:
the temperature change trend of the temperature of the processor in the first duration is an ascending trend.
4. The method according to claim 1 or 2, the executing a first control rule comprising:
generating an interrupt control signal for a processor of the electronic device;
responding to the interrupt control signal, interrupting at least part of the read-write process executed by the processor so as to reduce the state parameter of the hard disk;
the executing the second control rule includes:
and controlling the processor to execute the existing read-write processes.
5. The method of claim 4, the generating an interrupt control signal for a processor of the electronic device, comprising:
Generating an interrupt control signal for a processor of the electronic device according to a preset duty cycle;
said interrupting at least part of the read-write process performed by said processor in response to said interrupt control signal, comprising:
and responding to the interrupt control signal, and controlling at least part of the read-write process executed by the processor to interrupt for a third time period every second time period.
6. The method of claim 5, the method further comprising:
obtaining the matching degree of the hard disk state parameters and the hard disk read-write control conditions;
according to the matching degree, the preset duty ratio is adjusted, so that the interrupt control signal is updated according to the adjusted duty ratio;
wherein, the higher the matching degree is, the larger the duty ratio after adjustment is.
7. An electronic device control apparatus, the apparatus comprising:
the information acquisition module is used for acquiring the running state information of the electronic equipment, wherein the running state information comprises hard disk state parameters;
the first control module is used for detecting that the hard disk state parameters accord with hard disk read-write control conditions and executing a first control rule;
the second control module is used for detecting that the newly acquired hard disk state parameters do not accord with the hard disk read-write control conditions and executing a second control rule, wherein the noise generated by executing the first control rule is smaller than the noise generated by executing the second control rule when the hard disk state parameters accord with the hard disk read-write control conditions;
The executing the first control rule includes:
executing a rotation speed constraint condition on a radiator of the electronic device, wherein the rotation speed constraint condition comprises that the rotation speed of the radiator is not greater than a first rotation speed threshold value; or alternatively, the first and second heat exchangers may be,
interrupting execution of a processor temperature control strategy of the electronic device, wherein the processor temperature control strategy comprises positive correlation of the rotating speed of a radiator of the electronic device and the temperature of a processor;
the executing the second control rule includes:
prohibiting execution of a rotational speed constraint of the radiator;
and restoring to execute the processor temperature control strategy of the electronic equipment.
8. An electronic device comprising a heat sink, a hard disk, a processor, a memory, and a control chip, wherein:
the memory for storing a program for implementing the electronic device control method according to any one of claims 1 to 6;
the control chip is configured to load and execute the program stored in the memory, so as to implement the steps of the electronic device control method according to any one of claims 1 to 6.
9. The electronic device of claim 8, the electronic device further comprising:
the first temperature sensor is used for detecting the temperature of the hard disk; and/or the number of the groups of groups,
A second temperature sensor for detecting a processor temperature;
the first temperature sensor is the internal sensor of the hard disk or an onboard local sensor arranged in a preset range of the hard disk.
CN202011195337.4A 2020-10-30 2020-10-30 Electronic equipment control method and device and electronic equipment Active CN112306806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011195337.4A CN112306806B (en) 2020-10-30 2020-10-30 Electronic equipment control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011195337.4A CN112306806B (en) 2020-10-30 2020-10-30 Electronic equipment control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112306806A CN112306806A (en) 2021-02-02
CN112306806B true CN112306806B (en) 2023-04-28

Family

ID=74333243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011195337.4A Active CN112306806B (en) 2020-10-30 2020-10-30 Electronic equipment control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112306806B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112799498A (en) * 2021-02-07 2021-05-14 联想(北京)有限公司 Control method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572399A (en) * 2015-02-03 2015-04-29 联想(北京)有限公司 Temperature control method and electronic equipment
CN106294080A (en) * 2016-08-05 2017-01-04 联想(北京)有限公司 A kind of information output method and electronic equipment
CN109522176A (en) * 2017-09-20 2019-03-26 阿里巴巴集团控股有限公司 A kind of monitoring method of storage system, device, electronic equipment and storage medium
CN111048138A (en) * 2019-12-22 2020-04-21 北京浪潮数据技术有限公司 Hard disk fault detection method and related device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8635491B2 (en) * 2007-09-28 2014-01-21 Seagate Technology Llc Storage device maintenance in a portable device based on a power event

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572399A (en) * 2015-02-03 2015-04-29 联想(北京)有限公司 Temperature control method and electronic equipment
CN106294080A (en) * 2016-08-05 2017-01-04 联想(北京)有限公司 A kind of information output method and electronic equipment
CN109522176A (en) * 2017-09-20 2019-03-26 阿里巴巴集团控股有限公司 A kind of monitoring method of storage system, device, electronic equipment and storage medium
CN111048138A (en) * 2019-12-22 2020-04-21 北京浪潮数据技术有限公司 Hard disk fault detection method and related device

Also Published As

Publication number Publication date
CN112306806A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
KR101155757B1 (en) Efficiency-based determination of operational characteristics
KR101747308B1 (en) Thermally driven workload scheduling in a heterogeneous multi-processor system on a chip
KR101629879B1 (en) Multicore computer system with cache use based adaptive scheduling
US8304698B1 (en) Thermal throttling of peripheral components in a processing device
US7650517B2 (en) Throttle management for blade system
KR101534450B1 (en) System and method for determining thermal management policy from leakage current measurement
TWI496087B (en) Performance management methods for electronic devices with multiple central processing units
US20060174146A1 (en) Microprocessor performance mode control utilizing sensed temperature as an indication of microprocessor utilization
US11740685B2 (en) Thermal leveling
US10120426B2 (en) Thermal management apparatus and method using dynamic thermal margin, and semiconductor processor device, non-volatile data storage device and access control method using the same
US10651734B2 (en) System and method for robust body braking control to suppress transient voltage overshoot
CN107967224A (en) A kind of method of solid state hard disc improving performance uniformity
US8370674B2 (en) Method and apparatus for reducing server power supply size and cost
US20220326759A1 (en) Method for Adjusting Power of Processor and Apparatus
US9377844B2 (en) Memory refresh rate throttling for saving idle power
CN112306806B (en) Electronic equipment control method and device and electronic equipment
CN107390852B (en) Control method, electronic device and computer readable storage medium
US9116699B2 (en) Memory refresh rate throttling for saving idle power
CN107153592B (en) Electronic device and power management method thereof
US11385906B2 (en) Computer program product and method and apparatus for controlling access to flash storage
US20220012141A1 (en) Solid state drive, electronic device including solid state drive, and method of managing solid state drive
KR102190688B1 (en) Method and system for performing adaptive context switching cross reference to related applications
US20210135460A1 (en) Component throttling power backup device charging system
KR101866681B1 (en) Page control method and apparatus for dynamically controlling page size
US20060069910A1 (en) Configuration aware pre-fetch switch setting

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