CN104185036B - A kind of video file time source method and device - Google Patents
A kind of video file time source method and device Download PDFInfo
- Publication number
- CN104185036B CN104185036B CN201410459350.4A CN201410459350A CN104185036B CN 104185036 B CN104185036 B CN 104185036B CN 201410459350 A CN201410459350 A CN 201410459350A CN 104185036 B CN104185036 B CN 104185036B
- Authority
- CN
- China
- Prior art keywords
- video file
- video
- memory node
- overall situation
- downloading process
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a kind of video file time source method and device, a kind of video file time source method, including:Receive video access request;Video access request is parsed, determines the first video file for corresponding to video access request;In the case where detecting that local is not stored with the first video file, whether detection is local has been turned on the downloading process that the first video file is downloaded from global memory node;If so, control is local not to be again started up the downloading process for downloading the first video file from global memory node;Otherwise, start the downloading process that the first video file is downloaded from global memory node.Using above-mentioned technical proposal, for multiple users request of same video file, the present invention need to only start the downloading process that the video file is once downloaded to global memory node, it asks to download the video file to global memory node without repeatedly, to reduce network flow expense, the load of edge memory node and global memory node is reduced.
Description
Technical field
The present invention relates to internet Online Video service technology field, more particularly to a kind of video file returns source method and dress
It sets.
Background technology
The video point provided with the high speed development of internet Online Video business, internet Online Video service provider
It broadcasts, direct broadcast service has become one of the most frequently used Internet service of users.As internet Online Video service system
Extremely crucial one of subsystem in system, CDN (Content Delivery Network, content distributing network) system is in video
It plays an important role in terms of the distribution of file.
In recent years, the number of users of internet Online Video service and the explosive of number of videos increase, and give CDN system
Huge video distribution pressure is brought, some video files can not be synchronized to certain edge caches in CDN system in time
On node.If at this point, asking above-mentioned video file, the edge caching nodes that can use the side of Hui Yuan to these edge caching nodes
Method obtains corresponding video file from global memory node, wherein is stored with above-mentioned video file in above-mentioned overall situation memory node.
Existing time source method, the case where for multiple users request for same video file while initiation, edge
Cache node can initiate multiple for asking the source of returning of the video file to be asked, the overall situation memory node to global memory node
Above-mentioned multiple times sources request is responded, repeatedly returns to the video file to the edge caching nodes.
However, due to being asked for the multiple users initiated simultaneously for same video file, the edge in the CDN system
Cache node needs the global memory node repeatedly into the CDN system to ask the video file, and network flow expense is larger, should
The load of edge caching nodes and global memory node in CDN system is larger.
Invention content
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of video files to return source method and device, specific skill
Art scheme is as follows:
A kind of video file time source method, is applied on the edge caching nodes in content distributing network CDN system, described
CDN system includes at least:Edge caching nodes and global memory node, the method includes:
Receive video access request;
Video access request is parsed, determines the first video file for corresponding to video access request;
In the case where detecting that local is not stored with first video file, whether detection is local has been turned on from the overall situation
Memory node downloads the downloading process of first video file;
If it is, local be not again started up from global memory node of control downloads being downloaded into for first video file
Journey;
Otherwise, start the downloading process that first video file is downloaded from the global memory node.
Optionally, the method further includes:
Detect first video file whether be a complete video file video segmentation;
In the case where it is the video segmentation of a complete video file to detect first video file, start from complete
Office's memory node downloads the downloading process of other video segmentations of the complete video file;
The video segmentation for downloading the obtained complete video file is merged, complete video file is obtained.
Optionally, the global memory node, including:First order overall situation memory node and second level overall situation memory node;
The downloading process of first video file is downloaded in the startup from global memory node, including:
First video file is downloaded to the request of second level overall situation memory node;
The feedback information for receiving second level overall situation memory node, judges that the second level overall situation is deposited according to the feedback information
It whether is stored with first video file on storage node;
If it is, starting the downloading process for downloading first video file from the second level overall situation memory node;
Otherwise, start the downloading process that first video file is downloaded from first order overall situation memory node.
Optionally, the CDN system further includes:Dispatch server;
The reception video access request, including:
Receive the video access request that the user terminal of dispatch server forwarding is sent.
Optionally, the method further includes:
Obtained first video file will be downloaded and feed back to the user terminal.
Optionally, the method further includes:
Obtained first video file will be downloaded to store to local.
A kind of video file time source device, is applied on the edge caching nodes in CDN system, the CDN system is at least
Including:Edge caching nodes and global memory node, described device include:
Request receiving module, for receiving video access request;
Request analysis module, the video access request for being received to the request receiving module are parsed, are determined
Corresponding to the first video file of video access request;
First detection module, in the case where detecting that local is not stored with first video file, detection to be originally
Whether ground has been turned on the downloading process that the first video file that the request analysis module is resolved to is downloaded from global memory node;
Control module, in the case where the testing result of the first detection module is to be, controlling local not again
Start the downloading process that first video file is downloaded from global memory node;
First starting module, in the case where the testing result of the first detection module is no, starting from described
Global memory node downloads the downloading process of first video file.
Optionally, described device further includes:
Second detection module, for detect first video file whether be a complete video file video point
Section;
Second starting module, in the case where the testing result of second detection module is to be, starting from the overall situation
Memory node downloads the downloading process of other video segmentations of the complete video file;
Video merging module is obtained for merging the video segmentation for downloading the obtained complete video file
Complete video file.
Optionally, the global memory node, including:First order overall situation memory node and second level overall situation memory node;
First starting module, including:
Submodule is asked, for downloading first video file to the request of second level overall situation memory node;
Judging submodule, the feedback information for receiving second level overall situation memory node, and according to the feedback information, sentence
It whether is stored with first video file on the disconnected second level overall situation memory node;
First promoter module, in the case where the judging result of the judging submodule is to be, starting from described
Second level overall situation memory node downloads the downloading process of first video file;
Second promoter module, in the case where the judging result of the judging submodule is no, starting from first
The global memory node of grade downloads the downloading process of first video file.
Optionally, the CDN system further includes:Dispatch server;
The request receiving module, is specifically used for:
Receive the video access request that the user terminal of dispatch server forwarding is sent.
Optionally, described device further includes:
Video feed module feeds back to the user terminal for will download obtained first video file.
Optionally, described device further includes:
Video storage modules, for the storage of obtained first video file will to be downloaded to local.
From said program as can be seen that the video file that present example provides returns source method and device, can receive
After being asked to video access, video access request is parsed, determines corresponding first video file;And detecting this
In the case that ground is not stored with the first video file, continue that local whether have been turned on from global memory node download first of detection regards
The downloading process of frequency file;In the case where testing result is to be, local be not again started up from global memory node of control is downloaded
The downloading process of first video file;In the case where testing result is no, starts from the global memory node and download first
The downloading process of video file.
Compared with prior art, it is asked for multiple users of same video file, the embodiment of the present invention need to only start one
The secondary downloading process that this document is downloaded to global memory node asks to download video text to global memory node without repeatedly
Part reduces the load of edge memory node and global memory node to reduce network flow expense.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is the flow chart that a kind of video file provided in an embodiment of the present invention returns source method;
Fig. 2 is the exemplary plot of CDN storage architectures provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of embodiment of S105 in Fig. 1 provided in an embodiment of the present invention;
Fig. 4 is the flow chart that another video file provided in an embodiment of the present invention returns source method;
Fig. 5 is the flow chart that another video file provided in an embodiment of the present invention returns source method;
Fig. 6 is the structural schematic diagram that a kind of video file provided in an embodiment of the present invention returns source device;
Fig. 7 is a kind of structural schematic diagram of the first starting module 605 in Fig. 6 provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram that another video file provided in an embodiment of the present invention returns source device;
Fig. 9 is the structural schematic diagram that another video file provided in an embodiment of the present invention returns source device.
Specific implementation mode
In order to make those skilled in the art more fully understand the technical solution in the present invention, implement below in conjunction with the present invention
Attached drawing in example, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment
Only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, the common skill in this field
The every other embodiment that art personnel are obtained without making creative work belongs to the model that the present invention protects
It encloses.
The video point provided with the high speed development of internet Online Video business, internet Online Video service provider
It broadcasts, direct broadcast service has become one of the most frequently used Internet service of users.As internet Online Video service system
Extremely crucial one of subsystem in system, CDN (Content Delivery Network, content distributing network) system is in video
It plays an important role in terms of the distribution of file.In recent years, the number of users of internet Online Video service and number of videos
Burst increases, and brings huge video distribution pressure to CDN system, some video files can not be synchronized to CDN in time
On certain edge caching nodes in system.Therefore, it is necessary to these video files are synchronized to above-mentioned side using the method for Hui Yuan
On edge cache node.
However, existing video returns source method, there are network flow expense is larger and node server load is big etc. asks
Topic, to solve the above-mentioned problems, an embodiment of the present invention provides a kind of video files to return source method and device.
Source method is returned to a kind of video file provided in an embodiment of the present invention first below to be introduced.
It should be noted that edge cache section of the present invention method suitable for content distributing network CDN system
On point, the content distributing network CDN system includes at least:Edge caching nodes and global memory node.
As shown in Figure 1, a kind of video file provided in an embodiment of the present invention returns source method, may include:
S101 receives video access request.
Video access request in the embodiment of the present invention is for the edge cache section into content distributing network CDN system
Point obtains the request of video file.
Optionally, the content distributing network CDN system in the embodiment of the present invention may include:Edge caching nodes, the overall situation
Memory node and dispatch server;
When user terminal asks video file to CDN system, what the dispatch server can send user terminal
Video access is asked, be transmitted to the user terminal be in edge caching nodes in consolidated network region or network transmission away from
From nearest edge caching nodes.Correspondingly, edge caching nodes can receive dispatch server forwarding in the CDN system
Carry out the request of user terminal video access.
S102 parses video access request, determines the first video for corresponding to video access request
File.
For example, after receiving the video access request for film " transformer 4 " of external equipment transmission, edge is slow
The video access can be asked to carry out a series of parsing by depositing node, and then know that the video file of external equipment request is
" transformer 4 ".
Further, in embodiments of the present invention, the method can also include:
Whether detection is local is stored with first video file;
Detect first video file has been locally stored in the case of, directly first video file is sent to
The terminals such as the external equipment of the video file, such as smart mobile phone, tablet computer are asked to be started to write.
S103, in the case where detecting that local is not stored with the first video file, whether detection is local has been turned on from complete
Office's memory node downloads the downloading process of the first video file;If so, going to S104, S105 is otherwise gone to.
It should be noted that " downloading process " described in the embodiment of the present invention is:It is stored from edge caching nodes to the overall situation
Node sends video and returns source request, and video file is successfully returned to the mistake of the edge caching nodes to the overall situation memory node
Journey.
S104, control is local not to be again started up the downloading process that first video file is downloaded from global memory node.
Specifically, in embodiments of the present invention, detecting local have been turned on from global memory node the first video of download
After the downloading process of file, it can control local not again to overall situation memory node transmission for obtaining the video file
Video returns source request.
For example, terminal device asks the video file to the edge caching nodes for not being stored with video file 1, the edge is slow
Node is deposited after detecting that local is not stored with the video file, if detecting that the video file is in download state,
Edge caching nodes to global buffer node without sending the video time source request for the video file again.
S105 starts the downloading process that first video file is downloaded from the global memory node.
Specifically, in embodiments of the present invention, it is local not actuated from global memory node the first video of download detecting
After the downloading process of file, the video for obtaining the video file can be sent to the overall situation memory node and returns source request.
Further, in embodiments of the present invention, the method can also include:
After being successfully downloaded to first video file, obtained first video file will be downloaded and feed back to user
Terminal.
From said program as can be seen that the video file that present example provides returns source method, video can received
After access request, video access request is parsed, determines corresponding first video file;And it is not deposited locally detecting
In the case of containing the first video file, continue that local whether have been turned on from global memory node of detection downloads the first video file
Downloading process;In the case where testing result is to be, local be not again started up from global memory node download first of control regards
The downloading process of frequency file;In the case where testing result is no, starts from the global memory node and download the first video text
The downloading process of part.
Compared with prior art, it is asked for multiple users of same video file, the embodiment of the present invention need to only start one
The secondary downloading process that this document is downloaded to global memory node asks to download video text to global memory node without repeatedly
Part reduces the load of edge memory node and global memory node to reduce network flow expense.
Optionally, in one embodiment of the invention, the global memory node in CDN system shown in Fig. 2, can wrap
It includes:First order overall situation memory node and second level overall situation memory node;
As shown in figure 3, above-mentioned S105, may include:
S105a downloads first video file to the request of second level overall situation memory node.
It should be noted that the CND management by synchronization servers in CDN system shown in Fig. 2 are synchronized to video file
When, video file is synchronized to first order overall situation memory node first, is then to be synchronized to second level overall situation memory node, last
It is to be synchronized to edge caching nodes.
Specifically, the mode that request is directly sent to second level overall situation memory node may be used in the edge caching nodes,
To ask to download first video file.
After the request for receiving edge caching nodes transmission, second level overall situation memory node can be interior for receiving
Hold and generate corresponding feedback information, and feeds back to edge caching nodes;Specifically, the feedback information, which carries, can reflect this
Whether second level overall situation memory node is locally stored with the information of the first video file.
S105b receives the feedback information of second level overall situation memory node, judges the second level according to the feedback information
Whether first video file is stored on global memory node;If so, going to S105c, S105d is otherwise gone to.
S105c starts the downloading process that first video file is downloaded from the second level overall situation memory node.
According to judging result, after knowing that second level global buffer node is stored with the first video file, this can be controlled
Ground directly sends to the second level overall situation memory node and is asked for obtaining the source of going back to of the video file, to trigger downloading process.
S105d starts the downloading process that first video file is downloaded from first order overall situation memory node.
Since first order overall situation memory node is stored with almost all of video file, according to judging result, obtain
After knowing that the second level global buffer node is not stored with the first video file, it can control local directly to the storage of the first order overall situation
Node is sent asks for obtaining the source of going back to of the video file, to trigger downloading process.
Optionally, in one embodiment of the invention, video file provided in an embodiment of the present invention returns source method and may be used also
To increase S106, S107 and S108 on the basis of method shown in Fig. 1.
It should be noted that S106, S107 and S108 can both be executed according to the execution of method shown in Fig. 4 sequence,
Other execution sequences may be used to execute, the embodiment of the present invention is not construed as limiting this.Below to S106, S107 and S108 into
Row detailed description.
S106, detect first video file whether be a complete video file video segmentation.If so, executing
Otherwise S107 is not dealt with.
It should be noted that the video file that user terminal is asked to edge caching nodes, can be not only one complete
Video file can also be a video segmentation of a complete video file.
S107 starts the downloading process for other video segmentations that the complete video file is downloaded from global memory node.
It is understood that the case where first video file is a video segmentation of a complete video file
Under, which usually can also ask other video segmentations of the complete video file.
Based on above-mentioned consideration, other videos point that global memory node downloads the complete video file can be started simultaneously
The downloading process of section, and then obtain other video segmentations of the complete video file.
S108 merges the video segmentation for downloading the obtained complete video file, obtains complete video text
Part.
Further, after merging obtains complete video file, which can be stored to local, so as to energy
Enough quick responses are directed to the user terminal requests of the complete video file, and then the complete video file is fed back to user's end
End.
Optionally, in one embodiment of the invention, as shown in figure 5, video file provided in an embodiment of the present invention returns
Source method below can be described in detail S109 with increasing S109 on the basis of method shown in Fig. 1.
S109 will download obtained first video file and store to local.
In order to avoid edge caching nodes repeatedly ask first video file to global memory node, it is slow to improve edge
The response speed of node is deposited, and reduces the access pressure of global memory node, can will download obtained first object video text
Part is stored to local.
Further, it is contemplated that edge caching nodes space utilisation and video update the problems such as very fast, can will download
Obtained video file only stores a period of time.For example, for the lower video file of visit capacity, only stored 3 months.
Corresponding to embodiment of the method shown in FIG. 1, the embodiment of the present invention additionally provides a kind of video file time source device.
As shown in fig. 6, a kind of video file provided in an embodiment of the present invention returns source device, described device may include:
Request receiving module 601, for receiving video access request;
Request analysis module 602, the video access request for being received to the request receiving module 601 solve
Analysis determines the first video file for corresponding to video access request;
First detection module 603, in the case where detecting that local is not stored with first video file, detecting
It is local whether to have been turned on the download that the first video file that the request analysis module 602 is resolved to is downloaded from global memory node
Process;
Control module 604, in the case where the testing result of the first detection module 603 is to be, control to be local
It is not again started up the downloading process that first video file is downloaded from global memory node;
First starting module 605, in the case where the testing result of the first detection module 603 is no, starting
The downloading process of first video file is downloaded from the global memory node.
It can be seen that present example provide video file return source device, can receive video access request after,
Video access request is parsed, determines corresponding first video file;And detecting that not locally being stored with first regards
In the case of frequency file, continue that local whether have been turned on from global memory node of detection downloads being downloaded into for the first video file
Journey;In the case where testing result is to be, local be not again started up from global memory node of control downloads the first video file
Downloading process;In the case where testing result is no, start the download that the first video file is downloaded from the global memory node
Process.
Compared with prior art, it is asked for multiple users of same video file, the embodiment of the present invention need to only start one
The secondary downloading process that this document is downloaded to global memory node asks to download video text to global memory node without repeatedly
Part reduces the load of edge memory node and global memory node to reduce network flow expense.
Optionally, in one embodiment of the invention, the global memory node in CDN system as shown in Figure 2, can wrap
It includes:First order overall situation memory node and second level overall situation memory node;
As shown in fig. 7, first starting module 605, may include:
Submodule 605a is asked, for downloading first video file to the request of second level overall situation memory node;
Judging submodule 605b, the feedback information for receiving second level overall situation memory node, and according to the feedback letter
Breath, judges first video file whether is stored on the second level overall situation memory node;
First promoter module 605c, in the case where the judging result of the judging submodule 605b is to be, opening
The dynamic downloading process that the target video file is downloaded from the second level overall situation memory node;
Second promoter module 605d, in the case where the judging result of the judging submodule 605b is no, opening
The dynamic downloading process that first video file is downloaded from first order overall situation memory node.
Optionally, in one embodiment of the invention, video file provided in an embodiment of the present invention returns source device and may be used also
To increase the second detection module 606, the second starting module 607 and video merging module 608 on the basis of device shown in Fig. 6.
It should be noted that the second detection module 606, the second starting module 607 and video merging module 608 both can be by
It is attached, can also be attached according to other connection types, the embodiment of the present invention according to the connection type of Fig. 8 shown devices
This is not construed as limiting.Below to the second detection module 606, the function progress of the second starting module 607 and video merging module 608
Detailed description.
Second detection module 606, for detect first video file whether be a complete video file video
Segmentation;
Second starting module 607, in the case where the testing result of second detection module 606 is to be, starting
The downloading process of other video segmentations of the complete video file is downloaded from global memory node;
Video merging module 608 is obtained for merging the video segmentation for downloading the obtained complete video file
To complete video file.
Optionally, in one embodiment of the invention, the CDN system can also include:Dispatch server;
The request receiving module 601, is specifically used for:Receive the video visit that the user terminal of dispatch server forwarding is sent
Ask request.
Optionally, in one embodiment of the invention, described device further includes:
Video feed module feeds back to the user terminal for will download obtained first video file.
Optionally, in one embodiment of the invention, as shown in figure 9, video file provided in an embodiment of the present invention returns
Source device can be to increase video storage modules 609, below to video storage modules 609 on the basis of device shown in Fig. 6
Function is described in detail.
Video storage modules 609, for the storage of obtained first video file will to be downloaded to local.
For device embodiments, since it is substantially similar to the method embodiment, so fairly simple, the correlation of description
Place illustrates referring to the part of embodiment of the method.
For convenience of description, it is divided into various modules when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each module is realized can in the same or multiple software and or hardware when invention.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality
For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method
Part explanation.
One of ordinary skill in the art will appreciate that all or part of step in realization above method embodiment is can
It is completed with instructing relevant hardware by program, the program can be stored in computer read/write memory medium,
The storage medium designated herein obtained, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (10)
1. a kind of video file returns source method, it is applied on the edge caching nodes in content distributing network CDN system, it is described
CDN system includes at least:Edge caching nodes and global memory node, which is characterized in that the method includes:
Receive video access request;
Video access request is parsed, determines the first video file for corresponding to video access request;
Detect it is local be not stored with first video file in the case of, local whether has been turned on from the overall situation of detection stores
Node downloads the downloading process of first video file;The downloading process is:It stores and saves from edge caching nodes to the overall situation
Point sends video and returns source request, and video file is successfully returned to the process of the edge caching nodes to the overall situation memory node;
If it is, control is local not to be again started up the downloading process for downloading first video file from global memory node;
Otherwise, start the downloading process that first video file is downloaded from the global memory node;
Wherein, the global memory node, including:First order overall situation memory node and second level overall situation memory node;It is described to open
The dynamic downloading process that first video file is downloaded from global memory node, including:
First video file is downloaded to the request of second level overall situation memory node;
The feedback information for receiving second level overall situation memory node judges the second level overall situation storage section according to the feedback information
Whether first video file is stored on point;
If it is, starting the downloading process for downloading first video file from the second level overall situation memory node;
Otherwise, start the downloading process that first video file is downloaded from first order overall situation memory node.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
Detect first video file whether be a complete video file video segmentation;
In the case where it is the video segmentation of a complete video file to detect first video file, startup is deposited from the overall situation
Storage node downloads the downloading process of other video segmentations of the complete video file;
The video segmentation for downloading the obtained complete video file is merged, complete video file is obtained.
3. according to the method described in claim 1, it is characterized in that, the CDN system further includes:Dispatch server;
The reception video access request, including:
Receive the video access request that the user terminal of dispatch server forwarding is sent.
4. according to the method described in claim 3, it is characterized in that, the method further includes:
Obtained first video file will be downloaded and feed back to the user terminal.
5. according to the method described in claim 1, it is characterized in that, the method further includes:
Obtained first video file will be downloaded to store to local.
6. a kind of video file returns source device, it is applied on the edge caching nodes in CDN system, the CDN system at least wraps
It includes:Edge caching nodes and global memory node, which is characterized in that described device includes:
Request receiving module, for receiving video access request;
Request analysis module, the video access request for being received to the request receiving module parse, determine and correspond to
In the first video file of video access request;
First detection module, in the case where detecting that local is not stored with first video file, detection local to be
It is no to have been turned on the downloading process that the first video file that the request analysis module is resolved to is downloaded from global memory node;It is described
Downloading process is:Video is sent to global memory node from edge caching nodes and return source request, to overall situation memory node success
Video file is returned to the process of the edge caching nodes;
Control module, in the case where the testing result of the first detection module is to be, control is local not to be again started up
The downloading process of first video file is downloaded from global memory node;
First starting module, in the case where the testing result of the first detection module is no, starting from the overall situation
Memory node downloads the downloading process of first video file;
Wherein, the global memory node, including:First order overall situation memory node and second level overall situation memory node;
First starting module, including:
Submodule is asked, for downloading first video file to the request of second level overall situation memory node;
Judging submodule, the feedback information for receiving second level overall situation memory node, and according to the feedback information, judge institute
It states and whether is stored with first video file on the overall situation memory node of the second level;
First promoter module, in the case where the judging result of the judging submodule is to be, starting from described second
The global memory node of grade downloads the downloading process of first video file;
Second promoter module, in the case where the judging result of the judging submodule is no, starting complete from the first order
Office's memory node downloads the downloading process of first video file.
7. device according to claim 6, which is characterized in that described device further includes:
Second detection module, for detect first video file whether be a complete video file video segmentation;
Second starting module, in the case where the testing result of second detection module is to be, starting and being stored from the overall situation
Node downloads the downloading process of other video segmentations of the complete video file;
Video merging module obtains complete for merging the video segmentation for downloading the obtained complete video file
Video file.
8. device according to claim 6, which is characterized in that the CDN system further includes:Dispatch server;
The request receiving module, is specifically used for:
Receive the video access request that the user terminal of dispatch server forwarding is sent.
9. device according to claim 8, which is characterized in that described device further includes:
Video feed module feeds back to the user terminal for will download obtained first video file.
10. device according to claim 6, which is characterized in that described device further includes:
Video storage modules, for the storage of obtained first video file will to be downloaded to local.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410459350.4A CN104185036B (en) | 2014-09-10 | 2014-09-10 | A kind of video file time source method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410459350.4A CN104185036B (en) | 2014-09-10 | 2014-09-10 | A kind of video file time source method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104185036A CN104185036A (en) | 2014-12-03 |
CN104185036B true CN104185036B (en) | 2018-08-07 |
Family
ID=51965728
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410459350.4A Active CN104185036B (en) | 2014-09-10 | 2014-09-10 | A kind of video file time source method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104185036B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105791366B (en) * | 2014-12-26 | 2019-01-18 | 中国电信股份有限公司 | A kind of big file HTTP-Range method for down loading, cache server and system |
CN104980494B (en) * | 2015-05-14 | 2018-07-13 | 大连理工大学 | A kind of cloud storage download shared platform and method with local cache |
CN105242885B (en) * | 2015-10-30 | 2019-03-26 | 北京奇艺世纪科技有限公司 | A kind of variation and device of network storage |
CN107277561A (en) * | 2016-04-08 | 2017-10-20 | 北京优朋普乐科技有限公司 | Content distributing network |
CN105824707A (en) * | 2016-04-21 | 2016-08-03 | 乐视控股(北京)有限公司 | Merging back-source method and device for multiple processes of streaming media service |
CN105959358A (en) * | 2016-04-25 | 2016-09-21 | 乐视控股(北京)有限公司 | CDN server and method of CDN server of caching data |
CN105847393A (en) * | 2016-04-25 | 2016-08-10 | 乐视控股(北京)有限公司 | Content distribution method, device and system |
CN108924579A (en) * | 2018-08-28 | 2018-11-30 | 深圳市网心科技有限公司 | Video networking system returns source network node equipment, method and storage medium |
CN111726387A (en) * | 2019-03-22 | 2020-09-29 | 华为技术有限公司 | Resource acquisition method and device |
EP3745327A1 (en) * | 2019-05-29 | 2020-12-02 | Ningbo Geely Automobile Research & Development Co. Ltd. | A system and method for managing the storing of data in a vehicle |
CN112398884B (en) * | 2019-08-14 | 2023-08-25 | 上海哔哩哔哩科技有限公司 | Flow scheduling control method under mirror image back source scene, readable storage medium and computer equipment |
CN115022177B (en) * | 2022-06-08 | 2023-10-24 | 阿里巴巴(中国)有限公司 | CDN system, source returning method, CDN node and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102143121A (en) * | 2010-01-29 | 2011-08-03 | 北京搜狗科技发展有限公司 | Video downloading method and device |
CN102231749A (en) * | 2011-08-12 | 2011-11-02 | 乐视网信息技术(北京)股份有限公司 | System and method for transmitting live stream by utilizing content delivery network (CDN) |
CN103401931A (en) * | 2013-08-05 | 2013-11-20 | 天闻数媒科技(湖南)有限公司 | Method and system for downloading file |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101378494B (en) * | 2008-10-07 | 2011-04-20 | 中兴通讯股份有限公司 | System and method for implementing internet television medium interaction |
CN101753403A (en) * | 2008-12-12 | 2010-06-23 | Tcl集团股份有限公司 | Network resource downloading method |
CN102263828B (en) * | 2011-08-24 | 2013-08-07 | 北京蓝汛通信技术有限责任公司 | Load balanced sharing method and equipment |
CN103747112A (en) * | 2013-12-24 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | CDN back-to-source method, first server and system thereof |
-
2014
- 2014-09-10 CN CN201410459350.4A patent/CN104185036B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102143121A (en) * | 2010-01-29 | 2011-08-03 | 北京搜狗科技发展有限公司 | Video downloading method and device |
CN102231749A (en) * | 2011-08-12 | 2011-11-02 | 乐视网信息技术(北京)股份有限公司 | System and method for transmitting live stream by utilizing content delivery network (CDN) |
CN103401931A (en) * | 2013-08-05 | 2013-11-20 | 天闻数媒科技(湖南)有限公司 | Method and system for downloading file |
Also Published As
Publication number | Publication date |
---|---|
CN104185036A (en) | 2014-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104185036B (en) | A kind of video file time source method and device | |
CN108737405B (en) | Method, CCL server and system for guiding direct broadcasting video stream | |
US11212742B2 (en) | UPF selection method and device | |
US11064012B2 (en) | File downloading method, apparatus, and non-transitory computer-readable storage medium | |
CN100411341C (en) | Parallel downloading method and terminal | |
CN1988535B (en) | Synchronous method, system for file storage and customer terminal | |
CN105791344B (en) | Method, system, load balancer and the service bus device of gray scale issuing service processing | |
CN108737500B (en) | Target resource obtaining and providing method and device, storage medium and computer equipment | |
CN104965717A (en) | Method and apparatus for loading page | |
CN102394880B (en) | Method and device for processing jump response in content delivery network | |
CN103391479A (en) | Method, device, terminal and system for customizing updated series | |
CN111221469B (en) | Method, device and system for synchronizing cache data | |
CN105471716A (en) | Method for achieving message synchronization across clients, user equipment and server | |
CN104506643A (en) | Server of distributed storage system and data synchronizing method between servers | |
CN103188574A (en) | Method and system for transmitting network video | |
CN102571940A (en) | Remote application installation system, method, intelligent terminal and application server | |
CN103281798A (en) | Method, device and system for achieving modification synchronization | |
CN102790784A (en) | Distributed cache method and system and cache analyzing method and analyzing system | |
CN103281356A (en) | File distribution method and system | |
CN103440143A (en) | System and method for upgrading mobile web application | |
CN101924791B (en) | Method, device and system for displaying multimedia information | |
CN101170442B (en) | Software online upgrade method and system | |
CN105872028B (en) | Server-side, client and access strategy management method | |
TWI357748B (en) | System and method for correlating messages within | |
CN107566881B (en) | VR equipment control method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |