Caching method and device based on content popularity
A popular and caching technology, applied in the field of computer communication, can solve problems that cannot be solved, and achieve the effect of eliminating repetitive traffic, strong practicability, and improving cache accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Embodiment one, see figure 1 As shown, a caching device based on content popularity includes:
[0043] The content popularity learning module is used to obtain the historical popularity of the first k time slots of the content object by learning the first k time slots of the current time slot of the content object, wherein k is a natural number;
[0044] A content popularity prediction module is used to predict the popularity of content objects in future time slots by setting corresponding influence weights on the first k time slots according to historical popularity;
[0045] The cache decision module is used to convert the optimal cache of the content object in the router into a 0-1 knapsack model. In the 0-1 knapsack model: the reward factor is equivalent to the item value, and the cost factor is equivalent to the item weight , the cache capacity M of the router is equivalent to the capacity of the backpack;
[0046] The content object cache module is used to solve...
Embodiment 2
[0048] Embodiment two, see Figure 1~2 As shown, it is basically the same as Embodiment 1, the difference is that the content object cache module includes:
[0049] The input module is used to input content objects and predicted popularity;
[0050] A cache capacity initialization unit, configured to initialize the remaining cache capacity of the router;
[0051] a content object sorting unit, configured to sort the input content objects in non-ascending order according to the predicted popularity;
[0052] The content object cache unit is used to obtain the size of the content object according to the cost factor in the 0-1 knapsack model, compare the size of the content object with the remaining cache capacity of the router, and determine whether to cache the content object, and according to the judgment As a result, update the router's remaining cache traffic until all input content objects are traversed.
[0053] The input objects are sorted by the predicted content obje...
Embodiment 3
[0054] Embodiment three, see Figure 1~3 As shown, a caching method based on content popularity includes the following content:
[0055] Step 1. Divide time into multiple time slots, the multiple time slots are the first k time slots of the current time slot, and the length of the time slot is T; learn the content objects of the first k time slots, and obtain the first k content objects The historical popularity of the time slot, k is a natural number;
[0056] Step 2. Predict the popularity of the content object in the future time slot according to the historical popularity, and obtain the predicted popularity;
[0057] Step 3. According to the predicted popularity, the caching decision of the content object is modeled as a 0-1 knapsack model;
[0058] Step 4. Solve the 0-1 knapsack model through the popularity priority greedy cache algorithm, obtain the cache priority according to the solution result, and cache the content object according to the cache priority.
[0059] ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com