CN111142644A - Hard disk operation control method and device and related components - Google Patents

Hard disk operation control method and device and related components Download PDF

Info

Publication number
CN111142644A
CN111142644A CN201911411051.2A CN201911411051A CN111142644A CN 111142644 A CN111142644 A CN 111142644A CN 201911411051 A CN201911411051 A CN 201911411051A CN 111142644 A CN111142644 A CN 111142644A
Authority
CN
China
Prior art keywords
hard disk
hard
power consumption
disks
controlling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911411051.2A
Other languages
Chinese (zh)
Inventor
唐传贞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201911411051.2A priority Critical patent/CN111142644A/en
Publication of CN111142644A publication Critical patent/CN111142644A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Power Sources (AREA)

Abstract

The application discloses a hard disk operation control method, a device, an electronic device and a computer readable storage medium, comprising: dividing all hard disks in a storage server to obtain N hard disk areas, wherein each hard disk area comprises M hard disks; when the storage server is started, forbidding all hard disks to be powered on until the upper-layer software normally runs; and sequentially executing the following operations on each hard disk area through upper-layer software: controlling each hard disk in the hard disk area to be powered on; and after the electrification is finished, controlling each hard disk of the hard disk area to operate in a low power consumption mode. This application can guarantee when the hard disk to among the current hard disk region is gone up the electricity, the hard disk in other hard disk regions does not start or is in the low-power consumption mode, and the electricity makes temperature lower in the server complete machine on the hard disk subregion, and the fan moves under the low-speed mode, reduces the fan consumption, guarantees that the server complete machine is in the low-power consumption mode to reduce cost, reduce the fault rate of hard disk simultaneously to a certain extent, improves product quality and product competitiveness.

Description

Hard disk operation control method and device and related components
Technical Field
The present disclosure relates to the field of storage servers, and in particular, to a method and an apparatus for controlling hard disk operation, and related components.
Background
As cloud computing continues to evolve, more and more internet operators use high-density storage servers. The server is characterized in that the density of the hard disks is high, the capacity of the hard disks of the whole server is large, meanwhile, the power consumption is relatively large, for example, a 4U100 type computer is used, the power consumption of 100 hard disks under the normal working condition reaches over 1000W, and in addition, the power consumption of a fan and the peripheral design required by the heat dissipation of 100 hard disks is increased, and the power consumption of the whole server is close to 2000W. The electricity charge of a whole server per year reaches more than 17000 yuan, and when 100 similar servers are arranged in one machine room, the electricity charge per year reaches more than 170 ten thousand, and the cost is extremely high.
After the existing high-density storage server is started, the hard disks in the whole server are controlled to be powered on, each hard disk is in a normal running state after being powered on, the power consumption of the hard disks is high, the rotating speed of a fan is kept in a high rotating speed mode, and the power consumption of the fan is also kept in a high power consumption mode, so that the whole server is high in power consumption and high in cost, in addition, the life cycle of the hard disks is shortened under the long-time operation, the failure rate of the hard disks is increased, and the product quality and the product competitiveness are reduced.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a hard disk operation control method, a hard disk operation control device, electronic equipment and a computer readable storage medium, when a hard disk in a current hard disk area is powered on, hard disks in other hard disk areas are not started or are in a low power consumption mode, the temperature in the whole server is lower due to the fact that the hard disk areas are powered on, a fan operates in a low rotating speed mode, the power consumption of the fan is reduced, the whole server is guaranteed to be in the low power consumption mode, the cost is reduced, meanwhile, the fault rate of the hard disks is reduced to a certain extent, and the product quality and the product competitiveness are improved.
In order to solve the above technical problem, the present application provides a hard disk operation control method, including:
dividing all hard disks in a storage server to obtain N hard disk areas, wherein each hard disk area comprises M hard disks, and N and M are positive integers;
when the storage server is started, forbidding all the hard disks to be powered on until the upper-layer software normally runs;
sequentially executing the following operations on each hard disk region through the upper layer software:
controlling each hard disk in the hard disk area to be powered on;
and after the electrification is finished, controlling each hard disk of the hard disk area to operate in a low power consumption mode.
Preferably, the hard disk operation control method further includes:
receiving a user instruction, wherein the user instruction comprises hard disk information;
and awakening the target hard disk corresponding to the hard disk information so as to operate the target hard disk.
Preferably, after controlling each hard disk in the hard disk region to be powered on, the hard disk operation control method further includes:
judging whether each hard disk in the hard disk area is in place;
and if so, judging that the power-on is finished.
Preferably, the process of prohibiting all the hard disks from being powered on specifically includes:
forbidding all the hard disks to be powered on through the CPLD;
correspondingly, the process of controlling the power-on of each hard disk in the hard disk area specifically includes:
and controlling each hard disk in the hard disk area to be powered on through the CPLD.
Preferably, the process of controlling each hard disk of the hard disk area to operate in the low power consumption mode specifically includes:
controlling each hard disk of the hard disk area to operate in a low power consumption mode through an SAS control chip;
correspondingly, the process of waking up the target hard disk corresponding to the hard disk information specifically includes:
and awakening the target hard disk corresponding to the hard disk information through the SAS control chip.
Preferably, the process of dividing all the hard disks in the storage server specifically includes:
acquiring the overall power consumption of the storage server;
and dividing all hard disks in the storage server according to the overall power consumption of the storage server.
In order to solve the above technical problem, the present application further provides a hard disk operation control device, including:
the dividing module is used for dividing all hard disks in the storage server to obtain N hard disk areas, each hard disk area comprises M hard disks, and N and M are positive integers;
the monitoring module is used for forbidding all the hard disks to be electrified when the storage server is started until the upper-layer software normally runs;
a control module, configured to sequentially execute the following operations on each hard disk region through the upper layer software:
controlling each hard disk in the hard disk area to be powered on;
and after the electrification is finished, controlling each hard disk of the hard disk area to operate in a low power consumption mode.
Preferably, the hard disk operation control device further includes:
the receiving module is used for receiving a user instruction, and the user instruction comprises hard disk information;
correspondingly, the control module is further configured to wake up a target hard disk corresponding to the hard disk information, so as to operate the target hard disk.
In order to solve the above technical problem, the present application further provides an electronic device, including:
a memory for storing a computer program;
a processor for implementing the steps of the hard disk operation control method as described in any one of the above items when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the hard disk operation control method according to any one of the above.
The application provides a hard disk operation control method, dividing all hard disks in a storage server into N hard disk regions, when the storage server is started, firstly prohibiting all hard disks from being electrified until upper layer software normally operates so as to electrify the hard disks in the hard disk regions by the upper layer software, after the current hard disk region is electrified, controlling each hard disk in the hard disk regions to be in a low power consumption mode so as to reduce the power consumption of each hard disk in the hard disk region, then electrifying the hard disks in the next hard disk region, ensuring that when the hard disks in the current hard disk region are electrified, the hard disks in other hard disk regions are not started or are in the low power consumption mode, electrifying the hard disk regions so that the temperature in the whole server is lower, and a fan can operate in the low rotating speed mode so as to reduce the power consumption of the fan, further ensuring that the whole server is in the low power consumption mode so as to reduce the cost, the hard disk drive is in a low power consumption mode and is not always in a working state, so that the fault rate of the hard disk drive can be reduced to a certain extent, and the product quality and the product competitiveness are improved. The application also provides a hard disk operation control device, electronic equipment and a computer readable storage medium, and the hard disk operation control device, the electronic equipment and the computer readable storage medium have the same beneficial effects as the hard disk operation control method.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a schematic structural diagram of a hard disk operation control system provided in the present application;
fig. 2 is a flowchart illustrating steps of a hard disk operation control method according to the present application;
fig. 3 is a schematic structural diagram of a hard disk operation control apparatus provided in the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
The core of the application is to provide a hard disk operation control method and device, an electronic device and a computer readable storage medium, when a hard disk in a current hard disk area is powered on, hard disks in other hard disk areas are not started or are in a low power consumption mode, the temperature in the whole server is lower due to the fact that the hard disk areas are powered on, a fan runs in a low rotating speed mode, the power consumption of the fan is reduced, the whole server is guaranteed to be in the low power consumption mode, the cost is reduced, meanwhile, the fault rate of the hard disks is reduced to a certain extent, and the product quality and the product competitiveness are improved.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 some embodiments of the present application, but not all 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.
To facilitate understanding of the hard disk operation control method provided by the present application, a system to which the hard disk operation control method is applied is described below, please refer to fig. 1, and fig. 1 is a schematic structural diagram of a hard disk operation control system provided in an embodiment of the present application.
As shown in fig. 1, the hard disk operation control system provided in this embodiment includes a terminal for carrying upper layer software, a CPU/PCH (Platform Controller Hub) 01, a BMC (Baseboard management Controller) 02, a CPLD (Complex Programmable Logic Device) 03, an SAS control chip 04, and the BMC 02 and the CPLD03 are connected through an I2C, the CPU/PCH01 is connected with the SAS control chip 04 through a PCIE (Peripheral Component Interconnect Express, high speed serial computer expansion bus standard), and each output port of the SAS control chip 04 is connected with each hard disk in a one-to-one correspondence. After the upper layer software normally runs, if the hard disk needs to be subjected to power-on/power-off operation, the upper layer software sends an power-on/power-off control command, the power-on/power-off control command is finally sent to the CPLD03 through the CPU/PCH01 and the BMC 02, and the CPLD03 controls the level of an enabling pin of a power control module in the hard disk to control the power-on/power-off of the hard disk. The operation modes of the hard disk include, but are not limited to, a low power consumption mode and a working mode, respectively, the power consumption of the low power consumption mode is lower than that of the working mode, and a mode control command can be output through upper software, and is output to the SAS control chip 04 through the CPU/PCH01, and then is output to the corresponding hard disk through an output port corresponding to the SAS control chip 04, so as to adjust the operation mode of the hard disk.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of a hard disk operation control method according to the present application, where the hard disk operation control method includes:
s101: dividing all hard disks in a storage server to obtain N hard disk areas, wherein each hard disk area comprises M hard disks, and N and M are positive integers;
specifically, the storage server in this embodiment may specifically refer to a high-density storage server, and when the storage server is collocated with a power supply with relatively low power, in order to avoid the occurrence of a situation that the power supply cannot meet the power requirement for simultaneously powering on all modules at the time of starting up and the work is abnormal, all hard disks in the storage server may be divided according to the parameters of the power supply matched with the storage server to obtain a plurality of hard disk regions, each hard disk region includes M hard disks, and in the starting up process, each hard disk region is powered on to reduce the power consumption. Therefore, the power supply can be matched with various power output power supplies, and the universality is high. As a preferred embodiment, the overall power consumption of the storage server can be firstly obtained, and then all hard disks in the storage server are divided according to the overall power consumption of the storage server, so that the power supply can meet the overall power consumption requirement at the moment of starting the storage server.
Of course, the number of hard disk regions and the number of hard disks in each hard disk region need to be determined according to actual engineering requirements, and the application is not specifically limited.
S102: when the storage server is started, forbidding all hard disks to be powered on until the upper-layer software normally runs;
specifically, when the whole computer is initially started, the CPLD forbids the hard disks of all the hard disk regions from being powered on by default so as to control the hard disks of all the hard disk regions in the following process, only the main board integrated with the CPU, the BMC and other key chips is powered on to access the operating system, and after the upper software runs normally, the hard disk operation is controlled through the upper software.
S103: and sequentially executing the following operations on each hard disk area through upper-layer software:
controlling each hard disk in the hard disk area to be powered on;
and after the electrification is finished, controlling each hard disk of the hard disk area to operate in a low power consumption mode.
Specifically, assuming that hard disks in the hard disk area are divided into a first hard disk area, a second hard disk area, … … and an Nth hard disk area, after upper software normally runs, the CPU notifies the BMC that a hard disk power-on operation can be executed on the first hard disk area, the BMC sends a power-on command to the CPLD through an I2C channel, the CPLD starts to start the first hard disk area after receiving the command, and after the first hard disk area is powered on and run, the upper software can normally identify each hard disk in the first hard disk area, that is, after the upper software can detect in-place signals of each hard disk in the first hard disk area, it is determined that the power-on of the first hard disk area is ended. And the upper layer software sends a deep sleep command to each hard disk in the first hard disk area through the CPU and the SAS control chip, so that the hard disks in the first hard disk area enter deep sleep, namely a low power consumption mode. After the first hard disk area enters the low power consumption mode, the upper layer software informs the BMC through the CPU that the hard disk electrifying operation can be executed on the second hard disk area until all the hard disks are started normally and enter the low power consumption mode, and at the moment, the whole computer is in the low power consumption mode.
It can be seen that, in this embodiment, all hard disks in the storage server are divided into N hard disk regions, when the storage server is powered on, first, power on of all hard disks is prohibited until upper layer software normally operates, so as to power on the hard disks in the hard disk regions in a partitioned manner by the upper layer software, after the power on of the current hard disk region is completed, each hard disk in the hard disk regions is controlled to be in a low power consumption mode to reduce power consumption of each hard disk in the hard disk region, then, the hard disk in the next hard disk region is powered on, so as to ensure that when the hard disk in the current hard disk region is powered on, the hard disks in other hard disk regions are not started or are in the low power consumption mode, the power on of the hard disk partitions makes the temperature in the whole server lower, and the fan can operate in the low rotation speed mode to reduce power consumption of the fan, thereby ensuring that the whole server is, the hard disk drive is not always in a working state, so that the failure rate of the hard disk drive can be reduced to a certain extent, and the product quality and the product competitiveness are improved.
On the basis of the above-described embodiment:
as a preferred embodiment, the hard disk operation control method further includes:
receiving a user instruction, wherein the user instruction comprises hard disk information;
and awakening the target hard disk corresponding to the hard disk information so as to operate the target hard disk.
Specifically, when a customer service is in normal use, if a certain hard disk in a certain hard disk area needs to be read and written, a corresponding user instruction is generated, after the upper-layer software receives the user instruction, the SAS control chip wakes up the specific hard disk, after waking up, the hard disk runs in a working mode, data can be read and written in real time, and other hard disks except the woken up hard disk are still in a low-power-consumption mode, so that the condition that the whole server can also be in the low-power-consumption mode after normal operation is ensured, the power consumption of the whole server is low, a power supply with low cost can be selected, the power consumption cost of a machine room can be saved, and the product competitiveness is.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a hard disk operation control device provided in the present application, including:
the dividing module 11 is configured to divide all hard disks in the storage server to obtain N hard disk areas, where each hard disk area includes M hard disks, and N and M are positive integers;
the monitoring module 12 is used for prohibiting all hard disks from being powered on when the storage server is started up until the upper-layer software normally runs;
the control module 13 is configured to sequentially execute the following operations on each hard disk area through upper layer software:
controlling each hard disk in the hard disk area to be powered on;
and after the electrification is finished, controlling each hard disk of the hard disk area to operate in a low power consumption mode.
It can be seen that, in this embodiment, all hard disks in the storage server are divided into N hard disk regions, when the storage server is powered on, first, power on of all hard disks is prohibited until upper layer software normally operates, so as to power on the hard disks in the hard disk regions in a partitioned manner by the upper layer software, after the power on of the current hard disk region is completed, each hard disk in the hard disk regions is controlled to be in a low power consumption mode to reduce power consumption of each hard disk in the hard disk region, then, the hard disk in the next hard disk region is powered on, so as to ensure that when the hard disk in the current hard disk region is powered on, the hard disks in other hard disk regions are not started or are in the low power consumption mode, the power on of the hard disk partitions makes the temperature in the whole server lower, and the fan can operate in the low rotation speed mode to reduce power consumption of the fan, thereby ensuring that the whole server is, the hard disk drive is not always in a working state, so that the failure rate of the hard disk drive can be reduced to a certain extent, and the product quality and the product competitiveness are improved.
As a preferred embodiment, the hard disk operation control device further includes:
the receiving module is used for receiving a user instruction, and the user instruction comprises hard disk information;
correspondingly, the control module 13 is further configured to wake up the target hard disk corresponding to the hard disk information, so as to operate the target hard disk.
As a preferred embodiment, the hard disk operation control device further includes:
and the judging module is used for judging whether each hard disk in the hard disk area is in place or not, and if so, judging that the electrification is finished.
As a preferred embodiment, the process of prohibiting all hard disks from being powered on specifically includes:
forbidding all hard disks to be electrified through the CPLD;
correspondingly, the process of controlling the power-on of each hard disk in the hard disk area specifically includes:
and controlling the power-on of each hard disk in the hard disk area through the CPLD.
As a preferred embodiment, the process of controlling each hard disk of the hard disk area to operate in the low power consumption mode specifically includes:
controlling each hard disk of the hard disk area to operate in a low power consumption mode through an SAS control chip;
correspondingly, the process of waking up the target hard disk corresponding to the hard disk information specifically includes:
and awakening the target hard disk corresponding to the hard disk information through the SAS control chip.
As a preferred embodiment, the dividing module 11 includes:
the acquisition unit is used for acquiring the overall power consumption of the storage server;
and the dividing unit is used for dividing all hard disks in the storage server according to the overall power consumption of the storage server.
On the other hand, the present application also provides an electronic device, as shown in fig. 4, which shows a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device 2100 according to the embodiment may include: a processor 2101 and a memory 2102.
Optionally, the electronic device may further comprise a communication interface 2103, an input unit 2104 and a display 2105 and a communication bus 2106.
The processor 2101, the memory 2102, the communication interface 2103, the input unit 2104, the display 2105, and the like communicate with each other via the communication bus 2106.
In the embodiment of the present application, the processor 2101 may be a Central Processing Unit (CPU), an application specific integrated circuit (asic), a digital signal processor, an off-the-shelf programmable gate array (fpga) or other programmable logic device (plc).
The processor may call a program stored in the memory 2102. Specifically, the processor may perform operations performed on the electronic device side in the following embodiments of the hard disk operation control method.
The memory 2102 stores one or more programs, which may include program codes including computer operating instructions, and in this embodiment, at least one program for implementing the functions of any of the above embodiments is stored in the memory.
It can be seen that, in this embodiment, all hard disks in the storage server are divided into N hard disk regions, when the storage server is powered on, first, power on of all hard disks is prohibited until upper layer software normally operates, so as to power on the hard disks in the hard disk regions in a partitioned manner by the upper layer software, after the power on of the current hard disk region is completed, each hard disk in the hard disk regions is controlled to be in a low power consumption mode to reduce power consumption of each hard disk in the hard disk region, then, the hard disk in the next hard disk region is powered on, so as to ensure that when the hard disk in the current hard disk region is powered on, the hard disks in other hard disk regions are not started or are in the low power consumption mode, the power on of the hard disk partitions makes the temperature in the whole server lower, and the fan can operate in the low rotation speed mode to reduce power consumption of the fan, thereby ensuring that the whole server is, the hard disk drive is not always in a working state, so that the failure rate of the hard disk drive can be reduced to a certain extent, and the product quality and the product competitiveness are improved.
In one possible implementation, the memory 2102 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as a power-on function, etc.), and the like; the storage data area may store data created according to the use of the computer.
Further, the memory 2102 may include high speed random access memory, and may also include non-volatile memory, such as at least one disk storage device or other volatile solid state storage device.
The communication interface 2103 may be an interface of a communication module, such as an interface of a GSM module.
The present application may also include a display 2104 and an input unit 2105, among others.
Of course, the structure of the internet of things device shown in fig. 4 does not constitute a limitation on the internet of things 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. 4, or some components in combination.
In another aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the hard disk operation control method as described in any one of the above embodiments.
For the introduction of a computer-readable storage medium provided in the present application, please refer to the above embodiments, which are not described herein again.
The computer-readable storage medium provided by the application has the same beneficial effects as the hard disk operation control method.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
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. A hard disk operation control method is characterized by comprising the following steps:
dividing all hard disks in a storage server to obtain N hard disk areas, wherein each hard disk area comprises M hard disks, and N and M are positive integers;
when the storage server is started, forbidding all the hard disks to be powered on until the upper-layer software normally runs;
sequentially executing the following operations on each hard disk region through the upper layer software:
controlling each hard disk in the hard disk area to be powered on;
and after the electrification is finished, controlling each hard disk of the hard disk area to operate in a low power consumption mode.
2. The hard disk operation control method according to claim 1, further comprising:
receiving a user instruction, wherein the user instruction comprises hard disk information;
and awakening the target hard disk corresponding to the hard disk information so as to operate the target hard disk.
3. The method for controlling operations of hard disks according to claim 1, wherein after controlling each hard disk in the hard disk region to be powered on, the method for controlling operations of hard disks further comprises:
judging whether each hard disk in the hard disk area is in place;
and if so, judging that the power-on is finished.
4. The hard disk operation control method according to claim 1, wherein the process of prohibiting all the hard disks from being powered on specifically comprises:
forbidding all the hard disks to be powered on through the CPLD;
correspondingly, the process of controlling the power-on of each hard disk in the hard disk area specifically includes:
and controlling each hard disk in the hard disk area to be powered on through the CPLD.
5. The method according to claim 2, wherein the process of controlling each hard disk of the hard disk area to operate in the low power consumption mode specifically comprises:
controlling each hard disk of the hard disk area to operate in a low power consumption mode through an SAS control chip;
correspondingly, the process of waking up the target hard disk corresponding to the hard disk information specifically includes:
and awakening the target hard disk corresponding to the hard disk information through the SAS control chip.
6. The method according to any one of claims 1 to 5, wherein the process of dividing all the hard disks in the storage server is specifically:
acquiring the overall power consumption of the storage server;
and dividing all hard disks in the storage server according to the overall power consumption of the storage server.
7. An operation control device for a hard disk, comprising:
the dividing module is used for dividing all hard disks in the storage server to obtain N hard disk areas, each hard disk area comprises M hard disks, and N and M are positive integers;
the monitoring module is used for forbidding all the hard disks to be electrified when the storage server is started until the upper-layer software normally runs;
a control module, configured to sequentially execute the following operations on each hard disk region through the upper layer software:
controlling each hard disk in the hard disk area to be powered on;
and after the electrification is finished, controlling each hard disk of the hard disk area to operate in a low power consumption mode.
8. The hard disk operation control device according to claim 7, further comprising:
the receiving module is used for receiving a user instruction, and the user instruction comprises hard disk information;
correspondingly, the control module is further configured to wake up a target hard disk corresponding to the hard disk information, so as to operate the target hard disk.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the hard disk operation control method according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the hard disk operation control method according to any one of claims 1 to 6.
CN201911411051.2A 2019-12-31 2019-12-31 Hard disk operation control method and device and related components Pending CN111142644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911411051.2A CN111142644A (en) 2019-12-31 2019-12-31 Hard disk operation control method and device and related components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911411051.2A CN111142644A (en) 2019-12-31 2019-12-31 Hard disk operation control method and device and related components

Publications (1)

Publication Number Publication Date
CN111142644A true CN111142644A (en) 2020-05-12

Family

ID=70522554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911411051.2A Pending CN111142644A (en) 2019-12-31 2019-12-31 Hard disk operation control method and device and related components

Country Status (1)

Country Link
CN (1) CN111142644A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880728A (en) * 2020-07-14 2020-11-03 苏州浪潮智能科技有限公司 Mechanical hard disk system starting control method and device and storage equipment
CN111913836A (en) * 2020-07-30 2020-11-10 深圳忆联信息系统有限公司 Solid state disk low power consumption mode data recovery method and device, computer equipment and storage medium
CN114020669A (en) * 2021-10-09 2022-02-08 苏州浪潮智能科技有限公司 I2C link system and server based on CPLD
CN114063920A (en) * 2021-11-12 2022-02-18 四川华鲲振宇智能科技有限责任公司 Method and system for fixing drive letter under Linux
CN114415939A (en) * 2021-12-16 2022-04-29 中科可控信息产业有限公司 Hard disk control method, hard disk control device, computer equipment, storage medium and program product
CN114756418A (en) * 2022-05-20 2022-07-15 苏州浪潮智能科技有限公司 Hard disk power-on control method, system, storage medium and equipment
CN117785588A (en) * 2024-02-26 2024-03-29 成都电科星拓科技有限公司 Hard disk motor maintenance method and system based on wireless power-on
CN114756418B (en) * 2022-05-20 2024-06-28 苏州浪潮智能科技有限公司 Hard disk power-on control method, system, storage medium and equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625624A (en) * 2008-07-09 2010-01-13 中兴通讯股份有限公司 Method for managing SATA hard disk based on embedded system
CN102778942A (en) * 2012-06-29 2012-11-14 浪潮电子信息产业股份有限公司 Design method for off-peak electrification of hard disk
US20150153817A1 (en) * 2013-12-03 2015-06-04 International Business Machines Corporation Achieving Low Grace Period Latencies Despite Energy Efficiency
CN109284207A (en) * 2018-08-30 2019-01-29 紫光华山信息技术有限公司 Hard disc failure processing method, device, server and computer-readable medium
CN109451354A (en) * 2018-11-12 2019-03-08 青岛海信电器股份有限公司 A kind of method and terminal waking up terminal
CN109960460A (en) * 2017-12-25 2019-07-02 上海盛霄云计算技术有限公司 A kind of distributed memory system
CN110147157A (en) * 2019-05-23 2019-08-20 苏州浪潮智能科技有限公司 A kind of starting method, system and the associated component of storage server
CN110244830A (en) * 2018-09-05 2019-09-17 浙江大华技术股份有限公司 A kind of control circuit and its control method powered on for hard disk
CN110321169A (en) * 2018-03-31 2019-10-11 深圳忆联信息系统有限公司 Wake up method, apparatus, equipment and the medium of solid state hard disk

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625624A (en) * 2008-07-09 2010-01-13 中兴通讯股份有限公司 Method for managing SATA hard disk based on embedded system
CN102778942A (en) * 2012-06-29 2012-11-14 浪潮电子信息产业股份有限公司 Design method for off-peak electrification of hard disk
US20150153817A1 (en) * 2013-12-03 2015-06-04 International Business Machines Corporation Achieving Low Grace Period Latencies Despite Energy Efficiency
CN109960460A (en) * 2017-12-25 2019-07-02 上海盛霄云计算技术有限公司 A kind of distributed memory system
CN110321169A (en) * 2018-03-31 2019-10-11 深圳忆联信息系统有限公司 Wake up method, apparatus, equipment and the medium of solid state hard disk
CN109284207A (en) * 2018-08-30 2019-01-29 紫光华山信息技术有限公司 Hard disc failure processing method, device, server and computer-readable medium
CN110244830A (en) * 2018-09-05 2019-09-17 浙江大华技术股份有限公司 A kind of control circuit and its control method powered on for hard disk
CN109451354A (en) * 2018-11-12 2019-03-08 青岛海信电器股份有限公司 A kind of method and terminal waking up terminal
CN110147157A (en) * 2019-05-23 2019-08-20 苏州浪潮智能科技有限公司 A kind of starting method, system and the associated component of storage server

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11907554B2 (en) 2020-07-14 2024-02-20 Inspur Suzhou Intelligent Technology Co., Ltd. Controlling startup of hard disk drive (HDD) by locking initialization of small computer system interface (SCSI) state(s) using an out-of-band (OOB) negotiation process
CN111880728B (en) * 2020-07-14 2022-11-11 苏州浪潮智能科技有限公司 Mechanical hard disk system starting control method and device and storage equipment
CN111880728A (en) * 2020-07-14 2020-11-03 苏州浪潮智能科技有限公司 Mechanical hard disk system starting control method and device and storage equipment
CN111913836A (en) * 2020-07-30 2020-11-10 深圳忆联信息系统有限公司 Solid state disk low power consumption mode data recovery method and device, computer equipment and storage medium
CN111913836B (en) * 2020-07-30 2023-02-10 深圳忆联信息系统有限公司 Solid state disk low power consumption mode data recovery method and device, computer equipment and storage medium
CN114020669A (en) * 2021-10-09 2022-02-08 苏州浪潮智能科技有限公司 I2C link system and server based on CPLD
CN114020669B (en) * 2021-10-09 2023-07-14 苏州浪潮智能科技有限公司 CPLD-based I2C link system and server
CN114063920A (en) * 2021-11-12 2022-02-18 四川华鲲振宇智能科技有限责任公司 Method and system for fixing drive letter under Linux
CN114415939A (en) * 2021-12-16 2022-04-29 中科可控信息产业有限公司 Hard disk control method, hard disk control device, computer equipment, storage medium and program product
CN114756418A (en) * 2022-05-20 2022-07-15 苏州浪潮智能科技有限公司 Hard disk power-on control method, system, storage medium and equipment
CN114756418B (en) * 2022-05-20 2024-06-28 苏州浪潮智能科技有限公司 Hard disk power-on control method, system, storage medium and equipment
CN117785588A (en) * 2024-02-26 2024-03-29 成都电科星拓科技有限公司 Hard disk motor maintenance method and system based on wireless power-on
CN117785588B (en) * 2024-02-26 2024-04-30 成都电科星拓科技有限公司 Hard disk motor maintenance method and system based on wireless power-on

Similar Documents

Publication Publication Date Title
CN111142644A (en) Hard disk operation control method and device and related components
US8433931B2 (en) Integrating energy budgets for power management
US9128703B1 (en) Processor that transitions to an idle mode when no task is scheduled to execute and further enters a quiescent doze mode or a wait mode depending on the value of a reference counter
US9563226B2 (en) Dynamic clock regulation based on duty cycle thresholds
EP3190478A1 (en) Method, apparatus and system to transition system power state of a computer platform
US10115442B2 (en) Demand-based provisioning of volatile memory for use as non-volatile memory
CN110488673B (en) Data processing module and data processing method in low power consumption mode
EP3367538B1 (en) Smart power supply management for high standby power system
US10936038B2 (en) Power control for use of volatile memory as non-volatile memory
WO2017052731A1 (en) Techniques for entry to a lower power state for a memory device
CN103076868B (en) The electronic system of method for managing power supply and application the method
CN112506427A (en) Method, system, equipment and medium for reducing power consumption of solid state disk
CN109117418A (en) A kind of programmable system on chip
CN105739982A (en) System hibernation method and apparatus
CN111124094A (en) Server hard disk power-on and power-off control method, control device and control equipment
CN102141920B (en) Method for dynamically configuring C-State and communication equipment
CN112912743B (en) Calculation force control method, device, equipment and storage medium
CN105320246A (en) Information processing method and electronic device
CN112579005B (en) Method, device, computer equipment and storage medium for reducing average power consumption of SSD
CN113608604A (en) Loongson processor-based computer power management system, method, medium, and device
CN112198949A (en) Hard disk management method and device, electronic equipment and storage medium
US20140122799A1 (en) Storage device and power saving method thereof
CN114153303B (en) Power consumption control system, power consumption control method, device and medium
CN115857654B (en) Low-power consumption control method and device for system-on-chip, system-on-chip and electronic equipment
US20230102777A1 (en) Method of power management

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200512

RJ01 Rejection of invention patent application after publication