CN116701047A - Error correction decoding data generation method and device, electronic equipment and readable storage medium - Google Patents

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

Info

Publication number
CN116701047A
CN116701047A CN202310622518.8A CN202310622518A CN116701047A CN 116701047 A CN116701047 A CN 116701047A CN 202310622518 A CN202310622518 A CN 202310622518A CN 116701047 A CN116701047 A CN 116701047A
Authority
CN
China
Prior art keywords
data
error correction
control module
soft
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310622518.8A
Other languages
Chinese (zh)
Inventor
温佳强
赖鼐
龚晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Miaocun Technology Co ltd
Original Assignee
Zhuhai Miaocun Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Miaocun Technology Co ltd filed Critical Zhuhai Miaocun Technology Co ltd
Priority to CN202310622518.8A priority Critical patent/CN116701047A/en
Publication of CN116701047A publication Critical patent/CN116701047A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1068Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices in sector programmable memories, e.g. flash disk
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/37Decoding methods or techniques, not specific to the particular type of coding provided for in groups H03M13/03 - H03M13/35
    • H03M13/45Soft decoding, i.e. using symbol reliability information
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Probability & Statistics with Applications (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The embodiment of the invention provides an error correction decoding data generation method, an error correction decoding data generation device, electronic equipment and a computer readable storage medium. The method comprises the following steps: reading storage data from the flash memory particles to a first internal cache based on the flash memory bus timing module; performing type analysis on the stored data to obtain data type information; under the condition that the data type information characterizes the stored data as soft data information, the stored data is read from the first internal cache and is subjected to soft decoding to obtain error correction decoding data; under the condition that the data type information characterizes the stored data as 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 operated to obtain soft data information. According to the scheme provided by the embodiment of the invention, two different error correction decoding data generation modes can be compatible, different types of memories can be well adapted, and convenience is brought to users.

Description

Error correction decoding data generation method and device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and apparatus for generating error correction decoding data, an electronic device, and a computer readable storage medium.
Background
The flash memory may have bad blocks or ring bits when shipped, and life loss and error bit increase characteristics may also occur with the increase of the service time, so that the data needs to be protected by using an error correction algorithm. When writing data, executing an error correction algorithm to encode, adding check information, and writing the original data and the check information into the flash memory; when the data is read, the original data and the check information are read from the flash memory, an error correction algorithm is executed for decoding, if the decoding is passed, the original data is correct, otherwise, the original data may have an error condition. The error correction decoding process can be divided into hard decoding and soft decoding, and soft decoding has strong error correction capability and requires input data with a specific format, which is called soft data information. At present, two types of flash memories exist in the market, one type can directly read soft data information from the flash memory through a command, the other type can only provide original data information, and the soft data information can be generated after specific operation is carried out on the original data information; however, there is no related flash memory controller in the market at present that can simultaneously satisfy the data generation modes of the above two types of flash memories, so that the two different data generation modes cannot be compatible.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art.
Therefore, the invention provides the error correction decoding data generation method which can be compatible with two different error correction decoding data generation modes, is well suitable for different types of memories, and brings convenience for users.
The invention also provides a device applying the error correction decoding data generation method.
The invention also provides an electronic device applying the error correction decoding data generation method.
The invention also provides a computer readable storage medium applying the error correction decoding data generation method.
An embodiment of the present invention provides an error correction decoding data generating method applied to a memory controller, where the memory controller includes a flash memory bus timing module, a first internal buffer, a system buffer, an error correction control module and a data transmission control module, and the method includes:
reading storage data from flash memory particles to the first internal cache based on the flash memory bus timing module;
performing type analysis on the stored data to obtain data type information;
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 decoded data under the condition that the data type information characterizes the stored data as soft data information;
and under the condition that the data type information characterizes the stored data as original data information, reading the stored data from the first internal cache based on the data transmission control module to the system cache, performing operation processing on the stored data in the system cache to obtain the 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.
According to some embodiments of the invention, the memory controller further includes a second internal buffer, and after obtaining the error correction decoded data, the method further includes:
the error correction decoding data are transferred to the second internal cache;
and reading the error correction decoding data from the second internal buffer memory based on the data transmission control module to the system buffer memory.
According to some embodiments of the invention, the reading the stored data from the first internal cache based on the error correction control module includes:
and under the condition that the amount of the cached data in the first internal cache meets a first preset condition, reading the stored data from the first internal cache based on the error correction control module.
According to some embodiments of the invention, the reading the soft data information from the first internal buffer based on the error correction control module includes:
and under the condition that the buffer data amount in the first internal buffer memory meets a second preset condition, reading the soft data information from the first internal buffer memory based on the error correction control module.
According to some embodiments of the invention, the transferring the soft data information to the first internal cache includes:
and transmitting the soft data information from the system cache to the first internal cache based on a data transmission control module.
According to some embodiments of the invention, the memory controller further comprises a protocol interface control module and a processor, the method further comprises, before reading the memory data from the flash memory granule to the first internal cache based on the flash bus timing module:
receiving an operation instruction sent by an external host terminal based on the protocol interface control module and analyzing the operation instruction to obtain operation analysis information;
the operation analysis information is transferred to the system cache;
and reading and executing operation analysis information in the system cache based on the processor.
According to some embodiments of the invention, after the data transmission control module reads the error correction decoded data from the second internal buffer to the system buffer, the method further includes:
and reading the error correction decoding data from the system cache based on the processor, and performing decoding operation according to the error correction decoding data.
An apparatus for generating error correction decoded data according to an embodiment of a second aspect of the present invention is applied to a memory controller, where the memory controller includes a flash memory bus timing module, a first internal buffer, a system buffer, an error correction control module, and a data transmission control module, and the apparatus includes:
the first processing module is used for reading storage data from the flash memory particles to the first internal cache based on the flash memory bus time sequence module;
the second processing module is used for carrying out type analysis on the stored data to obtain data type information;
the third processing module 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 decoded data when the data type information characterizes the stored data as soft data information;
and the fourth processing module is used for reading the stored data from the first internal cache based on the data transmission control module to the system cache under the condition that the data type information characterizes the stored data as original data information, performing operation processing on the stored data in the system cache to obtain the 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 decoded data.
An electronic device according to an embodiment of a third aspect of the present invention includes: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the error correction decoding data generation method as described above when executing the computer program.
A computer-readable storage medium according to an embodiment of the fourth aspect of the present invention stores computer-executable instructions that, when executed by a control processor, implement the error correction decoded data generation method as described above.
The error correction decoding data generation method according to the embodiment of the invention has at least the following beneficial effects: in the process of generating error correction decoding data, reading storage data from flash memory particles to a first internal cache based on a flash memory bus time sequence module; then, carrying out type analysis processing on the stored data to obtain data type information; under the condition that the data type information characterizes the stored data as soft data information, reading the stored data from a first internal cache based on an error correction control module and performing soft decoding on the stored data to obtain error correction decoding data; and under the condition that the data type information characterizes the stored data as original data information, reading the stored data from the first internal cache based on the data transmission control module to the system cache, performing operation processing on the stored 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 decoded data. Through the technical scheme, two different error correction decoding data generation modes can be compatible, different types of memories can be well adapted, and convenience is brought to users.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosed embodiments and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain, without limitation, the disclosed embodiments.
FIG. 1 is a flow chart of a method for generating error correction decoded data according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for generating error correction decoded data according to another embodiment of the present invention;
FIG. 3 is a specific flow chart of S310 provided by one embodiment of the present invention;
FIG. 4 is a specific flowchart of S320 provided by one embodiment of the present invention;
FIG. 5 is a flowchart showing an embodiment of S320 according to the present invention;
FIG. 6 is a flow chart of a method for generating error correction decoded data according to another embodiment of the present invention;
FIG. 7 is a flow chart of a method for generating error correction decoded data according to another embodiment of the present invention;
FIG. 8 is a flow chart of an error correction decoding data generation and decoding process provided by an embodiment of the present invention;
FIG. 9 is a schematic diagram of a memory controller according to one embodiment of the present invention;
fig. 10 is a schematic diagram of the construction of an error correction decoded data generating apparatus according to an embodiment of the present invention;
fig. 11 is a schematic diagram of the configuration of an electronic device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the description of the present invention, a number means one or more, a number means two or more, and greater than, less than, exceeding, etc. are understood to not include the present number, and above, below, within, etc. are understood to include the present number. The description of the first and second is for the purpose of distinguishing between technical features only and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless explicitly defined otherwise, terms such as arrangement, installation, connection, etc. should be construed broadly and the specific meaning of the terms in the present invention can be reasonably determined by a person skilled in the art in combination with the specific contents of the technical scheme.
The invention provides an error correction decoding data generation method, a device, electronic equipment and a computer readable storage medium, wherein the method comprises the following steps: in the process of generating error correction decoding data, reading storage data from flash memory particles to a first internal cache based on a flash memory bus time sequence module; then, carrying out type analysis processing on the stored data to obtain data type information; under the condition that the data type information characterizes the stored data as soft data information, reading the stored data from a first internal cache based on an error correction control module and performing soft decoding on the stored data to obtain error correction decoding data; and under the condition that the data type information characterizes the stored data as original data information, reading the stored data from the first internal cache based on the data transmission control module to the system cache, performing operation processing on the stored 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 decoded data. Through the technical scheme, two different error correction decoding data generation modes can be compatible, different types of memories can be well adapted, and convenience is brought to users.
Embodiments of the present invention will be further described below with reference to the accompanying drawings.
As shown in fig. 1, fig. 1 is a flowchart of a method for generating error correction decoded data according to an embodiment of the present invention. The method is applied to a memory controller, and the memory controller comprises a flash memory bus time sequence module, a first internal cache, a system cache, an error correction control module and a data transmission control module, and comprises, but is not limited to, step S100, step S200, step S310 and step S320.
Step S100, based on a flash memory bus time sequence module, reading storage data from flash memory particles to a first internal cache;
step S200, performing type analysis on the stored data to obtain data type information;
step S310, when the data type information represents that the stored data is soft data information, the stored data is read from the first internal cache based on the error correction control module and is subjected to soft decoding to obtain error correction decoding data;
step S320, when the data type information represents that the stored data is the original data information, the stored data is read from the first internal cache based on the data transmission control module to the system cache, the stored data in the system cache is operated to obtain soft data information, the soft data information is transferred to the first internal cache, the soft data information is read from the first internal cache based on the error correction control module, and the soft data information is subjected to soft decoding to obtain error correction decoding data.
It should be noted that, during the process of generating the error correction decoding data, the memory data is read from the flash memory granule to the first internal cache based on the flash memory bus timing module; then, carrying out type analysis processing on the stored data to obtain data type information; under the condition that the data type information characterizes the stored data as soft data information, reading the stored data from a first internal cache based on an error correction control module and performing soft decoding on the stored data to obtain error correction decoding data; and under the condition that the data type information characterizes the stored data as original data information, reading the stored data from the first internal cache based on the data transmission control module to the system cache, performing operation processing on the stored 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 decoded data. Through the technical scheme, two different error correction decoding data generation modes can be compatible, different types of memories can be well adapted, and convenience is brought to users.
As shown in fig. 9, the memory controller includes a flash memory bus timing module, a first internal buffer, a system buffer, an error correction control module, and a data transmission control module, and is used for performing data read-write operation processing on flash memory particles. The flash memory bus time sequence module is used for reading storage data from flash memory particles, the first internal cache and the system cache are both used for storing data, the error correction control module is used for performing soft decoding processing, and the data transmission control module is used for performing control transmission processing on related data. The first internal cache referred to in this embodiment is the internal cache 2 in fig. 9.
It is noted that, based on the flash bus timing module, the memory data is read from the flash memory granule to the first internal cache; then, carrying out type analysis on the read storage data to obtain data type information; wherein the data type information may characterize the stored data as soft data information or raw data information.
It should be noted that, when the data type information indicates that the stored data is soft data information, the error correction control module reads the stored data from the first internal buffer and performs soft decoding on the stored data to obtain error correction decoded data. Under the condition that the data type information characterizes the stored data as original data information, reading the stored data from a first internal cache based on a data transmission control module, and transferring the stored data to a system cache; in the system cache, operation processing is carried out on the stored data, original data information is converted into soft data information, then the obtained soft data information is stored in the first internal cache, then the error correction control module reads the soft data information from the first internal cache, and soft decoding processing is carried out on the soft data information, so that corresponding error correction decoding data can be obtained. Through the technical scheme, two different error correction decoding data generation modes can be compatible, different types of memories can be well adapted, and convenience is brought to users.
As shown in fig. 8, specifically, the flash memory bus timing module sends a command to read soft data information from the flash memory granule, the soft data information directly enters the internal buffer 2, after the buffer data amount satisfies the condition, the error correction control module reads data from the internal buffer 2 and starts soft decoding, and the decoded data is output to the internal buffer 1. And the data transmission control module is used for controlling the decoded data to be transmitted to the system cache for standby through the bus. In addition, when the flash memory bus timing module sends a command to read original data information from the flash memory particles and store the original data information into the internal cache 2; because the original data information can not be directly sent to the error correction control module for soft decoding, at the moment, the data transmission control module transmits the original data information to the system cache; the original data in the system cache is subjected to operation processing 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 the buffer data quantity meets the condition, the error correction control module reads data from the internal buffer 2 and starts soft decoding, and the decoded data is output to the internal buffer 1; and finally, the data transmission control module controls the decoded data in the internal buffer 1 to be transmitted to the system buffer for standby through a bus.
In addition, in an embodiment, as shown in fig. 2, the memory controller further includes a second internal buffer, and may further include, but is not limited to, step S400 and step S500 after obtaining the error correction decoded data.
Step S400, the error correction decoding data are transferred to a second internal buffer;
step S500, based on the data transmission control module, the error correction decoding data is read from the second internal buffer memory to the system buffer memory.
It should be noted that, after the error correction decoded data is obtained, the error correction decoded data may also be restored to the second internal buffer; and then reading error correction decoding data from the second internal buffer memory to the system buffer memory based on the data transmission control module, and preparing for subsequent soft decoding.
In addition, in an embodiment, as shown in fig. 3, the step S310 may include, but is not limited to, step S311.
In step S311, in the case that the amount of buffered data in the first internal buffer meets the first preset condition, the stored data is read from the first internal buffer based on the error correction control module.
It should be noted that, when the amount of the buffered data in the first internal buffer meets the first preset condition, the stored data may be read from the first internal buffer based on the error correction control module. The buffer data amount in the first internal buffer memory meeting the first preset condition may be that the buffer data amount in the first internal buffer memory reaches a preset threshold.
In addition, in an embodiment, as shown in fig. 4, the step S320 may include, but is not limited to, step S321.
In step S321, in the case that the amount of buffered data in the first internal buffer meets the second preset condition, the soft data information is read from the first internal buffer based on the error correction control module.
It should be noted that, when the amount of buffered data in the first internal buffer meets the second preset condition, the soft data information may be read from the first internal buffer based on the error correction control module. The buffer data amount in the first internal buffer memory meeting the second preset condition may be that the buffer data amount in the first internal buffer memory reaches a preset threshold.
In addition, in an embodiment, as shown in fig. 5, the step S320 may further include, but is not limited to, step S322.
In step S322, the soft data information is transferred from the system cache to the first internal cache based on the data transfer control module.
It should be noted that the data transmission control module may transmit soft data information from the system buffer to the first internal buffer, and is ready for a subsequent soft decoding process.
In addition, in an embodiment, as shown in fig. 6, step S110, step S120, and step S130 may be further included, but are not limited to, before performing step S100.
Step S110, receiving an operation instruction sent by an external host terminal based on a protocol interface control module and analyzing the operation instruction to obtain operation analysis information;
step S120, the operation analysis information is transferred to a system cache;
step S130, reading and executing operation analysis information in the system cache based on the processor.
It should be noted that, firstly, based on the protocol interface control module, the operation instruction sent by the external host end is received, and the operation instruction is analyzed to obtain the operation analysis information; then the operation analysis information is transferred to a system cache; finally, based on the processor, reading and executing the operation analysis information in the system cache; the operation instruction may include a read operation and a write operation, among others.
In addition, in an embodiment, as shown in fig. 7, step S600 may be further included, but is not limited to, after the above-mentioned step S500 is performed.
Step S600, the error correction decoding data is read from the system cache based on the processor, and the decoding operation is performed according to the error correction decoding data.
It should be noted that, the error correction decoded data is read from the system cache based on the processor, and the decoding operation processing is performed according to the error correction decoded data, so as to implement the soft decoding processing.
In some embodiments of the present invention, as shown in fig. 10, an embodiment of the present invention further provides an error correction decoding data generating apparatus 10, applied to a memory controller, where the memory controller includes a flash memory bus timing module, a first internal buffer, a system buffer, an error correction control module, and a data transmission control module, the apparatus includes:
a first processing module 100, configured to read the storage data from the flash memory granule to a first internal cache based on the flash memory bus timing module;
the second processing module 200 is configured to perform type analysis on the stored data to obtain data type information;
the third processing module 300 is configured to, in a case where 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 decoded data;
the fourth processing module 400 is configured to, when the data type information indicates that the stored data is original data information, read the stored data from the first internal buffer based on the data transmission control module to the system buffer, perform operation processing on the stored data in the system buffer to obtain soft data information, transfer the soft data information to the first internal buffer, read the soft data information from the first internal buffer based on the error correction control module, and perform soft decoding on the soft data information to obtain error correction decoded data.
The specific embodiment of the error correction decoding data generating apparatus 10 is basically the same as the specific embodiment of the error correction decoding data generating method described above, and will not be described here again.
In some embodiments of the present invention, as shown in fig. 11, an embodiment of the present invention further provides an electronic device 700, including: the memory 720, the processor 710, and the computer program stored on the memory 720 and executable on the processor 710, the processor 710 implements the error correction decoding data generation method in the above-described embodiments when executing the computer program, for example, performs the method steps S100 to S320 in fig. 1, the method steps S400 to S500 in fig. 2, the method step S311 in fig. 3, the method step S321 in fig. 4, the method step S322 in fig. 5, the method steps S110 to S130 in fig. 6, and the method step S600 in fig. 7 described above.
In some embodiments of the present invention, an embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions that are executed by a processor or controller, for example, by one of the processors in the above-described apparatus embodiments, which may cause the processor to perform the error correction decoding data generation method in the above-described embodiment, for example, perform the method steps S100 to S320 in fig. 1, the method steps S400 to S500 in fig. 2, the method step S311 in fig. 3, the method step S321 in fig. 4, the method step S322 in fig. 5, the method steps S110 to S130 in fig. 6, and the method step S600 in fig. 7 described above.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, 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 includes any information delivery media.
While the preferred embodiment of the present invention has been described in detail, the present invention is not limited to the above embodiment, and various equivalent modifications and substitutions can be made by those skilled in the art without departing from the spirit of the present invention, and these equivalent modifications and substitutions are intended to be included in the scope of the present invention as defined in the appended claims.

Claims (10)

1. The method for generating error correction decoding data is characterized by being applied to a storage controller, wherein the storage controller comprises a flash memory bus time sequence module, a first internal cache, a system cache, an error correction control module and a data transmission control module, and the method comprises the following steps:
reading storage data from flash memory particles to the first internal cache based on the flash memory bus timing module;
performing type analysis on the stored data to obtain data type information;
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 decoded data under the condition that the data type information characterizes the stored data as soft data information;
and under the condition that the data type information characterizes the stored data as original data information, reading the stored data from the first internal cache based on the data transmission control module to the system cache, performing operation processing on the stored data in the system cache to obtain the 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.
2. The method of generating error correction decoded data as claimed in claim 1, wherein said memory controller further comprises a second internal buffer, and wherein after obtaining said error correction decoded data, said method further comprises:
the error correction decoding data are transferred to the second internal cache;
and reading the error correction decoding data from the second internal buffer memory based on the data transmission control module to the system buffer memory.
3. The error correction decoded data generation method according to claim 1, wherein said reading the stored data from the first internal buffer based on the error correction control module comprises:
and under the condition that the amount of the cached data in the first internal cache meets a first preset condition, reading the stored data from the first internal cache based on the error correction control module.
4. The method of generating error correction decoded data according to claim 1, wherein said reading the soft data information from the first internal buffer based on the error correction control module comprises:
and under the condition that the buffer data amount in the first internal buffer memory meets a second preset condition, reading the soft data information from the first internal buffer memory based on the error correction control module.
5. The method of generating error correction decoded data as claimed in claim 1, wherein said transferring said soft data information to said first internal buffer comprises:
and transmitting the soft data information from the system cache to the first internal cache based on a data transmission control module.
6. The error correction decoded data generation method of claim 2, wherein said memory controller further comprises a protocol interface control module and a processor, said method further comprising, prior to reading memory data from a flash memory granule to said first internal cache based on said flash bus timing module:
receiving an operation instruction sent by an external host terminal based on the protocol interface control module and analyzing the operation instruction to obtain operation analysis information;
the operation analysis information is transferred to the system cache;
and reading and executing operation analysis information in the system cache based on the processor.
7. The method for generating error correction decoded data as claimed in claim 6, wherein said method further comprises, after said error correction decoded data is read from said second internal buffer to said system buffer based on said data transmission control module:
and reading the error correction decoding data from the system cache based on the processor, and performing decoding operation according to the error correction decoding data.
8. An apparatus for generating error correction decoded data, the apparatus being applied to a memory controller, the memory controller including 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 apparatus comprising:
the first processing module is used for reading storage data from the flash memory particles to the first internal cache based on the flash memory bus time sequence module;
the second processing module is used for carrying out type analysis on the stored data to obtain data type information;
the third processing module 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 decoded data when the data type information characterizes the stored data as soft data information;
and the fourth processing module is used for reading the stored data from the first internal cache based on the data transmission control module to the system cache under the condition that the data type information characterizes the stored data as original data information, performing operation processing on the stored data in the system cache to obtain the 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 decoded data.
9. An electronic device, comprising:
memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the error correction decoding data generation method according to any one of claims 1 to 7 when the computer program is executed.
10. A computer-readable storage medium storing computer-executable instructions which, when executed by a control processor, implement the error correction decoding data generation method of any one of claims 1 to 7.
CN202310622518.8A 2023-05-29 2023-05-29 Error correction decoding data generation method and device, electronic equipment and readable storage medium Pending CN116701047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310622518.8A CN116701047A (en) 2023-05-29 2023-05-29 Error correction decoding data generation method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310622518.8A CN116701047A (en) 2023-05-29 2023-05-29 Error correction decoding data generation method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN116701047A true CN116701047A (en) 2023-09-05

Family

ID=87827012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310622518.8A Pending CN116701047A (en) 2023-05-29 2023-05-29 Error correction decoding data generation method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN116701047A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112599169A (en) * 2020-12-30 2021-04-02 联芸科技(杭州)有限公司 Read operation control method and device of memory and memory controller
CN112596674A (en) * 2020-12-21 2021-04-02 成都储迅科技有限责任公司 Method and system for double protection of main control cache data of solid state disk
CN113793635A (en) * 2021-11-08 2021-12-14 阿里云计算有限公司 Storage device and storage apparatus
CN114328284A (en) * 2021-12-30 2022-04-12 武汉喻芯半导体有限公司 Storage master control architecture and flash memory particle control method
CN115793978A (en) * 2022-12-07 2023-03-14 深圳大普微电子科技有限公司 Solid state disk data reading method, solid state disk controller and solid state disk
CN115827308A (en) * 2022-11-04 2023-03-21 浙江华忆芯科技有限公司 Solid state disk data error correction method and solid state disk

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596674A (en) * 2020-12-21 2021-04-02 成都储迅科技有限责任公司 Method and system for double protection of main control cache data of solid state disk
CN112599169A (en) * 2020-12-30 2021-04-02 联芸科技(杭州)有限公司 Read operation control method and device of memory and memory controller
CN113793635A (en) * 2021-11-08 2021-12-14 阿里云计算有限公司 Storage device and storage apparatus
CN114328284A (en) * 2021-12-30 2022-04-12 武汉喻芯半导体有限公司 Storage master control architecture and flash memory particle control method
CN115827308A (en) * 2022-11-04 2023-03-21 浙江华忆芯科技有限公司 Solid state disk data error correction method and solid state disk
CN115793978A (en) * 2022-12-07 2023-03-14 深圳大普微电子科技有限公司 Solid state disk data reading method, solid state disk controller and solid state disk

Similar Documents

Publication Publication Date Title
CN108170369B (en) Host device and data transmission rate control method
CN108989432B (en) User-mode file sending method, user-mode file receiving method and user-mode file receiving and sending device
JP4452690B2 (en) Electronic device, control method thereof, host device and control method thereof
JP5076488B2 (en) Information processing apparatus, history management method, history management program
CN108170370B (en) Data storage device and data transmission rate control method
CN111083410B (en) Audio and video stream processing method and device for DVR
US8832407B2 (en) Communication device with storage function
US8291301B2 (en) Data transfer method capable of saving memory for storing packet in USB protocol and apparatus thereof
US7571374B2 (en) Method for transmitting and processing command and data
US20100107016A1 (en) System and method for preventing errors ina storage medium
CN111510706B (en) Hardware encoding and decoding support degree detection method, terminal and storage medium
CN101510175B (en) Method for updating target data to memory and apparatus thereof
US7822040B2 (en) Method for increasing network transmission efficiency by increasing a data updating rate of a memory
CN116701047A (en) Error correction decoding data generation method and device, electronic equipment and readable storage medium
CN108287793B (en) Response message buffering method and server
CN103095510B (en) Multifunction vehicle bus analytical equipment
WO2012131531A1 (en) Memory card having extended data storage functionality
US6401146B1 (en) Device and method for controlling PCI ethernet
US9183209B2 (en) Communication device with fast start mode for transfering data to temporary areas beyond file system control
CN112506684A (en) Method, system and storage medium for quickly transmitting big data across processes
CN116662233B (en) Write transmission method and device of AHB interface equipment, electronic equipment and readable storage medium
CN117349213B (en) AXI transmission device capable of autonomously retransmitting write command and write data and working method
CN114817100B (en) Data reading method and device for single board
CN117312201B (en) Data transmission method and device, accelerator equipment, host and storage medium
CN114827242B (en) Method, device, equipment and medium for correcting flow control frame

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination