Patent ID: 9501225
Filing Date: 2016-11-22
CPC Classification: G06F

Claim Text:
1. A method performed by one or more processors configured with computer-executable instructions, the method comprising: searching, among one or more data blocks, for a garbage data block in an image file, the image file including the one or more data blocks and a block allocation table (BAT) that records information of each data block, the garbage data block not storing effective data, and the image file including a set of files into a single file according to a certain format; prior to searching for the garbage data block: revising a record of the garbage data block in the BAT; moving an effective data block from a position located subsequent to the garbage data block to a position of the garbage data block; revising a record of the effective data block in the BAT after the moving; and shrinking a size of the image file after the moving, wherein each of the one or more data blocks includes: