The invention discloses a
data compression and fusion method and device for a
digital earth space, and a medium, and relates to the technical field of
digital earth spaces. The method comprises the following steps: performing
feature extraction, classification and coding on bit vectors stored in a cloud to obtain an index
directory set; reading each data unit in the multi-source heterogeneous
data stream, and searching the longest matching character string in the index
directory set; under the condition that the longest matching character string is found, the codes in the index
directory set are output, and a compressed code
stream is obtained; reading the code
stream, and searching corresponding
geographic space data, meteorological data and interaction records in the index directory set; and according to the timestamps, fusing the
geographic space data, the meteorological data and the interaction records to obtain multi-source fusion data. By means of the method, the index directory set is constructed and used at the same time in the compression and decompression processes, all data
modes do not need to be known in advance, and occupied storage space in a
system is effectively reduced.