Compression management method and device for paging memory device
A technology of paging storage and management method, applied in the field of memory, can solve the problems of inconvenient compression results, high computing overhead, and high storage space requirements, and achieve the effects of improving writing efficiency, reducing wear, and reducing the number of writes
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] figure 1 It shows the implementation flow of the paging storage device compression management method provided by Embodiment 1 of the present invention, and the method process is described in detail as follows:
[0035] In step S101, a page is used as a unit to establish a dictionary, and information such as page data, a feature code corresponding to the page data, and a physical page address in which the page data is written is recorded in the dictionary.
[0036] In this embodiment, the paged storage device is a storage device with a page as the smallest storage unit, that is, a storage device that is erased by block and read and written by page, such as a flash memory device. The page data is data stored in the page.
[0037] In step S102, a write command is acquired, and the write command includes information such as page data to be written and a logical page address to be written into the page data to be written.
[0038] In step S103, the feature code of the page...
Embodiment 2
[0065] figure 2 It shows the implementation flow of the paging storage device compression management method provided by Embodiment 2 of the present invention, and the method process is described in detail as follows:
[0066] In step S201, a static dictionary is established with a page as a unit, and the static dictionary records page data whose write times are greater than or equal to the first threshold and / or page data that the user cares about, the feature code corresponding to the page data, and Information such as the physical page address where the page data is written.
[0067] In this embodiment, the static dictionary is a dictionary that is fixed in the paging storage device and does not allow updating, and the static dictionary can be created according to the following conditions:
[0068] 1. According to the storage capacity of the paging storage device, set the dictionary size (storage capacity) that satisfies a certain percentage (such as 1%). For example, when...
Embodiment 3
[0086] image 3 It shows the implementation process of the paging storage device compression management method provided by Embodiment 3 of the present invention, and the method process is described in detail as follows:
[0087] In step S301, a dynamic dictionary is established with a page as a unit, and information such as page data, a feature code corresponding to the page data, and a physical page address where the page data is written is recorded in the dynamic dictionary.
[0088] In this embodiment, the dynamic dictionary is a dictionary that is allowed to be updated.
[0089] In step S302, a second threshold (for example, 10 times) is set, and the number of writing times of page data written into the paged storage device is counted.
[0090] In step S303, a write command is obtained, the write command includes the page data to be written and the logical page address in which the page data to be written is written.
[0091] In step S304, obtain the feature code of the ...
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