CN101493726B - Solid-state hard disk management method, apparatus and system - Google Patents

Solid-state hard disk management method, apparatus and system Download PDF

Info

Publication number
CN101493726B
CN101493726B CN2009101054258A CN200910105425A CN101493726B CN 101493726 B CN101493726 B CN 101493726B CN 2009101054258 A CN2009101054258 A CN 2009101054258A CN 200910105425 A CN200910105425 A CN 200910105425A CN 101493726 B CN101493726 B CN 101493726B
Authority
CN
China
Prior art keywords
solid state
hard disc
state hard
data volume
changes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2009101054258A
Other languages
Chinese (zh)
Other versions
CN101493726A (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.)
Chengdu Huawei Technology Co Ltd
Original Assignee
Huawei Symantec Technologies 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 Huawei Symantec Technologies Co Ltd filed Critical Huawei Symantec Technologies Co Ltd
Priority to CN2009101054258A priority Critical patent/CN101493726B/en
Publication of CN101493726A publication Critical patent/CN101493726A/en
Application granted granted Critical
Publication of CN101493726B publication Critical patent/CN101493726B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The embodiment of the invention discloses a solid state disk (SSD) managing method, a device and a system thereof. The SSD managing method comprises the following steps: when the state of at least one SSD changes, the data volume of the SSD with the changed state is obtained; and the power supply management for the SSD is carried out according to the data volume of the SSD with the changed state. The technical proposal provided by the embodiment of the invention carries out the power supply management for the SSD according to the obtained data volume of the SSD with the changed state; and the active power supply management for the SSD effectively reduces the energy consumption of the SSD.

Description

Solid-state hard disk management method, device and system
Technical field
The present invention relates to field of data storage, relate in particular to solid-state hard disk management method, device and system.
Background technology
(Solid State Disk SSD), is the abandoning tradition magnetic medium to solid state hard disc, a kind of technology that adopts electronic storage medium to carry out data storage and read.Because solid state hard disc does not have the mechanical rotary device of common hard disk, therefore have characteristics such as read or write speed is fast, operating noise is low, shock resistance is good, operating temperature range is big.At present, the storage unit of solid state hard disc adopts non-volatile flash memory (flash) chip mostly, and its advantage is that data protection is not subjected to power supply control, conveniently moving, can be adapted to multiple environment,
In the face of growing data volume and storage demand, the most frequently used solution is exactly constantly to acquire new hard disk in storage system.Along with the increase of the hard disk quantity that inserts storage system, power consumption is constantly soaring, and energy consumption is more and more higher.So, how to reduce the energy consumption of storage system, become the focus of paying close attention in the computing machine energy consumption problem.
Existing Advanced Program Zoom technology is a kind of host power supply Managed Solution based on BIOS (Basic input/output S6stem, Basic Input or Output System (BIOS)), and the equipment that it can dock into main frame cuts down the consumption of energy.By judging the working condition of the equipment that inserts main frame, Advanced Program Zoom is with the state of device translates to low energy consumption.
The inventor is in realizing process of the present invention, find that there is following shortcoming at least in prior art: in the existing Advanced Program Zoom technology, insert the passive unified power management of acceptance of different memory devices of main frame, lack specific aim, be difficult to cut down the consumption of energy effectively.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of solid-state hard disk management method, device and system, to the power management that carries out of solid state hard disc active, effectively reduces the energy consumption of solid state hard disc.
The embodiment of the invention provides a kind of solid-state hard disk management method, comprising:
When the state of at least one solid state hard disc changes, obtain the data volume of the solid state hard disc that described state changes; The data volume of the solid state hard disc that changes according to described state is carried out power management to described solid state hard disc; The data volume of the described solid state hard disc that changes according to described state, described solid state hard disc is carried out power management comprise: described solid state hard disc data volume is during smaller or equal to predetermined threshold, to described solid state hard disc outage.
The embodiment of the invention also provides a kind of solid state hard disc control device, comprising:
Acquisition module when the state that is used at least one solid state hard disc changes, obtains the data volume of the solid state hard disc that described state changes; Control module is used for the data volume of the solid state hard disc that changes according to the described state that described acquisition module obtains, and described solid state hard disc is carried out power management; Described state changes and comprises solid state hard disc is changed to starting state from non-started state, and described control module is to starting the solid state hard disc outage of back data volume smaller or equal to predetermined threshold.
The embodiment of the invention also provides a kind of solid state hard disc control system, comprising: controller system memory, host interface controller and hard disk interface controller; Described controller system memory, host interface controller and hard disk interface controller pass through interconnects; Described controller system memory receives the control command that main frame sends by host interface controller; Described controller system memory is operated the solid state hard disc of access control system by hard disk interface controller according to described control command; When the state of at least one solid state hard disc changed, described controller system memory obtained the data volume of the solid state hard disc that described state changes, and the data volume of the solid state hard disc that changes according to described state is carried out power management to described solid state hard disc; Described state changes and comprises solid state hard disc is changed to starting state from non-started state, and described controller system memory is to starting the solid state hard disc outage of back data volume smaller or equal to predetermined threshold.
The solid state hard disc data volume that the embodiment of the invention changes by the acquisition state, the solid state hard disc data volume that changes according to described state is carried out the technological means of power management to described solid state hard disc, to the power management that carries out of solid state hard disc active, effectively reduced the energy consumption of solid state hard disc.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The solid-state hard disk management method process flow diagram that Fig. 1 provides for the embodiment of the invention one;
The solid-state hard disk management method process flow diagram that Fig. 2 provides for the embodiment of the invention two;
The solid-state hard disk management method process flow diagram that Fig. 3 provides for the embodiment of the invention three;
The solid-state hard disk management method process flow diagram that Fig. 4 provides for the embodiment of the invention;
The solid state hard disc control device synoptic diagram that Fig. 5 provides for the embodiment of the invention four;
The storage system control system synoptic diagram that Fig. 6 provides for the embodiment of the invention five.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Disclose a kind of solid-state hard disk management method in the embodiment of the invention, having comprised:
When the state of at least one solid state hard disc changes, obtain the data volume of the solid state hard disc that described state changes; The data volume of the solid state hard disc that changes according to described state is carried out power management to described solid state hard disc.
The solid state hard disc state changes and comprises and start solid state hard disc or from the solid state hard disc obliterated data.The solid state hard disc data volume is data shared capacity in solid state hard disc.Obtaining of solid state hard disc data volume can be when solid state hard disc starts, also can be in operational process.Can set a threshold value in the embodiment of the invention, solid state hard disc data volume of obtaining and the threshold value that sets are compared, judge that whether the solid state hard disc data volume is greater than threshold value, if not, then, can certainly when equaling threshold value, data volume not cut off the power supply to described solid state hard disc outage.More excellent, can set the threshold to zero, if then described solid state hard disc data volume is zero, solid state hard disc is cut off the power supply.
The solid state hard disc data volume that the embodiment of the invention changes by the acquisition state, the solid state hard disc data volume that changes according to described state is carried out the technological means of power management to described solid state hard disc, to the power management that carries out of solid state hard disc active, effectively reduced the energy consumption of solid state hard disc.
The solid-state hard disk management method of the embodiment of the invention one as shown in Figure 1, comprising:
S101, startup solid state hard disc.
In the embodiment of the invention, storage system can comprise one or more solid state hard discs, and a plurality of solid state hard discs can be worked simultaneously, and the type of solid state hard disc can be SLC (Single Level Cell, single-layer type is stored) or MLC (Multi level Cell, multiple field storage).
S102, obtain the data volume of solid state hard disc.
Obtain the data volume of solid state hard disc, i.e. data shared capacity in solid state hard disc.Obtaining order can be according to solid state hard disc boot sequence, toggle speed or any other feasible mode.Obtaining of solid state hard disc data volume can be when solid state hard disc starts, also can be in operational process.Obtain manner has multiple, and as controller system memory active inquiry solid state hard disc, receive solid state hard disc and report, or the mode of the two combination.Controller system memory can be recorded in the solid state hard disc data volume of obtaining in the storage medium of controller system memory self EMS memory, buffer memory or other equipment, calls to make things convenient for follow-up data.
S103, judge that whether the data volume of current solid state hard disc is zero,, carry out S104 if be zero; If the data volume of solid state hard disc is non-vanishing, then continue to carry out S102, continue to obtain the data volume of solid state hard disc.
In this step, also can preestablish a data volume threshold value, judge that current solid state hard disc data volume whether greater than pre-set threshold, if not, then enters S104, if then enter S102.In addition, depend on the needs, also can when data volume equals threshold value, enter S102.The data volume threshold value can be to set in advance in controller system memory inside, also can be in storage system artificial being provided with or being provided with flexibly according to calling of program in service, to satisfy different application demands.
S104, to data volume zero solid state hard disc outage.
In some embodiment, if in S103, judgement be the solid state hard disc data volume whether greater than threshold value, then to data volume smaller or equal to the outage of the solid state hard disc of threshold value.
S105, judge whether to have obtained all solid state hard disc data volumes; If obtained, then enter S106; If do not obtained the data volume of all solid state hard discs that started, then entered S102.
S106, if obtained the data volume of all solid state hard discs that started, then finish to obtain the solid state hard disc data volume.
The execution sequence of the foregoing description can have various deformation in realization, now provide the solid-state hard disk management method of the embodiment of the invention two, as shown in Figure 2, comprising:
S201, startup solid state hard disc.
S202, judge whether to have obtained all solid state hard disc data volumes; If obtained, then enter S203; If do not obtained the data volume of all solid state hard discs that started, then entered S204.
S203, if obtained the data volume of all solid state hard discs that started, finish to obtain the solid state hard disc data volume so.
S204, if do not obtained the data volume of all solid state hard discs that started, obtain the data volume of next solid state hard disc so.
Obviously, in the embodiment of the invention, the front and back order between above-mentioned steps S203 and the S204 can be exchanged, and also can carry out S204 earlier, carries out S203 then.
S205, judge that whether the data volume of described next solid state hard disc is zero,, enter S206 if be zero; If the data volume of solid state hard disc is non-vanishing, then enter S202, continue to judge whether to have obtained the data volume of all solid state hard discs.
S206, being zero described next solid state hard disc outage to data volume, is after zero the solid state hard disc outage, to return S202 to data volume, continues to judge whether to have obtained the data volume of all solid state hard discs.
In some embodiments, also can unify to obtain the data volume of all solid state hard discs that started, unification judges whether the data volume of each solid state hard disc is zero, unified is that zero solid state hard disc cuts off the power supply to data volume, thereby be different from every turn a solid state hard disc being operated that the foregoing description provides, circulation is carried out up to the technical scheme that finishes.In sum, it may occur to persons skilled in the art that any to the foregoing description step and the order distortion all within the protection domain of the embodiment of the invention.
The solid-state hard disk management method of the embodiment of the invention three as shown in Figure 3, comprising:
S301, at least one solid state hard disc obliterated data.
S302, obtain the data volume of the solid state hard disc that carries out erase operation.
S303, judge whether the data volume of the described solid state hard disc that carries out erase operation is zero, if be zero, enters S304; If the data volume of the described solid state hard disc that carries out erase operation is non-vanishing, then end operation.
In this step, also can adopt as S103 and carry out the solid state hard disc data volume of erase operation and the method for pre-set threshold as described in described.
S304, be zero the described solid state hard disc outage of carrying out erase operation to data volume, end operation then.
In some embodiments, for guaranteeing system high efficiency operation under effective energy consumption administrative situation, can be further before carrying out data writing operation, in the solid-state hard disk management method that previous embodiment of the present invention provides to the solid state hard disc power supply of data volume smaller or equal to predetermined threshold, as shown in Figure 4, comprising:
S401, obtain the data volume of the solid state hard disc that needs write operation.In the embodiment of the invention, through the foregoing description to data volume smaller or equal to the outage of the solid state hard disc of predetermined threshold after, the data amount information of described solid state hard disc can be stored in controller system memory inside, as make a solid state hard disc data scale, when needs carry out write operation to solid state hard disc, can at first inquire about described solid state hard disc data scale.
Whether the data volume that S402, judgement need be carried out the solid state hard disc of write operation is zero, if, then carry out S403, if not, then enter S404.
In this step, also can adopt method as described more current solid state hard disc data volume of S103 and pre-set threshold.
S403, the data volume that described needs are carried out write operation are zero solid state hard disc power supply.
S404, data are write current solid state hard disc, finish operation then current solid state hard disc.
The solid state hard disc data volume that the embodiment of the invention changes by the acquisition state, the solid state hard disc data volume that changes according to described state is carried out the technological means of power management to described solid state hard disc, to the power management that carries out of solid state hard disc active, effectively reduced the energy consumption of solid state hard disc.The working temperature of solid state hard disc reduces along with the minimizing of energy consumption, and increase along with the reduction of working temperature the serviceable life of solid state hard disc.
Corresponding to top method embodiment, the embodiment of the invention four provides a kind of solid state hard disc control device, as shown in Figure 5, comprising:
Acquisition module 501 when the state that is used at least one solid state hard disc changes, obtains the data volume of the solid state hard disc that described state changes.
Control module 502 is used for the data volume of the solid state hard disc that changes according to the described state that described acquisition module 501 obtains, and described solid state hard disc is carried out power management.
In the embodiment of the invention, the state of described solid state hard disc changes and comprises the startup solid state hard disc, from solid state hard disc obliterated data etc.The solid state hard disc data volume is data shared capacity in solid state hard disc.Obtaining of 501 pairs of solid state hard disc data volumes of acquisition module can be when solid state hard disc starts, also can be in operational process, acquisition module 501 is transferred to control module 502 with the solid state hard disc data volume that obtains, can be that acquisition module 501 initiatively sends to control module 502 with the solid state hard disc data volume that obtains, also can be that control module 502 initiatively obtains the solid state hard disc data volume from acquisition module 501.Can set a threshold value in the embodiment of the invention, control module 502 compares acquisition module 501 solid state hard disc data volume that obtains and the threshold value that sets, judge that whether the solid state hard disc data volume is greater than threshold value, if not, then, can certainly when equaling threshold value, data volume not cut off the power supply to described solid state hard disc outage.More excellent, can set the threshold to zero, then control module 502 is cut off the power supply to solid state hard disc when the solid state hard disc data volume is zero.
Further, the solid state hard disc control device of the embodiment of the invention can comprise judge module 503, is used to judge whether to have obtained all solid state hard disc data volumes that started, if obtained all solid state hard disc data volumes, then finishes to obtain; If do not obtained all solid state hard disc data volumes, then obtain next piece solid state hard disc data volume by acquisition module 501.
Be described in detail below in conjunction with the solid state hard disc control device of solid state hard disc management the embodiment of the invention:
Control module 502 starts solid state hard disc.In the embodiment of the invention, storage system can comprise one or more solid state hard discs, and a plurality of solid state hard discs can be worked simultaneously, and the type of solid state hard disc can be SLC (Single Level Cell, single-layer type is stored) or MLC (Multi level Cell, multiple field storage).
Acquisition module 501 obtains the data volume of solid state hard disc, i.e. data shared capacity in solid state hard disc, and the solid state hard disc data volume that obtains is transferred to control module 502.Obtaining order can be according to solid state hard disc boot sequence, toggle speed or any other feasible mode.Obtaining of 501 pairs of solid state hard disc data volumes of acquisition module can be when solid state hard disc starts, also can be in operational process.Obtain manner has multiple, and as acquisition module 501 active inquiry solid state hard discs, receive solid state hard disc and report, or the mode of the two combination.Acquisition module 501 can be recorded in the solid state hard disc data volume of obtaining in the storage medium of solid state hard disc control device self EMS memory, buffer memory or other equipment, calls to make things convenient for follow-up data.
Control module 502 judges whether the data volume of current solid state hard disc is zero, if be zero, then to described solid state hard disc outage; If the data volume of solid state hard disc is non-vanishing, then continue to obtain next solid state hard disc data volume.In the embodiment of the invention, also can preestablish a data volume threshold value, whether control module 502 judges current solid state hard disc data volume greater than pre-set threshold, if not, and then to this solid state hard disc outage; If then continue to obtain the data volume of solid state hard disc.In addition, depend on the needs, also can be to this solid state hard disc outage when data volume equals threshold value.Described data volume threshold value can be to set in advance in described solid state hard disc control device inside, also can be in storage system artificial being provided with or being provided with flexibly according to calling of program in service, to satisfy different application demands.
502 pairs of data volumes of control module are zero solid state hard disc outage.In some embodiment, if in abovementioned steps, what control module 502 was judged is whether the solid state hard disc data volume is greater than threshold value, then to the solid state hard disc outage of data volume smaller or equal to threshold value.
Judge module 503 judges whether to have obtained all solid state hard disc data volumes that start; If obtained, then finish to obtain the solid state hard disc data volume; If do not obtained the data volume of all solid state hard discs that started, then continued to obtain the solid state hard disc data volume.
In some embodiments, the solid state hard disc control device can carry out the solid state hard disc management by following manner:
Control module 502 starts solid state hard disc.
Judge module 503 judges whether to have obtained all solid state hard disc data volumes; If obtained, then finish to obtain the solid state hard disc data volume; If do not obtained the data volume of all solid state hard discs that started, then obtain the data volume of next solid state hard disc by acquisition module 501.
Control module 502 judges whether the data volume of described next solid state hard disc is zero, if be zero, then to this solid state hard disc outage; If the data volume to this solid state hard disc outage back or solid state hard disc is non-vanishing, continue to judge whether to have obtained the data volume of all solid state hard discs by judge module 503.
In some embodiments, also can obtain the data volume of all solid state hard discs that started by acquisition module 501, control module 502 unifications judge whether the data volume of each solid state hard disc is zero, and unification is that zero solid state hard disc cuts off the power supply to data volume, thereby be different from every turn a solid state hard disc being operated that the foregoing description provides, circulation is carried out up to the technical scheme that finishes.In sum, any solid state hard disc control device that it may occur to persons skilled in the art that carries out the mode of solid state hard disc management all within the protection domain of the embodiment of the invention.
In some embodiment, control module 502 is at least one solid state hard disc obliterated data, acquisition module 501 obtains the data volume of the solid state hard disc that carries out erase operation, control module 502 judges whether described data volume of carrying out the solid state hard disc of erase operation is zero, if be zero, then, finish operation then to described solid state hard disc to described solid state hard disc outage; If the data volume of the described solid state hard disc that carries out erase operation is non-vanishing, then finish operation to described solid state hard disc.In some embodiment, above-mentioned steps also can be carried out the solid state hard disc data volume of erase operation and the method for pre-set threshold is carried out by more described.
In some embodiments, for guaranteeing system high efficiency operation under effective energy consumption administrative situation, before needs carried out data writing operation to solid state hard disc, to the solid state hard disc power supply of data volume smaller or equal to predetermined threshold, acquisition module 501 obtained the data volume of the solid state hard disc that needs write operation.In the embodiment of the invention, through the foregoing description to data volume smaller or equal to the outage of the solid state hard disc of predetermined threshold after, the data amount information of described solid state hard disc can be stored in controller system memory inside, as make a solid state hard disc data scale, when needs carry out write operation to solid state hard disc, can be at first by the described solid state hard disc data scale of acquisition module 501 inquiries.Control module 502 judges whether the data volume of the solid state hard disc that need carry out write operation is zero, if, then by 502 pairs of described solid state hard disc power supplies of control module, when the data volume of power supply back or described solid state hard disc is non-vanishing, control module 502 writes described solid state hard disc to data, finishes the operation to described solid state hard disc then.In some embodiment, above-mentioned steps also can be carried out the solid state hard disc data volume of erase operation and the method for pre-set threshold is carried out by more described.
The device that the embodiment of the invention provides, the solid state hard disc data volume that changes by the acquisition state, the solid state hard disc data volume that changes according to described state is carried out the technological means of power management to described solid state hard disc, to the power management that carries out of solid state hard disc active, effectively reduced the energy consumption of solid state hard disc.The working temperature of solid state hard disc reduces along with the minimizing of energy consumption, and increase along with the reduction of working temperature the serviceable life of solid state hard disc.
Corresponding to top method embodiment, the embodiment of the invention five provides a kind of solid state hard disc control system, as shown in Figure 6, comprising:
Controller system memory 601, host interface controller 602 and hard disk interface controller 603; Described controller system memory, host interface controller and hard disk interface controller are by system bus 604 interconnection; Described controller system memory 601 receives the control command that main frame sends by host interface controller 602; Described controller system memory 601 is operated by the solid state hard disc 605 of 60 pairs of access control systems of hard disk interface controller according to described control command; When the state of at least one solid state hard disc changes, described controller system memory 601 obtains the data volume of the solid state hard disc that described state changes, the data volume of the solid state hard disc that changes according to described state is carried out power management to described solid state hard disc.
The system that the embodiment of the invention provides, the solid state hard disc data volume that changes by the acquisition state, the solid state hard disc data volume that changes according to described state is carried out the technological means of power management to described solid state hard disc, to the power management that carries out of solid state hard disc active, effectively reduced the energy consumption of solid state hard disc.
In the embodiment of the invention, can insert a plurality of solid state hard discs in the described solid state hard disc control system, a plurality of solid state hard discs can be worked simultaneously, and the type of solid state hard disc can be SLC (Single Level Cell, single-layer type is stored) or MLC (Multi level Cell, multiple field storage).The operational order that described main frame sends can be to start solid state hard disc, to the solid state hard disc write data, from orders such as solid state hard disc obliterated datas.
The controller system memory 601 of the embodiment of the invention comprises acquisition module and control module, further can also comprise judge module, and the annexation of above-mentioned module and effect please refer to the description of the embodiment of the invention 5.
Below in conjunction with the solid state hard disc management embodiment of the invention solid state hard disc control system is described in detail:
Controller system memory 601 starts the solid state hard disc 605 of at least one access control system by the order of the startup solid state hard disc of host interface controller 602 reception main frames transmissions by hard disk interface controller 603.Controller system memory 601 obtains the data volume of solid state hard disc, judges whether the data volume of current solid state hard disc is zero, if be zero, then to described solid state hard disc outage; If the data volume of solid state hard disc is non-vanishing, then continue to obtain next solid state hard disc data volume.In the embodiment of the invention, also can preestablish a data volume threshold value, whether controller system memory 601 judges current solid state hard disc data volume greater than pre-set threshold, if not, and then to this solid state hard disc outage; If, then continue to obtain the data volume of solid state hard disc, in addition, depend on the needs, also can be to this solid state hard disc outage when data volume equals threshold value.Controller system memory 601 judges whether to have obtained all solid state hard disc data volumes that start; If obtained, then finish to obtain the solid state hard disc data volume; If do not obtained the data volume of all solid state hard discs that started, then continued to obtain the solid state hard disc data volume.In some embodiments, after controller system memory 601 starts at least one solid state hard disc, judge whether to have obtained all solid state hard disc data volumes; If obtained, then finish to obtain the solid state hard disc data volume; If do not obtained the data volume of all solid state hard discs that started, then obtain the data volume of next solid state hard disc.Controller system memory 601 judges whether the data volume of described next solid state hard disc is zero, if be zero, then to this solid state hard disc outage; If the data volume to this solid state hard disc outage back or solid state hard disc is non-vanishing, continue to judge whether to have obtained the data volume of all solid state hard discs.
In some embodiments, also can obtain the data volume of all solid state hard discs that started by controller system memory 601, unification judges whether the data volume of each solid state hard disc is zero, unified is that zero solid state hard disc cuts off the power supply to data volume, thereby be different from every turn a solid state hard disc being operated that the foregoing description provides, circulation is carried out up to the technical scheme that finishes.In sum, any controller system memory 601 that it may occur to persons skilled in the art that carries out the mode of solid state hard disc management all within the protection domain of the embodiment of the invention.
In some embodiment, controller system memory 601 receives the order from the solid state hard disc obliterated data that main frame sends, the data volume of wiping solid state hard disc 605 by hard disk interface controller 603 by host interface controller 602.Controller system memory 601 obtains the data volume of described solid state hard disc, judges whether the data volume of described solid state hard disc is zero, if be zero, then to described solid state hard disc outage, finishes the operation to described solid state hard disc then; If the data volume of described solid state hard disc is non-vanishing, then finish operation to described solid state hard disc.In some embodiment, above-mentioned steps also can be carried out the solid state hard disc data volume of erase operation and the method for pre-set threshold is carried out by more described.
In some embodiments, for guaranteeing system high efficiency operation under effective energy consumption administrative situation, before needs carry out data writing operation to solid state hard disc, to the solid state hard disc power supply of data volume smaller or equal to predetermined threshold.Controller system memory 601 receives the order to the solid state hard disc write data that main frame sends by host interface controller 602, obtains the data volume of the solid state hard disc 605 that needs write operation by hard disk interface controller 603.In the embodiment of the invention, through the foregoing description to data volume smaller or equal to the outage of the solid state hard disc of predetermined threshold after, the data amount information of described solid state hard disc can be stored in controller system memory inside, as make a solid state hard disc data scale, when needs carry out write operation to solid state hard disc, can be at first by the described solid state hard disc data scale of controller system memory 601 inquiries.Controller system memory 601 judges whether the data volume of the solid state hard disc that need carry out write operation is zero, if, then described solid state hard disc power supply, when the data volume of power supply back or described solid state hard disc is non-vanishing, controller system memory 601 writes described solid state hard disc to data by hard disk interface controller 603, finishes the operation to described solid state hard disc then.In some embodiment, above-mentioned steps also can be carried out the solid state hard disc data volume of erase operation and the method for pre-set threshold is carried out by more described.
The solid hard disk storage system that the embodiment of the invention provides, be used for realizing obtaining the solid state hard disc data volume, described solid state hard disc is carried out the technological means of power management according to described solid state hard disc data volume, solid state hard disc is initiatively carried out power management, effectively reduced the energy consumption of solid state hard disc, the working temperature of solid state hard disc reduces along with the minimizing of energy consumption, and increase along with the reduction of working temperature the serviceable life of solid state hard disc.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of programmed instruction, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The above only is the specific embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (11)

1. a solid-state hard disk management method is characterized in that, described method comprises:
When the state of at least one solid state hard disc changes, obtain the data volume of the solid state hard disc that described state changes;
The data volume of the solid state hard disc that changes according to described state is carried out power management to described solid state hard disc;
The data volume of the described solid state hard disc that changes according to described state, described solid state hard disc is carried out power management comprise:
Described solid state hard disc data volume is during smaller or equal to predetermined threshold, to described solid state hard disc outage.
2. solid-state hard disk management method according to claim 1 is characterized in that, described solid state hard disc state changes and comprises:
Start solid state hard disc or from the solid state hard disc obliterated data.
3. solid-state hard disk management method according to claim 2, it is characterized in that, the state of described at least one solid state hard disc changes and be to start solid state hard disc, and the data volume of the described solid state hard disc that changes according to described state is carried out power management to described solid state hard disc and comprised:
To the solid state hard disc outage of data volume smaller or equal to predetermined threshold.
4. solid-state hard disk management method according to claim 2, it is characterized in that, the state of described at least one solid state hard disc changes at least one solid state hard disc is carried out erase operation, the data volume of the described solid state hard disc that changes according to described state, described solid state hard disc is carried out power management comprise:
If the data volume of carrying out described solid state hard disc behind the erase operation is smaller or equal to predetermined threshold, to described solid state hard disc outage.
5. according to each described solid-state hard disk management method of claim 1 to 4, it is characterized in that:
Described predetermined threshold is zero.
6. solid-state hard disk management method according to claim 5 is characterized in that, described method also comprises:
Before carrying out data writing operation, be zero solid state hard disc power supply to data volume.
7. a solid state hard disc control device is characterized in that, described device comprises:
Acquisition module when the state that is used at least one solid state hard disc changes, obtains the data volume of the solid state hard disc that described state changes;
Control module is used for the data volume of the solid state hard disc that changes according to the described state that described acquisition module obtains, and described solid state hard disc is carried out power management; Described state changes and comprises solid state hard disc is changed to starting state from non-started state, and described control module is to starting the solid state hard disc outage of back data volume smaller or equal to predetermined threshold.
8. solid state hard disc control device according to claim 7 is characterized in that:
Described state changes and comprises at least one solid state hard disc is carried out erase operation, and described control module is to wiping the solid state hard disc outage of back data volume smaller or equal to predetermined threshold.
9. a solid state hard disc control system is characterized in that, described system comprises:
Controller system memory, host interface controller and hard disk interface controller; Described controller system memory, host interface controller and hard disk interface controller pass through interconnects;
Described controller system memory receives the control command that main frame sends by host interface controller; Described controller system memory is operated the solid state hard disc of access control system by hard disk interface controller according to described control command; When the state of at least one solid state hard disc changed, described controller system memory obtained the data volume of the solid state hard disc that described state changes, and the data volume of the solid state hard disc that changes according to described state is carried out power management to described solid state hard disc; Described state changes and comprises solid state hard disc is changed to starting state from non-started state, and described controller system memory is to starting the solid state hard disc outage of back data volume smaller or equal to predetermined threshold.
10. solid state hard disc control system according to claim 9 is characterized in that, described controller system memory comprises:
Acquisition module is used for when the state of at least one solid state hard disc of access control system changes, and obtains the data volume of the solid state hard disc that described state changes;
Control module, the data volume that is used for the solid state hard disc that changes according to the described state that described acquisition module obtains, described solid state hard disc is carried out power management, wherein said state changes and comprises solid state hard disc is changed to starting state from non-started state, and described control module is to starting the solid state hard disc outage of back data volume smaller or equal to predetermined threshold.
11. solid state hard disc control system according to claim 10 is characterized in that:
Described state changes and comprises at least one solid state hard disc is carried out erase operation, and described control module is to wiping the solid state hard disc outage of back data volume smaller or equal to predetermined threshold.
CN2009101054258A 2009-02-10 2009-02-10 Solid-state hard disk management method, apparatus and system Active CN101493726B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101054258A CN101493726B (en) 2009-02-10 2009-02-10 Solid-state hard disk management method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101054258A CN101493726B (en) 2009-02-10 2009-02-10 Solid-state hard disk management method, apparatus and system

Publications (2)

Publication Number Publication Date
CN101493726A CN101493726A (en) 2009-07-29
CN101493726B true CN101493726B (en) 2011-09-14

Family

ID=40924348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101054258A Active CN101493726B (en) 2009-02-10 2009-02-10 Solid-state hard disk management method, apparatus and system

Country Status (1)

Country Link
CN (1) CN101493726B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107479830A (en) * 2017-08-09 2017-12-15 郑州云海信息技术有限公司 A kind of energy saving of hard disks control method and device
CN109062825A (en) * 2018-07-09 2018-12-21 深圳忆联信息系统有限公司 A kind of guard method of solid state hard disk powered-off fault and device
CN110795263B (en) * 2019-10-12 2023-11-03 苏州浪潮智能科技有限公司 Hard disk link protection method and related device

Also Published As

Publication number Publication date
CN101493726A (en) 2009-07-29

Similar Documents

Publication Publication Date Title
US10552055B2 (en) Multi-tier scheme for logical storage management
CN107168647B (en) FLASH data read-write method and system
CN108958907B (en) Context-aware dynamic command scheduling for data storage systems
CN101699413B (en) Hard disk data read-write control method, device and data storage system
US8195971B2 (en) Solid state disk and method of managing power supply thereof and terminal including the same
US20080195833A1 (en) Systems, methods and computer program products for operating a data processing system in which a file system's unit of memory allocation is coordinated with a storage system's read/write operation unit
KR102114109B1 (en) Data storage device
CN102375788A (en) Dynamic allocation of power budget for a system having non-volatile memory
CN105469829A (en) Storage device health diagnosis
CN101364138B (en) Power supply management method and device of solid hard disk storage system
CN104516471A (en) Method and device for managing power supply of storage system
CN104866246A (en) Solid state hybrid drive
WO2010111071A2 (en) Solid state drive with improved read variability
CN112035381A (en) Storage system and storage data processing method
CN102298543A (en) Memory management method and memory management device
CN112162695A (en) Data caching method and device, electronic equipment and storage medium
CN101493726B (en) Solid-state hard disk management method, apparatus and system
CN101866320A (en) Data management method and flash memory storage system and controller using the same
US11593262B1 (en) Garbage collection command scheduling
CN102880432B (en) Method and system for increasing writing speeds of flash memory chips by aid of limited lives of data and controller of system
CN105138472A (en) Flash memory wear optimization method and device
CN104932830A (en) Information processing method and electronic device
CN103412727A (en) Method for optimizing deletion command of solid state disk and solid state disk using same
WO2015077625A1 (en) Adaptive erase of a storage device
CN102362263A (en) SSD controller, and method for operating an SSD controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: HUAWEI DIGITAL TECHNOLOGY (CHENGDU) CO., LTD.

Free format text: FORMER NAME: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 611731 Chengdu high tech Zone, Sichuan, West Park, Qingshui River

Patentee after: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) Co.,Ltd.

Address before: 611731 Chengdu high tech Zone, Sichuan, West Park, Qingshui River

Patentee before: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220927

Address after: No. 1899 Xiyuan Avenue, high tech Zone (West District), Chengdu, Sichuan 610041

Patentee after: Chengdu Huawei Technologies Co.,Ltd.

Address before: 611731 Qingshui River District, Chengdu hi tech Zone, Sichuan, China

Patentee before: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) Co.,Ltd.