CN106657421A - File pre-fetching method and system - Google Patents
File pre-fetching method and system Download PDFInfo
- Publication number
- CN106657421A CN106657421A CN201710152174.3A CN201710152174A CN106657421A CN 106657421 A CN106657421 A CN 106657421A CN 201710152174 A CN201710152174 A CN 201710152174A CN 106657421 A CN106657421 A CN 106657421A
- Authority
- CN
- China
- Prior art keywords
- file
- seed
- server
- fringe node
- decision
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
- H04L67/5681—Pre-fetching or pre-delivering data based on network characteristics
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a file pre-fetching method and system. The file pre-fetching method comprises the steps of analyzing respective current state information of multiple edge nodes; determining and selecting one or multiple edge nodes to serve as a seed server based on the current state information, wherein the seed server is responsible for downloading a file needing to be pre-fetched from a source station and making the file needing to be pre-fetched into a seed file for the edge nodes of the file needing to be pre-fetched to download after the downloading of the file needing to be pre-fetched from the source station is finished. By utilizing the edge nodes as the seed server, a file is fetched from the seed server rather than the source station, so that the pressure of the source station can be reduced greatly, and the file pre-fetching speed is further increased.
Description
Technical field
The present invention relates to network file download technology field, more particularly to a kind of file forecasting method and system.
Background technology
Today of high speed development in the Internet, in the face of user the sharp increase of demand, traditional content distributing network are downloaded
(Content Delivery Network, CDN) file prefetches mode and gradually cannot meet customer need.
In traditional CDN files pre-fetching system, file prefetches mode and uses:Center management server is directly toward two grades
Cache node or fringe node send file and prefetch request, are directly downloaded to source station by L2 cache node or fringe node
The file that needs are prefetched.
But, this traditional file prefetches mode and nowadays faces following problem:
(1) when a large amount of fringe nodes or L2 cache node prefetch file to source station simultaneously, source station bandwidth apprentice can be caused
Increase, in turn result in the systemic breakdown of source station;
(2) because source station pressure is excessive, the Hui Yuan of other normal CDN resource files is caused again, and then affects the service of CDN
Efficiency;
(3) for big file, such as operating system, big game, prefetching process is time-consuming longer.
The content of the invention
In order to solve problem of the prior art, a kind of file forecasting method and system are embodiments provided.It is described
Technical scheme is as follows:
On the one hand, a kind of file forecasting method, wherein, the file forecasting method is comprised the following steps:
Analyze the respective current state information of multiple fringe nodes;
According to the current state information decision-making and one or more fringe node is selected as seed server;
The seed server is responsible for from source station downloading the file for needing to prefetch, and is fabricated to seed after downloading completes
The fringe node of file of the file for needing to prefetch is downloaded.
Further, the file forecasting method is further comprising the steps of:
Notify that each needs the seed server that the fringe node of the file for prefetching is selected before arriving to download described
Seed file;.
The fringe node of the file that each needs is prefetched downloads institute by P2P modes from seed server selected before
State seed file.
Further, the file forecasting method is further comprising the steps of:
Analyze the current state information of each fringe node in real time, according to real-time analysis result decision-making and be selected in work as
As the fringe node of seed server, and the result of decision can be notified into the edge section of each file for needing to prefetch under front state
The available download node of point real-time update.
Further, the file forecasting method is further comprising the steps of:
The seed file is obtained from the seed server, and is issued between the seed file and each fringe node
The fringe node of file that prefetches to each needs of interconnecting relation.
Further, the file forecasting method is further comprising the steps of:
Analyze the current state information of each fringe node in real time, according to real-time analysis result decision-making and be selected in work as
As the fringe node of seed server, and the result of decision can be notified into the edge section of each file for needing to prefetch under front state
The available download node of point real-time update.
On the other hand, a kind of file pre-fetching system, wherein, the file pre-fetching system includes decision-making component, dispatch service
Device and multiple fringe nodes, wherein,
The decision-making component, for analyzing the respective current state information of the plurality of fringe node, and by analysis result
Real-time report is to the dispatch server;
The dispatch server, for according to the analysis result decision-making of real-time report and selecting one or more side
Edge node is used as seed server;
The seed server, for being responsible for downloading the file for needing to prefetch from source station, and makes after downloading completes
Fringe node into file of the seed file for needing to prefetch is downloaded.
Further, the file pre-fetching system also includes Scout service device, wherein, the dispatch server is additionally operable to
Each described kind of sub-services for needing the fringe node of the file for prefetching to select before arriving is notified by the Scout service device
Device downloads the seed file, and the fringe node of the file that each needs is prefetched is by P2P modes from seed selected before
Server downloads the seed file.
Further, the decision-making component is additionally operable to analyze the current state information of each fringe node in real time, and will
Analysis result real-time report is to the dispatch server;
The dispatch server, is additionally operable to the analysis result decision-making according to real-time report and is selected under current state to make
For the fringe node of seed server, and the result of decision is pushed to into the Scout service device;
The Scout service device, under being additionally operable to notify that the fringe node real-time update of the file that each needs prefetches is available
Carry node.
Further, the dispatch server, is additionally operable to obtain the seed file from the seed server, and by institute
State the interconnecting relation between seed file and each fringe node to be issued in the Scout service device;
The Scout service device, is additionally operable to after the content that the dispatch server is issued is received, by described kind of Ziwen
Part is issued to the fringe node of the file that each needs is prefetched.
Further, the decision-making component is additionally operable to analyze the current state information of each fringe node in real time, and will
Analysis result real-time report is to the dispatch server;
The dispatch server, is additionally operable to the analysis result decision-making according to real-time report and is selected under current state to make
For the fringe node of seed server, and the result of decision is pushed to into the Scout service device;
The Scout service device, under being additionally operable to notify that the fringe node real-time update of the file that each needs prefetches is available
Carry node.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:Serve as kind of a sub-services using fringe node
Device, goes to source station to download the file for prefetching by seed server, and other fringe nodes go to take from seed server rather than source station again
File, can greatly reduce source station pressure, and then raising prefetches file speed, while decreasing to other normal CDN resources texts
The impact of the Hui Yuan of part;Selected fringe node is also served as seed server by the embodiment of the present invention, is given birth to using seed server
Into seed file, rather than seed file is generated using source station, and then improve the safety of source station file data.In addition, this
Bright embodiment analyzes in real time the current state information of each fringe node, under real-time adjustment and dynamic renewal fringe node are available
Carry node, it is ensured that speed of download is maximized, theorem about solutions.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to making 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, can be obtaining other according to these accompanying drawings
Accompanying drawing.
Fig. 1 is file forecasting method flow chart in an embodiment of the present invention;
Fig. 2 is the network topology figure of file pre-fetching system in an embodiment of the present invention;
Fig. 3 is file forecasting method flow chart in another embodiment of the invention.
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.It should be appreciated that specific embodiment described herein is only to explain the present invention, and without
It is of the invention in limiting.
Embodiment one
A kind of file forecasting method in enforcement one provided by the present invention will be described in detail below.
Fig. 1 is referred to, is file forecasting method flow chart in an embodiment of the present invention.
In the present embodiment, this document forecasting method is applied to file pre-fetching system, mainly solves the quick of big file
Problem is prefetched, and then reduces source station and content distributing network (Content Delivery Network, CDN) L2 cache node
Pressure.Preferably, the file pre-fetching system is based on the content smart prefetching system of point-to-point (Peer To Peer, P2P)
System, be related to large-scale cluster machine P2P download intelligent scheduling, big file it is quick-downloading.The file pre-fetching system is included certainly
Plan component, dispatch server, tracking (Tracker) server and multiple fringe nodes (Peer), as shown in Figure 2.
Refer to and 2, show the network topology figure of file pre-fetching system in an embodiment of the present invention.
As shown in Fig. 2 the file pre-fetching system includes decision-making component, dispatch server, tracking (Tracker) server
And multiple fringe nodes (Peer), wherein, the quantity of Tracker servers can include one or more, decision-making component,
Dispatch server, one or more Tracker server constitute a central dispatching system, the central dispatching system and outer
Portion's support platform communication connection simultaneously collects current traffic information, load information, the machine of each Peer from the external support platform
The related running state information such as survival, and also collect it is point-to-point between network quality information and calculated in real time, should
The optimal Tracker servers that central dispatching system can connect according to real-time result of calculation come decision-making each Peer, pass through
The result of decision is notified each corresponding Peer by Tracker, each Tracker server can connect a Peer or
Multiple Peer, each Peer introduces P2P download technologies, both can be used as client, again can be used as service end.Source station is
The website of source file is provided, when substantial amounts of Peer prefetches file to source station simultaneously in prior art, source station bandwidth can be caused to increase on foot,
Serious will cause the systemic breakdown of source station.
Please continue to refer to Fig. 1, in step s 11, the respective current state information of multiple fringe nodes is analyzed.
In the present embodiment, using the respective current state information of the multiple fringe nodes of decision-making block analysis, state letter
Breath includes real-time traffic information, load state information etc., and decision-making component is usually a server, such as policy server,
Decision-making component is connected with external support Platform communication, and the external support platform includes log system, flow system and monitoring
System, each of which system is usually an independent server, and such as flow system is responsible for receipts for a traffic server
Collect the current traffic information of each Peer, monitoring system is that a monitoring server is responsible for monitoring the present load shape of each Peer
State information, the external support platform collects the related operations such as current traffic information, load information, the machine survival of each Peer
Status information, and also collect it is point-to-point between network quality information, then by these running state informations and it is point-to-point it
Between network quality information send jointly to decision-making component and be analyzed, and calculated in real time, to obtain which or those
Peer suitably functions as the analysis result of seed server.
In step s 12, according to the current state information decision-making and one or more fringe node is selected as kind
Child servers.
In the present embodiment, decision-making component is determined analysis result real-time report to dispatch server by dispatch server
Plan simultaneously selects one or more fringe node as seed server, and decision-making component is by collecting which various information analysiss obtain
Individual or those Peer suitably function as seed server, and this analysis result is reported to into dispatch server, by dispatch service
Device decision-making simultaneously selects one or more Peer as seed server, and generally some suitably function as the Peer of seed server most
It is afterwards and certain just as seed server, in addition it is also necessary to consider the factors such as current network condition.
In step s 13, seed server is responsible for from source station downloading the file for needing to prefetch, and makes after downloading completes
The fringe node for being made file of the seed file for needing to prefetch is downloaded.
In the present embodiment, the result of decision is sent to selected kind sub-services by dispatch server by Scout service device
Device, then, seed server is responsible for from source station downloading the file for needing to prefetch, and is fabricated to seed file after downloading completes
The fringe node of the file for needing to prefetch is downloaded.
In the present embodiment, the characteristics of P2P file swappings are then using bit stream (Bit Torrent, BT), BT
While being that user downloads, also upload is being provided for other users, so will not be as file transfer protocol (FTP) (File Transfer
Protocol, FTP) server causes speed of download to reduce with the increase of number of users like that, on the contrary, for BT is downloaded
For, people's more multiple speed of download is faster.
In the present embodiment, Tracker servers are necessary roles during BT is downloaded, and need not be specified using BT services
Server, although still have the concept of server inside BT services, but the people that services using BT and server need not be concerned about
Where.BT servers are referred to as Tracker, and the Tracker in BT is primarily referred to as running on a program on server, this
Program how many people of bottom can be tracked and is downloading same file simultaneously.Client connects Tracker servers, will obtain
The list of one download personnel, can automatically connect other machines and be downloaded according to this list BT.
In the present embodiment, Tracker servers are responsible for performing the task of dispatch server, and dispatch server is by decision-making
As a result selected seed server is sent to by Tracker servers, notifies that the Peer for selecting is as seed server
's.
In the present embodiment, the Peer for selecting after the result of decision as seed server is received, just from source
Stand and download the file for needing to prefetch, and be fabricated to seed file after downloading completes.
In the present embodiment, CDN service provider usually cannot directly control source station file data, even if CDN
Service provider can directly control source station file data, then generate seed file in source station or allow source station to add P2P networks, can
The safety of the file data of source station can be impacted, it is also possible to there is substantial amounts of Peer and directly take file from source station,
So certainly will exert heavy pressures on to source station, cause source station bandwidth to increase on foot, serious will cause the systemic breakdown of source station.But
Be the present invention be that selected Peer is served as into seed server, generate seed file using seed server, rather than utilize source
Stand and generate seed file, because if generating seed file using source station, then can affect the safety of source station file data.
In one embodiment, file forecasting method provided in an embodiment of the present invention can also include step S14~S16:Its
In, in step S14, notify that each needs the seed server that the fringe node of the file for prefetching is selected before arriving to download and plants
Subfile.
In the present embodiment, dispatch server notifies the edge section of each file for needing to prefetch by Scout service device
The seed server that point is selected before arriving downloads seed file, serves as seed server and completes kind of a Ziwen in selected Peer
After the making of part, selected by dispatch server notifies the Peer of file that each needs prefetches to before by Tracker servers
Fixed seed server downloads seed file, without downloading seed file to source station, and then reduces source to greatest extent
Stand pressure.
In step S15, the fringe node of file that each needs is prefetched is by P2P modes from seed selected before
While server downloads seed file, the current state information of each fringe node is analyzed in real time, and by analysis result reality
When report.
In the present embodiment, the fringe node of file that each needs is prefetched is by P2P modes from selected before
While seed server downloads seed file, decision-making component analyzes in real time the current state information of each fringe node, and
By analysis result real-time report to dispatch server.
In step s 16, can take as seed according to the analysis result decision-making of real-time report and under being selected in current state
The fringe node of business device, and the result of decision is notified into the available download of fringe node real-time update of each file for needing to prefetch
Node.
In the present embodiment, by dispatch server is according to the analysis result decision-making of real-time report and is selected in current state
It is lower as the fringe node of seed server, and the result of decision to be pushed to into Scout service device, notify each by Scout service device
The available download node of fringe node real-time update of the individual file for needing to prefetch.
In the present embodiment, before selected seed server and on-fixed and unalterable, the present invention is according to reality
The various Peer of internet situation dynamic select serve as seed server, and this result of decision is pushed away by the seed server after renewal
Tracker servers are delivered to, notifies that each needs seeds of the Peer of the file for prefetching to after updating by Tracker servers
Server downloads seed file, so, the speed for prefetching file is improved by dynamic select seed server.
Embodiment two
Another kind of file forecasting method in enforcement two provided by the present invention will be described in detail below.
Fig. 3 is referred to, is file forecasting method flow chart in another embodiment of the invention.
In the present embodiment, step S21-S23 is identical with step S11-S13 in embodiment one respectively, and here does not do weight
Multiple narration.
In step s 24, seed file is obtained from seed server, and is issued between seed file and each fringe node
Interconnecting relation.
In the present embodiment, dispatch server from seed server obtain seed file, and by seed file and each
Interconnecting relation between fringe node is issued in Scout service device, and the interconnecting relation between each Peer constitutes a P2P net
Interconnecting relation between the seed file for getting and each fringe node is issued to Tracker services by network, dispatch server
In device.
In step s 25, after the content for issuing is received, seed file is issued to into the file that each needs is prefetched
Fringe node.
In the present embodiment, Scout service device is after the content that dispatch server is issued is received, by under seed file
The fringe node of the file that each needs is prefetched is dealt into, Tracker servers are responsible for performing the task of dispatch server, will be issued
Seed file be further issued to the Peer of file that each needs is prefetched, so, the file that each needs is prefetched
Peer need not obtain file from source station, but obtain file seed file from dispatch server, carry out further according to seed file
File is prefetched, the same pressure for reducing source station.
In step S26, analyze the current state information of each fringe node in real time, and by analysis result it is real-time on
Report.
In the present embodiment, the fringe node of the file that each needs is prefetched (is primarily referred to as the side without seed file
Edge node) by P2P modes from the fringe node for having seed file start download seed file while, decision-making component divides in real time
The current state information of each fringe node is analysed, and by analysis result real-time report to dispatch server.
In step s 27, can take as seed according to the analysis result decision-making of real-time report and under being selected in current state
The fringe node of business device, and the result of decision is notified into the available download of fringe node real-time update of each file for needing to prefetch
Node.
In the present embodiment, by dispatch server is according to the analysis result decision-making of real-time report and is selected in current state
It is lower as the fringe node of seed server, and the result of decision to be pushed to into Scout service device, notify each by Scout service device
The available download node of fringe node real-time update of the individual file for needing to prefetch.
Two kinds of file forecasting methods that the present invention is provided, serve as seed server, by kind of a sub-services using fringe node
Device goes to source station to download the file for prefetching, and other fringe nodes go to take file, can greatly reduce from seed server rather than source station again
Source station pressure, and then raising prefetches file speed, while decreasing the impact of the Hui Yuan to other normal CDN resource files;
Also selected fringe node is served as into seed server simultaneously, using seed server seed file is generated, rather than utilize source
Stand and generate seed file, and then improve the safety of source station file data.In addition, by analyzing the current of each fringe node in real time
It is available download node that status information, real-time adjustment and dynamic update fringe node, it is ensured that speed of download is maximized, and resource disappears
Consumption is minimized.
Embodiment three
Hereinafter a kind of file pre-fetching system provided by the present invention will be described in detail.
Fig. 2 is referred to, the network topology figure of file pre-fetching system in an embodiment of the present invention is shown.
In the present embodiment, the file pre-fetching system includes decision-making component, dispatch server, tracking (i.e.
Tracker) server and multiple fringe nodes (i.e. Peer), wherein, the quantity of Tracker servers can include one or
Person is multiple, and decision-making component, dispatch server, one or more Tracker server constitute a central dispatching system, should
Central dispatching system and external support Platform communication connect and collect the present flow rate letter of each Peer from the external support platform
The related running state informations such as breath, load information, machine survival, and also collect it is point-to-point between network quality information simultaneously
Calculated in real time, the central dispatching system according to real-time result of calculation come decision-making each Peer can connect it is optimal
Tracker servers, each corresponding Peer is notified by Tracker by the result of decision, and each Tracker server can
To connect a Peer or multiple Peer, each Peer introduces P2P download technologies, both can again may be used as client
Using as service end.Source station is to provide the website of source file, when substantial amounts of Peer prefetches file to source station simultaneously in prior art,
Source station bandwidth can be caused to increase on foot, serious will cause the systemic breakdown of source station.
Decision-making component, it is for analyzing the respective current state information of the plurality of fringe node and analysis result is real-time
Report to the dispatch server.
In the present embodiment, status information includes real-time traffic information, load state information etc., and decision-making component is usual
For a server, such as policy server, decision-making component is connected with external support Platform communication, the external support platform bag
Log system, flow system and monitoring system are included, each of which system is usually an independent server, such as flow
System is that a traffic server is responsible for collecting the current traffic information of each Peer, and monitoring system is that a monitoring server is born
Duty monitors the current loading condition information of each Peer, and the external support platform is collected the current traffic information of each Peer, born
The related running state informations such as information carrying breath, machine survival, and also collect it is point-to-point between network quality information, then will
These running state informations and it is point-to-point between network quality information send jointly to decision-making component and be analyzed, and carry out reality
When calculate, to obtain the analysis result which or those Peer suitably function as seed server.
Dispatch server, for according to the analysis result decision-making of real-time report and selecting one or more edge section
Point is used as seed server.
In the present embodiment, decision-making component is adapted to fill by collecting various information analysiss and obtaining which or those Peer
Work as seed server, and this analysis result reported to into dispatch server, by dispatch server decision-making and select one or
Multiple Peer finally and necessarily take as seed server, generally some Peer for suitably functioning as seed server just as seed
Business device, in addition it is also necessary to consider the factors such as current network condition.
In the present embodiment, Tracker servers are necessary roles during BT is downloaded, and need not be specified using BT services
Server, although still have the concept of server inside BT services, but the people that services using BT and server need not be concerned about
Where.BT servers are referred to as Tracker, and the Tracker in BT is primarily referred to as running on a program on server, this
Program how many people of bottom can be tracked and is downloading same file simultaneously.Client connects Tracker servers, will obtain
The list of one download personnel, can automatically connect other machines and be downloaded according to this list BT.
In the present embodiment, Tracker servers are responsible for performing the task of dispatch server, and dispatch server is by decision-making
As a result selected seed server is sent to by Tracker servers, notifies that the Peer for selecting is as seed server
's.
Seed server, for being responsible for downloading the file for needing to prefetch from source station, and is fabricated to after downloading completes kind
The fringe node of file of the subfile for needing to prefetch is downloaded.
In the present embodiment, CDN service provider usually cannot directly control source station file data, even if CDN
Service provider can directly control source station file data, then generate seed file in source station or allow source station to add P2P networks, can
The safety of the file data of source station can be impacted, it is also possible to there is substantial amounts of Peer and directly take file from source station,
So certainly will exert heavy pressures on to source station, cause source station bandwidth to increase on foot, serious will cause the systemic breakdown of source station.But
Be the present invention be that selected Peer is served as into seed server, generate seed file using seed server, rather than utilize source
Stand and generate seed file, because if generating seed file using source station, then can affect the safety of source station file data.
In addition, dispatch server, is additionally operable to notify the fringe node of each file for needing to prefetch by Scout service device
The seed server selected to before downloads seed file.The fringe node of the file prefetched in each needs passes through P2P side
Formula from selected before seed server download the seed file while, it is every that the decision-making component is additionally operable to analysis in real time
The current state information of one fringe node, and by analysis result real-time report to the dispatch server, wherein,
The dispatch server, is additionally operable to the analysis result decision-making according to real-time report and is selected under current state to make
For the fringe node of seed server, and the result of decision is pushed to into the Scout service device;
The Scout service device, under being additionally operable to notify that the fringe node real-time update of the file that each needs prefetches is available
Carry node.
Or, dispatch server is additionally operable to obtain seed file from seed server, and by seed file and each edge
Interconnecting relation between node is issued in Scout service device, wherein, the Scout service device is additionally operable to receiving the tune
The seed file is issued to the fringe node of the file that each needs is prefetched, each needs after the content that degree server is issued
The fringe node (being primarily referred to as the fringe node without seed file) of the file for prefetching is by P2P modes from there is seed file
While fringe node starts to download seed file, decision-making component is additionally operable to analyze the current state of each fringe node in real time
Information, and by analysis result real-time report to dispatch server, wherein,
The dispatch server, is additionally operable to the analysis result decision-making according to real-time report and is selected under current state to make
For the fringe node of seed server, and the result of decision is pushed to into the Scout service device;
The Scout service device, under being additionally operable to notify that the fringe node real-time update of the file that each needs prefetches is available
Carry node.
A kind of file pre-fetching system that the present invention is provided, serves as seed server, by kind of a sub-services using fringe node
Device goes to source station to download the file for prefetching, and other fringe nodes go to take file, can greatly reduce from seed server rather than source station again
Source station pressure, and then raising prefetches file speed, while decreasing the impact of the Hui Yuan to other normal CDN resource files;
Selected fringe node is also served as seed server by the embodiment of the present invention, using seed server generation seed file, and not
It is to generate seed file using source station, and then improves the safety of source station file data.In addition, the embodiment of the present invention is analyzed in real time
It is available download node that the current state information of each fringe node, real-time adjustment and dynamic update fringe node, it is ensured that downloaded
Speed is maximized, theorem about solutions.
Device embodiment described above is only schematic, wherein the unit as separating component explanation can
To be or may not be physically separate, can be as the part that unit shows or may not be physics list
Unit, you can be located at a place, or can also be distributed on multiple NEs.It can according to the actual needs be selected
In some or all of module realizing the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness
Work in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
Realize by the mode of software plus required general hardware platform, naturally it is also possible to by hardware.Based on such understanding, on
Stating the part that technical scheme substantially contributes in other words to prior art can be embodied in the form of software product, should
Computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers
Order is used so that a computer equipment (can be personal computer, server, or network equipment etc.) performs each enforcement
Method described in some parts of example or embodiment.
The foregoing is only presently preferred embodiments of the present invention, not to limit the present invention, all spirit in the present invention and
Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.
Claims (10)
1. a kind of file forecasting method, it is characterised in that comprise the following steps:
Analyze the respective current state information of multiple fringe nodes;
According to the current state information decision-making and one or more fringe node is selected as seed server;
The seed server is responsible for from source station downloading the file for needing to prefetch, and is fabricated to seed file after downloading completes
The fringe node of the file for needing to prefetch is downloaded.
2. file forecasting method as claimed in claim 1, it is characterised in that the file forecasting method also includes following step
Suddenly:
Notify that each needs the seed server that the fringe node of the file for prefetching is selected before arriving to download the seed
File;
The fringe node of the file that each needs is prefetched downloads the kind by P2P modes from seed server selected before
Subfile.
3. file forecasting method as claimed in claim 2, it is characterised in that the file forecasting method also includes following step
Suddenly:
The current state information of each fringe node is analyzed in real time, according to real-time analysis result decision-making and is selected in current shape
As the fringe node of seed server, and the result of decision can be notified into the fringe node reality of each file for needing to prefetch under state
The available download nodes of Shi Gengxin.
4. file forecasting method as claimed in claim 1, it is characterised in that the file forecasting method also includes following step
Suddenly:
The seed file is obtained from the seed server, and is issued mutual between the seed file and each fringe node
Connection is related to the fringe node of the file that each needs is prefetched.
5. file forecasting method as claimed in claim 4, it is characterised in that the file forecasting method also includes following step
Suddenly:
The current state information of each fringe node is analyzed in real time, according to real-time analysis result decision-making and is selected in current shape
As the fringe node of seed server, and the result of decision can be notified into the fringe node reality of each file for needing to prefetch under state
The available download nodes of Shi Gengxin.
6. a kind of file pre-fetching system, it is characterised in that the file pre-fetching system include decision-making component, dispatch server and
Multiple fringe nodes, wherein,
The decision-making component, it is for analyzing the respective current state information of the plurality of fringe node and analysis result is real-time
Report to the dispatch server;
The dispatch server, for according to the analysis result decision-making of real-time report and selecting one or more edge section
Point is used as seed server;
The seed server, for being responsible for downloading the file for needing to prefetch from source station, and is fabricated to after downloading completes kind
The fringe node of file of the subfile for needing to prefetch is downloaded.
7. file pre-fetching system as claimed in claim 6, it is characterised in that the file pre-fetching system also includes Scout service
Device, wherein, the dispatch server is additionally operable to notify the edge section of each file for needing to prefetch by the Scout service device
The seed server that point is selected before arriving downloads the seed file, and the fringe node of the file that each needs is prefetched leads to
Cross P2P modes and download the seed file from seed server selected before.
8. file pre-fetching system as claimed in claim 7, it is characterised in that
The decision-making component is additionally operable to analyze the current state information of each fringe node in real time, and by analysis result it is real-time on
Report to the dispatch server,
The dispatch server, is additionally operable to the analysis result decision-making according to real-time report and is selected in energy conduct kind under current state
The fringe node of child servers, and the result of decision is pushed to into the Scout service device;
The Scout service device, the available download of fringe node real-time update for being additionally operable to notify each to need the file for prefetching is saved
Point.
9. file pre-fetching system as claimed in claim 7, it is characterised in that
The dispatch server, is additionally operable to obtain the seed file from the seed server, and by the seed file and
Interconnecting relation between each fringe node is issued in the Scout service device;
The Scout service device, is additionally operable to after the content that the dispatch server is issued is received, by under the seed file
It is dealt into the fringe node of the file that each needs is prefetched.
10. file pre-fetching system as claimed in claim 9, it is characterised in that
The decision-making component is additionally operable to analyze the current state information of each fringe node in real time, and by analysis result it is real-time on
Report to the dispatch server;
The dispatch server, is additionally operable to the analysis result decision-making according to real-time report and is selected in energy conduct kind under current state
The fringe node of child servers, and the result of decision is pushed to into the Scout service device;
The Scout service device, the available download of fringe node real-time update for being additionally operable to notify each to need the file for prefetching is saved
Point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710152174.3A CN106657421A (en) | 2017-03-15 | 2017-03-15 | File pre-fetching method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710152174.3A CN106657421A (en) | 2017-03-15 | 2017-03-15 | File pre-fetching method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106657421A true CN106657421A (en) | 2017-05-10 |
Family
ID=58848289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710152174.3A Pending CN106657421A (en) | 2017-03-15 | 2017-03-15 | File pre-fetching method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106657421A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107277125A (en) * | 2017-06-13 | 2017-10-20 | 网宿科技股份有限公司 | File prefetched instruction method for pushing, device and file pre-fetching system |
CN109040308A (en) * | 2018-09-12 | 2018-12-18 | 杭州趣链科技有限公司 | A kind of document distribution system and document distribution method based on IPFS |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101087403A (en) * | 2007-05-31 | 2007-12-12 | 吴彬 | Distributed stream media order system based on P2P technology and implementation method for stream media program order |
CN101159580A (en) * | 2007-11-29 | 2008-04-09 | 中国电信股份有限公司 | Content P2P method and system in content distribution network |
CN103634692A (en) * | 2013-12-06 | 2014-03-12 | 南京理工大学连云港研究院 | CDN (content distribution network) and P2P (peer-to-peer) based hybrid stream media video-on-demand system |
CN104935640A (en) * | 2015-05-07 | 2015-09-23 | 上海逸云信息科技发展有限公司 | P2P acceleration content distribution network system and method |
CN105577646A (en) * | 2015-12-11 | 2016-05-11 | 合一网络技术(北京)有限公司 | Method for aggregating bandwidth on user side, device and content distribution system |
-
2017
- 2017-03-15 CN CN201710152174.3A patent/CN106657421A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101087403A (en) * | 2007-05-31 | 2007-12-12 | 吴彬 | Distributed stream media order system based on P2P technology and implementation method for stream media program order |
CN101159580A (en) * | 2007-11-29 | 2008-04-09 | 中国电信股份有限公司 | Content P2P method and system in content distribution network |
CN103634692A (en) * | 2013-12-06 | 2014-03-12 | 南京理工大学连云港研究院 | CDN (content distribution network) and P2P (peer-to-peer) based hybrid stream media video-on-demand system |
CN104935640A (en) * | 2015-05-07 | 2015-09-23 | 上海逸云信息科技发展有限公司 | P2P acceleration content distribution network system and method |
CN105577646A (en) * | 2015-12-11 | 2016-05-11 | 合一网络技术(北京)有限公司 | Method for aggregating bandwidth on user side, device and content distribution system |
Non-Patent Citations (2)
Title |
---|
赵松涛: "《网络应用基础》", 31 July 2006 * |
邓家先: "《信息论与编码》", 1 February 2016 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107277125A (en) * | 2017-06-13 | 2017-10-20 | 网宿科技股份有限公司 | File prefetched instruction method for pushing, device and file pre-fetching system |
CN109040308A (en) * | 2018-09-12 | 2018-12-18 | 杭州趣链科技有限公司 | A kind of document distribution system and document distribution method based on IPFS |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107465708B (en) | CDN bandwidth scheduling system and method | |
CN104834722B (en) | Content Management System based on CDN | |
CN109308221B (en) | Nginx dynamic load balancing method based on WebSocket long connection | |
CN105072172B (en) | A kind of focus statistics and method for pushing and system based on content distributing network | |
CN105281981B (en) | The data traffic monitoring method and device of network service | |
CN106657379A (en) | Implementation method and system for NGINX server load balancing | |
CN109246229A (en) | A kind of method and apparatus of distribution resource acquisition request | |
Zhang et al. | Intelligent workload factoring for a hybrid cloud computing model | |
CN103369601B (en) | For cell-phone customer terminal provides the method for large concurrent processing and flow control | |
CN101883103B (en) | Method and system for client-side scaling of Web server farm architecture in a cloud data center | |
CN103338252B (en) | Realizing method of distributed database concurrence storage virtual request mechanism | |
Doyle et al. | The trickle-down effect: Web caching and server request distribution | |
CN105242956A (en) | Virtual function service chain deployment system and deployment method therefor | |
CN103108008B (en) | A kind of method and file download system for downloading file | |
CN105516360A (en) | Method and device for load balance of computer | |
US8005926B2 (en) | Tiered web site with web-tier admission control based on utilization data generated on application tier | |
CN102055771B (en) | Device and method for controlling cloud service-oriented multiple concurrent service flow | |
CN108600300A (en) | Daily record data processing method and processing device | |
CN106790381A (en) | Dynamic feedback of load equalization methods based on weighting Smallest connection | |
CN105872856A (en) | Method and system for distributing stream media files | |
CN106101264A (en) | Content distributing network daily record method for pushing, device and system | |
CN104202386B (en) | A kind of high concurrent amount distributed file system and its secondary load equalization methods | |
CN106657421A (en) | File pre-fetching method and system | |
CN103248636B (en) | The system and method downloaded offline | |
CN107197039A (en) | A kind of PAAS platform service bag distribution methods and system based on CDN |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |
|
RJ01 | Rejection of invention patent application after publication |