Method for storing data and storage device
A technology for storing data and storage devices, which is applied in the electronic field, can solve the problems of occupation, storage devices are not safe, stable, and cannot obtain error correction codes in time, and achieve the effect of reducing the probability of errors
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] The embodiment of the present invention provides a method for storing data, such as figure 2 As shown, the method includes:
[0028] Step 1: Obtain the data and the error correction code (ECC) of the data;
[0029] Wherein, the data obtained in step 1 may be received data sent by other devices and needs to be stored, and the error correction code of the data obtained in step 1 may be the error correction code of the data calculated according to a specific algorithm. For the specific operation of the error correction code, reference may be made to the prior art.
[0030] Step 2: Store the data and the error correction code of the data in different pages of the flash memory through the data channel connected to the flash memory.
[0031] Wherein, it should be noted that, when the storage device reads data and writes data, it operates in units of pages (Page). In step 2, the data is stored in one or more than one page, and the error correction code of the data is also ...
Embodiment 2
[0034] The embodiment of the present invention provides a method for storing data, which is similar to the method provided in Embodiment 1, including: storing the error correction code of the data separately in the unit of Page, and the Page for storing the error correction code of the data is not Store data, and at the same time, the Page that stores the data does not store the error correction code of the data; however, the embodiment of the present invention provides a more specific method for storing data and the error correction code of the data, which is convenient to use fewer steps and more quickly Get all the error correction codes of the data, so as to get the correct storage data.
[0035] like image 3 As shown, the method includes:
[0036] Step A1: the same as Step 1 in Embodiment 1, that is, to obtain the data and the error correction code (ECC) of the data;
[0037] Step A2: through the data channel connected to the flash memory, store the data and the error ...
Embodiment 3
[0050] The embodiment of the present invention provides a method for storing data. The embodiment of the present invention provides a method for storing data. This method is similar to the method provided in Embodiment 1, including: the error correction code of the data is separately represented by Page Store as a unit, the Page that stores the data error correction code does not store data, and at the same time, the Page that stores data does not store the error correction code of the data; however, the embodiment of the present invention provides another more specific storage data and the data error correction The code method is convenient to obtain all the error correction codes of the data more quickly through fewer steps, so as to obtain the correct storage data.
[0051] like Figure 5 As shown, the method includes:
[0052] Step B1: the same as Step 1 in Embodiment 1, that is, to obtain the data and the error correction code (ECC) of the data;
[0053] Step B2: Store ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com