Cache reading, reading processing method and device

A technology for caching and reading requests, applied in the field of communication, can solve the problems of poor spatial locality, cache pollution, and low hot data of streaming media files, and achieve the effect of improving speed, rational use, and reasonable memory resources.

Active Publication Date: 2020-05-19
ZTE CORP
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional file system has the following problems in block file storage: the cache of the traditional file system is managed by page_cache (page cache), the hot data of the streaming media file is low, the spatial locality is poor, and the data is mostly accessed in order It is easy to have the problem of cache pollution, so that the memory resources cannot be used reasonably, and the prefetch granularity of the general file system is not high.
[0004] In related technologies, no effective solution has been proposed for the problem that memory resources cannot be reasonably utilized due to the fact that data blocks are accessed in the form of sequential access streams.

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
  • Cache reading, reading processing method and device
  • Cache reading, reading processing method and device
  • Cache reading, reading processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0027] Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

[0028] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the pres...

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

A cache reading method and apparatus, and a cache reading processing method and apparatus. The reading method comprises: sending a reading request for multiple data blocks in a local file system (S102); and when it is determined that the multiple data blocks are located in a cache of the local file system and the size of the part, which has been read, of specified data blocks among the multiple data blocks exceeds a preset proportion of the size of the specified data blocks, reading a next data block among the multiple data blocks (S104). By using the technical scheme, the problem in the related art is solved that memory resources cannot be properly used because data blocks are accessed in a form of a sequential access flow; accordingly, a process of asynchronously acquiring multiple data blocks is realized, thereby rapidly increasing the speed of acquiring the data blocks and properly using the memory resources.

Description

technical field [0001] The present invention relates to the communication field, in particular, to a cache reading and reading processing method and device. Background technique [0002] With the development of technologies such as computing, storage, and communication, large-scale streaming media services have been widely used in various fields such as entertainment, education, and commerce. How to realize efficient storage of large-scale streaming media files while supporting high concurrent users is a problem. very critical question. The local file user state caching method in the distributed streaming media service proposed by this patent can not only improve the storage efficiency of streaming media files, but also can be well applied in the distributed storage system based on block storage, for example Taobao File System (Taobao File System, referred to as TFS), Distributed File System (Hadoop Distributed File System, referred to as HDFS) and other systems. [0003] ...

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): G06F16/172
CPCG06F12/08
Inventor 张广艳罗圣美唐小岚沈岩
Owner ZTE CORP
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