Data compression method and device based on big data and medium
A data compression and big data technology, applied in the field of data processing, can solve the problems of occupying a large storage space, short collection interval, huge amount of index data, etc., and achieve the effect of reducing the waste of storage space
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] Figure 1e This is a flowchart of a data compression method based on big data provided in the first embodiment of the present invention. The embodiment of the present invention is applicable to the case of compressing and storing index data. The method can be executed by the data compression device based on big data provided by the embodiment of the present invention. The device can be implemented by software and / or hardware. Can be integrated in computer equipment. Such as Figure 1e As shown, the method of the embodiment of the present invention specifically includes:
[0056] Step 101: When a big data compression request is detected, obtain historical index data to be compressed corresponding to the big data decision request.
[0057] The historical indicator data to be compressed includes multiple indicator data sets in units of days. The indicator data set includes all indicator data collected on a corresponding date. The indicator data in the indicator data set are ar...
Embodiment 2
[0103] figure 2 This is a flowchart of a data compression method based on big data provided in the second embodiment of the present invention. The embodiment of the present invention can be combined with each of the optional solutions in one or more of the above embodiments. In the embodiment of the present invention, according to multiple index data sets in units of days and preset data slice range size parameters, Obtaining the mode corresponding to the subscript of each data shard can include: randomly obtaining a set number of indicator data sets among multiple indicator data sets with a unit of day as the mode election sample; in the mode election sample For each indicator data set of, the indicator data in the indicator data set is sliced according to the preset data slice range size parameter, and the indicator data in the indicator data set is divided into multiple indicator data slices, and in chronological order, Determine the data segment index corresponding to ea...
Embodiment 3
[0122] image 3 This is a schematic structural diagram of a data compression device based on big data provided in the third embodiment of the present invention. The device can be implemented in software and / or hardware, and can generally be integrated in computer equipment. Such as image 3 As shown, the device includes: a data acquisition module 301, a data fragmentation module 302, and a data compression module 303.
[0123] Among them, the data acquisition module 301 is used to acquire the historical index data to be compressed corresponding to the big data decision request when a big data compression request is detected. The historical index data to be compressed includes multiple index data sets in units of days. The data set includes all the indicator data collected on the corresponding date. The indicator data in the indicator data set are arranged in chronological order; the data slicing module 302 is used for multiple indicator data sets with a unit of day and preset dat...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


