A file storage method and system based on block strategy

A file storage and file technology, applied in special data processing applications, instruments, electrical digital data processing, etc.

Active Publication Date: 2016-06-22
ZHENGZHOU SEANET TECH CO LTD
View PDF2 Cites 0 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 block-based Policy file storage method and 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
  • A file storage method and system based on block strategy
  • A file storage method and system based on block strategy
  • A file storage method and system based on block strategy

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0033] figure 1 It is a flowchart of the modified Past system node processing insert message in the present invention, and the specific process includes:

[0034] 101) After receiving the insert message, the node of the Past system extracts the file to be inserted from the insert message.

[0035] 102) The node inquires whether the local file system has stored the same file as the file ID to be inserted. If it already exists, go to 103; otherwise, go to 104;

[0036] 103) Compare the version of the inserted file with the same file with the locally stored ID, and judge whether the version of the inserted file is the latest, if it is the latest, then go to 104; otherwise go to 105.

[0037] 104) The Past system node stores the inserted file in the...

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 provides a file storing method and a file storing system based on partitioning strategies. Data blocks in the method are stored in a Past sub system, and the method concretely comprises the following steps that 101, user files to be stored are divided into a plurality of data blocks, and meanwhile, metadata of maintenance files, file partitioning and file access relevant information is created; and 102, all data blocks and the metadata are respectively used as files to be stored in the Past sub system optimized by a client, wherein the optimized Past sub system is a Past sub system added with deletion and updating operation, the data blocks have the same size, and the metadata structure concretely comprises file names, all file partitioning names, file size, last file modification time and last file access time. The method and the system provided by the invention have the advantages that high expandability, high availability and high safety of a Past file storing system are inherited, and in addition, the unnecessary bandwidth waste and the response time prolonging during the modification and reading operation on large files are avoided.

Description

technical field [0001] The invention relates to the technical field of distributed storage, in particular to distributed storage based on structured P2P technology and its application, in particular to a file storage method and system based on a block strategy. Background technique [0002] With the global coverage and promotion of 3G technology and the emergence of operating systems such as IOS and Android, mobile smart terminals are rapidly expanding in the market, and the corresponding application and research based on P2P technology has once again attracted everyone's attention. [0003] Among the many applications based on P2P technology today, the social network based on P2P technology is undoubtedly a research hotspot. Among them, most of the P2P-based social network applications are built on Past. Past is an open source application based on the structured P2P technology-Pasty to realize redundant storage of files. The file stored in Past will be completely copied K...

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 Patents(China)
IPC IPC(8): G06F17/30
Inventor 王劲林黄垂碧王玲芳陈君
Owner ZHENGZHOU SEANET TECH 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