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

File positioning and storing method and device for trunking system

A cluster system and file location technology, applied in the file location and storage field of the cluster system, can solve the problem that the cluster cannot be located.

Active Publication Date: 2016-12-28
HANGZHOU HIKVISION DIGITAL TECH
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a method and device for locating and storing files in a cluster system, so as to at least solve the technical problem in the prior art that the cluster cannot be located due to the failure of the main server

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 positioning and storing method and device for trunking system
  • File positioning and storing method and device for trunking system
  • File positioning and storing method and device for trunking system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0035] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circ...

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 file positioning and storing method and device for a trunking system. The method comprises the steps of receiving an object file positioning instruction sent by a client terminal, wherein the object file positioning instruction contains the path information of an object file to be positioned; calculating the characteristic value of the object file to be positioned according to the path information; determining a value interval mapped by a memory address where the object file to be positioned is located according to the characteristic value; determining a first cluster node where the object file to be positioned is located according to the value interval mapped by the memory address; judging whether the first cluster node can conduct normal communication; determining that the object file to be positioned is located on the first cluster node if so. In this way, the problem of the prior art that cluster positioning can not be achieved when a master server breaks down is solved, the usability of the trunking system is improved, and then the technical effect of positioning a file accurately is realized.

Description

technical field [0001] The present invention relates to the field of cluster system file positioning, in particular to a cluster system file positioning and storage method and device. Background technique [0002] At present, the common cluster file index positioning method is realized by arranging the main data server in the cluster. Taking GFS (Global File System, GFS for short) as an example to illustrate: the GFS file system consists of the client, the main server and multiple It is composed of two data block servers, the main server plays the role of metadata server, and the index location information of files is saved on the main server. When locating a file, the client first sends a request to the main server, obtains the file information and the location of the data block server where the file is located, and then sends a request to the data block server to access the file data. The disadvantage of this method is that the file index depends on the master server. Whe...

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
Inventor 管超
Owner HANGZHOU HIKVISION DIGITAL TECH
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