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

CDN prefix-based cache clearing method and system

A technology for clearing systems and prefixes, applied in the information field, can solve problems such as high performance overhead, large action consumption, and long time for clearing to take effect, and achieve the effect of reducing performance overhead

Inactive Publication Date: 2018-08-17
北京云端智度科技有限公司
View PDF9 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Disadvantages of the traditional solution: 1. Record the access log for each request, and sort the access log by prefix, which has high performance overhead; 2. Every time a prefix is ​​cleared, all files corresponding to the prefix need to be cleared immediately, and the action of clearing consumes a lot , and the clearing takes a long time to take effect

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
  • CDN prefix-based cache clearing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0008] The preferred embodiments of the present invention will be described in detail below.

[0009] The CDN prefix cache clearing system provided by the present invention includes a data preprocessing module: it has the functions of extracting and refreshing the domain name prefix list; a storage module: this module has the function of storing the domain name list, the task time of prefix refreshing, and the storage of cache time Function; data analysis and processing module: analyze and process the file prefix data and obtain files from the source station again.

[0010] This CDN cache clearing method of the present invention, such as figure 1 As shown, the domain name maintains the prefix refresh list, stores it in each machine, and records the time of the prefix refresh task; for each file, the time when the file is cached is stored in the file metadata; each time a request arrives, first compare whether it is a hit The prefix refresh list, if it is hit, query the file c...

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 relates to a CDN prefix-based cache clearing system. The system comprises a data preprocessing module which has the functions of domain name prefix list extraction, refreshing and the like, a storage module which has a domain name list storage function, prefix refreshing task time and a caching time storage function, and a data analyzing processing module used for performing analyzing processing on file prefix data and obtaining a file from a source webpage once again. According to the CDN cache clearing method, a domain name maintaining prefix refreshing list is stored to each machine, and the time of a prefix refreshing task is recorded; for each file, the time when a file is cached is stored in meta data of the file; every time when a request arrives, whether or not a prefix refreshing list is hit is compared, if the prefix refreshing list is hit, the caching time of a file is queried, and if the refreshing time is latter than the caching time, the file is cleared anda previous level is returned to obtain the file once again; a full deletion mechanism is replaced with a marking function, and an action in which clearing is conducted according to prefixes can becomeeffective rapidly.

Description

technical field [0001] The invention belongs to the field of information technology, and in particular relates to a method and system for clearing CDN buffers by prefixes. Background technique [0002] In distributed systems such as CDN, content is stored in CDN nodes through a cache mechanism, and users obtain data through CDN nodes. Because the CDN node is cached, there may be data inconsistencies between the CDN node and the origin site. In actual business, it is often encountered the function of clearing the specified file cache in the CDN, so as to achieve the purpose of complete data synchronization between the CDN and the origin site. In actual use, there are certain rules in the directory structure of the website, and the function of updating all files under a specified prefix is ​​often encountered (such as: clearing all files under a specific directory). In the mechanism of clearing by prefix, CDN nodes are required to be able to store the corresponding relations...

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): G06F17/30G06F3/06
CPCG06F3/0652G06F3/0656G06F16/1727G06F16/174
Inventor 刘晓光汪志武赵子毅张晴晴
Owner 北京云端智度科技有限公司
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