基于多线程libdivsufsort和lzo的增量差分算法优化方法
By optimizing the differential file generation process using multi-threaded libdivsufsort and the lzo algorithm, the problems of low speed and space efficiency in existing technologies are solved, resulting in faster differential file generation and less memory usage.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANDONG COMP SCI CENTNAT SUPERCOMP CENT IN JINAN
- Filing Date
- 2023-06-30
- Publication Date
- 2026-07-17
AI Technical Summary
Existing bsdiff and bspatch algorithms are slow and space-inefficient when processing large files, have long differential file generation time, and consume a lot of memory resources.
An incremental differential algorithm based on multi-threaded libdivsufsort and lzo is adopted. The multi-threaded libdivsufsort algorithm is used to quickly calculate the LCP and LCS values, and a block sorting strategy is used in combination with the lzo algorithm for compression to generate differential files.
It improves the speed of differential file generation, reduces memory resource consumption, shortens compression time, and is suitable for resource-constrained application scenarios.
Smart Images

Figure CN116841599B_ABST