CN102546786B - Method and system for variable-length access of multi-media files in content distribution network - Google Patents

Method and system for variable-length access of multi-media files in content distribution network Download PDF

Info

Publication number
CN102546786B
CN102546786B CN201110451053.1A CN201110451053A CN102546786B CN 102546786 B CN102546786 B CN 102546786B CN 201110451053 A CN201110451053 A CN 201110451053A CN 102546786 B CN102546786 B CN 102546786B
Authority
CN
China
Prior art keywords
elongated
file
burst
preprocessed
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110451053.1A
Other languages
Chinese (zh)
Other versions
CN102546786A (en
Inventor
黄德光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201110451053.1A priority Critical patent/CN102546786B/en
Publication of CN102546786A publication Critical patent/CN102546786A/en
Application granted granted Critical
Publication of CN102546786B publication Critical patent/CN102546786B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for variable-length access of multi-media files in a content distribution network (CDN). Upper layer nodes in the CDN conduct variable-length preprocessing on the multi-media files to obtain variable-length preprocessing files. The upper layer nodes conduct variable-length file division on the multi-media files and the variable-length preprocessing files, and at least one variable-length fragmentation piece of the variable-length preprocessing files after division is sent to border nodes. The upper layer nodes push following variable-length fragmentation pieces of the variable-length preprocessing files to the border nodes sequentially according to broadcasting of the border nodes on the multi-media files. The border nodes obtain corresponding variable-length fragmentation pieces of the multi-media files according to each variable-length fragmentation piece of the variable-length preprocessing files. The invention further discloses a system for the variable-length access of the multi-media files in the CDN. By means of the technical scheme, maintaining information of each node in the CDN is reduced, and load balancing of each border node is guaranteed.

Description

The method and system of variable-length access of multi-media files in content distribution network
Technical field
The present invention relates to multimedia and store operation technique, particularly relate to the method and system of the elongated access of multimedia file in a kind of content distributing network (CDN, Content Delivery Network).
Background technology
Along with the progress of science and technology, people are no longer limited to local play multimedia content to the pursuit of multimedia technology, and more rely on and obtain various media file (comprising sound, video) by network.And the information that the information of human eye vision transmission is transmitted much larger than other sense organs, therefore Internet video is popular just not at all surprising.In order to tackle network audio-video transmission time bring high bandwidth, high quality-of-service (QOS, Quality of Service), large user amount pressure, CDN arises at the historic moment.
Briefly, CDN is a total system through policy deployment, comprise redirected and Content Management 4 important documents of distributed storage, load balancing, network request, and the network flow management (Traffic Management) of Content Management and the overall situation is the core place of CDN.By the judgement of user's close and server load, CDN guarantees that content provides service with a kind of very efficiently request that mode is user.The general structure of CDN is as shown in Figure 1: Centroid has regional center node under its command, and each regional center node has all fringe nodes in region under its command, and each node carries out unified management by management node.
CDN content stores and scheduling has two kinds of modes at present, and one in units of complete file, carries out storage use, and another kind file division is become fixed length burst to be that unit carries out storage use.But all there is respective deficiency in these two kinds of modes.
Multimedia file carries out storage and uses in units of complete file, there is following problem:
1, under the framework by different level of traditional CDN, in units of complete file, storage and scheduling meeting cause CDN fringe node or server storage waste seriously, and this can cause CDN carrying cost significantly to rise;
2, dispatch complete content to need to consume a large amount of network bandwidths and disposal ability;
3, because fringe node or server cannot provide service before content scheduling completes, cause a large number of users to be redirected or tandem to other nodes and server, content scheduling consume time longer.
Multimedia file carries out storage and uses in units of fixed length burst, there is following problem:
When 1, adopting fixed length burst, slicing files number doublings can be caused, when storing the file of same content, the fileinfo quantity several times even decades of times growth under sliced fashion can be made, bring inconvenience to data management;
2, the scheduling of fixed length burst is actually the balance of storage, bandwidth traffic and management, if slicing files lacks at fringe node, now burst is dispatched to this fringe node, the use of memory space and complete file are distinguished not quite for unit stores, if but when reaching certain threshold value, burst is dispatched to this fringe node, the bandwidth resources of the long-range reading at substantial before causing, comprising: rely on node go out to bandwidth, home node enter to bandwidth, metropolitan area network bandwidth resources; If now do not carry out long-range reading, the management of cross-node relay flow process can be made again to become very complicated.
When 3, adopting fixed length burst, change the fixed length length difficulty of having disposed very large.
Summary of the invention
In view of this, main purpose of the present invention is to provide the method and system of the elongated access of multimedia file in a kind of CDN, can reduce the maintenance information of each node in CDN, ensures the load balancing of each fringe node.
For achieving the above object, technical scheme of the present invention is achieved in that
The method of the elongated access of multimedia file in a kind of CDN provided by the invention, the method comprises:
Multimedia file is carried out elongated preliminary treatment and obtains elongated preprocessed file by CDN at the middle and upper levels node;
Described upper layer node carries out elongated file division to multimedia file and elongated preprocessed file, and the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node;
Described upper layer node, according to the program request of fringe node to described multimedia file, pushes the follow-up elongated burst of elongated preprocessed file successively to fringe node;
Fringe node obtains the elongated burst of corresponding multimedia file according to each elongated burst of described elongated preprocessed file.
In such scheme, multimedia file is carried out elongated preliminary treatment and obtains elongated preprocessed file and be by described upper layer node: upper layer node checks size and the timestamp of the every frame of multimedia file by decoder, the size of accumulative each frame, the timestamp of the size that record is accumulative and accumulative last frame, when the size of present frame add accumulated size exceed benchmark size time, with accumulative last frame for ending, the accumulative fileinfo of record is in elongated preprocessed file, and the size of accumulating subsequent frame again.
In such scheme, multimedia file is carried out node or regional center node centered by upper layer node that elongated preliminary treatment obtains in elongated preprocessed file by described upper layer node.
In such scheme, described upper layer node carries out elongated file division to multimedia file and elongated preprocessed file: upper layer node is according to the LSN in fileinfo accumulative in elongated preprocessed file, determine total record number, to total record number by except 2 circular treatment, obtain each elongated burst size of multimedia file; Be divided into different elongated burst by each elongated burst large young pathbreaker multimedia file, and elongated preprocessed file is divided into the elongated burst corresponding with the elongated burst of multimedia file.
In such scheme, the non-positive exponent being chosen for the constant of multimedia file length of described benchmark size doubly, and rounds up.
In such scheme, the elongated burst that described fringe node obtains corresponding multimedia file according to each elongated burst of described elongated preprocessed file is:
After fringe node receives each elongated burst of elongated preprocessed file, choose elongated file home record wherein number and elongated endfile record number, the elongated burst position of multimedia file is navigated to according to elongated file home record number corresponding document misregistration amount, start the elongated burst downloading the multimedia file navigated to, until the next one elongated file home record number corresponding document misregistration amount of elongated endfile record number.
In such scheme, the method also comprises: the elongated burst of described fringe node at least two multimedia files obtained carries out splicing and store.
The system of the elongated access of multimedia file in a kind of CDN provided by the invention, this system comprises: upper layer node, fringe node; Wherein,
Upper layer node, obtains elongated preprocessed file for multimedia file is carried out elongated preliminary treatment; Elongated file division is carried out to multimedia file and elongated preprocessed file, the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node; And according to the program request of fringe node to described multimedia file, push the follow-up elongated burst of elongated preprocessed file successively to fringe node;
Fringe node, for obtaining the elongated burst of corresponding multimedia file according to each elongated burst of described elongated preprocessed file.
In such scheme, described upper layer node comprises: Centroid and regional center node, wherein,
Centroid, obtains elongated preprocessed file for multimedia file is carried out elongated preliminary treatment;
Regional center node, for downloading elongated preprocessed file and multimedia file from Centroid, elongated file division is carried out to multimedia file and elongated preprocessed file, the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node, and according to the program request of fringe node to described multimedia file, push the follow-up elongated burst of elongated preprocessed file successively to fringe node.
Described in such scheme, Centroid comprises: elongated preliminary treatment (VLPP, Variant LengthPreProcess) module, obtains elongated preprocessed file for multimedia file is carried out elongated preliminary treatment;
Described regional center node comprises: elongated file division request (VLFSR, Variant Length FileSplit Request) module, the first elongated preprocessed file download (VLPPD, Variant LengthPreProcess file DownLoad) module, elongated preprocessed file segmentation (VLPPSR, Variant LengthPreProcess file Split Request) module, wherein
Described VLFSR module, for from Centroid downloading multimedia file, carries out elongated file division to multimedia file;
A described VLPPD module, for downloading elongated preprocessed file from Centroid;
Described VLPPSR module, for carrying out elongated file division to elongated preprocessed file, the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node, and according to the program request of fringe node to described multimedia file, push the follow-up elongated burst of elongated preprocessed file successively to fringe node;
Described fringe node specifically comprises: the 2nd VLPPD module and the drop-down module of multimedia (FDM), wherein,
2nd VLPPD module, for downloading each the elongated burst of the elongated preprocessed file that region Centroid pushes;
FDM module, obtains the elongated burst of corresponding multimedia file from regional center node for each the elongated burst according to described elongated preprocessed file.
In such scheme, described regional center node comprises further: elongated file recycling module (VLRECYCLE, Variant Length File RECYCLE) module, for deleting the elongated burst of elongated preprocessed file and the multimedia file issued.
In such scheme, described upper layer node comprises: regional center node, obtains elongated preprocessed file for multimedia file is carried out elongated preliminary treatment; Downloading multimedia file, elongated file division is carried out to multimedia file and elongated preprocessed file, the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node, and according to the program request of fringe node to described multimedia file, push the follow-up elongated burst of elongated preprocessed file successively to fringe node.
In such scheme, described regional center node comprises: VLPP module, VLFSR module, VLPPSR module, wherein,
Described VLPP module, obtains elongated preprocessed file for multimedia file is carried out elongated preliminary treatment;
Described VLFSR module, for downloading multimedia file, carries out elongated file division to multimedia file;
Described VLPPSR module, for carrying out elongated file division to elongated preprocessed file, the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node, and according to the program request of fringe node to described multimedia file, push the follow-up elongated burst of elongated preprocessed file successively to fringe node;
Described fringe node comprises: the 2nd VLPPD module and FDM, wherein,
2nd VLPPD module, for downloading each the elongated burst of the elongated preprocessed file that region Centroid pushes;
FDM module, obtains the elongated burst of corresponding multimedia file from regional center node for each the elongated burst according to described elongated preprocessed file.
In such scheme, described regional center node also comprises: VLRECYCLE module, for deleting the elongated burst of elongated preprocessed file and the multimedia file issued.
The invention provides the method and system of the elongated access of multimedia file in a kind of CDN, multimedia file is carried out elongated preliminary treatment and obtains elongated preprocessed file by CDN at the middle and upper levels node; Described upper layer node carries out elongated file division to multimedia file and elongated preprocessed file, and the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node; Described upper layer node, according to the program request of fringe node to described multimedia file, pushes the follow-up elongated burst of elongated preprocessed file successively to fringe node; Fringe node obtains the elongated burst of corresponding multimedia file according to each elongated burst of described elongated preprocessed file; So, the maintenance information of each node in CDN can be reduced, ensure the load balancing of each fringe node.
Accompanying drawing explanation
Fig. 1 is CDN configuration diagram in prior art;
Fig. 2 is the schematic flow sheet that the present invention realizes the method for the elongated access of multimedia file in CDN;
Fig. 3 is the structural representation that the present invention realizes the system of the elongated access of multimedia file in CDN;
Fig. 4 be the present invention in the controlled situation of Centroid, realize the structural representation of the system of the elongated access of multimedia file in CDN;
Fig. 5 be the present invention in the uncontrollable situation of Centroid, realize the structural representation of the system of the elongated access of multimedia file in CDN;
Fig. 6 is the schematic flow sheet that the embodiment of the present invention one realizes the method for the elongated access of multimedia file;
Fig. 7 is the schematic flow sheet that the embodiment of the present invention two realizes the method for the elongated access of multimedia file;
Fig. 8 is the schematic flow sheet of the method for elongated burst access when user serves in the embodiment of the present invention three CDN.
Embodiment
Basic thought of the present invention is: multimedia file is carried out elongated preliminary treatment and obtains elongated preprocessed file by CDN at the middle and upper levels node; Described upper layer node carries out elongated file division to multimedia file and elongated preprocessed file, and the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node; Described upper layer node, according to the program request of fringe node to described multimedia file, pushes the follow-up elongated burst of elongated preprocessed file successively to fringe node; Fringe node obtains the elongated burst of corresponding multimedia file according to each elongated burst of described elongated preprocessed file.
Below by drawings and the specific embodiments, the present invention is described in further detail.
The present invention realizes the method for the elongated access of multimedia file in a kind of CDN, and as shown in Figure 2, the method comprises following step:
Multimedia file is carried out elongated preliminary treatment and obtains elongated preprocessed file by step 101:CDN at the middle and upper levels node;
Concrete, CDN at the middle and upper levels node checks size and the timestamp of the every frame of multimedia file by decoder, the size of accumulative each frame, the timestamp of the size that record is accumulative and accumulative last frame, when the size of present frame add accumulated size exceed benchmark size time, with accumulative last frame for ending, the accumulative fileinfo of record is in elongated preprocessed file, and the size of accumulating subsequent frame again; Described benchmark size is what preset, as benchmark size is chosen as the non-positive exponent of the constant (as: 2) of multimedia file length doubly, and round up, even multimedia file is 98MB, and benchmark size is chosen as 98MB (0 powers of 2), 49MB (-1 powers of 2), 25MB (-2 powers of 2) etc.; Also the integer power of 2MB is chosen as, i.e. 2MB, 4MB, 8MB...;
Described accumulative fileinfo comprises: benchmark size, file total length, file total end time, elongated file size, elongated end of file time, elongated file home record number, elongated endfile record number, LSN, document misregistration amount and document time axle etc.; Described elongated file size, elongated end of file time, elongated file home record number, elongated endfile record number, be accumulative file size, accumulative end of file time, accumulative file home record number, accumulative endfile record number;
The fileinfo that described record adds up, in elongated preprocessed file, is specially: described accumulative fileinfo is saved in elongated preprocessed file with subfile form;
Here, multimedia file is for video file: CDN at the middle and upper levels node checks size and the timestamp of the every frame of I, B, P frame by Video Decoder, the size of accumulative each frame, the timestamp of the size that record is accumulative and accumulative last frame, when the size of present frame add accumulated size exceed benchmark size time, with accumulative last frame for ending, the accumulative fileinfo of record is in elongated preprocessed file, and the size of accumulating subsequent frame again, the new accumulative fileinfo of record;
Similar aforesaid way can be taked equally to obtain elongated preprocessed file for audio file;
When Centroid is controlled, multimedia file is carried out elongated preliminary treatment and obtains elongated preprocessed file and be by described upper layer node: multimedia file is carried out elongated preliminary treatment and obtains elongated preprocessed file by Centroid;
In the uncontrollable situation of Centroid, multimedia file is carried out elongated preliminary treatment and obtains elongated preprocessed file and be by described upper layer node: multimedia file is carried out elongated preliminary treatment and obtains elongated preprocessed file by regional center node.
Step 102: upper layer node carries out elongated file division to multimedia file and elongated preprocessed file, is distributed to fringe node by the elongated burst of at least one the elongated preprocessed file after segmentation;
Concrete, upper layer node, according to the LSN in fileinfo accumulative in elongated preprocessed file, determines total record number, to total record number by except 2 circular treatment, obtains each elongated burst size of multimedia file; Even total record number is 9, first elongated burst of the multimedia file after segmentation accounts for 9/2 (rounding)=4 benchmark size downwards, second elongated burst accounts for 5/2 (rounding)=2 datum length downwards, 3rd elongated burst accounts for 3/2 (rounding)=1 datum length downwards, 4th elongated burst accounts for 2/2 (rounding)=1 datum length downwards, and the 5th elongated burst accounts for 1/2 (rounding)=1 datum length downwards; Described upper layer node is divided into different elongated burst by each elongated burst large young pathbreaker multimedia file, and elongated preprocessed file is divided into the elongated burst corresponding with the elongated burst of multimedia file, the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to CDN fringe node;
Wherein, the filename of the elongated burst of multimedia file is named by mode below:
Filename=file name information (character string, numbering)+separator+file start offset amount+separator+end of file time.
Upper layer node described in this step is regional center node.
Step 103: described upper layer node, according to the program request of fringe node to described multimedia file, pushes the follow-up elongated burst of elongated preprocessed file successively to fringe node;
Step 104: fringe node obtains the elongated burst of corresponding multimedia file according to each elongated burst of described elongated preprocessed file;
Concrete, after fringe node receives each elongated burst of elongated preprocessed file, choose elongated file home record wherein number and elongated endfile record number, the elongated burst position of multimedia file is navigated to according to elongated file home record number corresponding document misregistration amount, start the elongated burst downloading the multimedia file navigated to, until the next one elongated file home record number corresponding document misregistration amount of elongated endfile record number;
This step comprises further: the elongated burst of fringe node at least two multimedia files obtained carries out splicing and store;
Concrete, for two level frameworks, suppose that upper layer node is regional center, the multimedia file hypothesis file related to is called VOD1023, the elongated burst of the elongated preprocessed file VOD1023_0_92 that each fringe node receives is VOD1023_0_7, VOD1023_0_11, VOD1023_0_18, the implication represented respectively be VOD1023 from 0 to the end time be the video segment of 7 minutes, VOD1023 from 0 to the end time be the video segment of 11 minutes, VOD1023 from 0 to the end time be the video segment of 18 minutes, suppose that fringe node has stored the elongated burst VOD1023_0_18 of above-mentioned video file, and regional center node has issued the follow-up elongated burst VOD1023_40960_29 of described elongated burst VOD1023_0_18, by following manner, fringe node judges whether VOD1023_0_18 with VOD1023_40960_29 splices storage: extract the file start offset amount of identical two the elongated bursts of file name information, namely the file start offset amount that filename numbering is all VOD1023_0_18 and VOD1023_40960_29 of VOD1023 is extracted, determine the elongated burst VOD1023_0_18 that filename file start offset amount is less, whether the end of file time in the filename that inspection file start offset amount is less is less than the end of file time in the larger filename of file start offset amount, if be less than, then splice the file content of two elongated bursts, and the file resetting spliced elongated burst is called VOD1023_0_29, preserve described spliced elongated burst.
In order to realize said method, the present invention also provides the system of the elongated access of multimedia file in a kind of CDN, and as shown in Figure 3, this system comprises: upper layer node 31, multiple fringe node 32; Wherein,
Upper layer node 31, obtains elongated preprocessed file for multimedia file is carried out elongated preliminary treatment; Elongated file division is carried out to multimedia file and elongated preprocessed file, the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node 32; And according to the program request of fringe node 32 to described multimedia file, push the follow-up elongated burst of elongated preprocessed file successively to fringe node 32;
Fringe node 32, for obtaining the elongated burst of corresponding multimedia file according to each elongated burst of described elongated preprocessed file;
A kind of embodiment, the situation that centered by the present embodiment, node is controlled, as shown in Figure 4, described upper layer node 31 comprises: Centroid 311 and regional center node 312, wherein,
Centroid 311, obtains elongated preprocessed file for multimedia file is carried out elongated preliminary treatment;
Regional center node 312, for downloading elongated preprocessed file and multimedia file from Centroid 311, elongated file division is carried out to multimedia file and elongated preprocessed file, the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node 32, and according to the program request of fringe node 32 to described multimedia file, push the follow-up elongated burst of elongated preprocessed file successively to fringe node 32;
Described Centroid 311 specifically comprises: VLPP module 3111, obtains elongated preprocessed file for multimedia file is carried out elongated preliminary treatment;
Described regional center node 312 specifically comprises: VLFSR module 3121, a VLPPD module 3122, VLPPSR module 3123, wherein,
Described VLFSR module 3121, for from Centroid 311 downloading multimedia file, carries out elongated file division to multimedia file;
A described VLPPD module 3122, for downloading elongated preprocessed file from Centroid 311;
Described VLPPSR module 3123, for carrying out elongated file division to elongated preprocessed file, the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node 32, and according to the program request of fringe node 32 to described multimedia file, push the follow-up elongated burst of elongated preprocessed file successively to fringe node 32;
Described regional center node 312 comprises further: VLRECYCLE module 3124, for deleting the elongated burst of elongated preprocessed file and the multimedia file issued;
Described fringe node 32 specifically comprises: the 2nd VLPPD module 321 and FDM module 322, wherein,
2nd VLPPD module 321, for downloading each the elongated burst of the elongated preprocessed file that region Centroid 312 pushes;
FDM module 322, obtains the elongated burst of corresponding multimedia file from regional center node 312 for each the elongated burst according to described elongated preprocessed file.
Another kind of embodiment, the uncontrollable situation of node centered by the present embodiment, as shown in Figure 5, described upper layer node 31 comprises: regional center node 312, obtains elongated preprocessed file for multimedia file is carried out elongated preliminary treatment; From valut downloading multimedia file, elongated file division is carried out to multimedia file and elongated preprocessed file, the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node 32, and according to the program request of fringe node 32 to described multimedia file, push the follow-up elongated burst of elongated preprocessed file successively to fringe node 32;
Described regional center node 312 specifically comprises: VLPP module 3120, VLFSR module 3121, VLPPSR module 3122, wherein,
Described VLPP module 3120, obtains elongated preprocessed file for multimedia file is carried out elongated preliminary treatment;
Described VLFSR module 3121, for from valut downloading multimedia file, carries out elongated file division to multimedia file;
Described VLPPSR module 3122, for carrying out elongated file division to elongated preprocessed file, the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node 32, and according to the program request of fringe node 32 to described multimedia file, push the follow-up elongated burst of elongated preprocessed file successively to fringe node 32;
Described regional center node 312 comprises further: VLRECYCLE module 3123, for deleting the elongated burst of elongated preprocessed file and the multimedia file issued;
Described fringe node 32 specifically comprises: the 2nd VLPPD module 321 and FDM module 322, wherein,
2nd VLPPD module 321, for downloading each the elongated burst of the elongated preprocessed file that region Centroid 312 pushes;
FDM module 322, obtains the elongated burst of corresponding multimedia file from regional center node 312 for each the elongated burst according to described elongated preprocessed file.
Implementation procedure and the principle of method of the present invention is described in detail below in conjunction with specific embodiment.
Embodiment one
In the present embodiment, when in CDN, under three-level structure, Centroid is controlled, the method for the elongated access of multimedia file, as shown in Figure 6, the method comprises following step:
Step 201, the first content that Centroid receives valut issues request, application resource;
Step 202, Centroid is from the drop-down film of valut;
Step 203, drop-down film is carried out elongated preliminary treatment and obtains elongated preprocessed file by Centroid;
Step 204, Centroid issues the scope that issues and the file type of request according to content, the request of issuing of the second content is published to corresponding regional center node, carries elongated preprocessed file;
Step 205, regional center node downloads film according to the request of issuing of the second content from valut;
Step 206, regional center node carries out elongated file division with publishing policy by file type, elongated preprocessed file is divided into two elongated bursts;
Step 207, film is also divided into two elongated bursts by the elongated burst that elongated preprocessed file is divided into by regional center node;
Step 208, by the 3rd content, request of issuing is published to fringe node to regional center node, and carry the elongated burst of an elongated preprocessed file, fringe node receives the 3rd content and issues request, application resource;
Step 209, fringe node is according to the elongated burst of the drop-down film of elongated slicing files of described elongated preprocessed file;
Step 210, the elongated file preprocessed file that regional center knot removal has issued and the elongated burst of film;
Step 211, regional center node, according to the program request of fringe node to described multimedia file, pushes each elongated burst of elongated preprocessed file to fringe node successively by the request of burst content pushing-down;
Step 212, fringe node receives the request of regional center burst content pushing-down, application resource;
Step 213, fringe node, according to the request of burst content pushing-down, upgrades the elongated burst of local elongated file preprocessed file;
Step 214, fringe node according to the elongated burst of elongated file preprocessed file upgraded, the elongated burst of the film of long-range reading correspondence;
This step comprises further, if the elongated burst of the film read can merge, the elongated burst of fringe node at least two films downloaded carries out splicing and store.
Embodiment two
In the present embodiment, in CDN under three-level structure in the uncontrollable situation of Centroid, the method for the elongated access of multimedia file, as shown in Figure 7, the method comprises following step:
Step 301, the first content that Centroid receives valut issues request, application resource;
Step 302, Centroid is from the drop-down film of valut;
Step 303, the request of issuing of the second content is published to the regional center node of specifying by Centroid;
Step 304, regional center node issues request from the drop-down film of valut according to the second content;
Step 305, drop-down film is carried out elongated preliminary treatment and obtains elongated preprocessed file by regional center node;
Step 306, regional center node carries out elongated file division with publishing policy by file type, elongated preprocessed file is divided into two elongated bursts;
Step 307, film is also divided into two elongated bursts by the elongated burst that elongated preprocessed file is divided into by regional center node;
Step 308, by the 3rd content, request of issuing is published to fringe node to regional center node, and carry the elongated burst of an elongated preprocessed file, fringe node receives the 3rd content and issues request, application resource;
Step 309, fringe node is according to the elongated burst of the drop-down film of elongated slicing files of described elongated preprocessed file;
Step 310, the elongated file preprocessed file that regional center knot removal has issued and the elongated burst of film;
Step 311, regional center node, according to the program request of fringe node to described multimedia file, pushes each elongated burst of elongated preprocessed file to fringe node successively by the request of burst content pushing-down;
Step 312, fringe node receives the request of regional center burst content pushing-down, application resource;
Step 313, fringe node, according to the request of burst content pushing-down, upgrades the elongated burst of local elongated file preprocessed file;
Step 314, fringe node according to the elongated burst of elongated file preprocessed file upgraded, the elongated burst of the film of long-range reading correspondence;
This step comprises further, if the elongated burst of the film read can merge, the elongated burst of fringe node at least two films downloaded carries out splicing and store.
Embodiment three
The method of elongated burst access when the present embodiment provides that in CDN, user serves, as shown in Figure 8, comprises following step:
Step 401, Set Top Box inquires about the video file of specifying to the fringe node of ownership;
Step 402, when there being video file, described fringe node resolves the reproduction time of the elongated burst of described video file, and announcement machine top box;
Step 403, Set Top Box know the elongated burst of described video file can not play until at the end of, connect with regional center node;
Step 404, Set Top Box reads the elongated burst of video file from fringe node;
Step 405, Set Top Box is before the elongated burst of program request terminates, and request regional center node pushes the elongated burst of the next one of described video file, and described request carries the end time of the elongated burst of current described video file;
Step 406, the hits of the elongated burst of regional center node updates request, when described hits reaches the click threshold of setting, the fringe node that the elongated burst pushing request belongs to Set Top Box;
Step 407, Set Top Box reads the elongated burst of video file from fringe node;
Step 408, repeated execution of steps 405, terminates until described video file is play.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.

Claims (14)

1. a method for the elongated access of multimedia file in content distributing network (CDN), it is characterized in that, the method comprises:
Multimedia file is carried out elongated preliminary treatment and obtains elongated preprocessed file by CDN at the middle and upper levels node;
Described upper layer node carries out elongated file division to multimedia file and elongated preprocessed file, and the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node;
Described upper layer node, according to the program request of fringe node to described multimedia file, pushes the follow-up elongated burst of elongated preprocessed file successively to fringe node;
Fringe node obtains the elongated burst of corresponding multimedia file according to each elongated burst of described elongated preprocessed file;
Wherein, described elongated preprocessed file comprises accumulative fileinfo.
2. method according to claim 1, it is characterized in that, multimedia file is carried out elongated preliminary treatment and obtains elongated preprocessed file and be by described upper layer node: upper layer node checks size and the timestamp of the every frame of multimedia file by decoder, the size of accumulative each frame, the timestamp of the size that record is accumulative and accumulative last frame, when the size of present frame add accumulated size exceed benchmark size time, with accumulative last frame for ending, the accumulative fileinfo of record is in elongated preprocessed file, and the size of accumulating subsequent frame again.
3. method according to claim 2, is characterized in that, multimedia file is carried out node or regional center node centered by upper layer node that elongated preliminary treatment obtains in elongated preprocessed file by described upper layer node.
4. method according to claim 2, it is characterized in that, described upper layer node carries out elongated file division to multimedia file and elongated preprocessed file: upper layer node is according to the LSN in fileinfo accumulative in elongated preprocessed file, determine total record number, to total record number by except 2 circular treatment, obtain each elongated burst size of multimedia file; Be divided into different elongated burst by each elongated burst large young pathbreaker multimedia file, and elongated preprocessed file is divided into the elongated burst corresponding with the elongated burst of multimedia file.
5. method according to claim 2, is characterized in that, the non-positive exponent being chosen for the constant of multimedia file length of described benchmark size doubly, and rounds up.
6. method according to claim 4, is characterized in that, the elongated burst that described fringe node obtains corresponding multimedia file according to each elongated burst of described elongated preprocessed file is:
After fringe node receives each elongated burst of elongated preprocessed file, choose elongated file home record wherein number and elongated endfile record number, the elongated burst position of multimedia file is navigated to according to elongated file home record number corresponding document misregistration amount, start the elongated burst downloading the multimedia file navigated to, until the next one elongated file home record number corresponding document misregistration amount of elongated endfile record number.
7. method according to claim 1, is characterized in that, the method also comprises: the elongated burst of described fringe node at least two multimedia files obtained carries out splicing and store.
8. a system for the elongated access of multimedia file in CDN, is characterized in that, this system comprises: upper layer node, fringe node; Wherein,
Upper layer node, obtains elongated preprocessed file for multimedia file is carried out elongated preliminary treatment; Elongated file division is carried out to multimedia file and elongated preprocessed file, the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node; And according to the program request of fringe node to described multimedia file, push the follow-up elongated burst of elongated preprocessed file successively to fringe node;
Fringe node, for obtaining the elongated burst of corresponding multimedia file according to each elongated burst of described elongated preprocessed file;
Wherein, described elongated preprocessed file comprises accumulative fileinfo.
9. system according to claim 8, is characterized in that, described upper layer node comprises: Centroid and regional center node, wherein,
Centroid, obtains elongated preprocessed file for multimedia file is carried out elongated preliminary treatment;
Regional center node, for downloading elongated preprocessed file and multimedia file from Centroid, elongated file division is carried out to multimedia file and elongated preprocessed file, the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node, and according to the program request of fringe node to described multimedia file, push the follow-up elongated burst of elongated preprocessed file successively to fringe node.
10. system according to claim 9, is characterized in that,
Described Centroid comprises: elongated preliminary treatment (VLPP) module, obtains elongated preprocessed file for multimedia file is carried out elongated preliminary treatment;
Described regional center node comprises: elongated file division request (VLFSR) module, the first elongated preprocessed file download (VLPPD) module, elongated preprocessed file segmentation (VLPPSR) module, wherein,
Described VLFSR module, for from Centroid downloading multimedia file, carries out elongated file division to multimedia file;
A described VLPPD module, for downloading elongated preprocessed file from Centroid;
Described VLPPSR module, for carrying out elongated file division to elongated preprocessed file, the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node, and according to the program request of fringe node to described multimedia file, push the follow-up elongated burst of elongated preprocessed file successively to fringe node;
Described fringe node specifically comprises: the 2nd VLPPD module and the drop-down module of multimedia (FDM), wherein,
2nd VLPPD module, for downloading each the elongated burst of the elongated preprocessed file that region Centroid pushes;
FDM module, obtains the elongated burst of corresponding multimedia file from regional center node for each the elongated burst according to described elongated preprocessed file.
11. systems according to claim 10, is characterized in that, described regional center node comprises further: elongated file reclaims (VLRECYCLE) module, for deleting the elongated burst of elongated preprocessed file and the multimedia file issued.
12. systems according to claim 8, is characterized in that, described upper layer node comprises: regional center node, obtain elongated preprocessed file for multimedia file is carried out elongated preliminary treatment; Also for downloading multimedia file, and elongated file division is carried out to multimedia file and elongated preprocessed file, the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node, and according to the program request of fringe node to described multimedia file, push the follow-up elongated burst of elongated preprocessed file successively to fringe node.
13. systems according to claim 12, is characterized in that, described regional center node comprises: VLPP module, VLFSR module, VLPPSR module, wherein,
Described VLPP module, obtains elongated preprocessed file for multimedia file is carried out elongated preliminary treatment;
Described VLFSR module, for downloading multimedia file, carries out elongated file division to multimedia file;
Described VLPPSR module, for carrying out elongated file division to elongated preprocessed file, the elongated burst of at least one the elongated preprocessed file after segmentation is distributed to fringe node, and according to the program request of fringe node to described multimedia file, push the follow-up elongated burst of elongated preprocessed file successively to fringe node;
Described fringe node comprises: the 2nd VLPPD module and FDM, wherein,
2nd VLPPD module, for downloading each the elongated burst of the elongated preprocessed file that region Centroid pushes;
FDM module, obtains the elongated burst of corresponding multimedia file from regional center node for each the elongated burst according to described elongated preprocessed file.
14. systems according to claim 13, is characterized in that, described regional center node also comprises: VLRECYCLE module, for deleting the elongated burst of elongated preprocessed file and the multimedia file issued.
CN201110451053.1A 2011-12-29 2011-12-29 Method and system for variable-length access of multi-media files in content distribution network Active CN102546786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110451053.1A CN102546786B (en) 2011-12-29 2011-12-29 Method and system for variable-length access of multi-media files in content distribution network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110451053.1A CN102546786B (en) 2011-12-29 2011-12-29 Method and system for variable-length access of multi-media files in content distribution network

Publications (2)

Publication Number Publication Date
CN102546786A CN102546786A (en) 2012-07-04
CN102546786B true CN102546786B (en) 2015-04-01

Family

ID=46352732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110451053.1A Active CN102546786B (en) 2011-12-29 2011-12-29 Method and system for variable-length access of multi-media files in content distribution network

Country Status (1)

Country Link
CN (1) CN102546786B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104284202B (en) * 2014-10-14 2017-12-01 无锡云捷科技有限公司 A kind of CDN transparent transmission methods using optimized-type structure
CN106161382A (en) * 2015-04-15 2016-11-23 中兴通讯股份有限公司 A kind of multimedia file control method and system
CN107277125A (en) * 2017-06-13 2017-10-20 网宿科技股份有限公司 File prefetched instruction method for pushing, device and file pre-fetching system
CN109151613B (en) * 2017-06-16 2022-12-02 中兴通讯股份有限公司 Content distribution system and method
CN112118461B (en) * 2020-09-22 2022-10-18 湖南快乐阳光互动娱乐传媒有限公司 Audio and video file storage and distribution method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540885A (en) * 2009-04-30 2009-09-23 中兴通讯股份有限公司 IPTV on-demand system and method
CN101562635A (en) * 2009-05-15 2009-10-21 中兴通讯股份有限公司 Method and player for mobile streaming media on demand
CN101848067A (en) * 2010-06-22 2010-09-29 中兴通讯股份有限公司 Data transmission method and system for self-adaptive bandwidth
CN101969551A (en) * 2010-09-26 2011-02-09 中兴通讯股份有限公司 Method and system for fragmenting code streams in internet protocol television (IPTV) system
CN102170475A (en) * 2011-04-22 2011-08-31 中兴通讯股份有限公司 File distribution system and fragmentation method based on P2P (peer-to-peer)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540885A (en) * 2009-04-30 2009-09-23 中兴通讯股份有限公司 IPTV on-demand system and method
CN101562635A (en) * 2009-05-15 2009-10-21 中兴通讯股份有限公司 Method and player for mobile streaming media on demand
CN101848067A (en) * 2010-06-22 2010-09-29 中兴通讯股份有限公司 Data transmission method and system for self-adaptive bandwidth
CN101969551A (en) * 2010-09-26 2011-02-09 中兴通讯股份有限公司 Method and system for fragmenting code streams in internet protocol television (IPTV) system
CN102170475A (en) * 2011-04-22 2011-08-31 中兴通讯股份有限公司 File distribution system and fragmentation method based on P2P (peer-to-peer)

Also Published As

Publication number Publication date
CN102546786A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
CN102546786B (en) Method and system for variable-length access of multi-media files in content distribution network
CN107707943B (en) A kind of method and system for realizing cloud service fusion
US20140245346A1 (en) Overwriting existing media content with viewer-specific advertisements
CN111054067B (en) Game archive file storage method, electronic device and storage medium
CN104469396B (en) A kind of distributed trans-coding system and method
CN102710966A (en) Video live broadcast method and system based on HTTP (Hyper Text Transport Protocol)
CA2840106A1 (en) Offline download method, multimedia file download method and system thereof
EP1892921A3 (en) Method and sytem for managing distributed content and related metadata
EP1901475A3 (en) Systems and methods for channel reuse in a cable system
CN102625140A (en) Method for frame-granularity real-time downloading and play of streaming media server
EP2418809A1 (en) Method and apparatus for processing and updating service contents in a distributed file system
CN100531387C (en) Content and service scheduling method for time-shifted television system
CN103870393B (en) cache management method and system
CN107306341A (en) It is a kind of based on the automatic recorded broadcast of cloud and live system and its management method
CN101741884A (en) Distributed storage method and device
CN102395047A (en) Method and equipment for deleting multi-media contents in content publishing network nodes
CN105915489A (en) Optimization realization method for HLS protocol stack in network jittering and optimization realization device thereof
CN104133695A (en) Manufacture and application method of software client side
CN101951512A (en) Fragmentation transcoding method and system of live video and real-time video
CN103747296A (en) Video playing method and system
CN101312522A (en) Video play-on-demand system
CN102006506A (en) Video server as well as hierarchical storage management method and device of same
CN101990128A (en) Object carousel method and device as well as object carousel downloading method and device
CN104270457A (en) Family cloud center file sharing system based on mobile cross-platform architecture
CN104967660A (en) Network performance improving method oriented to multi-cloud architecture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant