Buffering method and buffering device

A technology for caching and caching nodes, which is applied in the field of data caching and can solve the problem of low search performance.

Inactive Publication Date: 2017-04-19
LETV HLDG BEIJING CO LTD +1
View PDF0 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to at least solve the problem of low search performance in the prior art, in a first aspect, an embodiment of the present invention provides a caching method, including:

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
  • Buffering method and buffering device
  • Buffering method and buffering device
  • Buffering method and buffering device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0031] Please refer to figure 1 , which shows a flowchart of a caching method provided by an embodiment of the present invention.

[0032] Such as figure 1 As described above, a caching method provided by an embodiment of the present invention includes the following steps:

[0033] Step 101, judging whether the cache tree contains characteristi...

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

An embodiment of the invention provides a buffering method and a buffering device. The buffering method comprises the steps of determining whether a buffering tree comprises characteristic information of anticipated accessing data of a client; if not, acquiring the anticipated accessing data from a data source for buffering; interpolating the characteristic information of the acquired anticipated accessing data into a root node of the buffering tree; detecting whether a data volume sum which corresponds with all characteristic information in the root node after interpolation of the characteristic information of the anticipated accessing data exceeds a threshold; and if yes, transferring the corresponding piece of characteristic information to a lower-grade node from the root node according to a sequence of eliminating the earlier data accessing time to the later data accessing time in a one-by-one manner until the data volume summation which corresponds the all residual characteristic information in the root node is in a threshold range. According to the method and the device, the relatively hot data can be located at the positions which can be easily found out through a technical solution above, thereby improving data searching performance and improving accessing efficiency.

Description

technical field [0001] The present invention relates to data caching technology, in particular to a caching method and device. Background technique [0002] In recent years, the application of digital video has developed rapidly. In a digital video system, a CDN (Content Delivery Network, Content Delivery Network) cache system will inevitably be introduced into processes such as video collection, transmission, encoding, and decoding. [0003] In the prior art, a common caching method in the industry is a least recently used algorithm (LRU, Least recently used). The LRU algorithm eliminates data based on the historical access records of the data. Its core idea is "if the data has been accessed recently, the probability of being accessed in the future is also higher." The caching method is mainly realized based on Map (mapping) and linked list. [0004] Wherein, the collection defined by the Map (mapping) interface is also called a lookup table, and is used for storing so-c...

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): G06F12/123
CPCG06F12/123
Inventor 李寅斌
Owner LETV HLDG BEIJING 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