Block-based differencing algorithm

a block-based and differencing technology, applied in the field of data compression and archiving, file differencing, and patching, can solve the problems of small output and less than optimal size reduction achieved this way, and achieve the effect of optimizing performance and avoiding performance penalties

Active Publication Date: 2011-08-18
SMITH MICRO SOFTWARE INC
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

[0028]It is another object of the present invention to provide a method to avoid sub-optimal patch block sizes to avoid a performance penalty during compression of patch data.
[0029]It is another principal object of the present invention to provide a new and improved method of differencing and ordering patch blocks to optimize performance when only in-place patching can be performed.

Problems solved by technology

However, this can be problematic when memory available during patch application is limited.
Some situations (mobile and other low-end devices using flash memory) require patching to be performed in place because there is not enough memory for both the source and the target files.
Additionally, prior art differencing algorithms typically contain a built-in logic that results in smaller output.
However, size reduction achieved this way is less than optimal.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Block-based differencing algorithm
  • Block-based differencing algorithm
  • Block-based differencing algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042]Referring to FIGS. 1 through 9, there is illustrated therein a new and improved method for perform a differencing algorithm over blocks of a target file.

[0043]Definitions: As used herein, the term “file” means a named set of data element stored in machine readable form, which may exist in several forms, including in a discrete form, or combined or stored with other files, or embedded in another file as a file or as an object, or as a file containing other files, or as a data stream of a determinate size, including information transmitted over a data channel.

[0044]Referring first to FIG. 1, during the encoding process, the first step 100 is to determine patch block size, followed by block size equalization 110. Blocks are then ordered in step 120 with the goal of minimizing the sum of the sizes of all blocks. The algorithm then enters the iterative stage wherein one patch block in generated at a time 130, in the order determined in step 120. Each block generation is followed by...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A system and method for a block based differencing algorithm which includes the ability to limit memory requirements regardless of source file sizes by splitting the source file into optimally sized blocks. The invention allows the blocks to be processed in any order allowing in-place operation. Further, the present invention allows a second stage compressor to match the compressor blocks to those used by the differencing algorithm to optimize compressor and decompressor performance.

Description

CROSS REFERENCES TO RELATED APPLICATIONS[0001]Not applicable. The present application is an original and first-filed United States Utility Patent Application.STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT[0002]Not applicable.THE NAMES OR PARTIES TO A JOINT RESEARCH AGREEMENT[0003]Not applicable.INCORPORATION-BY-REFERENCE OF MATERIAL SUBMITTED ON A COMPACT DISC[0004]Not applicable.BACKGROUND OF THE INVENTION[0005]1. Field of the Invention[0006]The present invention relates generally to data compression and archiving, file differencing, and patching. More particularly the present invention relates to a system and method for improved differencing on very large files. Still more particularly, the present invention relates to a method to perform the differencing algorithm over blocks of the target file, generating patch blocks in the process.[0007]2. Discussion of Related Art Including Information Disclosed Under 37 CFR §§1.97, 1.98[0008]Current differencing technology, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(United States)
IPC IPC(8): G06F7/00G06F17/00
CPCG06F8/68G06F8/658
Inventor VOLKOFF, SERGEARMOUR, MARKLOVATO, DARRYL
Owner SMITH MICRO SOFTWARE INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products