The present application discloses a
data compression and fusion method, device and medium for
digital earth space, and relates to the field of
digital earth space technology. The method includes: extracting features, classifying and encoding bit vectors stored in the cloud to obtain an index
directory set; reading each data unit in a multi-source heterogeneous
data stream, and searching for the longest matching string in the index
directory set; when the longest matching string is found, outputting the code in the index
directory set to obtain a compressed code
stream; reading the code
stream, and searching for corresponding geospatial data, meteorological data and interaction records in the index directory set; according to the
timestamp, fusing the geospatial data, meteorological data and interaction records to obtain multi-source fused data. The present application realizes the construction and use of the index directory set simultaneously during compression and decompression through the above method, without the need to know all
data patterns in advance, and effectively reducing the storage space occupied in the
system.