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

File operation method and device, storage medium and electronic equipment

A file operation and file technology, applied in the computer field, can solve the problems of multiple duplicate files, waste of disk space, etc.

Pending Publication Date: 2021-03-05
北京五一视界数字孪生科技股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In related technologies, since multiple file systems store and operate data independently, as the number of processed data files increases, more duplicate files will appear, wasting disk space

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 operation method and device, storage medium and electronic equipment
  • File operation method and device, storage medium and electronic equipment
  • File operation method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0088] Example 1: In the case that all files are stored in the root directory of the local disk, the types of access nodes contained in the generated file index tree can only be root nodes and leaf nodes, the root node maps to the root directory, and the leaf nodes map to files .

example 2

[0089] Example 2: The file index tree can also contain root nodes, child nodes and leaf nodes, for example, in image 3 In the file index tree shown, the root node can be mapped to the root directory C disk, child node A can be mapped to the folder PATH1 of the C disk under the root directory, and the leaf node E1 under the child node A can be mapped to the file under the file PATH1 E0.

example 3

[0090] Example 3: When the root node has no mapping relationship, the second-level nodes below the root node can be mapped to multiple root directories, for example, in image 3 In the file index tree shown, the root node may not be mapped to any file or folder. In the second-level nodes under the root node, access node A can be mapped to C drive, access node B can be mapped to a memory file, and access node C can be mapped to a certain file or folder in the network storage space, and access node D can be mapped to a certain folder on the C drive.

[0091] According to whether there are duplicate files in the file before pooling, the above methods of generating access nodes include the following two methods:

[0092] For duplicate files before pooling, only one file is stored in the above pooling process, but multiple leaf nodes need to be generated. Example: There are two identical duplicate files E0 and E0-1 in the file before pooling, and only file E0 is stored in the pool...

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 relates to a file operation method and device, a storage medium and electronic equipment. The method comprises the steps: obtaining an operation request of a target file system for a target access node, and judging whether an adapter type of the target access node can execute the operation request or not; when the adapter type of the target access node can execute the operation request, specifying a corresponding adapter to execute the operation request; and when the adapter type of the target access node cannot execute the operation request, inheriting an adapter capable of executing the operation request from the father node of the target access node, and executing the operation request. Thus, multiple target file systems can operate the target files or folders through thetarget access node of a file index tree and map the target files or folders to the same file through different nodes of the file index tree, so that repeated files are avoided, and disk space is saved.

Description

technical field [0001] The present disclosure relates to the technical field of computers, and in particular, to a file operation method, device, storage medium and electronic equipment. Background technique [0002] With the rapid development of information technology, people need to process files in multiple file systems, such as local mirror file systems and network file systems. In related technologies, since multiple file systems store and operate data independently, as the number of processed data files increases, more duplicate files will appear, wasting disk space. Contents of the invention [0003] In order to achieve the above purpose, the present disclosure provides a file operation method, device, storage medium and electronic equipment. [0004] In a first aspect, the present disclosure provides a file operation method, including: [0005] Obtain an operation request from the target file system to the target access node; [0006] Judging whether the adapter...

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
IPC IPC(8): G06F16/16G06F16/13
CPCG06F16/16G06F16/162G06F16/13
Inventor 王顺吉
Owner 北京五一视界数字孪生科技股份有限公司
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