Cache sharing method and device for content delivery network

A content distribution network and content technology, applied in the field of network communication, can solve problems such as inability to accurately judge neighbor cache content, system performance degradation, waste of storage space, etc., to reduce memory overhead and search overhead, reduce response delay, and improve processing speed effect

Active Publication Date: 2011-08-03
ZHEJIANG 1ONE TECH CO LTD
View PDF4 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This implementation wastes storage space because the digest takes up a lot of space
In addition, the cache summary needs to be maintained periodically. If the period is set longer, the content stored in the neighbor cache cannot be accurately judged. If the period is set shorter, the system performance will decrease due to frequent refreshes.

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
  • Cache sharing method and device for content delivery network
  • Cache sharing method and device for content delivery network
  • Cache sharing method and device for content delivery network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] Example one with figure 2 The shown CDN network architecture is taken as an example to describe the cache sharing method in detail. The CDN routing device divides content blocks based on the MD5 value of the content that each connected cluster is responsible for processing. Maintain the correspondence between the content blocks and caches of each cluster connected to it in the form of a table. As an example and not a limitation, based on each cluster, a corresponding relationship carrying relative effective time information can be maintained for each content block. table, which is shown in Table 1:

[0062] Effective time

corresponding cache

within 1 hour of the current time

cache1, cache2,

1 hour from the current time to within 2 hours from the current time

cache1, cache3

……

……

11 hours from the current time to within 12 hours from the current time

cache1

[0063] Table 1

[0064] According to Table ...

Embodiment 2

[0089] Example 2 is based on figure 2 The shown CDN network architecture is taken as an example to describe the cache sharing method in detail. The CDN routing device divides content blocks based on the MD5 value of the content that each connected cluster is responsible for processing.

[0090] Each cache in the cluster saves and maintains the correspondence between the cache and the content blocks in the cluster in the form of a table. As an example but not a limitation, the cache can maintain a correspondence table with each content block that carries relative effective time information, as shown in Table 3:

[0091]

[0092] table 3

[0093] It can be seen from Table 3 that within 12 hours from the current time, the cache has been responsible for processing the content of content block 0 and content block 1, but has never been responsible for processing the content of content block 127.

[0094] The above effective time is the relative time from the current time, and...

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 cache sharing method for a content delivery network, which comprises that: after receiving a service request, a first cache in a cluster determines a content block with contents corresponding to the service request if not being hit; the first cache determines a second cache for processing the content block according to correspondence between the content blocks and caches in the cluster; and the first cache transmits a query message to the second cache to obtain the contents. The embodiment of the invention also provides a cache sharing device. Compared with an Internet cache protocol (ICP)-based cache sharing way, the way of only transmitting the query message to the cache for processing the same content block shortens response delay, and increases the service request processing speed. In addition, the query message is judged to be transmitted to which cache by searching for the correspondence between the content blocks and the caches, and a memory space occupied by the correspondence between the content blocks and the caches is much smaller than that occupied by abstracts; therefore, compared with an abstract protocol-based cache sharing way, the embodiment of the invention reduces memory overhead and searching overhead.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of network communication, and in particular, to a method and apparatus for sharing cache in a content distribution network. Background technique [0002] CDN (Content Delivery Network) adds a new network architecture to the existing IP transmission network, and publishes the content of the website to the "edge" of the network closest to the user terminal, so that the user terminal can obtain the information nearby. content and improve the response speed of the user terminal accessing the network. [0003] The existing CDN network architecture includes CDN routing devices, edge service nodes, regional cache nodes, and central storage service nodes. In order to improve the reliability and storage capacity of the network, edge service nodes and regional cache nodes are usually deployed in a cluster (cluster) manner, that is, an edge service node or regional cache node is a cluster compose...

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): H04L29/08
CPCH04L29/08729H04L29/08117H04L67/2885H04L29/08891H04L67/06H04L67/568
Inventor 欧雄兵
Owner ZHEJIANG 1ONE TECH 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