CN105791427A - Method, device and system for supplementing resource heat - Google Patents

Method, device and system for supplementing resource heat Download PDF

Info

Publication number
CN105791427A
CN105791427A CN201610258590.7A CN201610258590A CN105791427A CN 105791427 A CN105791427 A CN 105791427A CN 201610258590 A CN201610258590 A CN 201610258590A CN 105791427 A CN105791427 A CN 105791427A
Authority
CN
China
Prior art keywords
resource
peer
content delivery
delivery network
server
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.)
Granted
Application number
CN201610258590.7A
Other languages
Chinese (zh)
Other versions
CN105791427B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201610258590.7A priority Critical patent/CN105791427B/en
Publication of CN105791427A publication Critical patent/CN105791427A/en
Application granted granted Critical
Publication of CN105791427B publication Critical patent/CN105791427B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/101Server selection for load balancing based on network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1025Dynamic adaptation of the criteria on which the server selection is based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1031Controlling of the operation of servers by a load balancer, e.g. adding or removing servers that serve requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • H04L67/1046Joining mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/1085Resource delivery mechanisms involving dynamic management of active down- or uploading connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1087Peer-to-peer [P2P] networks using cross-functional networking aspects
    • H04L67/1091Interfacing with client-server systems or between P2P systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method, a device and a system for supplementing resource heat. The method comprises steps: a mining server acquires resource information in need of heat supplementation from a peer-to-peer network server; as for each resource in need of heat supplementation, the mining server determines the number M of to-be-supplemented nodes corresponding to the resource, wherein M is an integer; when M is larger than 0, a crowd-funding content distribution network server is announced to select M crowd-funding content distribution network nodes to download the resource, wherein the selected crowd-funding content distribution network nodes can serve as peer-to-peer node to provide downloading service for the resource. When the scheme of the invention is applied, the bandwidth cost and the load of the content distribution network server can be reduced.

Description

Resource temperature compensation process, device and system
[technical field]
The present invention relates to Internet technology, particularly to resource temperature compensation process, device and system.
[background technology]
Server and point (P2SP, PeertoServer&Peer) are a kind of technology peer-to-peer network/point-to-point (P2P, PeertoPeer) technology and some server (P2S, PeertoServer) technology being carried out and merging by point.
In P2SP network, Downloadable resource conservation is at content delivery network service device (CDN-Server, ContentDeliveryNetworkServer) on, simultaneously, for arbitrary resource, the user having downloaded this resource as equity (Peer) node, can also provide the download service to this resource to other users.
So, when user needs arbitrary resource is downloaded, if only using peer node can meet speed of download requirement, so then can only dispatch peer node and provide the user download service, whereas if available peer node (can provide the peer node of download service) number is less, namely the temperature of this resource is relatively low, speed of download requirement cannot be met, then then need the webserver of Scheduling content distribution simultaneously to provide the user download service.
For latter event, owing to needs content delivery network service device provides download service, bandwidth cost and the load etc. of content delivery network service device can be increased undoubtedly.
[summary of the invention]
The invention provides resource temperature compensation process, device and system, it is possible to reduce bandwidth cost and the load of content delivery network service device.
A kind of resource temperature compensation process, including:
Excavate server from peer-to-peer network server, obtain the resource information that pending temperature is supplemented;
For the resource that each pending temperature is supplemented, described excavation server determine respectively this resource corresponding treat supplemental node quantity M, M is integer, when M is more than 0, notifying that crowd raises content delivery network service device and selects M crowd and raise content delivery network node this resource is downloaded, selected crowd raises content delivery network node can provide the download service to this resource as peer node.
According to one preferred embodiment of the present invention, the resource information that described excavation server obtains pending temperature supplementary from peer-to-peer network server includes:
At the predetermined instant of every day, described excavation server sends, to described peer-to-peer network server, the request of acquisition respectively, and obtains the resource information that pending temperature is supplemented from described peer-to-peer network server;
Wherein, the resource that described pending temperature is supplemented includes: described peer-to-peer network server receive described obtain request after, according to the order that value is descending, each resource download time in the bandwidth peak period of the previous day is ranked up, being in the resource of top N after sequence, N is positive integer.
According to one preferred embodiment of the present invention, the resource information that each pending temperature that described excavation server gets is supplemented includes:
The mark of this resource, the size of this resource, this resource download time in described bandwidth peak period, and, this resource average available peer node quantity in described bandwidth peak period;
Described excavation server determine this resource corresponding treat that supplemental node quantity M includes:
Described excavation server downloads concurrency while calculating this resource according to the size of this resource and this resource download time in described bandwidth peak period, and according to downloading concurrency and this resource average available peer node quantity in described bandwidth peak period while calculating, calculate further this resource corresponding treat supplemental node quantity M.
According to one preferred embodiment of the present invention, concurrency is downloaded while each resource
Wherein, a represents the size of this resource;
B represents average speed of download set in advance;
C represents this resource download time in described bandwidth peak period;
D represents the duration of described bandwidth peak period.
According to one preferred embodiment of the present invention, what each resource was corresponding treats supplemental node quantity M=A-e;
Wherein, A represents and downloads concurrency simultaneously;
E represents this resource average available peer node quantity in described bandwidth peak period.
A kind of resource temperature compensation process, including:
Peer-to-peer network server receives and excavates the acquisition request that server transmission comes, the resource information that pending temperature is supplemented is returned to described excavation server, so that described excavation server respectively to each pending temperature supplement resource be handled as follows: determine this resource corresponding treat supplemental node quantity M, M is integer, when M is more than 0, notifying that crowd raises content delivery network service device and selects M crowd and raise content delivery network node this resource is downloaded, selected crowd raises content delivery network node can provide the download service to this resource as peer node.
According to one preferred embodiment of the present invention, the acquisition request that described peer-to-peer network server receives excavation server transmission includes:
At the predetermined instant of every day, described peer-to-peer network server receives described excavation server and sends the acquisition request come;
The resource that described pending temperature is supplemented includes: described peer-to-peer network server is after receiving described acquisition request, according to the order that value is descending, each resource download time in the bandwidth peak period of the previous day being ranked up, is in the resource of top N after sequence, N is positive integer.
According to one preferred embodiment of the present invention, the method farther includes:
When a resource is downloaded and crowd raises when preserving this resource on content delivery network node by user, if only using crowd to raise the peer node beyond content delivery network node can meet speed of download requirement, then described peer-to-peer network server is only dispatched the peer node that crowd raises beyond content delivery network node and is provided the user download service, otherwise, described peer-to-peer network server is dispatched crowd simultaneously and is raised content delivery network node and provide the user download service.
A kind of resource temperature compensation process, including:
Crowd raises content delivery network service device and receives the notification message that excavation server transmission comes, and treat supplemental node quantity M according to what described notification message was specified, M is integer, selecting M crowd to raise the resource that the content delivery network node pending temperature to specifying in described notification message supplements and be downloaded, selected crowd raises content delivery network node can provide, as peer node, the download service of resource that described pending temperature is supplemented.
According to one preferred embodiment of the present invention, described crowd raises content delivery network service device and selects M crowd and raise the resource that the content delivery network node pending temperature to specifying in described notification message supplements and be downloaded and include:
Described crowd raises the resource download address on content delivery network service device that described pending temperature supplemented by content delivery network service device and informs to M selected crowd and raise content delivery network node, in order to M selected crowd raises content delivery network node and carry out resource downloading according to the download address received.
A kind of excavation server, including: pull module and pushing module;
Described pull module, for obtaining the resource information that pending temperature is supplemented from peer-to-peer network server, and be sent to described pushing module;
Described pushing module, for respectively to each pending temperature supplement resource be handled as follows: determine this resource corresponding treat supplemental node quantity M, M is integer, when M is more than 0, notifying that crowd raises content delivery network service device and selects M crowd and raise content delivery network node this resource is downloaded, selected crowd raises content delivery network node can provide the download service to this resource as peer node.
According to one preferred embodiment of the present invention, described in pull the module predetermined instant in every day, to described peer-to-peer network server send obtain request, and obtain from described peer-to-peer network server pending temperature supplement resource information;
Wherein, the resource that described pending temperature is supplemented includes: described peer-to-peer network server receive described obtain request after, according to the order that value is descending, each resource download time in the bandwidth peak period of the previous day is ranked up, being in the resource of top N after sequence, N is positive integer.
According to one preferred embodiment of the present invention, pull the resource information that each pending temperature that module gets supplements described in include:
The mark of this resource, the size of this resource, this resource download time in described bandwidth peak period, and, this resource average available peer node quantity in described bandwidth peak period;
For the resource that each pending temperature is supplemented, described pushing module downloads concurrency while calculating this resource according to the size of this resource and this resource download time in described bandwidth peak period, and according to downloading concurrency and this resource average available peer node quantity in described bandwidth peak period while calculating, calculate further this resource corresponding treat supplemental node quantity M.
According to one preferred embodiment of the present invention, concurrency is downloaded while each resource
Wherein, a represents the size of this resource;
B represents average speed of download set in advance;
C represents this resource download time in described bandwidth peak period;
D represents the duration of described bandwidth peak period.
According to one preferred embodiment of the present invention, what each resource was corresponding treats supplemental node quantity M=A-e;
Wherein, A represents and downloads concurrency simultaneously;
E represents this resource average available peer node quantity in described bandwidth peak period.
A kind of peer-to-peer network server, including: feedback module and scheduler module;
Described feedback module, for being sent to described scheduler module by being received from the acquisition request excavating server, and the resource information that the pending temperature receiving the return of described scheduler module is supplemented, it is sent to described excavation server, so that described excavation server respectively to each pending temperature supplement resource be handled as follows: determine this resource corresponding treat supplemental node quantity M, M is integer, when M is more than 0, notify that crowd raises content delivery network service device and selects M crowd and raise content delivery network node this resource is downloaded, selected crowd raises content delivery network node can provide the download service to this resource as peer node;
Described scheduler module, for the resource information supplemented for the described feedback module pending temperature of offer.
According to one preferred embodiment of the present invention, described scheduler module is further used for, when a resource is downloaded and crowd raises when preserving this resource on content delivery network node by user, if only using crowd to raise the peer node beyond content delivery network node can meet speed of download requirement, then only scheduling crowd raises the peer node beyond content delivery network node and provides the user download service, otherwise, scheduling crowd raises content delivery network node and provides the user download service simultaneously.
A kind of crowd raises content delivery network service device, including: acquisition module and temperature complementary module;
Described acquisition module, excavates, for receiving, the notification message that server transmission comes, and is sent to described temperature complementary module;
Described temperature complementary module, for treating supplemental node quantity M according to what described notification message was specified, M is integer, selecting M crowd to raise the resource that the content delivery network node pending temperature to specifying in described notification message supplements and be downloaded, selected crowd raises content delivery network node can provide, as peer node, the download service of resource that described pending temperature is supplemented.
According to one preferred embodiment of the present invention, the resource that described pending temperature is supplemented by described temperature complementary module download address on content delivery network service device informs to M selected crowd and raises content delivery network node, in order to M selected crowd raises content delivery network node and carry out resource downloading according to the download address received.
A kind of resource temperature replenishment system, including:
Excavate server, peer-to-peer network server as above as above, and, crowd as above raises content delivery network service device.
Can be seen that from above-mentioned introduction, adopt scheme of the present invention, can first determine that out the resource that pending temperature is supplemented, available crowd raises content delivery network node and the resource that pending temperature is supplemented carries out available peer node supplements afterwards, thus enhancing resource temperature, it is avoided as much as problems of the prior art, and then reduces bandwidth cost and the load etc. of content delivery network service device.
[accompanying drawing explanation]
Fig. 1 is the flow chart of resource temperature compensation process embodiment of the present invention.
Fig. 2 is the interactive mode schematic diagram that excavation server of the present invention, peer-to-peer network server, crowd raise content delivery network service device, content delivery network service device, crowd raise between content delivery network node.
Fig. 3 is the composition structural representation that the present invention excavates server example.
Fig. 4 is the composition structural representation of peer-to-peer network server example of the present invention.
Fig. 5 is the composition structural representation that crowd of the present invention raises content delivery network service device embodiment.
[detailed description of the invention]
For problems of the prior art, the present invention proposes a kind of resource temperature additional project, crowd is raised content distributing network technology and is incorporated into a little in server and spot net, crowd is utilized to raise content distributing network technology, the available peer node number of resource is supplemented, thus enhancing resource temperature etc..
In order to make the object, technical solutions and advantages of the present invention clearly, describe the present invention below in conjunction with the drawings and specific embodiments.
Embodiment one
Fig. 1 is the flow chart of resource temperature compensation process embodiment of the present invention, as it is shown in figure 1, include implementation in detail below.
In 11, excavate server (Mining-Server) from peer-to-peer network server (P2P-Server), obtain the resource information that pending temperature is supplemented.
Excavating server is to realize scheme of the present invention, newly-increased a kind of network equipment.
Excavating server can at the predetermined instant of every day, the request of acquisition is sent to peer-to-peer network server, and from peer-to-peer network server, obtaining the resource information that pending temperature is supplemented, described predetermined instant is generally user and downloads the idle moment that behavior is fewer, and such as morning is a bit.
Peer-to-peer network server receives after asking from the acquisition excavating server, can according to the descending order of value, it is ranked up being available for each resource download time in the bandwidth peak period of the previous day that user downloads, and it is in, after sorting, the resource that the resource of top N is supplemented as pending temperature, N is positive integer, concrete value can be decided according to the actual requirements, and is typically larger than 1.
Assume peer-to-peer network server receive the time of the request of acquisition be morning on January 4th, 2016 a bit, then " the previous day " namely refers on January 3rd, 2016.
The corresponding one section of duration in bandwidth peak period, such as, simplest mode, can be divided into 24 time periods the time, the duration of each time period is 1 hour, and when wherein bandwidth reaches peak value, the time period at place is bandwidth peak period.
Come the resource that in the bandwidth peak period that resource is the previous day of top N, download time is relatively more, the download of these resources is in great demand, once the problem that available peer node is not enough occurs, all go the words that content delivery network service device is downloaded, bandwidth cost and the load etc. of content delivery network service device can be greatly increased, supplement so needing that these resources are carried out temperature, and utilize user download behavior fewer free time resource is carried out temperature supplement, it is possible to greatly alleviate the bandwidth pressure of bandwidth peak period.
This situation is easy to appearance in actual applications, such as, a certain software is popular software, in bandwidth peak period, a lot of users can go to download the installation compressed package that this software is corresponding, but it is likely to major part user and just deletes downloaded installation compressed package after the download is complete, thus causing available peer node number little.
In 12, for the resource that each pending temperature is supplemented, excavate server determine respectively this resource corresponding treat supplemental node quantity M, M is integer, when M is more than 0, notifying that crowd raises content delivery network service device and selects M crowd and raise content delivery network node this resource is downloaded, selected crowd raises content delivery network node can provide the download service to this resource as peer node.
The resource information that excavation server supplements from each pending temperature that peer-to-peer network server gets comprises the steps that the mark of this resource, the size of this resource, this resource download time in bandwidth peak period, and, this resource average available peer node quantity in bandwidth peak period.
Peer-to-peer network server can for excavating the Resources list that server provides a pending temperature to supplement, described list includes N bar record, every record resource that a corresponding pending temperature is supplemented respectively, every record includes the mark of this resource, the size of this resource, this resource download time in bandwidth peak period respectively, and, this resource average available peer node quantity etc. in bandwidth peak period.
The mark of this resource, namely refers to the ID of this resource;This resource download time in bandwidth peak period, namely refers to the number of times that this resource is downloaded altogether at bandwidth peak value;This resource average available peer node quantity in bandwidth peak period can be passed through to calculate: as available peer node quantity time first by the request of downloading received in bandwidth peak period for this resource every time is added summation, then by sum divided by the number downloading request for this resource received in bandwidth peak period, the business obtained can be used as this resource average available peer node quantity in bandwidth peak period.
For the resource that each pending temperature is supplemented, excavate server and the download time in bandwidth peak period can download concurrency while calculating this resource according to the size of this resource and this resource, and according to downloading concurrency and this resource average available peer node quantity in bandwidth peak period while calculating, calculate further this resource corresponding treat supplemental node quantity M.
Specifically, the resource each pending temperature supplemented:
Concurrency is downloaded while this resourceWherein, a represents the size of this resource;B represents average speed of download set in advance, and concrete value can be decided according to the actual requirements, and is the value drawn by measurement bandwidth pressure and Consumer's Experience;C represents this resource download time in bandwidth peak period;D represents the duration of bandwidth peak period;
What this resource was corresponding treats supplemental node quantity M=A-e;Wherein, A downloads concurrency while representing this resource;E represents this resource average available peer node quantity in bandwidth peak period.
For the resource that each pending temperature is supplemented, what this resource of calculating in the manner described above was corresponding treats that supplemental node quantity M is probably 0, it is also likely to be negative (less than 0), it is also possible that positive number (more than 0), to then 0 and be negative both of these case, illustrate that the quantity of available peer node is enough, number of nodes need not be supplemented with, and to this situation of then positive number, the lazy weight of available peer node is then described, require supplementation with number of nodes, accordingly, excavate server and need to notify that crowd raises content delivery network service device and selects M crowd and raise content delivery network node this resource is downloaded.
Specifically, crowd raises content delivery network service device and this resource download address on content delivery network service device can be informed to M selected crowd and raise content delivery network node, in order to M selected crowd raises content delivery network node and carry out resource downloading according to the download address received.Wherein, the download address of this resource can be carried by peer-to-peer network server to be supplied to excavation server in the Resources list that pending temperature is supplemented, and then be supplied to crowd raise content delivery network service device by excavating server.
Crowd raises content delivery network service device and how to raise from numerous crowds and select M crowd content delivery network node and raise content delivery network node and be not limited as, and such as, the strategy of load balancing can be adopted to select, implement and can be decided according to the actual requirements.
Based on above-mentioned introduction, for arbitrary resource, when user needs to download this resource and crowd raises when preserving this resource on content delivery network node, if only using crowd to raise the peer node beyond content delivery network node can meet speed of download requirement, then peer-to-peer network server can only be dispatched the peer node that crowd raises beyond content delivery network node and provide the user download service, otherwise, peer-to-peer network server can be dispatched crowd simultaneously and raises content delivery network node and provide the user download service.
For arbitrary resource, peer-to-peer network server can be safeguarded the available peer node list of this resource, available peer node in this list can include traditional peer node and heretofore described crowd raises content delivery network node, can preferentially use traditional peer node, if speed of download requirement can not be met, crowd can being used further to raise content delivery network node, if being not met by speed of download requirement, also can use content delivery network service device further.
Summary is introduced, and Fig. 2 is the interactive mode schematic diagram that excavation server of the present invention, peer-to-peer network server, crowd raise content delivery network service device, content delivery network service device, crowd raise between content delivery network node.
As in figure 2 it is shown, excavate server to obtain the resource information that pending temperature is supplemented from peer-to-peer network server;For the resource that each pending temperature is supplemented, excavate server determine respectively this resource corresponding treat supplemental node quantity M, and when M is more than 0, notify that crowd raises content delivery network service device and selects M crowd and raise content delivery network node this resource is downloaded, M selected crowd raises content delivery network node and will download required resource from content delivery network service device, and preserves after downloading.
Embodiment two
Fig. 3 is the composition structural representation that the present invention excavates server example, as it is shown on figure 3, include: pull module 31 and pushing module 32.
Pull module 31, for obtaining the resource information that pending temperature is supplemented from peer-to-peer network server, and be sent to pushing module 32;
Pushing module 32, for respectively to each pending temperature supplement resource be handled as follows: determine this resource corresponding treat supplemental node quantity M, M is integer, when M is more than 0, notifying that crowd raises content delivery network service device and selects M crowd and raise content delivery network node this resource is downloaded, selected crowd raises content delivery network node can provide the download service to this resource as peer node.
Pull module 31 at the predetermined instant of every day, to send, to peer-to-peer network server, the request of acquisition, and from peer-to-peer network server, obtain the resource information that pending temperature is supplemented.
Wherein, the resource that pending temperature is supplemented comprises the steps that peer-to-peer network server is after receiving acquisition request, according to the order that value is descending, each resource download time in the bandwidth peak period of the previous day is ranked up, being in the resource of top N after sequence, N is positive integer.
Pull the resource information that each pending temperature that module 31 gets supplements and comprise the steps that the mark of this resource, the size of this resource, this resource download time in bandwidth peak period, and, this resource average available peer node quantity etc. in bandwidth peak period.
Peer-to-peer network server can for excavating the Resources list that server provides a pending temperature to supplement, described list includes N bar record, every record resource that a corresponding pending temperature is supplemented respectively, every record includes the mark of this resource, the size of this resource, this resource download time in bandwidth peak period respectively, and, this resource average available peer node quantity etc. in bandwidth peak period.
For the resource that each pending temperature is supplemented, pushing module 32 download time in bandwidth peak period can download concurrency while calculating this resource according to the size of this resource and this resource, and according to downloading concurrency and this resource average available peer node quantity in bandwidth peak period while calculating, calculate further this resource corresponding treat supplemental node quantity M.
Specifically, the resource each pending temperature supplemented:
Concurrency is downloaded while this resourceWherein, a represents the size of this resource;B represents average speed of download set in advance, and concrete value can be decided according to the actual requirements, and is the value drawn by measurement bandwidth pressure and Consumer's Experience;C represents this resource download time in bandwidth peak period;D represents the duration of bandwidth peak period;
What this resource was corresponding treats supplemental node quantity M=A-e;Wherein, A downloads concurrency while representing this resource;E represents this resource average available peer node quantity in bandwidth peak period.
For the resource that each pending temperature is supplemented, what this resource of calculating in the manner described above was corresponding treats that supplemental node quantity M is probably 0, it is also likely to be negative, it is also possible that positive number, to then 0 and be negative both of these case, illustrate that the quantity of available peer node is enough, number of nodes need not be supplemented with, and to this situation of then positive number, the lazy weight of available peer node is then described, require supplementation with number of nodes, accordingly, pushing module 32 needs to notify that crowd raises content delivery network service device and selects M crowd and raise content delivery network node this resource is downloaded.
Embodiment three
Fig. 4 is the composition structural representation of peer-to-peer network server example of the present invention, as shown in Figure 4, including: feedback module 41 and scheduler module 42.
Feedback module 41, for being sent to scheduler module 42 by being received from the acquisition request excavating server, and the resource information that the pending temperature receiving scheduler module 42 return is supplemented, it is sent to excavation server, so that excavate server respectively to each pending temperature supplement resource be handled as follows: determine this resource corresponding treat supplemental node quantity M, M is integer, when M is more than 0, notify that crowd raises content delivery network service device and selects M crowd and raise content delivery network node this resource is downloaded, selected crowd raises content delivery network node can provide the download service to this resource as peer node;
Scheduler module 42, is used for the resource information providing pending temperature to supplement for feedback module 41.
Feedback module 41 at the predetermined instant of every day, can receive the acquisition request excavating the bandwidth peak period information carrying the previous day that server transmission comes, and be sent to scheduler module 42.
Scheduler module 42 receives after the acquisition request of feedback module 41, can according to the descending order of value, it is ranked up being available for each resource download time in the bandwidth peak period of the previous day that user downloads, and it is in, after sorting, the resource that the resource of top N is supplemented as pending temperature, N is positive integer, is typically larger than 1.
Wherein, the resource information that each pending temperature is supplemented comprises the steps that the mark of this resource, the size of this resource, this resource download time in bandwidth peak period, and, this resource average available peer node quantity etc. in bandwidth peak period.Excavate server and the download time in bandwidth peak period can download concurrency while calculating this resource according to the size of this resource and this resource, and according to downloading concurrency and this resource average available peer node quantity in bandwidth peak period while calculating, calculate further this resource corresponding treat supplemental node quantity M.
Scheduler module 42 can be further used for, when a resource is downloaded and crowd raises when preserving this resource on content delivery network node by user, if only using crowd to raise the peer node beyond content delivery network node can meet speed of download requirement, then only scheduling crowd raises the peer node beyond content delivery network node and provides the user download service, otherwise, scheduling crowd raises content delivery network node and provides the user download service simultaneously.
For arbitrary resource, scheduler module 42 can be safeguarded the available peer node list of this resource, available peer node in this list can include traditional peer node and heretofore described crowd raises content delivery network node, can preferentially use traditional peer node, if speed of download requirement can not be met, crowd can being used further to raise content delivery network node, if being not met by speed of download requirement, also can use content delivery network service device further.
Embodiment four
Fig. 5 is the composition structural representation that crowd of the present invention raises content delivery network service device embodiment, as it is shown in figure 5, include: acquisition module 51 and temperature complementary module 52.
Acquisition module 51, excavates, for receiving, the notification message that server transmission comes, and is sent to temperature complementary module 52;
Temperature complementary module 52, supplemental node quantity M is treated for what message as per advice was specified, M is integer, selecting M crowd to raise the resource that the content delivery network node pending temperature to specifying in notification message supplements and be downloaded, selected crowd raises content delivery network node can provide, as peer node, the download service of resource that pending temperature is supplemented.
In actual applications, the resource supplementary for pending temperature download address on content delivery network service device can be informed to M selected crowd and raise content delivery network node by temperature complementary module 52, in order to M selected crowd raises content delivery network node and carry out resource downloading according to the download address received.
How temperature complementary module 52 is raised from numerous crowds and is selected M crowd content delivery network node and raise content delivery network node and be not limited as, and such as, the strategy of load balancing can be adopted to select, implement and can be decided according to the actual requirements.
Embodiment five
A kind of resource temperature replenishment system disclosed in the present embodiment, including: the peer-to-peer network server described in excavation server, the embodiment three described in embodiment two, and, the crowd described in embodiment four raises content delivery network service device, implement and refer to preceding description, repeat no more.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method, it is possible to realize by another way.Such as, device embodiment described above is merely schematic, for instance, the division of described unit, it is only a kind of logic function and divides, actual can have other dividing mode when realizing.
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ hardware adds the form of SFU software functional unit and realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, it is possible to be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (Processor) perform the part steps of method described in each embodiment of the present invention.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), magnetic disc or CD.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within the scope of protection of the invention.

Claims (20)

1. a resource temperature compensation process, it is characterised in that including:
Excavate server from peer-to-peer network server, obtain the resource information that pending temperature is supplemented;
For the resource that each pending temperature is supplemented, described excavation server determine respectively this resource corresponding treat supplemental node quantity M, M is integer, when M is more than 0, notifying that crowd raises content delivery network service device and selects M crowd and raise content delivery network node this resource is downloaded, selected crowd raises content delivery network node can provide the download service to this resource as peer node.
2. resource temperature compensation process according to claim 1, it is characterised in that
The resource information that described excavation server obtains pending temperature supplementary from peer-to-peer network server includes: at the predetermined instant of every day, described excavation server sends, to described peer-to-peer network server, the request of acquisition respectively, and obtains the resource information that pending temperature is supplemented from described peer-to-peer network server;
Wherein, the resource that described pending temperature is supplemented includes: described peer-to-peer network server receive described obtain request after, according to the order that value is descending, each resource download time in the bandwidth peak period of the previous day is ranked up, being in the resource of top N after sequence, N is positive integer.
3. resource temperature compensation process according to claim 2, it is characterised in that
The resource information that each pending temperature that described excavation server gets is supplemented includes:
The mark of this resource, the size of this resource, this resource download time in described bandwidth peak period, and, this resource average available peer node quantity in described bandwidth peak period;
Described excavation server determine this resource corresponding treat that supplemental node quantity M includes:
Described excavation server downloads concurrency while calculating this resource according to the size of this resource and this resource download time in described bandwidth peak period, and according to downloading concurrency and this resource average available peer node quantity in described bandwidth peak period while calculating, calculate further this resource corresponding treat supplemental node quantity M.
4. resource temperature compensation process according to claim 3, it is characterised in that
Concurrency is downloaded while each resource
Wherein, a represents the size of this resource;
B represents average speed of download set in advance;
C represents this resource download time in described bandwidth peak period;
D represents the duration of described bandwidth peak period.
5. resource temperature compensation process according to claim 3, it is characterised in that
What each resource was corresponding treats supplemental node quantity M=A-e;
Wherein, A represents and downloads concurrency simultaneously;
E represents this resource average available peer node quantity in described bandwidth peak period.
6. a resource temperature compensation process, it is characterised in that including:
Peer-to-peer network server receives and excavates the acquisition request that server transmission comes, the resource information that pending temperature is supplemented is returned to described excavation server, so that described excavation server respectively to each pending temperature supplement resource be handled as follows: determine this resource corresponding treat supplemental node quantity M, M is integer, when M is more than 0, notifying that crowd raises content delivery network service device and selects M crowd and raise content delivery network node this resource is downloaded, selected crowd raises content delivery network node can provide the download service to this resource as peer node.
7. resource temperature compensation process according to claim 6, it is characterised in that
The acquisition request that described peer-to-peer network server receives excavation server transmission includes: at the predetermined instant of every day, and the acquisition that described peer-to-peer network server receives the transmission of described excavation server is asked;
The resource that described pending temperature is supplemented includes: described peer-to-peer network server is after receiving described acquisition request, according to the order that value is descending, each resource download time in the bandwidth peak period of the previous day being ranked up, is in the resource of top N after sequence, N is positive integer.
8. resource temperature compensation process according to claim 6, it is characterised in that
The method farther includes:
When a resource is downloaded and crowd raises when preserving this resource on content delivery network node by user, if only using crowd to raise the peer node beyond content delivery network node can meet speed of download requirement, then described peer-to-peer network server is only dispatched the peer node that crowd raises beyond content delivery network node and is provided the user download service, otherwise, described peer-to-peer network server is dispatched crowd simultaneously and is raised content delivery network node and provide the user download service.
9. a resource temperature compensation process, it is characterised in that including:
Crowd raises content delivery network service device and receives the notification message that excavation server transmission comes, and treat supplemental node quantity M according to what described notification message was specified, M is integer, selecting M crowd to raise the resource that the content delivery network node pending temperature to specifying in described notification message supplements and be downloaded, selected crowd raises content delivery network node can provide, as peer node, the download service of resource that described pending temperature is supplemented.
10. resource temperature compensation process according to claim 9, it is characterised in that
Described crowd raises content delivery network service device and selects M crowd and raise the resource that the content delivery network node pending temperature to specifying in described notification message supplements and be downloaded and include:
Described crowd raises the resource download address on content delivery network service device that described pending temperature supplemented by content delivery network service device and informs to M selected crowd and raise content delivery network node, in order to M selected crowd raises content delivery network node and carry out resource downloading according to the download address received.
11. one kind is excavated server, it is characterised in that including: pull module and pushing module;
Described pull module, for obtaining the resource information that pending temperature is supplemented from peer-to-peer network server, and be sent to described pushing module;
Described pushing module, for respectively to each pending temperature supplement resource be handled as follows: determine this resource corresponding treat supplemental node quantity M, M is integer, when M is more than 0, notifying that crowd raises content delivery network service device and selects M crowd and raise content delivery network node this resource is downloaded, selected crowd raises content delivery network node can provide the download service to this resource as peer node.
12. excavation server according to claim 11, it is characterised in that
Described pull the module predetermined instant in every day, send, to described peer-to-peer network server, the request of acquisition, and from described peer-to-peer network server, obtain the resource information that pending temperature is supplemented;
Wherein, the resource that described pending temperature is supplemented includes: described peer-to-peer network server receive described obtain request after, according to the order that value is descending, each resource download time in the bandwidth peak period of the previous day is ranked up, being in the resource of top N after sequence, N is positive integer.
13. excavation server according to claim 12, it is characterised in that
Described pull the resource information that each pending temperature that module gets supplements and include:
The mark of this resource, the size of this resource, this resource download time in described bandwidth peak period, and, this resource average available peer node quantity in described bandwidth peak period;
For the resource that each pending temperature is supplemented, described pushing module downloads concurrency while calculating this resource according to the size of this resource and this resource download time in described bandwidth peak period, and according to downloading concurrency and this resource average available peer node quantity in described bandwidth peak period while calculating, calculate further this resource corresponding treat supplemental node quantity M.
14. excavation server according to claim 13, it is characterised in that
Concurrency is downloaded while each resource
Wherein, a represents the size of this resource;
B represents average speed of download set in advance;
C represents this resource download time in described bandwidth peak period;
D represents the duration of described bandwidth peak period.
15. excavation server according to claim 13, it is characterised in that
What each resource was corresponding treats supplemental node quantity M=A-e;
Wherein, A represents and downloads concurrency simultaneously;
E represents this resource average available peer node quantity in described bandwidth peak period.
16. a peer-to-peer network server, it is characterised in that including: feedback module and scheduler module;
Described feedback module, for being sent to described scheduler module by being received from the acquisition request excavating server, and the resource information that the pending temperature receiving the return of described scheduler module is supplemented, it is sent to described excavation server, so that described excavation server respectively to each pending temperature supplement resource be handled as follows: determine this resource corresponding treat supplemental node quantity M, M is integer, when M is more than 0, notify that crowd raises content delivery network service device and selects M crowd and raise content delivery network node this resource is downloaded, selected crowd raises content delivery network node can provide the download service to this resource as peer node;
Described scheduler module, for the resource information supplemented for the described feedback module pending temperature of offer.
17. peer-to-peer network server according to claim 16, it is characterised in that
Described scheduler module is further used for, when a resource is downloaded and crowd raises when preserving this resource on content delivery network node by user, if only using crowd to raise the peer node beyond content delivery network node can meet speed of download requirement, then only scheduling crowd raises the peer node beyond content delivery network node and provides the user download service, otherwise, scheduling crowd raises content delivery network node and provides the user download service simultaneously.
18. a crowd raises content delivery network service device, it is characterised in that including: acquisition module and temperature complementary module;
Described acquisition module, excavates, for receiving, the notification message that server transmission comes, and is sent to described temperature complementary module;
Described temperature complementary module, for treating supplemental node quantity M according to what described notification message was specified, M is integer, selecting M crowd to raise the resource that the content delivery network node pending temperature to specifying in described notification message supplements and be downloaded, selected crowd raises content delivery network node can provide, as peer node, the download service of resource that described pending temperature is supplemented.
19. crowd according to claim 18 raises content delivery network service device, it is characterised in that
The resource that described pending temperature is supplemented by described temperature complementary module download address on content delivery network service device informs to M selected crowd and raises content delivery network node, in order to M selected crowd raises content delivery network node and carry out resource downloading according to the download address received.
20. a resource temperature replenishment system, it is characterised in that including:
Excavation server as according to any one of claim 11~15, the peer-to-peer network server as according to any one of claim 16~17, and, the crowd as according to any one of claim 18~19 raises content delivery network service device.
CN201610258590.7A 2016-04-22 2016-04-22 Resource temperature compensation process, device and system Active CN105791427B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610258590.7A CN105791427B (en) 2016-04-22 2016-04-22 Resource temperature compensation process, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610258590.7A CN105791427B (en) 2016-04-22 2016-04-22 Resource temperature compensation process, device and system

Publications (2)

Publication Number Publication Date
CN105791427A true CN105791427A (en) 2016-07-20
CN105791427B CN105791427B (en) 2019-09-20

Family

ID=56399318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610258590.7A Active CN105791427B (en) 2016-04-22 2016-04-22 Resource temperature compensation process, device and system

Country Status (1)

Country Link
CN (1) CN105791427B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506665A (en) * 2016-11-18 2017-03-15 郑州云海信息技术有限公司 A kind of load-balancing method of distributed video monitoring system and platform
CN108616600A (en) * 2018-05-11 2018-10-02 深圳市网心科技有限公司 Resource regulating method, client server, node device, network system and medium
CN108683730A (en) * 2018-05-11 2018-10-19 深圳市网心科技有限公司 Resource regulating method, service server, client terminal, network system and medium
CN108737121A (en) * 2018-05-11 2018-11-02 深圳市网心科技有限公司 Cost accounting method, node device, client server, network system and medium
CN109672900A (en) * 2018-12-05 2019-04-23 北京奇艺世纪科技有限公司 A kind of generation method and device of Hot Contents list
CN110086868A (en) * 2019-04-25 2019-08-02 北京奇艺世纪科技有限公司 Content delivery method, device and equipment
CN111064997A (en) * 2018-10-16 2020-04-24 深圳市云帆加速科技有限公司 Resource pre-distribution method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668046A (en) * 2009-10-13 2010-03-10 成都市华为赛门铁克科技有限公司 Resource caching method, resource obtaining method, device and system thereof
CN102111438A (en) * 2010-12-24 2011-06-29 华为技术有限公司 Method and device for parameter adjustment and distributed computation platform system
US20110307601A1 (en) * 2010-06-14 2011-12-15 Microsoft Corporation Server array capacity management calculator
CN103997512A (en) * 2014-04-14 2014-08-20 南京邮电大学 Data duplicate quantity determination method for cloud storage system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668046A (en) * 2009-10-13 2010-03-10 成都市华为赛门铁克科技有限公司 Resource caching method, resource obtaining method, device and system thereof
US20110307601A1 (en) * 2010-06-14 2011-12-15 Microsoft Corporation Server array capacity management calculator
CN102111438A (en) * 2010-12-24 2011-06-29 华为技术有限公司 Method and device for parameter adjustment and distributed computation platform system
CN103997512A (en) * 2014-04-14 2014-08-20 南京邮电大学 Data duplicate quantity determination method for cloud storage system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506665A (en) * 2016-11-18 2017-03-15 郑州云海信息技术有限公司 A kind of load-balancing method of distributed video monitoring system and platform
CN106506665B (en) * 2016-11-18 2019-09-24 郑州云海信息技术有限公司 A kind of load-balancing method and platform of distributed video monitoring system
CN108616600A (en) * 2018-05-11 2018-10-02 深圳市网心科技有限公司 Resource regulating method, client server, node device, network system and medium
CN108683730A (en) * 2018-05-11 2018-10-19 深圳市网心科技有限公司 Resource regulating method, service server, client terminal, network system and medium
CN108737121A (en) * 2018-05-11 2018-11-02 深圳市网心科技有限公司 Cost accounting method, node device, client server, network system and medium
CN108683730B (en) * 2018-05-11 2021-08-06 深圳市网心科技有限公司 Resource scheduling method, service server, client terminal, network system and medium
CN108737121B (en) * 2018-05-11 2022-02-01 深圳市网心科技有限公司 Cost accounting method, node device, client server, network system, and medium
CN111064997A (en) * 2018-10-16 2020-04-24 深圳市云帆加速科技有限公司 Resource pre-distribution method and device
CN111064997B (en) * 2018-10-16 2021-11-16 深圳市云帆加速科技有限公司 Resource pre-distribution method and device
CN109672900A (en) * 2018-12-05 2019-04-23 北京奇艺世纪科技有限公司 A kind of generation method and device of Hot Contents list
CN109672900B (en) * 2018-12-05 2021-04-16 北京奇艺世纪科技有限公司 Method and device for generating hot content list
CN110086868A (en) * 2019-04-25 2019-08-02 北京奇艺世纪科技有限公司 Content delivery method, device and equipment

Also Published As

Publication number Publication date
CN105791427B (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN105791427A (en) Method, device and system for supplementing resource heat
CN102142006B (en) File processing method and device of distributed file system
CN103946831A (en) System, method and program product for cost-aware selection of templates for provisioning shared resources
CN106201723A (en) The resource regulating method of a kind of data center and device
Chadha et al. Towards federated learning using faas fabric
CN105787123A (en) Minimal download and simulated page navigation features
CN105867963A (en) Application updating method and apparatus
Du et al. Scientific workflows in IoT environments: a data placement strategy based on heterogeneous edge-cloud computing
CN101179494A (en) Resource distribution method facing to network multimedia transmission service
CN106815254A (en) A kind of data processing method and device
CN103336702A (en) Method and device of accelerating webpage loading
CN106775470B (en) Data storage method and system
CN105005624A (en) Method and device for generating index document ID
CN105653209A (en) Object storage data transmitting method and device
CN102111438A (en) Method and device for parameter adjustment and distributed computation platform system
CN104283963A (en) Distributed and collaborative type CDN load balancing method
CN106250061A (en) File download processing method and processing device
CN106020891A (en) Page loading method and device
CN111381957A (en) Service instance fine scheduling method and system for distributed platform
Bouhouch et al. Dynamic data replication and placement strategy in geographically distributed data centers
CN109547225B (en) Group multiplexing method and device and storage medium
CN112118297A (en) Control method, device and equipment of delay message and storage medium
CN103929480A (en) Data backup method and device based on tasks
CN101814064A (en) Establishment method of report template, report generation method and report system
CN106844605A (en) Batch data logical process method and device

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