Global file identification generation method, generation device and corresponding distributed file system

A distributed file and file identification technology, applied in database distribution/replication, special data processing applications, instruments, etc., can solve the problems of large capacity of global file identification, high cost of storage and transmission of global file identification, etc., to ensure unique identification performance, saving resources for storing and transferring data

Active Publication Date: 2014-05-07
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a global file identification generation method, generation device and corresponding distributed file system that can save the storage and data transmission resources of the metadata server, and can effectively ensure the uniqueness of the identification of each file; Solve the technical problem that the global file identification capacity of the existing distributed file system is too large, resulting in excessive storage and transmission costs for the global file identification

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
  • Global file identification generation method, generation device and corresponding distributed file system
  • Global file identification generation method, generation device and corresponding distributed file system
  • Global file identification generation method, generation device and corresponding distributed file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041]The following descriptions of the various embodiments refer to the accompanying drawings to illustrate specific embodiments in which the present invention can be practiced. The directional terms mentioned in the present invention, such as "up", "down", "front", "back", "left", "right", "inside", "outside", "side", etc., are for reference only The orientation of the attached schema. Therefore, the directional terms used are used to illustrate and understand the present invention, but not to limit the present invention.

[0042] In the figures, structurally similar units are denoted by the same reference numerals.

[0043] The present invention relates to a method for generating a global file identifier of a distributed file system, such as figure 1 as shown, figure 1 It is a flow chart of a preferred embodiment of the method for generating the global file identifier of the distributed file system of the present invention. The distributed file system includes at least ...

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 global file identification generation method. The global file identification generation method comprises steps of generating into a server number field of global file identifications according to the number of a constructed file in a metadata server when receives a file construction requirement; generating into a file sequence field according to construction numbers of the global file identifications in a main metadata server; enabling the construction numbers of the different global file identifications in the main metadata server to be different. The invention also relates to a global file identification generation device and a corresponding distributed file system. The global file identification generation method, the generation device and the corresponding distributed file system can save resource for storing and transmitting data of the metadata server and effectively guarantee uniqueness of the identification of every file.

Description

technical field [0001] The invention relates to the field of data storage, in particular to a method for generating a global file identifier of a distributed file system, a generating device and a corresponding distributed file system. Background technique [0002] At present, distributed file systems are widely used in the industry to store and read data. Generally, a distributed file system includes multiple metadata servers, and the metadata (ie, the file identifier) ​​of files in the distributed file system is stored in each metadata server. Since the meta information of a file includes path, server IP address, owner, number of backups, creation time, modification time, access time, version, file size, number of file data blocks, and metadata of each data block, etc., data blocks The meta-information includes the version of the data block, the effective length, and the checksum. Since the files in the distributed file system need to be read through the metadata of the ...

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): G06F17/30
CPCG06F16/27
Inventor 伍海君叶航军李锐邹永强董乘宇赵大勇王磊阙太富杨绍鹏张书鑫陈晓东刘畅张银锋
Owner TENCENT TECH (SHENZHEN) CO 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