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

File storage method and device, file reading method and device, equipment and computer readable storage medium

A file storage and storage location technology, applied in the fields of reading methods, file storage, equipment and computer-readable storage media, and devices, can solve problems such as low search and access performance of small files, and achieve the goal of reducing storage depth and reducing the number of files. Effect

Pending Publication Date: 2020-11-24
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present disclosure provides a file storage and reading method, device, device, and computer-readable storage medium, so as to solve the problem of low search and access performance of frequently accessed small files on the network in the prior art

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
  • File storage method and device, file reading method and device, equipment and computer readable storage medium
  • File storage method and device, file reading method and device, equipment and computer readable storage medium
  • File storage method and device, file reading method and device, equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] At present, in order to provide users with richer network content, there are many script files for network access. In general, there are a large number of these files, and a file system with a deep directory hierarchy is required to store these script files, which leads to small file searches. Access performance is poor.

[0045] In the solution provided by the present invention, a certain number of source files are combined into one file. And based on the attribute information of the source file, the index information of each source file is determined. Then, the content in the source file is determined according to the index information and the source file as the body of the merged file, and the header of the merged file can also be determined according to the index information and the attributes of the source file. Therefore, in the merged file, the index information can be determined through the header, and then the required target source file can be found according...

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 storage method and device, a file reading method and device, equipment and a computer readable storage medium. In the storage scheme, a plurality of source files are merged to obtain a merged file, so that the number of files needing to be stored is reduced, and the storage depth of a file directory can be reduced. Moreover, index information is set in the merged file, and the electronic equipment can read the index information in the merged file and read the required source file content based on the index information. In the reading scheme, the content of the source file can be directly read from the merged file, so that multiple reading operations caused by reading the source file are reduced.

Description

technical field [0001] The present disclosure relates to file reading technology, in particular to a file storage and reading method, device, equipment and computer-readable storage medium. Background technique [0002] At present, there are many small files that are frequently accessed on the Internet, such as Html files, CSS files, JavaScript files, etc. The large number of these files leads to relatively fragmented storage. [0003] In the prior art, in a stand-alone file system using a disk as a storage medium, files are organized in a directory tree structure. When the number of files is large, the number of files in the directory will also be large, and at the same time, the directory hierarchy will also become deeper. [0004] When reading files from a file system with such a directory tree structure, due to the deepening of the directory hierarchy, multiple disk read operations are required, resulting in low search and access performance for small files. In addition...

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): G06F16/13G06F11/10
CPCG06F16/13G06F11/1004
Inventor 胡雄伟
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH 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