File partial modification method and system

A technology for files and partial content, applied in the field of partial modification methods and systems of files, can solve the problems of inability to modify files, increase storage management costs, increase storage system management overhead, etc.

Pending Publication Date: 2020-07-03
SHENZHEN IPANEL TECH LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a method and system for partially modifying a file to solve the problem that the file cannot be modified if the local storage system cannot store the very large file when the target file is very large. Moreover, first store the target file in the local storage system, then modify it, and finally upload the file to the distributed storage system, which wastes system resources, increases the storage management cost of the application, and also increases the management overhead of the storage system.

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
  • File partial modification method and system
  • File partial modification method and system
  • File partial modification method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052]The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0053] The invention discloses a method for partially modifying a file. The modification method is applied in the process of partially modifying the contents of a file in a file system. The modification method is executed by a processor or a controller in the file system. In the embodiment, the file replacement process of the distributed file system is taken as an example for illustration. The distributed file system may include: an information management module...

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

The invention discloses a method for partially modifying a file. The method comprises the steps of obtaining first content data corresponding to first part content data of a target file, copying all file content data in a first target stripe containing the first part of content data into an alternative stripe, replacing the first part of content data in the alternative strip with the first contentdata; selecting a target alternative stripe from the alternative stripes, encoding file content data in the target alternative stripe when a preset encoding condition is met to obtain second contentdata, and writing the second content data into an encoded data block of the target alternative stripe; and when writing is completed, replacing the first target strip with the target alternative stripto complete modification of the first part of content data in the target file. The modification method can be completed only in a file system, and has no requirement for the size of the target file.

Description

technical field [0001] The invention relates to the technical field of file processing, in particular to a method and system for partially modifying files. Background technique [0002] In the distributed file system, when the target file in the system needs to be modified, the target file is first stored in the local storage system, and after the storage is completed, the target file is partially modified, and uploaded to the distributed file after the modification is completed. In the traditional storage system, the above-mentioned file modification process is first processed in the local storage system, and then uploaded to the distributed storage system after processing. Two file systems need to be used to modify the target file. [0003] When the target file is very large, if the local storage system cannot store this very large file, then there will be a situation where the file cannot be modified, and the target file is first stored in the local storage system, then m...

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(China)
IPC IPC(8): G06F16/16G06F16/182
Inventor 徐佳宏李银刘彬李威青
Owner SHENZHEN IPANEL TECH LTD
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