Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2015-12-23
ZHONGSHAN JIANGBOLONG ELECTRONICS CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0018] The purpose of the embodiments of the present invention is to provide a compression management method for a paging storage device, so as to solve the problem that the existing compression management method requires too much computing overhead or too high storage space requirements, the compression effect cannot be guaranteed, and the compression result is not easy to use Problems of memory device management where page is the smallest memory unit

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
  • Compression management method and device for paging memory device
  • Compression management method and device for paging memory device
  • Compression management method and device for paging memory device

Examples

Experimental program
Comparison scheme
Effect test

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

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 invention is suitable for the technical field of memory devices and provides a compression managing method and a compression managing device of a paging memory device. The compression managing method comprises the steps of using a page as a unit to build a dictionary, wherein page data, feature codes corresponding to the page data and physical page addresses written by the page data are recorded in the dictionary; obtaining a write command including to-be-written page data and logic page addresses written by the to-be-written page data; obtaining feature codes of the to-be-written page data and judging whether feature codes same as the obtained feature codes exist in the dictionary or not; carrying out the write command and writing the write command into the to-be-written page data according to the logic page addresses written by the to-be-written page data if the feature codes same as the obtained feature codes do not exist in the physical blocks; and carrying out no write command and pointing the logic page addresses written by the to-be-written page data to physical page addresses written by the page data with same feature codes of the to-be-written page data if the feature codes same as the obtained feature codes exist in the physical blocks. By means of the compression managing method and the compression managing device of the paging memory device, the management problem of the memory device using a page as a smallest memory device is solved.

Description

technical field [0001] The invention belongs to the technical field of memory, and in particular relates to a compression management method and device for a paging memory device. Background technique [0002] The current common data compression methods include lossless data compression and lossy data compression, such as compression technology based on statistical model and compression technology based on dictionary model are lossless data compression technology; multimedia data compression includes audio compression, image compression, video compression, etc. Most of them are lossy data compression techniques; for storage devices, lossless data compression methods must be used. [0003] Existing lossless data compression methods include: [0004] One, the dictionary type data compression method, as shown in table 1: [0005] Index String 1 prince 2 love 3 Princess 4 Forever [0006] Table 1 [0007] For exa...

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 Patents(China)
IPC IPC(8): G06F12/02G06F11/10
Inventor 郭丹梁小庆
Owner ZHONGSHAN JIANGBOLONG ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products