Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

File local modification method and system

A file and partial technology, applied in the computer field, can solve problems such as not supporting partial modification of files, and achieve the effect of improving convenience

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

AI Technical Summary

Problems solved by technology

[0004] However, since many Internet services only require storage services, and do not require users to return to a certain local location of a file to modify partial information during the storage process, the partial modification function of files is not required in many Internet services. As a result, many distributed file systems on the market do not support the local modification function of files.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] 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.

[0047]The embodiment of the present invention discloses a method and system for partially modifying a file. Based on the offset position of the file, the position of the part of the file to be modified in the stripe ID sequence is determined, a new stripe is obtained, and the state of the new stripe is marked as being in progress. Use state, copy the content of the original strip to the new strip, and store the new strip in the preset position of the file at th...

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 file local modification method and system. The file local modification method includes: determining the local position of the to-be-modified file in the strip ID sequence based on the file offset position; obtaining a new strip and marking the state of the new strip as a using state; copying the content of the original strip into a new strip; storing the new strip in a preset position of the file; setting the replacement index as a serial number of the original stripe in the stripe ID sequence; and writing the target text content in an internal offset position, corresponding to the position of the to-be-modified file in the strip ID sequence, of the new strip, and after the target text content is filled in, replacing the corresponding original strip in the strip ID sequence with the written new strip of the target text content to complete local modification of the file. According to the method and the device, the function of locally modifying the file is realized, and after the file is locally modified and updated, the required file content can be served from the modified file without changing any condition, so that the convenience of file operation is greatly improved.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, to a method and system for partially modifying files. Background technique [0002] Distributed File System (Distributed File System) means that the physical storage resources managed by the file system are not necessarily directly connected to the local node, but are connected to the node through a computer network. The design of the distributed file system is based on the client / server model. [0003] In some file applications of the distributed file system, after the file is stored, it is necessary to modify the part of the file, mainly the front part of the file. For example, in the distributed file system, a program is being recorded, and the program will be converted into MP4 format for storage during the recording process. Since it is unknown when the program is recorded and the file size of the recorded program is unknown, the During the program recordin...

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/13G06F16/11
Inventor 徐佳宏李银刘彬李威青
Owner SHENZHEN IPANEL TECH LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products