Method and device to migrate resource data

A resource data and data technology, applied in the field of resource data migration, can solve the problems of low resource data efficiency, cache server spends a lot of time reading and writing resource data, mechanical hard disk read and write speed is slow, etc., to achieve the effect of improving efficiency

Inactive Publication Date: 2018-06-29
CHINANETCENT TECH
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The reading and writing speed of the mechanical hard disk is slow. After receiving a resource data acquisition request, the cache server often nee

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 to migrate resource data
  • Method and device to migrate resource data
  • Method and device to migrate resource data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0047] An embodiment of the present invention provides a method for migrating resource data. The execution subject of the method is a cache server. The cache server may be a cache server under the CDN architecture, and it may be provided with two storage media with different read and write speeds, for example Mechanical hard drives and solid state drives. The application scenario of this embodiment can be as follows figure 1shown. After receiving the resource data acquisition request sent by the client, the cache server checks whether the resource data is stored in the storage medium, and if found, returns the resource data to the client; The resource data is obtained from the station server, and the obtained resource data is returne...

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 method and device to migrate resource data and belongs to the technical field of data storage. The method comprises: periodically updating hotspot values of all resource datastored in first and second storage media one by one, wherein the reading-writing speed of the second storage medium is higher than that of the first storage medium; after the hotspot value of any piece of the resource data is updated, determining first resource data having the highest hotspot value in the first storage medium and second resource data having the lowest hotspot value in the secondstorage medium; if the hotspot value of the first resource data is higher than that of the second resource data, migrating the first resource data to the second storage medium. The method and device can provide improved resource data acquisition efficiency.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a method and device for migrating resource data. Background technique [0002] The cache server under the CDN (Content Delivery Network) architecture is a server used to store highly accessible resource data (such as video, audio, web page data, etc.), which can distribute locally cached resource data to The node server that is closer to the user enables the user to obtain the required resource data nearby. [0003] Cache servers generally use mechanical hard disks with large data capacity and long service life to cache resource data. After the cache server receives the user's request for a certain resource data, it can first search for the resource data in the mechanical hard disk. If it is found, the cache server can feed back the resource data to the user; if not found, the cache server The above resource data can be obtained from the corresponding origin server, and th...

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): G06F3/06
CPCG06F3/061G06F3/0655G06F3/067
Inventor 陈发民
Owner CHINANETCENT TECH
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