CN104796449B - Content delivery method, device and equipment - Google Patents

Content delivery method, device and equipment Download PDF

Info

Publication number
CN104796449B
CN104796449B CN201410028829.2A CN201410028829A CN104796449B CN 104796449 B CN104796449 B CN 104796449B CN 201410028829 A CN201410028829 A CN 201410028829A CN 104796449 B CN104796449 B CN 104796449B
Authority
CN
China
Prior art keywords
given content
content
user
information
given
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.)
Active
Application number
CN201410028829.2A
Other languages
Chinese (zh)
Other versions
CN104796449A (en
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.)
Tsinghua University
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tsinghua University
Tencent Technology Shenzhen 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 Tsinghua University, Tencent Technology Shenzhen Co Ltd filed Critical Tsinghua University
Priority to CN201410028829.2A priority Critical patent/CN104796449B/en
Publication of CN104796449A publication Critical patent/CN104796449A/en
Application granted granted Critical
Publication of CN104796449B publication Critical patent/CN104796449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a CDN (Content Delivery Network)-based content delivery method, a device and equipment, which belongs to the field of network service. The method comprises steps: related information of a specified content is acquired; according to the related information of the specified content, delivery parameters of the specified content are calculated; and the specified content is delivered according to the delivery parameters of the specified content. Through acquiring at least one kind of information from importance information of the specified content, user preference information and popularity information, the delivery parameters of the specified content are calculated, the specified content is delivered according to the calculated delivery parameters, the problem that system performance is not high as network contents are distributively stored in a plurality of edge servers according to a load balancing rule in the prior art can be solved, influences on content delivery by multiple factors are considered comprehensively, and effects of saving the processing resources and the bandwidth utilization rate of the server and improving system performance are achieved.

Description

Content distribution method, device and equipment
Technical field
The present invention relates to network service field, more particularly to a kind of content distribution method, device and equipment.
Background technology
CDN(Content Delivery Network, content distributing network)It is a kind of new network content service system, Its distribution and service that access to content and the efficiency requirements, quality requirement and content order offer content of application can be provided.
CDN disposes several Edge Servers everywhere according to actual geographic region in network, according to the principle of load balancing By Web content distributed storage in several Edge Servers.When content distribution is carried out, the dispatch server in CDN After user is received to the request of given content, and the be stored with given content closest with the user network is inquired about first Edge Server, and the request that will be received is redirected to the Edge Server for inquiring, the Edge Server inquired by this The given content is sent to user.
Realize it is of the invention during, inventor find prior art at least there is problems with:
CDN be affected by many factors during content distribution, such as the importance degree of content, user are to the preference of content Degree and content popularity degree etc., and existing CDN only in accordance with load balancing principle by Web content distributed storage In several Edge Servers, it is considered to which factor is single, systematic function is not high, such as, have that inquiring occurs in very big probability with The closest Edge Server of the user network situation still very high to the network delay of the user, so as to waste server Process resource and bandwidth availability ratio.
The content of the invention
In order to solve in the prior art only according to load balancing principle by Web content distributed storage on several sides Systematic function problem not high caused by edge server, the embodiment of the invention provides a kind of content distribution method, device And equipment.The technical scheme is as follows:
On the one hand, there is provided a kind of content distribution method based on CDN, methods described includes:
The relevant information of given content is obtained, the relevant information includes material information, user preference information and stream At least one in row information;The material information is used to characterize the significance level of the given content, and the user is inclined Good information is used to characterize the possibility of given content described in each user's request in presumptive area, and the popularity information is used for table Levy the given content requested possibility within a predetermined period of time;
The distribution parameters of given content described in associated information calculation according to the given content;
Distribution parameters according to the given content are distributed to the given content.
On the other hand, there is provided a kind of content delivering apparatus based on CDN, described device includes:
Data obtaining module, the relevant information for obtaining given content, the relevant information includes material information, uses At least one in family preference information and popularity information;The material information is used to characterize the important of the given content Degree, the user preference information is used to characterize the possibility of given content described in each user's request in presumptive area, described Popularity information is used to characterize the given content requested possibility within a predetermined period of time;
Parameter calculating module, the associated information calculation institute of the given content for being got according to described information acquisition module State the distribution parameters of given content;
Content distribution module, the distribution parameters pair of the given content for being calculated according to the parameter calculating module The given content is distributed.
Another further aspect, there is provided a kind of content distribution device based on CDN, the equipment includes:
Content delivering apparatus as described above.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
By at least one in the material information, user preference information and the popularity information that obtain given content simultaneously The distribution parameters of the given content are calculated, the given content is distributed according to the distribution parameters for calculating, solved existing Technology only according to load balancing principle by Web content distributed storage in several Edge Servers caused by system Performance problem not high, the material information, user preference information and popularity information with reference to given content are to given content It is distributed, influence of the comprehensive considering various effects to content distribution, the process resource and bandwidth of server is saved so as to reach Utilization rate, improves the effect of systematic function.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the content distribution flow chart in traditional CDN;
Fig. 2 is the content distribution flow chart in current CDN;
Fig. 3 is the method flow diagram of the content distribution method based on CDN that one embodiment of the invention is provided;
Fig. 4 is the method flow diagram of the content distribution method based on CDN that another embodiment of the present invention is provided;
Fig. 5 is the content distribution prediction schematic diagram that another embodiment of the present invention is provided;
Fig. 6 is the structure drawing of device of the content delivering apparatus based on CDN that one embodiment of the invention is provided;
Fig. 7 is the schematic device of the content delivering apparatus based on CDN that another embodiment of the present invention is provided;
Fig. 8 is the equipment pie graph of the content distribution device based on CDN that one embodiment of the invention is provided.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
The content distribution flow in content distribution flow and current CDN in traditional CDN is respectively such as Fig. 1 With shown in Fig. 2.Wherein, in the traditional content distribution flow shown in Fig. 1, content supplier generates content to be distributed, and The content of generation is sent to content distributing network CDN, the content is supplied to user by CDN.Wherein, user's request is complete Content generally synthesizes acquisition by some sub- contents, interior in the content distribution flow of traditional CDN by taking webpage as an example After some sub- contents are synthesized an entire Web page by appearance provider, the webpage is sent to CDN, is pressed the webpage by CDN According to load balancing principle distributed storage in several Edge Servers.When the user's request webpage, distance should in CDN User network is closest and the webpage is sent to user by Edge Server of the webpage that is stored with.
And in the current content distribution flow shown in Fig. 2, on the one hand, content supplier can according to 1. -2. -3. - 4. flow carries out some sub- contents of content distribution, i.e. content supplier's generation complete content, and enters to the sub- content After row respective handling, the sub- content is sent to CDN, when the user's request complete content, ustomer premises access equipment is obtained from CDN should Some sub- contents for being included in complete content are simultaneously synthesized, and will be synthesized the complete content for obtaining and are supplied to user, to complete The propagation of content, by taking webpage as an example, content supplier is sent to after some sub- content of one entire Web page is processed Be respectively stored in each sub- content in several Edge Servers by CDN, CDN, when the user's request entire Web page, CDN In Edge Server some sub- contents are supplied to ustomer premises access equipment respectively, synthesized by ustomer premises access equipment, and to User shows the entire Web page;On the other hand, during user can also participate in the generation of content and propagate, such as, user can be with Content distribution is carried out according to 1. -2. -3.-flow 4., or, user can also be according to 5.-flow 4., in generation is complete After some sub- contents held, not by CDN, the synthesis of content is directly carried out, and the complete content of synthesis is broadcast to other User.
As can be seen here, the content distribution flow of current CDN is compared with the content distribution flow in traditional CDN, Mainly there are 2 points of differences:First, some sub- content for constituting complete content is stored by different Edge Servers respectively, Content synthesis is carried out during user's request again;Second, user more and more participates in the generation and propagation of content, causes content distribution More and more influenceed by user.For above-mentioned first point difference, when content distribution is carried out, if being directed to each sub- content Respective handling is carried out, such as, the more important sub- content of priority treatment then contributes to lift the performance of CDN;For above-mentioned Second point is distinguished, when content distribution is carried out, if considering influence of the user behavior to content distribution, such as, it is considered to which user is internal Influence of the preference or user's popularity of appearance to content distribution, then similarly help to be lifted the performance of CDN.The present invention is following As a example by embodiment is by the popular influence to content distribution by the importance of content, user to the preference and content of content, The solution of the present invention is described in detail.
Fig. 3 is refer to, the method stream of the content distribution method based on CDN provided it illustrates one embodiment of the invention Cheng Tu.Given content is divided in the dispatch server that the content distribution method can be used in content distributing network CDN Hair.The content distribution method can include:
Step 102, obtains the relevant information of given content, and the relevant information includes material information, user preference information And at least one in popularity information;The material information is used to characterize the significance level of the given content, and the user is inclined Good information is used to characterize in presumptive area the possibility of each user's request given content, and the popularity information is used to characterize this Given content requested possibility within a predetermined period of time;
Step 104, the distribution parameters of the associated information calculation given content according to the given content;
Step 106, the distribution parameters according to the given content are distributed to the given content.
In sum, the content distribution method based on CDN provided in an embodiment of the present invention, by the weight for obtaining given content Distribution parameters that are at least one and calculating the given content in the property wanted information, user preference information and popularity information, root The given content is distributed according to the distribution parameters for calculating, solves prior art only according to the principle of load balancing by net The content distributed storage of network in several Edge Servers caused by systematic function problem not high, with reference to given content Material information, user preference information and popularity information are distributed to given content, and comprehensive considering various effects are internal Hold the influence of distribution, the process resource and bandwidth availability ratio of server are saved so as to reach, improve the effect of systematic function.
Fig. 4 is refer to, the method stream of the content distribution method based on CDN provided it illustrates another embodiment of the present invention Cheng Tu.Given content is divided in the dispatch server that the content distribution method can be used in content distributing network CDN Hair.The content distribution method can include:
Step 202, obtains the relevant information of given content, and the relevant information includes material information, user preference information And at least one in popularity information;
Wherein, the material information is used to characterize the significance level of the given content, and the user preference information is used to characterize The possibility of each user's request given content in presumptive area, the popularity information is used to characterize the given content predetermined Requested possibility in time period.
In method provided in an embodiment of the present invention, dispatch server can be according to the material information of given content, user Preference information and popularity information enter the calculating of line parameter and the distribution of content respectively.Specifically such as, given content is being calculated Distribution parameters when, dispatch server can according to the material information of the given content calculate the given content importance ginseng Number, the user preference information according to the given content calculates the user preference parameters of the given content, and/or, specified according to this The popularity information of content calculates the popular parameter of the given content.When being distributed to given content, dispatch server The request for obtaining the given content can be redirected according to the importance parameter of the given content, dispatch server can be with The importance parameter of the given content is sent to the Edge Server of the given content that is stored with, so as to the Edge Server root The request for obtaining the given content is processed according to the importance parameter of the execution content, dispatch server can refer to according to this The user preference parameters for determining content are disposed to the given content, and/or, dispatch server can be according to the given content Popular parameter carries out RSVP to the given content.The following step of the embodiment of the present invention will be to dispatch server according to weight The property wanted information, user preference information and popularity information enter line parameter calculating and content distribution is described respectively.
Step 204, when relevant information includes the material information, according to given content position within a context and The size of the given content calculates the importance parameter of the given content;
Wherein, material information includes that given content positional information within a context is big with the data of the given content It is small, when relevant information includes the material information, the position that dispatch server can be according to the given content within a context With the importance parameter that the size of the given content calculates the given content.
Specifically, when the content in network has context, the importance degree of the content is generally with the content upper Position and the size of the content hereinafter is relevant, by taking the exploitation of webpage as an example, may be comprising in many in a webpage Hold, such as picture, text, flash animation etc., developer is when webpage is developed, it will usually arrange more important content Conspicuous position in webpage, and the generally shared length of the important content is larger, such as, in webpage most important picture or Title text is usually placed in webpage top, and the font of dimension of picture or title text is generally larger.Dispatch server exists During the importance parameter of each content in calculating webpage, obtain first in positional information of each content in webpage and each Length size shared by the dimension information or text of the size information of appearance, such as picture, and according to a unified calculating plan Slightly calculate the importance parameter of each content.Such as, position of a certain content in webpage is more important, then the content is important Property parameter numerical value it is bigger, the shared size in webpage of the content or length size are bigger, then the content importance ginseng Several numerical value is bigger, and the importance parameter of the content is bigger, then show that the content is more important.
Step 206, the importance parameter according to the given content is distributed to the given content;
Dispatch server can receive the request for obtaining the given content, and will according to the importance parameter of the given content The request of the acquisition given content is redirected to corresponding Edge Server;
And/or,
The importance parameter of the given content can be sent to dispatch server the edge service for storing the given content Device, the request for obtaining the given content is received by the Edge Server of the given content that is stored with, according to this in a time slot Position of the request of the importance parameter determination of the given content acquisition given content in queue is processed, and according to the acquisition Position of the request of the given content in this place in reason queue processes the request of the acquisition given content, wherein, the treatment team Include each request that Edge Server is received in the time slot in row.
By taking the webpage comprising some contents as an example, when the user's request webpage, dispatch server is respectively received acquisition The request of each content in the webpage, and redirected according to the request that the importance parameter of each content will obtain each content To suitable Edge Server.Such as, it is assumed that have content a and content b, wherein, the importance parameter values of content a are larger, table Show that the importance of content a is higher, dispatch server the request for obtaining content a can be redirected to be stored with content a and with this The nearer Edge Server A of the network distance of user, and the importance parameter values of content b are smaller, represent the importance of content b It is relatively low, dispatch server the request for obtaining content b can be redirected to be stored with content b and with the network distance of the user Edge Server B farther out.There is provided importance content higher by using Edge Server faster, use slower edge Server provides importance relatively low content, so as to improve the utilization rate of the network bandwidth, optimization while Consumer's Experience is ensured Systematic function.
Likewise, by taking the webpage comprising some contents as an example, when the user's request webpage, dispatch server will can be somebody's turn to do The importance parameter of given content is sent to the Edge Server for storing the given content.Edge Server receives each scheduling During the request that server sends, can be asked according to the more important content of the importance parameter priority treatment of the content asked Ask, meanwhile, in order to avoid the situation that the corresponding request of the low content of importance cannot be processed for a long time always, Edge Server Can the time slot of length to schedule processed for unit.Specifically such as, Edge Server will connect in a time slot Each request received is added into treatment queue successively according to the importance parameter order from big to small of institute's request content, and to place Request in reason queue is processed successively.
Step 208, when relevant information includes the user preference information, according to the history of each user in presumptive area Request record calculates the user preference parameters of the given content;
Wherein, user preference information can include the historical requests record of each user in presumptive area, when the correlation When information includes the user preference information, dispatch server can be recorded according to the historical requests of the user of each in presumptive area Calculate the user preference parameters of the given content.Specifically, by taking a certain presumptive area as an example, the user in presumptive area u couples The preference coefficient of given content c can be calculated by formula 1 and obtained:
Wherein, U is the set of each user in presumptive area, and C is that each user in user set is asked The set of content, MicTo characterize the matrix of the single content c of each user's request in user's set, MujTo characterize user u requests The matrix of each content in properties collection, eucRepresent preference coefficients of the user u to given content c.
Calculate after obtaining unique user to the preference coefficient of given content, each user in presumptive area is interior to specifying The preference coefficient of appearance is summed up, that is, obtain user preference parameters of each user in the presumptive area to the given content.
Step 210, when the user preference parameters of the given content meet the predetermined condition, the given content is deployed to The corresponding Edge Server of the presumptive area;
Dispatch server can detect whether the user preference parameters of the given content meet predetermined condition, if testing result For the user preference parameters of the given content meet the predetermined condition, then the given content is deployed to the presumptive area corresponding Edge Server.
Wherein, the predetermined condition includes:The user preference parameters of the given content are more than predetermined threshold;And/or, this is specified The user preference parameters of content are located at top N in the user preference parameters ranking of each content, and N is positive integer.
In practical application, the content of each in network can be carried out unified plan by dispatch server according to regional, Specifically, dispatch server calculates user preference parameters of the user in regional to each content in network first, and User in regional is arranged the user preference parameters of each content in network according to order from big to small, and is pressed The order of phototypesetting row successively by corresponding content disposition to corresponding server, such as, it is assumed that user preference parameters VcrRepresent area , to the preference of content c, dispatch server is according to the order of arrangement successively by user preference parameters pair for each user in the r of domain The content c for answering is added in the corresponding Edge Servers of corresponding region r.It implements code can be as follows:
By the above method, given content is deployed to has the corresponding side in region of user preference parameters higher to it In edge server, so that there is the user in the region of user preference parameters higher can obtain nearby to given content referring to Determine content, while system service quality is improved, reduce system resources consumption, improve systematic function.
Step 212, when relevant information includes popularity information, the history according to the given content is requested number of times, is somebody's turn to do The quantity for listening to user of user and the average of the specified user is specified to be forwarded the popularity that ratio calculates the given content Parameter;
The popular of content can be predicted by sharing or forwarding the popularity of the user of the content.Such as Fig. 5 institutes Show, it illustrates the general thought that the distribution based on user profile to content is predicted.Wherein, CDN is based on online social activity Network carries out given content(Such as picture, video, blog or news etc.)Distribution when carry out usage mining, such as, and excavate Share or forward the social networks and Social behaviors of the user of the given content, the user in online social networks share or After forwarding the given content, distributions of the CDN to the given content carries out popular prediction, and according to predicting the outcome to given content Carry out follow-up distribution.
Specifically, the popularity information of given content can include the requested number of times of the history of the given content, specify and use The quantity for listening to user at family and the average of the specified user are forwarded ratio, when the relevant information includes popularity information When, dispatch server can according to the requested number of times of the history of the given content, the specified user the quantity for listening to user with And the average of the specified user is forwarded the popular parameter that ratio calculates the given content;
Wherein, the average ratio that is forwarded of the specified user is that the content that the specified user shares is forwarded number of times and quilt The ratio checked between number of times, the specified user is the user of the issue given content.
Specifically, whether given content can would generally receive following 2 factors by prevalence in the predetermined amount of time in future Influence:1)The requested number of times of given content history;2)Issue the popularity of the user of the given content.Therefore, scheduling clothes Business device can according to the following formula 2 calculate given contents popular parameter:
Wherein, x(c)Represent the popular parameter of content c, p(c)Represent the content requested number of times of c history, f(u)Represent The quantity for listening to user of user u, such as listen to the quantity of other users of the microblogging of user u, ρ(u)Represent that user u's is average It is forwarded ratio, s(c)Represent the set of user's composition of issue content c, 0 < α < 1, for equal sign the right in equation of equilibrium 3 Two in x(c)Shared proportion, wherein, α is configured by developer previously according to actual conditions.
Wherein, above-mentioned formula 2 shows that the requested number of times of content c history is more, the bean vermicelli number of the user u of issue content c The ratio that more, user u issues content is forwarded is higher, then x(c)Numerical value is bigger, and content c gets over and is possible at following one section It is popular in time.
Step 214, the reserved distribution bandwidth of the popular parameter setting given content according to the given content.
Specifically, when the popular parameter values of given content are larger, dispatch server can match somebody with somebody for the given content A larger reserved distribution bandwidth is put, when the popular parameter values of given content are smaller, dispatch server can be should Given content configures a less reserved distribution bandwidth or does not configure reserved distribution bandwidth.
Dispatch server can be that the given content reserves enough distribution bandwidths according to the popular sex index of given content, Avoid given content distribution bandwidth caused by following predetermined amount of time internal cause request amount rapid growth not enough, so as to carry The performance of content delivering system high.
In sum, the content distribution method based on CDN provided in an embodiment of the present invention, by the weight for obtaining given content Distribution parameters that are at least one and calculating the given content in the property wanted information, user preference information and popularity information, root The given content is distributed according to the distribution parameters for calculating, solves prior art only according to the principle of load balancing by net The content distributed storage of network in several Edge Servers caused by systematic function problem not high, with reference to given content Material information, user preference information and popularity information are distributed to given content, and comprehensive considering various effects are internal Hold the influence of distribution, the process resource and bandwidth availability ratio of server are saved so as to reach, improve the effect of systematic function.
Further, the content distribution method based on CDN provided in an embodiment of the present invention, by the weight according to given content The property wanted information calculates the importance parameter of given content, and according to the importance parameter of given content according to the weight of the given content The property wanted parameter is redirected to the request for obtaining the given content, and it is higher to provide importance using Edge Server faster Content, provides importance relatively low content using slower Edge Server, so as to improve net while Consumer's Experience is ensured The utilization rate of network bandwidth, optimizes systematic function.
Additionally, the content distribution method based on CDN provided in an embodiment of the present invention, by the importance according to given content Information calculates the importance parameter of given content, and the importance parameter of the given content is sent to the side for storing the given content Edge server, the request for obtaining the given content is received by the Edge Server of the given content that is stored with a time slot, Position of the request of importance parameter determination according to the given content acquisition given content in queue is processed, and according to Position of the request of the acquisition given content in this place in reason queue processes the request of the acquisition given content, by making side The request of the edge server priority content higher to importance is processed, and improves the service quality of content delivering system.
In addition, the content distribution method based on CDN provided in an embodiment of the present invention, by according to each in presumptive area The historical requests record of user calculates the user preference parameters of the given content, when the user preference parameters of the given content meet During the predetermined condition, the given content is deployed to the corresponding Edge Server of the presumptive area, make to given content have compared with User in the region of user preference parameters high can nearby obtain given content, while system service quality is improved, System resources consumption is reduced, systematic function is improved.
Finally, the content distribution method based on CDN provided in an embodiment of the present invention, by the history according to the given content Requested number of times, the quantity for listening to user of the specified user and the specified user it is average be forwarded ratio and calculate this specify The popular parameter of content, the reserved distribution bandwidth of the popular parameter setting given content according to the given content, it is to avoid Given content distribution bandwidth caused by following predetermined amount of time internal cause request amount rapid growth is not enough, reaches further Improve the effect of the performance of content delivering system.
Fig. 6 is refer to, the device knot of the content delivering apparatus based on CDN provided it illustrates one embodiment of the invention In composition, the content delivering apparatus can be used for performing content distribution method as shown in Figure 3 or Figure 4.This is based on the content of CDN Dispensing device can include:
Data obtaining module 301, the relevant information for obtaining given content, the relevant information is believed including importance At least one in breath, user preference information and popularity information;The material information is used to characterize the given content Significance level, the user preference information is used to characterize the possibility of given content described in each user's request in presumptive area Property, the popularity information is used to characterize the given content requested possibility within a predetermined period of time;
Parameter calculating module 302, the relevant information of the given content for being got according to described information acquisition module 301 Calculate the distribution parameters of the given content;
Content distribution module 303, the distribution of the given content for being calculated according to the parameter calculating module 302 Parameter is distributed to the given content.
In sum, the content delivering apparatus based on CDN provided in an embodiment of the present invention, by the weight for obtaining given content Distribution parameters that are at least one and calculating the given content in the property wanted information, user preference information and popularity information, root The given content is distributed according to the distribution parameters for calculating, solves prior art only according to the principle of load balancing by net The content distributed storage of network in several Edge Servers caused by systematic function problem not high, with reference to given content Material information, user preference information and popularity information are distributed to given content, and comprehensive considering various effects are internal Hold the influence of distribution, the process resource and bandwidth availability ratio of server are saved so as to reach, improve the effect of systematic function.
Fig. 7 is refer to, the device knot of the content delivering apparatus based on CDN provided it illustrates another embodiment of the present invention In composition, the content delivering apparatus can be used for performing content distribution method as shown in Figure 3 or Figure 4.This is based on the content of CDN Dispensing device can include:
Data obtaining module 401, the relevant information for obtaining given content, the relevant information is believed including importance At least one in breath, user preference information and popularity information;The material information is used to characterize the given content Significance level, the user preference information is used to characterize the possibility of given content described in each user's request in presumptive area Property, the popularity information is used to characterize the given content requested possibility within a predetermined period of time;
Parameter calculating module 402, the relevant information of the given content for being got according to described information acquisition module 401 Calculate the distribution parameters of the given content;
Content distribution module 403, the distribution of the given content for being calculated according to the parameter calculating module 402 Parameter is distributed to the given content.
The parameter calculating module 402, including:
First computing unit 402a, for including the material information and the material information when the relevant information During size of data including given content positional information within a context and the given content, according in described specifying The size for holding position within a context and the given content calculates the importance parameter of the given content.
The content distribution module 403, including:
Request reception unit 403a, the request of the given content is obtained for receiving;
Unit 403b is redirected, the given content is obtained by described for the importance parameter according to the given content Request be redirected to corresponding Edge Server;
Transmitting element 403c, the side of the given content is stored for the importance parameter of the given content to be sent to Edge server, is received in a time slot by the Edge Server of the given content that is stored with and obtains asking for the given content Ask, position of the request of the given content in queue is processed is obtained described in the importance parameter determination according to the given content Put, and position treatment according to the request for obtaining the given content in the treatment queue is described obtains described specifying The request of content, wherein, each request received in the time slot is included in the treatment queue.
The parameter calculating module 402, including:
Second computing unit 402b, for including the user preference information and the user preference when the relevant information When information includes that the historical requests of each user in the presumptive area are recorded, according to each user in the presumptive area Historical requests record calculate the user preference parameters of the given content.
The content distribution module 403, including:
Whether detection unit 403d, the user preference parameters for detecting the given content meet predetermined condition;
Content disposition unit 403e, if meeting described pre- for the user preference parameters that testing result is the given content Fixed condition, then be deployed to the corresponding Edge Server of the presumptive area by the given content;
The predetermined condition includes:
The user preference parameters of the given content are more than predetermined threshold;And/or, the user preference ginseng of the given content Number is located at top N in the user preference parameters ranking of each content, and N is positive integer.
The parameter calculating module 402, including:
3rd computing unit 402c, for including that popularity information and the popularity information include when the relevant information The averagely quilt of the requested number of times of the history of the given content, the quantity for listening to user of specified user and the specified user During forwarding ratio, the requested number of times of history according to the given content, the quantity for listening to user of the specified user and The average of the specified user is forwarded the popular parameter that ratio calculates the given content;
Wherein, the average ratio that is forwarded of the specified user is that the content that the specified user shares is forwarded number of times With checked the ratio between number of times, the specified user is the user of the issue given content.
The content distribution module 403, including:
Setting unit 403f, for reserved point of given content described in the popular parameter setting according to the given content Hair band is wide.
In sum, the content delivering apparatus based on CDN provided in an embodiment of the present invention, by the weight for obtaining given content Distribution parameters that are at least one and calculating the given content in the property wanted information, user preference information and popularity information, root The given content is distributed according to the distribution parameters for calculating, solves prior art only according to the principle of load balancing by net The content distributed storage of network in several Edge Servers caused by systematic function problem not high, with reference to given content Material information, user preference information and popularity information are distributed to given content, and comprehensive considering various effects are internal Hold the influence of distribution, the process resource and bandwidth availability ratio of server are saved so as to reach, improve the effect of systematic function.
Further, the content delivering apparatus based on CDN provided in an embodiment of the present invention, by the weight according to given content The property wanted information calculates the importance parameter of given content, and according to the importance parameter of given content according to the weight of the given content The property wanted parameter is redirected to the request for obtaining the given content, and it is higher to provide importance using Edge Server faster Content, provides importance relatively low content using slower Edge Server, so as to improve net while Consumer's Experience is ensured The utilization rate of network bandwidth, optimizes systematic function.
Additionally, the content delivering apparatus based on CDN provided in an embodiment of the present invention, by the importance according to given content Information calculates the importance parameter of given content, and the importance parameter of the given content is sent to the side for storing the given content Edge server, the request for obtaining the given content is received by the Edge Server of the given content that is stored with a time slot, Position of the request of importance parameter determination according to the given content acquisition given content in queue is processed, and according to Position of the request of the acquisition given content in this place in reason queue processes the request of the acquisition given content, by making side The request of the edge server priority content higher to importance is processed, and improves the service quality of content delivering system.
In addition, the content delivering apparatus based on CDN provided in an embodiment of the present invention, by according to each in presumptive area The historical requests record of user calculates the user preference parameters of the given content, when the user preference parameters of the given content meet During the predetermined condition, the given content is deployed to the corresponding Edge Server of the presumptive area, make to given content have compared with User in the region of user preference parameters high can nearby obtain given content, while system service quality is improved, System resources consumption is reduced, systematic function is improved.
Finally, the content delivering apparatus based on CDN provided in an embodiment of the present invention, by the history according to the given content Requested number of times, the quantity for listening to user of the specified user and the specified user it is average be forwarded ratio and calculate this specify The popular parameter of content, the reserved distribution bandwidth of the popular parameter setting given content according to the given content, it is to avoid Given content distribution bandwidth caused by following predetermined amount of time internal cause request amount rapid growth is not enough, is carried so as to reach The effect of the performance of content delivering system high.
Fig. 8 is refer to, the equipment structure of the content distribution device based on CDN provided it illustrates one embodiment of the invention Cheng Tu.The content distribution device can be implemented as the dispatch server in content distributing network CDN, for performing such as Fig. 3 or Fig. 4 Shown content distribution method.The content distribution device for being based on CDN can include:
The content delivering apparatus 001 based on CDN as is seen in fig. 6 or fig. 7.
In sum, the content distribution device based on CDN provided in an embodiment of the present invention, by the weight for obtaining given content Distribution parameters that are at least one and calculating the given content in the property wanted information, user preference information and popularity information, root The given content is distributed according to the distribution parameters for calculating, solves prior art only according to the principle of load balancing by net The content distributed storage of network in several Edge Servers caused by systematic function problem not high, with reference to given content Material information, user preference information and popularity information are distributed to given content, and comprehensive considering various effects are internal Hold the influence of distribution, the process resource and bandwidth availability ratio of server are saved so as to reach, improve the effect of systematic function.
Further, the content distribution device based on CDN provided in an embodiment of the present invention, by the weight according to given content The property wanted information calculates the importance parameter of given content, and according to the importance parameter of given content according to the weight of the given content The property wanted parameter is redirected to the request for obtaining the given content, and it is higher to provide importance using Edge Server faster Content, provides importance relatively low content using slower Edge Server, so as to improve net while Consumer's Experience is ensured The utilization rate of network bandwidth, optimizes systematic function.
Additionally, the content distribution device based on CDN provided in an embodiment of the present invention, by the importance according to given content Information calculates the importance parameter of given content, and the importance parameter of the given content is sent to the side for storing the given content Edge server, the request for obtaining the given content is received by the Edge Server of the given content that is stored with a time slot, Position of the request of importance parameter determination according to the given content acquisition given content in queue is processed, and according to Position of the request of the acquisition given content in this place in reason queue processes the request of the acquisition given content, by making side The request of the edge server priority content higher to importance is processed, and improves the service quality of content delivering system.
In addition, the content distribution device based on CDN provided in an embodiment of the present invention, by according to each in presumptive area The historical requests record of user calculates the user preference parameters of the given content, when the user preference parameters of the given content meet During the predetermined condition, the given content is deployed to the corresponding Edge Server of the presumptive area, make to given content have compared with User in the region of user preference parameters high can nearby obtain given content, while system service quality is improved, System resources consumption is reduced, systematic function is improved.
Finally, the content distribution device based on CDN provided in an embodiment of the present invention, by the history according to the given content Requested number of times, the quantity for listening to user of the specified user and the specified user it is average be forwarded ratio and calculate this specify The popular parameter of content, the reserved distribution bandwidth of the popular parameter setting given content according to the given content, it is to avoid Given content distribution bandwidth caused by following predetermined amount of time internal cause request amount rapid growth is not enough, reaches further Improve the effect of the performance of content delivering system.
It should be noted that:Above-described embodiment provide the content delivering apparatus based on CDN when content distribution is carried out, only Carried out with the division of above-mentioned each functional module for example, in practical application, can as needed and by above-mentioned functions distribution by Different functional module is completed, will the internal structure of device be divided into different functional modules, it is described above complete to complete Portion or partial function.In addition, the content delivering apparatus based on CDN and the content distribution based on CDN of above-described embodiment offer Embodiment of the method belongs to same design, and it implements process and refers to embodiment of the method, repeats no more here.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware To complete, it is also possible to instruct the hardware of correlation to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all it is of the invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (9)

1. a kind of content distribution method based on CDN, it is characterised in that methods described includes:
The relevant information of given content is obtained, the relevant information includes material information, user preference information and popularity At least one in information;The material information is used to characterize the significance level of the given content, the user preference letter The possibility for characterizing given content described in each user's request in presumptive area is ceased, the popularity information is used to characterize institute State given content requested possibility within a predetermined period of time;
The distribution parameters of given content described in associated information calculation according to the given content;
Distribution parameters according to the given content are distributed to the given content;
Wherein, when the relevant information includes the user preference information and the user preference information includes the presumptive area When the historical requests of each interior user are recorded, the given content according to the associated information calculation of the given content Distribution parameters, including:
Historical requests record according to each user in the presumptive area calculates the user preference parameters of the given content;
Wherein, the distribution parameters of the given content according to the associated information calculation of the given content, including:
When the relevant information is including popularity information and the popularity information includes that the history of the given content is requested When being averagely forwarded ratio of number of times, the quantity for listening to user for specifying user and the specified user, specifies according to described Average being forwarded of the history of content requested number of times, the quantity for listening to user of the specified user and the specified user Ratio calculates the popular parameter of the given content;
Wherein, the average ratio that is forwarded of the specified user is that the content that the specified user shares is forwarded number of times and quilt The ratio checked between number of times, the specified user is the user of the issue given content;
Wherein, the distribution parameters according to the given content are distributed to the given content, including:
The reserved distribution bandwidth of given content according to the popular parameter setting of the given content.
2. method according to claim 1, it is characterised in that the associated information calculation institute according to the given content The distribution parameters of given content are stated, including:
When the relevant information is including the material information and the material information includes the given content in context In positional information and the given content size of data when, according to given content position within a context and described The size of given content calculates the importance parameter of the given content.
3. method according to claim 2, it is characterised in that the distribution parameters according to the given content are to described Given content is distributed, including:
Receive the request for obtaining the given content;Importance parameter according to the given content obtains described specifying by described The request of content is redirected to corresponding Edge Server;
And/or,
The importance parameter of the given content is sent to the Edge Server for storing the given content, it is described by being stored with The Edge Server of given content receives the request for obtaining the given content in a time slot, according to the given content Position of the request of the given content in queue is processed is obtained described in importance parameter determination, and according to the acquisition The position treatment request that obtains the given content of the request of given content in the treatment queue, wherein, it is described Include each request received in the time slot in treatment queue.
4. the method according to the claim 1, it is characterised in that the distribution parameters pair according to the given content The given content is distributed, including:
Detect whether the user preference parameters of the given content meet predetermined condition;
If the user preference parameters that testing result is the given content meet the predetermined condition, by the given content portion Affix one's name to the corresponding Edge Server of the presumptive area;
The predetermined condition includes:
The user preference parameters of the given content are more than predetermined threshold;And/or, the user preference parameters of the given content exist Top N is located in the user preference parameters ranking of each content, N is positive integer.
5. a kind of content delivering apparatus based on CDN, it is characterised in that described device includes:
Data obtaining module, the relevant information for obtaining given content, the relevant information includes that material information, user are inclined At least one in good information and popularity information;The material information is used to characterize the important journey of the given content Degree, the user preference information is used to characterize the possibility of given content described in each user's request in presumptive area, the stream Row information is used to characterize the given content requested possibility within a predetermined period of time;
Parameter calculating module, for the given content got according to described information acquisition module associated information calculation described in refer to Determine the distribution parameters of content;
Content distribution module, for the distribution parameters of the given content that are calculated according to the parameter calculating module to described Given content is distributed;
Wherein, the parameter calculating module, including:
Second computing unit, for including that the user preference information and the user preference information include when the relevant information When the historical requests of each user in the presumptive area are recorded, the history according to each user in the presumptive area please Record is asked to calculate the user preference parameters of the given content;
Wherein, the parameter calculating module, including:
3rd computing unit, for when the relevant information is including popularity information and the popularity information includes described specifying The requested number of times of the history of content, the quantity for listening to user for specifying user and the average of the specified user are forwarded ratio When, the requested number of times of history according to the given content, the quantity for listening to user of the specified user and described specify The average of user is forwarded the popular parameter that ratio calculates the given content;
Wherein, the average ratio that is forwarded of the specified user is that the content that the specified user shares is forwarded number of times and quilt The ratio checked between number of times, the specified user is the user of the issue given content;
Wherein, the content distribution module, including:
Setting unit, for the reserved distribution bandwidth of given content described in the popular parameter setting according to the given content.
6. device according to claim 5, it is characterised in that the parameter calculating module, including:
First computing unit, for include that the material information and the material information include described when the relevant information During the size of data of given content positional information within a context and the given content, according to the given content upper and lower The size of position and the given content in text calculates the importance parameter of the given content.
7. device according to claim 6, it is characterised in that the content distribution module, including:
Request reception unit, the request of the given content is obtained for receiving;
Unit is redirected, for the importance parameter according to the given content by the request weight for obtaining the given content It is directed to corresponding Edge Server;
Transmitting element, the edge service of the given content is stored for the importance parameter of the given content to be sent to Device, the request for obtaining the given content, root are received by the Edge Server of the given content that is stored with a time slot According to the given content importance parameter determination described in obtain the position of the request of the given content in queue is processed, and According to the request for obtaining the given content acquisition given content of the position treatment in the treatment queue Request, wherein, it is described treatment queue in include received in the time slot each request.
8. the device according to the claim 5, it is characterised in that the content distribution module, including:
Whether detection unit, the user preference parameters for detecting the given content meet predetermined condition;
Content disposition unit, if meeting the predetermined condition for the user preference parameters that testing result is the given content, The given content is then deployed to the corresponding Edge Server of the presumptive area;
The predetermined condition includes:
The user preference parameters of the given content are more than predetermined threshold;And/or, the user preference parameters of the given content exist Top N is located in the user preference parameters ranking of each content, N is positive integer.
9. a kind of content distribution device based on CDN, it is characterised in that the equipment includes:
Content delivering apparatus as described in claim 6 to 8 is any.
CN201410028829.2A 2014-01-22 2014-01-22 Content delivery method, device and equipment Active CN104796449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410028829.2A CN104796449B (en) 2014-01-22 2014-01-22 Content delivery method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410028829.2A CN104796449B (en) 2014-01-22 2014-01-22 Content delivery method, device and equipment

Publications (2)

Publication Number Publication Date
CN104796449A CN104796449A (en) 2015-07-22
CN104796449B true CN104796449B (en) 2017-05-24

Family

ID=53560959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410028829.2A Active CN104796449B (en) 2014-01-22 2014-01-22 Content delivery method, device and equipment

Country Status (1)

Country Link
CN (1) CN104796449B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105263100B (en) * 2015-08-31 2018-12-14 北京邮电大学 content information transmission method and device
CN105407004B (en) * 2015-12-08 2018-07-27 清华大学深圳研究生院 The method and device of content distribution is carried out based on edge hotspot
WO2017166298A1 (en) * 2016-04-01 2017-10-05 Nokia Technologies Oy Method, apparatus and computer program product for data distribution
CN106027673B (en) * 2016-07-06 2019-07-12 北京奇艺世纪科技有限公司 The control and training method, device that resource pushes in advance
CN106713265B (en) * 2016-11-21 2019-05-28 清华大学深圳研究生院 CDN node distribution method and device, CDN node distribution server and CDN network system
CN109936593B (en) * 2017-12-15 2022-03-01 网宿科技股份有限公司 Method and system for message distribution
CN109672757B (en) * 2019-02-26 2022-02-25 北京奇艺世纪科技有限公司 File access method and file access processing device
CN110245313A (en) * 2019-05-20 2019-09-17 中国平安财产保险股份有限公司 Request sending method, device and terminal based on data analysis
CN111476171B (en) * 2020-04-09 2021-03-26 腾讯科技(深圳)有限公司 Distributed object recognition system and method and edge computing equipment
CN111984899A (en) * 2020-08-19 2020-11-24 北京达佳互联信息技术有限公司 Multimedia data processing method, device, equipment and storage medium
CN112383800B (en) * 2020-10-12 2023-03-17 特斯联科技集团有限公司 Method and device for distributing and scheduling monitoring video data and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540645A (en) * 2008-03-21 2009-09-23 华为技术有限公司 Method and device for distributing dynamic content
CN101689174A (en) * 2006-08-18 2010-03-31 索尼株式会社 Carry out selective media access by recommended engine
CN102571839A (en) * 2010-12-15 2012-07-11 北京邮电大学 P2P content delivery method based on social attribute of users and system adopting same
CN103412875A (en) * 2013-07-11 2013-11-27 广东工业大学 CDN strategy adjustment method based on AHP decision model

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101689174A (en) * 2006-08-18 2010-03-31 索尼株式会社 Carry out selective media access by recommended engine
CN101540645A (en) * 2008-03-21 2009-09-23 华为技术有限公司 Method and device for distributing dynamic content
CN102571839A (en) * 2010-12-15 2012-07-11 北京邮电大学 P2P content delivery method based on social attribute of users and system adopting same
CN103412875A (en) * 2013-07-11 2013-11-27 广东工业大学 CDN strategy adjustment method based on AHP decision model

Also Published As

Publication number Publication date
CN104796449A (en) 2015-07-22

Similar Documents

Publication Publication Date Title
CN104796449B (en) Content delivery method, device and equipment
CN103716251B (en) For the load-balancing method and equipment of content distributing network
CN105610926B (en) Message delivery method, system and message-oriented middleware system
WO2018133306A1 (en) Dispatching method and device in content delivery network
CN103391299B (en) Load-balancing method and SiteServer LBS
CN109684358A (en) The method and apparatus of data query
CN104901989B (en) A kind of Site Service offer system and method
US20170329643A1 (en) Distributed node intra-group task scheduling method and system
CN105812255B (en) Method and device for selecting return source line
CN110308995A (en) A kind of edge cloud computing service system edges cloud node deployment device
CN105491085B (en) A kind of online request queue method and device
WO2019148569A1 (en) Method and system for sending request for acquiring data resource
CN105897550A (en) Off-line message pushing method and device
US20180322401A1 (en) Object count prediction using distributed processing
Li et al. Qoe-deer: A qoe-aware decentralized resource allocation scheme for edge computing
Hao et al. Human-like hybrid caching in software-defined edge cloud
Chi et al. A fairness-aware pricing methodology for revenue enhancement in service cloud infrastructure
CN109033190A (en) A kind of method for pushing of recommendation information, device and equipment
US11269845B1 (en) Techniques to configure media packages
CN104994150A (en) Request allocation method oriented to cloud video service
CN104994149A (en) Cloud video service oriented resource provision method
US10691700B1 (en) Table replica allocation in a replicated storage system
CN103795788B (en) The load-balancing method and load-balanced server of instant communication server
CN109688171B (en) Cache space scheduling method, device and system
CN106487840A (en) A kind of determination method of content server, platform and dispatch server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant