Solid state disk data reading method and device, solid state disk and storage medium

By receiving data reading instructions and analyzing and processing them in a solid-state drive, combining flash conversion layer mapping table and correlation analysis, the problem of low correlation data reading efficiency in solid-state drives is solved, and rapid data reading and cache optimization are achieved.

CN120215820APending Publication Date: 2025-06-27SHENZHEN JINGCUN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510214099.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

In solid-state drives, the reading efficiency of associated data is low, and data needs to be frequently searched and read from nonvolatile storage space.

Method used

By receiving data reading instructions, analyzing and processing based on the preset flash conversion layer mapping table, the data physical address is obtained, and the target data is read from the flash memory unit of the solid state hard disk. At the same time, the target data is analyzed to obtain the data association index, and the target association data is determined in non-empty situations, and read it into the cache unit.

Benefits of technology

The reading efficiency of correlation data is improved, and the rapid data access of the cache unit is reduced, and the time for subsequent data reading is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120215820A_ABST
    Figure CN120215820A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a solid state disk data reading method and device, a solid state disk and a computer readable storage medium. The solid state disk data reading method comprises the steps that a data reading instruction is received; analyzing and processing the data reading instruction based on a preset flash translation layer mapping table to obtain a data physical address; reading the target data from a flash memory unit corresponding to the solid state disk according to the data physical address; the data relevance of the target data is analyzed and processed, and a data relevance index is obtained; under the condition that the data association index is non-empty, determining target association data according to the data association index; and reading the target associated data into a cache unit of the solid state disk. According to the scheme of the embodiment of the invention, the reading efficiency of the associated data can be well improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and particularly to a method and apparatus for reading data from a solid-state drive, a solid-state drive, and a computer-readable storage medium. Background Art

[0002] A solid-state drive (SSD) is a storage device based on semiconductor storage technology. Compared with traditional mechanical hard drives, it uses flash memory chips as the storage medium and has advantages such as fast read and write speeds, strong shock resistance, low power consumption, and no noise. Therefore, it has become the mainstream storage solution for modern computers and mobile devices. However, during the process of reading data from an SSD, it is often necessary to read the data specified by an instruction from the non-volatile storage space of the SSD. For the reading of some related data, data search and reading need to be performed again from the non-volatile storage space, which will reduce the reading efficiency of the related data. Summary of the Invention

[0003] The present invention aims to solve at least one of the technical problems existing in the prior art.

[0004] To this end, the present invention proposes a method for reading data from a solid-state drive, which can well improve the reading efficiency of related data.

[0005] The present invention also proposes an apparatus applying the above method for reading data from a solid-state drive.

[0006] The present invention also proposes a solid-state drive applying the above method for reading data from a solid-state drive.

[0007] The present invention also proposes a computer-readable storage medium applying the above method for reading data from a solid-state drive.

[0008] According to an embodiment of the first aspect of the present invention, a method for reading data from a solid-state drive includes:

[0009] Receiving a data reading instruction;

[0010] Analyzing and processing the data reading instruction based on a preset flash translation layer mapping table to obtain a data physical address;

[0011] Reading target data from the flash memory cells corresponding to the solid-state drive according to the data physical address; and analyzing and processing the data correlation of the target data to obtain a data correlation index;

[0012] When the data correlation index is not empty, determining target associated data according to the data correlation index;

[0013] Read the target associated data into the cache unit of the solid-state drive.

[0014] According to some embodiments of the present invention, analyzing and processing the data read instruction based on a preset flash translation layer mapping table to obtain a data physical address includes:

[0015] Determine a data logical address from the data read instruction;

[0016] Perform a mapping matching process on the data logical address based on the flash translation layer mapping table to obtain the data physical address.

[0017] According to some embodiments of the present invention, analyzing and processing the data correlation of the target data to obtain a data correlation index includes:

[0018] Performing an association rule mining process on the target data to obtain frequent itemsets and association rules; and performing a correlation analysis process on the target data to obtain a correlation matrix;

[0019] Determine a first potential associated data according to the target data and the frequent itemsets; and determine a second potential associated data according to the target data and the association rules; and determine a third potential associated data according to the target data and the correlation matrix;

[0020] Perform a matching process on the first potential associated data, the second potential associated data, and the third potential associated data in the target flash block where the target data is located to obtain the data correlation index.

[0021] According to some embodiments of the present invention, in the case where the data correlation index is non-empty, determining the target associated data according to the data correlation index includes:

[0022] In the case where the data correlation index is non-empty, determine the associated data address information based on the data correlation index;

[0023] Use the data corresponding to the associated data address information as the target associated data.

[0024] According to some embodiments of the present invention, after reading the target associated data into the cache unit of the solid-state drive, the method further includes:

[0025] Obtain a new data read instruction;

[0026] Analyze and process the new data read instruction based on the flash translation layer mapping table to obtain a new data physical address;

[0027] Compare the physical address of the data with the associated data address information;

[0028] In the case where the associated data address information includes the physical address of the data, read the data corresponding to the physical address of the data from the cache unit of the solid-state drive.

[0029] According to some embodiments of the present invention, the reading the target associated data into the cache unit of the solid-state drive includes:

[0030] Read the target associated data into the single-level cell cache of the solid-state drive;

[0031] Update the cache management table of the single-level cell cache.

[0032] According to some embodiments of the present invention, before receiving the data read instruction, the method further includes:

[0033] Perform an initialization process on the solid-state drive;

[0034] Load the flash translation layer mapping table for the solid-state drive after the initialization process is completed.

[0035] According to an embodiment of the second aspect of the present invention, a solid-state drive data reading device includes:

[0036] A first processing module, configured to receive a data read instruction;

[0037] A second processing module, configured to analyze and process the data read instruction based on a preset flash translation layer mapping table to obtain a physical address of the data;

[0038] A third processing module, configured to read target data from a flash memory cell corresponding to the solid-state drive according to the physical address of the data; and analyze and process the data correlation of the target data to obtain a data correlation index;

[0039] A fourth processing module, configured to determine target associated data according to the data correlation index in the case where the data correlation index is not empty;

[0040] A fifth processing module, configured to read the target associated data into the cache unit of the solid-state drive.

[0041] According to an embodiment of the third aspect of the present invention, a solid-state drive includes:

[0042] A memory, a processor, and a computer program stored on the memory and executable on the processor, where when the processor executes the computer program, the solid-state drive data reading method according to any one of claims 1 to 7 is implemented.

[0043] A computer-readable storage medium according to an embodiment of the fourth aspect of the present invention stores computer-executable instructions, and when the computer-executable instructions are executed by a control processor, the solid-state drive data reading method described above is implemented.

[0044] The solid-state drive data reading method according to the embodiment of the present invention has at least the following beneficial effects: in the process of reading data from the solid-state drive, first receive a data reading instruction, and then analyze and process the data reading instruction based on a pre-set flash translation layer mapping table to obtain the corresponding data physical address; then read the target data from the flash memory unit corresponding to the solid-state drive according to the data physical address; and analyze and process the data correlation of the target data to obtain a data correlation index; when the data correlation index is not empty, the target correlation data can be determined according to the genus correlation index; finally, the target correlation data can be read into the cache unit of the solid-state drive to prepare for the subsequent reading of the correlation data, improving the data reading efficiency of the correlation data.

[0045] Other features and advantages of the present invention will be described in the following specification, and, in part, will be obvious from the specification, or will be understood by implementing the present invention. The objectives and other advantages of the present invention can be achieved and obtained by the structures specifically pointed out in the specification, claims, and drawings. Description of the Drawings

[0046] The drawings are used to provide a further understanding of the technical solutions of the present disclosure, and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the technical solutions of the present disclosure and do not constitute a limitation to the technical solutions of the present disclosure.

[0047] Figure 1 is a flowchart of a solid-state drive data reading method provided by an embodiment of the present invention;

[0048] Figure 2 is a sub-flowchart of step S200;

[0049] Figure 3 is a sub-flowchart of step S300;

[0050] Figure 4 is a sub-flowchart of step S400;

[0051] Figure 5 is a sub-flowchart after executing step S500;

[0052] Figure 6 is a sub-flowchart of step S500;

[0053] Figure 7is a sub - flowchart before executing step S100;

[0054] Figure 8 is a schematic structural diagram of a solid - state drive data reading device provided by an embodiment of the present invention;

[0055] Figure 9 is a schematic structural diagram of a solid - state drive provided by an embodiment of the present invention. Detailed implementation manners

[0056] In order to make the objectives, technical solutions and advantages of the present invention more clear and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0057] In the description of the present invention, the meaning of several is one or more, the meaning of multiple is more than two, greater than, less than, exceeding, etc. are understood as not including the original number, above, below, within, etc. are understood as including the original number. If there is a description of first and second, it is only for the purpose of distinguishing technical features and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features or implicitly indicating the sequence relationship of the indicated technical features.

[0058] In the description of the present invention, unless otherwise clearly defined, words such as setting, installation, connection, etc. should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above - mentioned words in the present invention in combination with the specific content of the technical solution.

[0059] The present invention provides a method, device, solid - state drive and computer - readable storage medium for reading data of a solid - state drive. In the process of reading data from the solid - state drive, first, a data reading instruction is received, and then the data reading instruction is analyzed and processed based on a pre - set flash translation layer mapping table to obtain the corresponding data physical address; then, target data is read from the flash memory cells corresponding to the solid - state drive according to the data physical address; and the data correlation of the target data is analyzed and processed to obtain a data correlation index; when the data correlation index is not empty, the target associated data can be determined according to the genus correlation index; finally, the target associated data can be read into the cache unit of the solid - state drive to prepare for the subsequent reading of associated data, improving the data reading efficiency of associated data.

[0060] The following will further elaborate on the embodiments of the present invention with reference to the accompanying drawings.

[0061] Refer to Figure 1, a flowchart of a solid-state drive data reading method provided by an embodiment of the present invention. The method includes but is not limited to steps S100, S200, S300, S400, and S500:

[0062] Step S100, receive a data reading instruction;

[0063] Step S200, analyze and process the data reading instruction based on a preset flash translation layer mapping table to obtain a data physical address;

[0064] Step S300, read target data from the flash memory cells corresponding to the solid-state drive according to the data physical address; and analyze and process the data correlation of the target data to obtain a data correlation index;

[0065] Step S400, when the data correlation index is not empty, determine the target correlation data according to the data correlation index;

[0066] Step S500, read the target correlation data into the cache unit of the solid-state drive.

[0067] It should be noted that during the process of reading data from the solid-state drive, first, a data reading instruction is received, and then the data reading instruction is analyzed and processed based on a preset flash translation layer mapping table to obtain the corresponding data physical address; then, the target data is read from the flash memory cells corresponding to the solid-state drive according to the data physical address; and the data correlation of the target data is analyzed and processed to obtain a data correlation index; when the data correlation index is not empty, the target correlation data can be determined according to the data correlation index; finally, the target correlation data can be read into the cache unit of the solid-state drive to prepare for the subsequent reading of the correlation data and improve the data reading efficiency of the correlation data.

[0068] It should be noted that the core of a solid-state drive is the flash chip, and the current mainstream flash chip is the NAND flash. NAND flash stores data in storage units as the basic unit, and the storage units are divided into types such as single-level cells, multi-level cells, and triple-level cells. Each single-level cell stores 1 bit of data, with high reliability but high cost; each multi-level cell stores 2 bits of data, with moderate cost; each triple-level cell stores 3 bits of data, with low cost, and it is the current mainstream flash type. When writing data to the flash chip, the original data needs to be erased first and then new data can be written; the erase operation is performed in units of blocks, while the write operation is performed in units of pages, resulting in a certain delay when writing data to the flash chip. The main control unit of the solid-state drive is the brain of the solid-state drive, responsible for managing functions such as the read and write operations of the flash chip, data verification, wear leveling, and garbage collection. A high-performance main control unit can optimize the read and write performance of the flash and increase the service life of the solid-state drive. For example, the wear leveling technology can evenly write data to different flash cells to avoid damage to some cells due to overuse; the garbage collection function can mark invalid data blocks as erasable states for subsequent writing of new data, thereby increasing the write speed of the solid-state drive.

[0069] It is worth noting that the data read instruction can be sent by the central processing unit to the solid-state drive; when the user needs to access the data stored on the solid-state drive, the central processing unit can send a data read instruction to the solid-state drive through the file system and the driver. After receiving the data read instruction, the main control unit of the solid-state drive can analyze and process the received data read instruction based on the flash translation layer mapping table to obtain the corresponding data physical address, preparing for subsequent data reading. Among them, the flash translation layer mapping table is a very important component in the solid-state drive. It is responsible for mapping the logical block address sent by the host (such as a computer) to the physical block address inside the solid-state drive, and this process is achieved through mapping; the flash translation layer mapping table is the core data structure of the flash translation layer, used to record the mapping relationship from the logical address to the physical address. When the host sends a read and write request to the solid-state drive, the flash translation layer quickly locates the actual storage location of the data in the flash chip through the flash translation layer mapping table.

[0070] It should be noted that after analyzing and processing the data read instruction based on the flash translation layer mapping table to obtain the physical address of the data, the corresponding target data can be read from the corresponding flash memory cells of the solid-state drive according to the physical address of the data; among them, the flash memory cells can be flash memory chips in the solid-state drive, and the flash memory chips are non-volatile storage devices. Moreover, after obtaining the target data, there is still a high probability of continuing to read the data related to the target data. Therefore, the data correlation analysis and processing can be performed on the obtained target data, so that the data correlation index can be obtained. And when the data correlation index is not empty, the target associated data can also be determined according to the data correlation index, and then the determined target associated data is read into the cache unit of the solid-state drive. Since the data reading rate of the cache unit is faster than that of the flash memory chip, the data reading efficiency can be well improved in the subsequent process of reading the target associated data.

[0071] It can be understood that the data correlation index is not empty, that is, the data correlation index is not an empty set, that is, there is target associated data associated with the target data. Subsequently, the target associated data is read into the cache unit of the solid-state drive. In the subsequent process of reading the target associated data, the data reading efficiency can be well improved. Among them, the cache unit of the solid-state drive can be a dynamic random access memory and a single-level cell cache; the dynamic random access memory is an independent cache unit, usually used in mid- to high-end solid-state drives; the single-level cell cache is a high-performance cache area simulated inside the flash memory chip by the main control chip.

[0072] In addition, in one embodiment, as Figure 2 shown, the above step S200 may include but is not limited to step S210 and step S220.

[0073] Step S210, determining the logical address of the data from the data read instruction;

[0074] Step S220, performing mapping and matching processing on the logical address of the data based on the flash translation layer mapping table to obtain the physical address of the data.

[0075] It should be noted that in the process of analyzing and processing the data read instruction based on the pre-set flash translation layer mapping table to obtain the physical address of the data, first, the logical address of the data is determined from the data read instruction; then, the mapping and matching processing is performed on the determined logical address of the data based on the flash translation layer mapping table, and the physical address of the data can be obtained, so as to prepare for the reading of the target data. Among them, the physical address of the data is the actual storage address of the data in the solid-state drive.

[0076] It should be noted that the data read instruction carries a data logical address, and the flash translation layer mapping table carries the mapping relationship between the data logical address and the data physical address. Therefore, the corresponding data physical address can be determined through the flash translation layer mapping table and the data logical address.

[0077] In addition, in one embodiment, as Figure 3 shown, the above step S300 may include but is not limited to steps S310 to S330.

[0078] Step S310, performing association rule mining processing on the target data to obtain frequent item sets and association rules; and performing correlation analysis processing on the target data to obtain a correlation matrix;

[0079] Step S320, determining first potential associated data according to the target data and the frequent item sets; and determining second potential associated data according to the target data and the association rules; and determining third potential associated data according to the target data and the correlation matrix;

[0080] Step S330, performing matching processing on the first potential associated data, the second potential associated data, and the third potential associated data in the target flash block where the target data is located to obtain a data association index.

[0081] It should be noted that in the process of analyzing the data association of the target data to obtain a data association index, association rule mining processing can be performed on the target data to obtain frequent item sets and association rules and correlation analysis processing can be performed on the target data to obtain a correlation matrix; then first potential associated data can be determined according to the target data and the frequent item sets and second potential associated data can be determined according to the target data and the association rules and third potential associated data can be determined according to the target data and the correlation matrix; finally, matching processing can be performed on the first potential associated data, the second potential associated data, and the third potential associated data in the target flash block where the target data is located to determine a data association index. Through the above technical solution, it is possible to well confirm whether there is target associated data related to the target data in the target flash block where the target data is located.

[0082] It should be noted that the goal of association rule mining is to discover frequent item sets and association rules from data. Commonly used algorithms include the Apriori algorithm and the FP-Growth algorithm; a frequent item set refers to an item set that appears in the dataset with a frequency higher than a certain threshold (minimum support); an association rule is in the form of X→Y, indicating that "if X occurs, then Y may also occur", and is evaluated by indicators such as support, confidence, and lift. Association rules are generated from frequent item sets, and rules with a confidence higher than the threshold are selected; correlation analysis is used to evaluate the relationship between variables in the data, and commonly used methods include calculating the correlation matrix; by calculating the correlation coefficients between data columns, a correlation matrix is generated, usually presented in the form of a heat map; the first potential associated data is determined based on the target data and the frequent item sets, and these data reflect the combinations of item sets that frequently appear in the dataset; the second potential associated data is determined based on the target data and the association rules, and these data reflect the strong association relationships defined in the rules; the third potential associated data is determined based on the target data and the correlation matrix, and these data reflect the linear correlation between variables; in the target flash block where the target data is located, the above three types of potential associated data are matched to generate a data association index; this step can be implemented through a data matching algorithm to ensure that the index can reflect the actual association relationship between the data; among them, the matching process is only carried out in the target flash block where the target data is located. Since the probability that the associated data and the target data are in the same flash block is relatively high, only data lookups and matches are performed from the corresponding flash block, which can well find whether there is corresponding potential associated data in the target flash block, rather than performing data matching lookups in all flash chips of the solid-state drive, because that would result in a long time for data matching lookups, which is contrary to the fast reading of associated data.

[0083] In addition, in one embodiment, as Figure 4 shown, the above step S400 may include but is not limited to step S410 and step S420.

[0084] Step S410, when the data association index is non-empty, determine the address information of the associated data based on the data association index;

[0085] Step S420, use the data corresponding to the address information of the associated data as the target associated data.

[0086] It should be noted that in the process of determining the target associated data according to the non-empty data association index, first, the address information of the associated data is determined based on the data association index; then, the data corresponding to the address information of the associated data is used as the target associated data to prepare for the reading of the target associated data.

[0087] It should be noted that according to the key value information in the data association index, the associated data address information stored in the flash memory chip is directly queried, and then the data corresponding to the associated data address information can be used as the target associated data subsequently.

[0088] In addition, in one embodiment, as Figure 5 shown, after performing the above step S500, it may further include but is not limited to steps S610 to S640.

[0089] Step S610, obtain a new data read instruction;

[0090] Step S620, analyze and process the new data read instruction based on the flash translation layer mapping table to obtain a new data physical address;

[0091] Step S630, compare the data physical address with the associated data address information;

[0092] Step S640, when the associated data address information includes the data physical address, read and process the data corresponding to the data physical address from the cache unit of the solid state drive.

[0093] It should be noted that after reading the target associated data into the cache unit of the solid state drive, a new data read instruction can also be obtained, and then the new data read instruction is analyzed and processed based on the flash translation layer mapping table to obtain a new data physical address; then the data physical address is compared with the associated data address information; when the associated data address information includes the data physical address, read and process the data corresponding to the data physical address from the cache unit of the solid state drive. Reading the associated data directly from the cache unit can greatly improve the data reading efficiency of the associated data.

[0094] It should be noted that when the host (such as the operating system) needs to read data from the solid state drive, a data read instruction will be sent, and this instruction usually includes parameters such as the logical block address and the data length; the internal flash translation layer of the solid state drive is responsible for converting the logical block address into a physical block address; the flash translation layer maintains a mapping table that records the mapping relationship from the logical address to the physical address; after obtaining the physical address of the data, it needs to be compared with the pre-stored associated data address information; if the associated data address information contains the target physical address, it proves that the data corresponding to the target physical address is stored in the cache unit. At this time, the corresponding associated data can be read from its cache unit; through the above method, the data reading efficiency of the associated data can be greatly improved.

[0095] In addition, in one embodiment, as Figure 6As shown, the above step S500 may further include, but is not limited to, steps S510 to S520.

[0096] Step S510, reading the target associated data into the single-level cell cache of the solid-state drive;

[0097] Step S520, performing an update process on the cache management table of the single-level cell cache.

[0098] It should be noted that in the process of reading the target associated data into the cache unit of the solid-state drive, first the target associated data is read into the single-level cell cache of the solid-state drive, and then an update process is performed on the cache management table of the single-level cell cache; among them, in the solid-state drive, reading the target associated data into the single-level cell cache and updating the cache management table are key optimization steps for improving data access speed and reducing latency.

[0099] In addition, in an embodiment, as Figure 7 shown, before executing the above step S100, it may further include, but is not limited to, steps S110 to S120.

[0100] Step S110, performing an initialization process on the solid-state drive;

[0101] Step S120, loading a flash translation layer mapping table for the solid-state drive after the initialization process is completed.

[0102] It should be noted that before the solid-state drive receives a data read instruction, it may also perform an initialization process on the solid-state drive, and then load a flash translation layer mapping table for the solid-state drive after the initialization process is completed, in order to prepare for subsequent data address conversion processing.

[0103] As Figure 8 shown, in some embodiments of the present invention, an embodiment of the present invention further provides a solid-state drive data reading device 10, and the device includes:

[0104] A first processing module 100, configured to receive a data read instruction;

[0105] A second processing module 200, configured to analyze and process the data read instruction based on a preset flash translation layer mapping table to obtain a data physical address;

[0106] A third processing module 300, configured to read target data from the flash memory cells corresponding to the solid-state drive according to the data physical address; and analyze and process the data correlation of the target data to obtain a data correlation index;

[0107] A fourth processing module 400, configured to determine target associated data according to the data correlation index when the data correlation index is not empty;

[0108] A fifth processing module 500 is configured to read target associated data into a cache unit of a solid-state drive.

[0109] It should be noted that the specific implementation manner of the solid-state drive data reading device 10 in the embodiments of the present invention is basically the same as the specific embodiments of the above-mentioned solid-state drive data reading method, and will not be elaborated herein.

[0110] In some embodiments of the present invention, as Figure 9 shown, an embodiment of the present invention further provides a solid-state drive 700, including: a memory 720, a processor 710, and a computer program stored on the memory 720 and executable on the processor 710. When the processor 710 executes the computer program, the error correction and decoding method in the above embodiments is implemented. For example, when executing the method steps S100 to step S500 described above Figure 1 in, Figure 2 the method steps S210 to step S220 in, Figure 3 the method steps S310 to step S330 in, Figure 4 the method steps S410 to step S420 in, Figure 5 the method steps S610 to step S640 in, Figure 6 the method steps S510 to step S520 in and Figure 7 the method steps S110 to step S120 in.

[0111] In some embodiments of the present invention, an embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are executed by a processor or a controller, for example, executed by a processor in the above device embodiments, the above processor can execute the error correction and decoding method in the above embodiments. For example, when executing the method steps S100 to step S500 described above Figure 1 in, Figure 2 the method steps S210 to step S220 in, Figure 3 the method steps S310 to step S330 in, Figure 4 the method steps S410 to step S420 in, Figure 5 the method steps S610 to step S640 in, Figure 6 the method steps S510 to step S520 in and Figure 7 the method steps S110 to step S120 in.

[0112] Those of ordinary skill in the art will appreciate that all or some of the steps and systems disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include a computer storage medium (or non-transitory medium) and a communication medium (or transitory medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and that can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and can include any information delivery media.

[0113] The above is a specific description of the preferred embodiments of the present invention, but the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent deformations or substitutions without departing from the spirit of the present invention, and these equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.

Claims

1. A method for reading data from a solid state hard disk, characterized in that: The method comprises: Receive data reading instructions; Analyzing and processing the data read instruction based on a preset flash translation layer mapping table to obtain a data physical address; Reading target data from the flash memory unit corresponding to the solid state drive according to the data physical address; and analyzing and processing the data association of the target data to obtain a data association index; When the data association index is not empty, determining the target association data according to the data association index; The target associated data is read into a cache unit of the solid state drive.

2. The method for reading data from a solid state drive according to claim 1, wherein: The analyzing and processing the data read instruction based on a preset flash translation layer mapping table to obtain a data physical address includes: Determine a data logical address from the data read instruction; The data logical address is mapped and matched based on the flash translation layer mapping table to obtain the data physical address.

3. The method for reading data from a solid state drive according to claim 1, wherein: The analyzing and processing the data association of the target data to obtain a data association index includes: Performing association rule mining on the target data to obtain frequent item sets and association rules; and performing correlation analysis on the target data to obtain a correlation matrix; Determine first potential associated data according to the target data and the frequent itemsets; and determine second potential associated data according to the target data and the association rule; and determine third potential associated data according to the target data and the correlation matrix; The first potential associated data, the second potential associated data and the third potential associated data are matched in the target flash memory block where the target data is located to obtain the data association index.

4. The method for reading data from a solid state drive according to claim 1, wherein: When the data association index is not empty, determining the target association data according to the data association index includes: When the data association index is not empty, determining the associated data address information based on the data association index; The data corresponding to the associated data address information is used as the target associated data.

5. The method for reading data from a solid state drive according to claim 4, wherein: After reading the target associated data into the cache unit of the solid state drive, the method further includes: Obtaining a new data reading instruction; Analyze and process the new data read instruction based on the flash translation layer mapping table to obtain a new data physical address; Comparing the data physical address with the associated data address information; In a case where the associated data address information includes the data physical address, data corresponding to the data physical address is read from the cache unit of the solid state drive.

6. The method for reading data from a solid state drive according to claim 1, wherein: The step of reading the target associated data into a cache unit of the solid state drive comprises: Reading the target associated data into a single-layer unit cache of the solid state drive; The cache management table of the single-layer unit cache is updated.

7. The method for reading data from a solid state drive according to claim 1, wherein: Before receiving the data read instruction, the method further includes: Initializing the solid state hard disk; The flash translation layer mapping table is loaded into the solid state drive after the initialization process is completed.

8. A solid state hard disk data reading device, characterized in that: The device comprises: A first processing module, used for receiving a data reading instruction; A second processing module, configured to analyze and process the data read instruction based on a preset flash translation layer mapping table to obtain a data physical address; A third processing module is used to read the target data from the flash memory unit corresponding to the solid state drive according to the data physical address; and analyze and process the data association of the target data to obtain a data association index; A fourth processing module, configured to determine target associated data according to the data associated index when the data associated index is not empty; The fifth processing module is used to read the target associated data into the cache unit of the solid state drive.

9. A solid state hard disk, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the solid state hard disk data reading method as claimed in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing computer-executable instructions, characterized in that: When the computer executable instructions are executed by the control processor, the solid state hard disk data reading method as described in any one of claims 1 to 7 is implemented.