Method for finding the longest common subsequences between files with applications to differential compression
Abstract
A differential compression method and computer program product combines hash value techniques and suffix array techniques. The invention finds the best matches for every offset of the version file, with respect to a certain granularity and above a certain length threshold. The invention has two variations depending on block size choice. If the block size is kept fixed, the compression performance of the invention is similar to that of the greedy algorithm, without the expensive space and time requirements. If the block size is varied linearly with the reference file size, the invention can run in linear-time and constant-space. It has been shown empirically that the invention performs better than certain known differential compression algorithms in terms of compression and speed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 19.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for differential file compression, comprising: calculating hash values for blocks of at least one reference file and storing them in a hash value array; computing a suffix array on the block hash values; and processing at least one version file by staffing at zero offset and calculating hash values at every offset until all unique matches between the hash values of the at least one reference file and the hash values of the at least one version file are found, and returning the best match, further comprising the use of specific data structures to reduce the cost of searching the hash v
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 19 total)
References Cited — Backward Prior Art (25)
Non-Patent Literature (5)
- B. Bollobas et al., "Time-series similarity problems and well-separated geometric sets", Proc. of the 13th Annual Symposium on Comp. Geometry (SGC), 1997, pp. 454-457.
- C. Reichenberger, "Delta storgae for arbitrary non-text files", Proc. of the 3rd Int'l. Workshop on Software Configuration Management, Norway, Jun. 1991, ACM pp. 144-152.
- J. P. MacDonald, "Versioned file archiving, compression, and distribution", U.C. Berkeley, 1998.
- J. Ziv et al., "A universal algorithm for sequential data compression", IEEE Transactions on Information Theory, vol. 23, No. 3, May 1977, pp. 337-343.
- J.J. Hunt et al., "Delta algorithms: An empirical analysis", ACM Trans. on Software Eng. and Meth., vol. 7, No. 2, 1998, pp. 192-214.