SSD internal data security management system and method based on disk array

Through the SSD internal data security management system based on the disk array, using read and write analysis and data analysis, the automatic security management of data in the solid state drive is realized, which solves the risk of data damage or loss and improves the reliability and security of the data.

CN118398062BActive Publication Date: 2024-10-08SHENZHEN LINGDECHUANG TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410841240.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-10-08
Estimated Expiration
2044-06-27

AI Technical Summary

Technical Problem

Existing solid-state drives have a high risk of data damage or loss in scenarios where large amounts of data are read and written frequently, and data anomaly detection relies on human intervention, lacking an automated data security management mechanism.

Method used

The SSD internal data security management system based on the disk array is adopted, including the hard disk reading module, backup analysis module, verification configuration module, data verification module, solid-state self-test module and processor. Through reading and writing analysis and data analysis, data can be realized. Automatic backup and anomaly detection and management.

Benefits of technology

It realizes automated security management of data in solid-state drives, reduces human intervention, improves data reliability and security, and ensures rapid recovery and management of data under abnormal circumstances.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118398062B_ABST
    Figure CN118398062B_ABST
Patent Text Reader

Abstract

The present invention discloses a disk array-based SSD internal data security management system and method, relates to the field of solid-state hard disks, and solves the problem that when data damage or data anomaly occurs in the solid-state hard disk, manual detection or pop-up message reminder is still required. The system comprises a backup analysis module, a verification configuration module, a data verification module and a solid-state self-check module. The backup analysis module is used to analyze the data backup situation of the solid-state hard disk, and obtain the capacity surplus level of the solid-state hard disk through analysis. The verification configuration module is used to configure the backup storage area and the verification area of ​​the solid-state hard disk. The data verification module is used to verify the data when the solid-state hard disk is written and read, and verify the data normal signal or the data abnormal signal. The solid-state self-check module is used to detect the running state of the solid-state hard disk, and detect and generate the running abnormal signal or the running normal signal. The present invention is based on read-write analysis and data analysis to realize the security management of data in the solid-state hard disk.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of solid state hard disks and relates to data management technology, in particular to a disk array-based SSD internal data security management system and method. Background Art

[0002] Solid-state drives are composed of a control unit and a storage unit. The interface specifications and definitions, functions and usage methods of solid-state drives are exactly the same as those of ordinary hard drives, and the product appearance and size are basically the same as those of ordinary hard drives. Solid-state drives are currently widely used in many fields such as automotive, industrial control, video surveillance, network monitoring, network terminals, electricity, medical, aviation, navigation equipment, etc.

[0003] In the current context, SSDs need to operate in scenarios with large amounts of high-frequency data read and write operations. The risk of data damage or loss inside SSDs makes data backup a necessary operation. However, when data damage or data anomalies occur in SSDs, manual inspection is still required. Only when abnormal pop-up windows or other messages appear can data damage and data anomalies be known. Therefore, how to stripe SSDs to achieve data security management is the current problem.

[0004] To this end, we propose a disk array-based SSD internal data security management system and method. Summary of the invention

[0005] In view of the deficiencies in the prior art, the present invention aims to provide a disk array-based SSD internal data security management system and method.

[0006] The technical problems to be solved by the present invention are:

[0007] How to achieve secure management of data in solid-state drives based on read-write analysis and data analysis.

[0008] In order to achieve the above object, the present invention adopts the following technical solutions:

[0009] The internal data security management system of SSD based on disk array includes hard disk reading module, backup analysis module, verification configuration module, data verification module, solid-state self-test module, display terminal and processor;

[0010] The hard disk reading module is used to obtain the array distribution information of the solid state disk, and send the array distribution information of the solid state disk to the processor, and the processor sends the array distribution information of the solid state disk to the backup analysis module and the verification configuration module;

[0011] The backup analysis module is used to analyze the data backup situation of the solid state drive, and the capacity surplus level of the solid state drive obtained by the analysis is sent to the processor, and the processor sends the capacity surplus level of the solid state drive to the verification configuration module; the verification configuration module is used to configure the backup storage area and the verification area of ​​the solid state drive;

[0012] When performing write and read operations, the data verification module is used to verify the data when writing and reading the solid-state hard disk, and the verification data normal signal or data abnormal signal is sent to the processor. If the processor receives the data normal signal, no operation is performed. If the processor receives the data abnormal signal, the sector of the corresponding data block is recorded as a sector to be checked, and the processor sends the data abnormal signal to the solid-state self-test module;

[0013] The solid-state self-test module is used to detect the operating status of the solid-state hard disk, and the detection generates an abnormal operation signal or a normal operation signal and sends it to the processor. If the processor receives a normal operation signal, it obtains the backup storage area of ​​the storage area where the sector to be checked is located, and transfers the data block of the corresponding sector in the backup storage area to the sector of the storage area to replace the data block. If the processor receives an abnormal operation signal, it sends the abnormal operation signal to the display terminal, and the display terminal is used to display the abnormal operation signal of the solid-state hard disk.

[0014] Specifically, the array distribution information includes the number of stripes of the solid state drive, and the stripe depth and stripe width of each stripe;

[0015] The solid state drive is composed of storage areas, and a stripe in the solid state drive is composed of sectors at the same horizontal position in different storage areas, and the data capacity of each sector in the same stripe is the same;

[0016] The stripe depth is the data capacity of each sector in the same stripe;

[0017] The stripe width is the number of sectors in the same stripe.

[0018] Specifically, the analysis process of the backup analysis module is as follows:

[0019] Read the number of stripes, stripe depth, and stripe width of the SSD;

[0020] Calculate the user capacity value of the solid state drive;

[0021] Then read the logical capacity value of the solid state drive;

[0022] Compare the user capacity value with the logical capacity value to get the space utilization rate of the solid state drive;

[0023] Then, the space usage rate is compared with the space usage threshold to determine whether the capacity surplus level of the solid state drive is the third capacity surplus level, the second capacity surplus level, or the first capacity surplus level.

[0024] Specifically, the relative remaining capacity of the first capacity surplus level is lower than the relative remaining capacity of the second capacity surplus level, and the relative remaining capacity of the second capacity surplus level is lower than the relative remaining capacity of the third capacity surplus level.

[0025] Specifically, the configuration process of the verification configuration module is as follows:

[0026] The sectors of the check area are divided according to the number of stripes of the solid state drive, and the sectors of the check area correspond to the stripes of the storage area one by one;

[0027] Meanwhile, when the capacity surplus level of the solid state hard disk is the first capacity surplus level, the backup storage area of ​​the corresponding storage area of ​​the solid state hard disk is one copy;

[0028] When the capacity surplus level of the solid state hard disk is the second capacity surplus level, the backup storage area of ​​the corresponding storage area of ​​the solid state hard disk is two;

[0029] When the capacity surplus level of the solid state hard disk is the third capacity surplus level, the backup storage area of ​​the corresponding storage area of ​​the solid state hard disk is three.

[0030] Specifically, the surplus space capacity of the third capacity surplus level is greater than the surplus space capacity of the second capacity surplus level, and the surplus space capacity of the second capacity surplus level is greater than the surplus space capacity of the first capacity surplus level.

[0031] Specifically, the verification process of the data verification module is as follows:

[0032] When performing a data writing operation, the written data is divided into several data blocks, and then the several data blocks are written in parallel to sectors corresponding to different storage areas in the same stripe;

[0033] Obtaining written binary indications of data blocks in sectors in each storage area; wherein the data capacity of each data block in the same stripe is the same;

[0034] If the number of 1s in the data block after conversion to binary is an odd number, the value of the written binary indication of the data block is determined to be 1; if the number of 1s in the data block after conversion to binary is an even number, the value of the written binary indication of the data block is determined to be 0;

[0035] Calculate the standard check reading for each set of strips in the storage area;

[0036] Then the standard check value of each group of stripes in the storage area is transmitted to the corresponding sector of the check area for storage;

[0037] When performing a data read operation, a read binary indication of a data block in a sector in different storage areas of the same stripe is read;

[0038] Calculate the read checksum of each set of stripes in the storage area;

[0039] Compare the read check indication with the standard check indication stored in the corresponding sector of the check area;

[0040] If the read verification indication is inconsistent with the standard verification indication, a data abnormality signal is generated;

[0041] If the read verification indication is consistent with the standard verification indication, a data normal signal is generated.

[0042] Specifically, the detection process of the solid-state self-test module is as follows:

[0043] Obtaining the operating environment data of the solid state drive, the operating environment data including the input voltage, input current and disk body temperature of the solid state drive;

[0044] Compare the input voltage, input current and disk temperature of the solid state drive with the corresponding safety data range respectively;

[0045] If the value of any of the input voltage, input current or disk body temperature of the solid state drive does not belong to the corresponding safe data range, an operation abnormality signal is generated;

[0046] If the values ​​of the input voltage, input current and disk body temperature of the solid state drive all belong to the corresponding safe data interval, the operating status value of the solid state drive is calculated;

[0047] The operating status value of the solid-state hard disk is compared with the operating status threshold. If the operating status value of the solid-state hard disk is less than or equal to the first operating status threshold or greater than the second operating status threshold, an abnormal operation signal is generated. If the operating status value of the solid-state hard disk is greater than the first operating status threshold and less than the second operating status threshold, a normal operation signal is generated.

[0048] Specifically, the values ​​of the first operating state threshold and the second operating state threshold are both greater than zero, and the first operating state threshold is less than the second operating state threshold.

[0049] The present invention also provides a method for managing SSD internal data security based on a disk array, comprising the following steps:

[0050] Step S100, the hard disk reading module obtains the array distribution information of the solid state disk, and the array distribution information is sent to the backup analysis module and the verification configuration module via the processor;

[0051] Step S200, the backup analysis module analyzes the data backup status of the solid state drive, and the capacity surplus level of the solid state drive obtained by the analysis is sent to the verification configuration module via the processor;

[0052] Step S300, the verification configuration module configures the backup storage area and the verification area of ​​the solid state drive, divides the sectors of the verification area according to the number of stripes of the solid state drive, and sets a corresponding number of backup storage areas for the storage area of ​​the solid state drive according to the capacity surplus level;

[0053] Step S400, when performing a write operation and a read operation, the data verification module verifies the data when writing and reading the solid state hard disk, and generates a data abnormality signal or a data normal signal to send to the processor;

[0054] Step S500, if the processor receives a data normal signal, no operation is performed; if the processor receives a data abnormal signal, the sector of the corresponding data block is recorded as a sector to be checked, and the data abnormal signal is sent to the solid-state self-check module;

[0055] In step S600, the solid-state self-test module detects the operating status of the solid-state hard disk, and generates an abnormal operation signal or a normal operation signal and sends it to the processor. If a normal operation signal is generated, the data block of the corresponding sector in the backup storage area is transferred to the sector in the storage area for data block replacement. If an abnormal operation signal is generated, it is sent to the display terminal for display.

[0056] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:

[0057] 1. The present invention uses a backup analysis module to analyze the data backup situation of the solid-state hard disk, and the capacity surplus level of the solid-state hard disk obtained by the analysis is sent to the verification configuration module, so that the backup storage area and the verification area of ​​the solid-state hard disk are configured through the verification configuration module, and the sectors of the verification area are divided according to the number of stripes of the solid-state hard disk, and the corresponding number of backup storage areas are set for the storage area of ​​the solid-state hard disk according to the capacity surplus level;

[0058] 2. When the solid-state hard disk in the present invention performs write and read operations, the data written and read by the solid-state hard disk can be verified by the data verification module. The verification generates a data abnormality signal or a data normal signal and sends it to the processor. If the verification generates a data abnormality signal, the sector of the corresponding data block is recorded as a sector to be checked. At the same time, the data abnormality signal is sent to the solid-state self-test module. The solid-state self-test module is used to detect the operating status of the solid-state hard disk. The detection generates an operation abnormality signal or a normal operation signal. If the detection generates a normal operation signal, the data block of the corresponding sector in the backup storage area is transferred to the sector in the storage area to realize data block replacement. The present invention is based on read-write analysis and data analysis to realize safe management of data in the solid-state hard disk. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.

[0060] Figure 1 is the overall system block diagram of the present invention;

[0061] Figure 2 is a schematic diagram of a storage area in the present invention;

[0062] Figure 3 It is a schematic diagram of the verification area in the present invention;

[0063] Figure 4 The present invention is a flow chart of the method. DETAILED DESCRIPTION

[0064] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0065] In one embodiment, see Figure 1-Figure 3 As shown, the present invention provides an SSD internal data security management system based on a disk array, including a solid-state hard disk and a data security management system equipped with the solid-state hard disk. In actual use, the data security management system can be logged in through a unique account provided in the manual of the solid-state hard disk or by entering the corresponding product number on the solid-state hard disk;

[0066] In this embodiment, the data security management system includes a hard disk reading module, a backup analysis module, a verification configuration module, a data verification module, a solid-state self-test module, a display terminal and a processor. When the solid-state hard disk is actually used, the user first logs in to the data security management system. At this time, the hard disk reading module is used to obtain the array distribution information of the solid-state hard disk and send the array distribution information of the solid-state hard disk to the processor. The processor sends the array distribution information of the solid-state hard disk to the backup analysis module and the verification configuration module;

[0067] It should be specifically explained that the array distribution information includes the number of stripes of the solid state drive, and the stripe depth and stripe width of each stripe, wherein the solid state drive is composed of multiple storage areas, and the stripes in the solid state drive are composed of sectors at the same horizontal position in different storage areas, and the data capacity of each sector in the same stripe is the same, the stripe depth is the data capacity of each sector in the same stripe, and the stripe width is the number of sectors in the same stripe;

[0068] For specific examples, see Figure 2 As shown, the solid-state drive is divided into three storage areas, each storage area contains three groups of sectors. Therefore, the array distribution information is specifically as follows: the number of stripes is 3, the stripe width is 3, and the stripe depth is obtained based on the data capacity of the sectors in each group of stripes;

[0069] In this embodiment, the backup analysis module is used to analyze the data backup status of the solid state drive, and the analysis process is as follows:

[0070] Read the number of stripes FT, stripe depth FSi and stripe width FKi of the solid-state drive, where i is the stripe number and the upper limit of i is determined by the value of the number of stripes;

[0071] According to the formula Calculate the user capacity value YR of the solid state drive and read the logical capacity value of the solid state drive at the same time;

[0072] It should be specifically stated that user capacity is the space in the SSD that can be freely operated by the user. The user capacity can be used for partitioning and data reading and writing operations. The logical capacity value is the factory capacity of the SSD. The value calculated by adding the user capacity value and the unused capacity value is equal to the logical capacity value. The unused capacity is the idle capacity that has not been partitioned except for the unusable capacity occupied by the built-in system.

[0073] The space utilization rate of the solid state drive is calculated by dividing the user capacity value of the solid state drive by the logical capacity value of the solid state drive, and the space utilization rate is compared with the space utilization threshold value;

[0074] If the space usage rate of the solid state hard disk is less than or equal to the first space usage threshold, determining that the capacity surplus level of the solid state hard disk is the third capacity surplus level;

[0075] If the space usage rate of the solid state hard disk is greater than the first space usage threshold and less than or equal to the second space usage threshold, it is determined that the capacity surplus level of the solid state hard disk is the second capacity surplus level;

[0076] If the space usage rate of the solid state hard disk is greater than the second space usage threshold, determining that the capacity surplus level of the solid state hard disk is the first capacity surplus level;

[0077] The values ​​of the first space usage threshold and the second space usage threshold are both greater than zero, the first space usage threshold is less than the second space usage threshold, the relative remaining capacity of the first capacity surplus level is lower than the relative remaining capacity of the second capacity surplus level, and the relative remaining capacity of the second capacity surplus level is lower than the relative remaining capacity of the third capacity surplus level;

[0078] The backup analysis module sends the capacity surplus level of the solid state drive to the processor, and the processor sends the capacity surplus level of the solid state drive to the verification configuration module; the verification configuration module is used to configure the backup storage area and the verification area of ​​the solid state drive, and the configuration process is as follows:

[0079] The sectors of the check area are divided according to the number of stripes of the solid state drive. The sectors of the check area correspond to the stripes of the storage area one by one. For example, if the number of stripes of the solid state drive is 3, the number of sectors of the check area is 3.

[0080] Meanwhile, when the capacity surplus level of the solid state hard disk is the first capacity surplus level, the backup storage area of ​​the corresponding storage area of ​​the solid state hard disk is one copy;

[0081] When the capacity surplus level of the solid state hard disk is the second capacity surplus level, the backup storage area of ​​the corresponding storage area of ​​the solid state hard disk is two;

[0082] When the capacity surplus level of the solid state drive is the third capacity surplus level, the backup storage area of ​​the corresponding storage area of ​​the solid state drive is three copies;

[0083] The surplus space capacity of the third surplus capacity level is greater than the surplus space capacity of the second surplus capacity level, and the surplus space capacity of the second surplus capacity level is greater than the surplus space capacity of the first surplus capacity level;

[0084] In a specific implementation, when the host performs data writing and reading operations, the data verification module is used to verify the data when the solid-state hard disk is written and read. The verification process is as follows:

[0085] When performing a data writing operation, the written data is divided into several data blocks, and then the several data blocks are written in parallel to sectors corresponding to different storage areas in the same stripe;

[0086] Obtain the written binary indication XSoi of the data blocks in the sectors in each storage area, wherein the data capacity of each data block in the same stripe is the same, o is the number of the storage area, o is a non-zero natural number, and the upper limit of o is n;

[0087] If the number of 1s in the data block after conversion to binary is an odd number, the value of the written binary indication of the data block is determined to be 1; if the number of 1s in the data block after conversion to binary is an even number, the value of the written binary indication of the data block is determined to be 0;

[0088] The standard checksum indication JYi of each group of stripes in the storage area is calculated according to the formula, which is as follows:

[0089] ;

[0090] Among them, ⊕ is the mathematical symbol of XOR. XOR is used in logical operations, and its operation rule is: a⊕b = (¬a∧b)∨(a∧¬b), for example, 1⊕1=0, 0⊕1=1, 1⊕0=1, 0⊕0=0;

[0091] Then the standard check value of each group of stripes in the storage area is transmitted to the corresponding sector of the check area for storage;

[0092] When performing a data read operation, a read binary indication TSoi of a data block in a sector in a different storage area of ​​the same stripe is read;

[0093] The read verification number CYi of each group of stripes in the storage area is calculated according to the formula, and the formula is as follows:

[0094] ;

[0095] Compare the read checksum indication with the standard checksum indication stored in the corresponding sector of the check area:

[0096] If the read verification indication is inconsistent with the standard verification indication, a data abnormality signal is generated;

[0097] If the read verification indication is consistent with the standard verification indication, a data normal signal is generated;

[0098] It can be understood that when the values ​​of the read check indication are not equal to the standard check indication, it means that the read binary indication when reading the data block in the sector of each storage area is different from the write binary indication when writing data, that is, data anomaly or data loss occurs in the data block;

[0099] The data verification module sends a data normal signal or a data abnormal signal to the processor. If the processor receives a data normal signal, it does not perform any operation. If the processor receives a data abnormal signal, it records the sector of the corresponding data block as a sector to be checked. At the same time, the processor sends the data abnormal signal to the solid-state self-test module;

[0100] The solid-state self-test module is used to detect the operating status of the solid-state hard disk. The detection process is as follows:

[0101] Acquire the operating environment data of the solid state drive, the operating environment data including the input voltage RV, input current RI and disk body temperature PT of the solid state drive. In this embodiment, the operating environment data of the solid state drive is acquired through the detection element provided in the solid state drive, and the operating environment data can be queried in real time and synchronously through the supporting software installed on the host;

[0102] Compare the input voltage, input current and disk temperature of the solid state drive with the corresponding safety data range respectively;

[0103] If the value of any of the input voltage, input current or disk body temperature of the solid state drive does not belong to the corresponding safe data range, an operation abnormality signal is generated;

[0104] If the values ​​of the input voltage, input current and disk temperature of the solid state drive are all within the corresponding safe data range, proceed to the subsequent steps;

[0105] The operating status value AQ of the solid state drive is calculated according to the formula. The specific formula is as follows:

[0106] ;

[0107] Among them, s1, s2 and s3 are weight coefficients with fixed values. The values ​​of s1, s2 and s3 are all greater than zero and s1+s2+s3=1. s1 reflects the correlation between the power and temperature of the solid state drive, s2 reflects the internal resistance of the solid state drive, and s3 reflects the temperature of the solid state drive. The above weight coefficients are obtained by scientific experimental calculations;

[0108] comparing the operating status value of the solid state drive with the operating status threshold;

[0109] If the operating state value of the solid state hard disk is less than or equal to the first operating state threshold or greater than the second operating state threshold, an operating abnormality signal is generated;

[0110] If the operating state value of the solid state hard disk is greater than a first operating state threshold and less than a second operating state threshold, a normal operation signal is generated; wherein the values ​​of the first operating state threshold and the second operating state threshold are both greater than zero, and the first operating state threshold is less than the second operating state threshold;

[0111] The solid-state self-check module sends an abnormal operation signal or a normal operation signal to the processor. If the processor receives a normal operation signal, it obtains a backup storage area of ​​the storage area where the to-be-checked sector is located, and transfers the data block of the corresponding sector in the backup storage area to the sector in the storage area to replace the data block. If the processor receives an abnormal operation signal, it sends the abnormal operation signal to the display terminal, and the display terminal is used to display the abnormal operation signal of the solid-state hard disk;

[0112] In this application, if corresponding calculation formulas appear, the above calculation formulas are all dimensionless and take their numerical calculations. The weight coefficients, proportional coefficients and other coefficients in the formulas are set to a result value obtained by quantifying each parameter. The size of the weight coefficient and the proportional coefficient can be determined as long as it does not affect the proportional relationship between the parameter and the result value.

[0113] In another embodiment, see Figure 4 As shown, another concept based on the same invention now proposes a method for securely managing internal data of an SSD based on a disk array, comprising the following steps:

[0114] Step S100, the hard disk reading module obtains the array distribution information of the solid state disk, and sends the array distribution information of the solid state disk to the processor, and the processor sends the array distribution information of the solid state disk to the backup analysis module and the verification configuration module;

[0115] Step S200, the backup analysis module analyzes the data backup situation of the solid-state hard disk, reads the number of stripes, stripe depth and stripe width of the solid-state hard disk, calculates the user capacity value of the solid-state hard disk, and then reads the logical capacity value of the solid-state hard disk, divides the user capacity value of the solid-state hard disk by the logical capacity value of the solid-state hard disk to calculate the space utilization rate of the solid-state hard disk, and compares the space utilization rate with the space utilization threshold value. If the space utilization rate of the solid-state hard disk is less than or equal to the first space utilization threshold value, the capacity surplus level of the solid-state hard disk is determined to be the third capacity surplus level. If the space utilization rate of the solid-state hard disk is greater than the first space utilization threshold value and less than or equal to the second space utilization threshold value, the capacity surplus level of the solid-state hard disk is determined to be the second capacity surplus level. If the space utilization rate of the solid-state hard disk is greater than the second space utilization threshold value, the capacity surplus level of the solid-state hard disk is determined to be the first capacity surplus level. The backup analysis module sends the capacity surplus level of the solid-state hard disk to the processor, and the processor sends the capacity surplus level of the solid-state hard disk to the verification configuration module.

[0116] Step S300, the verification configuration module configures the backup storage area and the verification area of ​​the solid state drive, divides the sectors of the verification area according to the number of stripes of the solid state drive, and the sectors of the verification area correspond to the stripes of the storage area one by one. At the same time, when the capacity surplus level of the solid state drive is the first capacity surplus level, the backup storage area of ​​the corresponding storage area of ​​the solid state drive is one copy, when the capacity surplus level of the solid state drive is the second capacity surplus level, the backup storage area of ​​the corresponding storage area of ​​the solid state drive is two copies, and when the capacity surplus level of the solid state drive is the third capacity surplus level, the backup storage area of ​​the corresponding storage area of ​​the solid state drive is three copies;

[0117] Step S400, when performing a write operation and a read operation, the data verification module verifies the data when writing and reading the solid-state hard disk. When performing a data write operation, the written data is divided into a plurality of data blocks, and then the plurality of data blocks are written in parallel to sectors corresponding to different storage areas in the same strip, and the written binary indication of the data block in the sector in each storage area is obtained. If the number of occurrences of 1 in the data block after conversion to binary is an odd number, the value of the written binary indication of the data block is determined to be 1. If the number of occurrences of 1 in the data block after conversion to binary is an even number, the value of the written binary indication of the data block is determined to be 0, and then the storage area is calculated. The standard checksum indication of each group of stripes is then transmitted to the corresponding sector of the checksum area for storage. When performing a data reading operation, the read binary indication of the data block in the sector of the same stripe in different storage areas is read, the read checksum indication of each group of stripes in the area to be stored is calculated, and the read checksum indication is compared with the standard checksum indication stored in the corresponding sector of the checksum area. If the read checksum indication is inconsistent with the standard checksum indication, a data abnormality signal is generated. If the read checksum indication is consistent with the standard checksum indication, a data normal signal is generated. The data check module sends the data normal signal or the data abnormality signal to the processor;

[0118] Step S500, if the processor receives a data normal signal, no operation is performed; if the processor receives a data abnormal signal, the sector of the corresponding data block is recorded as a sector to be checked, and the processor sends the data abnormal signal to the solid-state self-check module;

[0119] Step S600, the solid-state self-test module detects the operating status of the solid-state hard disk, obtains the operating environment data of the solid-state hard disk, and compares the input voltage, input current and disk temperature of the solid-state hard disk with the corresponding safety data interval. If the value of any one of the input voltage, input current or disk temperature of the solid-state hard disk does not belong to the corresponding safety data interval, an operation abnormality signal is generated. If the values ​​of the input voltage, input current and disk temperature of the solid-state hard disk all belong to the corresponding safety data interval, the operating status value of the solid-state hard disk is calculated, and the operating status value of the solid-state hard disk is compared with the operating status threshold. If the operating status value of the solid-state hard disk is less than or equal to the first safety data interval, the operating status value of the solid-state hard disk is calculated. If the operating status value of the solid-state hard disk is greater than the first operating status threshold or greater than the second operating status threshold, an abnormal operation signal is generated. If the operating status value of the solid-state hard disk is greater than the first operating status threshold and less than the second operating status threshold, a normal operation signal is generated, and the solid-state self-test module sends the abnormal operation signal or the normal operation signal to the processor. If the processor receives the normal operation signal, it obtains the backup storage area of ​​the storage area where the sector to be checked is located, and transfers the data block of the corresponding sector in the backup storage area to the sector of the storage area for data block replacement. If the processor receives the abnormal operation signal, it sends the abnormal operation signal to the display terminal, and the display terminal displays the abnormal operation signal of the solid-state hard disk.

[0120] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. The internal data security management system of SSD based on disk array is characterized by: It includes a hard disk reading module, a backup analysis module, a verification configuration module, a data verification module, a solid-state self-test module, a display terminal and a processor; The hard disk reading module is used to obtain the array distribution information of the solid state disk, and send the array distribution information of the solid state disk to the processor, and the processor sends the array distribution information of the solid state disk to the backup analysis module and the verification configuration module; wherein the array distribution information includes the number of stripes of the solid state disk, and the stripe depth and stripe width of each stripe; the solid state disk is composed of storage areas, and the stripes in the solid state disk are composed of sectors at the same horizontal position in different storage areas, and the data capacity of each sector in the same stripe is the same; the stripe depth is the data capacity of each sector in the same stripe; the stripe width is the number of sectors in the same stripe; The backup analysis module is used to analyze the data backup situation of the solid state drive, and the capacity surplus level of the solid state drive obtained by the analysis is sent to the processor, and the processor sends the capacity surplus level of the solid state drive to the verification configuration module; the verification configuration module is used to configure the backup storage area and the verification area of ​​the solid state drive; The analysis process of the backup analysis module is as follows: Read the number of stripes FT, FSi and stripe width FKi of the solid state drive, where i is the stripe number; According to the formula Calculate the user capacity value YR of the solid state drive; Then read the logical capacity value of the solid state drive; Compare the user capacity value with the logical capacity value to get the space utilization rate of the solid state drive; Then, the space usage rate is compared with the space usage threshold to determine whether the capacity surplus level of the solid state drive is the third capacity surplus level, the second capacity surplus level, or the first capacity surplus level; The configuration process of the verification configuration module is as follows: The sectors of the check area are divided according to the number of stripes of the solid state drive, and the sectors of the check area correspond to the stripes of the storage area one by one; Meanwhile, when the capacity surplus level of the solid state hard disk is the first capacity surplus level, the backup storage area of ​​the corresponding storage area of ​​the solid state hard disk is one copy; When the capacity surplus level of the solid state hard disk is the second capacity surplus level, the backup storage area of ​​the corresponding storage area of ​​the solid state hard disk is two; When the capacity surplus level of the solid state drive is the third capacity surplus level, the backup storage area of ​​the corresponding storage area of ​​the solid state drive is three copies; When performing write and read operations, the data verification module is used to verify the data when writing and reading the solid-state hard disk, and the verification data normal signal or data abnormal signal is sent to the processor. If the processor receives the data normal signal, no operation is performed. If the processor receives the data abnormal signal, the sector of the corresponding data block is recorded as a sector to be checked, and the processor sends the data abnormal signal to the solid-state self-test module; The solid-state self-test module is used to detect the operating status of the solid-state hard disk, and the detection generates an abnormal operation signal or a normal operation signal and sends it to the processor. If the processor receives a normal operation signal, it obtains the backup storage area of ​​the storage area where the sector to be checked is located, and transfers the data block of the corresponding sector in the backup storage area to the sector of the storage area to replace the data block. If the processor receives an abnormal operation signal, it sends the abnormal operation signal to the display terminal, and the display terminal is used to display the abnormal operation signal of the solid-state hard disk.

2. The SSD internal data security management system based on disk array according to claim 1, characterized in that: The relative remaining capacity of the first capacity margin level is lower than the relative remaining capacity of the second capacity margin level, and the relative remaining capacity of the second capacity margin level is lower than the relative remaining capacity of the third capacity margin level.

3. The SSD internal data security management system based on disk array according to claim 1, characterized in that: The surplus space capacity of the third capacity surplus level is greater than the surplus space capacity of the second capacity surplus level, and the surplus space capacity of the second capacity surplus level is greater than the surplus space capacity of the first capacity surplus level.

4. The SSD internal data security management system based on disk array according to claim 1, characterized in that: The verification process of the data verification module is as follows: When performing a data writing operation, the written data is divided into several data blocks, and then the several data blocks are written in parallel to sectors corresponding to different storage areas in the same stripe; Obtaining written binary indications of data blocks in sectors in each storage area; wherein the data capacity of each data block in the same stripe is the same; If the number of 1s in the data block after conversion to binary is an odd number, the value of the written binary indication of the data block is determined to be 1; if the number of 1s in the data block after conversion to binary is an even number, the value of the written binary indication of the data block is determined to be 0; Calculate the standard check reading for each set of strips in the storage area; Then the standard check value of each group of stripes in the storage area is transmitted to the corresponding sector of the check area for storage; When performing a data read operation, a read binary indication of a data block in a sector in different storage areas of the same stripe is read; Calculate the read checksum of each set of stripes in the storage area; Compare the read check indication with the standard check indication stored in the corresponding sector of the check area; If the read verification indication is inconsistent with the standard verification indication, a data abnormality signal is generated; If the read verification indication is consistent with the standard verification indication, a data normal signal is generated.

5. The disk array-based SSD internal data security management system according to claim 3, characterized in that: The detection process of the solid-state self-test module is as follows: Obtaining the operating environment data of the solid state drive, the operating environment data including the input voltage, input current and disk body temperature of the solid state drive; Compare the input voltage, input current and disk temperature of the solid state drive with the corresponding safety data range respectively; If the value of any of the input voltage, input current or disk body temperature of the solid state drive does not belong to the corresponding safe data range, an operation abnormality signal is generated; If the values ​​of the input voltage, input current and disk body temperature of the solid state drive all belong to the corresponding safe data interval, the operating status value of the solid state drive is calculated; The operating status value of the solid-state hard disk is compared with the operating status threshold. If the operating status value of the solid-state hard disk is less than or equal to the first operating status threshold or greater than the second operating status threshold, an abnormal operation signal is generated. If the operating status value of the solid-state hard disk is greater than the first operating status threshold and less than the second operating status threshold, a normal operation signal is generated.

6. The SSD internal data security management system based on disk array according to claim 5, characterized in that: The values ​​of the first operating state threshold and the second operating state threshold are both greater than zero, and the first operating state threshold is less than the second operating state threshold.

7. A method for managing internal data security of an SSD based on a disk array, characterized in that: The SSD internal data security management system based on a disk array according to any one of claims 1 to 6 comprises the following steps: Step S100, the hard disk reading module obtains the array distribution information of the solid state disk, and the array distribution information is sent to the backup analysis module and the verification configuration module via the processor; Step S200, the backup analysis module analyzes the data backup status of the solid state drive, and the capacity surplus level of the solid state drive obtained by the analysis is sent to the verification configuration module via the processor; Step S300, the verification configuration module configures the backup storage area and the verification area of ​​the solid state drive, divides the sectors of the verification area according to the number of stripes of the solid state drive, and sets a corresponding number of backup storage areas for the storage area of ​​the solid state drive according to the capacity surplus level; Step S400, when performing a write operation and a read operation, the data verification module verifies the data when writing and reading the solid state hard disk, and generates a data abnormality signal or a data normal signal to send to the processor; Step S500, if the processor receives a data normal signal, no operation is performed; if the processor receives a data abnormal signal, the sector of the corresponding data block is recorded as a sector to be checked, and the data abnormal signal is sent to the solid-state self-check module; In step S600, the solid-state self-test module detects the operating status of the solid-state hard disk, and generates an abnormal operation signal or a normal operation signal and sends it to the processor. If a normal operation signal is generated, the data block of the corresponding sector in the backup storage area is transferred to the sector in the storage area for data block replacement. If an abnormal operation signal is generated, it is sent to the display terminal for display.

Citation Information

Patent Citations

  • Backup method for data in hard disk

    CN105893182A

  • Computing storage array with high redundancy

    CN115933986A

  • Hard disk management method, RAID card and server

    CN117519585A

  • Solid state disk operation management system and method based on temperature control technology

    CN117542403A

  • Computer hard disk data protection method

    CN1838082A