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

Document system and document storage managing method thereof

A file system and storage management technology, applied in the field of file system and its storage management of files, can solve the problems of reduced disk availability, increased head movement times, waste of storage space, etc., and achieve the effect of reducing disk fragmentation and waste

Inactive Publication Date: 2014-05-07
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the above two file systems, the size of the blocks divided by GFS for files is fixed, that is, regardless of the amount of data in the files, they are all divided into blocks of fixed size, and then stored. However, if the data volume of the file is less than the size of the block, the above-mentioned technical solution will waste a lot of storage space; and the blocks divided by HDFS are self-defined, that is, the data volume of the file and the size of the block are first compared. In comparison, if the data volume of the file is greater than the size of the block, the file is divided into several blocks, and the last block is divided according to the actual size of the remaining file; if the data volume of the file is smaller than the size of the block, then According to the actual data volume of the file, it is divided into blocks to store, but this technical solution will generate a lot of disk fragments, that is, the file will be stored on many disk fragments, and the number of head movements will increase significantly when reading the file , making the reading speed of the file slower, and the disk is also prone to failure, reducing the availability of the disk

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
  • Document system and document storage managing method thereof
  • Document system and document storage managing method thereof
  • Document system and document storage managing method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The following descriptions of the various embodiments refer to the accompanying drawings to illustrate specific embodiments in which the present invention can be practiced.

[0026] The technical problem to be solved by the present invention is to reduce the waste of storage space in the file system, reduce disk fragments in the file system, reduce the moving times of the magnetic head when reading files, and improve the usability of the disk as a file storage carrier in the file system. In order to solve the above-mentioned technical problems, the technical solution of the present invention is: the data amount of the file to be stored in the file system is known, and according to the data amount, the file to be stored is divided into blocks according to a certain method, that is, the storage space. The data volume of the file is rounded up, that is, it can be rounded up according to single digits, tens digits, tenths after the decimal point, etc., and then the rounded d...

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 document storage managing method of a document system. The method comprises the following steps: communicating with a client-side, receiving documents sent by the client-side, obtaining the data size of the documents received from the client-side, comparing the data size with a preset reference value, distributing storage space for the documents in a dynamic mode according to the data size, providing distributable storage space, and storing the documents in the storage space. The invention further discloses the document system. According to the document system and the document storage managing method thereof, the utilization efficiency and the service life of a disk used as a carrier storing the documents in the document system are both considered, the waste of storage space in the document system is reduced, disk fragmentation in the document system is reduced, the moving times of a magnetic reading head at document reading time is reduced, and the usability of the disk used as the carrier storing the documents in the document system is improved.

Description

【Technical field】 [0001] The invention relates to the technical field of file storage, in particular to a file system and a method for storing and managing files. 【Background technique】 [0002] Currently, the mainstream file systems include GFS (Google File System, Google File System) and HDFS (Hadoop Distributed File System, distributed file system). [0003] The technical solutions for storage and management of files by these two file systems are as follows: the files are divided into multiple blocks (Chunks) according to the amount of data in the files, and then the files are stored in the form of blocks. [0004] In the above two file systems, the size of the blocks divided by GFS for files is fixed, that is, regardless of the amount of data in the files, they are all divided into blocks of fixed size, and then stored. However, if the data volume of the file is less than the size of the block, the above-mentioned technical solution will waste a lot of storage space; an...

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): G06F17/30G06F12/02
CPCG06F16/1727G06F16/1724
Inventor 赵大勇伍海君王磊李锐阙太富杨绍鹏邹永强董乘宇张书鑫刘畅陈晓东张银锋
Owner TENCENT TECH (SHENZHEN) CO LTD
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