Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for obtaining compressed dictionary

A compressed dictionary and uncompressed technology, which is applied in the transmission system, code conversion, electrical components, etc., can solve the problems of user data compression processing, occupying large flow resources and bandwidth resources, etc.

Active Publication Date: 2020-12-04
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] It can be seen that when the client lacks a compression dictionary, some user data cannot be compressed. However, uploading uncompressed user data to the server will occupy a large amount of traffic resources and bandwidth resources

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
  • A method and device for obtaining compressed dictionary
  • A method and device for obtaining compressed dictionary
  • A method and device for obtaining compressed dictionary

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0108] 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.

[0109]In order to provide users with better services, Internet companies need to collect a large amount of user data to understand users' usage habits and preferences. Due to the large amount of user data, the client can use a compression dictionary to compress the user data and then upload it to the server. In practical applications, user data is usually stored in the form of key-value (key:value) pairs. In addition, the compression dictionary includes the correspondence between value and serial number.

[0110] Since the resource data of the client is large and constantly updated, in order to ensure the compression efficiency, it is necessary to add a new compression dictionary on the client and server in time. At present, the client and the server can acquire new compression dictionaries by upgradin...

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 embodiment of the invention provides a method and apparatus for obtaining a compression dictionary. The method for obtaining the compression dictionary is applied to a client. The method comprisesthe following steps: sending a data message to a server, wherein the data message comprises uncompressed user data and a request identifier for requesting a target compression dictionary corresponding to the uncompressed user data; and obtaining the target compressed dictionary sent by the server to perform compression processing on the uncompressed user data by using the target compression dictionary, wherein the target compression dictionary is established in the following manner: the server receives the data message sent by the client, judges whether the data message carries the request identifier, and if so, establishes the target compression dictionary and sends the target compression dictionary to the client. By application of the method and apparatus provided by the embodiment of the invention, the client can obtain the compression dictionary from the server.

Description

technical field [0001] The invention relates to the technical field of data compression, in particular to a method and device for obtaining a compression dictionary. Background technique [0002] In order to provide users with better services, Internet companies need to collect a large amount of user data to understand users' usage habits and preferences. Due to the large amount of user data, the client can use a compression dictionary to compress the user data and then upload it to the server. In practical applications, user data is usually stored in the form of key-value pairs (key:value). In addition, the compression dictionary includes the correspondence between value and serial number. [0003] Since the resource data of the client is large and constantly updated, in order to ensure the compression efficiency, it is necessary to add a new compression dictionary on the client and server in time. At present, the client and the server can acquire new compression dictiona...

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): H04L29/06H03M7/30
CPCH03M7/30H04L69/04
Inventor 刘天昊
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD