Data storage encryption method for solid state disk

By dividing the storage area of ​​the solid-state hard disk into multiple sub-regions and storing the data in a random order, the problem of insufficient encryption performance of data storage in the prior art is solved, and efficient data encryption is achieved without using traditional encryption algorithms.

CN119939634AInactive Publication Date: 2025-05-06SICHUAN HENTAI SEMICON CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510414756.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-03
Publication Date
2025-05-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the field of data storage, it is difficult to effectively encrypt the data of the solid-state drive without using traditional encryption algorithms, especially when the data scale is large, the encryption performance is insufficient.

Method used

By dividing the storage areas of the solid-state drive into multiple storage sub-regions and storing the stored data in an out-of-order numbering and block storage, the integrity of each data block is destroyed, and the storage sub-regions and data block numbering sequence are randomly selected for storage.

Benefits of technology

Without using traditional encryption algorithms, efficient encryption of solid-state hard disk data is achieved. As the data scale expands, the encryption effect is significantly improved, and data reorganization cannot be performed during illegal reading.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119939634A_ABST
    Figure CN119939634A_ABST
Patent Text Reader

Abstract

The invention discloses a data storage encryption method for a solid state disk, which comprises the following steps of: S1, averagely dividing a storage area of the solid state disk to obtain a plurality of storage sub-areas, and numbering each storage sub-area; s2, outputting the to-be-stored data to a data encryption processor, dividing the to-be-stored data into a plurality of data blocks by the data encryption processor, and numbering each data block out of order; s3, randomly selecting a plurality of data blocks from the to-be-stored data blocks, randomly selecting one storage sub-region to store the data blocks, and storing the serial number of the sub-region, the serial number sequence of the stored data blocks and the address of the data block of each serial number in the storage sub-region as data storage information of primary storage; and S4, repeatedly executing the step S3 until all the data blocks are stored, and storing all the data storage information in the data encryption processor. According to the method, data storage encryption of the solid state disk is completed under the condition that a traditional encryption algorithm is not adopted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data storage, and in particular to a data storage encryption method for a solid state hard disk. Background Art

[0002] In the field of data storage, some private data may not be able to be saved directly, because once the hard disk is illegally read, it will lead to data leakage. Therefore, private data generally needs to be encrypted when stored; the current data encryption method is generally carried out through encryption algorithms, but mature encryption algorithms are easy to crack. At the same time, when the data scale is large, the complexity of the algorithm is often greatly increased, and the encryption performance cannot be well improved. Summary of the invention

[0003] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a data storage encryption method for a solid-state hard disk, which can complete the data storage encryption of the solid-state hard disk without using a traditional encryption algorithm, and as the data scale increases, the encryption effect will be significantly improved.

[0004] The object of the present invention is achieved through the following technical solution: A method for encrypting data storage in a solid state drive, comprising the following steps: S1. Divide the storage area of ​​the solid state drive evenly to obtain multiple storage sub-areas, and number each storage sub-area; S2. The data to be stored is output to the data encryption processor, which first divides the data to be stored into multiple data blocks and randomly numbers each data block; The method of random numbering is: Assume that N data blocks are divided; first arrange the N data blocks in the order of the data to be stored; then for each data block, randomly select a number from 1 to N as the number of the data block, and the numbers selected each time are not repeated, and the data block numbers are recorded in sequence from the 1st data block to the Nth data block.

[0005] When the data to be stored is divided into a plurality of data blocks, the integrity of each data block needs to be destroyed so that each data block does not contain complete information.

[0006] S3. Randomly select multiple data blocks from the data blocks to be stored, randomly select a storage sub-area for data block storage, and save the sub-area number, the saved data block number sequence, and the address of each numbered data block in the storage sub-area as the data storage information stored once; In step S3, the remaining storage capacity of the selected storage sub-area needs to be greater than the storage capacity required to be occupied by the selected multiple data blocks.

[0007] S301. Assume that the data to be stored is divided into N data blocks, and each storage sub-area needs to store M data blocks. First, M data blocks are randomly selected from the N data blocks, and the numbers of the M data blocks constitute a number sequence of the data blocks; S302. Randomly select a storage sub-area to store M data blocks, and save the sub-area number, the saved data block number sequence, and the address of each numbered data block in the storage sub-area as data storage information stored once.

[0008] S4. Repeat step S3 until all data blocks are stored, and save all data storage information in the data encryption processor.

[0009] When reading data, you only need to reorganize and read the data according to the data storage information: For any data storage information, first find the corresponding sub-region according to the sub-region number, and then read the data block from the sub-region according to the address of each numbered data block in the storage sub-region in the data block number sequence; that is, get each numbered data block in the data block number sequence; For each data storage information, read each numbered data block in the data block number sequence respectively; Record the data block numbers in sequence according to the steps and reorganize the data blocks.

[0010] The beneficial effects of the present invention are: 1. Encrypting data storage on a solid state drive without using a traditional encryption algorithm; 2. When the hard disk is illegally read, the information obtained is only disordered and incomplete data blocks. In the absence of data storage information, data reorganization cannot be performed; and the larger the scale of data to be stored, the more difficult it is to decipher the data. In other words, as the scale of data increases, the encryption effect will be significantly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION

[0012] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings, but the protection scope of the present invention is not limited to the following.

[0013] like Figure 1 As shown, a method for encrypting data storage in a solid state drive comprises the following steps: S1. Divide the storage area of ​​the solid state drive evenly to obtain multiple storage sub-areas, and number each storage sub-area; S2. The data to be stored is output to the data encryption processor, which first divides the data to be stored into multiple data blocks and randomly numbers each data block; The method of random numbering is: Assume that N data blocks are divided; first arrange the N data blocks in the order of the data to be stored; then for each data block, randomly select a number from 1 to N as the number of the data block, and the numbers selected each time are not repeated, and the data block numbers are recorded in sequence from the 1st data block to the Nth data block.

[0014] When the data to be stored is divided into a plurality of data blocks, the integrity of each data block needs to be destroyed so that each data block does not contain complete information.

[0015] S3. Randomly select multiple data blocks from the data blocks to be stored, randomly select a storage sub-area for data block storage, and save the sub-area number, the saved data block number sequence, and the address of each numbered data block in the storage sub-area as the data storage information stored once; In step S3, the remaining storage capacity of the selected storage sub-area needs to be greater than the storage capacity required to be occupied by the selected multiple data blocks.

[0016] S301. Assume that the data to be stored is divided into N data blocks, and each storage sub-area needs to store M data blocks. First, M data blocks are randomly selected from the N data blocks, and the numbers of the M data blocks constitute a number sequence of the data blocks; S302. Randomly select a storage sub-area to store M data blocks, and save the sub-area number, the saved data block number sequence, and the address of each numbered data block in the storage sub-area as data storage information stored once.

[0017] S4. Repeat step S3 until all data blocks are stored, and save all data storage information in the data encryption processor.

[0018] When reading data, you only need to reorganize and read the data according to the data storage information: For any data storage information, first find the corresponding sub-region according to the sub-region number, and then read the data block from the sub-region according to the address of each numbered data block in the storage sub-region in the data block number sequence; that is, get each numbered data block in the data block number sequence; For each data storage information, read each numbered data block in the data block number sequence respectively; Record the data block numbers in sequence according to the steps and reorganize the data blocks.

[0019] The above is a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art do not depart from the spirit and scope of the present invention, and should be within the scope of protection of the claims attached to the present invention.

Claims

1. A method for encrypting data storage in a solid state drive, characterized in that: The following steps are involved: S1. Divide the storage area of ​​the solid state drive evenly to obtain multiple storage sub-areas, and number each storage sub-area; S2. The data to be stored is output to the data encryption processor, which first divides the data to be stored into multiple data blocks and randomly numbers each data block; S3. Randomly select multiple data blocks from the data blocks to be stored, randomly select a storage sub-area for data block storage, and save the sub-area number, the saved data block number sequence, and the address of each numbered data block in the storage sub-area as the data storage information stored once; S4. Repeat step S3 until all data blocks are stored, and save all data storage information in the data encryption processor.

2. The method for encrypting data storage in a solid state drive according to claim 1, characterized in that: The method of random numbering is: Assume that N data blocks are divided; first arrange the N data blocks in the order of the data to be stored; then for each data block, randomly select a number from 1 to N as the number of the data block, and the numbers selected each time are not repeated, and the data block numbers are recorded in sequence from the 1st data block to the Nth data block.

3. The method for encrypting data storage in a solid state drive according to claim 1, characterized in that: In step S3, the remaining storage capacity of the selected storage sub-area needs to be greater than the storage capacity required to be occupied by the selected multiple data blocks.

4. The method for encrypting data storage in a solid state drive according to claim 1, characterized in that: The step S3 comprises: S301. Assume that the data to be stored is divided into N data blocks, and each storage needs to store M data blocks. First, M data blocks are randomly selected from the N data blocks, and the numbers of the M data blocks constitute a number sequence of the data blocks; S302. Randomly select a storage sub-area to store M data blocks, and save the sub-area number, the saved data block number sequence, and the address of each numbered data block in the storage sub-area as data storage information stored once.

5. The method for encrypting data storage in a solid state drive according to claim 1, characterized in that: When the data to be stored is divided into a plurality of data blocks, the integrity of each data block needs to be destroyed so that each data block does not contain complete information.

6. The method for encrypting data storage in a solid state drive according to claim 1, characterized in that: When reading data, you only need to read out the data blocks of each number in sequence according to the data storage information, and reorganize them in the order of numbers: For any data storage information, first find the corresponding sub-region according to the sub-region number, and then read the data block from the sub-region according to the address of each numbered data block in the storage sub-region in the data block number sequence; that is, get each numbered data block in the data block number sequence; For each data storage information, read each numbered data block in the data block number sequence respectively; Record the data block numbers in sequence according to the steps and reorganize the data blocks.

Citation Information

Patent Citations

  • User privacy protection method based on regenerative coding and distributed storage

    CN116880778A

  • Signal transmission method between communication terminals

    CN119109684A

  • Automatic engineering data processing method based on data storage server

    CN119232500A

  • Data security storage and reading method of communication terminal

    CN119272304A