Data compression method and device
A data compression and data technology, applied in the field of data processing, can solve problems such as disk space occupation and disk space waste, and achieve the effects of improving performance, reducing disk fragments, and improving pre-reading accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] Embodiment one: a kind of data compression device of the present invention such as figure 1 Shown, comprise data writing module 12, data reading module 14, data compression module 16, parameter setting module 11, judging module 15, information sending module 13 and data writing disk module 17; Described parameter setting module 11 is sequential With data writing module 12 , information sending module 13 , data reading module 14 , judgment module 15 , data compression module 16 and data writing module 17 to disk.
[0040] The parameter setting module 11 is used to pre-set the value of the time window and the fixed capacity; the data writing module 12 is used to write the data into the compressed cache; the information sending module 13 is used to return the success of writing data to the host; the data reading module 14 It is used for the compression engine to read data from the compression cache in a fixed-capacity mode or the compression engine reads data from the comp...
Embodiment 2
[0041] Embodiment two: a method of data compression of the present invention such as figure 2 shown, including the following steps:
[0042] Step S201, setting the values of the time window and the fixed capacity in the system file in advance.
[0043] Step S202, writing the data into the compressed cache.
[0044] Step S203, returning data writing success to the host, realizing online real-time data compression.
[0045] Step S204, the compression engine reads data from the compressed cache in a fixed-capacity manner according to the time window; the data in the same time window has a high degree of correlation, and the time window is used to improve the pre-reading accuracy of the compressed data degree, thereby improving the performance of the system. Data in the same time window is recorded through metadata, which shortens the time for the compression engine to read data from the compression cache.
[0046] Step S205, judging whether the capacity of the data reaches...
Embodiment 3
[0058] Embodiment 3: Another data compression device of the present invention such as Figure 4 As shown, it includes a data writing module 41 , a data reading module 42 and a data compression module 43 , and the data reading module 42 is connected to the data writing module 41 and the data compression module 43 respectively.
[0059] The data writing module 41 is used for writing data into the compression cache; the data reading module 42 is used for the compression engine to read data from the compression cache in a fixed capacity mode; the data compression module 43 is used for the compression engine to read the above-mentioned data to compress.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com