CN103313093A - Method and index system for distributed video on demand - Google Patents

Method and index system for distributed video on demand Download PDF

Info

Publication number
CN103313093A
CN103313093A CN 201210066358 CN201210066358A CN103313093A CN 103313093 A CN103313093 A CN 103313093A CN 201210066358 CN201210066358 CN 201210066358 CN 201210066358 A CN201210066358 A CN 201210066358A CN 103313093 A CN103313093 A CN 103313093A
Authority
CN
China
Prior art keywords
file
video file
video
resolution
fileinfo
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 201210066358
Other languages
Chinese (zh)
Other versions
CN103313093B (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210066358.5A priority Critical patent/CN103313093B/en
Publication of CN103313093A publication Critical patent/CN103313093A/en
Application granted granted Critical
Publication of CN103313093B publication Critical patent/CN103313093B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and an index system for distributed video on demand. The method comprises the following steps of combining video files with similar contents into a file set, wherein each file set corresponds to a file identification; receiving an on demand request containing file information from a client, wherein the file information contains the file identifications; feeding back service node information saving the video files with file information indication to the client for video playing; if abnormal playing is judged in the playing process, acquiring the file set corresponding to the file identification contained in the file information, selecting the video file from the acquired file set and feeding back the service node information saving the selected video file to the client for video playing. According to the scheme provided by the invention, the robustness of the distributed video on demand can be enhanced and the on demand quality is improved.

Description

Carry out method and the directory system of distributed video on demand
Technical field
The present invention relates to data transmission technology, relate in particular to the method and the directory system that carry out distributed video on demand.
Background technology
In the distributed video on demand scheme, the directory system of network side has been stored fileinfo and has been preserved corresponding relation between the service node information of video file of this document information indication, usually, article one, corresponding many service node information of file information show and have preserved same video file on a plurality of service nodes.
Existing method of carrying out distributed video on demand specifically comprises: directory system receives the order request from the include file information of client, described fileinfo include file sign; The service node feedback information of preserving the video file of described fileinfo indication is carried out video playback to client.
Then, client is from the parallel foradownloaded video data of each service node of asking.In the downloading process, client can be to the video data of different service node request different content fragments, thereby realizes the maximization of speed of download.
Video file is placed on video and audio frequency in the file, when the player of client carries out video playback, needs through three phases, comprises that video separation, video decode and video play up; At first identify the form of video file by the separator of player inside, isolate the coded data of video and audio frequency then, give decoder in the relevant player with it, decoder is decoded video data and voice data, at last decoded data is displayed via renderer.
In playing process, if the normal receiving video data of client, the situation that appearance can not normal play will interrupt playing, and this has reduced the program request quality.
Summary of the invention
The invention provides a kind of method of carrying out distributed video on demand, this method can strengthen the robustness of distributed video on demand, improves the program request quality.
The invention provides a kind of directory system that carries out distributed video on demand, this directory system can strengthen the robustness of distributed video on demand, improves the program request quality.
A kind of method of carrying out distributed video on demand, the video file composing document set that content is close, the corresponding file identification of each file set, this method also comprises:
Reception is from the order request of the include file information of client, and described fileinfo include file identifies;
The service node feedback information of preserving the video file of described fileinfo indication is carried out video playback to client;
Judging in playing process can not normal play, obtain the corresponding file set of file identification that comprises with described fileinfo, selecting video file from the file set that obtains carries out video playback with the service node feedback information of preserving the video file of choosing to client.
A kind of directory system that carries out distributed video on demand, this directory system comprise set grouped element, nodal information feedback unit and playing process processing unit;
Described set grouped element is used for the video file composing document set that content is close, the corresponding file identification of each file set;
Described nodal information feedback unit is used for receiving the order request from the include file information of client, sends fileinfo to described playing process processing unit, described fileinfo include file sign; Also will preserve the service node feedback information of the video file of described fileinfo indication and carry out video playback to client;
Described playing process processing unit, being used for judging at playing process can not normal play, obtain the corresponding file set of file identification that comprises with described fileinfo from described set grouped element, selecting video file from the file set that obtains carries out video playback with the service node feedback information of preserving the video file of choosing to client.
From such scheme as can be seen, the video file composing document set that the present invention is close with content, in playing process, can not normal play if judge, then from file set, obtain close video file, the service node feedback information of preserving close video file is carried out video playback to client.Like this, judge in playing process can not normal play the time, client still can get access to close video data, play continuing, thereby, strengthened the robustness of distributed video on demand, improved the program request quality.
Description of drawings
Fig. 1 carries out the method indicative flowchart of distributed video on demand for the present invention;
Process chart example when Fig. 2 can not normally carry out video playback for the present invention;
Fig. 3 carries out the system configuration schematic diagram of distributed video on demand for the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, the present invention is described in more detail.
The video file composing document set that the present invention is close with content, in playing process, can not normal play if judge, then from file set, obtain close video file, the service node feedback information of preserving close video file is carried out video playback to client.
Referring to Fig. 1, for the present invention carries out the method indicative flowchart of distributed video on demand, in advance, the video file composing document set that the present invention is close with content, the corresponding file identification of each file set.
For the identical video file of file identification, content may be identical, also may be close.The video file that content is close refers to the video file that result of broadcast is identical; Described broadcast refers to when identical that user's difference on sense organ is very little or does not have difference.Suppose that video file 1 is close with video file 2, then the corresponding contents fragment of a part of contents fragment in the video file 1 with video file 2 replaced playing that user's difference on sense organ is very little or do not have difference, to such an extent as to be not aware of this replacement; In this case, it is close video file 1 and video file 2 to be defined as content.
How determining that two identical video files of file identification are whether close is prior art, for example, can two video files be play by artificial operation arrangement, difference on staff's human eye sense organ is very little or do not have the video file of difference to be defined as close video file.All right, the file index of video file is mated, the video file on the approximate coupling is defined as close video file, the file index comprises resolution, coded system, Container Format etc.; Described coupling comprises: if at least a inequality among resolution, coded system and the Container Format three, and other file index would be all identical, then is defined as close video file.
The movie and video programs of same file title are the resolution difference only, and both are close video file; For example resolution is 1280 * 720 English movie in its original version " stealing the dream space ", with resolution be 1024 * 576 English movie in its original version " stealing the dream space ", file name " stealing the dream space " is identical, both are close video file, the content effect is identical.Described coded format for example is H.264 standard, RV40 etc.Described Container Format comprises RM variable bit rate (rmvb, RealMedia Variable Bitrate) form, mp4 (MPEG-4) form, Matroska video file (mkv, Matroska Video File) form, third generation collaborative project (3gp, Third Generation Partnership Project) form, Audio Video Interleaved (avi, Audio Video Interleaved) form etc.
The flow process of Fig. 1 may further comprise the steps:
Step 101 receives the order request from the include file information of client, described fileinfo include file sign.
File identification is used to indicate the essential information of a video file, as file name, also comprises out of Memory in the fileinfo, as file indexs such as resolution, coded system, Container Formats.Described fileinfo can now be digital digest or cryptographic Hash.
Step 102 is carried out video playback with the service node feedback information of preserving the video file of described fileinfo indication to client.
The directory system of network side has been stored fileinfo and has been preserved corresponding relation between the service node information of video file of this document information indication, usually, article one, corresponding many service node information of file information show and have preserved same video file on a plurality of service nodes.When needing, client sends order request to directory system, receives the service node information of the video file of preserving described fileinfo indication, is play to corresponding each service node foradownloaded video data by service node information.In the downloading process, client can be to the video data of different service node request different content fragments, thereby realizes the maximization of speed of download.
According to actual conditions, the service node information of directory system feedback may be to preserve the nodal information of all service nodes of the video file of described fileinfo indication, also may be the nodal information of part service node of preserving the video file of described fileinfo indication.
Step 103, judging in playing process can not normal play, obtain the corresponding file set of file identification that comprises with described fileinfo, selecting video file from the file set that obtains carries out video playback with the service node feedback information of preserving the video file of choosing to client.
During practice, the method that judges whether normal play in playing process has multiple, lifts dual mode below and describes.
Mode one:
Judge follow-up data disappearance in playing process, and follow-up data can't obtain from other service node of preserving the video file of described fileinfo indication, then determining can not normal play.Particularly, can be judged by client, when follow-up data when disappearance occurring, send the order request of include file information again to directory system, described fileinfo include file sign, described order request also comprises the service node information of request failure; Directory system is from the nodal information of all service nodes of the video file of preserving the indication of described fileinfo, reject the service node information that order request comprises, remaining service node feedback information is carried out video playback to client, if follow-up data still lacks, send the broadcast failure response to directory system, determining behind the directory system reception broadcast failure response can not normal play.
Mode two:
Judge speed of download and can't satisfy the broadcast demand in playing process, and can't obtain the follow-up data that satisfies speed of download from other service node of preserving the video file of described fileinfo indication, then determining can not normal play.Particularly, can be judged by client, when speed of download occurring and can't satisfy the broadcast demand, send the order request of include file information again to directory system, described fileinfo include file sign, described order request also comprises the service node information of request failure; Directory system is from the nodal information of all service nodes of the video file of preserving the indication of described fileinfo, reject the service node information that order request comprises, remaining service node feedback information is carried out video playback to client, if speed of download still can't satisfy the broadcast demand, send the broadcast failure response to directory system, determining behind the directory system reception broadcast failure response can not normal play.
If the video file that described content is close is the video file that file identification is identical, resolution is inequality; This step can specifically adopt flow process shown in Figure 2 to realize that it may further comprise the steps:
Step 201, determining can not normal play.
Step 202 is obtained the corresponding file set of file identification that comprises with fileinfo.
The described fileinfo of this step is the fileinfo in the order request in the step 101.
Step 203 is inquired about the identical video file of resolution that whether has the video file of indicating with described fileinfo in the file set that obtains, if exist, then execution in step 206; Otherwise, execution in step 204.
Whether step 204 exists the resolution greater than the video file of described fileinfo indication in the file set that obtains of inquiry, and the absolute value of the difference of resolution is less than the video file of first set point, if exist, then execution in step 206; Otherwise, execution in step 205.
This step is carried out index to the close video file with high-resolution, and described first set point can arrange as required.
Whether step 205 exists the resolution less than the video file of described fileinfo indication in the file set that obtains of inquiry, and the absolute value of the difference of resolution is less than the video file of second set point, if exist, then execution in step 206; Otherwise, currently can not find effective service node, return the response of inquiry failure to client.
This step is carried out index to the close video file with low resolution, and described second set point can arrange as required.
Step 206 as the video file of choosing, is carried out video playback with the service node feedback information of preserving the video file of choosing to client with the video file that inquires.
According to actual conditions, the service node information of directory system feedback may be to preserve the nodal information of all service nodes of the video file of choosing, and also may be the nodal information of preserving the part service node of the video file of choosing.
Adopt the present invention program, judge in playing process can not normal play the time, client still can get access to close video data, play continuing, thereby, strengthened the robustness of distributed video on demand, improved the program request quality.
Referring to Fig. 3, for the present invention carries out the system configuration schematic diagram of distributed video on demand, this system comprises directory system, client and service node, and described directory system comprises set grouped element, nodal information feedback unit and playing process processing unit;
Described set grouped element is used for the video file composing document set that content is close, the corresponding file identification of each file set;
Described nodal information feedback unit is used for receiving the order request from the include file information of client, sends fileinfo to described playing process processing unit, described fileinfo include file sign; Also will preserve the service node feedback information of the video file of described fileinfo indication and carry out video playback to client;
Described playing process processing unit, being used for judging at playing process can not normal play, obtain the corresponding file set of file identification that comprises with described fileinfo from described set grouped element, selecting video file from the file set that obtains carries out video playback with the service node feedback information of preserving the video file of choosing to client.
Directory system is the core component in the distributed document download system, is responsible for safeguarding all index identical and close video file; Also marked the service node set of preserving same video file 1 among Fig. 3, and the service node set of preserving close video file 2.Client represents to carry out in the distributed document download system terminal of program request behavior, can be by the user to server and user (P2SP, peer to sever﹠amp; Peer) network is to directory system request video request program, and described client for example is PC, smart mobile phone, panel computer etc.
Service node is for externally providing the equipment of video data download service in the distributed document download system, comprise various user terminals such as PC, smart mobile phone, panel computer, also comprise data server, as long as deposit the video file that other user needs on this equipment, just can indexed system index arrive.In addition, according to the characteristics of existing distributed document download system, client also can be converted into the role of service node when downloading data, for other broadcasting users provide video data transmission service.
Alternatively, the video file that described content is close is: file identification is identical, at least a video file inequality among resolution, coded system and the Container Format three.
Alternatively, described playing process processing unit comprises judgment sub-unit, be used for judging the follow-up data disappearance at playing process, and follow-up data can't obtain from other service node of preserving the video file of described fileinfo indication, then determining can not normal play; Perhaps, judge speed of download and can't satisfy the broadcast demand in playing process, and can't obtain the follow-up data that satisfies speed of download from other service node of preserving the video file of described fileinfo indication, then determining can not normal play.
Alternatively, the video file that described content is close is the video file that file identification is identical, resolution is inequality; Described playing process processing unit comprises chooses subelement, be used for inquiring about the identical video file of the resolution whether file set that obtains exists the video file of indicating with described fileinfo, if exist, then with the video file that inquires as the video file of choosing; Otherwise,
Whether there is the resolution greater than the video file of described fileinfo indication in the file set that inquiry is obtained, and the absolute value of the difference of resolution is less than the video file of first set point, if exist, then with the video file that inquires as the video file of choosing; Otherwise,
Whether there is the resolution less than the video file of described fileinfo indication in the file set that inquiry is obtained, and the absolute value of the difference of resolution is less than the video file of second set point, if exist, then with the video file that inquires as the video file of choosing.
The present invention adopts the mode of extending video file source, utilize the video file of close content to make more service nodes participate in video request program, when the service ability deficiency appears in video request program, can switch to the close video file of content, thereby it is former meaningful to continue smooth playing, satisfies the broadcast demand of user's essence.Thereby, strengthened the robustness of distributed video on demand, improved the program request quality.And the present invention program has integrated more user resources, is not reducing the cost of having saved video request program when the user experiences.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (10)

1. a method of carrying out distributed video on demand is characterized in that, the video file composing document set that content is close, and the corresponding file identification of each file set, this method also comprises:
Reception is from the order request of the include file information of client, and described fileinfo include file identifies;
The service node feedback information of preserving the video file of described fileinfo indication is carried out video playback to client;
Judging in playing process can not normal play, obtain the corresponding file set of file identification that comprises with described fileinfo, selecting video file from the file set that obtains carries out video playback with the service node feedback information of preserving the video file of choosing to client.
2. the method for claim 1 is characterized in that, the video file that described content is close is:
File identification is identical, at least a video file inequality among resolution, coded system and the Container Format three.
3. the method for claim 1 is characterized in that, described judging in playing process can not normal play comprise:
Judge follow-up data disappearance in playing process, and follow-up data can't obtain from other service node of preserving the video file of described fileinfo indication, then determining can not normal play; Perhaps,
Judge speed of download and can't satisfy the broadcast demand in playing process, and can't obtain from other service node of preserving the video file of described fileinfo indication, then determining can not normal play.
4. the method for claim 1 is characterized in that, the video file that described content is close is the video file that file identification is identical, resolution is inequality;
Described from the file set that obtains the selecting video file comprise: whether have the video file identical with the resolution of the video file of described fileinfo indication in the inquiry file set, if exist, then with the video file that inquires as the video file of choosing; Otherwise,
Whether have the resolution greater than the video file of described fileinfo indication in the inquiry file set, and the absolute value of the difference of resolution is less than the video file of first set point, if exist, then with the video file that inquires as the video file of choosing; Otherwise,
Whether have the resolution less than the video file of described fileinfo indication in the inquiry file set, and the absolute value of the difference of resolution is less than the video file of second set point, if exist, then with the video file that inquires as the video file of choosing.
5. as each described method in the claim 1 to 4, it is characterized in that described fileinfo is digital digest or cryptographic Hash.
6. a directory system that carries out distributed video on demand is characterized in that, this directory system comprises set grouped element, nodal information feedback unit and playing process processing unit;
Described set grouped element is used for the video file composing document set that content is close, the corresponding file identification of each file set;
Described nodal information feedback unit is used for receiving the order request from the include file information of client, sends fileinfo to described playing process processing unit, described fileinfo include file sign; Also will preserve the service node feedback information of the video file of described fileinfo indication and carry out video playback to client;
Described playing process processing unit, being used for judging at playing process can not normal play, obtain the corresponding file set of file identification that comprises with described fileinfo from described set grouped element, selecting video file from the file set that obtains carries out video playback with the service node feedback information of preserving the video file of choosing to client.
7. directory system as claimed in claim 6 is characterized in that, the video file that described content is close is:
File identification is identical, at least a video file inequality among resolution, coded system and the Container Format three.
8. directory system as claimed in claim 6, it is characterized in that, described playing process processing unit comprises judgment sub-unit, be used for judging the follow-up data disappearance at playing process, and follow-up data can't obtain from other service node of preserving the video file of described fileinfo indication, and then determining can not normal play; Perhaps, judge speed of download and can't satisfy the broadcast demand in playing process, and can't obtain the follow-up data that satisfies speed of download from other service node of preserving the video file of described fileinfo indication, then determining can not normal play.
9. directory system as claimed in claim 6 is characterized in that, the video file that described content is close is the video file that file identification is identical, resolution is inequality; Described playing process processing unit comprises chooses subelement, be used for inquiring about the identical video file of the resolution whether file set that obtains exists the video file of indicating with described fileinfo, if exist, then with the video file that inquires as the video file of choosing; Otherwise,
Whether there is the resolution greater than the video file of described fileinfo indication in the file set that inquiry is obtained, and the absolute value of the difference of resolution is less than the video file of first set point, if exist, then with the video file that inquires as the video file of choosing; Otherwise,
Whether there is the resolution less than the video file of described fileinfo indication in the file set that inquiry is obtained, and the absolute value of the difference of resolution is less than the video file of second set point, if exist, then with the video file that inquires as the video file of choosing.
10. as each described directory system in the claim 6 to 9, it is characterized in that described fileinfo is digital digest or cryptographic Hash.
CN201210066358.5A 2012-03-14 2012-03-14 Carry out method and the directory system of distributed video on demand Active CN103313093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210066358.5A CN103313093B (en) 2012-03-14 2012-03-14 Carry out method and the directory system of distributed video on demand

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210066358.5A CN103313093B (en) 2012-03-14 2012-03-14 Carry out method and the directory system of distributed video on demand

Publications (2)

Publication Number Publication Date
CN103313093A true CN103313093A (en) 2013-09-18
CN103313093B CN103313093B (en) 2016-09-07

Family

ID=49137804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210066358.5A Active CN103313093B (en) 2012-03-14 2012-03-14 Carry out method and the directory system of distributed video on demand

Country Status (1)

Country Link
CN (1) CN103313093B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338417A (en) * 2015-10-29 2016-02-17 北京威动科技有限公司 File navigation playing method and device
CN109446074A (en) * 2018-09-28 2019-03-08 深圳市网心科技有限公司 On-demand distribution system pressure test method and device, computer installation and computer storage medium
CN110213662A (en) * 2019-07-09 2019-09-06 金明晔 A kind of VOD method, server, client and video on-demand system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100542276C (en) * 2007-06-01 2009-09-16 华为技术有限公司 A kind of implementation method of video frequency requested program broadcasting-like services, server and client
CN101188736A (en) * 2007-12-14 2008-05-28 电子科技大学 Stream media ordering system and method with STB as the server
CN101459825A (en) * 2008-12-19 2009-06-17 上海全景数字技术有限公司 Interactive program control method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338417A (en) * 2015-10-29 2016-02-17 北京威动科技有限公司 File navigation playing method and device
CN105338417B (en) * 2015-10-29 2018-09-04 北京威动科技有限公司 file navigation playing method and device
CN109446074A (en) * 2018-09-28 2019-03-08 深圳市网心科技有限公司 On-demand distribution system pressure test method and device, computer installation and computer storage medium
CN109446074B (en) * 2018-09-28 2022-04-01 深圳市网心科技有限公司 Pressure testing method and device for on-demand distribution system, computer device and computer storage medium
CN110213662A (en) * 2019-07-09 2019-09-06 金明晔 A kind of VOD method, server, client and video on-demand system

Also Published As

Publication number Publication date
CN103313093B (en) 2016-09-07

Similar Documents

Publication Publication Date Title
US11064231B2 (en) Receiving device, transmitting device, and data processing method
US10110654B2 (en) Client, a content creator entity and methods thereof for media streaming
US10432690B1 (en) Manifest partitioning
EP3490266B1 (en) Receiving device and data processing method
US6859838B1 (en) Media player with programmable playlists
CN107634930B (en) Method and device for acquiring media data
CN104702976A (en) Video playing method and equipment
US20120240180A1 (en) Set-top box, earphone, and multimedia playing method
US11880871B2 (en) Methods and systems for providing content
CN105141569A (en) Media processing method and device
CN110996160A (en) Video processing method and device, electronic equipment and computer readable storage medium
CN112637661A (en) Video stream switching method and device, computer storage medium and electronic equipment
US20130103753A1 (en) Hybrid delivery mechanism in multimedia transmission system
CN104429090A (en) Content transmission device, content playback device, content delivery system, control method for content transmission device, control method for content playback device, data structure, control program, and recording medium
WO2011003231A1 (en) Transmission method, receiving method and device for scalable video coding files
CN111193936A (en) Video streaming transmission method and device, electronic equipment and computer readable storage medium
CN103313093A (en) Method and index system for distributed video on demand
US11388485B2 (en) Receiving device, receiving method, transmission device, and transmission method
CN105812961B (en) Adaptive stream media processing method and processing device
EP3094097A1 (en) Method for displaying bit depth for playing video using dash
KR20050118967A (en) Mot data decoding method and apparatus thereof
CN105653530B (en) Efficient and scalable multimedia transmission, storage and presentation method
CN108521601B (en) Method and device for rapidly playing non-standard code stream
KR101710452B1 (en) Method and apparatus for transmitting/receiving service discovery information in a multimedia transmission system
JP2003333489A (en) Device and method for reproducing data

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
TR01 Transfer of patent right

Effective date of registration: 20230706

Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 2, 518044, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right