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

Data compression method and device, compression server and storage medium

A data compression and server-side technology, applied in the field of data processing, can solve the problems of business data compression efficiency reduction, interaction delay, etc.

Inactive Publication Date: 2020-05-22
GUANGZHOU BAIGUOYUAN INFORMATION TECH CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the most common data compression algorithm is data compression based on the dictionary method. This dictionary compression algorithm can support the server to train the corresponding compression dictionary according to the attribute characteristics of business data in different scenarios, and then use the trained compression dictionary for different Compress the business data at any moment, but as the characteristics of the business data change at different times, the compression dictionary trained based on the business data in the historical stage will not match the attribute characteristics of the newly generated business data in the current stage. , so that the compression efficiency of business data decreases over time, resulting in the problem of interaction delay between the business data interaction between the client and the server as the interaction time goes by

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
  • Data compression method and device, compression server and storage medium
  • Data compression method and device, compression server and storage medium
  • Data compression method and device, compression server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] Figure 1A It is a flow chart of a data compression method provided by Embodiment 1 of the present invention. This embodiment is applicable to compressing business data in any business scenario. The data compression method provided in this embodiment can be executed by the data compression device provided in the embodiment of the present invention. The device can be implemented by software and / or hardware, and integrated in the compression server that executes the method. The compression The server may be a background server that participates in business data interaction.

[0033] Specifically, refer to Figure 1A , the method may include the following steps:

[0034] S110. Determine an adapted compression dictionary under the current service request in the dynamically updated compression dictionary set.

[0035] Specifically, when the client and the server interact with each other, in order to ensure the real-time response of the data, the server usually compresses th...

Embodiment 2

[0044] Figure 2A It is a flow chart of a data compression method provided by Embodiment 2 of the present invention, Figure 2B It is a schematic diagram of the principle of dynamically training the latest compression dictionary in the compression dictionary set in the method provided in the second embodiment of the present invention. This embodiment is optimized on the basis of the foregoing embodiments. Specifically, such as Figure 2A As shown, this embodiment explains in detail the specific process of dynamically training the latest compressed dictionary in the compressed dictionary set.

[0045] optional, such as Figure 2A As shown, the following steps may be included in this embodiment:

[0046] S210. Determine an adapted compression dictionary under the current service request in the dynamically updated compression dictionary set.

[0047] S220. Compress the service response data under the current service request by using the adaptive compression dictionary, and a...

Embodiment 3

[0058] Figure 3A It is a flow chart of a data compression method provided by Embodiment 3 of the present invention, Figure 3B It is a schematic diagram of the principle of the data compression process in the method provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the foregoing embodiments. Specifically, such as Figure 3B As shown, this embodiment explains in detail the other steps and processes existing in the data compression process.

[0059] optional, such as Figure 3A As shown, the following steps may be included in this embodiment:

[0060] S310. Determine an adapted compression dictionary under the current service request in the dynamically updated compression dictionary set.

[0061] S320. Determine service response data specified by the current service request.

[0062] Optionally, after determining the adapted compression dictionary, the server first needs to analyze the request information specified by the curr...

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 data compression method and device, a compression server and a storage medium. The method comprises the steps of determining an adaptive compression dictionary under a current service request in a dynamically updated compression dictionary set; and compressing the service response data under the current service request by adopting the adaptive compression dictionary, andadding the compressed service response data into a training sample library corresponding to the compression dictionary set so as to dynamically train the latest compression dictionary in the compression dictionary set. According to the technical scheme provided by the invention, the situation that the compression efficiency is too low when a fixed compression dictionary is adopted to compress theservice data with changed features is avoided; the highest compression matching performance of the latest compression dictionary and the current service data characteristics is guaranteed; the latestcompression dictionary is subsequently adopted as the adaptive dictionary characteristics for data compression; the situation that the data compression efficiency is continuously reduced along with time lapse is avoided; the adaptivity of the data compression is improved; and the consistency of the compression efficiency along with time lapse is kept.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of data processing, and in particular, to a data compression method, device, compression server, and storage medium. Background technique [0002] With the rapid development of Internet technology, the business data interaction between the client and the server in different business scenarios is becoming more and more extensive. At this time, in order to ensure the real-time interaction of business data, data compression is usually used to reduce the The amount of data interaction between the client and the server, thereby increasing the data transmission rate and reducing the delay of the client's business response to the server. [0003] At present, the most common data compression algorithm is data compression based on the dictionary method. This dictionary compression algorithm can support the server to train the corresponding compression dictionary according to the attribute ch...

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): H04L29/06
CPCH04L69/04
Inventor 林国锟欧润强郭海宇祝美祺
Owner GUANGZHOU BAIGUOYUAN INFORMATION TECH 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