Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for replacing data in cache

A data replacement and caching technology, applied in the communication field, can solve problems such as low cache hit rate, failure to consider content change trends, failure to balance long-term access characteristics and burst access characteristics, etc., to improve hit rate and accurate prediction Effect

Active Publication Date: 2014-10-22
CHINA MOBILE COMM GRP CO LTD
View PDF4 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Usually, the performance index to measure the pros and cons of a cache replacement strategy mainly includes the cache hit rate, also referred to as the hit rate for short. The so-called cache hit rate refers to the ratio of the number of cache page hits to the total number of user requests; the traditional cache replacement algorithm Both do not consider the long-term access characteristics of data, do not balance the long-term access characteristics and burst access characteristics well, and do not take into account the changing trend of the content, resulting in a low cache hit rate

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 and device for replacing data in cache
  • Method and device for replacing data in cache
  • Method and device for replacing data in cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

[0052] Such as figure 1 As shown, the embodiment of the present invention provides a method for replacing data in the cache, including:

[0053] Step 11, obtaining the number of accesses to the accessed content within a preset time period;

[0054] Step 12, according to the number of visits, obtain the popularity value of the visited content;

[0055] Step 13, replacing the stored data in the cache according to the popularity value.

[0056] In this embodiment, by obtaining the number of visits to the accessed content within a preset time period; according to the number of visits, the heat value of the accessed content is obtained; according to the heat value, the data stored in the cache is processed Replacement: Use the popularity value as the basis...

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 provides a method and a device for replacing data in a cache. The method comprises the following steps of acquiring visit times of visited contents within a preset time period; acquiring heat value of the visited contents according to the visit times; and replacing the data stored in the cache according to the heat value. By the scheme, heat of the visited contents can be accurately predicted, and the hit rate of the cache is increased.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for replacing data in a cache. Background technique [0002] With the rapid development of the Internet (Internet), more and more people obtain rich information resources through the Internet. However, the sharp increase in the number of users will inevitably bring about problems such as increased load on the web server, increased response delay from the client, and congestion on the backbone network. Especially in recent years, Internet streaming media applications such as video-on-demand, distance education and e-commerce have become increasingly widespread, making these problems more serious. [0003] The traditional way to solve these problems is to continuously upgrade the network server and increase the network access bandwidth. However, this traditional method cannot fundamentally solve the problem, because, usually, the upgrade speed of the server is lower ...

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): G06F12/12G06F12/123
Inventor 王凤
Owner CHINA MOBILE COMM GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products