Network file system and method based on p2p technology

A network file system and file technology, applied in the field of network file systems based on P2P technology, can solve the problems of difficulty in applying a large number of storage nodes and client cluster systems, not supporting advanced features of distributed file systems, and poor scalability. Reduce the possibility of a single point of failure, reduce server stress, and increase the effect of scalability

Inactive Publication Date: 2011-12-28
SHENGLE INFORMATION TECH SHANGHAI
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. Poor scalability, difficult to apply to a large number of storage nodes and client cluster systems;
[0005] 2. Centralized data storage does not support advanced features of distributed file systems such as load balancing, and system performance bottlenecks are prone to occur;
[0006] 3. There is a server single point of failure problem
[0007] Therefore, the traditional network file system is powerless for Internet applications that pursue massive data throughput and have thousands of clients and storage nodes. A network file system is needed that can increase storage scalability, reduce server pressure and single point The possibility of failure can be applied to the storage needs of large-scale clients

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
  • Network file system and method based on p2p technology
  • Network file system and method based on p2p technology
  • Network file system and method based on p2p technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] Such as figure 1 As shown, the network file system based on P2P technology of the first embodiment of the present invention includes:

[0046] The server 10 supporting P2P technology is used to store the directory area and metadata of all files; and

[0047] Multiple P2P clients 20a, 20b, . . . , 20n are used for distributed storage of file content and copies thereof and access to file content.

[0048] The network file system based on the P2P technology of the present invention separates the directory area, metadata and file content data of the file data. This method can not only make the file data distributed in the whole network environment more conveniently using P2P, so as to improve the file transmission speed and reduce the load pressure on the server, but also can increase the scalability of the whole network file system, providing Larger capacity storage service support.

[0049] The file directory area of ​​the network file system based on the P2P technolog...

Embodiment 2

[0061] Embodiment 2 File content is stored in blocks

[0062] Such as figure 2 As shown, Embodiment 2 of the present invention provides a method for storing file content in blocks by a network file system based on P2P technology, including the following steps:

[0063] Step S20: the P2P client starts file content storage, judges whether the length of the file content to be stored is greater than a length threshold, if not, directly stores the file content in the metadata (as shown in step S21), and the file content is stored End; if so, execute step S22;

[0064] Step S22: start the file content block storage, then judge whether the size of the file content is greater than a fixed file block size, if not, the file content is stored as a file block (as shown in step S23), and calculate the file block The summary information (as shown in step S24) of the abstract of this file content is then carried out in step S29; If so, directly carries out step S25;

[0065] S...

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 provides a network file system and method based on P2P technology, which integrates the file storage mode of P2P and C/S structure, stores all file contents in each P2P client, and stores the file directory area and metadata in a file supporting P2P On the server with advanced technology, when a P2P client needs to access a file, it first obtains the metadata and other attribute information of the file from the local cache or the server that supports P2P technology, and then searches and accesses the file data in a P2P manner, adding network file The scalability of the system storage is suitable for the storage needs of large-scale clients; the file content data is distributed and stored in the entire network file system, and the server is no longer an access hotspot, which greatly reduces the server pressure and the possibility of single point failure; and utilizes P2P Data transmission by means of data transfer, providing high-speed access to file data.

Description

technical field [0001] The invention relates to the field of computer data storage, in particular to a network file system and method based on P2P technology. Background technique [0002] Network File System (Network File System, NFS) refers to the method of sharing disk files between computers on the network. Through this method, remote files stored on the server can provide transparent file access and file transfer to the client. The client does not need to spend any cost for file storage and maintenance, and accessing files on the server is as convenient as accessing files located on the client's local hard drive. The network file system makes it more flexible and convenient for clients to access remote files. [0003] The structure of the current network file system is usually a C / S (client / server, Client / Server) mode, that is, a server (S) supports several client machines (C) to access files. All file data are stored on the server, and the client remotely accesses th...

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 Applications(China)
IPC IPC(8): H04L29/08
Inventor 段雪涛郭理靖谢振业邓吉生
Owner SHENGLE INFORMATION TECH SHANGHAI
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