IP Library Granted Patent US 9,507,794
Granted Patent B2
US 9,507,794 · App. 14/282,340 · Granted Nov 29, 2016

Method and apparatus for distributed processing of file

Inventor: Kang-Ho Kim (Daejeon, KR)
Assignee: ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE
G06F17/30165G06F17/30115G06F17/30194
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,507,794
App. No.
14/282,340
Granted
Nov 29, 2016
Kind
B2
Abstract

A method and apparatus for the distributed processing of a file are disclosed. The apparatus includes a shared data block selection unit, a modified data block selection unit, a first file distributed-processing unit, and a second file distributed-processing unit. The shared data block selection unit selects at least one first data block to remain without change after distributed processing of a file. The modified data block selection unit selects at least one second data block to be modified after the distributed processing of a file. The first file distributed-processing unit allows an inode after the distributed processing of a file to point to the first data blocks so that the first data block is shared before and after the distributed processing of a file. The second file distributed-processing unit allows the inode after the distributed processing of a file to point to at least one third data block.

Claims (20)

1. A computer-implemented method for distributed processing of a file stored in a memory space, comprising:

selecting at least one first data block stored in the memory space to remain without change after distributed processing of a file;

selecting at least one second data block stored in the memory space to be modified after the distributed processing of a file;

pointing, by an inode after the distributed processing of a file, to the first data block so that the first data block is shared before and after the distributed processing of a file; and

pointing, by the inode after the distributed processing of a file, to at least one third data block stored in the memory space and modified from the second data block,

wherein the distributed processing of a file corresponds to any one of file segmentation, file merging, and addition into a front of a file, and

wherein if the distributed processing of a file corresponds to the addition into the front of a file, the second data block is a first data block of a file before the distributed processing of a file and there is an empty space corresponding to a size of new data to be added to the second data block, the third data block corresponds to a data block that is obtained by moving existing data of the second data block backward and copying the new data in front of the existing data.

2. The method of claim 1 , wherein if the distributed processing of a file corresponds to the file segmentation, the third data block corresponds to two data blocks copied from two block fragments of the second data block that has been internally fragmented after the file segmentation.

3. The method of claim 1 , wherein if the distributed processing of a file corresponds to the file merging and a sum of sizes of data fragments of the internally fragmented second data block is equal to or smaller than a size of one first data block, the at least third data block is one in number.

4. The method of claim 1 , wherein if the distributed processing of a file corresponds to the addition into the front of a file, the second data block is a first data block of a file before the distributed processing of a file and there is no empty space corresponding to a size of new data to be added to the second data block, the third data block becomes the index block, and an inode of the index block sequentially points to a data block including the new data and the first data block.

5. A computer system for distributed processing of a file stored in a memory space, having a processor, comprising:

a shared data block selection unit configured to select at least one first data block stored in the memory space to remain without change after distributed processing of a file;

a modified data block selection unit configured to select at least one second data block stored in the memory space to be modified after the distributed processing of a file;

a first file distributed-processing unit configured to allow an inode after the distributed processing of a file to point to the first data blocks so that the first data block is shared before and after the distributed processing of a file; and

a second file distributed-processing unit configured to allow the inode after the distributed processing of a file to point to at least one third data block stored in the memory space and modified from the second data block,

wherein the distributed processing of a file corresponds to any one of file segmentation, file merging, and addition into a front of a file, and

wherein if the distributed processing of a file corresponds to the addition into the front of a file, the second data block is a first data block of a file before the distributed processing of a file and there is an empty space corresponding to a size of new data to be added to the second data block, the third data block corresponds to a data block that is obtained by moving existing data of the second data block backward and copying the new data in front of the existing data.

6. The apparatus of claim 5 , wherein if the distributed processing of a file corresponds to the file segmentation, the third data block corresponds to two data blocks copied from two block fragments of the second data block that has been internally fragmented after the file segmentation.

7. The apparatus of 5 , wherein if the distributed processing of a file is the file merging and a sum of sizes of data fragments of the internally fragmented second data block is equal to or smaller than a size of one first data block, the at least third data block is one in number.

8. The apparatus of claim 5 , wherein if the distributed processing of a file corresponds to the addition into the front of a file, the second data block is a first data block of a file before the distributed processing of a file and there is no empty space corresponding to a size of new data to be added to the second data block, the third data block becomes the index block, and an mode of the index block sequentially points to a data block including the new data and the first data block.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 20, 2014
From: KIM, KANG-HO
To: ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE
Reel/Frame 032946/0879 →
Priority Claims (1)
KR 10-2013-0058231 · May 23, 2013 · national
Continuity (1)
Related Publication 20140351298A1 · Nov 27, 2014