Data processing method and device, electronic equipment and storage medium
A data storage and data processing technology, applied in the computer field, can solve the problems of increasing the number, inconvenient management of physical blocks, occupying memory resources, etc., and achieve the effect of improving the utilization rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] figure 1 It is a schematic flow chart of a data processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of allocating and managing physical blocks in a storage unit. The method can be executed by a data processing device, and the device It can be implemented in the form of software and / or hardware, and the hardware can be electronic equipment and the like.
[0033] Such as figure 1 As shown, the method of this embodiment specifically includes the following steps:
[0034] S110. According to the data request identifier in the received data write request, determine the address of the physical block to be written that matches the data request identifier from the pre-established data storage lookup table.
[0035] Wherein, the data writing request may be an instruction or code for writing data, etc., and is used to instruct writing data on a storage medium (such as a NandFlash chip). The data request identifier ...
Embodiment 2
[0046] figure 2 It is a schematic flow chart of a data processing method provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, the specific method of determining the physical block and the update method of the data storage lookup table and the idle lookup table in this embodiment can be Refer to the technical solution of this embodiment. Wherein, explanations of terms that are the same as or corresponding to the above embodiments are not repeated here.
[0047] Such as figure 2 As shown, the method of this embodiment specifically includes the following steps:
[0048] S210. According to the logical address to be written in the data request identifier, determine a physical block address to be written corresponding to the logical address to be written from a pre-established data storage lookup table.
[0049] Wherein, the logical address to be written may be a logical address corresponding to the data request identifier, and is ...
Embodiment 3
[0075] image 3 It is a schematic flowchart of a data processing method provided by Embodiment 3 of the present invention. On the basis of the above-mentioned embodiments, this embodiment can refer to the technical solution of this embodiment for the establishment of the data storage lookup table and the free lookup table. . Wherein, explanations of terms that are the same as or corresponding to the above embodiments are not repeated here.
[0076] Such as image 3 As shown, the method of this embodiment specifically includes the following steps:
[0077] S310. Establish a data storage lookup table and an idle lookup table.
[0078]Specifically, when the storage medium is used for the first time, a data storage lookup table and an idle lookup table may be configured for it. It is also possible to detect the physical blocks in the storage medium, and determine the non-bad blocks detected at this time as the physical blocks to be recorded. The preset usage capacity in the s...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap