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

High-speed read-write and cyclic coverage file transmission system and transmission method

A technology of file transmission and transmission method, applied in the field of underlying data storage, can solve the problem of not supporting downloading files, etc., achieve high-speed reading and writing, reduce the delay time of seek and rotation

Pending Publication Date: 2020-12-11
重庆攸亮科技股份有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

After the server program saves the file into a large file, it will obtain a file ID and return the file ID to the client program. The client program can only download files through this file ID, and does not support downloading files through file names.

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
  • High-speed read-write and cyclic coverage file transmission system and transmission method
  • High-speed read-write and cyclic coverage file transmission system and transmission method
  • High-speed read-write and cyclic coverage file transmission system and transmission method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] Such as figure 1 For the storage structure of the large file system, create a large file, write the data of the global data area in the 1KB space at the beginning of the file, the remaining space is the file area, and the global data area is the current size, extension value, maximum space and The offset position of reading and writing; the storage structure of each small file in the file area is as follows: figure 2 , write the file description data in the 1kb space at the beginning of the small file, and the remaining space is the file content. The file description data can include the file name, creation time and file size;

[0030] In this embodiment, the small file 1, the small file 2 and the small file 3 to be stored are used for illustration, and the specific storage methods include:

[0031] Create a large file, write the data in the global data area in the 1kb space at the beginning of the file, and the remaining area is the file area. The file area continuou...

Embodiment 2

[0035] The disk is used as a large file, and the disk adopts the RAW file system, and its storage method is the same as that of embodiment 1, and the file data can be directly written into the disk sector continuously, and also avoids the sector caused by other file systems storing in units of clusters, for example. Area space is wasted, better use of disk space, and even reduce the need for other file systems to read and write a file. Before reading and writing a file, you have to find the file layer by layer, and do a bunch of checks on attributes, permissions, etc., reducing time consumption; Considering the multi-process operation of large files, the introduction of event kernel objects and shared memory solves the problem of asynchronous problems that may arise from multi-process operation of large files. After writing data, only the data in the shared memory needs to be changed, which also avoids Every time after writing file data, you must change the write file offset va...

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 relates to the technical field of underlying data storage, and discloses a high-speed read-write and cyclic coverage file transmission system and transmission method, and the storage method comprises the steps: S1, creating a large file, writing data of a global data region into a 1kb space at the beginning of the file, and taking the remaining region as a file region; s2, continuously and circularly storing small files in a file area according to a time sequence; by adopting a sequential read-write mode, the track seeking and rotation delay time of the disk is reduced, and diskpre-reading is fully utilized, so that high-speed read-write is achieved.

Description

technical field [0001] The invention relates to the field of underlying data storage, in particular to a high-speed read-write and cyclically covered file transmission system and transmission method. Background technique [0002] The HTTP file system / FTP file system is initially a large file initialized by the server program, and all files uploaded by the client program through the HTTP protocol / FTP protocol are stored in this large file, which can automatically realize cyclic coverage or extended storage , and because the files are stored sequentially, high-speed reading and writing can also be guaranteed, thereby transferring files efficiently and quickly. After the server program saves the file into a large file, it will obtain a file identifier and return the file identifier to the client program. The client program can only download files through this file identifier, and does not support downloading files through file names. This file identifier is the location of thi...

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): G06F16/172G06F3/06
CPCG06F16/172G06F3/0611G06F3/0643G06F3/0676
Inventor 谢仙宝陆亮李玉波戴高
Owner 重庆攸亮科技股份有限公司
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