CN105589758B - A kind of SSD repositioning method and device - Google Patents

A kind of SSD repositioning method and device Download PDF

Info

Publication number
CN105589758B
CN105589758B CN201410654358.6A CN201410654358A CN105589758B CN 105589758 B CN105589758 B CN 105589758B CN 201410654358 A CN201410654358 A CN 201410654358A CN 105589758 B CN105589758 B CN 105589758B
Authority
CN
China
Prior art keywords
reset
ssd
time
ssds
time difference
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
CN201410654358.6A
Other languages
Chinese (zh)
Other versions
CN105589758A (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 CN201410654358.6A priority Critical patent/CN105589758B/en
Publication of CN105589758A publication Critical patent/CN105589758A/en
Application granted granted Critical
Publication of CN105589758B publication Critical patent/CN105589758B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of SSD repositioning methods, the not high technical problem of the reliability for solving RAID.In the embodiment of the present invention, by the way that the reset moment for each SSD for including in RAID is compared, time difference between the reset moment of control every two SSD is both greater than equal to default time difference threshold value, it can avoid having the case where a large amount of SSD break down appearance simultaneously as far as possible in this way, improve the reliability of RAID.The invention also discloses corresponding devices.

Description

SSD (solid State drive) resetting method and device
Technical Field
The present invention relates to the field of storage technologies, and in particular, to a method and an apparatus for resetting an SSD.
Background
RAID (Redundant Array of Independent Disks) is a data distribution technology that distributes service data to different hard disk drives, and adds Redundant data to the service data that is distributed and stored, so that when a certain number of hard disk drives fail, the lost data can still be recovered back through mathematical calculation through the data on the remaining hard disk drives.
Assuming that the annual failure rate of a single hard disk drive is AFR, which is a decimal between 0 and 1, the probability of two hard disk drives failing simultaneously is AFR × AFR, the probability of three hard disk drives failing simultaneously is AFR × AFR, and so on. It can be seen that the greater the number of hard disk drives, the lower the probability that these hard disk drives will fail simultaneously.
The RAID just utilizes the characteristic that the probability of simultaneous failure of a plurality of hard disk drives is extremely low to dispersedly deploy data to a plurality of different hard disk drives, thereby avoiding data loss caused by the failure of a single hard disk drive or a few hard disk drives. It can be seen that avoiding "simultaneous failures" is one of the keys to improving reliability of RAID.
Generally, the hard disk Drive constituting the RAID is an embedded system, such as an SSD (Solid State disk), the amount of code embedded in each SSD is large, and after the software scale reaches a certain degree, the software system generally uses means such as a timer and a counter to process some complex service logics with a long duration period. Based on the business logic of the mechanism, if defects related to counter overflow, zero division and the like are hidden in the code, the defects are difficult to be found in a development stage because the defects need to wait for a long running time, and meanwhile, the defects generally reach a certain fixed time point and have high occurrence probability.
Then, imagine a scenario according to the above description:
the code in each SSD that makes up the RAID has some counter defect that is not discovered during the development testing phase.
A defect in this counter in each SSD may cause a divide-by-zero exception after the SSD has been powered up for 100 days.
Generally, the SSDs forming a RAID start to operate at the same time, and after the RAID operates for 100 days, all SSDs cause a zero exception due to a defect of a counter, storage service may be interrupted due to simultaneous failure of a plurality of SSDs in the same RAID group, and even data loss may be caused.
By simple analysis of this scenario, it can be found that the root cause of the storage service interruption is: the precondition that the hard disk drive based on the RAID mechanism has extremely low simultaneous failure probability is broken by software defects related to counters in the SSD. Based on the RAID group of the SSD, the precondition that a plurality of SSDs have "very low probability of failure at the same time" does not exist in some cases, which further results in that the reliability of the RAID is not high in these scenarios.
Disclosure of Invention
The embodiment of the invention provides an SSD resetting method and device, which are used for solving the technical problem of low reliability of RAID.
In a first aspect of the present invention, a SSD reset method is provided, which includes:
taking the ith SSD in the RAID as a reference SSD, and comparing whether the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to a preset time difference threshold or not according to the sequence of the corresponding reset times from front to back;
if the current time difference is less than the preset time difference threshold, marking the (i + 1) th SSD as the SSD needing to be reset, and continuously comparing whether the time difference between the reset time of the (i) th SSD and the reset time of other SSDs of which the reset time is behind the (i + 1) th SSD is greater than or equal to the preset time difference threshold or not according to the sequence of the reset times from front to back;
if the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to the preset time difference threshold, replacing the ith SSD by the (i + 1) th SSD to serve as a new reference SSD, and continuously comparing whether the time difference between the reset time of the (i + 1) th SSD and the reset time of other SSDs of which the reset time is behind the (i + 1) th SSD is greater than or equal to the preset time difference threshold;
after comparing all SSDs in the RAID which are located behind the ith SSD at the reset time, controlling the SSDs marked as needing to be reset respectively.
With reference to the first aspect, in a first possible implementation manner of the first aspect, after comparing all SSDs located after the ith SSD at the reset time included in the RAID, controlling the SSDs marked as requiring reset to be reset respectively includes:
after comparing all SSDs of which the reset time included in the RAID is located behind the ith SSD, judging whether the time difference between the current time and the reset time of a specific SSD in the SSDs participating in the comparison is greater than or equal to the preset time difference threshold value; wherein the particular SSD is: according to the sequence of the reset time from front to back, the last SSD which participates in comparison is not marked as the SSD needing to be reset;
and if the current time is greater than or equal to the preset time, controlling the SSDs marked as needing to be reset respectively.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, controlling the SSDs marked as requiring reset to be reset respectively includes:
after any one of the SSDs marked as needing to be reset is reset, resetting any remaining one of the SSDs needing to be reset at preset time intervals until the SSDs needing to be reset are all reset; and the preset time interval is greater than or equal to the preset time difference threshold.
With reference to the first aspect or the first possible implementation manner or the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, controlling the SSDs marked as requiring reset to respectively reset includes:
controlling the SSD needing to be reset to respectively reset by utilizing the state reset function of the SSD; or
And controlling the SSD needing to be reset by the RAID to reset respectively.
With reference to the first aspect or the first possible implementation manner, the second possible implementation manner, or the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the method further includes: and detecting the reset time of each SSD in the RAID in real time, in a timing manner or in a periodic manner, and recording.
In a second aspect of the present invention, there is provided an SSD reset device, comprising:
the first comparison module is used for taking the ith SSD included in the RAID as a reference SSD, and comparing whether the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to a preset time difference threshold value or not according to the sequence of the corresponding reset times from front to back;
a second comparing module, configured to mark the i +1 th SSD as an SSD requiring reset if the time difference is smaller than the preset time difference threshold, and continue to sequentially compare, according to a sequence from front to back of reset times, whether a time difference between the reset time of the i th SSD and the reset time of another SSD located after the i +1 th SSD is greater than or equal to the preset time difference threshold;
a third comparing module, configured to, if a time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to the preset time difference threshold, enable the (i + 1) th SSD to replace the ith SSD as a new reference SSD, and continue to compare whether a time difference between the reset time of the (i + 1) th SSD and the reset time of another SSD whose reset time is located after the (i + 1) th SSD is greater than or equal to the preset time difference threshold;
and the control module is used for controlling the SSDs marked as needing to be reset respectively after comparing all the SSDs in the RAID which are positioned behind the ith SSD at the reset time.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the control module is specifically configured to:
after comparing all SSDs of which the reset time included in the RAID is located behind the ith SSD, judging whether the time difference between the current time and the reset time of a specific SSD in the SSDs participating in the comparison is greater than or equal to the preset time difference threshold value; wherein the particular SSD is: according to the sequence of the reset time from front to back, the last SSD which participates in comparison is not marked as the SSD needing to be reset;
and if the current time is greater than or equal to the preset time, controlling the SSDs marked as needing to be reset respectively.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the control module is configured to control the SSDs marked as requiring reset to be reset respectively, and specifically:
after any one of the SSDs marked as needing to be reset is reset, resetting any remaining one of the SSDs needing to be reset at preset time intervals until the SSDs needing to be reset are all reset; and the preset time interval is greater than or equal to the preset time difference threshold.
With reference to the second aspect or the first possible implementation manner or the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the controlling module is configured to control the SSDs marked as requiring reset to be reset respectively, and includes:
controlling the SSD needing to be reset to respectively reset by utilizing the state reset function of the SSD; or
And controlling the SSD needing to be reset by the RAID to reset respectively.
With reference to the second aspect or the first possible implementation manner, the second possible implementation manner, or the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the apparatus further includes a detection module, configured to: and detecting the reset time of each SSD in the RAID in real time, in a timing manner or in a periodic manner, and recording.
In a third aspect of the present invention, there is provided an SSD reset device, comprising a memory and a processor connected to the same bus;
the memory to store instructions;
the processor is configured to execute the instruction, use an ith SSD included in the redundant array of independent disks RAID as a reference SSD, and compare whether a time difference between a reset time of the ith SSD and a reset time of the (i + 1) th SSD is greater than or equal to a preset time difference threshold according to a sequence of the corresponding reset times from front to back; if the current time difference is less than the preset time difference threshold, marking the (i + 1) th SSD as the SSD needing to be reset, and continuously comparing whether the time difference between the reset time of the (i) th SSD and the reset time of other SSDs of which the reset time is behind the (i + 1) th SSD is greater than or equal to the preset time difference threshold or not according to the sequence of the reset times from front to back; if the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to the preset time difference threshold, replacing the ith SSD by the (i + 1) th SSD to serve as a new reference SSD, and continuously comparing whether the time difference between the reset time of the (i + 1) th SSD and the reset time of other SSDs of which the reset time is behind the (i + 1) th SSD is greater than or equal to the preset time difference threshold; after comparing all SSDs in the RAID which are located behind the ith SSD at the reset time, controlling the SSDs marked as needing to be reset respectively.
With reference to the third aspect, in a first possible implementation manner of the third aspect, the processor is configured to control, after comparing all SSDs that are located after the ith SSD at the reset time included in the RAID, SSDs marked as requiring reset to be reset respectively, specifically:
after comparing all SSDs of which the reset time included in the RAID is located behind the ith SSD, judging whether the time difference between the current time and the reset time of a specific SSD in the SSDs participating in the comparison is greater than or equal to the preset time difference threshold value; wherein the particular SSD is: according to the sequence of the reset time from front to back, the last SSD which participates in comparison is not marked as the SSD needing to be reset;
and if the current time is greater than or equal to the preset time, controlling the SSDs marked as needing to be reset respectively.
With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the processor is configured to control the SSDs marked as requiring reset to be respectively reset, specifically:
after any one of the SSDs marked as needing to be reset is reset, resetting any remaining one of the SSDs needing to be reset at preset time intervals until the SSDs needing to be reset are all reset; and the preset time interval is greater than or equal to the preset time difference threshold.
With reference to the third aspect or the first possible implementation manner or the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the processor is configured to control the SSDs marked as requiring reset to respectively reset, specifically:
controlling the SSD needing to be reset to respectively reset by utilizing the state reset function of the SSD; or
And controlling the SSD needing to be reset by the RAID to reset respectively.
With reference to the third aspect or the first possible implementation manner, the second possible implementation manner, or the third possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the processor is further configured to: and executing the instruction, detecting the reset time of each SSD in the RAID in real time, at regular time or periodically, and recording.
In the embodiment of the present invention, whether the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to the preset time difference threshold may be compared, if the time difference is smaller than the preset time difference threshold, the (i + 1) th SSD is marked as an SSD to be reset, and the subsequent comparison is continued, the subsequent comparison process is similar to the comparison process, if the time difference is greater than or equal to the preset time difference threshold, the (i + 1) th SSD is set as a new reference SSD, and the time differences between the reset times of the other SSDs and the reset time of the new reference SSD are continuously compared, the subsequent comparison process is similar to the previous comparison process, so that the SSDs to be reset can be marked and reset sequentially, it is ensured that the time difference between the reset times of every two SSDs is greater than or equal to the preset time difference threshold as much as possible, so that the operation start times of the SSDs are staggered as much as possible, the SSD forming one RAID is supposed to be produced in a batch, the SSDs have code defects, but the running time of the SSDs is different, so that the probability of the SSDs failing at the same time is greatly reduced, the SSDs may still fail, but the failure time of the different SSDs is different, the SSDs are easy to repair, the phenomenon that a plurality of SSDs in the same RAID group fail at the same time is avoided as much as possible, the continuity of storage services is ensured, the data loss is avoided as much as possible, and the reliability of the RAID is improved.
Drawings
FIG. 1 is a main flow chart of an SSD reset method in an embodiment of the present invention;
FIG. 2 is a block diagram of the main structure of an SSD reset device in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an SSD reset device according to an embodiment of the invention.
Detailed Description
The embodiment of the invention provides an SSD resetting method, which comprises the following steps: taking the ith SSD in the RAID as a reference SSD, and comparing whether the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to a preset time difference threshold or not according to the sequence of the corresponding reset times from front to back; if the current time difference is less than the preset time difference threshold, marking the (i + 1) th SSD as the SSD needing to be reset, and continuously comparing whether the time difference between the reset time of the (i) th SSD and the reset time of other SSDs of which the reset time is behind the (i + 1) th SSD is greater than or equal to the preset time difference threshold or not according to the sequence of the reset times from front to back; if the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to the preset time difference threshold, replacing the ith SSD by the (i + 1) th SSD to serve as a new reference SSD, and continuously comparing whether the time difference between the reset time of the (i + 1) th SSD and the reset time of other SSDs of which the reset time is behind the (i + 1) th SSD is greater than or equal to the preset time difference threshold; after comparing all SSDs in the RAID which are located behind the ith SSD at the reset time, controlling the SSDs marked as needing to be reset respectively.
In the embodiment of the present invention, whether the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to the preset time difference threshold may be compared, if the time difference is smaller than the preset time difference threshold, the (i + 1) th SSD is marked as an SSD to be reset, and the subsequent comparison is continued, the subsequent comparison process is similar to the comparison process, if the time difference is greater than or equal to the preset time difference threshold, the (i + 1) th SSD is set as a new reference SSD, and the time differences between the reset times of the other SSDs and the reset time of the new reference SSD are continuously compared, the subsequent comparison process is similar to the previous comparison process, so that the SSDs to be reset can be marked and reset sequentially, it is ensured that the time difference between the reset times of every two SSDs is greater than or equal to the preset time difference threshold as much as possible, so that the operation start times of the SSDs are staggered as much as possible, the SSD forming one RAID is supposed to be produced in a batch, the SSDs have code defects, but the running time of the SSDs is different, so that the probability of the SSDs failing at the same time is greatly reduced, the SSDs may still fail, but the failure time of the different SSDs is different, the SSDs are easy to repair, the phenomenon that a plurality of SSDs in the same RAID group fail at the same time is avoided as much as possible, the continuity of storage services is ensured, the data loss is avoided as much as possible, and the reliability of the RAID is improved.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 invention.
Additionally, the terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship, unless otherwise specified.
The embodiments of the present invention will be described in further detail with reference to the drawings attached hereto.
Referring to fig. 1, an embodiment of the present invention provides an SSD reset method, and a main flow of the method is described as follows.
Step 101: taking the ith SSD included in the RAID as a reference SSD, and comparing whether the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to a preset time difference threshold value or not according to the sequence of the corresponding reset times from front to back. If the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is smaller than a preset time difference threshold, executing step 102, and if the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is larger than or equal to the preset time difference threshold, executing step 103.
Optionally, in the embodiment of the present invention, the SSDs forming the RAID may be sorted first, where the sorting basis is the reset time corresponding to each SSD, that is, the SSDs are sorted in the order from the front to the back of the reset time, so as to obtain the first sequence. Of course, it is also possible to perform no sorting, and only the processing is performed at the reset time of each SSD during the processing, and the sorting is performed only for convenience and rapidness in processing. The sequencing workload and the required time are very small and almost negligible.
Selecting the ith SSD as the reference SSD from SSDs constituting a RAID, i being a positive integer less than or equal to M, where M is the total number of SSDs constituting the RAID.
In order to enable each SSD included in the RAID to be processed, preferably, i may be equal to 1, where the first SSD refers to the first SSD in the first sequence, that is, the SSD located at the head of the first sequence, that is, the SSD which reaches the reset time first in the SSDs.
After the reference SSD is selected, it may be compared whether a time difference between the reset time of the reference SSD and the reset time of the i +1 th SSD is greater than or equal to the preset time difference threshold. For example, if the ith SSD is the first SSD in the first sequence, after selecting the first SSD as the reference SSD, it may be compared whether a time difference between a reset time of the first SSD and a reset time of a second SSD in the first sequence, that is, the first SSD in the first sequence after the first SSD, is greater than or equal to the preset time difference threshold.
In the embodiment of the present invention, the preset time difference threshold may be set as needed, and the setting principle is to reserve sufficient operation time for repairing the failure of the SSD. If the defect that the SSD needs to be reset/hung up after long-time operation is hidden inside the SSD, after a certain SSD is reset/hung up, the time of several hours is generally needed for reconstructing data, and the time of about 1-2 days is needed for replacing the SSD. For example, 72 hours may be set, or other time periods may be set.
Step 102: and if the time difference is smaller than the preset time difference threshold, marking the (i + 1) th SSD as the SSD needing to be reset, and continuously and sequentially comparing whether the time difference between the reset time of the (i) th SSD and the reset time of other SSDs of which the reset time is behind the (i + 1) th SSD is larger than or equal to the preset time difference threshold according to the sequence of the reset times from front to back.
If the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is smaller than the preset time difference threshold, the (i + 1) th SSD can be marked as the SSD needing to be reset, and subsequent similar comparison is continued, namely whether the time difference between the reset time of the ith SSD and the reset time of other SSDs located behind the (i + 1) th SSD is greater than or equal to the preset time difference threshold or not is continuously compared. That is, whether the time difference between the reset time of the ith SSD and the reset time of the (i + 2) th SSD is greater than or equal to the preset time difference threshold is continuously compared, if the time difference is smaller than the preset time difference threshold, the (i + 2) th SSD is marked as the SSD requiring reset, and whether the time difference between the reset time of the ith SSD and the reset time of the (i + 3) th SSD is continuously compared, and so on.
Step 103: if the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is larger than or equal to the preset time difference threshold, replacing the ith SSD by the (i + 1) th SSD to serve as a new reference SSD, and continuously comparing whether the time difference between the reset time of the (i + 1) th SSD and the reset time of other SSDs of which the reset time is behind the (i + 1) th SSD is larger than or equal to the preset time difference threshold.
If the comparison result in step 101 is that if the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to the preset time difference threshold, setting the (i + 1) th SSD as a new reference SSD, and starting to compare, according to the same method, whether the time difference between the reset time of the (i + 1) th SSD and the reset time of another SSD whose reset time is after the (i + 1) th SSD is greater than or equal to the preset time difference threshold.
That is, if the comparison result of step 101 is that if the time difference between the reset time of the i-th SSD and the reset time of the i + 1-th SSD is greater than or equal to the preset time difference threshold, the i + 1-th SSD is set as a new reference SSD, and starts to compare whether the time difference between the reset time of the i + 1-th SSD and the reset time of the i + 2-th SSD is greater than or equal to the preset time difference threshold, if the time difference between the reset time of the i + 1-th SSD and the reset time of the i + 2-th SSD is less than the preset time difference threshold, the i + 2-th SSD is marked as an SSD requiring reset, the comparison is continued if the time difference between the reset time of the i + 1-th SSD and the reset time of the i + 3-th SSD is greater than or equal to the preset time difference threshold, and if the time difference between the reset time of the i + 1-th SSD and the reset time of the i + 2-th is greater than or equal to the preset time difference threshold, setting the (i + 2) th SSD as a new reference SSD, and starting to compare whether the time difference between the reset time of the (i + 2) th SSD and the reset time of other SSDs of which the reset time is positioned behind the (i + 2) th SSD is larger than or equal to the preset time difference threshold, and so on.
Steps 101, 102, and 103 are a process executed in a loop, and the loop is stopped until each SSD located after the ith SSD at the reset time is compared.
Step 104: after comparing all SSDs in the RAID which are located behind the ith SSD at the reset time, controlling the SSDs marked as needing to be reset respectively.
In the embodiment of the invention, in the comparison process, the SSDs needing to be reset are all marked, so that the SSDs marked with the marks needing to be reset can be respectively reset after the whole cycle comparison is finished.
Optionally, in this embodiment of the present invention, after comparing all SSDs located after the ith SSD at the reset time included in the RAID, controlling the SSDs marked as requiring reset to be reset respectively includes:
after comparing all SSDs of which the reset time included in the RAID is located behind the ith SSD, judging whether the time difference between the current time and the reset time of a specific SSD in the SSDs participating in the comparison is greater than or equal to the preset time difference threshold value; wherein the particular SSD is: according to the sequence of the reset time from front to back, the last SSD which participates in comparison is not marked as the SSD needing to be reset;
and if the current time is greater than or equal to the preset time, controlling the SSDs marked as needing to be reset respectively.
That is, before resetting, it is first determined whether a time difference between a current time and a reset time of the specific SSD of the SSDs participating in the comparison is greater than or equal to the preset time difference threshold, and if not, the specific SSD of the SSDs participating in the comparison is not temporarily reset until the time difference between the current time and the reset time of the specific SSD of the SSDs participating in the comparison is greater than or equal to the preset time difference threshold, so that it is ensured that the time difference between the reset times of every two SSDs constituting the RAID is greater than or equal to the preset time difference threshold, and it is ensured as much as possible that each SSD of the RAID does not simultaneously fail, thereby improving system reliability, and ensuring data security and service continuity.
Optionally, in the embodiment of the present invention, controlling the SSDs marked as requiring reset to be reset respectively includes:
after any one of the SSDs marked as needing to be reset is reset, resetting any remaining one of the SSDs needing to be reset at preset time intervals until the SSDs needing to be reset are all reset; and the preset time interval is greater than or equal to the preset time difference threshold.
That is, during resetting, only one of the SSDs that needs to be reset is reset at a time, one SSD is selected from the SSDs marked as needing to be reset first, the selected SSD is reset, and after the reset, the selected SSD waits for a predetermined time interval, and then any one of the remaining SSDs that needs to be reset is selected to be reset, and so on until all the SSDs that need to be reset are reset. Therefore, the time difference between the reset moments of every two SSDs forming the RAID is ensured to be larger than or equal to the preset time difference threshold value as much as possible, the SSDs in the RAID are ensured not to simultaneously break down as much as possible, the reliability of the system is improved, and the data safety and the service continuity are guaranteed.
Optionally, in the embodiment of the present invention, controlling the SSDs marked as requiring reset to be reset respectively includes:
controlling the SSD needing to be reset to respectively reset by utilizing the state reset function of the SSD; or
And controlling the SSD needing to be reset by the RAID to reset respectively.
That is, if the SSD has a status reset function by itself, the reset may be performed by the SSD itself, and if the SSD does not have a status reset function by itself, the reset may be performed by supporting the SSD through the RAID. No matter the SSD is reset by itself or the SSD is reset by the RAID support, the specific reset process is already a mature technology in the prior art, and is not described here.
It should be noted that, in each SSD constituting one RAID, all the SSDs may have the status reset function, or all the SSDs may not have the status reset function, or some SSDs may have the status reset function and another SSD may not have the status reset function, and all the possibilities are included in the scope of the present invention.
Optionally, in the embodiment of the present invention, the method may further include:
and detecting the reset time of each SSD in the RAID in real time, in a timing manner or in a periodic manner, and recording.
The time can be recorded every time when the SSD is accessed to the array for the first time or after reset or when the SSD successfully completes the state reset, and the time is called the state initialization time of the SSD and is also called the reset time of the SSD in the embodiment of the invention.
When recording this time, either a relative time, i.e. the time when the array was started, or an absolute time, i.e. absolute time information, may be recorded. Here, the specific recording manner does not affect the implementation and effect of the present invention.
Within the array, the reset time of each SSD can be detected in real time, periodically, or periodically. For example, a periodic task may be set, and the reset times of all the SSDs may be actively checked every other period, and the SSDs may be sorted according to the reset times of the SSDs.
The following describes an SSD reset method in the embodiment of the present invention with a specific example.
Considering a scenario, assuming there are 10 SSDs, the respective state reset time points are shown in table 1 (table 1 shows the results sorted from the reset time point in front to the reset time point):
TABLE 1
Assuming that the preset time difference threshold is 3 days, i.e., 72 hours, the current time is 3 months, 7 days, 12: 00.
According to the method in the embodiment of the invention, the following treatment is carried out:
1. and sequencing each SSD in the table 1 from front to back according to the corresponding reset time to obtain a first sequence.
2. Selecting a first SSD in the first sequence as a reference SSD and an SSD that immediately follows as a current SSD.
3. Comparing reset time of the reference SSD and the current SSD:
and 3A, if the time difference between the two is smaller than the preset time difference threshold, marking the current SSD as needing to be reset. And 3, taking the next adjacent SSD of the current SSD as a new current SSD, and repeating the step 3.
And 3B, if the time difference between the current SSD and the reference SSD is larger than or equal to the preset time difference threshold, ending the comparison in the current round, taking the current SSD as a new reference SSD, taking the next SSD following the reference SSD as the current SSD, and repeating the step 3.
After comparing all the SSDs in table 1, if the time difference between the current time and the last reset time that is not marked as an SSD that needs to be reset is less than the preset time difference threshold, waiting until the time difference between the current time and the last reset time that is not marked as an SSD that needs to be reset is greater than or equal to the preset time difference threshold.
And if the time difference between the current time and the last reset time which is not marked as the SSD needing to be reset is greater than or equal to the preset time difference threshold, randomly selecting one SSD from the SSDs marked with the SSD needing to be reset for state reset, waiting after the reset, and randomly selecting one SSD from the rest SSDs marked with the SSDs needing to be reset again when the time difference is greater than or equal to the preset time difference threshold until all the SSDs marked with the SSDs needing to be reset complete state reset.
Applying the above method to table 1, the results obtained were:
1. the 6 blocks of SSD #2, #3, #4, #5, #6, #7 all have a time difference between reset times smaller than the preset time difference threshold (72 hours) compared to SSD #1, and then the 6 blocks of SSD are marked as requiring status reset.
2. #8SSD the time difference between reset times is greater than the preset time difference threshold, and therefore no state reset is required, compared to #1 SSD. Meanwhile, taking the #8SSD as a new reference SSD, comparing whether the time difference between the reset time of the #8SSD and the reset time of the #9SSD is greater than or equal to a preset time difference threshold, if the comparison result is less than the preset time difference threshold, marking the #9SSD as the SSD needing to be reset, continuing to compare whether the time difference between the reset time of the #8SSD and the reset time of the #10SSD is greater than or equal to the preset time difference threshold, if the comparison result is less than the preset time difference threshold, marking the #10SSD as the SSD needing to be reset, and finishing the comparison.
3. And #9 and #10, compared with #8SSD, the time difference between the reset time is smaller than the preset time difference threshold, and then the 2 SSDs are marked as needed state reset.
4. Through steps 1, 2 and 3, the 2 SSDs #1 and #8 are not marked as requiring a state reset, while the remaining SSDs are all marked as requiring a state reset.
The current time is 3 months, 7 days 12:00, the reset time of #8SSD (the last SSD not marked as requiring reset) is 3 months, 4 days 14:25, the time difference between the two is less than 72 hours, and therefore, waiting is required.
Waiting until 3/7/14: 25 (or some time later), the marked SSDs are reset by arbitrarily selecting one of the SSDs #2, #3, #4, #5, #6, #7, #9, and #10, and then reset for 72 hours or more, and then reset by arbitrarily selecting one of the remaining SSDs until the SSDs #2, #3, #4, #5, #6, #7, #9, and #10 are all reset.
In the embodiment of the invention, after all the SSDs marked as needing to be reset are subjected to state reset, the running time intervals of all the SSDs in one RAID meet the threshold requirement. Therefore, the time difference between the reset moments of every two SSDs forming the RAID is ensured to be larger than or equal to the preset time difference threshold value as much as possible, each SSD in the RAID cannot simultaneously fail, and when one SSD fails, enough failure repair time is reserved before the time when the next SSD possibly fails as much as possible, so that the system reliability is improved, and the data safety and the service continuity are ensured.
Referring to fig. 2, based on the same inventive concept, an embodiment of the present invention provides an SSD reset device, which includes a first comparing module 201, a second comparing module 202, a third comparing module 203, and a control module 204.
A first comparing module 201, configured to take an ith SSD included in the redundant array of independent disks RAID as a reference SSD, and compare, according to a sequence from front to back of corresponding reset times, whether a time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to a preset time difference threshold;
a second comparing module 202, configured to mark the i +1 th SSD as an SSD that needs to be reset if the time difference is smaller than the preset time difference threshold, and continue to sequentially compare, according to a sequence from front to back of the reset time, whether a time difference between the reset time of the i th SSD and the reset time of another SSD located after the i +1 th SSD is greater than or equal to the preset time difference threshold;
a third comparing module 203, configured to, if a time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to the preset time difference threshold, enable the (i + 1) th SSD to replace the ith SSD as a new reference SSD, and continue to compare whether a time difference between the reset time of the (i + 1) th SSD and the reset time of another SSD whose reset time is located after the (i + 1) th SSD is greater than or equal to the preset time difference threshold;
the control module 204 is configured to control the SSDs marked as requiring resetting to be reset respectively after comparing all the SSDs included in the RAID that are located after the ith SSD at the resetting time.
Optionally, in this embodiment of the present invention, the control module 204 is specifically configured to:
after comparing all SSDs of which the reset time included in the RAID is located behind the ith SSD, judging whether the time difference between the current time and the reset time of a specific SSD in the SSDs participating in the comparison is greater than or equal to the preset time difference threshold value; wherein the particular SSD is: according to the sequence of the reset time from front to back, the last SSD which participates in comparison is not marked as the SSD needing to be reset;
and if the current time is greater than or equal to the preset time, controlling the SSDs marked as needing to be reset respectively.
Optionally, in the embodiment of the present invention, the control module 204 is configured to control the SSDs marked as needed to be reset respectively, specifically:
after any one of the SSDs marked as needing to be reset is reset, resetting any remaining one of the SSDs needing to be reset at preset time intervals until the SSDs needing to be reset are all reset; and the preset time interval is greater than or equal to the preset time difference threshold.
Optionally, in this embodiment of the present invention, the control module 204 is configured to control the SSDs marked as needing to be reset respectively, and includes:
controlling the SSD needing to be reset to respectively reset by utilizing the state reset function of the SSD; or
And controlling the SSD needing to be reset by the RAID to reset respectively.
Optionally, in this embodiment of the present invention, the apparatus may further include a detection module, configured to: and detecting the reset time of each SSD in the RAID in real time, in a timing manner or in a periodic manner, and recording.
Referring to fig. 3, based on the same inventive concept, an embodiment of the present invention provides an SSD reset device, which includes a memory 301 and a processor 302 connected to the same bus 300.
A memory 301 for storing instructions required for the processor 302 to perform tasks
A processor 302, configured to execute an instruction stored in the memory 301, take an ith SSD included in the redundant array of independent disks RAID as a reference SSD, and compare, according to a sequence from front to back of corresponding reset times, whether a time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to a preset time difference threshold; if the current time difference is less than the preset time difference threshold, marking the (i + 1) th SSD as the SSD needing to be reset, and continuously comparing whether the time difference between the reset time of the (i) th SSD and the reset time of other SSDs of which the reset time is behind the (i + 1) th SSD is greater than or equal to the preset time difference threshold or not according to the sequence of the reset times from front to back; if the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to the preset time difference threshold, replacing the ith SSD by the (i + 1) th SSD to serve as a new reference SSD, and continuously comparing whether the time difference between the reset time of the (i + 1) th SSD and the reset time of other SSDs of which the reset time is behind the (i + 1) th SSD is greater than or equal to the preset time difference threshold; after comparing all SSDs in the RAID which are located behind the ith SSD at the reset time, controlling the SSDs marked as needing to be reset respectively.
Optionally, in this embodiment of the present invention, the processor 302 is configured to control, after comparing all SSDs located after the ith SSD at the reset time included in the RAID, the SSDs marked as needing to be reset respectively, specifically:
after comparing all SSDs of which the reset time included in the RAID is located behind the ith SSD, judging whether the time difference between the current time and the reset time of a specific SSD in the SSDs participating in the comparison is greater than or equal to the preset time difference threshold value; wherein the particular SSD is: according to the sequence of the reset time from front to back, the last SSD which participates in comparison is not marked as the SSD needing to be reset;
and if the current time is greater than or equal to the preset time, controlling the SSDs marked as needing to be reset respectively.
Optionally, in this embodiment of the present invention, the processor 302 is configured to control the SSDs marked as needing to be reset respectively, specifically:
after any one of the SSDs marked as needing to be reset is reset, resetting any remaining one of the SSDs needing to be reset at preset time intervals until the SSDs needing to be reset are all reset; and the preset time interval is greater than or equal to the preset time difference threshold.
Optionally, in this embodiment of the present invention, the processor 302 is configured to control the SSDs marked as needing to be reset respectively, specifically:
controlling the SSD needing to be reset to respectively reset by utilizing the state reset function of the SSD; or
And controlling the SSD needing to be reset by the RAID to reset respectively.
Optionally, in this embodiment of the present invention, the processor 302 is further configured to: executing the instructions stored in the memory 301, detecting the reset time of each SSD included in the RAID in real time, at regular time, or periodically, and recording the reset time.
The embodiment of the invention provides an SSD resetting method, which comprises the following steps: taking the ith SSD in the RAID as a reference SSD, and comparing whether the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to a preset time difference threshold or not according to the sequence of the corresponding reset times from front to back; if the current time difference is less than the preset time difference threshold, marking the (i + 1) th SSD as the SSD needing to be reset, and continuously comparing whether the time difference between the reset time of the (i) th SSD and the reset time of other SSDs of which the reset time is behind the (i + 1) th SSD is greater than or equal to the preset time difference threshold or not according to the sequence of the reset times from front to back; if the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to the preset time difference threshold, replacing the ith SSD by the (i + 1) th SSD to serve as a new reference SSD, and continuously comparing whether the time difference between the reset time of the (i + 1) th SSD and the reset time of other SSDs of which the reset time is behind the (i + 1) th SSD is greater than or equal to the preset time difference threshold; after comparing all SSDs in the RAID which are located behind the ith SSD at the reset time, controlling the SSDs marked as needing to be reset respectively.
In the embodiment of the present invention, whether the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to the preset time difference threshold may be compared, if the time difference is smaller than the preset time difference threshold, the (i + 1) th SSD is marked as an SSD to be reset, and the subsequent comparison is continued, the subsequent comparison process is similar to the comparison process, if the time difference is greater than or equal to the preset time difference threshold, the (i + 1) th SSD is set as a new reference SSD, and the time differences between the reset times of the other SSDs and the reset time of the new reference SSD are continuously compared, the subsequent comparison process is similar to the previous comparison process, so that the SSDs to be reset can be marked and reset sequentially, it is ensured that the time difference between the reset times of every two SSDs is greater than or equal to the preset time difference threshold as much as possible, so that the operation start times of the SSDs are staggered as much as possible, the SSD forming one RAID is supposed to be produced in a batch, the SSDs have code defects, but the running time of the SSDs is different, so that the probability of the SSDs failing at the same time is greatly reduced, the SSDs may still fail, but the failure time of the different SSDs is different, the SSDs are easy to repair, the phenomenon that a plurality of SSDs in the same RAID group fail at the same time is avoided as much as possible, the continuity of storage services is ensured, the data loss is avoided as much as possible, and the reliability of the RAID is improved.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: u disk, removable hard disk, read only memory, random access memory, magnetic or optical disk, etc. for storing program codes.
The above embodiments are only used to describe the technical solutions of the present application in detail, but the above embodiments are only used to help understanding the method and the core idea of the present invention, and should not be construed as limiting the present invention. Those skilled in the art should also appreciate that they can easily conceive of various changes and substitutions within the technical scope of the present disclosure.

Claims (10)

1. A Solid State Disk (SSD) resetting method is characterized by comprising the following steps:
taking the ith SSD included in the redundant array of independent disks RAID as a reference SSD, and comparing whether the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to a preset time difference threshold or not according to the sequence of the corresponding reset times from front to back;
if the current time difference is less than the preset time difference threshold, marking the (i + 1) th SSD as the SSD needing to be reset, and continuously comparing whether the time difference between the reset time of the (i) th SSD and the reset time of other SSDs of which the reset time is behind the (i + 1) th SSD is greater than or equal to the preset time difference threshold or not according to the sequence of the reset times from front to back;
if the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to the preset time difference threshold, replacing the ith SSD by the (i + 1) th SSD to serve as a new reference SSD, and continuously comparing whether the time difference between the reset time of the (i + 1) th SSD and the reset time of other SSDs of which the reset time is behind the (i + 1) th SSD is greater than or equal to the preset time difference threshold;
after comparing all SSDs located after the ith SSD at the reset time included in the RAID, controlling the SSDs marked as needing to be reset respectively; wherein,
controlling the SSDs marked as needing to be reset respectively, comprising the following steps:
after any one of the SSDs marked as needing to be reset is reset, resetting any remaining one of the SSDs needing to be reset at preset time intervals until the SSDs needing to be reset are all reset; and the preset time interval is greater than or equal to the preset time difference threshold.
2. The method of claim 1, wherein after comparing all SSDs included in the RAID that have a reset time after the ith SSD, controlling the SSDs marked as requiring reset to be reset respectively comprises:
after comparing all SSDs of which the reset time included in the RAID is located behind the ith SSD, judging whether the time difference between the current time and the reset time of a specific SSD in the SSDs participating in the comparison is greater than or equal to the preset time difference threshold value; wherein the particular SSD is: according to the sequence of the reset time from front to back, the last SSD which participates in comparison is not marked as the SSD needing to be reset;
and if the current time is greater than or equal to the preset time, controlling the SSDs marked as needing to be reset respectively.
3. The method of claim 1 or 2, wherein controlling the SSDs marked as requiring reset to be reset separately comprises:
controlling the SSD needing to be reset to respectively reset by utilizing the state reset function of the SSD; or
And controlling the SSD needing to be reset by the RAID to reset respectively.
4. The method of claim 1 or 2, wherein the method further comprises: and detecting the reset time of each SSD in the RAID in real time, in a timing manner or in a periodic manner, and recording.
5. The method of claim 3, wherein the method further comprises: and detecting the reset time of each SSD in the RAID in real time, in a timing manner or in a periodic manner, and recording.
6. The Solid State Disk (SSD) resetting device is characterized by comprising a memory and a processor which are connected to the same bus;
the memory to store instructions;
the processor is configured to execute the instruction, use an ith SSD included in the redundant array of independent disks RAID as a reference SSD, and compare whether a time difference between a reset time of the ith SSD and a reset time of the (i + 1) th SSD is greater than or equal to a preset time difference threshold according to a sequence of the corresponding reset times from front to back; if the current time difference is less than the preset time difference threshold, marking the (i + 1) th SSD as the SSD needing to be reset, and continuously comparing whether the time difference between the reset time of the (i) th SSD and the reset time of other SSDs of which the reset time is behind the (i + 1) th SSD is greater than or equal to the preset time difference threshold or not according to the sequence of the reset times from front to back; if the time difference between the reset time of the ith SSD and the reset time of the (i + 1) th SSD is greater than or equal to the preset time difference threshold, replacing the ith SSD by the (i + 1) th SSD to serve as a new reference SSD, and continuously comparing whether the time difference between the reset time of the (i + 1) th SSD and the reset time of other SSDs of which the reset time is behind the (i + 1) th SSD is greater than or equal to the preset time difference threshold; after comparing all SSDs in the RAID which are located behind the ith SSD at the reset time, controlling the SSDs marked as needing to be reset respectively.
7. The apparatus of claim 6, wherein the processor is configured to, after comparing all SSDs included in the RAID that have a reset time after the ith SSD, control the SSDs marked as requiring reset to be reset respectively, specifically:
after comparing all SSDs of which the reset time included in the RAID is located behind the ith SSD, judging whether the time difference between the current time and the reset time of a specific SSD in the SSDs participating in the comparison is greater than or equal to the preset time difference threshold value; wherein the particular SSD is: according to the sequence of the reset time from front to back, the last SSD which participates in comparison is not marked as the SSD needing to be reset;
and if the current time is greater than or equal to the preset time, controlling the SSDs marked as needing to be reset respectively.
8. The apparatus according to claim 6 or 7, wherein the processor is configured to control the SSDs marked as requiring reset to be respectively reset, specifically:
controlling the SSD needing to be reset to respectively reset by utilizing the state reset function of the SSD; or
And controlling the SSD needing to be reset by the RAID to reset respectively.
9. The apparatus of claim 6 or 7, wherein the processor is further configured to: and executing the instruction, detecting the reset time of each SSD in the RAID in real time, at regular time or periodically, and recording.
10. The apparatus of claim 8, wherein the processor is further configured to: and executing the instruction, detecting the reset time of each SSD in the RAID in real time, at regular time or periodically, and recording.
CN201410654358.6A 2014-11-14 2014-11-14 A kind of SSD repositioning method and device Active CN105589758B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410654358.6A CN105589758B (en) 2014-11-14 2014-11-14 A kind of SSD repositioning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410654358.6A CN105589758B (en) 2014-11-14 2014-11-14 A kind of SSD repositioning method and device

Publications (2)

Publication Number Publication Date
CN105589758A CN105589758A (en) 2016-05-18
CN105589758B true CN105589758B (en) 2019-03-01

Family

ID=55929359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410654358.6A Active CN105589758B (en) 2014-11-14 2014-11-14 A kind of SSD repositioning method and device

Country Status (1)

Country Link
CN (1) CN105589758B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857579B (en) * 2020-06-30 2024-02-09 广东浪潮大数据研究有限公司 SSD disk controller resetting method, SSD disk controller resetting system, SSD disk controller resetting device and readable storage medium
CN112306747B (en) * 2020-09-29 2023-04-11 新华三技术有限公司合肥分公司 RAID card fault processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101676872A (en) * 2008-09-19 2010-03-24 刘杰 Structure of solid state disk and method for accelerating initialization thereof
CN102301339A (en) * 2009-04-21 2011-12-28 国际商业机器公司 Apparatus and method for controlling a solid state disk (SSD) device
CN103019870A (en) * 2012-12-14 2013-04-03 大唐移动通信设备有限公司 Method and communication equipment for processing reset signal
CN103180908A (en) * 2010-11-29 2013-06-26 英特尔公司 Method and apparatus for improving endurance of flash memories

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101676872A (en) * 2008-09-19 2010-03-24 刘杰 Structure of solid state disk and method for accelerating initialization thereof
CN102301339A (en) * 2009-04-21 2011-12-28 国际商业机器公司 Apparatus and method for controlling a solid state disk (SSD) device
CN103180908A (en) * 2010-11-29 2013-06-26 英特尔公司 Method and apparatus for improving endurance of flash memories
CN103019870A (en) * 2012-12-14 2013-04-03 大唐移动通信设备有限公司 Method and communication equipment for processing reset signal

Also Published As

Publication number Publication date
CN105589758A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
US10310951B1 (en) Storage system asynchronous data replication cycle trigger with empty cycle detection
US9251231B2 (en) Merging an out of synchronization indicator and a change recording indicator in response to a failure in consistency group formation
CN104094236B (en) The system and method for preventing loss of data
US10949314B2 (en) Method and apparatus for failure recovery of storage device
US9971673B2 (en) System and method for testing software in a multi-platform testing environment
CN106933501A (en) Duplicate is created at user-defined time point
JP2012533796A5 (en)
CN103294752B (en) Online verification method and system of a standby database in log shipping physical replication environment
US9459949B2 (en) Methods and apparatus to provide failure detection
CN105589758B (en) A kind of SSD repositioning method and device
CN110704236B (en) On-line checking method for chip flash data and computer storage medium
CN110659138B (en) Data synchronization method, device, terminal and storage medium based on timing task
CN108304140B (en) Flash memory data management method and device and microcontroller
CN103677749B (en) System and method for control processor instruction execution
CN103176745A (en) Hard disc array takeover method of storage system with double controllers
CN111814415B (en) Efficient regression testing method for chip verification
CN109460323A (en) A kind of method and apparatus that data generate cloud backup
CN101833483A (en) Embedded electronic device and data storage method
CN112069014B (en) Storage system fault simulation method, device, equipment and medium
US9990274B2 (en) Testing integrated business systems
CN103870388B (en) Avoiding processing flaws in a computer processor triggered by a predetermined sequence of hardware events
CN110941479B (en) Task data execution method, server, and computer storage medium
US9229882B2 (en) System for backing up and restoring the functionalities of an information technology system
CN107122489B (en) Data comparison method and device
CN115080093B (en) Distributed system upgrading method, device, server and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220907

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.