File data caching method, server and terminal

A file data and cache file technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of not supporting persistence, data loss, not supporting file data storage, etc.

Active Publication Date: 2018-03-20
TENCENT TECH (SHENZHEN) CO LTD
View PDF11 Cites 8 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 ope...

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

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 file data caching method, a server and a terminal. The method comprises the steps of when a file data accessing request sent by the terminal is received, searching cache equipment to determine whether or not file data corresponding to the file data accessing request exists, wherein the cache equipment supports accessing of file-type data and nonvolatility; when the file data corresponding to the file data accessing request is found out from the cache equipment, sending the file data in the cache equipment to the terminal; when the file data corresponding to the file data accessing request is not found out from the cache equipment, searching storage equipment to find out the file data corresponding to the file data accessing request, sending the file data in the storage equipment to the terminal, and storing the file data in the cache equipment.

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
IPC IPC(8): G06F17/30
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