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

A method, device and computer equipment for data storage

A data storage and data technology, applied in the input/output process of data processing, calculation, electrical digital data processing, etc., can solve the problems of low compression rate and large storage space

Active Publication Date: 2022-02-22
WUHAN DOUYU NETWORK TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the problems existing in the prior art, the embodiment of the present invention provides a method, device and computer equipment for data storage, which are used to solve the problem of low compression rate in the prior art when compressing the performance sampling data, resulting in occupied storage space. Large technical issues

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, device and computer equipment for data storage
  • A method, device and computer equipment for data storage
  • A method, device and computer equipment for data storage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] This embodiment provides a method for data storage, which is applied in a live broadcast platform, such as figure 1 As shown, the method includes:

[0045] S110. Acquire multiple copies of performance sampling data, where the performance sampling data includes: multiple method names and corresponding operating data;

[0046] In this step, the performance sampling data needs to be obtained, and the performance sampling data includes multiple copies, and each of the performance sampling data includes multiple method names and corresponding operation data. For example, the user name needs to be obtained, so the corresponding method name is username or userID; the running data includes the running time, running times, running memory and CPU usage of each method name, etc.

[0047] S111, encoding each method name in each piece of performance data as a different basic element to generate a plurality of non-shared encoding tables;

[0048] Here, each method name in each piec...

Embodiment 2

[0074] Corresponding to Embodiment 1, this embodiment also provides a device for data storage, such as figure 2 As shown, the device includes: an acquisition unit 21, an encoding unit 22, a search unit 23, a first compression unit 24, a generation unit 25, a second compression unit 26, and a storage unit 27; wherein,

[0075] The acquiring unit 21 is configured to acquire performance sampling data, the performance sampling data includes multiple pieces, and each piece of performance sampling data includes multiple method names and corresponding operation data. For example, the user name needs to be obtained, so the corresponding method name is username or userID; the running data includes the running time, running times, running memory and CPU usage of each method name, etc.

[0076] Here, the encoding unit 22 may perform character string encoding for each method name in each piece of performance sampling data as different basic elements to generate multiple non-shared encodi...

Embodiment 3

[0098] This embodiment also provides a computer device for data storage, such as image 3 As shown, the computer device includes: a radio frequency (Radio Frequency, RF) circuit 310, a memory 320, an input unit 330, a display unit 340, an audio circuit 350, a WiFi module 360, a processor 370, and a power supply 380 and other components. Those skilled in the art can understand that, image 3 The structure of the computer device shown in the computer device does not constitute a limitation to the computer device, and may include more or less components than those shown in the illustration, or combine some components, or arrange different components.

[0099] Combine below image 3 A detailed introduction to each component of computer equipment:

[0100] The RF circuit 310 can be used for receiving and sending signals, especially, after receiving the downlink information of the base station, the processor 370 processes it. Generally, the RF circuit 310 includes, but is not lim...

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

Embodiments of the present invention provide a method, device, and computer equipment for data storage, which are applied to a live broadcast platform. The method includes: acquiring multiple pieces of performance sampling data, and the performance sampling data includes: various method names and Corresponding operating data; each method name in each of the performance data is encoded as a different basic element to generate a plurality of non-shared coding tables; based on multiple non-shared coding tables, each method is searched for The method name after encoding; compress the non-shared coding table and each method name after encoding respectively, and obtain each method name after compression; compress each method name after compression respectively The name and the operation data corresponding to each method name are serialized to generate a string sequence; the string sequence is compressed twice to obtain a compression result, and the compression result is stored in the database.

Description

technical field [0001] The invention belongs to the technical field of network operation, and in particular relates to a method, device and computer equipment for data storage. Background technique [0002] After performance sampling using xhprof, the sampling data needs to be stored in the database for retrieval and analysis. [0003] The performance sampling data is a large array. The common processing method is to use the conventional compression algorithm to compress and then store it. The main defect of this method is that the content to be compressed is encoded by a single character, resulting in a low compression rate. Contents of the invention [0004] Aiming at the problems existing in the prior art, the embodiment of the present invention provides a method, device and computer equipment for data storage, which are used to solve the problem of low compression rate in the prior art when compressing the performance sampling data, resulting in occupied storage space....

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): H03M7/30G06F3/06
CPCH03M7/30G06F3/0608
Inventor 胡耀文张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD