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

Method, system and equipment for caching files through external storage

A file and cache technology, applied in the field of caching files through external storage, can solve the problems of needing to re-storage, increase the cache space, and disappear the cached data, and achieve the effect of speeding up retrieval time, speeding up reading and writing, and increasing capacity

Inactive Publication Date: 2014-01-01
ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD +1
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the common problem with RAM and high-speed cache is that once the power is turned off, the cached data will disappear and need to be stored again; at the same time, compared with external storage devices such as hard disks, RAM and high-speed cache are more expensive and limited to RAM and high-speed cache space The size of the cache data is also limited. With the development of technology and the improvement of the computing performance of computing devices, the running software programs are getting larger and larger, and the cache space required for running is also increasing. Therefore, it is necessary to break through the existing Small limitations on RAM and cache space
[0003] In addition, when RAM and cache cache data, they do not consider the location information of the cached data storage. Therefore, when reading the required cached data, they need to be searched and read one by one, which affects the reading efficiency.

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, system and equipment for caching files through external storage
  • Method, system and equipment for caching files through external storage
  • Method, system and equipment for caching files through external storage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] refer to figure 1 As shown in the flow chart of the method of the present invention, the present invention implements data caching through external storage, thereby realizing fast read and write operations on files. Described method is specifically as follows:

[0016] When reading a file, it is first searched in the cache index. The cache index is the index directory of the cache data. This index directory records the index entries of all files in the cache data. Among them, the index entry of a file in the cache data includes the file The file identifier of the file, the last modification time of the file, the offset value of the file in the cache data and the size of the file, wherein the file identifier of the file includes one of the file name, file ID, file hash value or A variety of combinations, etc., but for different file IDs, it must be consistent with the cache index. When reading a file, search the cache index through the file identifier. If the same file...

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, a system and equipment for caching files through an external storage. The method includes that data needed to be cached are stored in the external storage, and capacity of cached data is greatly increased; at the same time, a caching index is added to the cached data, so that during retrieving, the cached data can be quickly retrieved, and retrieving speed is quickened; during changing or first-time reading of files, for the files needed to be written in the cached data, reading is performed according to a conventional process; during reading, the files are stored in a caching sequence and written into the cached data through the caching sequence, conventional reading and caching writing-in are enabled to performed simultaneously; reading from the cached dat can be performed quickly during next-time reading, so that writing-reading speed is increased.

Description

technical field [0001] The invention relates to file caching, in particular to a method, system and device for caching files through external storage. Background technique [0002] Cache is a temporary file exchange area. The existing technical method is to temporarily store recently accessed information through cache memory (RAM) or cache (cache), and read from it when access is required, so as to achieve fast access and save time. However, the common problem with RAM and high-speed cache is that once the power is turned off, the cached data will disappear and need to be stored again; at the same time, compared with external storage devices such as hard disks, RAM and high-speed cache are more expensive and limited to RAM and high-speed cache space The size of the cache data is also limited. With the development of technology and the improvement of the computing performance of computing devices, the running software programs are getting larger and larger, and the cache spa...

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/08
CPCG06F16/134G06F16/172
Inventor 吴才忠刘畅余欣李翔威李龙娇
Owner ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More