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

A hybrid system file data processing method and system

A file processing and hybrid system technology, applied in the information field, can solve problems such as increasing system complexity, increasing system overhead, and reducing operating efficiency

Active Publication Date: 2016-11-30
HUAWEI TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventor found that the existing methods in the prior art need to add a virtual file system between the client and the file system, which performs file scanning and conflict handling, which increases the complexity of the system and increases the reduces system overhead and reduces operational efficiency

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
  • A hybrid system file data processing method and system
  • A hybrid system file data processing method and system
  • A hybrid system file data processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0073] see figure 1 , is a schematic diagram of the first embodiment of the hybrid system file data processing method provided by the embodiment of the present invention. figure 1 The illustrated embodiment is applied in a hybrid system, and the hybrid system supports at least a first file protocol and a second file protocol, wherein the first file protocol is case-sensitive to file names, and the second file protocol is sensitive to file names The name is not case sensitive. Wherein, the first file protocol includes but is not limited to protocols sensitive to case of file names such as NFS, and the second file protocol includes but not limited to protocols insensitive to case of file names such as CIFS. The hybrid system may also support multiple protocols, for example three or more different protocols. The hybrid system may be a hybrid file system, or other types of systems, such as a network system that needs to provide both case-sensitive and case-insensitive operations...

Embodiment 2

[0095] see image 3 , is a schematic diagram of the second embodiment of the hybrid system file data processing method provided by the embodiment of the present invention.

[0096] On the basis of the first embodiment of the present invention, the method provided by the present invention further includes a process of adding file data in the second processing mode.

[0097] S301, when it is determined that the file processing mode is the second file processing mode, when it is determined that the first file name corresponding to the file to be added has no conflicting file name in the first file directory and the second file directory , saving the first file name in the first file directory and the second file directory respectively.

[0098] S302. When it is determined that the first file name corresponding to the file to be added has a conflicting file name in the first file directory or a conflicting file name in the second file directory, return a file name duplicate error...

Embodiment 3

[0104] see Figure 4 , is a schematic diagram of the third embodiment of the hybrid system file data processing method provided by the embodiment of the present invention.

[0105] The file adding method provided by the present invention will be described below in combination with a specific example. In this embodiment, the hybrid system is specifically a hybrid file system, the first file directory is specifically CSDIR, and the second file directory is specifically CIDIR, respectively corresponding to the case-sensitive first file protocol and the case-insensitive first file protocol. Two file agreement. When storing the mapping relationship between the original file name and the renamed file name, this embodiment uses CStable and Citable to store the mapping relationship. For details, see Table 4 and Table 5 in the first embodiment. Wherein, the first processing mode corresponds to the first protocol, which is also called sensitive mode; the second processing mode corresp...

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 present invention relates to the field of information technology, in particular to a hybrid system file data processing method and system, comprising: when a file addition request is received, determining a file processing mode; the file processing mode includes at least a first file protocol corresponding to A file processing mode and a second file processing mode corresponding to the second file protocol; when it is determined that the file processing mode is the first file processing mode, it is judged that the first file name corresponding to the file to be added is in the first file directory and the second Whether there is a conflicting file name in the file directory; when judging that the first file name corresponding to the file to be added does not have a conflicting file name in the first file directory and has a conflicting file name in the second file directory, the The first file name is saved in the file directory, the second file name obtained by converting the first file name is saved in the second file directory, and the first file name and the second file name are saved mapping relationship.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a hybrid system file data processing method and system. Background technique [0002] Most of the existing file systems support the NFS (Network File System, Network File System) protocol. Since the NFS protocol is sensitive to the case of file names, two file names that differ only in the case of characters can exist in the NFS protocol at the same time. Some file systems also support the CIFS (Common Internet File System, common network file system) protocol. The CIFS protocol is not sensitive to the case of file names. Two file names that differ only in the case of characters will be considered the same file name. Because the NFS protocol and the CIFS protocol differ in the case sensitivity of the file name, if the same file storage directory is shared by the NFS client and the CIFS client at the same time, files with different names on the NFS client will have different ...

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 Patents(China)
IPC IPC(8): G06F17/30
Inventor 郑永恒
Owner HUAWEI TECH CO 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