Error correction decoding data generation method, device, electronic device and readable storage medium

By combining the flash bus timing module and the error correction control module in the storage controller, error correction decoded data generation for different types of flash devices is solved, and the problem that the existing technology cannot be compatible with different types of flash devices is improved, and the flexibility of data generation is improved and adaptability.

CN116701047BActive Publication Date: 2024-11-12ARTMEM TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310622518.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-29
Publication Date
2024-11-12
Estimated Expiration
2043-05-29

AI Technical Summary

Technical Problem

The prior art is not compatible with the error correction decoding data generation methods of two different types of flash memory devices, which makes it impossible to meet the data generation requirements of different types of memory at the same time.

Method used

By introducing the flash bus timing module, internal cache, error correction control module and data transmission control module into the storage controller, the data is read and type analysis is performed, soft decoding or calculation processing is performed according to the data type, error correction decoded data is generated, compatible Two ways to generate data.

Benefits of technology

It realizes compatibility with different types of memory, brings convenience to users, can adapt to different types of flash memory devices, and improves the flexibility and availability of data generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116701047B_ABST
    Figure CN116701047B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a method, device, electronic device and computer-readable storage medium for generating error correction decoding data. The method includes: reading storage data from flash memory particles to a first internal cache based on a flash bus timing module; performing type analysis on the storage data to obtain data type information; when the data type information indicates that the storage data is soft data information, reading the storage data from the first internal cache and performing soft decoding on the storage data to obtain error correction decoding data; when the data type information indicates that the storage data is original data information, reading the storage data from the first internal cache to a system cache based on a data transmission control module, and performing computational processing on the storage data in the system cache to obtain soft data information. The solution according to the embodiment of the present invention is compatible with two different error correction decoding data generation methods, and is well adapted to different types of memory, which brings convenience to users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method and device for generating error correction decoding data, an electronic device, and a computer-readable storage medium. Background Art

[0002] Flash memory may have bad blocks or ring bits when it leaves the factory, and as the usage time increases, it will also have the characteristics of life loss and increased error bits, so it is necessary to use an error correction algorithm to protect the data. When writing data, the error correction algorithm is executed to encode, add verification information, and the original data and verification information are written into the flash memory together; when reading data, the original data and verification information are read from the flash memory, and the error correction algorithm is executed for decoding. If the decoding is successful, the original data is correct, otherwise the original data may have errors. Among them, the error correction decoding process can be divided into hard decoding and soft decoding. Soft decoding has strong error correction capability and also requires input data in a specific format, which is called soft data information. There are currently two types of flash memory on the market. One type can read soft data information directly from the flash memory through commands, and the other type can only provide raw data information. Soft data information can only be generated after specific operations are performed on the raw data information; however, there is currently no relevant flash memory controller on the market that can simultaneously meet the data generation methods of the above two types of flash memory, making the two different data generation methods incompatible. 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 an error correction decoding data generation method, which is compatible with two different error correction decoding data generation methods, well adaptable to different types of memory, and brings convenience to users.

[0005] The present invention also provides a device using the above error correction decoding data generation method.

[0006] The present invention also provides an electronic device using the error correction decoding data generation method.

[0007] The present invention also proposes a computer-readable storage medium using the above-mentioned error correction decoding data generation method.

[0008] The error correction decoding data generation method according to the first aspect of the present invention is applied to a storage controller, wherein the storage controller includes a flash bus timing module, a first internal cache, a system cache, an error correction control module, and a data transmission control module. The method includes:

[0009] Reading storage data from the flash memory particles to the first internal cache based on the flash bus timing module;

[0010] Performing type analysis on the stored data to obtain data type information;

[0011] In a case where the data type information indicates that the stored data is soft data information, based on the error correction control module, reading the stored data from the first internal cache and performing soft decoding on the stored data to obtain error correction decoding data;

[0012] In the case where the data type information represents that the stored data is original data information, the stored data is read from the first internal cache to the system cache based on the data transmission control module, and the stored data in the system cache is processed to obtain the soft data information, and the soft data information is transferred to the first internal cache. Based on the error correction control module, the soft data information is read from the first internal cache and the soft data information is soft-decoded to obtain the error correction decoding data.

[0013] According to some embodiments of the present invention, the storage controller further includes a second internal cache, and after obtaining the error correction decoding data, the method further includes:

[0014] Transferring the error correction decoded data to the second internal buffer;

[0015] The error correction decoding data is read from the second internal cache to the system cache based on the data transmission control module.

[0016] According to some embodiments of the present invention, reading the stored data from the first internal cache based on the error correction control module includes:

[0017] When the amount of cached data in the first internal cache meets a first preset condition, the stored data is read from the first internal cache based on the error correction control module.

[0018] According to some embodiments of the present invention, the reading the soft data information from the first internal cache based on the error correction control module includes:

[0019] When the amount of cached data in the first internal cache meets a second preset condition, the soft data information is read from the first internal cache based on the error correction control module.

[0020] According to some embodiments of the present invention, transferring the soft data information to the first internal cache includes:

[0021] The soft data information is transmitted from the system cache to the first internal cache based on a data transmission control module.

[0022] According to some embodiments of the present invention, the storage controller further includes a protocol interface control module and a processor, and before the flash bus timing module reads the storage data from the flash memory particles to the first internal cache, the method further includes:

[0023] Based on the protocol interface control module, the operation instruction sent by the external host is received and the operation instruction is analyzed to obtain operation analysis information;

[0024] Transferring the operation analysis information to the system cache;

[0025] The operation parsing information in the system cache is read and executed based on the processor.

[0026] According to some embodiments of the present invention, after the data transmission control module reads the error correction decoding data from the second internal cache to the system cache, the method further includes:

[0027] The processor reads the error correction decoding data from the system cache, and performs a decoding operation according to the error correction decoding data.

[0028] According to the second aspect of the present invention, the error correction decoding data generating device is applied to a storage controller, the storage controller includes a flash bus timing module, a first internal cache, a system cache, an error correction control module and a data transmission control module, the device includes:

[0029] A first processing module, configured to read storage data from a flash memory particle to the first internal cache based on the flash memory bus timing module;

[0030] A second processing module, used for performing type analysis on the stored data to obtain data type information;

[0031] A third processing module is configured to, when the data type information indicates that the stored data is soft data information, read the stored data from the first internal cache based on the error correction control module and perform soft decoding on the stored data to obtain error correction decoding data;

[0032] A fourth processing module is used to read the stored data from the first internal cache to the system cache based on the data transmission control module when the data type information indicates that the stored data is original data information, and to perform calculation processing on the stored data in the system cache to obtain the soft data information, transfer the soft data information to the first internal cache, read the soft data information from the first internal cache based on the error correction control module, and soft-decode the soft data information to obtain the error correction decoding data.

[0033] According to an embodiment of the third aspect of the present invention, the electronic device comprises: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the error correction decoding data generating method as described above when executing the computer program.

[0034] According to a computer-readable storage medium of an embodiment of the fourth aspect of the present invention, the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a control processor, the error correction decoding data generation method as described above is implemented.

[0035] According to the error correction decoding data generation method of the embodiment of the present invention, there are at least the following beneficial effects: in the process of error correction decoding data generation, based on the flash bus timing module, the storage data is read from the flash memory particles to the first internal cache; then the type analysis processing of the storage data can obtain the data type information; when the data type information represents that the storage data is soft data information, based on the error correction control module, the storage data is read from the first internal cache and the storage data is soft-decoded to obtain the error correction decoding data; when the data type information represents that the storage data is original data information, based on the data transmission control module, the storage data is read from the first internal cache to the system cache, and the storage data in the system cache is processed to obtain the soft data information, the soft data information is transferred to the first internal cache, and the soft data information is read from the first internal cache based on the error correction control module and the soft data information is soft-decoded to obtain the error correction decoding data. Through the above technical solution, it is possible to be compatible with two different error correction decoding data generation methods, adapt well to different types of memory, and bring convenience to users.

[0036] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings are used to provide further understanding of the technical solution 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 solution of the present disclosure and do not constitute a limitation on the technical solution of the present disclosure.

[0038] Figure 1 is a flow chart of a method for generating error correction decoding data provided by an embodiment of the present invention;

[0039] Figure 2 is a flow chart of a method for generating error correction decoding data provided by another embodiment of the present invention;

[0040] Figure 3is a specific flow chart of S310 provided by an embodiment of the present invention;

[0041] Figure 4 is a specific flow chart of S320 provided by an embodiment of the present invention;

[0042] Figure 5 is a specific flow chart of S320 provided by another embodiment of the present invention;

[0043] Figure 6 is a flow chart of a method for generating error correction decoding data provided by another embodiment of the present invention;

[0044] Figure 7 is a flow chart of a method for generating error correction decoding data provided by another embodiment of the present invention;

[0045] Figure 8 is a flow chart of the error correction decoding data generation and decoding process provided by one embodiment of the present invention;

[0046] Fig. 9 is a schematic diagram of the structure of a storage controller provided by an embodiment of the present invention;

[0047] Fig.10 It is a schematic diagram of the structure of an error correction decoding data generating device provided by an embodiment of the present invention;

[0048] Fig.11 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with 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.

[0050] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0051] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.

[0052] The present invention provides a method, device, electronic device and computer-readable storage medium for generating error correction decoding data, the method comprising: in the process of generating error correction decoding data, based on the flash bus timing module, reading storage data from the flash memory particles to the first internal cache; then performing type analysis processing on the storage data to obtain data type information; when the data type information indicates that the storage data is soft data information, based on the error correction control module, reading the storage data from the first internal cache and performing soft decoding on the storage data to obtain error correction decoding data; when the data type information indicates that the storage data is original data information, based on the data transmission control module, reading the storage data from the first internal cache to the system cache, performing operation processing on the storage data in the system cache to obtain soft data information, transferring the soft data information to the first internal cache, reading the soft data information from the first internal cache based on the error correction control module and performing soft decoding on the soft data information to obtain the error correction decoding data. Through the above technical solution, two different error correction decoding data generation methods can be compatible, and different types of memory can be well adapted, which brings convenience to users.

[0053] The embodiments of the present invention are further described below in conjunction with the accompanying drawings.

[0054] like Figure 1 As shown, Figure 1 The present invention provides a flowchart of a method for generating error correction decoding data according to an embodiment of the present invention. The method is applied to a storage controller, the storage controller includes a flash bus timing module, a first internal cache, a system cache, an error correction control module and a data transmission control module, and the method includes but is not limited to steps S100, S200, S310 and S320.

[0055] Step S100, reading storage data from the flash memory particles to the first internal cache based on the flash bus timing module;

[0056] Step S200, performing type analysis on the stored data to obtain data type information;

[0057] Step S310, when the data type information indicates that the stored data is soft data information, based on the error correction control module, the stored data is read from the first internal cache and soft-decoded to obtain error correction decoded data;

[0058] Step S320, when the data type information indicates that the stored data is original data information, the stored data is read from the first internal cache to the system cache based on the data transmission control module, and the stored data in the system cache is processed to obtain soft data information, and the soft data information is transferred to the first internal cache, and the soft data information is read from the first internal cache based on the error correction control module and the soft data information is soft-decoded to obtain error correction decoding data.

[0059] It should be noted that in the process of generating error correction decoding data, based on the flash bus timing module, the storage data is read from the flash memory particles to the first internal cache; then the type analysis processing of the storage data can obtain the data type information; when the data type information indicates that the storage data is soft data information, based on the error correction control module, the storage data is read from the first internal cache and the storage data is soft-decoded to obtain error correction decoding data; when the data type information indicates that the storage data is original data information, based on the data transmission control module, the storage data is read from the first internal cache to the system cache, and the storage data in the system cache is processed to obtain soft data information, and the soft data information is transferred to the first internal cache, and based on the error correction control module, the soft data information is read from the first internal cache and the soft data information is soft-decoded to obtain the error correction decoding data. Through the above technical solution, it is compatible with two different error correction decoding data generation methods, well adapted to different types of memory, and brings convenience to users.

[0060] like Fig. 9 As shown, the storage controller includes a flash memory bus timing module, a first internal cache, a system cache, an error correction control module and a data transmission control module. The storage controller is used to perform data read and write operations on the flash memory particles. The flash memory bus timing module is used to read the stored data from the flash memory particles, the first internal cache and the system cache are both used to store data, the error correction control module is used to perform soft decoding processing, and the data transmission control module is used to control the transmission of related data. Among them, the first internal cache referred to in this embodiment is Fig. 9 Internal cache 2 in.

[0061] It is worth noting that based on the flash bus timing module, the storage data is read from the flash memory particles to the first internal cache; then the type analysis of the read storage data can be performed to obtain the data type information; wherein the data type information can characterize the storage data as soft data information or raw data information.

[0062] It should be noted that, when the data type information indicates that the stored data is soft data information, the stored data will be read from the first internal cache based on the error correction control module and the stored data will be soft-decoded to obtain error correction decoding data. When the data type information indicates that the stored data is original data information, the stored data will be read from the first internal cache based on the data transmission control module, and the stored data will be transferred to the system cache; in the system cache, the stored data will be processed and the original data information will be converted into soft data information, and then the obtained soft data information will be stored in the first internal cache, and then the error correction control module will read the soft data information from the first internal cache, and the soft data information will be soft-decoded to obtain the corresponding error correction decoding data. Through the above technical solution, it is compatible with two different error correction decoding data generation methods, and it is well adapted to different types of memory, which brings convenience to users.

[0063] like Figure 8 As shown, specifically, the flash bus timing module sends a command to read soft data information from the flash memory particles, and the soft data information directly enters the internal cache 2. After waiting for the cache data volume to meet the conditions, the error correction control module reads data from the internal cache 2 and starts soft decoding, and the data after decoding is output to the internal cache 1. The data transmission control module controls the transmission of the decoded data to the system cache through the bus for standby. In addition, when the flash bus timing module sends a command to read the original data information from the flash memory particles and store it in the internal cache 2; since the original data information cannot be directly sent to the error correction control module for soft decoding, at this time, the data transmission control module transmits the original data information to the system cache; the original data in the system cache is processed by calculation to obtain soft data information; the data transmission control module transmits the software data information from the system cache to the internal cache 2; after waiting for the cache data volume to meet the conditions, the error correction control module reads data from the internal cache 2 and starts soft decoding, and the data after decoding is output to the internal cache 1; finally, the data transmission control module controls the transmission of the decoded data in the internal cache 1 to the system cache through the bus for standby.

[0064] In addition, in one embodiment, if Figure 2 As shown, the storage controller further includes a second internal cache, and after obtaining the error correction decoding data, the steps may include but are not limited to step S400 and step S500.

[0065] Step S400, transferring the error correction decoded data to a second internal cache;

[0066] Step S500 : reading the error correction decoding data from the second internal cache to the system cache based on the data transmission control module.

[0067] It should be noted that after obtaining the error correction decoding data, the error correction decoding data can also be transferred to the second internal cache; then based on the data transmission control module, the error correction decoding data is read from the second internal cache to the system cache to prepare for subsequent soft decoding.

[0068] In addition, in one embodiment, if Figure 3 As shown, the above step S310 may include but is not limited to step S311.

[0069] Step S311 , when the amount of cached data in the first internal cache meets a first preset condition, the stored data is read from the first internal cache based on the error correction control module.

[0070] It should be noted that, when the amount of cached data in the first internal cache meets the first preset condition, the stored data can be read from the first internal cache based on the error correction control module. The amount of cached data in the first internal cache meeting the first preset condition may be that the amount of cached data in the first internal cache reaches a preset threshold.

[0071] In addition, in one embodiment, if Figure 4 As shown, the above step S320 may include but is not limited to step S321.

[0072] Step S321 : when the amount of data cached in the first internal cache meets a second preset condition, read soft data information from the first internal cache based on the error correction control module.

[0073] It should be noted that, when the amount of data cached in the first internal cache meets the second preset condition, the soft data information can be read from the first internal cache based on the error correction control module. The amount of data cached in the first internal cache meets the second preset condition may be that the amount of data cached in the first internal cache reaches a preset threshold.

[0074] In addition, in one embodiment, if Figure 5 As shown, the above step S320 may also include but is not limited to step S322.

[0075] Step S322: transmitting the soft data information from the system cache to the first internal cache based on the data transmission control module.

[0076] It should be noted that the data transmission control module can transmit the soft data information from the system cache to the first internal cache to prepare for the subsequent soft decoding process.

[0077] In addition, in one embodiment, if Figure 6 As shown, before executing S100, step S110, step S120 and step S130 may also be included but not limited to.

[0078] Step S110, receiving an operation instruction sent by an external host based on the protocol interface control module and parsing the operation instruction to obtain operation parsing information;

[0079] Step S120, transferring the operation analysis information to the system cache;

[0080] Step S130: reading and executing the operation parsing information in the system cache based on the processor.

[0081] It should be noted that first, the protocol interface control module receives the operation instructions sent by the external host, and parses the operation instructions to obtain the operation analysis information; then the operation analysis information is transferred to the system cache; finally, the processor reads and executes the operation analysis information in the system cache; wherein the operation instructions may include read operations and write operations.

[0082] In addition, in one embodiment, if Figure 7 As shown, after executing the above step S500, it may also include but not limited to step S600.

[0083] Step S600 , reading error correction decoding data from the system cache based on the processor, and performing a decoding operation according to the error correction decoding data.

[0084] It should be noted that the soft decoding process is implemented by reading the error correction decoding data from the system cache based on the processor and performing decoding operation processing according to the error correction decoding data.

[0085] In some embodiments of the present invention, Fig.10 As shown, an embodiment of the present invention further provides an error correction decoding data generating device 10, which is applied to a storage controller, the storage controller includes a flash bus timing module, a first internal cache, a system cache, an error correction control module and a data transmission control module, and the device includes:

[0086] A first processing module 100 is used to read storage data from a flash memory particle to a first internal cache based on a flash memory bus timing module;

[0087] The second processing module 200 is used to perform type analysis on the stored data to obtain data type information;

[0088] The third processing module 300 is used for reading the stored data from the first internal cache based on the error correction control module and performing soft decoding on the stored data to obtain error correction decoding data when the data type information indicates that the stored data is soft data information;

[0089] The fourth processing module 400 is used to read the stored data from the first internal cache to the system cache based on the data transmission control module when the data type information indicates that the stored data is original data information, and to perform calculations on the stored data in the system cache to obtain soft data information, and to transfer the soft data information to the first internal cache, and to read the soft data information from the first internal cache based on the error correction control module and to perform soft decoding on the soft data information to obtain error correction decoding data.

[0090] The specific implementation of the error correction decoding data generating device 10 is basically the same as the specific embodiment of the error correction decoding data generating method described above, and will not be repeated here.

[0091] In some embodiments of the present invention, Fig.11 As shown, an embodiment of the present invention further provides an electronic device 700, including: a memory 720, a processor 710, and a computer program stored in the memory 720 and executable on the processor 710. When the processor 710 executes the computer program, the error correction decoding data generating method in the above embodiment is implemented, for example, the above described Figure 1 Steps S100 to S320 of the method, Figure 2 Steps S400 to S500 of the method, Figure 3 Step S311 of the method, Figure 4 Step S321 of the method, Figure 5 Step S322 of the method, Figure 6 Steps S110 to S130 of the method and Figure 7 Method step S600 in .

[0092] In some embodiments of the present invention, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are executed by a processor or a controller, for example, by a processor in the above-mentioned device embodiment, so that the above-mentioned processor can execute the error correction decoding data generation method in the above-mentioned embodiment, for example, execute the above-mentioned Figure 1 Steps S100 to S320 of the method, Figure 2 Steps S400 to S500 of the method, Figure 3 Step S311 of the method, Figure 4 Step S321 of the method, Figure 5 Step S322 of the method, Figure 6 Steps S110 to S130 of the method and Figure 7 Method step S600 in .

[0093] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled 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 include, but are 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, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0094] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.

Claims

1. A method for generating error correction decoding data, characterized in that: Applied to a storage controller, the storage controller includes a flash bus timing module, a first internal cache, a system cache, an error correction control module and a data transmission control module, the method includes: Reading storage data from the flash memory particles to the first internal cache based on the flash bus timing module; Performing type analysis on the stored data to obtain data type information; In a case where the data type information indicates that the stored data is soft data information, based on the error correction control module, reading the stored data from the first internal cache and performing soft decoding on the stored data to obtain error correction decoding data; In the case where the data type information indicates that the stored data is original data information, based on the data transmission control module, the stored data is read from the first internal cache to the system cache, and the stored data in the system cache is processed to obtain the soft data information, and the soft data information is transferred to the first internal cache, and based on the error correction control module, the soft data information is read from the first internal cache and the soft data information is soft-decoded to obtain the error correction decoding data; Wherein, the storage controller further includes a second internal cache, and after obtaining the error correction decoding data, the method further includes: Transferring the error correction decoded data to the second internal buffer; reading the error correction decoding data from the second internal cache to the system cache based on the data transmission control module; The storage controller further includes a protocol interface control module and a processor. Before the flash bus timing module reads the storage data from the flash memory particles to the first internal cache, the method further includes: Based on the protocol interface control module, the operation instruction sent by the external host is received and the operation instruction is analyzed to obtain operation analysis information; Transferring the operation analysis information to the system cache; The operation parsing information in the system cache is read and executed based on the processor.

2. The error correction decoding data generating method according to claim 1, characterized in that: The reading the stored data from the first internal cache based on the error correction control module includes: When the amount of cached data in the first internal cache meets a first preset condition, the stored data is read from the first internal cache based on the error correction control module.

3. The error correction decoding data generating method according to claim 1, characterized in that: The reading the soft data information from the first internal cache based on the error correction control module includes: When the amount of cached data in the first internal cache meets a second preset condition, the soft data information is read from the first internal cache based on the error correction control module.

4. The error correction decoding data generating method according to claim 1, characterized in that: The transferring the soft data information to the first internal cache includes: The soft data information is transmitted from the system cache to the first internal cache based on a data transmission control module.

5. The error correction decoding data generating method according to claim 1, characterized in that: After reading the error correction decoding data from the second internal cache to the system cache based on the data transmission control module, the method further includes: The processor reads the error correction decoding data from the system cache, and performs a decoding operation according to the error correction decoding data.

6. An error correction decoding data generating device, characterized in that: Applied to a storage controller, the storage controller includes a flash bus timing module, a first internal cache, a system cache, an error correction control module and a data transmission control module, the device includes: A first processing module, configured to read storage data from a flash memory particle to the first internal cache based on the flash memory bus timing module; A second processing module, used for performing type analysis on the stored data to obtain data type information; A third processing module is configured to, when the data type information indicates that the stored data is soft data information, read the stored data from the first internal cache based on the error correction control module and perform soft decoding on the stored data to obtain error correction decoding data; a fourth processing module, configured to, when the data type information indicates that the stored data is original data information, read the stored data from the first internal cache to the system cache based on the data transmission control module, perform operation processing on the stored data in the system cache to obtain the soft data information, transfer the soft data information to the first internal cache, read the soft data information from the first internal cache based on the error correction control module, and perform soft decoding on the soft data information to obtain the error correction decoding data; Wherein, the storage controller further includes a second internal cache, and after obtaining the error correction decoding data, further includes: Transferring the error correction decoded data to the second internal buffer; reading the error correction decoding data from the second internal cache to the system cache based on the data transmission control module; The storage controller further includes a protocol interface control module and a processor. Before the flash bus timing module reads the storage data from the flash memory particles to the first internal cache, it also includes: Based on the protocol interface control module, the operation instruction sent by the external host is received and the operation instruction is analyzed to obtain operation analysis information; Transferring the operation analysis information to the system cache; The operation parsing information in the system cache is read and executed based on the processor.

7. An electronic device, 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 error correction decoding data generating method as claimed in any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium storing computer-executable instructions, characterized in that: When the computer executable instructions are executed by the control processor, the error correction decoding data generation method as described in any one of claims 1 to 5 is implemented.