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

Pending Publication Date: 2021-12-07
BEIJING JINGDONG QIANSHITECHNOLOGY CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] At present, the management of physical blocks of NandFlash is mostly realized through multiple tables. Each table not only stores physical block information, but also stores other related information. When the storage capacity of physical blocks increases, not only the number of tables increases, but also the The related content of storage has also increased, such as error checking and correction (Error Correcting Code, ECC), etc., which occupy a large amount of memory resources. For example, managing 1MBytes of NandFlash requires 4KBytes of memory. At this time, there will be relatively small control over memory device, unable to effectively manage NandFlash, that is, there is a technical problem that it is inconvenient to manage physical blocks

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data processing method and device, electronic equipment and storage medium
  • Data processing method and device, electronic equipment and storage medium
  • Data processing method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a data processing method and device, electronic equipment and a storage medium, and the method comprises the steps: determining a to-be-written physical block address matched with a data request identifier from a pre-established data storage lookup table according to the data request identifier in a received data writing request; if data is written into a physical block to be written corresponding to the to-be-written physical block address, determining target data, and determining a target physical block for storing the target data from a pre-established idle lookup table; writing the target data into the target physical block, and updating the data storage lookup table and the idle lookup table according to the to-be-written physical address and the target physical address of the target physical block, so as to determine the physical block for storing the target data according to the updated data storage lookup table and idle lookup table after a data writing request is received. Through the technical scheme of the embodiment of the invention, the technical effects of saving the storage memory and improving the physical block management efficiency are realized.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular, to a data processing method, device, electronic equipment, and storage medium. Background technique [0002] NandFlash greatly reduces the cost per bit of flash memory by reducing the process size and adopting multi-level technology. [0003] But NandFlash also brings other problems at the same time, mainly manifested in the degradation of device performance, such as the decrease of access speed, the increase of bit error rate, the decrease of durability and the deterioration of retention characteristics. Wherein, endurance refers to the maximum programming and erasing times (P / E Cycles) that a memory cell can withstand. The reason why there is a maximum number of times of erasing and writing is that the programming and erasing operations of flash memory are carried out through the electron tunneling mechanism, and a large number of tunneling will c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/06G06F12/1009
CPCG06F12/0653G06F12/1009
Inventor 杜新杰
Owner BEIJING JINGDONG QIANSHITECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products