Mobile device memory compression method based on dictionary encoding and run-length encoding

A mobile device, run-length encoding technology, applied in the field of data processing, can solve the problems of low compression rate and the effect is not as good as LZO, etc., to achieve the effect of high compression rate and improved operation efficiency

Inactive Publication Date: 2013-08-21
XIDIAN UNIV +1
View PDF4 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the LZO method has the advantages of fast decompression, it is not completely suitable for the compression of memory data. When compressing long continuous identical strings, LZO needs more characters to record data, so the compression rate is not high.
[0005] RLE, also known as variable length encoding,

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
  • Mobile device memory compression method based on dictionary encoding and run-length encoding
  • Mobile device memory compression method based on dictionary encoding and run-length encoding
  • Mobile device memory compression method based on dictionary encoding and run-length encoding

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Attached below figure 1 The present invention is described in further detail:

[0021] Step 1: Read in the length of the memory data, open up a storage space according to the length of the memory data, read the memory data of the mobile device into the opened storage space, and then open up a storage space for the hash table.

[0022] Step 2: Take the four characters of the memory data for hash operation, take the data from the hash table and compare it with the new character according to the calculated hash value, if the same, it means that the data is in the hash table, not a new character , execute step three, if not the same, then count the new characters into the hash table, and execute step five;

[0023] Step 3: Record new characters.

[0024] refer to figure 2 , the specific implementation of this step is as follows:

[0025] (3a) Calculate the length of the new character, if the length of the new character is less than 3, record the length by the penultima...

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 discloses a mobile device memory compression method based on dictionary encoding and run-length encoding. The mobile device memory compression method based on the dictionary encoding and the run-length encoding mainly solves the problem that an existing dictionary encoding compression method and an existing run-length encoding compression method are low in compression ratio of memory data. The mobile device memory compression method based on the dictionary encoding and the run-length encoding mainly comprises the following steps of (1) reading in the memory data and the lengths of the storage data, (2) judging whether the memory data are compressible data, directly recording the lengths of the data and the data when the data are not compressible data, and using a run-length encoding compressed format to compress continuous identical character strings when the data are compressible data, (3) using a dictionary compressed format to compress other ordinary memory data, (4) judging whether compression is carried out on the tail of the memory data, stopping compressing when the compression is carried out on the tail of the memory data, and continuing reading in the memory data when the compression is not carried out on the tail of the memory data. Compared with existing other storage compression methods, the mobile device memory compression method based on the dictionary encoding and the run-length encoding is higher in compression ratio, thus more residual space can be released for an internal storage of a mobile device, operating efficiency of the mobile device can be improved, and the mobile device memory compression method based on the dictionary encoding and the run-length encoding can be used in mobile devices which need memory compression.

Description

technical field [0001] The invention belongs to the technical field of data processing and relates to a data compression device for device memory, which can be used in embedded mobile devices with limited memory. Background technique [0002] In recent years, with the development of the mobile Internet, mobile devices have increasingly become an indispensable daily necessities for people. Due to the limited memory of mobile devices, it is required to compress the memory data to save memory space. , improve the overall performance of the device. With the increasing amount of information in modern society, people have put forward higher requirements for the performance of computer systems, such as higher speed, lower energy consumption, smaller volume, more information can be accessed, and so on. In order to meet the various performance requirements above, various improved methods have been proposed. Among them, one of the cheaper improvement methods is data compression tech...

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
IPC IPC(8): G06F17/30H03M7/30
Inventor 宋彬陈浩宋秉玺童碧峰郭洁刘烨
Owner XIDIAN UNIV
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