METHOD, APPARATUS AND COMPUTER PROGRAM PRODUCT FOR COMPARING FILES
First Claim
Patent Images
1. A method of file comparison, comprising:
- in response to receiving a request to compare a first segment of a first file with a second segment of a second file, determining a first set of data blocks of the first file associated with the first segment and a set second of data blocks of the second file associated with the second segment;
obtaining a first mapping information for the first set of data blocks and a second mapping information for the second set of data blocks, the first mapping information and the second mapping information being generated based on the first set of data blocks and the second set of data blocks, respectively; and
determining a difference between the first segment and the second segment using the first mapping information and the second mapping information.
7 Assignments
0 Petitions
Accused Products
Abstract
The present disclosure provides a method, a device, and a computer program product for file comparison. In one embodiment, the method includes determining a set of data blocks of the first file associated with the first segment and a set of data blocks of the second file associated with the second segment, obtaining a first mapping information for data blocks in the set of data blocks of the first file and a second mapping information for data blocks in the set of data blocks of the second file, and determining a difference between the first segment and the second segment based on the first mapping information and the second mapping information.
-
Citations
20 Claims
-
1. A method of file comparison, comprising:
-
in response to receiving a request to compare a first segment of a first file with a second segment of a second file, determining a first set of data blocks of the first file associated with the first segment and a set second of data blocks of the second file associated with the second segment; obtaining a first mapping information for the first set of data blocks and a second mapping information for the second set of data blocks, the first mapping information and the second mapping information being generated based on the first set of data blocks and the second set of data blocks, respectively; and determining a difference between the first segment and the second segment using the first mapping information and the second mapping information. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A device for file comparison, comprising:
-
a processor; and a memory coupled to the processor and having instructions stored therein, the instructions, when executed by the processor, causing the device to a method, the method comprising; in response to receiving a request to compare a first segment of a first file with a second segment of a second file, determining a first set of data blocks of the first file associated with the first segment and a set second of data blocks of the second file associated with the second segment; obtaining a first mapping information for the first set of data blocks and a second mapping information for data blocks in the second set of data blocks, the first mapping information and the second mapping information being generated based on the first set of data blocks and the second set of data blocks, respectively; and determining a difference between the first segment and the second segment using the first mapping information and the second mapping information. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product being tangibly stored on a computer-readable medium and comprising machine-executable instructions, the machine-executable instructions, when executed, causing a machine to perform a method, the method comprising:
-
in response to receiving a request to compare a first segment of a first file with a second segment of a second file, determining a first set of data blocks of the first file associated with the first segment and a set second of data blocks of the second file associated with the second segment; obtaining a first mapping information for the first set of data blocks and a second mapping information for the second set of data blocks, the first mapping information and the second mapping information being generated based on the first set of data blocks and the second set of data blocks, respectively; and determining a difference between the first segment and the second segment using the first mapping information and the second mapping information. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification