Check patentability & draft patents in minutes with Patsnap Eureka AI!

Metadata management method of distributed file system in power grid dispatching control system

A distributed file and control system technology, applied in the field of data processing, can solve problems such as increased file access delay time, long file time consumption, multiple memory resources, etc., to meet real-time requirements and improve access performance

Active Publication Date: 2020-07-17
NARI TECH CO LTD +5
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The power grid dispatching control system has very high requirements for real-time performance and stability of the system, but the existing open source distributed file system HDFS puts all the metadata of the entire file system in the memory, which obviously does not consider the application scenarios of the power grid dispatching control system , there are mainly two shortcomings: one is that it takes a long time to search for files level by level, especially when the level of the file is deep and the number of files is large, the metadata search will take a lot of time, reduce the concurrency of the system, and increase the number of files. Access delay time; second, all metadata are stored in memory. When the number of system files is large, it will occupy a lot of memory resources and affect the operation of other functional modules in the 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
  • Metadata management method of distributed file system in power grid dispatching control system
  • Metadata management method of distributed file system in power grid dispatching control system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] This embodiment is a metadata management method of a distributed file system in a power grid dispatching control system, including:

[0046] The metadata is divided into multiple types of data including at least the file name class and the basic attribute class. All kinds of data are stored in multiple data blocks, and the file mapping is established in memory; the file name class data includes each file or directory. Complete path information, basic attribute data includes basic attribute information of each file or directory;

[0047] For various types of data, data blocks are managed in the form of linked list pools; the file name data information and basic attribute data information of a single file or directory correspond to each other in a mapping relationship linked list;

[0048] In response to receiving an external request to create a metadata file, obtain the file path information in it, and search for the linked list number of the parent directory of the file...

Embodiment 2

[0073] This embodiment specifically illustrates the metadata management method of the present invention for the distributed file system in the power grid dispatching control system, including the following content:

[0074] 1. Divide file meta information into four types of data: basic attributes, file names, data blocks, and storage nodes, such as figure 2 Shown:

[0075] Basic attribute data include file length, creation time, modification time, type, data block ID, file name length, file name storage location and other information;

[0076] The full path of each file and directory is stored in the file name class data;

[0077] Data block data includes information such as data block ID, length, check code, storage location, etc.;

[0078] Storage node data includes storage node name, IP address, rack information, resource hardware configuration information such as CPU, memory, and disk, and resource utilization information.

[0079] Among the various types of data divid...

Embodiment 3

[0117] Based on the same inventive concept as Embodiments 1 and 2, this embodiment introduces a metadata management device for a distributed file system in a power grid dispatching control system.

[0118] In the configuration of the device, the metadata is divided into multiple types of data including at least the file name class and the basic attribute class. The complete path information of a file or directory, the basic attribute class data includes the basic attribute information of each file or directory;

[0119] For various types of data, data blocks are managed in the form of linked list pools; the file name data information and basic attribute data information of a single file or directory correspond to each other in a mapping relationship linked list;

[0120] Metadata management devices include:

[0121] The metadata file creation module is configured to obtain the file path information in response to receiving an external metadata file creation request, and searc...

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 metadata management method of a distributed file system in a power grid dispatching control system. The method comprises steps of dividing system metadata of the distributedfile system into multiple types of data such as basic attributes and file names; and managing all files and subdirectories under a directory by adopting a linked list, keeping a hierarchical relationship of a file system, and establishing a mapping relationship between file names and basic attributes of the files, so that basic attribute data of the files can be quickly positioned through completepaths of the file names. And when the file is accessed, the searching process can be completed under the O (1) complexity, so that the file metadata access performance is improved. Therefore, the distributed file access performance in the power grid dispatching control system can be improved, the data access time consumption and excessive occupation of the metadata on the memory are reduced, thereal-time requirement of file access of the power grid dispatching control system is met, and the distributed file access method and system can well adapt to the use environment with limited memory resources.

Description

technical field [0001] The invention relates to the technical field of data processing in a power grid dispatching control system, in particular to a metadata flat management method of a distributed file system in a power grid dispatching control system. Background technique [0002] Distributed file system is to connect scattered storage nodes to form a shared file system that far exceeds the capacity of a single storage node. It allows file data and storage space stored on multiple nodes to be shared through the network, greatly improving storage capacity and file access throughput. volume, and has high reliability and elastic expansion capabilities. [0003] The distributed file system is used in the power grid dispatching control automation system to store graphics files, grid section files, report files, and operation mode data. The distributed file system mainly includes two parts: metadata management and file data management. The metadata management part mainly manag...

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/182G06F16/14
CPCG06F16/182G06F16/14G06F16/152
Inventor 雷宝龙张凯郭海龙葛以踊陈鹏万书鹏管荑彭晖翟明玉陆居福孙卫芳李慧聪张强耿玉杰马强刘彤易强
Owner NARI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More