CN109634529A - A kind of data compression method and decompressing method - Google Patents

A kind of data compression method and decompressing method Download PDF

Info

Publication number
CN109634529A
CN109634529A CN201811520507.4A CN201811520507A CN109634529A CN 109634529 A CN109634529 A CN 109634529A CN 201811520507 A CN201811520507 A CN 201811520507A CN 109634529 A CN109634529 A CN 109634529A
Authority
CN
China
Prior art keywords
data
default
compression
compressed
destination packed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811520507.4A
Other languages
Chinese (zh)
Inventor
亓国强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201811520507.4A priority Critical patent/CN109634529A/en
Publication of CN109634529A publication Critical patent/CN109634529A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0617Improving the reliability of storage systems in relation to availability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0667Virtualisation aspects at data level, e.g. file, record or object virtualisation
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction

Abstract

This application discloses a kind of data compression methods, comprising: obtains target original data;Using default compression algorithm, target original data compression is generated into destination packed data;Compress informational data is generated, compress informational data includes the information data of default compression algorithm;According to default encapsulation standard, compress informational data and destination packed data encapsulation are generated into compressed data packets, generate target original data to decompress destination packed data according to compress informational data when reading compressed data packets.The application utilizes the compress informational data that can determine used default compression algorithm when target original data are compressed, compressed data caused by solving the problems, such as because of system upgrade etc. can not normally be read, the normal use of storage system is ensured, applicability and compatibility are effectively improved, and effectively increases user experience.Disclosed herein as well is a kind of data compression device, equipment and a kind of data decompression method, apparatus and equipment, equally have above-mentioned beneficial effect.

Description

A kind of data compression method and decompressing method
Technical field
This application involves technical field of memory, in particular to a kind of data compression method, device and equipment further relate to one kind Data decompression method, apparatus and equipment.
Background technique
With the fast development and extensive use of big data and virtualization technology, set in this current mass data and storage In the standby epoch to increase severely, storage application system is ever-changing, and even updates constantly carrying out system upgrade.However, Since different storage systems default the compression algorithm used it can also happen that change, after system upgrade, it is likely that The case where will appear the data that storage is compressed before can not reading system upgrade, this seriously affects the normal use of storage system And reduce user experience.In consideration of it, the scheme for providing a kind of solution above-mentioned technical problem is that those skilled in the art are needed Concern.
Summary of the invention
A kind of be designed to provide data compression method, device and equipment, the another object of the application of the application is A kind of data decompression method, apparatus and equipment are provided, to effectively improve applicability and compatibility, solution is led because of system upgrade The problem of compressed data of cause can not normally be read ensures the normal use of storage system.
In order to solve the above technical problems, in a first aspect, this application discloses a kind of data compression methods, comprising:
Obtain target original data;
Using default compression algorithm, the target original data compression is generated into destination packed data;
Compress informational data is generated, the compress informational data includes the information data of the default compression algorithm;
According to default encapsulation standard, the compress informational data and destination packed data encapsulation are generated into compressed data Packet, described in decompressing destination packed data generation according to the compress informational data when reading the compressed data packets Target original data.
Optionally, it is described by the target original data compression generation destination packed data include: utilize hardware-compressed card will The target original data compression generates the destination packed data;
The compress informational data further includes the edition data of the driving of the hardware-compressed card.
Optionally, described that the compress informational data and destination packed data encapsulation are generated into compressed data packets packet It includes:
The compressed data packets are encapsulated as using the compress informational data as header data and the destination packed data.
Second aspect, disclosed herein as well is a kind of data decompression methods, comprising:
Obtain the compressed data packets for generating compress informational data and destination packed data according to default encapsulation standard packaging; The destination packed data is generated by target original data through default compression algorithm compression, and the compress informational data includes described pre- If the information data of compression algorithm;
The compress informational data and the destination packed data are obtained according to the default encapsulation standard;
The default compression algorithm is determined according to the compress informational data;
Destination packed data decompression is generated into the target original data according to the default compression algorithm.
Optionally, the compress informational data further includes the edition data of the driving of hardware-compressed card;
It is described determine according to the compress informational data the default compression algorithm after, further includes:
Obtain the edition data of the driving of the hardware-compressed card;
The driving of the hardware-compressed card corresponding with the edition data is downloaded and installs, to utilize the hardware pressure Destination packed data decompression is generated the target original data according to the default compression algorithm by contracting card.
Optionally, described to include: according to the default encapsulation standard acquisition compress informational data
According to the default encapsulation standard, the compression information being located in the packet header section of the compressed data packets is obtained Data.
The third aspect, disclosed herein as well is a kind of data compression devices, comprising:
Former data acquisition module, for obtaining target original data;
Compression module, for using default compression algorithm, the target original data compression to be generated destination packed data;
Logging modle, for generating compress informational data, the compress informational data includes the default compression algorithm Information data;
Package module, for according to default encapsulation standard, the compress informational data and the destination packed data to be sealed Dress generates compressed data packets, to decompress the target pressure according to the compress informational data when decompressing the compressed data packets Contracting data generate the target original data.
Fourth aspect, disclosed herein as well is a kind of data decompressors, comprising:
Compressed package obtains module, seals compress informational data and destination packed data according to default encapsulation standard for obtaining Fill the compressed data packets generated;The destination packed data is generated by target original data through default compression algorithm compression, the pressure Contracting information data includes the information data of the default compression algorithm;
Module is unsealed, for obtaining the compress informational data and the targeted compression number according to the default encapsulation standard According to;
Determining module, for determining the default compression algorithm according to the compress informational data;
Decompression module, it is former for destination packed data decompression to be generated the target according to the default compression algorithm Data.
5th aspect, disclosed herein as well is a kind of data compression devices, comprising:
Memory, for storing computer program;
Processor realizes the step of any data compression method as described above for executing the computer program Suddenly.
6th aspect, disclosed herein as well is a kind of data decompression equipment, comprising:
Memory, for storing computer program;
Processor realizes the step of any data decompression method as described above for executing the computer program Suddenly.
Data compression method provided herein includes: to obtain target original data;It, will be described using default compression algorithm Target original data compression generates destination packed data;Compress informational data is generated, the compress informational data includes described default The information data of compression algorithm;According to default encapsulation standard, the compress informational data and the destination packed data are encapsulated Compressed data packets are generated, to decompress the targeted compression according to the compress informational data when reading the compressed data packets Data generate the target original data.As it can be seen that present invention take advantage of that can be used for determining that target original data are compressed to targeted compression It has been together constituted with compressed data packets progress with destination packed data by the compress informational data of default compression algorithm when data Storage, so that being even if the compression algorithm of storage system default is changed in subsequent reading compressed data packets System still can determine default compression algorithm corresponding with the destination packed data according to compress informational data, thus success Decompression obtains target original data, and compressed data caused by solving the problems, such as because of system upgrade etc. can not normally be read, and ensures The normal use of storage system effectively improves applicability and compatibility, and effectively increases user experience.The application is mentioned Data compression device, equipment and the data decompression method, apparatus and equipment of confession equally have above-mentioned beneficial effect.
Detailed description of the invention
In order to illustrate more clearly of the technical solution in the prior art and the embodiment of the present application, below will to the prior art and Attached drawing to be used is needed to make brief introduction in the embodiment of the present application description.Certainly, in relation to the attached drawing of the embodiment of the present application below A part of the embodiment in only the application of description is not paying creativeness to those skilled in the art Under the premise of labour, other attached drawings can also be obtained according to the attached drawing of offer, other accompanying drawings obtained also belong to the application Protection scope.
Fig. 1 is a kind of flow chart of data compression method provided herein;
Fig. 2 is a kind of flow chart of data decompression method provided herein;
Fig. 3 is a kind of structural block diagram of data compression device provided herein;
Fig. 4 is a kind of structural block diagram of data decompressor provided herein.
Specific embodiment
The core of the application is to provide a kind of data compression method, device and equipment, another core of the application and is A kind of data decompression method, apparatus and equipment are provided, to effectively improve applicability and compatibility, solution is led because of system upgrade The problem of compressed data of cause can not normally be read ensures the normal use of storage system.
In order to which technical solutions in the embodiments of the present application is more clearly and completely described, below in conjunction with this Shen Please attached drawing in embodiment, technical solutions in the embodiments of the present application is introduced.Obviously, described embodiment is only Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
The embodiment of the present application discloses a kind of data compression method, and shown referring to Fig.1, this method mainly includes following step It is rapid:
S11: target original data are obtained.
S12: using default compression algorithm, target original data compression is generated into destination packed data.
S13: generating compress informational data, and compress informational data includes the information data of default compression algorithm.
S14: according to default encapsulation standard, generating compressed data packets for compress informational data and destination packed data encapsulation, Target original data are generated to decompress destination packed data according to compress informational data when reading compressed data packets.
Specifically, due in the prior art carry out compression storage when, only by the target after target original data compression Compressed data is stored, and does not record compression algorithm specifically used in compression process, therefore, once when storage system System upgrading or other reasons and after having replaced compression algorithm, system, which will be unable to successfully decompress out, uses initial compression algorithm pressure Contract the data generated, causes compressed data of the user before system upgrade can not be used, seriously affects storage system Service operation and user experience.
Based on this, in data compression method provided herein, using current default compression algorithm that target is former After data compression generates destination packed data, the information data of compression algorithm will further can be also preset about this as pressure Contracting information data equally stores.The information data of described default compression algorithm is for determining the default compression algorithm, tool Body may include identifier number (those skilled in the art can designed, designed) and related algorithm parameter of the default compression algorithm etc..Together When, for the ease of identification, compress informational data itself is not necessarily to be compressed.
In addition, destination packed data and its compress informational data can be specifically described preset according to certain encapsulation standard Encapsulation standard and form a compressed data packets to be stored.It is easily understood that default encapsulation standard is for identification Which partial data is destination packed data in one compressed data packets and which partial data is compress informational data.
Wherein, as a preferred embodiment, described default encapsulation standard specifically can be with are as follows: makees compress informational data Compressed data packets are encapsulated as header data and destination packed data.
Specifically, those skilled in the art's general custom will control class or mark category information is placed in packet header, therefore preferably Ground, can be using compress informational data as header data.On this basis, the also settable verification data of packet tail, those skilled in the art Member can voluntarily select and realization is arranged, and the application is not limited thereto.
It, can be according to default encapsulation standard in compressed data packets as a result, when subsequent when reading the compressed data packets Destination packed data and compress informational data are recognized accurately respectively, and the targeted compression number is determined according to compress informational data According to corresponding default compression algorithm, and then destination packed data can be solved according to the default compression algorithm determined Pressure, to successfully obtain corresponding target original data.
Data compression method provided herein, by obtaining target original data;Using default compression algorithm, by target Former data compression generates destination packed data;Compress informational data is generated, compress informational data includes the letter of default compression algorithm Cease data;According to default encapsulation standard, compress informational data and destination packed data encapsulation are generated into compressed data packets, so as to Destination packed data is decompressed according to compress informational data when depressurizing compression data packet and generates target original data.As it can be seen that the application is sharp It, will with the compress informational data of default compression algorithm when can be used for determining that target original data are compressed to destination packed data It has together constituted with compressed data packets with destination packed data and has been stored, so that even if the compression of storage system default is calculated Method is changed in subsequent reading compressed data packets, and system still can be determined and is somebody's turn to do according to compress informational data The corresponding default compression algorithm of destination packed data solves so that successfully decompression obtains target original data because of system upgrade etc. The problem of caused compressed data can not normally be read has ensured the normal use of storage system, has effectively improved applicability And compatibility, and effectively increase user experience.
Data compression method provided herein, on the basis of the above, as a kind of preferred embodiment, by mesh Marking former data compression generation destination packed data includes:
Target original data compression is generated into destination packed data using hardware-compressed card;
The compress informational data further includes the edition data of the driving of hardware-compressed card.
Specifically, when being destination packed data by target original data compression, Software Compression and hardware pressure specifically can be used Contracting two ways.Wherein, tool of compression used in hardware-compressed mode is hardware-compressed card, it needs storage system to install Corresponding driving.Driving due to hardware-compressed card there is also there is the case where upgrading, in this embodiment, it is preferred that, also Also the edition data of the driving of hardware-compressed card can be regard as compress informational data, the information data one with default compression algorithm With storing, also to determine the driving of corresponding hardware-compressed card when reading compressed data packets, to successfully complete mesh The decompression for marking former data is read.
Also need supplement is, it is preferable that improves for the ease of follow-up function or the exploitation of other function, in addition to default pressure Other than the edition data of information data and hardware-compressed the card driving of compression algorithm, those skilled in the art can also be in compression information One reserved field is set in data, to cope with the demand for adding other data.
Data decompression method provided herein is introduced below.Referring to shown in Fig. 2, this method mainly include with Lower step:
S21: the compression number for generating compress informational data and destination packed data according to default encapsulation standard packaging is obtained According to packet;Destination packed data is generated by target original data through default compression algorithm compression, and compress informational data includes default compression The information data of algorithm.
S22: compress informational data and destination packed data are obtained according to default encapsulation standard.
S23: default compression algorithm is determined according to compress informational data.
S24: destination packed data is decompressed according to default compression algorithm and generates target original data.
The particular content of data decompression method provided herein can be corresponded to reference to previously described data compression method, Identical content just repeats no more here.
Data decompression method provided herein, by obtaining compress informational data and destination packed data according to pre- If encapsulating the compressed data packets that standard packaging generates;Wherein, destination packed data is by target original data through default compression algorithm pressure Contracting generates, and compress informational data includes the information data of default compression algorithm;Compression Information Number is obtained according to default encapsulation standard According to and destination packed data, and default compression algorithm is determined according to compress informational data;To according to default compression algorithm by mesh It marks compressed data decompression and generates target original data.As it can be seen that present invention take advantage of that can be used for determining that target original data are compressed to mesh Default compression algorithm when marking compressed data simultaneously together constitutes with compressed data packets with destination packed data and the compression that is stored Information data, so that being even if the compression algorithm of storage system default is changed in subsequent reading compressed data packets System still can determine default compression algorithm corresponding with the destination packed data according to compress informational data, thus success Decompression obtains target original data, and compressed data caused by solving the problems, such as because of system upgrade etc. can not normally be read, and ensures The normal use of storage system effectively improves applicability and compatibility, and effectively increases user experience.
A kind of data decompression method provided herein, on the basis of the above, as preferred embodiment, compression Information data further includes the edition data of the driving of hardware-compressed card;
After determining default compression algorithm according to compress informational data, further includes:
Obtain the edition data of the driving of hardware-compressed card;
The driving of hardware-compressed card corresponding with edition data is downloaded and installs, to utilize hardware-compressed card, according to pre- If destination packed data is decompressed and generates target original data by compression algorithm.
Data decompression method provided herein, on the basis of the above, as a kind of preferred embodiment, according to Default encapsulation standard obtains compress informational data
According to default encapsulation standard, the compress informational data being located in the packet header section of compressed data packets is obtained.
Data compression device provided herein is introduced below.
Referring to Fig. 3, Fig. 3 is a kind of structural block diagram of data compression device provided herein, comprising:
Former data acquisition module 31, for obtaining target original data;
Compression module 32, for using default compression algorithm, target original data compression to be generated destination packed data;
Logging modle 33, for generating compress informational data, compress informational data includes the Information Number of default compression algorithm According to;
Package module 34, for according to default encapsulation standard, compress informational data and destination packed data encapsulation to be generated Compressed data packets generate target original number to decompress destination packed data according to compress informational data in depressurizing compression data packet According to.
As it can be seen that data compression device provided herein, is utilized and can be used for determining that target original data are compressed to mesh The compress informational data of default compression algorithm when mark compressed data, has together constituted with compressed data with destination packed data for it Packet is stored, so that even if the compression algorithm of storage system default is become in subsequent reading compressed data packets More, system still can determine default compression algorithm corresponding with the destination packed data according to compress informational data, from And successfully decompress and obtain target original data, compressed data caused by solving the problems, such as because of system upgrade etc. can not normally be read, The normal use for having ensured storage system effectively improves applicability and compatibility, and effectively increases user experience.
On the basis of above content, as a kind of preferred embodiment, in data compression device provided herein, compression Module 32 is specifically used for: target original data compression being generated destination packed data using hardware-compressed card;Compress informational data is also The edition data of driving including hardware-compressed card.
On the basis of above content, as a kind of preferred embodiment, in data compression device provided herein, encapsulation Module 34 is specifically used for: being encapsulated as compressed data packets for compress informational data as header data and destination packed data.
Data decompressor provided herein is introduced below.
Referring to Fig. 4, Fig. 4 is a kind of structural block diagram of data decompressor provided herein, comprising:
Compressed package obtains module 41, for obtaining compress informational data and destination packed data according to default encapsulation standard Encapsulate the compressed data packets generated;Destination packed data is generated by target original data through default compression algorithm compression, compresses information Data include the information data of default compression algorithm;
Module 42 is unsealed, for obtaining compress informational data and destination packed data according to default encapsulation standard;
Determining module 43, for determining default compression algorithm according to compress informational data;
Decompression module 44 generates target original data for decompressing destination packed data according to default compression algorithm.
As it can be seen that data decompressor provided herein, is utilized and can be used for determining that target original data are compressed to mesh Default compression algorithm when marking compressed data simultaneously together constitutes with compressed data packets with destination packed data and the compression that is stored Information data, so that being even if the compression algorithm of storage system default is changed in subsequent reading compressed data packets System still can determine default compression algorithm corresponding with the destination packed data according to compress informational data, thus success Decompression obtains target original data, and compressed data caused by solving the problems, such as because of system upgrade etc. can not normally be read, and ensures The normal use of storage system effectively improves applicability and compatibility, and effectively increases user experience.
On the basis of above content, as a kind of preferred embodiment, in data decompressor provided herein, compression Information data further includes the edition data of the driving of hardware-compressed card;Decompression module 44 is specifically used for: obtaining hardware-compressed card The edition data of driving;Download and install the driving of hardware-compressed card corresponding with edition data;Using hardware-compressed card, according to Default compression algorithm, which decompresses destination packed data, generates target original data.
On the basis of above content, as a kind of preferred embodiment, in data decompressor provided herein, deblocking Module 42 is specifically used for: according to default encapsulation standard, obtaining the compress informational data being located in the packet header section of compressed data packets.
Further, disclosed herein as well is a kind of data compression devices, comprising:
Memory, for storing computer program;
Processor realizes the step of any data compression method as described above for executing the computer program Suddenly.
Further, disclosed herein as well is a kind of data decompression equipment, comprising:
Memory, for storing computer program;
Processor realizes the step of any data decompression method as described above for executing the computer program Suddenly.
Each embodiment is described in a progressive manner in the application, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment, set For standby, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part Explanation.
It should be noted that in present specification, the relational terms of such as " first " and " second " etc are used merely to One entity or operation and another entity or operate is distinguished, without necessarily requiring or implying these entities or There are any actual relationship or orders between person's operation.In addition, the terms "include", "comprise" or its any other Variant is intended to non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only It including those elements, but also including other elements that are not explicitly listed, or further include for this process, method, object Product or the intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", It is not precluded in the process, method, article or apparatus that includes the element that there is also other identical elements.
Technical solution provided herein is described in detail above.Specific case used herein is to this Shen Principle and embodiment please is expounded, the present processes that the above embodiments are only used to help understand and its Core concept.It should be pointed out that for those skilled in the art, in the premise for not departing from the application principle Under, can also to the application, some improvement and modification can also be carried out, these improvement and modification are also fallen into the protection scope of the application.

Claims (10)

1. a kind of data compression method characterized by comprising
Obtain target original data;
Using default compression algorithm, the target original data compression is generated into destination packed data;
Compress informational data is generated, the compress informational data includes the information data of the default compression algorithm;
According to default encapsulation standard, the compress informational data and destination packed data encapsulation are generated into compressed data packets, The mesh is generated to decompress the destination packed data according to the compress informational data when reading the compressed data packets Mark former data.
2. data compression method according to claim 1, which is characterized in that
Described by target original data compression generation destination packed data includes: using hardware-compressed card by the target original number The destination packed data is generated according to compression;
The compress informational data further includes the edition data of the driving of the hardware-compressed card.
3. data compression method according to claim 1 or 2, which is characterized in that described by the compress informational data Encapsulating generation compressed data packets with the destination packed data includes:
The compressed data packets are encapsulated as using the compress informational data as header data and the destination packed data.
4. a kind of data decompression method characterized by comprising
Obtain the compressed data packets for generating compress informational data and destination packed data according to default encapsulation standard packaging;It is described Destination packed data is generated by target original data through default compression algorithm compression, and the compress informational data includes the default pressure The information data of compression algorithm;
The compress informational data and the destination packed data are obtained according to the default encapsulation standard;
The default compression algorithm is determined according to the compress informational data;
Destination packed data decompression is generated into the target original data according to the default compression algorithm.
5. data decompression method according to claim 4, which is characterized in that the compress informational data further includes hardware pressure The edition data of the driving of contracting card;
It is described determine according to the compress informational data the default compression algorithm after, further includes:
Obtain the edition data of the driving of the hardware-compressed card;
The driving of the hardware-compressed card corresponding with the edition data is downloaded and installs, to utilize the hardware-compressed Destination packed data decompression is generated the target original data according to the default compression algorithm by card.
6. according to data decompression method described in claim 4 or 5, which is characterized in that described to be marked according to the default encapsulation Standard obtains the compress informational data
According to the default encapsulation standard, the compression Information Number being located in the packet header section of the compressed data packets is obtained According to.
7. a kind of data compression device characterized by comprising
Former data acquisition module, for obtaining target original data;
Compression module, for using default compression algorithm, the target original data compression to be generated destination packed data;
Logging modle, for generating compress informational data, the compress informational data includes the information of the default compression algorithm Data;
Package module, for according to default encapsulation standard, the compress informational data and destination packed data encapsulation to be given birth to At compressed data packets, to decompress the targeted compression number according to the compress informational data when decompressing the compressed data packets According to the generation target original data.
8. a kind of data decompressor characterized by comprising
Compressed package obtains module, for obtaining that compress informational data and destination packed data is raw according to default encapsulation standard packaging At compressed data packets;The destination packed data is generated by target original data through default compression algorithm compression, the compression letter Breath data include the information data of the default compression algorithm;
Module is unsealed, for obtaining the compress informational data and the destination packed data according to the default encapsulation standard;
Determining module, for determining the default compression algorithm according to the compress informational data;
Decompression module, for destination packed data decompression to be generated the target original number according to the default compression algorithm According to.
9. a kind of data compression device characterized by comprising
Memory, for storing computer program;
Processor, for executing the computer program to realize data compression method as described in any one of claims 1 to 3 The step of.
10. a kind of data decompression equipment characterized by comprising
Memory, for storing computer program;
Processor, for executing the computer program to realize such as the described in any item data decompression methods of claim 4 to 6 The step of.
CN201811520507.4A 2018-12-12 2018-12-12 A kind of data compression method and decompressing method Pending CN109634529A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811520507.4A CN109634529A (en) 2018-12-12 2018-12-12 A kind of data compression method and decompressing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811520507.4A CN109634529A (en) 2018-12-12 2018-12-12 A kind of data compression method and decompressing method

Publications (1)

Publication Number Publication Date
CN109634529A true CN109634529A (en) 2019-04-16

Family

ID=66073310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811520507.4A Pending CN109634529A (en) 2018-12-12 2018-12-12 A kind of data compression method and decompressing method

Country Status (1)

Country Link
CN (1) CN109634529A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835686A (en) * 2019-04-19 2020-10-27 百度在线网络技术(北京)有限公司 Data compression method, data decompression method, data compression device, data decompression device, electronic equipment and storage medium
WO2021104478A1 (en) * 2019-11-29 2021-06-03 阿里巴巴集团控股有限公司 Query operation instruction optimization method and apparatus, electronic device and storage medium
CN113704206A (en) * 2021-10-29 2021-11-26 苏州浪潮智能科技有限公司 Metadata processing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101326492A (en) * 2005-10-06 2008-12-17 雷德本德有限公司 Methods and systems for updating content including a compressed version
CN101841337A (en) * 2010-05-06 2010-09-22 华为终端有限公司 Data compression and decompression processing method and mobile storage device
CN106936441A (en) * 2017-02-27 2017-07-07 深圳国泰安教育技术股份有限公司 A kind of data compression method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101326492A (en) * 2005-10-06 2008-12-17 雷德本德有限公司 Methods and systems for updating content including a compressed version
CN101841337A (en) * 2010-05-06 2010-09-22 华为终端有限公司 Data compression and decompression processing method and mobile storage device
CN106936441A (en) * 2017-02-27 2017-07-07 深圳国泰安教育技术股份有限公司 A kind of data compression method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835686A (en) * 2019-04-19 2020-10-27 百度在线网络技术(北京)有限公司 Data compression method, data decompression method, data compression device, data decompression device, electronic equipment and storage medium
WO2021104478A1 (en) * 2019-11-29 2021-06-03 阿里巴巴集团控股有限公司 Query operation instruction optimization method and apparatus, electronic device and storage medium
CN113704206A (en) * 2021-10-29 2021-11-26 苏州浪潮智能科技有限公司 Metadata processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109634529A (en) A kind of data compression method and decompressing method
CN104714819B (en) File system upgrade package production method, upgrade method and device, terminal
WO2016082547A1 (en) Upgrade file manufacturing method and apparatus and upgrade file acquiring method and apparatus
CN108650287B (en) Upgrading method and device for terminal device in Internet of things and computer readable medium
CN106293793A (en) The method for upgrading software of a kind of terminal, device and system
CN106502715A (en) A kind of application program collocation method and device by all kinds of means
JP2019510315A (en) Application updating method and apparatus for mobile terminal
CN103177077B (en) The storage of a kind of APK file and output intent
CN106155734B (en) Method and device for downloading software version
CN106843962A (en) One kind application packaging method and device
CN104199951A (en) Webpage processing method and webpage processing device
CN105446975A (en) File packing method and device
CN108008971A (en) A kind of offline compressed package based on HTML5 downloads the method for realizing mobile APP module upgrades
CN108279941A (en) A kind of compression method and device of application program
CN103761095B (en) Method for generating universal upgrade file head data information
CN106980502A (en) A kind of online method for obtaining BIOS/firmware renewal
CN101826997A (en) Communication method of newly accessed intelligent equipment, device and monitoring system
CN106843850B (en) Method and device for transferring Native objects between read Native components
CN101976211B (en) Method, device and system for replacing function in CAP file
CN108170461A (en) Difference upgrade package generation method, difference upgrade method and device
CN105740298A (en) File processing method and apparatus, and server-side equipment
CN112286565B (en) Embedded system differential upgrading method based on storage container
CN108108173A (en) A kind of information processing method and device
CN113704002A (en) RPC component realization method based on private protocol and RPC component
CN106897052A (en) APK file compression method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190416

RJ01 Rejection of invention patent application after publication