Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for fragment storage file

A segmented storage and file technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problem of occupying server storage space, and achieve the effect of reducing system costs and saving storage space

Inactive Publication Date: 2008-06-11
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, after the file is divided into blocks, the relevant information of each data block needs to be recorded separately on the server, so a large amount of storage space in the server will be occupied

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 device for fragment storage file
  • Method and device for fragment storage file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to express the objectives, technical solutions and advantages of the present invention more clearly, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0022] FIG. 1 is a flowchart of a method for storing files in segments according to an embodiment of the present invention. As shown in FIG. 1 , the method for segmented storage of files in the embodiment of the present invention includes the following steps:

[0023] Step 101: Divide the large file into a plurality of data segments according to a specified dividing unit, and store them in one or more clients respectively.

[0024] In this step, the specified division unit may be a preset time interval or a file length. For example, for streaming media files, seconds or multiples of seconds may be used as division units; for non-streaming media files, KB (eg, 32KB or a multiple of 32KB) may be used as division units. For the c...

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 of storing documents in segments in the example, which comprises: dividing up the documents into at least two data segments and storing each data segment in at least one client; each client records the information of each data segment in the same document in the same log document and sends the log document to a server; the server records the relationship between each client and the stored data segment according to the received log document. The invention discloses a client and a server in the example. By adopting the method and device, the invention can greatly save the storage space in the server and obviously reduce the system cost. Meanwhile, the invention also greatly improves the precision of retrieval or query and realizes more precise location.

Description

technical field [0001] The present invention relates to file storage technology, in particular to a method and device for segmented storage of files. Background technique [0002] In the prior art, for downloading large data files such as streaming media, a method is usually adopted: first, use a simple block method to divide the file for downloading into multiple data blocks, and store these data blocks in one or more data blocks respectively. On multiple clients (or directly stored on the server), at the same time, each client that stores data blocks reports the resources stored by itself to the server; when a user needs to download the above files, the user can The client sends a download request to the server, specifying the data block (or called the interval segment) or the entire data file to be downloaded; the server queries the client where the data block to be downloaded is located according to the received download request, and The query result, that is, the infor...

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/30
Inventor 华有为
Owner TENCENT TECH (SHENZHEN) CO LTD