Server and data compression method of server

A technology for compressing data and servers, applied in the storage field, can solve the problem of low data compression rate and achieve the effect of improving the compression rate

Active Publication Date: 2017-09-15
HUAWEI TECH CO LTD
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a server and a method for compressing data by the server, in order to solve the problem in the prior art that the compression rate of the data in the server compressed data block is relatively low

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
  • Server and data compression method of server
  • Server and data compression method of server
  • Server and data compression method of server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0028] The embodiment of the present invention provides a method for server to compress data, such as figure 1 As shown, the method includes:

[0029] S101. The server parses the information block in the data block, and acquires the file type of the data block and the sub-data blocks included in the data block.

[0030] It is worth noting that the information block of the data block can be the block header (Block Header) of the data block, which is used to describe the attributes of the data in the data block, and the attributes of the data include the file type of the data stored in the data block and The location of the different regions in the data block. Specifically, a specific byte is included in the information block to indicate the file type of the data stored in the data block, and the data b...

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

A server and a data compression method of a server relate to the field of storage and are used to solve the problem that the compression rate of data in a compression data block of a server is low. The method comprises: the server parses an information block in the data block and obtains the file type of the data in the data block and sub data blocks included in the data block; according to the file type, the characteristics of the data in the sub data block are determined; according to the characteristics, a target compression algorithm is selected for compressing the data in the data block; and the target compression algorithm is used to compress the data in the sub data block. Embodiments of the invention are used to compress data.

Description

technical field [0001] The invention relates to the field of storage, in particular to a server and a method for compressing data by the server. Background technique [0002] At present, in order to save storage space, existing servers generally support the compression of stored data. [0003] In the prior art, the server uses a preset compression algorithm to compress the data in the sub-data block. For example, the server uses a dictionary compression algorithm. In this case, the server scans the data in the data block byte by byte to obtain Identify consecutively repeated character strings in a data block, and compress the consecutively repeated character strings. [0004] It can be known from the above that the server can only use one compression algorithm to compress the data of a specific characteristic in the data block. Therefore, the compression rate of the data in the data block is relatively low in the prior art. Contents of the invention [0005] The object o...

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): G06F17/30G06F17/22
CPCG06F16/1744G06F40/146H04L69/04H03M7/607H04L65/40H03M7/30H03M7/6064H03M7/3059
Inventor 李夫路蔡恩挺林春恭
Owner HUAWEI TECH 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