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

Method and system for searching and locating resources

A resource search and to-be-search technology, applied in the field of cloud computing, can solve the problems of many network interactions and retrieval times, and achieve the effect of reducing the number of interactions and retrieval times

Active Publication Date: 2014-07-02
CHINA MOBILE GROUP SICHUAN
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The problem with this technical solution is that there are many times of network interaction and retrieval. The distributed file system client uses a directory spacer to divide each layer of retrieval directories. If there are multiple layers of directories for retrieval targets, the client must communicate with the metadata server. There are multiple data interactions

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
  • Method and system for searching and locating resources
  • Method and system for searching and locating resources

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0024] The distributed file system manages the metadata of the file system (including file directory tree organization, attribute maintenance, file operation log records, authorized access, etc.) by the metadata server, manages the namespace of the entire storage system, provides a single system image externally, and Responsible for the management and monitoring of the entire storage cluster. It is used to manage the entire file system, store the metadata of each file (file size, file attributes, and file location information), and also contains all the information of all irregular files, such as folders, socket devices, plumbing equipment. When the metadata server is initialized, it first loads all file system metadata information into memory, mainly including:

[0025] Fsnode: file node space, the data structure is a hash table composed of...

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 method and a system for searching and locating resources. The method and the system are applicable to cloud computing platforms. The method includes enabling metadata servers to store Hash values of file node information in Hash tables fsnode, and storing Hash values of file name space information in Hash tables fsedage; enabling clients to transmit paths and file names of be-searched-and-located target files to the metadata servers; enabling the metadata servers to use home directories of the target files as key values, and retrieving the Hash tables fsedage to acquire corresponding information edage; utilizing the information edage, name lengths of the target files and name information of the target files as key values, retrieving the Hash tables fsedage to acquire corresponding file identification of the corresponding target files and transmitting the file identification to the clients. According to the technical scheme, the method and the system have the advantages that all path information can be exchanged among the clients and the metadata servers at one step, accordingly, the retrieving frequencies and the exchange frequencies can be reduced; metadata information is cached by the aid of the clients, so that the exchange frequencies among the clients and the metadata servers can be reduced.

Description

technical field [0001] The present invention relates to the technical field of cloud computing, in particular to a method and system for searching and locating resources. Background technique [0002] On the cloud computing platform, the existing file resource search and location scheme first determines whether the target file to be retrieved uses an absolute path or a relative path. If it is an absolute path, set the starting path of the search as the root directory, and start searching from the root directory. If the target file to retrieve uses a relative path, set the starting path of the search to the current directory. [0003] Existing solutions use directory separators ("\" or " / ") to separate the target to be located according to the directory hierarchy, and locate the target directory of each layer hierarchically. When the first-level directory target is located, the first-level directory is used as the starting directory for the next search to locate the second-...

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/183
Inventor 曾健陈刚梅松赵勇马军
Owner CHINA MOBILE GROUP SICHUAN
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