A method, server and terminal for caching file data

A file data and cache file technology, applied in network data retrieval, other database retrieval, special data processing applications, etc., can solve the problems of not supporting file data storage, data loss, and not supporting persistence

Active Publication Date: 2021-10-15
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the equipment for caching data has the following disadvantages: 1) does not support persistence, that is, the cached data will be lost with the restart of the operating system
2) The storage of file data is not supported, that is, the cache device only supports the storage of key-value (key-value) data types due to its own storage constraints

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
  • A method, server and terminal for caching file data
  • A method, server and terminal for caching file data
  • A method, server and terminal for caching file data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The following is an explanation of key terms related to the embodiments of the present invention:

[0052]Memcached: A high-performance distributed memory object caching system, used in dynamic web (Web) applications to reduce database load. Improves the speed of dynamic database-driven websites by caching data and objects in memory to reduce the number of database reads.

[0053] Redis: An open-source, network-enabled, memory-based and persistent log-type Key-Value database written in ANSI C language, and provides application programming interfaces (API, Application Programming Interface) in multiple languages.

[0054] DCache: The full name is Distributed Memcache (Distributed Memcache), a distributed data storage service that provides a variety of high-performance storage and access solutions for massive data, and an in-memory data storage system developed based on the TAF framework.

[0055] TAF: The full name is Total Application Framework (Total Application Frame...

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, server and terminal for caching file data, including: when receiving a file data access request sent by a terminal, searching from a cache device whether there is file data corresponding to the file data access request, wherein, The cache device supports access to file type data, and the cache device supports non-volatility; when the file data corresponding to the file data access request is found from the cache device, the The file data in the cache device; when the file data corresponding to the file data access request is not found from the cache device, the file data corresponding to the file data access request is searched from the storage device, and sent to the terminal The file data in the storage device, and store the file data in the cache device.

Description

technical field [0001] The invention relates to a data cache technology in the cloud field, in particular to a method for caching file data, a server and a terminal. Background technique [0002] The server stores a large amount of data. When the user wants to obtain data, he can request the data from the server through the terminal. At this time, the server will return the data to the terminal after finding the data from the database. However, when the terminal requests the same data again When receiving data, it is necessary to request data from the server again, which wastes network traffic and requests data at a slower speed. For this reason, the server caches the data requested by the terminal in the recent period. When the terminal requests the same data again, the server directly obtains the data from the cache and returns it to the terminal. Currently, devices for caching data have the following disadvantages: 1) do not support persistence, that is, cached data will...

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/957
CPCG06F16/9574
Inventor 陆云飞
Owner TENCENT TECH (SHENZHEN) CO LTD
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