CN112306806A - 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
CN112306806A
CN112306806A CN202011195337.4A CN202011195337A CN112306806A CN 112306806 A CN112306806 A CN 112306806A CN 202011195337 A CN202011195337 A CN 202011195337A CN 112306806 A CN112306806 A CN 112306806A
Authority
CN
China
Prior art keywords
hard disk
control
temperature
electronic device
read
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
CN202011195337.4A
Other languages
Chinese (zh)
Other versions
CN112306806B (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 application provides an electronic equipment control method, an electronic equipment control device and electronic equipment, wherein a control chip in the electronic equipment can dynamically acquire running state information of the electronic equipment, such as hard disk state parameters, and the electronic equipment can be considered to be in a hard disk read-write mode under the condition that the hard disk state parameters meet hard disk read-write control conditions, so that the situation that the temperature of a CPU is obviously increased due to overhigh power consumption at the moment and the rotating speed of a radiator is suddenly increased to generate larger noise is avoided, the control chip switches a second control rule executed in a non-hard disk read-write mode to a first control rule to execute at the moment, and meets the requirement of low noise while meeting the requirement of high read-write of a user; and after the acquired hard disk state parameters do not accord with the hard disk read-write control conditions, switching to a second control rule to continue execution, and 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 to the field of computers, and more particularly, to an electronic device control method and apparatus, and an electronic device.
Background
Solid State Disk (SSD) is a hard Disk made of Solid State electronic memory chip array, and has advantages of fast read/write speed, light weight, low energy consumption, small volume, etc. compared with the conventional mechanical hard Disk.
With the popularization of SSDs with M2 interfaces, such as NVMe (Non-Volatile Memory express) pcie (peripheral component Interconnect express) M2 SSD, the data read-write speed is greatly increased, but in the high-speed read-write process of the SSD, the CPU power consumption of the electronic device may be increased, and at this time, in order to avoid damage caused by an excessively high CPU temperature, the system fan speed is often increased to dissipate heat, which may cause the electronic device to generate relatively large noise, and reduce the use experience of the electronic device by the user.
Disclosure of Invention
In view of the above, the present application provides an electronic device control method, including:
acquiring running state information of the electronic equipment, wherein the running state information comprises a hard disk state parameter;
detecting that the hard disk state parameters accord with the hard disk read-write control conditions, and executing a first control rule;
and executing a second control rule when the newly acquired hard disk state parameters are detected not to accord with the hard disk read-write control conditions.
Optionally, the process of detecting whether the hard disk state parameter meets the hard disk read-write control condition includes at least one of the following implementation manners:
detecting whether the occupancy rate of the hard disk reaches a first scheduling threshold value;
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.
Optionally, the operating state information further includes a processor temperature of the electronic device; under the condition of detecting whether the temperature change trend of the hard disk temperature in the first time period is an ascending trend, the hard disk read-write control condition further comprises:
the temperature of the processor changes in a trend to be an ascending trend in the first time period.
Optionally, the executing the first control rule includes:
executing a rotational speed constraint condition on a radiator of the electronic device, wherein the rotational speed constraint condition comprises that the rotational speed of the radiator is not greater than a first rotational speed threshold value; or the like, or, alternatively,
interrupting execution of a processor temperature control strategy of the electronic equipment, wherein the processor temperature control strategy comprises positive correlation between the rotating speed of a radiator of the electronic equipment and the temperature of a processor;
the executing the second control rule includes:
prohibiting execution of a rotational speed constraint of the radiator;
and resuming execution of 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, and interrupting at least part of read-write process executed by the processor 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 ratio;
the responding the interrupt control signal, interrupting at least part of the read-write process executed by the processor, 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 length at intervals of the second time length.
Optionally, the method further includes:
acquiring the matching degree of the hard disk state parameters and the hard disk read-write control conditions;
adjusting the preset duty ratio according to the matching degree so as to update the interruption control signal according to the adjusted duty ratio;
wherein the higher the matching degree, the larger the adjusted duty cycle.
In another aspect, the present application further provides an electronic device control apparatus, including:
the information acquisition module is used for acquiring 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 the 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 another aspect, the present application further provides an electronic device, which includes a heat sink, a hard disk, a processor, a memory, and a control chip, wherein:
the memory is used for storing programs for realizing the electronic equipment control method;
the control chip is used for loading and executing the program stored in the memory so as to realize the steps of the electronic equipment control method.
Optionally, the electronic device further includes:
the first temperature sensor is used for detecting the temperature of the hard disk; and/or the presence of a gas in the gas,
a second temperature sensor for detecting a processor temperature;
the first temperature sensor is the internal sensor of the hard disk, or an airborne local sensor deployed in the preset range of the hard disk.
Therefore, the application provides an electronic device control method, an electronic device control device and an electronic device, wherein a control chip in the electronic device can dynamically acquire running state information of the electronic device, such as hard disk state parameters, and the electronic device can be considered to be in a hard disk read-write mode under the condition that the hard disk state parameters meet hard disk read-write control conditions, so that the situation that the temperature of a CPU is obviously increased due to overhigh power consumption at the moment and the rotating speed of a radiator is suddenly increased to generate large noise is avoided, the control chip switches a second control rule executed in a non-hard disk read-write mode to a first control rule to execute at the moment, and the low noise requirement is met while the high read-write requirement of a user is met; and after the acquired hard disk state parameters do not accord with the hard disk read-write control conditions, switching to a second control rule to continue execution, and 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 needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of a hardware structure of an electronic device suitable for use in the electronic device control method provided in the present application;
FIG. 2 is a diagram illustrating variations in processor power consumption in a high-level read/write mode of an electronic device having a system architecture;
FIG. 3 is a schematic diagram illustrating a variation of processor power consumption in a high-speed read/write mode of an electronic device having another system architecture;
fig. 4 is a schematic flowchart of an alternative example of the electronic device control method proposed in the present application;
fig. 5 is a schematic flowchart of yet another alternative example of the electronic device control method proposed in the present application;
fig. 6 is a schematic flowchart of yet another alternative example of the electronic device control method proposed in the present application;
fig. 7 is a schematic flowchart of yet another alternative example of the electronic device control method proposed in the present application;
FIG. 8 is a schematic diagram illustrating waveforms 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 yet another alternative example of the electronic device control apparatus proposed in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that, for convenience of description, only the portions related to the present application are shown in the drawings. The embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be understood that "system", "apparatus", "unit" and/or "module" as used herein is a method for distinguishing different components, elements, parts or assemblies at different levels. However, other words may be substituted by other expressions if they accomplish the same purpose.
As used in this application and the appended claims, the terms "a," "an," "the," and/or "the" are not intended to be inclusive in the singular, but rather are intended to be inclusive in the plural unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" merely indicate that steps and elements are included which are explicitly identified, that the steps and elements do not form an exclusive list, and that a method or apparatus may include other steps or elements. An element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two. The terms "first", "second" and the like 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 defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
Additionally, flow charts are used herein to illustrate operations performed by systems according to embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed in the exact order in which they are performed. Rather, the various steps may be processed in reverse order or simultaneously. Meanwhile, other operations may be added to the processes, or a certain step or several steps of operations may be removed from the processes.
Referring to fig. 1, a schematic diagram of a hardware structure of an electronic device suitable for the electronic device control method provided in the present application is shown, where the electronic device may include, but is not limited to: personal Computer (PC), netbook, desktop computer, all-in-One (AIO), tiny laptop, etc., the present application does not limit the product type of the electronic device, and the electronic device shown in fig. 1 is only an example and should not bring any limitation to the function and the scope of application 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, wherein:
the number of the heat sink 11, the hard disk 12, the processor 13, the memory 14, and the control chip 15 may be at least one, and the heat sink 11, the hard disk 12, the processor 13, the memory 14, and the control chip 15 may be all connected to a communication bus to implement data communication therebetween.
The heat sink 11 can be used to conduct heat generated during high-speed operation of the CPU and other components of the electronic device, and finally dissipate the heat into the air, so that the temperatures of the components can be controlled within a certain relatively stable range, thereby preventing hardware damage and reduction of the working performance of the components due to overhigh temperature.
As can be seen, the heat sink 11 mainly dissipates heat by means of heat conduction, heat convection, and 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 specifically, the heat sink may include a fan, a heat sink made of a material with high thermal conductivity installed in a specific chip, and the like.
The embodiments of the present application mainly use a passive heat sink, such as a fan, as an example to describe the control method of the electronic device provided in the present application, it can be understood that other types of heat sinks may also participate in the heat dissipation process during the execution of the control method of the electronic device, and the detailed description thereof is omitted herein.
The Hard Disk 12 (HDD) may be the most main storage device of the electronic device, and the application mainly takes 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 expression) pcie (peripheral Component interface expression) M2 SSD, and the application does not detail the specific operating principle of the Solid State Disk.
In a scenario of performing data read-write operation on an electronic device, if the read-write operation is performed on a high-speed read-write storage device such as an SSD, extra pressure is often brought to system resource occupation, for example, as shown in fig. 2 and fig. 3, a schematic diagram of variation of power consumption of a processor of the electronic device with different system architectures in a high read-write mode, in the high read-write mode, no matter what system architecture, the power consumption of a CPU is usually significantly and rapidly increased to a higher level, the CPU resources are occupied more, and the CPU temperature is rapidly and significantly increased.
Under the circumstance, in order to avoid damage and reduction of working performance due to over-high temperature of hardware of the electronic device, the rotation speed of the heat sink 11 is usually adjusted according to a preset CPU temperature control curve, for example, after the temperature of the CPU rises, the rotation speed of the heat sink is increased to improve the heat dissipation efficiency, but this often causes large noise output by the electronic device during high-speed read-write operation, which affects user experience.
Moreover, in the low-noise authentication process of the electronic device, the temperature control adjustment scheme often cannot meet the low-noise requirement. In contrast, an improvement scheme for reducing the highest power consumption of the CPU by adjusting the configuration parameters of the CPU is proposed, but this processing method often reduces the system performance of the electronic device at the same time, and cannot meet the user requirements. Alternatively, restricting the use of SSDs whose parts may affect the CPU power consumption; processing modes such as read-write speed and the like are directly limited, but the expansibility and competitiveness of the electronic equipment are limited, and the exertion of the transmission capability of the SSD is also influenced.
For the above problems, the present application further proposes that it is expected that the execution can be performed according to the existing temperature control scheme in the non-high-speed read-write scene, so as to ensure the normal operation of the electronic device, and meet the use requirements of users, low noise requirements, and the like; under the high-speed read-write scene, the power consumption of the CPU can be reduced by limiting the rotating speed of the radiator, the running quantity of the read-write process of the CPU and the like under the condition of not limiting the use and the transmission rate of the SSD, the low-noise requirement is met, and the competitiveness of the electronic equipment is improved. Therefore, the present application provides a method for controlling an electronic device, and a specific implementation process may refer to the description of a corresponding part in the following embodiments, which is not described herein again.
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. as required, which may be determined according to the functional requirements of the electronic device, and the detailed description of the present application is not provided 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 configured to load and execute the program stored in the memory 14 to implement the steps of the electronic device control method provided by the embodiment of the present application.
In this embodiment of the application, 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 devices, and the memory 14 may be the above hard disk 12, or may be an independent storage device, which is not limited in this application, and may be determined as the case may be.
The control chip 15 may include an EC (embedded Controller), a super Input/Output chip SIO (i.e., a chip providing a control processing function for a standard I/O interface such as a PS/2 keyboard, a PS/2 mouse, a serial COM, a parallel LPT interface, etc. on a main board of the electronic device, and the application does not limit the working principle and structure thereof), a bios (basic Input Output system) Controller, etc., and may be determined according to a system configuration condition of the electronic device, and the application does not limit the specific type and the composition structure of the control chip 15.
In some embodiments presented herein, the electronic device may further include:
the first temperature sensor is used for detecting the temperature of the hard disk; and/or the presence of a gas in the gas,
a second temperature sensor for detecting a processor temperature;
the first temperature Sensor is an internal Sensor of the hard disk, such as PCIe M2 SSD NVMe Sensor or an onboard local Sensor deployed in a preset range of the hard disk, and similarly, the second temperature Sensor may also be a temperature Sensor embedded in the processor, or an ambient temperature Sensor deployed around the second temperature Sensor.
It is understood that the structure of the electronic device shown in fig. 1 does not constitute a limitation of the electronic device in the embodiment of the present application, and in practical applications, the electronic device may include more or less components than those shown in fig. 1, or may combine some components, such as at least one input device, such as a touch sensing unit for sensing a touch event on the touch display panel, a keyboard, a mouse, a camera, a microphone, and the like; such as at least one output device, such as a display, a speaker, a vibration mechanism, a lamp, and various types of sensors, a communication module, a power module, an antenna, and the like, which are not listed herein.
Referring to fig. 4, a flowchart of an alternative example of the electronic device control method proposed by the present application, which may be applied to an electronic device, is shown, and the present application does not limit the product type of the electronic device and the composition structure thereof, and reference may be made to, but not limited to, the above 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, the electronic device control method may include:
step S11, acquiring the running state information of the electronic equipment;
in the embodiment of the application, in order to solve the operation condition of the electronic device, the operation state of the electronic device may be monitored, and the operation state information of the electronic device may be acquired in real time or periodically, at this time, the operation state information may include a hard disk state parameter and the like, the operation state information acquired as required may further include other information such as a temperature of a processor CPU, an attitude parameter of the electronic device and the like, and may be determined according to a specific application requirement.
The hard disk state parameters may include, but are not limited to, the temperature of the fixed hard disk, the hard disk occupancy rate, and other information, and the content included in the hard disk state parameters and the obtaining manner thereof are not limited in the present application, as the case may be.
Step S12, detecting that the hard disk state parameter in the operation state information accords with the hard disk read-write control condition, and executing a first control rule;
in combination with the description of the corresponding part of the above embodiment, the present application provides a control scheme for an electronic device, which is mainly used for avoiding the large noise generated by the fast increase of the rotation speed of the heat sink due to the overhigh CPU power consumption and temperature when the electronic device is in the hard disk read-write mode, i.e., performs high read-write operation. In order to identify the hard disk read-write mode (or high read-write operation scene), the method generates the hard disk read-write control condition in advance 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 hard disk occupancy rate is high, the hard disk temperature continuously rises within a certain time period, the CPU temperature also continuously rises, and the like.
The method comprises the steps that corresponding operation state information can be obtained for hard disk read-write control conditions with different contents, and the application scene of the hard disk read-write control conditions determined according to the state change of the hard disk is mainly explained in the embodiment of the application. The present application does not limit the specific content of the first control rule, and reference may be made to, but not limited to, the description of the corresponding parts of the following embodiments.
And 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 practical application of electronic equipment, the duration of maintaining the hard disk read-write mode is often short, when the hard disk read-write mode is determined to be entered, a certain duration is spent to finish high-speed data read-write operation, the hard disk read-write mode is exited, at the moment, the hard disk state parameters of the electronic equipment are greatly changed, in the period, the power consumption of a CPU is reduced, the temperature of the hard disk and the temperature of the CPU are gradually reduced, a radiator does not need to operate at a high speed to dissipate heat, and the requirement of low noise can be met.
Therefore, when the electronic equipment detects that the newly acquired state parameters of the hard disk do not accord with the read-write control conditions of the hard disk, the electronic equipment can be considered not to be in the read-write mode of the hard disk, the first control rule can be not executed any more, and the problem of high noise caused by high power consumption and high temperature in the read-write mode of the hard disk can be solved.
To sum up, in the embodiment of the present application, the control chip may dynamically obtain operating state information of the electronic device, such as a hard disk state parameter, and when it is detected that the hard disk state parameter satisfies a hard disk read-write control condition, the electronic device may be considered to be in a hard disk read-write mode, and in order to avoid that the CPU power consumption is too high at this time to significantly increase the temperature thereof, which results in a sudden increase in the rotation speed of the heat sink and generation of large noise, the control chip switches the second control rule executed in the non-hard disk read-write mode to the first control rule execution at this time, and satisfies the low noise requirement while satisfying the high read-write requirement of the user; and after the acquired hard disk state parameters do not accord with the hard disk read-write control conditions, switching to a second control rule to continue execution, and meeting the conventional work requirements of the electronic equipment.
Referring to fig. 5, a schematic flow chart of yet another optional example of the electronic device control method proposed in the present application, where this embodiment may be an optional detailed implementation of the electronic device control method described in the foregoing embodiment, but is not limited to the detailed method described in this embodiment, and as shown in fig. 5, the method may include:
step S21, acquiring the running state information of the electronic equipment;
step S22, detecting whether the hard disk occupancy rate contained in the running state information reaches a first scheduling threshold value; if so, go to step S25; if not, go to step S23;
in the embodiment of the present application, the hard disk state parameters include an occupancy rate of a hard disk and a temperature of the hard disk as an example, in a specific detection process, a system of the electronic device may dynamically identify the occupancy rate of the hard disk through the control chip, and if the current identified occupancy rate of the hard disk reaches a first scheduling threshold, such as a relatively high scheduling threshold of 100%, 98%, and the like, 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, where the specific value of the first scheduling threshold is not limited.
Step S23, detecting whether the occupancy rate of the hard disk reaches a second scheduling threshold, if yes, entering step S24; if not, go to step S26;
according to the above manner, if the currently identified hard disk occupancy rate does not reach the first scheduling threshold, the second control rule may be continuously executed, and it may also be further combined with other hard disk status parameters to more reliably identify whether the electronic device enters the hard disk read-write mode.
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 determine whether the current occupancy rate of the hard disk reaches the second scheduling threshold, that is, a value smaller than the first scheduling threshold, for example, 90%, and the like.
Step S24, detecting whether the hard disk temperature contained in the operation state information reaches a first temperature threshold value; if yes, go to step S25; if not, go to step S26;
step S25, executing a first control rule;
in step S26, the second control rule is executed.
As described above, if it is detected that the hard disk occupancy rate 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 further determine the operating mode of the electronic device by combining with other hard disk state parameters. Specifically, the embodiment of the present application describes a hard disk state parameter, which is a hard disk temperature, as an example, in practical applications, the hard disk temperature may be obtained by sensing a temperature Sensor carried by a hard disk, such as PCIe M2 SSD NVMe Sensor, or by sensing a temperature Sensor disposed around the hard disk, such as an online Local Sensor of a system Local Sensor, and the present application does not limit an obtaining manner of the hard disk temperature.
According to the embodiment of the application, the temperature value which can be generally increased by the hard disk temperature when the electronic equipment is in the hard disk read-write mode can be detected in advance, the hard disk temperature critical value which can be used for judging whether the electronic equipment enters the hard disk read-write mode is determined by detecting for many times, taking an average value and the like, and is recorded as the first temperature threshold value.
In combination with the above analysis, the control chip may more reliably determine that the electronic device is in the hard disk read-write mode when determining 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, and in combination with the above description of the technical concept of the present application, the present application needs to switch the second control rule executed by the control chip to the first control rule for execution, so as to solve the problems of high noise and the like caused by controlling the electronic device to operate according to the second control rule in the hard disk read-write mode.
Certainly, if the control chip recognizes that the temperature of the hard disk does not reach the first temperature threshold, it may be determined that the electronic device does not enter the hard disk read-write mode, and the second control rule may be continuously executed to ensure that the electronic device operates normally. In yet another possible implementation manner, the present application may further combine with other operation status information to further determine whether the electronic device enters the hard disk read-write mode, or analyze the hard disk status parameters such as the hard disk occupancy rate and the hard disk temperature in another detection manner (i.e., a detection manner different from the threshold comparison), which is not described in detail herein.
In still other embodiments provided by the 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 temperature of the hard disk reaches the first temperature threshold, or reaches the second temperature threshold with a larger value, and if so, it may be considered that the electronic device enters the hard disk read-write mode, and the first control rule may be executed; if not, the second control rule is continuously executed, or other operation state information is further detected, such as the above detection of the hard disk occupancy rate.
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 piece of operation state information (such as the above-mentioned hard disk occupancy rate, the hard disk temperature, and the like) is not limited, and is not limited to the sequential execution sequence described above in the present application, and multiple pieces of operation state information may also be simultaneously detected, so that the first control rule or the second control rule is determined to be executed by combining the obtained multiple detection results, and the specific implementation process of the present application is not described in detail one by one.
It can be understood that, no matter in the process of determining to execute the first control rule or in the process of determining to execute the second control rule, the control chip may still continue to dynamically detect the operating state information of the electronic device according to the above manner, for example, detect whether to exit from the hard disk read-write mode, so as to determine the control rule to be executed at a subsequent time.
In summary, in the embodiment of the present application, a system of an electronic device dynamically identifies hard disk state parameters such as an occupancy rate of a hard disk, a temperature of the hard disk, and detects whether the hard disk state parameters reach a corresponding threshold, so as to determine whether the system of the electronic device enters a hard disk read-write mode (i.e., a working state of executing a high-speed read-write operation), if so, a control chip may adjust a control rule of the electronic device running in the hard disk read-write mode, that is, switch from an original second control rule to a first control rule to execute, dynamically intervene in CPU resource scheduling of the electronic device or limit a running speed of a heat sink, and the like, without additional hardware support, so that a problem that high noise is easily generated in the hard disk read-write mode can be effectively solved, user experience of the electronic device; and after the electronic equipment exits 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 can not cause adverse effects on application performance outside the hard disk read-write mode, so that the electronic equipment can be suitable for various types of system platforms.
Referring to fig. 6, which is a schematic flow chart of yet another optional example of the electronic device control method provided in the present application, this embodiment may be a further optional detailed implementation scheme of the electronic device control method described in the foregoing embodiment, and 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 this embodiment. As shown in fig. 6, the method may include:
step S31, obtaining the running state information of the electronic device, wherein the running state information comprises the temperature of the hard disk and the temperature of the processor;
in combination with the description of the corresponding part of the above embodiment, the above operation state information is not limited to the temperature of the hard disk and the temperature of the processor, and may also include other state parameters of the hard disk, or state parameters of other components of the electronic device, etc. in the embodiment of the present application, how to implement the process of identifying the hard disk read/write mode by using the temperature of the hard disk and the temperature of the processor 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 the application requirements, and the embodiment of the present application is not described in detail herein.
Optionally, the hard disk temperature and the processor temperature may be obtained by sensing with a temperature sensor inside the corresponding hard disk and the processor, or by sensing with a temperature sensor disposed around the hard disk and the processor, and the specific detection method of the hard disk temperature and the processor temperature is not limited in the present application.
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 variation trend of the hard disk is an ascending trend, if so, entering step S34; if not, go to step S37;
step S34, detecting whether the temperature variation trend of the processor is an ascending trend, if yes, entering step S35; if not, go to step S37;
step S35, executing a first control rule;
step S36, detecting whether the temperature variation trend of the hard disk is a descending trend, if yes, 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 read-write operation is carried out, the hard disk heats and the temperature of the hard disk rises continuously; meanwhile, the temperature of the processor CPU is also heated to continuously increase due to the execution of multiple read-write processes, but in practical applications, the duration of such high read-write operation is often short, for example, 10s, and after a period of time, the electronic device can resume normal read-write operation (i.e., non-high-speed read-write operation), and the respective temperatures of the hard disk and the CPU gradually decrease to within a normal temperature range. In general, when the temperatures of the hard disk and the CPU are maintained within normal ranges, the noise generated by the operation of the heat sink often meets the low-noise certification requirement, and no other intervention is required.
Therefore, the application can intervene in the working state of the corresponding component in the electronic equipment during the high-degree read-write operation, so that the electronic equipment can meet the low-noise requirement during the high-degree read-write operation. Specifically, in combination with the above analysis, the embodiment of the present application may detect the temperature variation trend of the hard disk and the processor in the first time period, to determine whether the electronic device enters the hard disk read-write mode, where the first time period may be determined by counting the working time period of the electronic device in the hard disk read-write mode, and combining information of the product type and system configuration of the electronic device, for example, averaging the respective working time periods obtained in a plurality of statistical scenes, to obtain the first time period, and the present application does not limit the value of the first time period and the obtaining method thereof.
As described in the steps of the above embodiment, when it is detected that the temperature variation trend of the hard disk is rising within the first time period, that is, the temperature of the hard disk continuously rises within the first time period, it may be considered that the electronic device enters the hard disk read-write mode, and the first control rule may be directly executed; certainly, in order to improve the reliability and accuracy of the identification of the hard disk read-write mode, the embodiment of the present application may further detect whether the CPU temperature continuously rises within the corresponding first duration, and if so, it may be determined that the electronic device enters the hard disk read-write mode, and the control chip switches the originally executed second control rule to the first control rule for execution, and the present application does not limit the contents of the two control rules.
In still other embodiments provided by 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 only considering the temperature change trend of the hard disk or the CPU of the processor, that is, any obtained temperature change trend is an increasing trend, and it may be determined to enter the hard disk read-write mode, and execute the first control rule; of course, in addition to the temperature variation trends of the two components, the determination of the hard disk read-write mode of the electronic device may be implemented by combining other operation state parameters and/or other identification modes of the electronic device, such as whether the hard disk temperature reaches the first temperature threshold, whether the hard disk occupancy rate reaches the first scheduling threshold or the second scheduling threshold, and the like, which is not described in detail herein.
It should be noted that, if the control chip is combined with a plurality of pieces of operating state information of the electronic device to implement the detection of the hard disk read-write mode, the specific detection sequence of the plurality of pieces of operating state information may not be limited, such as the detection steps of the hard disk temperature and the processor temperature, and is not limited to the execution sequence described in the above steps in this embodiment, the temperature change trend of the processor may also be detected first, and the temperature change trend of the hard disk is detected again when the detection result is yes; or, the control chip may also detect a plurality of operation status information at the same time, so as to determine whether the electronic device enters the hard disk read-write mode according to a plurality of detection results, which is not described in detail herein.
In the process of executing the first control rule, the control chip still continues to dynamically detect the temperature change trend of the hard disk, if the temperature change trend is changed into a descending trend, the electronic equipment can be considered to finish high-speed reading and writing operation, and can be switched to the second control rule to continue executing, so that the normal work of the electronic equipment is ensured. Of course, the present application may also determine whether the electronic device finishes the high-speed read-write operation, that is, whether to exit the hard disk read-write mode, to determine whether to switch the currently executed control rule, through other operation state information.
In summary, in the embodiment of the present application, by dynamically detecting that the respective temperature variation trends of the hard disk and the processor in the electronic device are rising trends in a first time period, it can be considered that the electronic device is performing high-speed read-write operation, and it is avoided that a large noise is generated due to an excessively high rotation speed of the heat sink according to the second control rule.
In combination with the above descriptions of the solutions of the embodiments, the present application does not limit the implementation method for determining whether the electronic device enters the hard disk read-write mode according to which one or more kinds of operation state information of the electronic device is dynamically detected and whether the corresponding hard disk read-write condition is satisfied, as shown in the flowchart 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 value; 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; whether the temperature change trend of the temperature of the hard disk in the first time period is an ascending trend or not and/or whether the temperature change trend of the temperature of the processor in the first time period is an ascending trend or not are detected, one or more combinations of the detection implementation modes can be combined even with detection of other types of running state parameters and the like, and the corresponding detection method can be determined according to actual requirements of application scenes, and the detailed description is omitted.
After the detection of whether the electronic device enters the hard disk read-write mode, that is, whether the high-speed read-write operation is being performed, is completed in the above manner, if the detection result is that the electronic device is in the hard disk read-write mode, as shown in fig. 7, the implementation manner of executing the first control rule may include, but is not limited to:
mode a 1: executing a rotational speed constraint condition on a radiator of the electronic device, wherein the rotational speed constraint condition comprises that the rotational speed of the radiator is not greater than a first rotational speed threshold value;
mode a 2: interrupting execution of a processor temperature control strategy of the electronic equipment, wherein the processor temperature control strategy comprises positive correlation between the rotating speed of a radiator of the electronic equipment and the temperature of the processor;
mode a 3: generating an interrupt control signal aiming at a processor of the electronic equipment, and interrupting at least part of read-write process executed by the processor in response to the interrupt control signal so as to reduce the state parameter of the hard disk.
Compared with the above listed implementation methods for executing the first control rule, the implementation method for executing the second control rule in the hard disk read-write mode may include the following corresponding implementation modes:
mode B1: prohibiting execution of a rotational speed constraint of the radiator;
mode B2: restoring to execute a processor temperature control strategy of the electronic equipment;
mode B3: the control processor executes the existing read and write processes.
Therefore, in combination with the above description of the operating state of the electronic device in the hard disk read/write mode, in order to avoid the problem that when the electronic device is executed according to the temperature control strategy of the processor during the high-speed read/write operation, the noise is large due to the fact that the rotation speed of the heat sink is significantly increased in order to reduce the temperature of the CPU, the present application may execute any one or more of the first control rules of the above-mentioned manner a1, manner a2, manner A3, and the like, which is not limited by the present application.
For example, if it is determined that the temperature of the hard disk continues to rise for the first time period and the temperature of the CPU of the processor also continues to rise, the method a1 may be implemented to limit the maximum 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 improve 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 fact that the rotation speed of the heat sink is increased too high to inform the operation of the heat sink. Accordingly, after it is determined that the electronic device finishes the high-speed read/write operation, the above-mentioned method B1 may be performed to resume normal operation of the heat sink, so as to meet the heat dissipation requirement of the electronic device. It should be noted that the present application does not limit the value of the first rotation speed threshold and the obtaining manner thereof.
In yet another possible implementation manner, in the case that it is determined that the electronic device performs the high-speed read/write operation in the foregoing manner, since the duration of the high-speed read/write operation is short, the generated high heat quantity will not damage the electronic device, so the present application may also perform the foregoing manner a2, that is, the heat sink may continue to operate in an original state, and the heat dissipation is increased without increasing the rotation speed of the heat sink, thereby solving the problem of high noise caused by continuing to perform the processor temperature control policy.
In the execution process of the mode A2, the hardware temperature will continuously drop along with the end of the high-speed read-write operation, and then the mode B2 can be executed to recover the processing temperature control strategy of the electronic equipment so as to ensure the performance of the electronic equipment under the conventional work; it can be understood that, when the electronic device is in the hard disk read-write mode, in addition to the execution mode a2, other modes are also executed, and after the hard disk read-write mode is exited, for the second control rule, a mode corresponding to the first control rule may be executed, which is not described in detail herein.
In another possible implementation manner, in the case that it is determined that the electronic device executes the high-speed read-write operation in the above manner, the embodiment of the present application may further perform interrupt processing on the CPU read-write process to reduce the scheduling of the hard disk continuously asking for the resource from the CPU, thereby reducing the CPU resource occupancy rate, reducing the hard disk occupancy rate, achieving improvement of noise influence in the hard disk read-write mode, and meeting the requirement of low-noise authentication. Therefore, after the control chip determines that the electronic device enters the hard disk read-write mode, the mode A3 can be executed to intervene the hard disk occupancy rate, and specifically, at least part of the read-write process executed by the CPU of the processor can be interrupted to reduce the running state information such as the hard disk occupancy rate, the hard disk temperature and the processor temperature, so that the technical problems that the rotating speed of the radiator is obviously increased and high noise is generated due to the fact that the CPU continues to execute all the read-write processes are solved.
It should be noted that, the present application does not limit the specific implementation process of the above-mentioned mode a 3. Optionally, according to any of the foregoing implementation manners, after determining that the electronic device enters the hard disk read-write mode, the control chip may generate an interrupt control signal for a processor of the electronic device according to a preset duty ratio, and control at least part of the read-write process executed by the processor to interrupt for a third duration at intervals of the second duration in response to the interrupt control signal. Taking the square wave interrupt control signal shown in fig. 8 as an example, the second duration and the third duration may be the same, such as 1s, or they may be different, and the present application does not limit the values of the second duration and the third duration, which may be determined according to the situation.
Therefore, for each read-write process executed by the processor, the control can be performed according to the interrupt control signal shown in fig. 8, and in the square wave shown in fig. 8, the time length corresponding to the peak can represent the CPU on time of the processor, that is, a second time length; correspondingly, the time length corresponding to the wave trough can represent the closing time of the CPU, namely a third time length, so that in the execution process of the interrupt control signal, the read-write process can work normally in the second time length corresponding to each wave crest, and the read-write process stops working in the third time length corresponding to each wave trough, so that the number of the read-write processes executed by the processor is reduced, the power consumption of the CPU is reduced, and the phenomenon that the CPU is continuously heated in a high-speed read-write mode to cause high noise generated by the radiator is avoided.
The configuration of the starting point and the ending point of each second duration and each third duration in the interrupt control signal may be implemented according to the requirements of the application scenarios and the 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 method and the device can dynamically trigger the CPU occupancy rate adjustment through the set CPU occupancy rate, namely dynamically adjust the hard disk occupancy rate, and further achieve the purposes of CPU temperature control and meeting the low-noise authentication requirement.
Based on this, the method and the device can also adjust the preset duty ratio according to the matching degree by obtaining the matching degree of the hard disk state parameters and the hard disk read-write control conditions, so as to update the interrupt control signal according to the adjusted duty ratio, and further can execute the interrupt control signal 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 adjusted duty ratio is, the duty ratio in this embodiment may represent a ratio of the interrupt duration (e.g., the third duration) to the total duration, so that the occupancy ratio is increased, the interrupt duration may be prolonged, the CPU power consumption may be reduced more effectively, the CPU temperature is controlled under the high-speed read-write operation, and the system reliability is ensured. It should be noted that the implementation manner of determining or adjusting the occupancy ratio 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 applied to the control chip, and a specific chip type is not limited, as shown in fig. 9, the apparatus may include:
the information acquisition module 21 is configured to acquire operating state information of the electronic device, where the operating 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 execute a second control rule when detecting that the newly acquired hard disk state parameter does not conform to the hard disk read-write control condition.
In a possible implementation manner, as shown in fig. 10, the apparatus may further include:
and the detection module 24 is configured to detect whether the hard disk state parameter meets a 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 hard disk occupancy rate 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 the first time period is an increasing trend;
optionally, when the running state information includes a processor temperature of the electronic device, the detecting module may further include:
a fourth detecting unit 244, configured to detect whether the temperature change trends of the hard disk temperature and the processor temperature in the first time period are both rising trends.
Based on the above-described embodiments, in one possible implementation manner, 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 radiator of the electronic device, where the rotation speed constraint condition includes that a rotation speed of the radiator is not greater than a first rotation speed threshold; or the like, or, alternatively,
the first temperature control unit 222 is configured to interrupt execution of a processor temperature control strategy of the electronic device, 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 the rotation speed constraint condition of the radiator;
and a second temperature control unit 232, configured to resume executing the processor temperature control policy 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, configured to interrupt at least a part of the read/write process executed by the processor in response to the interrupt control signal, so as to reduce the hard disk state parameter
Accordingly, the second control module 23 may include:
and an interrupt recovery unit 233, configured to control the processor to execute existing read and write processes.
Optionally, in practical application of the present application, the interrupt control signal generating unit 223 may be specifically configured to generate an interrupt control signal for a processor of the electronic device according to a preset duty ratio; accordingly, the interrupt control unit 224 may be specifically configured to respond to the interrupt control signal, and control at least a part of the read/write process executed by the processor to be interrupted for a third time period at intervals of the second time period. But is not limited thereto.
In still other embodiments presented in this application, in the above-mentioned 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 occupancy 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, the larger the adjusted duty cycle.
It should be noted that, various modules, units, and the like in the embodiments of the foregoing apparatuses may be stored in the memory as program modules, and the processor executes the program modules stored in the memory to implement corresponding functions, and for the functions implemented by the program modules and their combinations and the achieved technical effects, reference may be made to the description of corresponding parts in the embodiments of the foregoing methods, which is not described in detail in this embodiment.
The present 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 embodiments, and a specific implementation process may refer to descriptions of corresponding parts in the foregoing embodiments and is not described in detail.
Finally, it should be noted that, in the present specification, the embodiments are described in a progressive or parallel manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. The device and the electronic equipment disclosed by the embodiment correspond to the method disclosed by the embodiment, so that the description is relatively simple, and the relevant points can be referred to the method part for description.
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 (10)

1. An electronic device control method, the method comprising:
acquiring running state information of the electronic equipment, wherein the running state information comprises a hard disk state parameter;
detecting that the hard disk state parameters accord with the hard disk read-write control conditions, and executing a first control rule;
and executing a second control rule when the newly acquired hard disk state parameters are detected not to accord with the hard disk read-write control conditions.
2. The method of claim 1, wherein the process of detecting whether the state parameter of the hard disk meets the read-write control condition of the hard disk comprises at least one of the following implementation manners:
detecting whether the occupancy rate of the hard disk reaches a first scheduling threshold value;
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.
3. The method of claim 2, the operational status information further comprising a processor temperature of the electronic device; under the condition of detecting whether the temperature change trend of the hard disk temperature in the first time period is an ascending trend, the hard disk read-write control condition further comprises:
the temperature of the processor changes in a trend to be an ascending trend in the first time period.
4. The method of claim 1 or 2, the executing a first control rule comprising:
executing a rotational speed constraint condition on a radiator of the electronic device, wherein the rotational speed constraint condition comprises that the rotational speed of the radiator is not greater than a first rotational speed threshold value; or the like, or, alternatively,
interrupting execution of a processor temperature control strategy of the electronic equipment, wherein the processor temperature control strategy comprises positive correlation between the rotating speed of a radiator of the electronic equipment and the temperature of a processor;
the executing the second control rule includes:
prohibiting execution of a rotational speed constraint of the radiator;
and resuming execution of the processor temperature control strategy of the electronic equipment.
5. The method of 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, and interrupting at least part of read-write process executed by the processor 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.
6. The method of claim 5, 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 ratio;
the responding the interrupt control signal, interrupting at least part of the read-write process executed by the processor, 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 length at intervals of the second time length.
7. The method of claim 6, further comprising:
acquiring the matching degree of the hard disk state parameters and the hard disk read-write control conditions;
adjusting the preset duty ratio according to the matching degree so as to update the interruption control signal according to the adjusted duty ratio;
wherein the higher the matching degree, the larger the adjusted duty cycle.
8. An electronic device control apparatus, the apparatus comprising:
the information acquisition module is used for acquiring 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 the 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.
9. 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 7;
the control chip is used for loading and executing the program stored in the memory so as to realize the steps of the electronic equipment control method according to any one of claims 1 to 7.
10. The electronic device of claim 9, further comprising:
the first temperature sensor is used for detecting the temperature of the hard disk; and/or the presence of a gas in the gas,
a second temperature sensor for detecting a processor temperature;
the first temperature sensor is the internal sensor of the hard disk, or an airborne local sensor deployed in the 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 true CN112306806A (en) 2021-02-02
CN112306806B 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)

Cited By (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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090089603A1 (en) * 2007-09-28 2009-04-02 Seagate Technology Llc Storage device maintenance in a portable device based on a power event
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090089603A1 (en) * 2007-09-28 2009-04-02 Seagate Technology Llc Storage device maintenance in a portable device based on a power event
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

Cited By (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

Also Published As

Publication number Publication date
CN112306806B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
KR101747308B1 (en) Thermally driven workload scheduling in a heterogeneous multi-processor system on a chip
US9360907B2 (en) System and method for adaptive thermal management in a portable computing device
EP2758852B1 (en) System and method for managing thermal energy generation in a heterogeneous multi-core processor
EP3129854B1 (en) Energy efficiency aware thermal management in a multi-processor system on a chip
TWI496087B (en) Performance management methods for electronic devices with multiple central processing units
US8942857B2 (en) Method and system for thermal load management in a portable computing device
JP5361977B2 (en) Method and apparatus for dynamic temperature control
KR101534450B1 (en) System and method for determining thermal management policy from leakage current measurement
JP5189921B2 (en) Computer heat dissipation system
US9671839B2 (en) Information handling system dynamic acoustical management
US8996902B2 (en) Modal workload scheduling in a heterogeneous multi-processor system on a chip
US11550382B2 (en) Power-subsystem-monitoring-based graphics processing system
US20060174146A1 (en) Microprocessor performance mode control utilizing sensed temperature as an indication of microprocessor utilization
US20130090888A1 (en) System and method for proximity based thermal management of mobile device
JP2007233782A (en) Control method for heating value, and computer
US8370674B2 (en) Method and apparatus for reducing server power supply size and cost
CN112306806A (en) Electronic equipment control method and device and electronic equipment
US20110225593A1 (en) Interface-based environmentally sustainable computing

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