CN103747049A - CDN file distribution method, control center and system - Google Patents

CDN file distribution method, control center and system Download PDF

Info

Publication number
CN103747049A
CN103747049A CN201310723904.2A CN201310723904A CN103747049A CN 103747049 A CN103747049 A CN 103747049A CN 201310723904 A CN201310723904 A CN 201310723904A CN 103747049 A CN103747049 A CN 103747049A
Authority
CN
China
Prior art keywords
file
control centre
distributed
distributing control
listed files
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310723904.2A
Other languages
Chinese (zh)
Inventor
夏彦刚
吴亚洲
张建蕊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Cloud Computing Co Ltd
Original Assignee
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201310723904.2A priority Critical patent/CN103747049A/en
Publication of CN103747049A publication Critical patent/CN103747049A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a CDN file distribution method, a device and a system, and relates to the field of network multimedia technology. According to the invention, an appropriate distribution mode can be flexibly allocated for a file according to attributes of the file. Thus, network congestion is relieved, and performance of a CDN system is raised. The method comprises the following steps: a file distribution control center acquires a file to be distributed; whether the file to be distributed meets a first preset condition is judged according to a file list prestored in the file distribution control center; if the file to be distributed meets the first preset condition, an automatic download instruction is sent to an edge node so as to make the edge node download the file to be distributed from a storage node; if the file to be distributed does not meet the first preset condition, a pull-down request sent by the edge node is received; and after the pull-down request sent by the edge node is received, the pull-down instruction is sent to the edge node so as to make the edge node download the file to be distributed from the storage node.

Description

A kind of CDN document distribution method, control centre and system
Technical field
The present invention relates to network multimedia technology field, relate in particular to a kind of CDN document distribution method, control centre and system.
Background technology
CDN(Content Delivery Network, content distributing network) be a kind of one deck intelligent virtual network on existing Internet basic forming by place node server everywhere at network.CDN can be in real time leads user's request on the nearest service node of user again according to the connection of network traffics and each node, load state and to integrated informations such as user's distance and response times, its objective is and can select the node close to relatively from user to send the required content of user to user, alleviate the situation of network congestion, improve the response speed of website.
In prior art, the method for CDN system distribution of document adopts single ways of distribution, and ways of distribution is divided into two kinds conventionally: a kind of be core node by file active push to edge C DN node; Another kind is to receive after the drop-down request of certain file at core node, file is sent to the edge C DN node that sends drop-down request.
Yet the method for the CDN system distribution of document providing due to prior art adopts single ways of distribution, cannot according to the state of file, be therefore the ways of distribution that file allocation is suitable neatly, and then cause network congestion, reduce the performance of CDN system.
Summary of the invention
Embodiments of the invention provide a kind of CDN document distribution method, control centre and system, can according to the attribute of file, be the ways of distribution that file allocation is suitable neatly, and then alleviate network congestion, have promoted the performance of CDN system.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the embodiment of the present invention provides a kind of CDN document distribution method, is applied to content delivering system, and described method comprises:
File distributing control centre obtains file to be distributed;
Described file distributing control centre is according to the listed files being pre-stored in described file distributing control centre, judge that whether described file to be distributed meets first pre-conditioned, wherein, described first pre-conditionedly comprises described file to be distributed for described listed files;
If described file to be distributed meets described first pre-conditioned, described file distributing control centre sends initiatively download instruction to fringe node, so that described fringe node is downloaded described file to be distributed from memory node;
If described file to be distributed does not meet described first pre-conditioned, described file distributing control centre receives the drop-down request that described fringe node sends, wherein, described drop-down request is used to indicate described fringe node request and downloads described file to be distributed from described memory node;
Described file distributing control centre, after receiving the drop-down request that described fringe node sends, sends lower pull instruction to described fringe node, so that described fringe node is downloaded described file to be distributed from described memory node.
In the possible implementation of the first, according to first aspect, described in be pre-stored in the listed files that listed files in described file distributing control centre at least comprises focus file;
Before described file distributing control centre obtains file to be distributed, described method also comprises:
Described in obtaining, described file distributing control centre is pre-stored in the first data of the file in the listed files in described file distributing control centre;
Described file distributing control centre analyzes described the first data, generates the listed files of described focus file, and described focus file at least comprises the multimedia file of current time hot topic;
Described file distributing control centre stores the listed files of described focus file.
In the possible implementation of the second, in conjunction with first aspect or the possible implementation of the first, described the first data at least comprise log statistic data and page exposure data;
Described file distributing control centre analyzes described the first data, generates the listed files of described focus file, specifically comprises:
Described file distributing control centre is according to log statistic data and page exposure data, the visit capacity in the access sum of statistics multimedia file, last access time or the first Preset Time section;
If the access sum of described multimedia file is more than or equal to the first default thresholding, or the last access time of described multimedia file is less than or equal to the second default thresholding, or the visit capacity in the first Preset Time section of described multimedia file is more than or equal to the 3rd default thresholding, and described multimedia file is focus file;
Described file distributing control centre generates the listed files of described focus file.
In the third possible implementation, in conjunction with first aspect or possible implementation or the possible implementation of the second of the first, described file distributing control centre is according to the listed files being pre-stored in described file distributing control centre, judge that whether described file to be distributed meets first pre-conditioned, specifically comprise:
Described file distributing control centre reads the listed files being pre-stored in described file distributing control centre;
The file in described listed files is inquired about by described file distributing control centre, judges whether described listed files comprises described file to be distributed.
Second aspect, the embodiment of the present invention provides a kind of file distributing control centre, is applied to content delivering system, and described file distributing control centre comprises:
The first acquisition module, for obtaining file to be distributed;
Judge module, for according to the listed files that is pre-stored in described file distributing control centre, judges whether described file to be distributed meets first pre-conditioned, and wherein, described first pre-conditionedly comprises described file to be distributed for described listed files;
The first sending module, if meet described first pre-conditionedly for described file to be distributed, sends initiatively download instruction to fringe node, so that described fringe node is downloaded described file to be distributed from memory node;
Receiver module, if do not meet described first pre-conditioned for described file to be distributed, receive the drop-down request that described fringe node sends, wherein, described drop-down request is used to indicate described fringe node request and downloads described file to be distributed from described memory node;
The second sending module, for receiving at described receiver module after the drop-down request of described fringe node transmission, sends lower pull instruction to described fringe node, so that described fringe node is downloaded described file to be distributed from described memory node.
In the possible implementation of the first, according to second aspect, described in be pre-stored in the listed files that listed files in described file distributing control centre at least comprises focus file;
Described file distributing control centre, also comprises:
The second acquisition module, before obtaining file to be distributed at described the first acquisition module, is pre-stored in the first data of the file in the listed files in described file distributing control centre described in obtaining;
Processing module, for analyzing described the first data, generates the listed files of described focus file, and described focus file at least comprises the multimedia file of current time hot topic;
Memory module, for storing the listed files of described focus file.
In the possible implementation of the second, in conjunction with second aspect or the possible implementation of the first, described the first data at least comprise log statistic data and page exposure data;
Described processing module, specifically comprises:
Statistical module, for according to log statistic data and page exposure data, adds up the visit capacity in the access sum of multimedia file, last access time or the first Preset Time section;
Process submodule, if the access sum for described multimedia file is more than or equal to the first default thresholding, or the last access time of described multimedia file is less than or equal to the second default thresholding, or the visit capacity in the first Preset Time section of described multimedia file is more than or equal to the 3rd default thresholding, and described multimedia file is focus file;
Generation module, for generating the listed files of described focus file.
In the third possible implementation, in conjunction with second aspect or possible implementation or the possible implementation of the second of the first, described judge module, specifically comprises:
Read module, for reading the listed files that is pre-stored in described file distributing control centre;
Judgement submodule, for inquiring about the file of described listed files, judges whether described listed files comprises described file to be distributed.
The third aspect, the embodiment of the present invention provides a kind of content delivering system, comprise there is the described file distributing control centre of above-mentioned arbitrary feature, for storing the memory node of file to be distributed and at least one is for downloading the fringe node of described file to be distributed.
A kind of CDN document distribution method, control centre and system that the embodiment of the present invention provides, be applied to content delivering system, and file distributing control centre obtains file to be distributed; File distributing control centre is according to being pre-stored in the listed files in file distributing control centre, judges whether file to be distributed meets first pre-conditioned, and wherein, first pre-conditionedly comprises file to be distributed for listed files; If it is first pre-conditioned that file to be distributed meets, file distributing control centre sends initiatively download instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node; If it is first pre-conditioned that file to be distributed does not meet, file distributing control centre receives the drop-down request that fringe node sends, and wherein, drop-down request is used to indicate fringe node request and downloads file to be distributed from memory node; File distributing control centre, after receiving the drop-down request of fringe node transmission, sends lower pull instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node.
Compare with the method for the ways of distribution distribution of document that in prior art, CDN system is single, pass through this method, file distributing control centre can be according to the listed files being pre-stored in described file distributing control centre, judge that whether described file to be distributed meets first pre-conditioned, if it is first pre-conditioned that described file to be distributed meets, file distributing control centre sends active download instruction to fringe node, so that described fringe node is downloaded described file to be distributed from memory node, if it is first pre-conditioned that described file to be distributed does not meet, file distributing control centre can be passive transmission under pull instruction to described fringe node, so that described fringe node is downloaded described file to be distributed from described memory node.Because file distributing control centre can be the ways of distribution that file allocation is suitable according to the state of text to be distributed, therefore can alleviate network congestion, promote the performance of CDN system.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of a kind of CDN document distribution method in the embodiment of the present invention 1;
Fig. 2 is the schematic flow sheet of a kind of CDN document distribution method in the embodiment of the present invention 2;
Fig. 3 is the structural representation one of a kind of file distributing control centre in the embodiment of the present invention 3;
Fig. 4 is the structural representation two of a kind of file distributing control centre in the embodiment of the present invention 3;
Fig. 5 is the structural representation three of a kind of file distributing control centre in the embodiment of the present invention 3;
Fig. 6 is the structural representation four of a kind of file distributing control centre in the embodiment of the present invention 3.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
In addition, term " system " and " network " are often used interchangeably in this article herein.Herein term " with ", be only a kind of incidence relation of describing affiliated partner, can there are three kinds of relations in expression, for example, A and B, can represent: individualism A exists A and B, these three kinds of situations of individualism B simultaneously.In addition, character "/", generally represents that forward-backward correlation is to liking a kind of relation of "or" herein.
The memory node that the present invention mentions is the node that sends file to be distributed, and fringe node is the node that receives file to be distributed.Common, memory node is core CDN node, has stored intrasystem All Files; Fringe node is edge C DN node, for user access.It is core CDN node with memory node that the embodiment of the present invention is exactly, fringe node is that edge C DN node is example, carries out specific embodiment of the invention description.
Embodiment 1
The embodiment of the present invention provides a kind of CDN document distribution method, can be applied to content delivering system, and as shown in Figure 1, CDN document distribution method, comprising:
S101, file distributing control centre obtain file to be distributed.
CDN is a kind of one deck intelligent virtual network on existing Internet basic forming by place node server everywhere at network.In the prior art, the method for CDN system distribution of document adopts single ways of distribution, and ways of distribution is divided into two kinds conventionally: a kind of be core node by file active push to edge C DN node; Another kind is to receive after the drop-down request of certain file at core node, file is sent to the edge C DN node that sends drop-down request.Yet the method for the CDN system distribution of document providing due to prior art adopts single ways of distribution, cannot according to the state of file, be therefore the ways of distribution that file allocation is suitable neatly, and then cause network congestion, reduce the performance of CDN system.
The embodiment of the present invention provides a kind of CDN document distribution method, can according to the attribute of file, be the ways of distribution that file allocation is suitable neatly, and then alleviate network congestion, has promoted the performance of CDN system.
First, file distributing control centre obtains file to be distributed.
Concrete, file to be distributed at least comprises multimedia file, and the quantity of file to be distributed is more than or equal to one, and the present invention does not limit.
S102, file distributing control centre are pre-stored in the listed files in file distributing control centre, judge that whether file to be distributed meets first pre-conditioned, and wherein, first pre-conditionedly comprises file to be distributed for listed files.
In file distributing control centre, get after file to be distributed, file distributing control centre can be according to the listed files being pre-stored in file distributing control centre, judge that whether file to be distributed meets first pre-conditioned, wherein, first pre-conditionedly comprises file to be distributed for listed files.
It should be noted that, the first pre-conditioned implication that comprises file to be distributed for listed files specifically: the file to be distributed that file distributing control centre adopts the form distribution of document list of active push to comprise.Meet the first pre-conditioned file, the file that can find in listed files, file distributing control centre can adopt the form distribution of active push.
Exemplary, file distributing control centre gets 10 files to be distributed, and according to the listed files being pre-stored in file distributing control centre, whether the information such as title that judge successively these 10 files to be distributed can inquire in the listed files in being pre-stored in file distributing control centre, judge that thus whether these 10 files to be distributed meet first pre-conditioned.
Concrete, the how spanned file list of file distributing control centre, and how according to being pre-stored in the listed files in file distributing control centre, judge whether file to be distributed meets the first pre-conditioned method and will be described in detail in the following embodiments, repeats no more herein.
If it is first pre-conditioned that S103 file to be distributed meets, file distributing control centre sends initiatively download instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node.
In file distributing control centre, basis is pre-stored in the listed files in file distributing control centre, judge file to be distributed whether meet first pre-conditioned after, if it is first pre-conditioned that file to be distributed meets, file distributing control centre sends active download instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node.
It should be noted that, file to be distributed meets the first pre-conditioned file distributing control centre that is used to indicate can find file to be distributed in listed files, and therefore, file distributing control centre can adopt the form of active push to send file to be distributed.
If it is first pre-conditioned that S104 file to be distributed does not meet, file distributing control centre receives the drop-down request that fringe node sends, and wherein, drop-down request is used to indicate fringe node request and downloads file to be distributed from memory node.
A step arranged side by side with step S103, in file distributing control centre, basis is pre-stored in the listed files in file distributing control centre, judge file to be distributed whether meet first pre-conditioned after, it is first pre-conditioned that file to be distributed does not meet, file distributing control centre receives the drop-down request that fringe node sends, wherein, drop-down request is used to indicate fringe node request and downloads file to be distributed from memory node.
S105, file distributing control centre, after receiving the drop-down request of fringe node transmission, send lower pull instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node.
It should be noted that, file to be distributed does not meet the first pre-conditioned file distributing control centre that is used to indicate cannot find file to be distributed in listed files, therefore, file distributing control centre can adopt passive drop-down form to send file to be distributed.File distributing control centre, after receiving the drop-down request of fringe node transmission, sends lower pull instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node.
A kind of CDN document distribution method that the embodiment of the present invention provides, is applied to content delivering system, and file distributing control centre obtains file to be distributed; File distributing control centre is according to being pre-stored in the listed files in file distributing control centre, judges whether file to be distributed meets first pre-conditioned, and wherein, first pre-conditionedly comprises file to be distributed for listed files; If it is first pre-conditioned that file to be distributed meets, file distributing control centre sends initiatively download instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node; If it is first pre-conditioned that file to be distributed does not meet, file distributing control centre receives the drop-down request that fringe node sends, and wherein, drop-down request is used to indicate fringe node request and downloads file to be distributed from memory node; File distributing control centre, after receiving the drop-down request of fringe node transmission, sends lower pull instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node.
Compare with the method for the ways of distribution distribution of document that in prior art, CDN system is single, pass through this method, file distributing control centre can be according to the listed files being pre-stored in file distributing control centre, judge that whether file to be distributed meets first pre-conditioned, if it is first pre-conditioned that file to be distributed meets, file distributing control centre sends active download instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node, if it is first pre-conditioned that file to be distributed does not meet, file distributing control centre can be passive transmission under pull instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node.Because file distributing control centre can be the ways of distribution that file allocation is suitable according to the state of text to be distributed, therefore can alleviate network congestion, promote the performance of CDN system.
Embodiment 2
The embodiment of the present invention provides a kind of CDN document distribution method, can be applied to memory node, and as shown in Figure 2, CDN document distribution method, comprising:
Described in obtaining, S201, file distributing control centre be pre-stored in the first data of the file in the listed files in described file distributing control centre.
In the prior art, the method for CDN system distribution of document adopts single ways of distribution, and ways of distribution is divided into two kinds conventionally: a kind of be core node by file active push to edge C DN node; Another kind is to receive after the drop-down request of certain file at core node, file is sent to the edge C DN node that sends drop-down request.Yet the method for the CDN system distribution of document providing due to prior art adopts single ways of distribution, cannot according to the state of file, be therefore the ways of distribution that file allocation is suitable neatly, and then cause network congestion, reduce the performance of CDN system.
The embodiment of the present invention provides a kind of CDN document distribution method, can according to the attribute of file, be the ways of distribution that file allocation is suitable neatly, and then alleviate network congestion, has promoted the performance of CDN system.
First, file distributing control centre is pre-stored in the first data of the file in the listed files in described file distributing control centre described in obtaining.
File distributing control centre stores the list of multimedia file to be distributed, comprises the relevant information of multimedia file to be distributed in list, such as: filename, memory location, file attribute, download time and download time, file keyword etc.Wherein, the first data at least comprise log statistic data and page exposure data, can obtain according to the associated information calculation of multimedia file.
S202, file distributing control centre analyze the first data, the listed files of Heat of Formation dot file, and focus file at least comprises the multimedia file of current time hot topic.
Wherein, the first data at least comprise log statistic data and page exposure data.
File distributing control centre analyzes the first data, the listed files of Heat of Formation dot file, and focus file at least comprises the multimedia file of current time hot topic.Because file distributing control centre need to distinguish file to be distributed, judge that file to be distributed need to adopt the mode of active push to send or passive drop-down mode is distributed, therefore, file distributing control centre need to analyze the first data, the listed files of Heat of Formation dot file, distinguishes file to be distributed thus.The embodiment of the present invention is to adopt the mode of active push, non-thermal dot file to adopt passive drop-down mode distribution of document based on focus file.
Concrete, file distributing control centre analyzes the first data, and the step S202 of the listed files of Heat of Formation dot file can comprise step S202a-S202c:
S202a, file distributing control centre, according to log statistic data and page exposure data, add up the visit capacity in the access sum of multimedia file, last access time or the first Preset Time section.
It should be noted that, file distributing control centre analyzes log statistic data and page exposure data, can draw the access of multimedia file, the number of times of downloading, watch, collecting, the finally time of access, and the visit capacity in the first Preset Time section.Wherein, the first Preset Time section is a period of time that default is good; Visit capacity in the first Preset Time section was illustrated in this period of time, accessed the total amount of this multimedia file, for example, and 24 hours visit capacities with inner multimedia file A, or the visit capacity of 1 month inner multimedia file B.
You need to add is that, in order to improve the accuracy of judging focus file, file distributing control centre can add up the access sum of multimedia file, last access time simultaneously, and first visit capacity in Preset Time section, not merely be confined to wherein a kind of data of statistics, the present invention does not limit.
If the access sum of S202b multimedia file is more than or equal to the first default thresholding, or the last access time of multimedia file is less than or equal to the second default thresholding, or the visit capacity in the first Preset Time section of multimedia file is more than or equal to the 3rd default thresholding, and multimedia file is focus file.
When judging whether file distributing control centre is focus file, if the access sum of multimedia file is more than or equal to the first default thresholding, or the last access time of multimedia file is less than or equal to the second default thresholding, be multimedia file last access time from time of current time very close to, or the visit capacity in the first Preset Time section of multimedia file is more than or equal to the 3rd default thresholding, and can judge multimedia file is focus file.
The listed files of S202c, file distributing control centre Heat of Formation dot file.
The listed files of S203, file distributing control centre storage focus file.
After the listed files of file distributing control centre Heat of Formation dot file, the listed files of file distributing control centre storage focus file.
S204, file distributing control centre obtain file to be distributed.
Concrete, file to be distributed at least comprises multimedia file, and the quantity of file to be distributed is more than or equal to one, and the present invention does not limit.
S205, file distributing control centre be according to being pre-stored in the listed files in file distributing control centre, judges whether file to be distributed meets first pre-conditioned, and wherein, first pre-conditionedly comprises file to be distributed for listed files.
Wherein, be pre-stored in the listed files that listed files in file distributing control centre at least comprises focus file.
Concrete, file distributing control centre, according to being pre-stored in the listed files in file distributing control centre, judges whether file to be distributed meets the first pre-conditioned step S205 and can comprise step S205a and S205b:
S205a, file distributing control centre read the listed files being pre-stored in file distributing control centre.
File in S205b, the inquiry file list of file distributing control centre, judges whether listed files comprises file to be distributed.
After file distributing control centre reads the listed files being pre-stored in file distributing control centre, file distributing control centre can inquiry file list, obtains the fileinfo in listed files, judges whether listed files comprises file to be distributed.
Exemplary, file distributing control centre gets 10 files to be distributed, and according to the listed files being pre-stored in file distributing control centre, whether the information such as title that judge successively these 10 files to be distributed can inquire in the listed files in being pre-stored in file distributing control centre, judge that thus whether these 10 files to be distributed meet first pre-conditioned.
If it is first pre-conditioned that S206 file to be distributed meets, file distributing control centre sends initiatively download instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node.
In file distributing control centre, basis is pre-stored in the listed files in file distributing control centre, judge file to be distributed whether meet first pre-conditioned after, if it is first pre-conditioned that file to be distributed meets, file distributing control centre sends active download instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node.
It should be noted that, file to be distributed meets the first pre-conditioned file distributing control centre that is used to indicate can find file to be distributed in listed files, and therefore, file distributing control centre can adopt the form of active push to send file to be distributed.
If it is first pre-conditioned that S207 file to be distributed does not meet, file distributing control centre receives the drop-down request that fringe node sends, and wherein, drop-down request is used to indicate fringe node request and downloads file to be distributed from memory node.
A step arranged side by side with step S103, in file distributing control centre, basis is pre-stored in the listed files in file distributing control centre, judge file to be distributed whether meet first pre-conditioned after, it is first pre-conditioned that file to be distributed does not meet, file distributing control centre receives the drop-down request that fringe node sends, wherein, drop-down request is used to indicate fringe node request and downloads file to be distributed from memory node.
It should be noted that, file to be distributed does not meet the first pre-conditioned file distributing control centre that is used to indicate can not find file to be distributed in listed files.
You need to add is that, if it is first pre-conditioned that file to be distributed does not meet, file distributing control centre can initiatively not distribute file to be distributed to fringe node, only have when user is during to fringe node request this document, fringe node can produce MISS daily record, and send drop-down request to file distributing control centre, wherein, drop-down request is used to indicate fringe node request and downloads file to be distributed from memory node.
S208, file distributing control centre, after receiving the drop-down request of fringe node transmission, send lower pull instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node.
It should be noted that, file to be distributed does not meet the first pre-conditioned file distributing control centre that is used to indicate cannot find file to be distributed in listed files, therefore, file distributing control centre can adopt passive drop-down form to send file to be distributed.File distributing control centre, after receiving the drop-down request of fringe node transmission, sends lower pull instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node.
A kind of CDN document distribution method that the embodiment of the present invention provides, is applied to content delivering system, and file distributing control centre obtains file to be distributed; File distributing control centre is according to being pre-stored in the listed files in file distributing control centre, judges whether file to be distributed meets first pre-conditioned, and wherein, first pre-conditionedly comprises file to be distributed for listed files; If it is first pre-conditioned that file to be distributed meets, file distributing control centre sends initiatively download instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node; If it is first pre-conditioned that file to be distributed does not meet, file distributing control centre receives the drop-down request that fringe node sends, and wherein, drop-down request is used to indicate fringe node request and downloads file to be distributed from memory node; File distributing control centre, after receiving the drop-down request of fringe node transmission, sends lower pull instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node.
Compare with the method for the ways of distribution distribution of document that in prior art, CDN system is single, pass through this method, file distributing control centre can be according to the listed files being pre-stored in file distributing control centre, judge that whether file to be distributed meets first pre-conditioned, if it is first pre-conditioned that file to be distributed meets, file distributing control centre sends active download instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node, if it is first pre-conditioned that file to be distributed does not meet, file distributing control centre can be passive transmission under pull instruction to fringe node, so that fringe node is downloaded file to be distributed from memory node.Because file distributing control centre can be the ways of distribution that file allocation is suitable according to the state of text to be distributed, therefore can alleviate network congestion, promote the performance of CDN system.
Embodiment 3
The embodiment of the present invention provides a kind of file distributing control centre, is applied to content delivering system, and as shown in Figure 3, described file distributing control centre comprises:
The first acquisition module 10, for obtaining file to be distributed.
Judge module 11, for according to the listed files that is pre-stored in described file distributing control centre, judges whether described file to be distributed meets first pre-conditioned, and wherein, described first pre-conditionedly comprises described file to be distributed for described listed files.
The first sending module 12, if meet described first pre-conditionedly for described file to be distributed, sends initiatively download instruction to fringe node, so that described fringe node is downloaded described file to be distributed from memory node.
Receiver module 13, if do not meet described first pre-conditioned for described file to be distributed, receive the drop-down request that described fringe node sends, wherein, described drop-down request is used to indicate described fringe node request and downloads described file to be distributed from described memory node.
The second sending module 14, for receiving at described receiver module 13 after the drop-down request of described fringe node transmission, sends lower pull instruction to described fringe node, so that described fringe node is downloaded described file to be distributed from described memory node.
Further, described in, be pre-stored in the listed files that listed files in described file distributing control centre at least comprises focus file.
As shown in Figure 4, described file distributing control centre, also comprises:
The second acquisition module 15, before obtaining file to be distributed at described the first acquisition module 10, is pre-stored in the first data of the file in the listed files in described file distributing control centre described in obtaining.
Processing module 16, for analyzing described the first data, generates the listed files of described focus file, and described focus file at least comprises the multimedia file of current time hot topic.
Memory module 17, for storing the listed files of described focus file.
Further, described the first data at least comprise log statistic data and page exposure data.
As shown in Figure 5, described processing module 16, specifically comprises:
Statistical module 160, for according to log statistic data and page exposure data, adds up the visit capacity in the access sum of multimedia file, last access time or the first Preset Time section.
Process submodule 161, if the access sum for described multimedia file is more than or equal to the first default thresholding, or the last access time of described multimedia file is less than or equal to the second default thresholding, or the visit capacity in the first Preset Time section of described multimedia file is more than or equal to the 3rd default thresholding, and described multimedia file is focus file.
Generation module 162, for generating the listed files of described focus file.
Further, as shown in Figure 6, described judge module 11, specifically comprises:
Read module 110, for reading the listed files that is pre-stored in described file distributing control centre.
Judgement submodule 111, for inquiring about the file of described listed files, judges whether described listed files comprises described file to be distributed.
A kind of file distributing control centre that the embodiment of the present invention provides, is applied to content delivering system, and described file distributing control centre comprises: the first acquisition module, for obtaining file to be distributed; Judge module, for according to the listed files that is pre-stored in described file distributing control centre, judges whether described file to be distributed meets first pre-conditioned, and wherein, described first pre-conditionedly comprises described file to be distributed for described listed files; The first sending module, if meet described first pre-conditionedly for described file to be distributed, sends initiatively download instruction to fringe node, so that described fringe node is downloaded described file to be distributed from memory node; Receiver module, if do not meet described first pre-conditioned for described file to be distributed, receive the drop-down request that described fringe node sends, wherein, described drop-down request is used to indicate described fringe node request and downloads described file to be distributed from described memory node; The second sending module, for receiving at described receiver module after the drop-down request of described fringe node transmission, sends lower pull instruction to described fringe node, so that described fringe node is downloaded described file to be distributed from described memory node.
Compare with the method for the ways of distribution distribution of document that in prior art, CDN system is single, pass through this method, file distributing control centre can be according to the listed files being pre-stored in described file distributing control centre, judge that whether described file to be distributed meets first pre-conditioned, if it is first pre-conditioned that described file to be distributed meets, file distributing control centre sends active download instruction to fringe node, so that described fringe node is downloaded described file to be distributed from memory node, if it is first pre-conditioned that described file to be distributed does not meet, file distributing control centre can be passive transmission under pull instruction to described fringe node, so that described fringe node is downloaded described file to be distributed from described memory node.Because file distributing control centre can be the ways of distribution that file allocation is suitable according to the state of text to be distributed, therefore can alleviate network congestion, promote the performance of CDN system.
Embodiment 4
The embodiment of the present invention provides a kind of content delivering system, comprise the described file distributing control centre in above-described embodiment 3 with arbitrary feature of describing, with for storing the memory node of file to be distributed, and at least one is for downloading the fringe node of described file to be distributed.
Compare with the method for the ways of distribution distribution of document that in prior art, CDN system is single, pass through this method, file distributing control centre can be according to the listed files being pre-stored in described file distributing control centre, judge that whether described file to be distributed meets first pre-conditioned, if it is first pre-conditioned that described file to be distributed meets, file distributing control centre sends active download instruction to fringe node, so that described fringe node is downloaded described file to be distributed from memory node, if it is first pre-conditioned that described file to be distributed does not meet, file distributing control centre can be passive transmission under pull instruction to described fringe node, so that described fringe node is downloaded described file to be distributed from described memory node.Because file distributing control centre can be the ways of distribution that file allocation is suitable according to the state of text to be distributed, therefore can alleviate network congestion, promote the performance of CDN system.
Through the above description of the embodiments, those skilled in the art can be well understood to, for convenience and simplicity of description, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to device be divided into different functional modules, to complete all or part of function described above.The system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described module or unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining described integrated unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (9)

1. a CDN document distribution method, is characterized in that, is applied to content delivering system, and described method comprises:
File distributing control centre obtains file to be distributed;
Described file distributing control centre is according to the listed files being pre-stored in described file distributing control centre, judge that whether described file to be distributed meets first pre-conditioned, wherein, described first pre-conditionedly comprises described file to be distributed for described listed files;
If described file to be distributed meets described first pre-conditioned, described file distributing control centre sends initiatively download instruction to fringe node, so that described fringe node is downloaded described file to be distributed from memory node;
If described file to be distributed does not meet described first pre-conditioned, described file distributing control centre receives the drop-down request that described fringe node sends, wherein, described drop-down request is used to indicate described fringe node request and downloads described file to be distributed from described memory node;
Described file distributing control centre, after receiving the drop-down request that described fringe node sends, sends lower pull instruction to described fringe node, so that described fringe node is downloaded described file to be distributed from described memory node.
2. CDN document distribution method according to claim 1, is characterized in that, described in be pre-stored in the listed files that listed files in described file distributing control centre at least comprises focus file;
Before described file distributing control centre obtains file to be distributed, described method also comprises:
Described in obtaining, described file distributing control centre is pre-stored in the first data of the file in the listed files in described file distributing control centre;
Described file distributing control centre analyzes described the first data, generates the listed files of described focus file, and described focus file at least comprises the multimedia file of current time hot topic;
Described file distributing control centre stores the listed files of described focus file.
3. CDN document distribution method according to claim 2, is characterized in that, described the first data at least comprise log statistic data and page exposure data;
Described file distributing control centre analyzes described the first data, generates the listed files of described focus file, specifically comprises:
Described file distributing control centre is according to log statistic data and page exposure data, the visit capacity in the access sum of statistics multimedia file, last access time or the first Preset Time section;
If the access sum of described multimedia file is more than or equal to the first default thresholding, or the last access time of described multimedia file is less than or equal to the second default thresholding, or the visit capacity in the first Preset Time section of described multimedia file is more than or equal to the 3rd default thresholding, and described multimedia file is focus file;
Described file distributing control centre generates the listed files of described focus file.
4. CDN document distribution method according to claim 1, it is characterized in that, described file distributing control centre is according to the listed files being pre-stored in described file distributing control centre, judges whether described file to be distributed meets first pre-conditioned, specifically comprises:
Described file distributing control centre reads the listed files being pre-stored in described file distributing control centre;
The file in described listed files is inquired about by described file distributing control centre, judges whether described listed files comprises described file to be distributed.
5.Yi Zhong file distributing control centre, is characterized in that, is applied to content delivering system, and described file distributing control centre comprises:
The first acquisition module, for obtaining file to be distributed;
Judge module, for according to the listed files that is pre-stored in described file distributing control centre, judges whether described file to be distributed meets first pre-conditioned, and wherein, described first pre-conditionedly comprises described file to be distributed for described listed files;
The first sending module, if meet described first pre-conditionedly for described file to be distributed, sends initiatively download instruction to fringe node, so that described fringe node is downloaded described file to be distributed from memory node;
Receiver module, if do not meet described first pre-conditioned for described file to be distributed, receive the drop-down request that described fringe node sends, wherein, described drop-down request is used to indicate described fringe node request and downloads described file to be distributed from described memory node;
The second sending module, for receiving at described receiver module after the drop-down request of described fringe node transmission, sends lower pull instruction to described fringe node, so that described fringe node is downloaded described file to be distributed from described memory node.
6. file distributing according to claim 5 control centre, is characterized in that, described in be pre-stored in the listed files that listed files in described file distributing control centre at least comprises focus file;
Described file distributing control centre, also comprises:
The second acquisition module, before obtaining file to be distributed at described the first acquisition module, is pre-stored in the first data of the file in the listed files in described file distributing control centre described in obtaining;
Processing module, for analyzing described the first data, generates the listed files of described focus file, and described focus file at least comprises the multimedia file of current time hot topic;
Memory module, for storing the listed files of described focus file.
7. file distributing according to claim 6 control centre, is characterized in that, described the first data at least comprise log statistic data and page exposure data;
Described processing module, specifically comprises:
Statistical module, for according to log statistic data and page exposure data, adds up the visit capacity in the access sum of multimedia file, last access time or the first Preset Time section;
Process submodule, if the access sum for described multimedia file is more than or equal to the first default thresholding, or the last access time of described multimedia file is less than or equal to the second default thresholding, or the visit capacity in the first Preset Time section of described multimedia file is more than or equal to the 3rd default thresholding, and described multimedia file is focus file;
Generation module, for generating the listed files of described focus file.
8. file distributing according to claim 5 control centre, is characterized in that, described judge module, specifically comprises:
Read module, for reading the listed files that is pre-stored in described file distributing control centre;
Judgement submodule, for inquiring about the file of described listed files, judges whether described listed files comprises described file to be distributed.
9. a content delivering system, it is characterized in that, comprise the file distributing control centre that has as described in any one in claim 5-8, for storing the memory node of file to be distributed and at least one for the fringe node of file to be distributed as described in downloading.
CN201310723904.2A 2013-12-24 2013-12-24 CDN file distribution method, control center and system Pending CN103747049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310723904.2A CN103747049A (en) 2013-12-24 2013-12-24 CDN file distribution method, control center and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310723904.2A CN103747049A (en) 2013-12-24 2013-12-24 CDN file distribution method, control center and system

Publications (1)

Publication Number Publication Date
CN103747049A true CN103747049A (en) 2014-04-23

Family

ID=50504036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310723904.2A Pending CN103747049A (en) 2013-12-24 2013-12-24 CDN file distribution method, control center and system

Country Status (1)

Country Link
CN (1) CN103747049A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038842A (en) * 2014-06-18 2014-09-10 百视通网络电视技术发展有限责任公司 Method and device for pre-fetching requested program information in CDN (Content Delivery Network) network
CN105045866A (en) * 2015-07-14 2015-11-11 深圳市云宙多媒体技术有限公司 Short-URL query-based CDN node hopping method and system
CN105812833A (en) * 2016-04-07 2016-07-27 网宿科技股份有限公司 File processing method and device
CN105959368A (en) * 2016-04-29 2016-09-21 成都信息工程大学 Social cloud hot spot resource prediction and disposition method
CN107277125A (en) * 2017-06-13 2017-10-20 网宿科技股份有限公司 File prefetched instruction method for pushing, device and file pre-fetching system
CN109241444A (en) * 2018-10-11 2019-01-18 平安科技(深圳)有限公司 Content recommendation method, device, equipment and storage medium based on state machine
CN111372095A (en) * 2018-12-25 2020-07-03 深圳市茁壮网络股份有限公司 Method and device for calculating heat degree

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080046596A1 (en) * 2002-07-11 2008-02-21 Afergan Michael M Method for caching and delivery of compressed content in a content delivery network
CN101345690A (en) * 2007-07-12 2009-01-14 中国电信股份有限公司 Contents grading memory of telecommunication level P2P network and transmission method
CN102404378A (en) * 2010-09-07 2012-04-04 成都索贝数码科技股份有限公司 Streaming media distribution and transmission network system
CN103281394A (en) * 2013-06-07 2013-09-04 北京奇虎科技有限公司 File acquiring method, node servers and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080046596A1 (en) * 2002-07-11 2008-02-21 Afergan Michael M Method for caching and delivery of compressed content in a content delivery network
CN101345690A (en) * 2007-07-12 2009-01-14 中国电信股份有限公司 Contents grading memory of telecommunication level P2P network and transmission method
CN102404378A (en) * 2010-09-07 2012-04-04 成都索贝数码科技股份有限公司 Streaming media distribution and transmission network system
CN103281394A (en) * 2013-06-07 2013-09-04 北京奇虎科技有限公司 File acquiring method, node servers and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038842A (en) * 2014-06-18 2014-09-10 百视通网络电视技术发展有限责任公司 Method and device for pre-fetching requested program information in CDN (Content Delivery Network) network
CN105045866A (en) * 2015-07-14 2015-11-11 深圳市云宙多媒体技术有限公司 Short-URL query-based CDN node hopping method and system
CN105812833A (en) * 2016-04-07 2016-07-27 网宿科技股份有限公司 File processing method and device
CN105959368A (en) * 2016-04-29 2016-09-21 成都信息工程大学 Social cloud hot spot resource prediction and disposition method
CN105959368B (en) * 2016-04-29 2019-04-02 成都信息工程大学 A kind of method of social activity cloud hot point resource prediction and deployment
CN107277125A (en) * 2017-06-13 2017-10-20 网宿科技股份有限公司 File prefetched instruction method for pushing, device and file pre-fetching system
CN109241444A (en) * 2018-10-11 2019-01-18 平安科技(深圳)有限公司 Content recommendation method, device, equipment and storage medium based on state machine
CN111372095A (en) * 2018-12-25 2020-07-03 深圳市茁壮网络股份有限公司 Method and device for calculating heat degree

Similar Documents

Publication Publication Date Title
CN103747049A (en) CDN file distribution method, control center and system
CN103747047A (en) CDN file storage method, file distribution control center and system thereof
CN103747112A (en) CDN back-to-source method, first server and system thereof
US9628582B2 (en) Social-driven precaching of accessible objects
CN103746934A (en) CDN bandwidth balancing method, CDN control center and system
CN103368986A (en) Information recommendation method and information recommendation device
CN101944124A (en) Distributed file system management method, device and corresponding file system
CN104462240A (en) Method and system for realizing hierarchical storage and management in cloud storage
CN102811371A (en) Method, system and device for recommending intelligent television application program
CN110740164B (en) Server determination method, regulation and control method, device, equipment and storage medium
US9292039B2 (en) Adaptive service timeouts
CN104113576A (en) Method and device for updating client
CN110620828A (en) File pushing method, system, device, electronic equipment and medium
CN102148870A (en) Cloud storage system and implementation method thereof
CN105049290A (en) Method and device for monitoring page access
CN103747276A (en) CDN data deletion method and CDN server
CN102930056A (en) Search method and search device for cloud storage system
CN105187514B (en) The management method and its system of cloud application program
CN104462096A (en) Public opinion monitoring and analysis method and device
CN106055706A (en) Cache resource storage method and device
CN104468330A (en) Data processing method and device of distributed information queue
CN102566942A (en) File striping writing method, device and system
CN103336670A (en) Method and device for automatic distribution of data blocks based on data temperature
CN105763616A (en) Resource-downloading method and device
CN103747043A (en) CDN server dispatching method, CDN control center and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160108

Address after: 100081 Beijing, Zhongguancun, South Street, No. 1, building 689, building 1153, No., No. 5

Applicant after: LETV CLOUD COMPUTING CO., LTD.

Address before: Room six, building 19, building 68, No. 100089 South Road, Haidian District, Beijing

Applicant before: LeTV Information Technology (Beijing) Co., Ltd.

RJ01 Rejection of invention patent application after publication

Application publication date: 20140423

RJ01 Rejection of invention patent application after publication